grounder 0.4.0 → 0.6.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 +150 -271
- package/dist/agents/claude.d.ts +4 -4
- package/dist/agents/claude.d.ts.map +1 -1
- package/dist/agents/claude.js +158 -178
- package/dist/agents/claude.js.map +1 -1
- package/dist/agents/cursor.d.ts +3 -3
- package/dist/agents/cursor.d.ts.map +1 -1
- package/dist/agents/cursor.js +97 -143
- package/dist/agents/cursor.js.map +1 -1
- package/dist/agents/home-skills.d.ts +46 -0
- package/dist/agents/home-skills.d.ts.map +1 -0
- package/dist/agents/home-skills.js +83 -0
- package/dist/agents/home-skills.js.map +1 -0
- package/dist/agents/hook-fragment.d.ts +52 -0
- package/dist/agents/hook-fragment.d.ts.map +1 -0
- package/dist/agents/hook-fragment.js +76 -0
- package/dist/agents/hook-fragment.js.map +1 -0
- package/dist/agents/hook-install.d.ts +62 -0
- package/dist/agents/hook-install.d.ts.map +1 -0
- package/dist/agents/hook-install.js +74 -0
- package/dist/agents/hook-install.js.map +1 -0
- package/dist/agents/hook-runtime.d.ts +80 -13
- package/dist/agents/hook-runtime.d.ts.map +1 -1
- package/dist/agents/hook-runtime.js +278 -74
- package/dist/agents/hook-runtime.js.map +1 -1
- package/dist/agents/index.d.ts +8 -14
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +13 -19
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/types.d.ts +56 -16
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/cli.js +15 -10
- package/dist/cli.js.map +1 -1
- package/dist/commands/apply.d.ts +69 -0
- package/dist/commands/apply.d.ts.map +1 -0
- package/dist/commands/apply.js +238 -0
- package/dist/commands/apply.js.map +1 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +197 -101
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/handoff/list.d.ts +23 -13
- package/dist/commands/handoff/list.d.ts.map +1 -1
- package/dist/commands/handoff/list.js +28 -16
- package/dist/commands/handoff/list.js.map +1 -1
- package/dist/commands/handoff/peek.d.ts +1 -1
- package/dist/commands/handoff/peek.d.ts.map +1 -1
- package/dist/commands/handoff/peek.js +28 -12
- package/dist/commands/handoff/peek.js.map +1 -1
- package/dist/commands/handoff.d.ts +2 -0
- package/dist/commands/handoff.d.ts.map +1 -1
- package/dist/commands/handoff.js +10 -1
- package/dist/commands/handoff.js.map +1 -1
- package/dist/commands/install-drift.d.ts +34 -0
- package/dist/commands/install-drift.d.ts.map +1 -0
- package/dist/commands/install-drift.js +72 -0
- package/dist/commands/install-drift.js.map +1 -0
- package/dist/commands/link.d.ts +12 -0
- package/dist/commands/link.d.ts.map +1 -0
- package/dist/commands/{repo/init.js → link.js} +35 -27
- package/dist/commands/link.js.map +1 -0
- package/dist/commands/migrate.d.ts +11 -3
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +66 -34
- package/dist/commands/migrate.js.map +1 -1
- package/dist/commands/note/list.d.ts +17 -9
- package/dist/commands/note/list.d.ts.map +1 -1
- package/dist/commands/note/list.js +19 -14
- package/dist/commands/note/list.js.map +1 -1
- package/dist/commands/note.d.ts +2 -0
- package/dist/commands/note.d.ts.map +1 -1
- package/dist/commands/note.js +10 -1
- package/dist/commands/note.js.map +1 -1
- package/dist/commands/output.d.ts +22 -2
- package/dist/commands/output.d.ts.map +1 -1
- package/dist/commands/output.js +18 -6
- package/dist/commands/output.js.map +1 -1
- package/dist/commands/overview.d.ts +33 -0
- package/dist/commands/overview.d.ts.map +1 -0
- package/dist/commands/overview.js +150 -0
- package/dist/commands/overview.js.map +1 -0
- package/dist/commands/plan/list.d.ts +20 -12
- package/dist/commands/plan/list.d.ts.map +1 -1
- package/dist/commands/plan/list.js +22 -17
- package/dist/commands/plan/list.js.map +1 -1
- package/dist/commands/plan.d.ts +2 -0
- package/dist/commands/plan.d.ts.map +1 -1
- package/dist/commands/plan.js +12 -2
- package/dist/commands/plan.js.map +1 -1
- package/dist/commands/render-artifact-table.d.ts +85 -0
- package/dist/commands/render-artifact-table.d.ts.map +1 -0
- package/dist/commands/render-artifact-table.js +232 -0
- package/dist/commands/render-artifact-table.js.map +1 -0
- package/dist/commands/require-linked.js +2 -2
- package/dist/commands/require-linked.js.map +1 -1
- package/dist/commands/search.d.ts +23 -0
- package/dist/commands/search.d.ts.map +1 -0
- package/dist/commands/search.js +288 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/{vault/init.d.ts → setup.d.ts} +5 -4
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +210 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/status.d.ts +7 -0
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +273 -83
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/upgrade-banner.d.ts +2 -2
- package/dist/commands/upgrade-banner.js +2 -2
- package/dist/connector/home.d.ts +12 -0
- package/dist/connector/home.d.ts.map +1 -1
- package/dist/connector/home.js +26 -2
- package/dist/connector/home.js.map +1 -1
- package/dist/connector/ledger-migrations.d.ts +55 -0
- package/dist/connector/ledger-migrations.d.ts.map +1 -0
- package/dist/connector/ledger-migrations.js +94 -0
- package/dist/connector/ledger-migrations.js.map +1 -0
- package/dist/connector/state.d.ts +97 -60
- package/dist/connector/state.d.ts.map +1 -1
- package/dist/connector/state.js +165 -107
- package/dist/connector/state.js.map +1 -1
- package/dist/connector/vault.d.ts +2 -0
- package/dist/connector/vault.d.ts.map +1 -1
- package/dist/connector/vault.js +6 -1
- package/dist/connector/vault.js.map +1 -1
- package/dist/help.d.ts +3 -3
- package/dist/help.d.ts.map +1 -1
- package/dist/help.js +97 -56
- package/dist/help.js.map +1 -1
- package/dist/reconcile/apply.d.ts +31 -0
- package/dist/reconcile/apply.d.ts.map +1 -0
- package/dist/reconcile/apply.js +97 -0
- package/dist/reconcile/apply.js.map +1 -0
- package/dist/reconcile/core.d.ts +82 -0
- package/dist/reconcile/core.d.ts.map +1 -0
- package/dist/reconcile/core.js +163 -0
- package/dist/reconcile/core.js.map +1 -0
- package/dist/reconcile/disk.d.ts +13 -0
- package/dist/reconcile/disk.d.ts.map +1 -0
- package/dist/reconcile/disk.js +28 -0
- package/dist/reconcile/disk.js.map +1 -0
- package/dist/util/frontmatter.d.ts +9 -7
- package/dist/util/frontmatter.d.ts.map +1 -1
- package/dist/util/frontmatter.js +29 -4
- package/dist/util/frontmatter.js.map +1 -1
- package/dist/util/fs.d.ts +14 -0
- package/dist/util/fs.d.ts.map +1 -1
- package/dist/util/fs.js +27 -1
- package/dist/util/fs.js.map +1 -1
- package/dist/util/merge-json.d.ts +13 -2
- package/dist/util/merge-json.d.ts.map +1 -1
- package/dist/util/merge-json.js +24 -10
- package/dist/util/merge-json.js.map +1 -1
- package/dist/util/path.d.ts +23 -0
- package/dist/util/path.d.ts.map +1 -1
- package/dist/util/path.js +39 -0
- package/dist/util/path.js.map +1 -1
- package/dist/vault/list-handoffs.d.ts +14 -2
- package/dist/vault/list-handoffs.d.ts.map +1 -1
- package/dist/vault/list-handoffs.js +40 -23
- package/dist/vault/list-handoffs.js.map +1 -1
- package/dist/vault/list-markdown.d.ts +8 -0
- package/dist/vault/list-markdown.d.ts.map +1 -0
- package/dist/vault/list-markdown.js +35 -0
- package/dist/vault/list-markdown.js.map +1 -0
- package/dist/vault/list-notes.d.ts +15 -6
- package/dist/vault/list-notes.d.ts.map +1 -1
- package/dist/vault/list-notes.js +23 -27
- package/dist/vault/list-notes.js.map +1 -1
- package/dist/vault/list-plans.d.ts +12 -3
- package/dist/vault/list-plans.d.ts.map +1 -1
- package/dist/vault/list-plans.js +20 -24
- package/dist/vault/list-plans.js.map +1 -1
- package/dist/vault/search.d.ts +55 -0
- package/dist/vault/search.d.ts.map +1 -0
- package/dist/vault/search.js +432 -0
- package/dist/vault/search.js.map +1 -0
- package/dist/vault/write-handoff.d.ts +2 -0
- package/dist/vault/write-handoff.d.ts.map +1 -1
- package/dist/vault/write-handoff.js +5 -0
- package/dist/vault/write-handoff.js.map +1 -1
- package/dist/vault/write-note.d.ts +2 -0
- package/dist/vault/write-note.d.ts.map +1 -1
- package/dist/vault/write-note.js +9 -1
- package/dist/vault/write-note.js.map +1 -1
- package/dist/vault/write-plan.d.ts +4 -0
- package/dist/vault/write-plan.d.ts.map +1 -1
- package/dist/vault/write-plan.js +14 -1
- package/dist/vault/write-plan.js.map +1 -1
- package/package.json +11 -4
- package/templates/agents/claude/skills/grounder-handoff/SKILL.md +73 -0
- package/templates/agents/claude/{commands/grounder-note.md → skills/grounder-note/SKILL.md} +12 -2
- package/templates/agents/claude/skills/grounder-overview/SKILL.md +21 -0
- package/templates/agents/claude/{commands/grounder-plan.md → skills/grounder-plan/SKILL.md} +13 -5
- package/templates/agents/claude/skills/grounder-recall/SKILL.md +34 -0
- package/templates/agents/claude/skills/grounder-search/SKILL.md +152 -0
- package/templates/agents/cursor/skills/grounder-handoff/SKILL.md +73 -0
- package/templates/agents/cursor/{commands/grounder-note.md → skills/grounder-note/SKILL.md} +12 -2
- package/templates/agents/cursor/skills/grounder-overview/SKILL.md +21 -0
- package/templates/agents/cursor/{commands/grounder-plan.md → skills/grounder-plan/SKILL.md} +13 -5
- package/templates/agents/cursor/skills/grounder-recall/SKILL.md +34 -0
- package/templates/agents/cursor/skills/grounder-search/SKILL.md +152 -0
- package/templates/vault/plan.md +1 -1
- package/templates/vault/session-handoff.md +2 -1
- package/dist/agents/install-command.d.ts +0 -35
- package/dist/agents/install-command.d.ts.map +0 -1
- package/dist/agents/install-command.js +0 -65
- package/dist/agents/install-command.js.map +0 -1
- package/dist/commands/apply-agent-installs.d.ts +0 -34
- package/dist/commands/apply-agent-installs.d.ts.map +0 -1
- package/dist/commands/apply-agent-installs.js +0 -137
- package/dist/commands/apply-agent-installs.js.map +0 -1
- package/dist/commands/repo/init.d.ts +0 -11
- package/dist/commands/repo/init.d.ts.map +0 -1
- package/dist/commands/repo/init.js.map +0 -1
- package/dist/commands/vault/init.d.ts.map +0 -1
- package/dist/commands/vault/init.js +0 -90
- package/dist/commands/vault/init.js.map +0 -1
- package/templates/agents/claude/commands/grounder-task-handoff.md +0 -54
- package/templates/agents/claude/commands/grounder-task.md +0 -22
- package/templates/agents/cursor/commands/grounder-task-handoff.md +0 -54
- package/templates/agents/cursor/commands/grounder-task.md +0 -22
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
Write a session handoff checkpoint to the Obsidian vault for this project.
|
|
2
|
-
|
|
3
|
-
Summarize the session into a structured handoff — not a chat transcript.
|
|
4
|
-
Do not dump tool traces, full conversation, or false starts.
|
|
5
|
-
|
|
6
|
-
Build a markdown body with these sections (lean; roughly half a screen to one screen):
|
|
7
|
-
|
|
8
|
-
```markdown
|
|
9
|
-
# Handoff: <short label>
|
|
10
|
-
|
|
11
|
-
## Done
|
|
12
|
-
- …
|
|
13
|
-
|
|
14
|
-
## Next
|
|
15
|
-
1. … # ordered; most important section for resume — required
|
|
16
|
-
2. …
|
|
17
|
-
|
|
18
|
-
## Blockers
|
|
19
|
-
- None | …
|
|
20
|
-
|
|
21
|
-
## Decisions
|
|
22
|
-
- … # include rejected alternatives / pitfalls when useful
|
|
23
|
-
|
|
24
|
-
## Files
|
|
25
|
-
- path/to/relevant.ts
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Rules:
|
|
29
|
-
- **Next is mandatory and ordered** — if only one section is read, this is it
|
|
30
|
-
- Empty sections are OK (`Blockers: None` beats omission)
|
|
31
|
-
- Few concrete file paths, not an exhaustive diff
|
|
32
|
-
|
|
33
|
-
Then run from the linked project folder or any subdirectory beneath it:
|
|
34
|
-
|
|
35
|
-
{{GROUNDER_CLI}} handoff "<body>"
|
|
36
|
-
|
|
37
|
-
Optional short title slug (filename + frontmatter):
|
|
38
|
-
|
|
39
|
-
{{GROUNDER_CLI}} handoff --title <slug> "<body>"
|
|
40
|
-
|
|
41
|
-
For multi-line bodies, prefer a shell heredoc so quoting does not break:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
{{GROUNDER_CLI}} handoff "$(cat <<'EOF'
|
|
45
|
-
# Handoff: …
|
|
46
|
-
…
|
|
47
|
-
EOF
|
|
48
|
-
)"
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
The vault is outside the workspace — grant shell permissions if Claude Code prompts you.
|
|
52
|
-
|
|
53
|
-
Do not compute vault paths or write files yourself — the CLI handles it.
|
|
54
|
-
Report the CLI output path from stdout to the user.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Hydrate this session from the latest vault handoff and repo truth.
|
|
2
|
-
|
|
3
|
-
Read-only — do not write to the vault. Do not invent vault paths.
|
|
4
|
-
|
|
5
|
-
**Special case: the instruction asks to view existing handoffs, not hydrate** (`list`, `list 3 oldest`, `show handoffs`, etc.) → run `{{GROUNDER_CLI}} handoff list --limit <N>` (N = count named, else 5; ignore order words like "oldest" — output is always newest-first, never resort or relabel it) and stop — no hydrate, no `AGENTS.md`, no “start work.” Relay the CLI stdout as-is (it already includes the count header).
|
|
6
|
-
|
|
7
|
-
Otherwise, from the linked project folder or any subdirectory beneath it:
|
|
8
|
-
|
|
9
|
-
1. Get the current handoff (skips empty/unreadable files, same pick as the session-start teaser):
|
|
10
|
-
|
|
11
|
-
{{GROUNDER_CLI}} handoff list --head
|
|
12
|
-
|
|
13
|
-
2. If empty: tell the user there are no handoffs yet, then read repo `AGENTS.md` only and proceed.
|
|
14
|
-
|
|
15
|
-
3. Otherwise, read that file. If the user names a specific session instead: `{{GROUNDER_CLI}} handoff list --limit 5` → match name/index to the indented path in *this* listing (positional, not a stable id). Miss → once with `--limit 50` (*that* listing only). Still miss → tell the user and stop — no guessed hydrate.
|
|
16
|
-
|
|
17
|
-
4. Read repo `AGENTS.md` (project conventions and constraints).
|
|
18
|
-
|
|
19
|
-
5. Summarize briefly what is next (from the handoff `## Next` section when present), then start work.
|
|
20
|
-
|
|
21
|
-
The vault is outside the workspace — grant shell permissions if Claude Code prompts you.
|
|
22
|
-
Use free-text after `/grounder-task` as optional focus (session name, index, or task hint).
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
Write a session handoff checkpoint to the Obsidian vault for this project.
|
|
2
|
-
|
|
3
|
-
Summarize the session into a structured handoff — not a chat transcript.
|
|
4
|
-
Do not dump tool traces, full conversation, or false starts.
|
|
5
|
-
|
|
6
|
-
Build a markdown body with these sections (lean; roughly half a screen to one screen):
|
|
7
|
-
|
|
8
|
-
```markdown
|
|
9
|
-
# Handoff: <short label>
|
|
10
|
-
|
|
11
|
-
## Done
|
|
12
|
-
- …
|
|
13
|
-
|
|
14
|
-
## Next
|
|
15
|
-
1. … # ordered; most important section for resume — required
|
|
16
|
-
2. …
|
|
17
|
-
|
|
18
|
-
## Blockers
|
|
19
|
-
- None | …
|
|
20
|
-
|
|
21
|
-
## Decisions
|
|
22
|
-
- … # include rejected alternatives / pitfalls when useful
|
|
23
|
-
|
|
24
|
-
## Files
|
|
25
|
-
- path/to/relevant.ts
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Rules:
|
|
29
|
-
- **Next is mandatory and ordered** — if only one section is read, this is it
|
|
30
|
-
- Empty sections are OK (`Blockers: None` beats omission)
|
|
31
|
-
- Few concrete file paths, not an exhaustive diff
|
|
32
|
-
|
|
33
|
-
Then run from the linked project folder or any subdirectory beneath it:
|
|
34
|
-
|
|
35
|
-
{{GROUNDER_CLI}} handoff "<body>"
|
|
36
|
-
|
|
37
|
-
Optional short title slug (filename + frontmatter):
|
|
38
|
-
|
|
39
|
-
{{GROUNDER_CLI}} handoff --title <slug> "<body>"
|
|
40
|
-
|
|
41
|
-
For multi-line bodies, prefer a shell heredoc so quoting does not break:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
{{GROUNDER_CLI}} handoff "$(cat <<'EOF'
|
|
45
|
-
# Handoff: …
|
|
46
|
-
…
|
|
47
|
-
EOF
|
|
48
|
-
)"
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Run {{GROUNDER_CLI}} with `required_permissions: ["all"]` (vault is outside the workspace).
|
|
52
|
-
|
|
53
|
-
Do not compute vault paths or write files yourself — the CLI handles it.
|
|
54
|
-
Report the CLI output path from stdout to the user.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Hydrate this session from the latest vault handoff and repo truth.
|
|
2
|
-
|
|
3
|
-
Read-only — do not write to the vault. Do not invent vault paths.
|
|
4
|
-
|
|
5
|
-
**Special case: the instruction asks to view existing handoffs, not hydrate** (`list`, `list 3 oldest`, `show handoffs`, etc.) → run `{{GROUNDER_CLI}} handoff list --limit <N>` (N = count named, else 5; ignore order words like "oldest" — output is always newest-first, never resort or relabel it) and stop — no hydrate, no `AGENTS.md`, no “start work.” Relay the CLI stdout as-is (it already includes the count header).
|
|
6
|
-
|
|
7
|
-
Otherwise, from the linked project folder or any subdirectory beneath it:
|
|
8
|
-
|
|
9
|
-
1. Get the current handoff (skips empty/unreadable files, same pick as the session-start teaser):
|
|
10
|
-
|
|
11
|
-
{{GROUNDER_CLI}} handoff list --head
|
|
12
|
-
|
|
13
|
-
2. If empty: tell the user there are no handoffs yet, then read repo `AGENTS.md` only and proceed.
|
|
14
|
-
|
|
15
|
-
3. Otherwise, read that file. If the user names a specific session instead: `{{GROUNDER_CLI}} handoff list --limit 5` → match name/index to the indented path in *this* listing (positional, not a stable id). Miss → once with `--limit 50` (*that* listing only). Still miss → tell the user and stop — no guessed hydrate.
|
|
16
|
-
|
|
17
|
-
4. Read repo `AGENTS.md` (project conventions and constraints).
|
|
18
|
-
|
|
19
|
-
5. Summarize briefly what is next (from the handoff `## Next` section when present), then start work.
|
|
20
|
-
|
|
21
|
-
Run {{GROUNDER_CLI}} with `required_permissions: ["all"]` (vault is outside the workspace).
|
|
22
|
-
Use free-text after `/grounder-task` as optional focus (session name, index, or task hint).
|