feat(chat): add workspace chat, attachments and agent delegation

This commit is contained in:
2026-09-06 23:17:35 +08:00
parent 637ddbb9bf
commit cec8daac93
39 changed files with 762 additions and 37 deletions
@@ -0,0 +1,10 @@
id: chat-policy
name: 聊天执行规范
version: 1.0.0
description: 检查智能体执行计划,返回预算与权限约束;无网络和文件副作用。
permissions: []
contributes:
tools: [chat-policy.plan]
backend:
type: internal_rpc
transport: none
@@ -0,0 +1,11 @@
tools:
- name: chat-policy.plan
description: 在委托前校验任务和步骤预算,输出读取、执行、核验的计划及权限约束。
handler: execution_policy
parameters:
type: object
additionalProperties: false
properties:
task: {type: string, minLength: 1, maxLength: 16000}
max_steps: {type: integer, minimum: 1, maximum: 10}
required: [task]