@hanhnd/agent-kit 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kit-server.js +1 -1
- package/dist/tools/agent.js +1 -1
- package/package.json +1 -1
package/dist/kit-server.js
CHANGED
|
@@ -21165,7 +21165,7 @@ ${"\u2500".repeat(60)}
|
|
|
21165
21165
|
function registerAgentTools(server2) {
|
|
21166
21166
|
server2.tool(
|
|
21167
21167
|
"kit_trigger_agent",
|
|
21168
|
-
"
|
|
21168
|
+
"!Important: Trigger only when user explicitly asks to delegate a task to an external agent CLI (gemini or claude). The task can be a direct message or a path to a handoff file (.agent-kit/handoffs/plans/plan-xyz.md). Falls back to the other agent CLI if the requested one is not installed.",
|
|
21169
21169
|
{
|
|
21170
21170
|
agent: external_exports.enum(["gemini", "claude"]).describe('The agent CLI to invoke: "gemini" or "claude"'),
|
|
21171
21171
|
task: external_exports.string().describe(
|
package/dist/tools/agent.js
CHANGED
|
@@ -50,7 +50,7 @@ export function registerAgentTools(server) {
|
|
|
50
50
|
// Auto-detects if task is a file path and reads it as context.
|
|
51
51
|
// Falls back to the alternate agent if requested one is missing.
|
|
52
52
|
// ═══════════════════════════════════════════════════════════════
|
|
53
|
-
server.tool('kit_trigger_agent', '
|
|
53
|
+
server.tool('kit_trigger_agent', '!Important: Trigger only when user explicitly asks to delegate a task to an external agent CLI (gemini or claude). The task can be a direct message or a path to a handoff file (.agent-kit/handoffs/plans/plan-xyz.md). Falls back to the other agent CLI if the requested one is not installed.', {
|
|
54
54
|
agent: z.enum(['gemini', 'claude']).describe('The agent CLI to invoke: "gemini" or "claude"'),
|
|
55
55
|
task: z
|
|
56
56
|
.string()
|