mirror of
https://github.com/openclaw/openclaw.git
synced 2026-11-17 05:43:34 +00:00
6 commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
eb087ccd72
|
fix(ui): download notices claim completion before browser saving (#199229)
Report browser download handoff without claiming the file was saved. Preserve confirmed completion for the native writer path and existing cancellation/error behavior. Co-authored-by: vyctorbrzezowski <51521767+vyctorbrzezowski@users.noreply.github.com> |
||
|
|
cffc912d42
|
feat(knowledge): derive entity Timelines from records instead of page prose (#187676)
* feat(knowledge): derive entity Timeline rows by source * feat(knowledge): show derived Timeline on entity record pages * docs(knowledge): replace written Timelines with source notes in skills * fix(knowledge): keep past-dated claims and every retired Timeline entry * fix(knowledge): render Timeline notes as Markdown with resolved links * docs(knowledge): retire written Timelines on source notes and in consolidation runs * fix(knowledge): keep source references on standalone Timeline claims and verify retired claims directly * fix(knowledge): date sources by their event claim for every entity and route budget errors through Timeline retirement |
||
|
|
3a5a369ec6
|
feat(knowledge): owners can grant group chats access to private knowledge (#186455) | ||
|
|
f69f246dba
|
feat(knowledge): Scribes tab to start and control knowledge scribes (#185637)
* feat(knowledge): add Scribes tab to start and control scribes * fix(knowledge): give each scribe start attempt its own idempotency key * fix(knowledge): reuse a scribe conversation created by a failed start * fix(knowledge): reuse a scribe conversation created by a failed start * fix(knowledge): show skipped scribe runs that could not complete as failed * fix(knowledge): name the session incarnation when restoring a scribe conversation * fix(knowledge): show a scribe run's result line instead of its whole reply * fix(knowledge): show a restarted scribe as Starting until it answers * fix(knowledge): read weekly scribe schedules as a day and time * feat(knowledge): force an ongoing scribe's first run from the page and retry once scribes with their setup * test(knowledge): one setup key per start dialog, reused on retry * fix(knowledge): read the scribe job that targets the scribe's own conversation * fix(knowledge): title scribe conversations with a display name instead of a unique label * fix(knowledge): reread the Scribes tab on every resync * fix(knowledge): stay on the Scribes tab when a scribe's first write creates the store * fix(knowledge): recover scribes whose setup never arrived or stopped, and retry a first run that did not start * fix(knowledge): show a failed scribe result over a healthy job and retry a first run the scheduler did not admit * fix(knowledge): report a Run now the scheduler did not admit |
||
|
|
a8d925edd4
|
fix(knowledge): send Ask requests directly in a new chat (#185559)
The Ask dialog now shows only an editable request with Cancel and Ask. Ask creates a session with the request as its first turn, appends the exact record ID, revision and hash, and opens the new chat. |
||
|
|
65ad180052
|
feat(knowledge): bundle the Knowledge memory plugin (#180139)
* feat(knowledge): import Knowledge plugin sources
Imported from openclaw/knowledge at 7847e55. Uses the public SDK root()
and the host's typed projectKey.
* style(knowledge): apply repository formatting and lint autofixes
* test(knowledge): port the Knowledge suite to vitest
* docs(knowledge): document the bundled Knowledge plugin
* refactor(knowledge): conform to bundled-plugin lint, types and file-size rules
* fix(knowledge): locate workers and packaged data from the runtime entry
Built output moves shared modules into host chunks, so module-relative
URLs no longer reach the storage and registry workers, the default
ontology or the sample vault. Resolve them from api.runtimeSource, ship
the data as static assets, and read files through @openclaw/fs-safe.
* chore(knowledge): register plugin inventory, config baseline and labels
* refactor(knowledge): drop standalone-host leftovers
Metadata-only registration has no runtime entry; locate packaged files
only when the host supplies one. Remove the older-host panel guard and
references to docs that did not move with the plugin.
* refactor(knowledge): remove unused exports and dead search helpers
* openclaw-ef3.7.3: open Knowledge databases through SDK helpers and stamp schema versions
Replace raw DatabaseSync construction and PRAGMA-based header versioning in the
operational (state.sqlite) and registry databases with openNodeSqliteDatabase,
runSqliteImmediateTransactionSync and a knowledge_schema version table. Stores
written before stamping are dated by their tables and migrated additively;
their native header is left untouched. Identity and registry upserts use Kysely.
* openclaw-ef3.7.2: port Knowledge transactions and conflict inserts to SDK patterns
BEGIN IMMEDIATE blocks become runSqliteImmediateTransactionSync, INSERT OR
IGNORE/REPLACE become Kysely onConflict inserts, and sqlite_master probes use
tableExists. Register Knowledge's worker-only SQL modules in workerModules.
* openclaw-ef3.7.4: move Knowledge JSON projections out of raw SQL
Publication source and receipt lookups use jsonPathValue with Kysely. The recent
projection parses each published plan once in TypeScript instead of json_each/
json_extract, and applies record eligibility and source grouping while streaming
newest-first events. Storage base transactions and upserts use SDK helpers.
* openclaw-ef3.7.6: document type assertion invariants in Knowledge storage modules
Every type assertion in the storage, registry, recent, retrieval, lifecycle,
session-activity and attachment modules now states its invariant, satisfying
the assertion SAFETY ratchet against main.
* openclaw-ef3.7.6: keep the Knowledge schema step type module-private
* openclaw-ef3.7.2: resolve Knowledge worker SQLite SDK modules through the host resolver
* openclaw-ef3.7.4: keep Knowledge SQL out of the control UI bundle
Recent activity SQL moves to recent-activity.ts so recent.ts only carries the
schemas the control UI imports, and session activity records retried calls with
a portable ON CONFLICT DO NOTHING prepared statement instead of the SQLite SDK.
* refactor(knowledge): move scan primitives to a leaf module
Breaks the evidence-files -> publication-files -> vault import cycle.
* openclaw-ef3.7: import digest from scan-primitives to break the lifecycle -> vault -> retrieval cycle
* openclaw-ef3.7.5: classify Knowledge keyword-index FTS5 as engine-private
Knowledge's keyword index is a rebuildable cache in each store's own
state.sqlite, opened by SqliteIdentityStore and never through the selected
Gateway engine. Classify its fts5, temp-schema and rowid constructs in
retrieval.ts as owned engine maintenance; other constructs there stay counted.
* chore(knowledge): justify or remove type assertions
Adds SAFETY invariants for the assertion ratchet and removes casts that
real types or narrowing make unnecessary.
* refactor(knowledge): drop the Publisher alias and unused MAX_ENTRIES re-exports
* fix(knowledge): bound Markdown block runs before link lexing
JavaScriptCore reports regexp matches that exceed its backtracking memory
cap as no match. marked's paragraph rule hits that cap after ~49K lines in
one block, then lexes the rest line by line, so scanning a near-limit
record took hours under Bun. Split runs over 10K non-blank lines before
lexing; links are unchanged.
* fix(knowledge): transfer workspace attachments without model byte copying
knowledge-live-728: reuse durable chunk uploads behind a scoped workspace-file tool and document programmatic source retention.
(cherry picked from commit d196fdc0b1c30c4850a1f97d94a512ae2b27aa74)
* fix(knowledge): declare knowledge_attach_file in the plugin manifest
* feat(knowledge): add knowledge-unlinked-claims skill for post-relink review
* fix(knowledge): resume interrupted store setup and admit state once
- Resume a store whose setup was interrupted: an empty state.sqlite is a new
database, and writeOnce completes an empty vault.json or registry sentinel.
- Admit each physical state database once per thread: the schema check,
history indexes and additive operational tables move out of every
connection and every operation.
- Keep maintenance schedule bookkeeping in registry meta instead of
maintenance.json.
* feat(knowledge): steer the memory prompt toward entity pages and recall before planning
Describe Knowledge as world knowledge about ontology entities, search named
entities once before planning, keep pages for sustained work through
knowledge-entities and knowledge-capture, record agent findings on pages
instead of skipping them, word remembered claims no more broadly than their
excerpt, and record supersession with knowledge-correct.
* fix(knowledge): keep knowledge_remember a search-free fast path for one-off claims
* fix(knowledge): complete an empty registry sentinel before checking it
A crash after the registry sentinel is created but before its ID is written
left an empty registry.id. The constructor compared it with the registry ID
before writeOnce could complete it, so every registry operation failed until
manual recovery. writeOnce now runs first and reports whether it wrote; the
comparison still refuses a sentinel that names another registry.
* feat(knowledge): append a generated Knowledge index to owner-private sessions
* fix(knowledge): honor operator roles and name the real memory audience denial
Operator browsing of an agent's private knowledge now stays within the caller's role agents and requires operator.admin on a shared Gateway. A missing memory audience no longer blames a parent reset; the error points to the memory_audience_denied Gateway log entry without naming other sessions.
(cherry picked from commit
|