shadok-ai 0.20.49 → 0.20.50

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: shadok-ai-agents
3
- description: Create and drive isolated Claude Code agents through the shadok-ai server (git worktrees, prompts, dialogs, diff). Use when the user wants to delegate a task to a shadok-ai agent, launch agents in parallel, or inspect/drive existing shadok-ai sessions — and on your own initiative whenever a task contains a long, independent piece of work (its own branch, PR or repo) that can run alongside yours instead of after it.
3
+ description: Create and drive isolated Claude Code agents through the shadok-ai server (git worktrees, prompts, dialogs, diff). Use whenever the user asks you to delegate, hand off or launch an agent on a task — that request means an agent they can see in the cockpit, never Claude Code's internal Agent tool — to launch agents in parallel, or inspect/drive existing shadok-ai sessions — and on your own initiative whenever a task contains a long, independent piece of work (its own branch, PR or repo) that can run alongside yours instead of after it.
4
4
  ---
5
5
 
6
6
  # Driving shadok-ai agents
@@ -133,6 +133,15 @@ other** — do not wait to be asked. Two tools, for two different shapes:
133
133
  review, or when it carries a schedule or a webhook (those are deleted with
134
134
  it). Close only agents YOU spawned, never someone else's.
135
135
 
136
+ **When the human ASKS you to delegate, they mean a sibling shadok agent.**
137
+ "Delegate this", "hand it to an agent", "launch agents on it", "get someone else
138
+ to do it": the person is asking for an agent they can SEE — a channel of its
139
+ own in the cockpit, that they can open, follow and steer. The `Agent` tool
140
+ gives them none of that, so do not answer such a request with it, whatever the
141
+ size of the task: spawn with `pilotctl.mjs`. The `Agent` tool is for the
142
+ parallel work you decide on yourself. Only when they name it ("a sub-agent",
143
+ "in your own session") is it what they asked for.
144
+
136
145
  The human cannot see a sub-agent's progress: the chat shows only its call and
137
146
  its result. So say in one line what you delegated and why before you wait on it.
138
147
  Do the work yourself when it is a handful of tool calls, when the parts depend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.20.49",
3
+ "version": "0.20.50",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test --test-timeout=120000 test/*.ts context/*/test/*.test.mjs",