@skyf0xx/hedgehog 5.1.4 → 5.1.5
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/bin/cli.mjs +13 -1
- package/package.json +1 -1
- package/src/hosts/claude/DISPATCH.md +8 -0
package/bin/cli.mjs
CHANGED
|
@@ -686,7 +686,11 @@ async function init({ force, core, host = DEFAULT_HOST, hostOnly = false }) {
|
|
|
686
686
|
dim(
|
|
687
687
|
` Read ${bold(`${agents}/planner.md`)} and follow it — it runs planning\n` +
|
|
688
688
|
` intake (${skills}/hedgehog-planning-intake/SKILL.md), then hands\n` +
|
|
689
|
-
` off to ${agents}/bootstrap.md
|
|
689
|
+
` off to ${agents}/bootstrap.md.\n` +
|
|
690
|
+
` Some hosts register agents/skills once, at session start: if a\n` +
|
|
691
|
+
` later dispatch by name reports one of these as not found, read\n` +
|
|
692
|
+
` its file directly instead — it becomes dispatchable by name after\n` +
|
|
693
|
+
` a session restart or a fresh context.`,
|
|
690
694
|
),
|
|
691
695
|
);
|
|
692
696
|
console.log();
|
|
@@ -811,6 +815,14 @@ async function update({ hosts }) {
|
|
|
811
815
|
'write-once content.',
|
|
812
816
|
),
|
|
813
817
|
);
|
|
818
|
+
console.log(
|
|
819
|
+
dim(
|
|
820
|
+
'Some hosts register agents/skills once, at session start: a renamed or\n' +
|
|
821
|
+
'newly-added one may not be dispatchable by name until this session\n' +
|
|
822
|
+
'restarts or a fresh context starts — read its file directly if a\n' +
|
|
823
|
+
'name-based dispatch reports it as not found.',
|
|
824
|
+
),
|
|
825
|
+
);
|
|
814
826
|
}
|
|
815
827
|
|
|
816
828
|
// Returned by resolveInstalledCore when the project has a core but its
|
package/package.json
CHANGED
|
@@ -6,6 +6,14 @@ context with its own tool grant. The skills in `.claude/skills/` are
|
|
|
6
6
|
available the same way; invoke one by name rather than reimplementing what
|
|
7
7
|
it describes.
|
|
8
8
|
|
|
9
|
+
Claude Code reads that registration once, at session start — an agent or
|
|
10
|
+
skill file written mid-session (by `hedgehog init` or `hedgehog update`
|
|
11
|
+
just now) is not yet dispatchable by name in this session. If a name-based
|
|
12
|
+
dispatch reports it as not found, read the file directly from
|
|
13
|
+
`.claude/agents/` or `.claude/skills/` and follow it inline instead of
|
|
14
|
+
retrying the dispatch; it becomes dispatchable by name after a session
|
|
15
|
+
restart or a fresh context.
|
|
16
|
+
|
|
9
17
|
Clear context with `/clear` at the unit boundaries described above —
|
|
10
18
|
`hedgehog boundary` tells you whether you're at one (exit 0), and
|
|
11
19
|
`hedgehog boundary --handoff` is what the next session starts from.
|