@erclx/canon 4.53.0 → 4.55.0
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/README.md +8 -0
- package/claude/.claude-plugin/plugin.json +1 -1
- package/claude/skills/canon-cli/SKILL.md +1 -1
- package/claude/skills/claude-feature/SKILL.md +1 -1
- package/claude/skills/claude-orchestrate/references/orchestrator-dispatch.md +7 -3
- package/claude/skills/claude-planner/SKILL.md +1 -1
- package/claude/skills/context-draft/REQUIREMENT.md +37 -0
- package/claude/skills/context-draft/SKILL.md +59 -0
- package/claude/skills/create-skill/REQUIREMENT.md +1 -1
- package/claude/skills/create-standard/SKILL.md +1 -1
- package/claude/skills/index-lookup/REQUIREMENT.md +35 -0
- package/claude/skills/index-lookup/SKILL.md +42 -0
- package/claude/skills/wireframe-draft/REQUIREMENT.md +38 -0
- package/claude/skills/wireframe-draft/SKILL.md +64 -0
- package/claude/skills/youtube-transcripts/SKILL.md +1 -1
- package/docs/agents/commands.md +1 -0
- package/docs/agents/demo.md +11 -8
- package/docs/agents/index.md +1 -1
- package/docs/agents/indexes.md +17 -1
- package/docs/workflow/ai-workflow.md +15 -12
- package/governance/rules/core/085-worktrees.md +2 -0
- package/package.json +1 -1
- package/scripts/core/regen-agent-fixture.sh +235 -0
- package/src/claude/cases/authoring.ts +10 -0
- package/src/claude/cases/misc.ts +4 -0
- package/src/commands/demo.ts +25 -1
- package/src/commands/indexes.ts +67 -0
- package/src/demo/container.ts +61 -0
- package/src/demo/drive.ts +67 -9
- package/src/indexes/list.ts +64 -0
- package/src/indexes/render.ts +1 -1
- package/tooling/claude/seeds/.claude/hooks/index-reminder.sh +1 -1
- package/tooling/web/configs/scripts/screenshot.sh +1 -1
package/src/indexes/render.ts
CHANGED
|
@@ -64,7 +64,7 @@ async function readIndexHead(
|
|
|
64
64
|
return { ok: true, head: { raw: frontmatter.raw, title, subtitle } }
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
async function collectEntries(
|
|
67
|
+
export async function collectEntries(
|
|
68
68
|
dir: string,
|
|
69
69
|
): Promise<
|
|
70
70
|
{ ok: true; entries: IndexEntry[] } | { ok: false; errors: string[] }
|
|
@@ -53,5 +53,5 @@ marker="$marker_dir/$key"
|
|
|
53
53
|
mkdir -p "$marker_dir"
|
|
54
54
|
: >"$marker"
|
|
55
55
|
|
|
56
|
-
msg=$(printf 'An index.md exists at %s. Read it before searching this folder, it catalogs the sibling files faster than a blind search.' "$index")
|
|
56
|
+
msg=$(printf 'An index.md exists at %s. Read it before searching this folder, it catalogs the sibling files faster than a blind search. For a cross-folder answer, run canon indexes list --json or invoke the index-lookup skill.' "$index")
|
|
57
57
|
jq -nc --arg msg "$msg" '{hookSpecificOutput:{hookEventName:"PreToolUse",additionalContext:$msg}}'
|
|
@@ -11,7 +11,7 @@ fi
|
|
|
11
11
|
bun run build
|
|
12
12
|
bun run preview >/dev/null 2>&1 &
|
|
13
13
|
PREVIEW_PID=$!
|
|
14
|
-
trap 'kill "$PREVIEW_PID" 2>/dev/null; wait "$PREVIEW_PID" 2>/dev/null || true' EXIT
|
|
14
|
+
trap 'kill "$PREVIEW_PID" 2>/dev/null || true; wait "$PREVIEW_PID" 2>/dev/null || true' EXIT
|
|
15
15
|
|
|
16
16
|
for _ in $(seq 1 40); do
|
|
17
17
|
if curl -sSf "http://localhost:$PREVIEW_PORT/" >/dev/null 2>&1; then
|