xiaoqu-agent-service P3 首批工具完整版:agent.list.query 补齐入出参与 supervisorName 批量富化,新增 property.list.query(完整版行权限),rows 上限截断提示,LLM 友好 description,种子与 README 客户端接入说明,curl 实测隔离正确
This commit is contained in:
@@ -31,10 +31,10 @@ INSERT INTO agent_scope (name, code, memo, status, create_id)
|
||||
SELECT '运营', 'operation', 'dev 种子:运营作用域', 1, 0
|
||||
WHERE NOT EXISTS (SELECT 1 FROM agent_scope WHERE code = 'operation');
|
||||
|
||||
-- 作用域-工具:sys.ping / agent.count / agent.list.query
|
||||
-- 作用域-工具:sys.ping / agent.count / agent.list.query / property.list.query
|
||||
INSERT INTO scope_tool (scope_id, tool_id, create_id)
|
||||
SELECT s.id, t.id, 0 FROM agent_scope s JOIN tool t
|
||||
WHERE s.code = 'operation' AND t.name IN ('sys.ping', 'agent.count', 'agent.list.query')
|
||||
WHERE s.code = 'operation' AND t.name IN ('sys.ping', 'agent.count', 'agent.list.query', 'property.list.query')
|
||||
AND NOT EXISTS (SELECT 1 FROM scope_tool st WHERE st.scope_id = s.id AND st.tool_id = t.id);
|
||||
|
||||
-- token-作用域:HQ 与 AGENT 两把 token 授权"运营";NOSCOPE 不授权
|
||||
|
||||
Reference in New Issue
Block a user