Repository navigation
refactor(openclaw)!: remove the agent-sdk package and the agent_knowledge_* tools - #5462
Merged
Merged
Conversation
…sight-tools/ The agent-sdk package was split out to be shared across harnesses, but openclaw is its only user. Move its code into the plugin (src/knowledge-tools.ts) and drop the package, its release script and workflow, its CI job and the lint/lockfile special cases. Openclaw's lockfile resolved the published 0.1.0 from npm, so the next release also picks up the 0.1.1 fixes that never shipped.
… knowledge tools - knowledge-tools.ts: factory comment now says index.ts wraps the tools; drop unused KnowledgeToolName export - knowledge-pages docs (+ generated docs skill): agent_knowledge_* tools come from the OpenClaw plugin, not the agent SDK
… only The opt-in knowledge tools (enableKnowledgeTools) never left alpha: they built their own client, ignored the plugin's recall settings (#5057) and were only enabled by the self-driving-agents CLI. Remove them, the bank resolver and Code Mode details helper they used, the registerTool typing and the manifest tool contracts. enableKnowledgeTools stays in the schema as deprecated and ignored, like daemonIdleTimeout: the root schema has additionalProperties: false, so dropping it would reject existing configs that set it.
1 task
This was referenced Oct 14, 2026
Merged
1 task
This was referenced Oct 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deletes the
@vectorize-io/hindsight-agent-sdkpackage and the openclawagent_knowledge_*tools it powered. Openclaw keeps auto-recall and auto-retain only.Why: the SDK was split out to be shared across harnesses, but openclaw was its only user. The knowledge tools behind it never left alpha: opt-in via
enableKnowledgeTools, only turned on by the self-driving-agents CLI, built their own API client, and ignored the plugin's recall settings (#5057).Removed
hindsight-tools/(the SDK),scripts/release-tool.sh+ its test,release-tool.yml, thetest-hindsight-agent-sdkCI job, the SDK build steps in the openclaw CI jobs and integration release, the lint.sh and lockfile-check special cases, the root workspace entryresolveBankIdForKnowledgeTools,knowledgeToolDetails,registerTool/PluginToolContexttyping, manifestcontracts.tools, README and docs sectionsKept:
enableKnowledgeToolsstays in the manifest schema as deprecated and ignored (same asdaemonIdleTimeout). The root schema hasadditionalProperties: false, so dropping the key would make OpenClaw reject existing configs that set it.Closes #5057 (the tools it reports on are gone).
Openclaw: tsc clean, 379 tests pass; lint.sh and check-integration-lockfiles.sh pass.