@yasaswy.nagavolu/agents 0.26.10 → 0.26.12
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.
|
@@ -3,7 +3,7 @@ name: assistant-subagent
|
|
|
3
3
|
description: Does narrow, spec-driven work with a checkable result and reports; hand off to worker if the task needs design or multi-step debugging.
|
|
4
4
|
model: claude-haiku-5-5
|
|
5
5
|
role: assistant
|
|
6
|
-
effort:
|
|
6
|
+
effort: high
|
|
7
7
|
omitClaudeMd: true
|
|
8
8
|
tools: ['Read', 'writeFile', 'Edit', 'Write', 'Bash', 'searchCode']
|
|
9
9
|
dispatch_tier: mandatory-review
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"roleEffort": {},
|
|
26
26
|
"escalationSignal": "NEEDS_WORKER:",
|
|
27
27
|
"escalationPhrases": [
|
|
28
|
-
"^(this
|
|
28
|
+
"^((this|the|that|my) (task|work|job|request|step) |this |it )?(needs|requires)[ _]+(a[ _]+|the[ _]+)?worker\\b",
|
|
29
29
|
"^needs?[ _]+worker\\b",
|
|
30
30
|
"^(i'?m |i am )?(hand(ing)?|pass(ing)?|send(ing)?)( this| it| the task)?( off| over| back)? to (the |a )?worker\\b",
|
|
31
31
|
"^(re-?dispatch|escalat(e|ing))( this| it| the task)? to (the |a )?worker\\b",
|
package/content/manifest.json
CHANGED
|
@@ -1637,6 +1637,136 @@
|
|
|
1637
1637
|
"deps": [],
|
|
1638
1638
|
"secrets": []
|
|
1639
1639
|
},
|
|
1640
|
+
{
|
|
1641
|
+
"key": "subagent-model-routing",
|
|
1642
|
+
"title": "Subagent Model Routing",
|
|
1643
|
+
"summary": "The whole subagent model-routing pipeline in one install: models.json (worker and assistant roles), the PreToolUse guard, the agent.spawn mod that sets the final model id, role scope header and effort, NEEDS_WORKER escalation hooks, the handover ledger events and the routing_audit.py check. Needs Claude Code 2.1.289 or later for the mod (mods are early access); without it the guard still routes. Carries no router, scheduled task, LiteLLM autostart or secret",
|
|
1644
|
+
"profile": "public",
|
|
1645
|
+
"advanced": false,
|
|
1646
|
+
"items": [
|
|
1647
|
+
{
|
|
1648
|
+
"path": "config/models.json",
|
|
1649
|
+
"targetPath": "models.json",
|
|
1650
|
+
"kind": "infra",
|
|
1651
|
+
"note": "Single source of model IDs (roles, effort, role briefs, escalation signal). User-editable: `update` keeps local edits unless --theirs. `agents-cli models apply` stamps it into agent model: and settings.json."
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"path": "proxy/models_config.py",
|
|
1655
|
+
"kind": "hook",
|
|
1656
|
+
"note": "Shared reader of models.json imported by the routing hooks. Also claimed by agent-orchestration; safe to double-claim."
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"path": "agents/execution-worker-subagent.md",
|
|
1660
|
+
"kind": "agent"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"path": "agents/generic-purpose-subagent.md",
|
|
1664
|
+
"kind": "agent"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"path": "agents/assistant-subagent.md",
|
|
1668
|
+
"kind": "agent"
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"path": "proxy/agent_model_guard.py",
|
|
1672
|
+
"kind": "hook",
|
|
1673
|
+
"wiring": {
|
|
1674
|
+
"event": "PreToolUse",
|
|
1675
|
+
"matcher": "Agent",
|
|
1676
|
+
"type": "command",
|
|
1677
|
+
"command": "python ~/.claude/proxy/agent_model_guard.py"
|
|
1678
|
+
},
|
|
1679
|
+
"note": "PreToolUse Agent hook: names, effort, role scope header, dispatch log, main-chat model rewrite."
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"path": "proxy/routing_brief.py",
|
|
1683
|
+
"kind": "hook",
|
|
1684
|
+
"note": "Pure role-brief helpers imported by agent_model_guard.py and routing_escalation_hook.py. Also claimed by self-infra; safe to double-claim."
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"path": "proxy/routing_log.py",
|
|
1688
|
+
"kind": "hook",
|
|
1689
|
+
"note": "Shared plumbing for the routing hooks and the audit (dispatch log, mod records, ledger events). Also claimed by self-infra; safe to double-claim."
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"path": "proxy/route_lock.py",
|
|
1693
|
+
"kind": "hook",
|
|
1694
|
+
"note": "Route-classification library imported by agent_model_guard.py; inert unless a project has an orchestrator persona. Not wired to an event itself. Also claimed by agent-orchestration; safe to double-claim."
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"path": "proxy/worktree_targets.py",
|
|
1698
|
+
"kind": "hook",
|
|
1699
|
+
"note": "Shared `worktree:` dispatch-prompt parser imported by agent_model_guard.py. Not wired to an event itself. Also claimed by self-infra; safe to double-claim."
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"path": "proxy/headless_process.py",
|
|
1703
|
+
"kind": "hook",
|
|
1704
|
+
"note": "Shared no-visible-window subprocess wrapper imported by route_lock.py. Not wired to an event itself. Also claimed by agent-orchestration; safe to double-claim."
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"path": "proxy/handover_ledger_hook.py",
|
|
1708
|
+
"kind": "hook",
|
|
1709
|
+
"wiring": {
|
|
1710
|
+
"event": "SubagentStop",
|
|
1711
|
+
"type": "command",
|
|
1712
|
+
"command": "python ~/.claude/proxy/handover_ledger_hook.py"
|
|
1713
|
+
},
|
|
1714
|
+
"note": "Per-session handover ledger writer the routing events go through. Same wiring as agent-orchestration; deduped."
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"path": "mods/model-routing",
|
|
1718
|
+
"targetPath": "mods/model-routing",
|
|
1719
|
+
"kind": "mod",
|
|
1720
|
+
"exclude": [
|
|
1721
|
+
"tests/"
|
|
1722
|
+
],
|
|
1723
|
+
"wiring": {
|
|
1724
|
+
"env": "CLAUDE_CODE_PLUGIN_DIRS"
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"path": "proxy/routing_post_hook.py",
|
|
1729
|
+
"kind": "hook",
|
|
1730
|
+
"wiring": [
|
|
1731
|
+
{
|
|
1732
|
+
"event": "PostToolUse",
|
|
1733
|
+
"matcher": "Agent",
|
|
1734
|
+
"type": "command",
|
|
1735
|
+
"command": "python ~/.claude/proxy/routing_post_hook.py"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"event": "PostToolUseFailure",
|
|
1739
|
+
"matcher": "Agent",
|
|
1740
|
+
"type": "command",
|
|
1741
|
+
"command": "python ~/.claude/proxy/routing_post_hook.py"
|
|
1742
|
+
}
|
|
1743
|
+
]
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"path": "proxy/routing_escalation_hook.py",
|
|
1747
|
+
"kind": "hook",
|
|
1748
|
+
"wiring": [
|
|
1749
|
+
{
|
|
1750
|
+
"event": "SubagentStop",
|
|
1751
|
+
"type": "command",
|
|
1752
|
+
"command": "python ~/.claude/proxy/routing_escalation_hook.py"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"event": "Stop",
|
|
1756
|
+
"type": "command",
|
|
1757
|
+
"command": "python ~/.claude/proxy/routing_escalation_hook.py"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"path": "proxy/routing_audit.py",
|
|
1763
|
+
"kind": "infra",
|
|
1764
|
+
"note": "Run `python ~/.claude/proxy/routing_audit.py --session latest`: lists a session's routing discrepancies, exits 1 when there are any."
|
|
1765
|
+
}
|
|
1766
|
+
],
|
|
1767
|
+
"deps": [],
|
|
1768
|
+
"secrets": []
|
|
1769
|
+
},
|
|
1640
1770
|
{
|
|
1641
1771
|
"key": "runner",
|
|
1642
1772
|
"title": "CI runner",
|
package/lib/doctor.js
CHANGED
|
@@ -213,10 +213,15 @@ function checkHealth({ packageRoot, targetBase, cliVersion, claudeVersionProbe,
|
|
|
213
213
|
missing.sort((a, b) => a.relTarget.localeCompare(b.relTarget));
|
|
214
214
|
drifted.sort((a, b) => a.relTarget.localeCompare(b.relTarget));
|
|
215
215
|
|
|
216
|
+
const seenMods = new Set();
|
|
216
217
|
const installedMods = allFileItems(manifest).filter((item) => {
|
|
217
218
|
if (item.kind !== 'mod') return false;
|
|
218
|
-
const
|
|
219
|
-
|
|
219
|
+
const target = item.targetPath || item.path;
|
|
220
|
+
if (seenMods.has(target)) return false;
|
|
221
|
+
const prefix = `${target}/`;
|
|
222
|
+
if (![...claimed].some((k) => k.startsWith(prefix))) return false;
|
|
223
|
+
seenMods.add(target);
|
|
224
|
+
return true;
|
|
220
225
|
});
|
|
221
226
|
const modVersions = checkModVersions({
|
|
222
227
|
items: installedMods,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yasaswy.nagavolu/agents",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.12",
|
|
4
4
|
"description": "CLI for installing the yasaswy.nagavolu agent/skill/hook bundle. `install` opens an interactive bundle menu in a TTY (or `--bundle <key> --yes` for non-interactive installs), with hash-tracked idempotent deploys, automatic hook wiring into settings.json, and masked secret prompting. `update` reconciles installed bundles against the current source (hash-tracked: silent overwrite, conflict diff+prompt, or --theirs/--keep-mine). `uninstall` removes a bundle's files and wiring. `secrets` re-runs secret prompting for already-installed bundles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|