symbiote-cli 0.1.2 → 0.1.4

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.
Files changed (37) hide show
  1. package/dist/src/brain/intent.d.ts +1 -0
  2. package/dist/src/brain/intent.d.ts.map +1 -1
  3. package/dist/src/brain/intent.js +6 -0
  4. package/dist/src/brain/intent.js.map +1 -1
  5. package/dist/src/commands/mcp.d.ts.map +1 -1
  6. package/dist/src/commands/mcp.js +7 -3
  7. package/dist/src/commands/mcp.js.map +1 -1
  8. package/dist/src/commands/shared.d.ts +9 -0
  9. package/dist/src/commands/shared.d.ts.map +1 -1
  10. package/dist/src/commands/shared.js +52 -6
  11. package/dist/src/commands/shared.js.map +1 -1
  12. package/dist/src/hooks/handlers/pre-tool-use.d.ts.map +1 -1
  13. package/dist/src/hooks/handlers/pre-tool-use.js +14 -0
  14. package/dist/src/hooks/handlers/pre-tool-use.js.map +1 -1
  15. package/dist/src/hooks/handlers/session-start.d.ts +5 -0
  16. package/dist/src/hooks/handlers/session-start.d.ts.map +1 -1
  17. package/dist/src/hooks/handlers/session-start.js +44 -1
  18. package/dist/src/hooks/handlers/session-start.js.map +1 -1
  19. package/dist/src/hooks/handlers/user-prompt-submit.d.ts.map +1 -1
  20. package/dist/src/hooks/handlers/user-prompt-submit.js +24 -15
  21. package/dist/src/hooks/handlers/user-prompt-submit.js.map +1 -1
  22. package/dist/src/init/agent-connector.d.ts.map +1 -1
  23. package/dist/src/init/agent-connector.js +0 -4
  24. package/dist/src/init/agent-connector.js.map +1 -1
  25. package/dist/src/mcp/http-api.d.ts.map +1 -1
  26. package/dist/src/mcp/http-api.js +2 -0
  27. package/dist/src/mcp/http-api.js.map +1 -1
  28. package/dist/src/mcp/resources.d.ts.map +1 -1
  29. package/dist/src/mcp/resources.js +5 -8
  30. package/dist/src/mcp/resources.js.map +1 -1
  31. package/dist/src/mcp/tools/project-tools.d.ts +1 -0
  32. package/dist/src/mcp/tools/project-tools.d.ts.map +1 -1
  33. package/dist/src/mcp/tools/project-tools.js +42 -12
  34. package/dist/src/mcp/tools/project-tools.js.map +1 -1
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +1 -1
  37. package/skills/symbiote-init/SKILL.md +51 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "symbiote-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Symbiote bonds with your AI tools — giving them memory, context, and your coding DNA.",
5
5
  "type": "module",
6
6
  "imports": {
@@ -12,9 +12,10 @@ MCP server is already registered globally by `symbiote install`. This skill only
12
12
  ## Process
13
13
 
14
14
  1. Scan the codebase
15
- 2. Build extraction lists from context
16
- 3. Dispatch subagent to record everything
17
- 4. Print one-line summary
15
+ 2. Write project overview
16
+ 3. Build extraction lists from context
17
+ 4. Dispatch subagent to record everything
18
+ 5. Print one-line summary
18
19
 
19
20
  ## Step 1: Scan
20
21
 
@@ -22,7 +23,51 @@ MCP server is already registered globally by `symbiote install`. This skill only
22
23
  npx symbiote-cli scan
23
24
  ```
24
25
 
25
- ## Step 2: Build Extraction Lists
26
+ ## Step 2: Write Project Overview
27
+
28
+ Write `.brain/intent/overview.md` — a concise project summary that gives AI tools instant context.
29
+
30
+ Read the codebase context (CLAUDE.md, package.json, top-level structure, scan results) and write a markdown file with this exact structure:
31
+
32
+ ```markdown
33
+ # {Project Name}
34
+
35
+ {One sentence: what this project does and who it's for.}
36
+
37
+ ## Tech Stack
38
+
39
+ - {Language/runtime} ({key detail})
40
+ - {Framework} ({purpose})
41
+ - {Database/storage} ({why chosen})
42
+ - {Other significant deps}
43
+
44
+ ## Architecture
45
+
46
+ - `{top-level-dir}/` — {what it contains}
47
+ - `{top-level-dir}/` — {what it contains}
48
+ - `{sub-dir}/` — {what it contains, if important}
49
+
50
+ ## Key Patterns
51
+
52
+ - {How data flows, e.g. "Server actions → Zod validation → Drizzle ORM"}
53
+ - {How modules connect, e.g. "MCP server exposes graph queries to AI tools"}
54
+ - {Any non-obvious architectural pattern}
55
+
56
+ ## Entry Points
57
+
58
+ - `{file}` — {what it does}
59
+ - `{file}` — {what it does}
60
+ ```
61
+
62
+ Rules:
63
+
64
+ - Keep it under 40 lines total
65
+ - No frontmatter — this is a plain markdown file, not an intent entry
66
+ - Focus on WHAT and HOW, not rules or preferences (those go in constraints/decisions)
67
+ - Be specific to THIS project, not generic descriptions
68
+ - Use the project's actual directory names, tech choices, and patterns
69
+
70
+ ## Step 3: Build Extraction Lists
26
71
 
27
72
  Read your context (CLAUDE.md, memories, rule files) and build three separate lists:
28
73
 
@@ -69,7 +114,7 @@ Each entry must be:
69
114
  - Self-contained — understandable without context
70
115
  - Specific — not vague or overly broad
71
116
 
72
- ## Step 3: Dispatch Subagent
117
+ ## Step 4: Dispatch Subagent
73
118
 
74
119
  Launch a single Agent to record everything. Pass it all three lists.
75
120
 
@@ -93,7 +138,7 @@ Record the following Symbiote entries using MCP tools. Call tools in parallel wh
93
138
  Return counts: { dna: N, constraints: N, decisions: N, failed: N }
94
139
  ```
95
140
 
96
- ## Step 4: Output
141
+ ## Step 5: Output
97
142
 
98
143
  One line, nothing more:
99
144