npmrun
|
b40bfa40e5
|
feat: add document tool executor with config, registration, and approved flag in ToolContext
- Create document executor config (approvalRequiredActions, defaultType, maxContentLength, listPageSize)
- Implement document executor with create/read/update/delete/list actions
- Register document executor in TOOL_TYPE_REGISTRY
- Extend ToolContext with approved?: boolean field
- Update executeAgentTool signature to accept approved parameter
- Pass approved flag from chat-engine to executeAgentTool
- Remove stale guess-who references (executor never existed)
Co-authored-by: CodeFree <codefree@chinatelcom.cn>
|
2 months ago |