Skip to content

[codex] Add dynamic VCP tool registry and admin panel#302

Merged
lioensky merged 1 commit intolioensky:mainfrom
DerstedtCasper:codex/dynamic-tool-list
Apr 24, 2026
Merged

[codex] Add dynamic VCP tool registry and admin panel#302
lioensky merged 1 commit intolioensky:mainfrom
DerstedtCasper:codex/dynamic-tool-list

Conversation

@DerstedtCasper
Copy link
Copy Markdown

@DerstedtCasper DerstedtCasper commented Apr 23, 2026

Summary

  • Add {{VCPDynamicTools}} prompt injection backed by a dynamic plugin registry, lightweight tool catalog, semantic matching, and explicit tool/category expansion directives.
  • Add incremental classification with small-model, RAG embedding, and keyword fallback paths while preserving disabled/offline tool classification cache.
  • Add admin APIs and documentation for dynamic tool state/config/rebuild/override management, plus private Plugin/DynamicToolBridge/config.env small-model configuration.
  • Add an AdminPanel-Vue 动态工具清单 page under the tools group, with config editing, placeholder copy, catalog/classification rebuild actions, category aliases, pin/exclude controls, search, and built dist assets.
  • Make manual rebuild non-blocking for the admin panel: rebuild requests can return immediately, expose isClassifying, and the Vue page polls until background classification finishes.
  • Preserve AbortError reasons in the shared AdminPanel HTTP client so future request timeouts report a concrete timeout reason instead of signal is aborted without reason.
  • Tighten the Vue shim typing so the AdminPanel lint pipeline passes without suppressing TypeScript ESLint rules.

Author

白金喵

Validation

  • npm run lint in AdminPanel-Vue
  • npm run build in AdminPanel-Vue
  • node --check .\modules\dynamicToolRegistry.js; node --check .\routes\admin\dynamicTools.js; node --check .\Plugin.js
  • node -e "JSON.parse(require('fs').readFileSync('Plugin/DynamicToolBridge/plugin-manifest.json','utf8')); JSON.parse(require('fs').readFileSync('ToolConfigs/dynamic_tool_bridge.config.json','utf8')); console.log('json ok')"
  • node --test .\tests\dynamicToolRegistry.test.js

Notes

  • Plugin/DynamicToolBridge/config.env is intentionally ignored; only config.env.example is tracked.
  • Runtime caches ToolConfigs/dynamic_tool_catalog.json and ToolConfigs/dynamic_tool_categories.json are ignored.

@DerstedtCasper DerstedtCasper force-pushed the codex/dynamic-tool-list branch 4 times, most recently from 7f3434b to 56d42bb Compare April 24, 2026 05:36
@DerstedtCasper DerstedtCasper changed the title [codex] Add dynamic VCP tool registry [codex] Add dynamic VCP tool registry and admin panel Apr 24, 2026
@DerstedtCasper DerstedtCasper force-pushed the codex/dynamic-tool-list branch from 56d42bb to f945615 Compare April 24, 2026 05:50
@lioensky lioensky marked this pull request as ready for review April 24, 2026 06:03
@lioensky lioensky merged commit d1b7fcf into lioensky:main Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants