playmakerlabs 0.1.0 → 0.1.2
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/.claude-plugin/icon.png +0 -0
- package/.claude-plugin/plugin.json +2 -1
- package/README.md +1 -0
- package/hooks/hooks.json +2 -2
- package/package.json +1 -1
- package/scripts/lib/util.mjs +11 -1
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playmaker",
|
|
3
3
|
"displayName": "Playmaker",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Notices when there is enough parallelizable work, offers to run it with the agent CLIs you already have installed (Claude Code, Codex, Gemini/Antigravity, Copilot), and coordinates the workers through git worktrees and Lore.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Síntese Labs"
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"homepage": "https://github.com/sinteselabs/Playmaker",
|
|
10
10
|
"repository": "https://github.com/sinteselabs/Playmaker",
|
|
11
11
|
"license": "MIT",
|
|
12
|
+
"icon": ".claude-plugin/icon.png",
|
|
12
13
|
"keywords": ["multi-agent", "orchestration", "parallel", "worktree", "lore"],
|
|
13
14
|
"userConfig": {
|
|
14
15
|
"proactive": {
|
package/README.md
CHANGED
|
@@ -250,6 +250,7 @@ scripts/lib/launch.mjs worktree, brief and start of each worker
|
|
|
250
250
|
scripts/lib/providers.mjs how each CLI is started
|
|
251
251
|
cli/playmaker.mjs the npm CLI: init and the scripts above
|
|
252
252
|
tests/ end-to-end and CLI tests
|
|
253
|
+
tooling/make_icon.py draws .claude-plugin/icon.png (not part of the product)
|
|
253
254
|
```
|
|
254
255
|
|
|
255
256
|
## License
|
package/hooks/hooks.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node",
|
|
10
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/detect-agents.mjs", "--hook"],
|
|
10
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/detect-agents.mjs", "--hook", "--proactive", "${user_config.proactive}"],
|
|
11
11
|
"timeout": 10
|
|
12
12
|
}
|
|
13
13
|
]
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{
|
|
21
21
|
"type": "command",
|
|
22
22
|
"command": "node",
|
|
23
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/task-watch.mjs"],
|
|
23
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/task-watch.mjs", "--proactive", "${user_config.proactive}", "--min_tasks", "${user_config.min_tasks}"],
|
|
24
24
|
"timeout": 10
|
|
25
25
|
}
|
|
26
26
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playmakerlabs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Parallel multi-agent orchestration: one manager agent runs workers on the CLIs you already have (Claude Code, Codex, Gemini, Antigravity, Copilot) in isolated git worktrees.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/scripts/lib/util.mjs
CHANGED
|
@@ -112,7 +112,17 @@ export function hookOutput(eventName, additionalContext) {
|
|
|
112
112
|
return JSON.stringify({ hookSpecificOutput: { hookEventName: eventName, additionalContext } });
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
/**
|
|
116
|
+
* A plugin option. hooks.json passes each one as an argument (`--proactive ${user_config.proactive}`).
|
|
117
|
+
* The copy Claude Code also exports to the environment is read by its literal name, only when the
|
|
118
|
+
* argument is missing or was not substituted.
|
|
119
|
+
*/
|
|
115
120
|
export function option(name, fallback) {
|
|
116
|
-
const
|
|
121
|
+
const i = process.argv.indexOf(`--${name}`);
|
|
122
|
+
let raw = i >= 0 ? process.argv[i + 1] : undefined;
|
|
123
|
+
if (raw === undefined || raw === '' || raw.includes('${')) {
|
|
124
|
+
if (name === 'proactive') raw = process.env.CLAUDE_PLUGIN_OPTION_PROACTIVE;
|
|
125
|
+
else if (name === 'min_tasks') raw = process.env.CLAUDE_PLUGIN_OPTION_MIN_TASKS;
|
|
126
|
+
}
|
|
117
127
|
return raw === undefined || raw === '' ? fallback : raw;
|
|
118
128
|
}
|