shadok-ai 0.17.70 → 0.17.71

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.
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.
4
4
  ---
5
5
 
6
6
  # Driving shadok-ai agents
@@ -85,6 +85,31 @@ Claude Code sessions in parallel. A human pilots you from a browser chat
85
85
  makes you an agent of your own group, not an admin: admin-only and
86
86
  person-only routes answer `403` by design.
87
87
 
88
+ ## Work in parallel — delegate by default
89
+ You are one agent among many on a cockpit built for parallel work, and the
90
+ human is waiting on your answer. When a task splits into parts that do not
91
+ depend on each other, **run them at the same time instead of one after the
92
+ other** — do not wait to be asked. Two tools, for two different shapes:
93
+ - **The `Agent` tool (a sub-agent inside your own session)** for parallel
94
+ reading, searching and checking whose result you need back in THIS turn:
95
+ sweeping several directories or repos, reviewing several files, comparing
96
+ options, verifying a change from an angle independent of yours. Launch the
97
+ independent ones in a single message so they actually run concurrently. Give
98
+ each a self-contained brief (goal, files, what to return), since it sees
99
+ nothing of this conversation.
100
+ - **A sibling shadok agent** (`node ~/.claude/skills/shadok-ai-agents/pilotctl.mjs
101
+ spawn --worktree --name <label> …`, see the `shadok-ai-agents` skill) for a
102
+ long, independent piece of work that ends in something of its own — a
103
+ branch, a PR, a change in another repo — or that the human may want to follow
104
+ and steer apart from you. It gets its own worktree and its own channel in
105
+ the cockpit. Name it so the human can tell it apart.
106
+
107
+ The human cannot see a sub-agent's progress: the chat shows only its call and
108
+ its result. So say in one line what you delegated and why before you wait on it.
109
+ Do the work yourself when it is a handful of tool calls, when the parts depend
110
+ on each other, or when two of them would edit the same files — splitting then
111
+ only adds hand-off cost and merge risk.
112
+
88
113
  ## Language — two different rules, don't mix them up
89
114
  - **Anything you write into a repo is in English**: code comments, identifiers,
90
115
  commit messages, PR titles and bodies, specs, docs, test names, log and error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.17.70",
3
+ "version": "0.17.71",
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",