@dotdotgod/claude-code 0.6.5 → 0.6.7
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 +11 -1
- package/commands/dd/init.md +6 -1
- package/commands/dd/plan.md +5 -1
- package/hooks/README.md +5 -0
- package/hooks/runtime.mjs +24 -9
- package/mcp/cli.mjs +534 -299
- package/mcp/parsers/TYPESCRIPT_LICENSE +21 -0
- package/mcp/parsers/tree-sitter-tsx.wasm +0 -0
- package/mcp/parsers/tree-sitter-typescript.wasm +0 -0
- package/mcp/server.mjs +245 -86
- package/package.json +2 -2
- package/skills/doc-first-planning/SKILL.md +5 -1
- package/skills/project-initializer/SKILL.md +5 -0
- package/skills/project-initializer/references/agent-docs.md +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotdotgod/claude-code",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "Claude Code adapter for dotdotgod project memory workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Elastic-2.0",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"esbuild": "0.27.3",
|
|
28
|
-
"@dotdotgod/context": "0.6.
|
|
28
|
+
"@dotdotgod/context": "0.6.7"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
".claude-plugin",
|
|
@@ -12,6 +12,10 @@ version: 1.0.0
|
|
|
12
12
|
|
|
13
13
|
For focused documentation routing, run `dotdotgod query <root> "<focus>" --limit 30 --json`. Run `dotdotgod config <root> --json` when memory-area policy or documentation routing/exclusions affect the plan. If the CLI is unavailable, continue from README indexes and focused file reads.
|
|
14
14
|
|
|
15
|
+
## Native Plan Mode
|
|
16
|
+
|
|
17
|
+
Claude Code owns its native plan file and naming. An opt-in plansDirectory setting can place native files under the project documentation plan directory; it does not grant arbitrary task README writes in native Plan Mode. Follow the native allowed path and permissions. Create the shared task README when the active mode permits it; never bypass restrictions through MCP or hooks.
|
|
18
|
+
|
|
15
19
|
## Goal
|
|
16
20
|
|
|
17
21
|
Create an implementation plan from maintained repository documentation before substantial source or configuration changes.
|
|
@@ -24,7 +28,7 @@ Use `docs/plan/<task-slug>/README.md` for substantial, risky, or resumable work;
|
|
|
24
28
|
2. Reuse loaded memory and the documentation map, then use focused query and README indexes to select maintained docs and verify conclusions in them.
|
|
25
29
|
3. Inspect the source needed to confirm targets and constraints.
|
|
26
30
|
4. Run impact review on likely changed files and refine targets, risks, and verification.
|
|
27
|
-
5.
|
|
31
|
+
5. When the active mode and permissions allow it, write and present the task README with scope, targets, executable steps, verification, and required completion gates.
|
|
28
32
|
6. Resolve blocking decisions and stop until the user asks to execute the plan.
|
|
29
33
|
|
|
30
34
|
## Quality Rules
|
|
@@ -34,3 +34,8 @@ Create a non-destructive dotdotgod baseline with canonical agent instructions, t
|
|
|
34
34
|
3. The POSIX fallback supports bundled templates only. If a custom template was selected and the CLI is unavailable, stop and explain that custom templates require the CLI; do not silently substitute another template.
|
|
35
35
|
4. Validate the initialized project with `dotdotgod validate <project-root>` when available.
|
|
36
36
|
5. Report created and skipped files, the selected template, validation failures, and unresolved instruction conflicts.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## Native Plan Storage
|
|
40
|
+
|
|
41
|
+
Only after the user opts in, add `--claude-plans` to the CLI initialization command. It adds project-local `plansDirectory` without replacing an existing value or changing permissions. Preview with `--dry-run`. The shell fallback does not support this option: use the bundled CLI at `$CLAUDE_PLUGIN_ROOT/mcp/cli.mjs` instead. Native file names remain Claude Code-owned; shared task plans still use task directories and README.md.
|
|
@@ -7,6 +7,7 @@ Use `AGENTS.md` as the canonical shared instruction file.
|
|
|
7
7
|
- `AGENTS.md`: preferred shared file name. OpenAI Codex recognizes this convention, and the community `agents.md` convention uses the plural form.
|
|
8
8
|
- `CLAUDE.md`: Claude Code's project memory file. Keep it thin and import `AGENTS.md` with `@AGENTS.md`.
|
|
9
9
|
- `CODEX.md`: project-local Codex pointer. Keep it thin and link to `AGENTS.md`.
|
|
10
|
+
- OpenCode reads `AGENTS.md` natively; do not create an `OPENCODE.md` copy.
|
|
10
11
|
- `.github/copilot-instructions.md`: optional Copilot surface. If present, route to `AGENTS.md`, `docs/README.md`, and project commands instead of copying the full rules body.
|
|
11
12
|
- `.cursor/rules/*.md`: optional Cursor path-scoped rules. If present, keep Cursor-specific scoping there and route durable project rules to shared docs.
|
|
12
13
|
- `llms.txt`: optional documentation discovery surface. If present, point to README indexes and bounded docs entrypoints instead of embedding large docs bodies.
|