@goondocks/myco 0.10.0 → 0.12.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/CONTRIBUTING.md +3 -20
- package/README.md +21 -10
- package/dist/{agent-run-CGXF5PPC.js → agent-run-5KYQJQTY.js} +6 -6
- package/dist/{agent-tasks-T7NVI3R7.js → agent-tasks-N7BDYKGB.js} +6 -6
- package/dist/{chunk-XLY3REL3.js → chunk-4VSNNMEU.js} +2 -2
- package/dist/{chunk-5LPERML5.js → chunk-7NBDELZB.js} +9 -9
- package/dist/{chunk-ZMW6KQX2.js → chunk-D4ESHOOJ.js} +6 -6
- package/dist/{chunk-W6HI4CCS.js → chunk-D4M2AV65.js} +5 -4
- package/dist/chunk-D4M2AV65.js.map +1 -0
- package/dist/{chunk-YZMNEIFI.js → chunk-DPJVKNNP.js} +3 -3
- package/dist/{chunk-FMIWFRAM.js → chunk-HAG2YDH6.js} +9 -8
- package/dist/chunk-HAG2YDH6.js.map +1 -0
- package/dist/{chunk-AEJS57ZK.js → chunk-J3L2RTYK.js} +2 -2
- package/dist/{chunk-MKKXCCQ5.js → chunk-JHLALJPB.js} +5 -5
- package/dist/{chunk-CUDM5YJY.js → chunk-JROOQQH6.js} +3 -3
- package/dist/{chunk-D6DXYAFK.js → chunk-LGPBVBFY.js} +3 -3
- package/dist/{chunk-5SDH75YC.js → chunk-LUQBT2Y4.js} +2 -2
- package/dist/{chunk-76ZO5RGT.js → chunk-PIRWYDOH.js} +30 -2
- package/dist/chunk-PIRWYDOH.js.map +1 -0
- package/dist/{chunk-WZZH3YXJ.js → chunk-PW5QVY44.js} +2 -2
- package/dist/{chunk-U7UUJ4FD.js → chunk-Q2AYS2QE.js} +3 -3
- package/dist/{chunk-5PEUFJ6U.js → chunk-QFMBZ72S.js} +24 -8
- package/dist/chunk-QFMBZ72S.js.map +1 -0
- package/dist/{chunk-FPMEIN2W.js → chunk-QL2RBFIC.js} +2 -2
- package/dist/{chunk-MSXYUXZR.js → chunk-RGRPAKEY.js} +3 -3
- package/dist/chunk-RR75ZKEV.js +83 -0
- package/dist/chunk-RR75ZKEV.js.map +1 -0
- package/dist/{chunk-5QERXFH7.js → chunk-SW62AX75.js} +2 -2
- package/dist/{chunk-FFQES5MC.js → chunk-TCGOSLW6.js} +3 -3
- package/dist/{chunk-G2LQBFE3.js → chunk-TY7A5OZ5.js} +2 -2
- package/dist/chunk-YRHSTVCZ.js +792 -0
- package/dist/chunk-YRHSTVCZ.js.map +1 -0
- package/dist/{chunk-C3AEZ3BZ.js → chunk-YRUJ5KGV.js} +3 -3
- package/dist/{cli-6CPFJGRZ.js → cli-Y5QZJAHX.js} +39 -37
- package/dist/cli-Y5QZJAHX.js.map +1 -0
- package/dist/{client-B27SN5QG.js → client-UGM6MG55.js} +4 -4
- package/dist/{detect-H5OPI7GD.js → detect-27DN6UTL.js} +3 -3
- package/dist/{detect-providers-AZ6DEQU7.js → detect-providers-JFE3QLJI.js} +4 -4
- package/dist/{doctor-RHHWJTMB.js → doctor-NFWPX75B.js} +22 -28
- package/dist/doctor-NFWPX75B.js.map +1 -0
- package/dist/{executor-A5C5KDLP.js → executor-ESRLUCGU.js} +19 -19
- package/dist/executor-ESRLUCGU.js.map +1 -0
- package/dist/{init-ARJROOWV.js → init-NMSG24BY.js} +42 -61
- package/dist/init-NMSG24BY.js.map +1 -0
- package/dist/{init-wizard-XNFOZCEB.js → init-wizard-WIUCR4JE.js} +7 -7
- package/dist/{llm-XJFHRFHB.js → llm-O46QYWEM.js} +7 -7
- package/dist/{loader-GKXR5ONU.js → loader-BQ4X4K3F.js} +5 -5
- package/dist/{main-PVX6R3I6.js → main-3NTAT7ZD.js} +996 -104
- package/dist/main-3NTAT7ZD.js.map +1 -0
- package/dist/{openai-embeddings-ST3B6GW7.js → openai-embeddings-HWAKOGUM.js} +4 -4
- package/dist/{openrouter-HJHOO3EO.js → openrouter-GXZK7JXR.js} +4 -4
- package/dist/{post-compact-LR3DSGT3.js → post-compact-3DDK3OVZ.js} +12 -8
- package/dist/post-compact-3DDK3OVZ.js.map +1 -0
- package/dist/{post-tool-use-SOFVNFU3.js → post-tool-use-LSG6N3W5.js} +21 -14
- package/dist/post-tool-use-LSG6N3W5.js.map +1 -0
- package/dist/post-tool-use-failure-5V3OCLI6.js +32 -0
- package/dist/post-tool-use-failure-5V3OCLI6.js.map +1 -0
- package/dist/{pre-compact-3E3D6565.js → pre-compact-F7Y7SDSZ.js} +11 -7
- package/dist/pre-compact-F7Y7SDSZ.js.map +1 -0
- package/dist/{provider-check-SOTDYLJE.js → provider-check-CKZW3GQX.js} +4 -4
- package/dist/{registry-WVZG6R2R.js → registry-ZHUVXGPO.js} +6 -6
- package/dist/remove-VCWRNG54.js +92 -0
- package/dist/remove-VCWRNG54.js.map +1 -0
- package/dist/{resolution-events-UPHJJLDQ.js → resolution-events-WZHPQQMN.js} +4 -4
- package/dist/{restart-XIUFVS33.js → restart-YYJ7SH4K.js} +7 -7
- package/dist/{search-VB6Z2ZXV.js → search-L7KTBURJ.js} +7 -7
- package/dist/{server-AKPBRP6Z.js → server-GMRVF2PB.js} +14 -14
- package/dist/{session-UVZS6CY5.js → session-V3SNFG7J.js} +8 -8
- package/dist/{session-end-YMQ44U6Z.js → session-end-V3V3GMP2.js} +12 -7
- package/dist/session-end-V3V3GMP2.js.map +1 -0
- package/dist/{session-start-3754HF3N.js → session-start-OH7SBUIA.js} +17 -14
- package/dist/{session-start-3754HF3N.js.map → session-start-OH7SBUIA.js.map} +1 -1
- package/dist/{setup-llm-NWHOPJUV.js → setup-llm-5AMWEAJ5.js} +9 -9
- package/dist/src/agent/definitions/tasks/full-intelligence.yaml +0 -1
- package/dist/src/agent/prompts/agent.md +1 -1
- package/dist/src/cli.js +1 -1
- package/dist/src/daemon/main.js +1 -1
- package/dist/src/hooks/post-tool-use.js +1 -1
- package/dist/src/hooks/session-end.js +1 -1
- package/dist/src/hooks/session-start.js +1 -1
- package/dist/src/hooks/stop.js +1 -1
- package/dist/src/hooks/user-prompt-submit.js +1 -1
- package/dist/src/mcp/server.js +1 -1
- package/dist/src/symbionts/manifests/claude-code.yaml +8 -4
- package/dist/src/symbionts/manifests/codex.yaml +19 -0
- package/dist/src/symbionts/manifests/cursor.yaml +6 -3
- package/dist/src/symbionts/manifests/gemini.yaml +20 -0
- package/dist/src/symbionts/manifests/vscode-copilot.yaml +17 -0
- package/dist/src/symbionts/manifests/windsurf.yaml +16 -0
- package/dist/src/symbionts/templates/claude-code/hooks.json +134 -0
- package/dist/src/symbionts/templates/claude-code/mcp.json +7 -0
- package/dist/src/symbionts/templates/claude-code/settings.json +10 -0
- package/dist/src/symbionts/templates/codex/hooks.json +46 -0
- package/dist/src/symbionts/templates/codex/mcp.json +6 -0
- package/dist/src/symbionts/templates/cursor/mcp.json +7 -0
- package/dist/src/symbionts/templates/cursor/settings.json +6 -0
- package/dist/src/symbionts/templates/gemini/hooks.json +74 -0
- package/dist/src/symbionts/templates/gemini/mcp.json +6 -0
- package/dist/src/symbionts/templates/gemini/settings.json +6 -0
- package/dist/src/symbionts/templates/instructions-stub.md +9 -0
- package/dist/src/symbionts/templates/vscode-copilot/hooks.json +79 -0
- package/dist/src/symbionts/templates/vscode-copilot/mcp.json +7 -0
- package/dist/src/symbionts/templates/vscode-copilot/settings.json +6 -0
- package/dist/src/symbionts/templates/windsurf/hooks.json +22 -0
- package/dist/src/symbionts/templates/windsurf/settings.json +6 -0
- package/dist/{stats-CDQXOTEC.js → stats-B2V7P45Y.js} +10 -10
- package/dist/{stop-WSFGRPXZ.js → stop-D6L2KRHZ.js} +17 -11
- package/dist/stop-D6L2KRHZ.js.map +1 -0
- package/dist/{stop-failure-4FR7574F.js → stop-failure-7OM2AYRX.js} +12 -8
- package/dist/stop-failure-7OM2AYRX.js.map +1 -0
- package/dist/{subagent-start-7SGBXJYP.js → subagent-start-MKL5I54S.js} +12 -8
- package/dist/{subagent-start-7SGBXJYP.js.map → subagent-start-MKL5I54S.js.map} +1 -1
- package/dist/subagent-stop-2E7VKZW2.js +32 -0
- package/dist/subagent-stop-2E7VKZW2.js.map +1 -0
- package/dist/task-completed-5QHIT773.js +31 -0
- package/dist/task-completed-5QHIT773.js.map +1 -0
- package/dist/{team-XMHYCKFF.js → team-TBS5OILG.js} +5 -5
- package/dist/ui/assets/index-aMc07Ym5.js +804 -0
- package/dist/ui/index.html +1 -1
- package/dist/{update-W3UFZU4G.js → update-4NVFET56.js} +30 -34
- package/dist/update-4NVFET56.js.map +1 -0
- package/dist/{user-prompt-submit-LSWCYUW3.js → user-prompt-submit-X4BCPMZ4.js} +15 -8
- package/dist/user-prompt-submit-X4BCPMZ4.js.map +1 -0
- package/dist/{verify-O7TQ5DDY.js → verify-D7EDVXO5.js} +8 -8
- package/dist/{version-VWWY7SPQ.js → version-GTFCEIJ2.js} +2 -2
- package/package.json +5 -4
- package/skills/rules/SKILL.md +32 -9
- package/.claude-plugin/marketplace.json +0 -26
- package/.claude-plugin/plugin.json +0 -27
- package/dist/chunk-5PEUFJ6U.js.map +0 -1
- package/dist/chunk-76ZO5RGT.js.map +0 -1
- package/dist/chunk-FMIWFRAM.js.map +0 -1
- package/dist/chunk-J4RVYUH4.js +0 -21
- package/dist/chunk-J4RVYUH4.js.map +0 -1
- package/dist/chunk-W6HI4CCS.js.map +0 -1
- package/dist/chunk-WXSJKESH.js +0 -441
- package/dist/chunk-WXSJKESH.js.map +0 -1
- package/dist/cli-6CPFJGRZ.js.map +0 -1
- package/dist/doctor-RHHWJTMB.js.map +0 -1
- package/dist/executor-A5C5KDLP.js.map +0 -1
- package/dist/init-ARJROOWV.js.map +0 -1
- package/dist/main-PVX6R3I6.js.map +0 -1
- package/dist/post-compact-LR3DSGT3.js.map +0 -1
- package/dist/post-tool-use-SOFVNFU3.js.map +0 -1
- package/dist/post-tool-use-failure-2CZZZASB.js +0 -28
- package/dist/post-tool-use-failure-2CZZZASB.js.map +0 -1
- package/dist/pre-compact-3E3D6565.js.map +0 -1
- package/dist/session-end-YMQ44U6Z.js.map +0 -1
- package/dist/stop-WSFGRPXZ.js.map +0 -1
- package/dist/stop-failure-4FR7574F.js.map +0 -1
- package/dist/subagent-stop-MRVTNX3V.js +0 -28
- package/dist/subagent-stop-MRVTNX3V.js.map +0 -1
- package/dist/task-completed-XXPYPSRV.js +0 -27
- package/dist/task-completed-XXPYPSRV.js.map +0 -1
- package/dist/ui/assets/index-CPA_uq_j.js +0 -794
- package/dist/update-W3UFZU4G.js.map +0 -1
- package/dist/user-prompt-submit-LSWCYUW3.js.map +0 -1
- package/hooks/hooks.json +0 -137
- /package/dist/{agent-run-CGXF5PPC.js.map → agent-run-5KYQJQTY.js.map} +0 -0
- /package/dist/{agent-tasks-T7NVI3R7.js.map → agent-tasks-N7BDYKGB.js.map} +0 -0
- /package/dist/{chunk-XLY3REL3.js.map → chunk-4VSNNMEU.js.map} +0 -0
- /package/dist/{chunk-5LPERML5.js.map → chunk-7NBDELZB.js.map} +0 -0
- /package/dist/{chunk-ZMW6KQX2.js.map → chunk-D4ESHOOJ.js.map} +0 -0
- /package/dist/{chunk-YZMNEIFI.js.map → chunk-DPJVKNNP.js.map} +0 -0
- /package/dist/{chunk-AEJS57ZK.js.map → chunk-J3L2RTYK.js.map} +0 -0
- /package/dist/{chunk-MKKXCCQ5.js.map → chunk-JHLALJPB.js.map} +0 -0
- /package/dist/{chunk-CUDM5YJY.js.map → chunk-JROOQQH6.js.map} +0 -0
- /package/dist/{chunk-D6DXYAFK.js.map → chunk-LGPBVBFY.js.map} +0 -0
- /package/dist/{chunk-5SDH75YC.js.map → chunk-LUQBT2Y4.js.map} +0 -0
- /package/dist/{chunk-WZZH3YXJ.js.map → chunk-PW5QVY44.js.map} +0 -0
- /package/dist/{chunk-U7UUJ4FD.js.map → chunk-Q2AYS2QE.js.map} +0 -0
- /package/dist/{chunk-FPMEIN2W.js.map → chunk-QL2RBFIC.js.map} +0 -0
- /package/dist/{chunk-MSXYUXZR.js.map → chunk-RGRPAKEY.js.map} +0 -0
- /package/dist/{chunk-5QERXFH7.js.map → chunk-SW62AX75.js.map} +0 -0
- /package/dist/{chunk-FFQES5MC.js.map → chunk-TCGOSLW6.js.map} +0 -0
- /package/dist/{chunk-G2LQBFE3.js.map → chunk-TY7A5OZ5.js.map} +0 -0
- /package/dist/{chunk-C3AEZ3BZ.js.map → chunk-YRUJ5KGV.js.map} +0 -0
- /package/dist/{client-B27SN5QG.js.map → client-UGM6MG55.js.map} +0 -0
- /package/dist/{detect-H5OPI7GD.js.map → detect-27DN6UTL.js.map} +0 -0
- /package/dist/{detect-providers-AZ6DEQU7.js.map → detect-providers-JFE3QLJI.js.map} +0 -0
- /package/dist/{init-wizard-XNFOZCEB.js.map → init-wizard-WIUCR4JE.js.map} +0 -0
- /package/dist/{llm-XJFHRFHB.js.map → llm-O46QYWEM.js.map} +0 -0
- /package/dist/{loader-GKXR5ONU.js.map → loader-BQ4X4K3F.js.map} +0 -0
- /package/dist/{openai-embeddings-ST3B6GW7.js.map → openai-embeddings-HWAKOGUM.js.map} +0 -0
- /package/dist/{openrouter-HJHOO3EO.js.map → openrouter-GXZK7JXR.js.map} +0 -0
- /package/dist/{provider-check-SOTDYLJE.js.map → provider-check-CKZW3GQX.js.map} +0 -0
- /package/dist/{registry-WVZG6R2R.js.map → registry-ZHUVXGPO.js.map} +0 -0
- /package/dist/{resolution-events-UPHJJLDQ.js.map → resolution-events-WZHPQQMN.js.map} +0 -0
- /package/dist/{restart-XIUFVS33.js.map → restart-YYJ7SH4K.js.map} +0 -0
- /package/dist/{search-VB6Z2ZXV.js.map → search-L7KTBURJ.js.map} +0 -0
- /package/dist/{server-AKPBRP6Z.js.map → server-GMRVF2PB.js.map} +0 -0
- /package/dist/{session-UVZS6CY5.js.map → session-V3SNFG7J.js.map} +0 -0
- /package/dist/{setup-llm-NWHOPJUV.js.map → setup-llm-5AMWEAJ5.js.map} +0 -0
- /package/dist/{stats-CDQXOTEC.js.map → stats-B2V7P45Y.js.map} +0 -0
- /package/dist/{team-XMHYCKFF.js.map → team-TBS5OILG.js.map} +0 -0
- /package/dist/{verify-O7TQ5DDY.js.map → verify-D7EDVXO5.js.map} +0 -0
- /package/dist/{version-VWWY7SPQ.js.map → version-GTFCEIJ2.js.map} +0 -0
package/CONTRIBUTING.md
CHANGED
|
@@ -40,27 +40,13 @@ cd myco
|
|
|
40
40
|
npm install
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
### 2.
|
|
44
|
-
|
|
45
|
-
For **active development** (per-session, no install needed):
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
claude --plugin-dir /path/to/myco
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
For **persistent local dev** (survives across sessions):
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
claude plugin add /path/to/myco/.claude-plugin
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 3. Initialize the vault
|
|
43
|
+
### 2. Initialize the vault
|
|
58
44
|
|
|
59
45
|
```bash
|
|
60
46
|
myco init
|
|
61
47
|
```
|
|
62
48
|
|
|
63
|
-
For dogfooding, the vault lives at `~/.myco/vaults/myco/` (configured
|
|
49
|
+
For dogfooding, the vault lives at `~/.myco/vaults/myco/` (configured in `.claude/settings.json`).
|
|
64
50
|
|
|
65
51
|
### 4. Verify
|
|
66
52
|
|
|
@@ -92,10 +78,7 @@ make build && myco restart
|
|
|
92
78
|
|
|
93
79
|
```
|
|
94
80
|
myco/
|
|
95
|
-
├── .claude-plugin/ # Claude Code plugin manifest + marketplace catalog
|
|
96
|
-
├── .cursor-plugin/ # Cursor plugin manifest + marketplace catalog
|
|
97
81
|
├── .github/ # CI workflows + VS Code Copilot agent manifest
|
|
98
|
-
├── hooks/ # Hook registration shell scripts
|
|
99
82
|
├── skills/ # Skill markdown files (subdirectory per skill)
|
|
100
83
|
├── src/
|
|
101
84
|
│ ├── agent/ # Intelligence pipeline: wave-based executor, task definitions, orchestrator
|
|
@@ -112,7 +95,7 @@ myco/
|
|
|
112
95
|
│ ├── mcp/ # MCP server + tool handlers
|
|
113
96
|
│ ├── prompts/ # LLM prompt templates (extraction, summary, title, classification)
|
|
114
97
|
│ ├── services/ # Shared service logic (used by both CLI and API)
|
|
115
|
-
│ ├── symbionts/ # Symbiont adapters (Claude Code, Cursor) — transcript discovery
|
|
98
|
+
│ ├── symbionts/ # Symbiont adapters (Claude Code, Cursor, Codex) — transcript discovery, parsing, and project-local registration
|
|
116
99
|
│ └── vault/ # Reader, writer, Zod schemas for database records
|
|
117
100
|
├── tests/ # Mirrors src/ structure
|
|
118
101
|
├── ui/ # React + Tailwind dashboard (Vite build → dist/ui/)
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<a href="https://www.npmjs.com/package/@goondocks/myco"><img src="https://img.shields.io/npm/v/@goondocks/myco?label=npm&color=22c55e" alt="npm"></a>
|
|
13
13
|
<a href="https://github.com/goondocks-co/myco/blob/main/LICENSE"><img src="https://img.shields.io/github/license/goondocks-co/myco?color=22c55e" alt="License"></a>
|
|
14
14
|
<img src="https://img.shields.io/badge/node-%3E%3D22-22c55e" alt="Node 22+">
|
|
15
|
-
<img src="https://img.shields.io/badge/
|
|
15
|
+
<img src="https://img.shields.io/badge/agents-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20VS%20Code%20%7C%20Gemini%20%7C%20Windsurf-22c55e" alt="Claude Code | Cursor | Codex | VS Code | Gemini | Windsurf">
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
```bash
|
|
@@ -25,7 +25,7 @@ cd your-project
|
|
|
25
25
|
myco init
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
The wizard detects your coding agents, sets up intelligence and embedding providers, and starts capturing. Works with Claude Code
|
|
28
|
+
The wizard detects your coding agents, sets up intelligence and embedding providers, and starts capturing. Works with Claude Code, Cursor, Codex, VS Code Copilot, Gemini CLI, and Windsurf.
|
|
29
29
|
|
|
30
30
|
## What is Myco?
|
|
31
31
|
|
|
@@ -61,7 +61,7 @@ Each phase runs with scoped tools, a turn budget, isolated provider config, and
|
|
|
61
61
|
|
|
62
62
|
**Provider flexibility** — every task and phase can use a different LLM provider. Run title generation on a fast local model via Ollama, extraction on Claude, and consolidation on a larger local model via LM Studio. Configure globally or per-task in `myco.yaml`, or use the [dashboard](#dashboard) to manage assignments visually.
|
|
63
63
|
|
|
64
|
-
Seven built-in tasks cover the full lifecycle, from lightweight `title-summary` to the complete `full-intelligence` pipeline.
|
|
64
|
+
Seven built-in tasks cover the full lifecycle, from lightweight `title-summary` to the complete `full-intelligence` pipeline. For the full breakdown — wave execution, phase dependencies, tool scoping, orchestrator planning, and provider config — see the [Agent System docs](docs/agent-system.md).
|
|
65
65
|
|
|
66
66
|
### Digest
|
|
67
67
|
|
|
@@ -92,17 +92,28 @@ Agents don't need to search explicitly — Myco surfaces what's relevant.
|
|
|
92
92
|
|
|
93
93
|
A local web dashboard provides configuration and operations management. Manage intelligence providers and per-task model assignments, trigger agent and digest cycles, monitor daemon health, and view live logs.
|
|
94
94
|
|
|
95
|
+
<p align="center">
|
|
96
|
+
<img src="assets/myco-dashboard.png" alt="Myco Dashboard" width="100%">
|
|
97
|
+
</p>
|
|
98
|
+
|
|
95
99
|
### Symbionts
|
|
96
100
|
|
|
97
|
-
Myco integrates with coding agents through **symbiont** adapters — named for the mycorrhizal symbiotic relationship between fungi and their host trees. Each adapter handles transcript discovery, conversation parsing,
|
|
101
|
+
Myco integrates with coding agents through **symbiont** adapters — named for the mycorrhizal symbiotic relationship between fungi and their host trees. Each adapter handles transcript discovery, conversation parsing, and project registration for its host agent.
|
|
102
|
+
|
|
103
|
+
`myco init` detects available agents and lets you choose which to configure. Registration is project-local — hooks, MCP servers, skills, and auto-approve settings are written directly to each agent's config files.
|
|
104
|
+
|
|
105
|
+
| Agent | Hooks | MCP | Skills | Auto-Approve | Plans |
|
|
106
|
+
|-------|-------|-----|--------|-------------|-------|
|
|
107
|
+
| [Claude Code](https://claude.ai/code) | `.claude/settings.json` | `.mcp.json` | `.claude/skills/` | `permissions.allow` | `.claude/plans/` |
|
|
108
|
+
| [Cursor](https://cursor.com) | — | `.cursor/mcp.json` | `.cursor/skills/` | `autoApprove` | `.cursor/plans/` |
|
|
109
|
+
| [Codex](https://github.com/openai/codex) | `.codex/hooks.json` | `.codex/config.toml` | `.agents/skills/` | — | — |
|
|
110
|
+
| [VS Code Copilot](https://code.visualstudio.com/docs/copilot) | `.github/hooks/` | `.vscode/mcp.json` | `.agents/skills/` | `autoApprove` | — |
|
|
111
|
+
| [Gemini CLI](https://geminicli.com) | `.gemini/settings.json` | `.gemini/settings.json` | `.agents/skills/` | `coreTools` | `.gemini/plans/` |
|
|
112
|
+
| [Windsurf](https://windsurf.com) | `.windsurf/hooks.json` | — | `.agents/skills/` | `cascadeCommandsAllowList` | `~/.windsurf/plans/` |
|
|
98
113
|
|
|
99
|
-
|
|
100
|
-
|----------|--------|
|
|
101
|
-
| [Claude Code](https://claude.ai/code) | Supported |
|
|
102
|
-
| [Cursor](https://cursor.com) | Supported |
|
|
103
|
-
| VS Code (Copilot) | Agent manifest available |
|
|
114
|
+
Skills are installed once to `.agents/skills/` (the emerging cross-agent standard) and symlinked to each agent's native skills directory. Adding a new agent requires only a YAML manifest and JSON templates — no code changes.
|
|
104
115
|
|
|
105
|
-
|
|
116
|
+
See the [Symbiont docs](docs/symbionts.md) for detailed setup information per agent.
|
|
106
117
|
|
|
107
118
|
### Team sync
|
|
108
119
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
connectToDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YRHSTVCZ.js";
|
|
5
5
|
import "./chunk-SAKJMNSR.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LUQBT2Y4.js";
|
|
7
7
|
import "./chunk-MYX5NCRH.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DPJVKNNP.js";
|
|
9
|
+
import "./chunk-PIRWYDOH.js";
|
|
10
10
|
import "./chunk-S6I62FAH.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TY7A5OZ5.js";
|
|
12
12
|
import "./chunk-LPUQPDC2.js";
|
|
13
13
|
import "./chunk-PZUWP5VK.js";
|
|
14
14
|
|
|
@@ -31,4 +31,4 @@ async function run(args, vaultDir) {
|
|
|
31
31
|
export {
|
|
32
32
|
run
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=agent-run-
|
|
34
|
+
//# sourceMappingURL=agent-run-5KYQJQTY.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
connectToDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YRHSTVCZ.js";
|
|
5
5
|
import "./chunk-SAKJMNSR.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LUQBT2Y4.js";
|
|
7
7
|
import "./chunk-MYX5NCRH.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DPJVKNNP.js";
|
|
9
|
+
import "./chunk-PIRWYDOH.js";
|
|
10
10
|
import "./chunk-S6I62FAH.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TY7A5OZ5.js";
|
|
12
12
|
import "./chunk-LPUQPDC2.js";
|
|
13
13
|
import "./chunk-PZUWP5VK.js";
|
|
14
14
|
|
|
@@ -177,4 +177,4 @@ async function run(args, vaultDir) {
|
|
|
177
177
|
export {
|
|
178
178
|
run
|
|
179
179
|
};
|
|
180
|
-
//# sourceMappingURL=agent-tasks-
|
|
180
|
+
//# sourceMappingURL=agent-tasks-N7BDYKGB.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-MYX5NCRH.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_MACHINE_ID
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PIRWYDOH.js";
|
|
8
8
|
|
|
9
9
|
// src/daemon/team-context.ts
|
|
10
10
|
var teamSyncEnabled = false;
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
countPending,
|
|
163
163
|
backfillUnsynced
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-4VSNNMEU.js.map
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
require_dist
|
|
4
|
-
} from "./chunk-D7TYRPRM.js";
|
|
5
|
-
import {
|
|
6
|
-
external_exports
|
|
7
|
-
} from "./chunk-KH64DHOY.js";
|
|
8
2
|
import {
|
|
9
3
|
getDatabase
|
|
10
4
|
} from "./chunk-MYX5NCRH.js";
|
|
@@ -13,10 +7,16 @@ import {
|
|
|
13
7
|
DEFAULT_AGENT_ID,
|
|
14
8
|
USER_TASK_SOURCE,
|
|
15
9
|
epochSeconds
|
|
16
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PIRWYDOH.js";
|
|
17
11
|
import {
|
|
18
12
|
findPackageRoot
|
|
19
13
|
} from "./chunk-LPUQPDC2.js";
|
|
14
|
+
import {
|
|
15
|
+
require_dist
|
|
16
|
+
} from "./chunk-D7TYRPRM.js";
|
|
17
|
+
import {
|
|
18
|
+
external_exports
|
|
19
|
+
} from "./chunk-KH64DHOY.js";
|
|
20
20
|
import {
|
|
21
21
|
__toESM
|
|
22
22
|
} from "./chunk-PZUWP5VK.js";
|
|
@@ -442,7 +442,7 @@ async function registerBuiltInAgentsAndTasks(definitionsDir, vaultDir) {
|
|
|
442
442
|
).run(BUILT_IN_SOURCE, definition.name, ...validTaskIds);
|
|
443
443
|
}
|
|
444
444
|
if (vaultDir) {
|
|
445
|
-
const { loadAllTasks } = await import("./registry-
|
|
445
|
+
const { loadAllTasks } = await import("./registry-ZHUVXGPO.js");
|
|
446
446
|
const allTasks = loadAllTasks(definitionsDir, vaultDir);
|
|
447
447
|
for (const [name, task] of allTasks) {
|
|
448
448
|
if (task.source === USER_TASK_SOURCE) {
|
|
@@ -483,4 +483,4 @@ export {
|
|
|
483
483
|
resolveEffectiveConfig,
|
|
484
484
|
registerBuiltInAgentsAndTasks
|
|
485
485
|
};
|
|
486
|
-
//# sourceMappingURL=chunk-
|
|
486
|
+
//# sourceMappingURL=chunk-7NBDELZB.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
AgentTaskSchema,
|
|
4
4
|
loadAgentTasks,
|
|
5
5
|
taskFromParsed
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
require_dist
|
|
9
|
-
} from "./chunk-D7TYRPRM.js";
|
|
6
|
+
} from "./chunk-7NBDELZB.js";
|
|
10
7
|
import {
|
|
11
8
|
BUILT_IN_SOURCE,
|
|
12
9
|
MAX_TASK_NAME_LENGTH,
|
|
13
10
|
TASK_NAME_PATTERN,
|
|
14
11
|
USER_TASKS_DIR,
|
|
15
12
|
USER_TASK_SOURCE
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PIRWYDOH.js";
|
|
14
|
+
import {
|
|
15
|
+
require_dist
|
|
16
|
+
} from "./chunk-D7TYRPRM.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./chunk-PZUWP5VK.js";
|
|
@@ -100,4 +100,4 @@ export {
|
|
|
100
100
|
deleteUserTask,
|
|
101
101
|
copyTaskToUser
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=chunk-
|
|
103
|
+
//# sourceMappingURL=chunk-D4ESHOOJ.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
SEARCH_PREVIEW_CHARS,
|
|
7
7
|
SEARCH_RESULTS_DEFAULT_LIMIT
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PIRWYDOH.js";
|
|
9
9
|
|
|
10
10
|
// src/db/queries/search.ts
|
|
11
11
|
function fullTextSearch(query, options = {}) {
|
|
@@ -77,7 +77,7 @@ function hydrateSearchResults(vectorResults) {
|
|
|
77
77
|
`SELECT id, observation_type, content, session_id FROM spores WHERE id IN (SELECT value FROM json_each(?))`
|
|
78
78
|
);
|
|
79
79
|
const planStmt = db.prepare(
|
|
80
|
-
`SELECT id, title, content FROM plans WHERE id IN (SELECT value FROM json_each(?))`
|
|
80
|
+
`SELECT id, title, content, session_id FROM plans WHERE id IN (SELECT value FROM json_each(?))`
|
|
81
81
|
);
|
|
82
82
|
const artifactStmt = db.prepare(
|
|
83
83
|
`SELECT id, title, content FROM artifacts WHERE id IN (SELECT value FROM json_each(?))`
|
|
@@ -130,7 +130,8 @@ function hydrateSearchResults(vectorResults) {
|
|
|
130
130
|
type: "plan",
|
|
131
131
|
title: row.title ?? `Plan ${row.id.slice(-6)}`,
|
|
132
132
|
preview: (row.content ?? "").slice(0, SEARCH_PREVIEW_CHARS),
|
|
133
|
-
score: vr.similarity
|
|
133
|
+
score: vr.similarity,
|
|
134
|
+
...row.session_id != null ? { session_id: row.session_id } : {}
|
|
134
135
|
});
|
|
135
136
|
}
|
|
136
137
|
}
|
|
@@ -159,4 +160,4 @@ export {
|
|
|
159
160
|
fullTextSearch,
|
|
160
161
|
hydrateSearchResults
|
|
161
162
|
};
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
163
|
+
//# sourceMappingURL=chunk-D4M2AV65.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/db/queries/search.ts"],"sourcesContent":["/**\n * Full-text search using SQLite FTS5.\n *\n * Searches prompt_batches and activities via their FTS5 virtual tables.\n * Semantic search (vector similarity) is handled by the external VectorStore —\n * this module covers text-based retrieval only.\n *\n * All queries use parameterized placeholders throughout.\n */\n\nimport { getDatabase } from '@myco/db/client.js';\nimport {\n SEARCH_RESULTS_DEFAULT_LIMIT,\n SEARCH_PREVIEW_CHARS,\n} from '@myco/constants.js';\nimport type { VectorSearchResult } from '@myco/daemon/embedding/types.js';\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\n/** All result types that can appear in search results. */\nexport type SearchResultType =\n | 'session'\n | 'spore'\n | 'plan'\n | 'artifact'\n | 'prompt_batch'\n | 'activity';\n\n/** A single result returned from full-text or semantic search. */\nexport interface SearchResult {\n id: string;\n type: SearchResultType;\n title: string;\n preview: string;\n score: number;\n session_id?: string;\n}\n\n/** Options for fullTextSearch. */\nexport interface SearchOptions {\n /** Restrict results to a single type. */\n type?: string;\n /** Maximum number of results to return (default: SEARCH_RESULTS_DEFAULT_LIMIT). */\n limit?: number;\n}\n\n// ---------------------------------------------------------------------------\n// Public API\n// ---------------------------------------------------------------------------\n\n/**\n * Full-text search across capture tables using SQLite FTS5.\n *\n * Searches prompt_batches (indexed on user_prompt) and activities (indexed\n * on tool_name, tool_input, file_path). The raw query string is passed\n * directly to FTS5 MATCH — callers should sanitize if needed.\n *\n * FTS5 `rank` values are negative (lower = better match). This function\n * converts them to positive scores via `Math.abs()` so higher = better\n * in the returned results.\n *\n * When `options.type` is specified, only the matching table branch is queried.\n *\n * @param query — search string (FTS5 MATCH syntax)\n * @param options — optional type filter and result limit\n * @returns SearchResult[] ordered by score DESC\n */\nexport function fullTextSearch(\n query: string,\n options: SearchOptions = {},\n): SearchResult[] {\n const db = getDatabase();\n const limit = options.limit ?? SEARCH_RESULTS_DEFAULT_LIMIT;\n const typeFilter = options.type;\n\n const results: SearchResult[] = [];\n\n // -- prompt_batches branch ------------------------------------------------\n if (typeFilter === undefined || typeFilter === 'prompt_batch') {\n const batchRows = db.prepare(\n `SELECT pb.id, pb.prompt_number, pb.session_id,\n substr(COALESCE(pb.user_prompt, ''), 1, ?) AS preview,\n fts.rank\n FROM prompt_batches_fts fts\n JOIN prompt_batches pb ON pb.id = fts.rowid\n WHERE prompt_batches_fts MATCH ?\n ORDER BY fts.rank\n LIMIT ?`\n ).all(SEARCH_PREVIEW_CHARS, query, limit) as Array<{\n id: number;\n prompt_number: number | null;\n session_id: string | null;\n preview: string;\n rank: number;\n }>;\n\n for (const row of batchRows) {\n results.push({\n id: String(row.id),\n type: 'prompt_batch',\n title: row.prompt_number != null\n ? `Batch #${row.prompt_number}`\n : `Batch ${row.id}`,\n preview: row.preview,\n score: Math.abs(row.rank),\n ...(row.session_id != null ? { session_id: row.session_id } : {}),\n });\n }\n }\n\n // -- activities branch ----------------------------------------------------\n if (typeFilter === undefined || typeFilter === 'activity') {\n const activityRows = db.prepare(\n `SELECT a.id, a.tool_name, a.tool_input, a.file_path, a.session_id,\n fts.rank\n FROM activities_fts fts\n JOIN activities a ON a.id = fts.rowid\n WHERE activities_fts MATCH ?\n ORDER BY fts.rank\n LIMIT ?`\n ).all(query, limit) as Array<{\n id: number;\n tool_name: string;\n tool_input: string | null;\n file_path: string | null;\n session_id: string | null;\n rank: number;\n }>;\n\n for (const row of activityRows) {\n const preview = (row.tool_input ?? row.file_path ?? '').slice(0, SEARCH_PREVIEW_CHARS);\n results.push({\n id: String(row.id),\n type: 'activity',\n title: row.tool_name,\n preview,\n score: Math.abs(row.rank),\n ...(row.session_id != null ? { session_id: row.session_id } : {}),\n });\n }\n }\n\n // Sort combined results by score DESC and apply limit.\n results.sort((a, b) => b.score - a.score);\n return results.slice(0, limit);\n}\n\n// ---------------------------------------------------------------------------\n// Hydration — convert VectorSearchResults into SearchResults\n// ---------------------------------------------------------------------------\n\n/** Row shape returned from sessions table for hydration. */\ninterface SessionRow {\n id: string;\n title: string | null;\n summary: string | null;\n session_id?: undefined;\n}\n\n/** Row shape returned from spores table for hydration. */\ninterface SporeRow {\n id: string;\n observation_type: string;\n content: string;\n session_id: string | null;\n}\n\n/** Row shape returned from plans table for hydration. */\ninterface PlanRow {\n id: string;\n title: string | null;\n content: string | null;\n session_id: string | null;\n}\n\n/** Row shape returned from artifacts table for hydration. */\ninterface ArtifactRow {\n id: string;\n title: string;\n content: string | null;\n}\n\n/**\n * Hydrate vector search results into SearchResults by fetching full records\n * from the record store.\n *\n * Groups results by namespace, queries each table for the relevant IDs, then\n * maps them into SearchResult format with titles and previews.\n */\nexport function hydrateSearchResults(\n vectorResults: VectorSearchResult[],\n): SearchResult[] {\n if (vectorResults.length === 0) return [];\n\n const db = getDatabase();\n const results: SearchResult[] = [];\n\n // Group result IDs by namespace\n const byNamespace = new Map<string, VectorSearchResult[]>();\n for (const vr of vectorResults) {\n const group = byNamespace.get(vr.namespace) ?? [];\n group.push(vr);\n byNamespace.set(vr.namespace, group);\n }\n\n // Use json_each so the statement text is stable and SQLite can cache the plan.\n const sessionStmt = db.prepare(\n `SELECT id, title, summary FROM sessions WHERE id IN (SELECT value FROM json_each(?))`,\n );\n const sporeStmt = db.prepare(\n `SELECT id, observation_type, content, session_id FROM spores WHERE id IN (SELECT value FROM json_each(?))`,\n );\n const planStmt = db.prepare(\n `SELECT id, title, content, session_id FROM plans WHERE id IN (SELECT value FROM json_each(?))`,\n );\n const artifactStmt = db.prepare(\n `SELECT id, title, content FROM artifacts WHERE id IN (SELECT value FROM json_each(?))`,\n );\n\n // --- sessions ---\n const sessionResults = byNamespace.get('sessions');\n if (sessionResults && sessionResults.length > 0) {\n const ids = sessionResults.map((r) => r.id);\n const rows = sessionStmt.all(JSON.stringify(ids)) as SessionRow[];\n\n const rowMap = new Map(rows.map((r) => [r.id, r]));\n for (const vr of sessionResults) {\n const row = rowMap.get(vr.id);\n if (!row) continue;\n results.push({\n id: row.id,\n type: 'session',\n title: row.title ?? `Session ${row.id.slice(-6)}`,\n preview: (row.summary ?? '').slice(0, SEARCH_PREVIEW_CHARS),\n score: vr.similarity,\n });\n }\n }\n\n // --- spores ---\n const sporeResults = byNamespace.get('spores');\n if (sporeResults && sporeResults.length > 0) {\n const ids = sporeResults.map((r) => r.id);\n const rows = sporeStmt.all(JSON.stringify(ids)) as SporeRow[];\n\n const rowMap = new Map(rows.map((r) => [r.id, r]));\n for (const vr of sporeResults) {\n const row = rowMap.get(vr.id);\n if (!row) continue;\n results.push({\n id: row.id,\n type: 'spore',\n title: row.observation_type,\n preview: row.content.slice(0, SEARCH_PREVIEW_CHARS),\n score: vr.similarity,\n ...(row.session_id != null ? { session_id: row.session_id } : {}),\n });\n }\n }\n\n // --- plans ---\n const planResults = byNamespace.get('plans');\n if (planResults && planResults.length > 0) {\n const ids = planResults.map((r) => r.id);\n const rows = planStmt.all(JSON.stringify(ids)) as PlanRow[];\n\n const rowMap = new Map(rows.map((r) => [r.id, r]));\n for (const vr of planResults) {\n const row = rowMap.get(vr.id);\n if (!row) continue;\n results.push({\n id: row.id,\n type: 'plan',\n title: row.title ?? `Plan ${row.id.slice(-6)}`,\n preview: (row.content ?? '').slice(0, SEARCH_PREVIEW_CHARS),\n score: vr.similarity,\n ...(row.session_id != null ? { session_id: row.session_id } : {}),\n });\n }\n }\n\n // --- artifacts ---\n const artifactResults = byNamespace.get('artifacts');\n if (artifactResults && artifactResults.length > 0) {\n const ids = artifactResults.map((r) => r.id);\n const rows = artifactStmt.all(JSON.stringify(ids)) as ArtifactRow[];\n\n const rowMap = new Map(rows.map((r) => [r.id, r]));\n for (const vr of artifactResults) {\n const row = rowMap.get(vr.id);\n if (!row) continue;\n results.push({\n id: row.id,\n type: 'artifact',\n title: row.title,\n preview: (row.content ?? '').slice(0, SEARCH_PREVIEW_CHARS),\n score: vr.similarity,\n });\n }\n }\n\n // Preserve the original similarity-based ordering from vector search\n results.sort((a, b) => b.score - a.score);\n return results;\n}\n"],"mappings":"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","names":[]}
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
DAEMON_HEALTH_CHECK_TIMEOUT_MS,
|
|
5
5
|
DAEMON_HEALTH_RETRY_DELAYS,
|
|
6
6
|
DAEMON_STALE_GRACE_PERIOD_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PIRWYDOH.js";
|
|
8
8
|
import {
|
|
9
9
|
getPluginVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TY7A5OZ5.js";
|
|
11
11
|
|
|
12
12
|
// src/hooks/client.ts
|
|
13
13
|
import fs from "fs";
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
resolveCliEntryPath,
|
|
169
169
|
DaemonClient
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=chunk-
|
|
171
|
+
//# sourceMappingURL=chunk-DPJVKNNP.js.map
|
|
@@ -3,11 +3,12 @@ import {
|
|
|
3
3
|
EventBuffer
|
|
4
4
|
} from "./chunk-V7XG6V6C.js";
|
|
5
5
|
import {
|
|
6
|
+
normalizeHookInput,
|
|
6
7
|
readStdin
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RR75ZKEV.js";
|
|
8
9
|
import {
|
|
9
10
|
DaemonClient
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DPJVKNNP.js";
|
|
11
12
|
import {
|
|
12
13
|
resolveVaultDir
|
|
13
14
|
} from "./chunk-JTYZRPX5.js";
|
|
@@ -19,13 +20,13 @@ async function sendEvent(hookName, buildEvent) {
|
|
|
19
20
|
const VAULT_DIR = resolveVaultDir();
|
|
20
21
|
if (!fs.existsSync(path.join(VAULT_DIR, "myco.yaml"))) return;
|
|
21
22
|
try {
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const event = buildEvent(input
|
|
23
|
+
const rawInput = JSON.parse(await readStdin());
|
|
24
|
+
const input = normalizeHookInput(rawInput);
|
|
25
|
+
const event = buildEvent(input);
|
|
25
26
|
const client = new DaemonClient(VAULT_DIR);
|
|
26
|
-
const result = await client.post("/events", { ...event, session_id: sessionId });
|
|
27
|
+
const result = await client.post("/events", { ...event, session_id: input.sessionId, agent: input.agent });
|
|
27
28
|
if (!result.ok) {
|
|
28
|
-
const buffer = new EventBuffer(path.join(VAULT_DIR, "buffer"), sessionId);
|
|
29
|
+
const buffer = new EventBuffer(path.join(VAULT_DIR, "buffer"), input.sessionId);
|
|
29
30
|
const { session_id: _, ...bufferPayload } = event;
|
|
30
31
|
buffer.append(bufferPayload);
|
|
31
32
|
}
|
|
@@ -38,4 +39,4 @@ async function sendEvent(hookName, buildEvent) {
|
|
|
38
39
|
export {
|
|
39
40
|
sendEvent
|
|
40
41
|
};
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-HAG2YDH6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/hooks/send-event.ts"],"sourcesContent":["/**\n * Shared hook helper — sends an event to the daemon, buffers on failure.\n *\n * Every hook follows the same pattern: read stdin, POST to daemon /events,\n * buffer to disk if the daemon is unreachable. This helper extracts that\n * skeleton so each hook is a one-liner mapping input fields to event fields.\n */\n\nimport { DaemonClient } from './client.js';\nimport { readStdin } from './read-stdin.js';\nimport { normalizeHookInput, type NormalizedHookInput } from './normalize.js';\nimport { EventBuffer } from '../capture/buffer.js';\nimport { resolveVaultDir } from '../vault/resolve.js';\nimport fs from 'node:fs';\nimport path from 'node:path';\n\n/**\n * Read hook stdin, POST event to daemon, buffer on failure.\n *\n * @param hookName — used for error logging (e.g., 'subagent-start')\n * @param buildEvent — maps the normalized hook input to the event payload.\n * Receives a NormalizedHookInput with canonical field names.\n * Return the full event object (must include `type`).\n */\nexport async function sendEvent(\n hookName: string,\n buildEvent: (input: NormalizedHookInput) => Record<string, unknown>,\n): Promise<void> {\n const VAULT_DIR = resolveVaultDir();\n if (!fs.existsSync(path.join(VAULT_DIR, 'myco.yaml'))) return;\n\n try {\n const rawInput = JSON.parse(await readStdin()) as Record<string, unknown>;\n const input = normalizeHookInput(rawInput);\n\n const event = buildEvent(input);\n\n const client = new DaemonClient(VAULT_DIR);\n const result = await client.post('/events', { ...event, session_id: input.sessionId, agent: input.agent });\n\n if (!result.ok) {\n const buffer = new EventBuffer(path.join(VAULT_DIR, 'buffer'), input.sessionId);\n // Strip session_id from buffer entry — it's in the filename\n const { session_id: _, ...bufferPayload } = event;\n buffer.append(bufferPayload);\n }\n } catch (error) {\n process.stderr.write(`[myco] ${hookName} error: ${(error as Error).message}\\n`);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAaA,OAAO,QAAQ;AACf,OAAO,UAAU;AAUjB,eAAsB,UACpB,UACA,YACe;AACf,QAAM,YAAY,gBAAgB;AAClC,MAAI,CAAC,GAAG,WAAW,KAAK,KAAK,WAAW,WAAW,CAAC,EAAG;AAEvD,MAAI;AACF,UAAM,WAAW,KAAK,MAAM,MAAM,UAAU,CAAC;AAC7C,UAAM,QAAQ,mBAAmB,QAAQ;AAEzC,UAAM,QAAQ,WAAW,KAAK;AAE9B,UAAM,SAAS,IAAI,aAAa,SAAS;AACzC,UAAM,SAAS,MAAM,OAAO,KAAK,WAAW,EAAE,GAAG,OAAO,YAAY,MAAM,WAAW,OAAO,MAAM,MAAM,CAAC;AAEzG,QAAI,CAAC,OAAO,IAAI;AACd,YAAM,SAAS,IAAI,YAAY,KAAK,KAAK,WAAW,QAAQ,GAAG,MAAM,SAAS;AAE9E,YAAM,EAAE,YAAY,GAAG,GAAG,cAAc,IAAI;AAC5C,aAAO,OAAO,aAAa;AAAA,IAC7B;AAAA,EACF,SAAS,OAAO;AACd,YAAQ,OAAO,MAAM,UAAU,QAAQ,WAAY,MAAgB,OAAO;AAAA,CAAI;AAAA,EAChF;AACF;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
CloudEmbeddingBase
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QL2RBFIC.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/providers/openrouter.ts
|
|
7
7
|
var OPENROUTER_API_KEY_ENV = "MYCO_OPENROUTER_API_KEY";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
OPENROUTER_API_KEY_ENV,
|
|
24
24
|
OpenRouterEmbeddingProvider
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-J3L2RTYK.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
OpenRouterEmbeddingProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J3L2RTYK.js";
|
|
5
5
|
import {
|
|
6
6
|
OpenAIEmbeddingProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SW62AX75.js";
|
|
8
8
|
import {
|
|
9
9
|
LmStudioBackend,
|
|
10
10
|
OllamaBackend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LUQBT2Y4.js";
|
|
12
12
|
import {
|
|
13
13
|
LLM_REQUEST_TIMEOUT_MS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PIRWYDOH.js";
|
|
15
15
|
|
|
16
16
|
// node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
17
17
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
@@ -4929,4 +4929,4 @@ export {
|
|
|
4929
4929
|
createLlmProvider,
|
|
4930
4930
|
createEmbeddingProvider
|
|
4931
4931
|
};
|
|
4932
|
-
//# sourceMappingURL=chunk-
|
|
4932
|
+
//# sourceMappingURL=chunk-JHLALJPB.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
syncRow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4VSNNMEU.js";
|
|
5
5
|
import {
|
|
6
6
|
getDatabase
|
|
7
7
|
} from "./chunk-MYX5NCRH.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_MACHINE_ID
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PIRWYDOH.js";
|
|
11
11
|
|
|
12
12
|
// src/db/queries/sessions.ts
|
|
13
13
|
var DEFAULT_LIST_LIMIT = 100;
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
getSessionImpact,
|
|
292
292
|
deleteSessionCascade
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-JROOQQH6.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
syncRow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4VSNNMEU.js";
|
|
5
5
|
import {
|
|
6
6
|
getDatabase
|
|
7
7
|
} from "./chunk-MYX5NCRH.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_MACHINE_ID
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PIRWYDOH.js";
|
|
11
11
|
|
|
12
12
|
// src/db/queries/resolution-events.ts
|
|
13
13
|
var DEFAULT_LIST_LIMIT = 100;
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
insertResolutionEvent,
|
|
91
91
|
listResolutionEvents
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-LGPBVBFY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DAEMON_CLIENT_TIMEOUT_MS,
|
|
4
4
|
EMBEDDING_REQUEST_TIMEOUT_MS,
|
|
5
5
|
LLM_REQUEST_TIMEOUT_MS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PIRWYDOH.js";
|
|
7
7
|
|
|
8
8
|
// src/intelligence/ollama.ts
|
|
9
9
|
var ENDPOINT_GENERATE = "/api/generate";
|
|
@@ -325,4 +325,4 @@ export {
|
|
|
325
325
|
OllamaBackend,
|
|
326
326
|
LmStudioBackend
|
|
327
327
|
};
|
|
328
|
-
//# sourceMappingURL=chunk-
|
|
328
|
+
//# sourceMappingURL=chunk-LUQBT2Y4.js.map
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
|
|
3
|
+
// src/constants/update.ts
|
|
4
|
+
import path from "path";
|
|
5
|
+
import os from "os";
|
|
6
|
+
var NPM_REGISTRY_URL = "https://registry.npmjs.org/@goondocks/myco";
|
|
7
|
+
var MYCO_GLOBAL_DIR = path.join(os.homedir(), ".myco");
|
|
8
|
+
var UPDATE_CHECK_CACHE_PATH = path.join(MYCO_GLOBAL_DIR, "last-update-check.json");
|
|
9
|
+
var UPDATE_CONFIG_PATH = path.join(MYCO_GLOBAL_DIR, "update.yaml");
|
|
10
|
+
var UPDATE_ERROR_PATH = path.join(MYCO_GLOBAL_DIR, "update-error.json");
|
|
11
|
+
var UPDATE_CHECK_INTERVAL_HOURS = 6;
|
|
12
|
+
var MS_PER_HOUR = 36e5;
|
|
13
|
+
var NPM_PACKAGE_NAME = "@goondocks/myco";
|
|
14
|
+
var UPDATE_SCRIPT_DELAY_SECONDS = 2;
|
|
15
|
+
var RELEASE_CHANNELS = ["stable", "beta"];
|
|
16
|
+
var DEFAULT_RELEASE_CHANNEL = "stable";
|
|
17
|
+
|
|
3
18
|
// src/constants.ts
|
|
4
19
|
var PHASE_SUMMARY_MAX_CHARS = 4e3;
|
|
5
20
|
var CHARS_PER_TOKEN = 4;
|
|
@@ -75,8 +90,20 @@ var TEAM_SEARCH_TIMEOUT_MS = 3e3;
|
|
|
75
90
|
var TEAM_HEALTH_TIMEOUT_MS = 5e3;
|
|
76
91
|
var TEAM_API_KEY_SECRET = "MYCO_TEAM_API_KEY";
|
|
77
92
|
var WRANGLER_COMMAND_TIMEOUT_MS = 6e4;
|
|
93
|
+
var RESTART_RESPONSE_FLUSH_MS = 500;
|
|
78
94
|
|
|
79
95
|
export {
|
|
96
|
+
NPM_REGISTRY_URL,
|
|
97
|
+
MYCO_GLOBAL_DIR,
|
|
98
|
+
UPDATE_CHECK_CACHE_PATH,
|
|
99
|
+
UPDATE_CONFIG_PATH,
|
|
100
|
+
UPDATE_ERROR_PATH,
|
|
101
|
+
UPDATE_CHECK_INTERVAL_HOURS,
|
|
102
|
+
MS_PER_HOUR,
|
|
103
|
+
NPM_PACKAGE_NAME,
|
|
104
|
+
UPDATE_SCRIPT_DELAY_SECONDS,
|
|
105
|
+
RELEASE_CHANNELS,
|
|
106
|
+
DEFAULT_RELEASE_CHANNEL,
|
|
80
107
|
PHASE_SUMMARY_MAX_CHARS,
|
|
81
108
|
estimateTokens,
|
|
82
109
|
MS_PER_SECOND,
|
|
@@ -145,6 +172,7 @@ export {
|
|
|
145
172
|
TEAM_SEARCH_TIMEOUT_MS,
|
|
146
173
|
TEAM_HEALTH_TIMEOUT_MS,
|
|
147
174
|
TEAM_API_KEY_SECRET,
|
|
148
|
-
WRANGLER_COMMAND_TIMEOUT_MS
|
|
175
|
+
WRANGLER_COMMAND_TIMEOUT_MS,
|
|
176
|
+
RESTART_RESPONSE_FLUSH_MS
|
|
149
177
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-PIRWYDOH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants/update.ts","../src/constants.ts"],"sourcesContent":["import path from 'node:path';\nimport os from 'node:os';\n\n/** npm registry URL for the Myco package. */\nexport const NPM_REGISTRY_URL = 'https://registry.npmjs.org/@goondocks/myco';\n\n/** Global Myco directory for machine-wide state. */\nexport const MYCO_GLOBAL_DIR = path.join(os.homedir(), '.myco');\n\n/** Path to the cached update check result. */\nexport const UPDATE_CHECK_CACHE_PATH = path.join(MYCO_GLOBAL_DIR, 'last-update-check.json');\n\n/** Path to the update configuration file (channel, interval). */\nexport const UPDATE_CONFIG_PATH = path.join(MYCO_GLOBAL_DIR, 'update.yaml');\n\n/** Path to the update error file (written by update script on failure). */\nexport const UPDATE_ERROR_PATH = path.join(MYCO_GLOBAL_DIR, 'update-error.json');\n\n/** Default check interval in hours. */\nexport const UPDATE_CHECK_INTERVAL_HOURS = 6;\n\n/** Milliseconds per hour. */\nexport const MS_PER_HOUR = 3_600_000;\n\n/** npm package name. */\nexport const NPM_PACKAGE_NAME = '@goondocks/myco';\n\n/** Delay in seconds before update script starts (allows daemon to exit). */\nexport const UPDATE_SCRIPT_DELAY_SECONDS = 2;\n\n/** Valid release channels. */\nexport const RELEASE_CHANNELS = ['stable', 'beta'] as const;\nexport type ReleaseChannel = (typeof RELEASE_CHANNELS)[number];\n\n/** Default release channel. */\nexport const DEFAULT_RELEASE_CHANNEL: ReleaseChannel = 'stable';\n","/**\n * Shared constants for the Myco codebase.\n * Per CLAUDE.md: \"No Magic Literals — Numeric and string constants\n * MUST NOT appear inline in logic.\"\n */\n\nexport { LOG_KINDS, type LogKind, kindToComponent } from './constants/log-kinds.js';\n\n// --- Agent phase prompt composition ---\n/**\n * Maximum chars per phase summary passed to subsequent phases.\n * Set to 4000 to ensure the digest-assess phase findings pass\n * untruncated to parallel tier phases.\n */\nexport const PHASE_SUMMARY_MAX_CHARS = 4000;\n\n// --- Token estimation ---\n/** Approximate characters per token for the chars/4 heuristic. */\nexport const CHARS_PER_TOKEN = 4;\n\n/** Estimate token count from character length using the CHARS_PER_TOKEN heuristic. */\nexport function estimateTokens(text: string): number {\n return Math.ceil(text.length / CHARS_PER_TOKEN);\n}\n\n// --- Time (primitives — must precede derived constants) ---\n/** Milliseconds per second. */\nexport const MS_PER_SECOND = 1000;\n\n// --- Embedding ---\n/** Max characters of text sent to the embedding model. */\nexport const EMBEDDING_INPUT_LIMIT = 8000;\n\n/** Max rows per embedding worker cycle. */\nexport const EMBEDDING_BATCH_SIZE = 10;\n\n/** Content hash algorithm for staleness detection. */\nexport const CONTENT_HASH_ALGORITHM = 'sha256';\n\n// --- Truncation limits (display/preview) ---\n/** Max chars for a user prompt preview in event summaries. */\nexport const PROMPT_PREVIEW_CHARS = 300;\n/** Max chars for an AI response preview in event summaries. */\nexport const AI_RESPONSE_PREVIEW_CHARS = 500;\n/** Max chars for a command string preview. */\nexport const COMMAND_PREVIEW_CHARS = 80;\n/** Max chars for a content snippet in search results. */\nexport const CONTENT_SNIPPET_CHARS = 120;\n/** Max chars for a tool output preview in hooks. */\nexport const TOOL_OUTPUT_PREVIEW_CHARS = 200;\n/** Max chars for a session summary preview in MCP tools. */\nexport const SESSION_SUMMARY_PREVIEW_CHARS = 300;\n/** Max chars for a recall summary preview. */\nexport const RECALL_SUMMARY_PREVIEW_CHARS = 200;\n/** Max chars for search result and hydrated context previews. */\nexport const SEARCH_PREVIEW_CHARS = 300;\n\n// --- Log preview limits (short previews for structured log fields) ---\n/** Max chars for a user prompt preview in log entries. */\nexport const LOG_PROMPT_PREVIEW_CHARS = 50;\n/** Max chars for an assistant message preview in log entries. */\nexport const LOG_MESSAGE_PREVIEW_CHARS = 80;\n/** Max chars for injected context preview in log entries. */\nexport const LOG_CONTEXT_PREVIEW_CHARS = 200;\n\n// --- Context injection layer budgets (chars, not tokens — used with .slice()) ---\nexport const CONTEXT_SESSION_PREVIEW_CHARS = 80;\nexport const CONTEXT_SPORE_PREVIEW_CHARS = 80;\n\n// --- Processor maxTokens budgets ---\n/** Response token budget for observation extraction. */\nexport const EXTRACTION_MAX_TOKENS = 2048;\n/** Response token budget for session summary. */\nexport const SUMMARY_MAX_TOKENS = 512;\n/** Response token budget for session title generation. */\nexport const TITLE_MAX_TOKENS = 32;\n\n// --- Timeouts ---\n/** Daemon client HTTP request timeout (ms). */\nexport const DAEMON_CLIENT_TIMEOUT_MS = 2000;\n/** Health check timeout (ms) — fail fast if daemon isn't responding. */\nexport const DAEMON_HEALTH_CHECK_TIMEOUT_MS = 500;\n/** LLM request timeout (ms). All LLM calls are background daemon work — no need to be aggressive. */\nexport const LLM_REQUEST_TIMEOUT_MS = 180_000;\n/** Embedding request timeout (ms). Embeddings run in background batch processing — generous timeout. */\nexport const EMBEDDING_REQUEST_TIMEOUT_MS = 60_000;\n/** Digest LLM request timeout (ms). Digest cycles use large context windows and may need model loading time. */\nexport const DIGEST_LLM_REQUEST_TIMEOUT_MS = 600_000;\n/** Stdin read timeout for hooks (ms). */\nexport const STDIN_TIMEOUT_MS = 100;\n/** Provider detection timeout for detect-providers CLI command (ms). */\nexport const PROVIDER_DETECT_TIMEOUT_MS = 3000;\n\n// --- Time ---\n/** Milliseconds in one day. */\nexport const MS_PER_DAY = 24 * 60 * 60 * 1000;\n\n/** Current Unix epoch in seconds. */\nexport function epochSeconds(): number {\n return Math.floor(Date.now() / MS_PER_SECOND);\n}\n\n// --- Buffer cleanup ---\n/** Max age for stale buffer files before cleanup (ms). */\nexport const STALE_BUFFER_MAX_AGE_MS = 1 * MS_PER_DAY;\n\n// --- Retry backoff ---\n/** Retry delays for daemon health check (ms). */\nexport const DAEMON_HEALTH_RETRY_DELAYS = [100, 200, 400, 800, 1500];\n\n/** Grace period after daemon.json is written before stale checks can trigger a restart (ms).\n * Prevents rapid restart loops from concurrent hooks or session reloads. */\nexport const DAEMON_STALE_GRACE_PERIOD_MS = 60_000;\n\n/** Grace period for SIGTERM before escalating to SIGKILL (ms).\n * Gives the old daemon a chance to shut down cleanly, but force-kills\n * to guarantee the configured port is reclaimed. */\nexport const DAEMON_EVICT_TIMEOUT_MS = 3000;\n/** Poll interval when waiting for an evicted daemon to die (ms). */\nexport const DAEMON_EVICT_POLL_MS = 100;\n\n// --- Slug limits ---\n/** Max length for slugified artifact IDs. */\n\n// --- Turn rendering ---\n/** Max file paths displayed per turn in session notes. */\nexport const TURN_MAX_FILES_DISPLAYED = 10;\n\n// --- Transcript mining ---\n/** Minimum content length to consider a transcript entry meaningful. */\nexport const MIN_TRANSCRIPT_CONTENT_LENGTH = 10;\n\n// --- Graph edge types (lineage — auto-created by daemon) ---\n/** Spore was extracted during this session. */\nexport const EDGE_TYPE_FROM_SESSION = 'FROM_SESSION';\n/** Spore was extracted from this prompt batch. */\nexport const EDGE_TYPE_EXTRACTED_FROM = 'EXTRACTED_FROM';\n/** Wisdom spore was derived from (consolidated) this source spore. */\nexport const EDGE_TYPE_DERIVED_FROM = 'DERIVED_FROM';\n/** Session contains this prompt batch. */\nexport const EDGE_TYPE_HAS_BATCH = 'HAS_BATCH';\n// --- Query defaults ---\n/** Default row limit for query module list operations. */\nexport const QUERY_DEFAULT_LIST_LIMIT = 100;\n/** Default confidence score for graph edges. */\nexport const GRAPH_EDGE_DEFAULT_CONFIDENCE = 1.0;\n\n// --- Query limits ---\n/** Max recent sessions to check for lineage heuristics. */\nexport const LINEAGE_RECENT_SESSIONS_LIMIT = 5;\n/** Max related spores to query for session notes. */\nexport const RELATED_SPORES_LIMIT = 50;\n\n// --- Context injection ---\n/** Max spores to inject per prompt. */\nexport const PROMPT_CONTEXT_MAX_SPORES = 3;\n/** Minimum similarity score for prompt context injection (0-1). */\nexport const PROMPT_CONTEXT_MIN_SIMILARITY = 0.3;\n/** Max token budget for session-start context injection. */\nexport const SESSION_CONTEXT_MAX_TOKENS = 500;\n/** Max token budget for per-prompt context injection. */\nexport const PROMPT_CONTEXT_MAX_TOKENS = 300;\n/** Minimum prompt length to trigger context search. */\nexport const PROMPT_CONTEXT_MIN_LENGTH = 10;\n\n/** Over-fetch multiplier for vector search to compensate for post-filtering. */\nexport const PROMPT_VECTOR_OVER_FETCH = 2;\n\n// --- Spore status filtering ---\n/** Spore statuses excluded from search results and context injection. */\nexport const EXCLUDED_SPORE_STATUSES = new Set(['superseded', 'archived']);\n\n// --- Agent identity ---\n/** Default agent ID for the built-in intelligence agent. */\nexport const DEFAULT_AGENT_ID = 'myco-agent';\n/** Agent ID for user-initiated MCP operations. */\nexport const USER_AGENT_ID = 'user';\n/** Agent name for user-initiated MCP operations. */\nexport const USER_AGENT_NAME = 'User (MCP)';\n\n// --- MCP tool defaults ---\n/** Default result limit for myco_search. */\nexport const MCP_SEARCH_DEFAULT_LIMIT = 10;\n/** Default result limit for myco_sessions. */\nexport const MCP_SESSIONS_DEFAULT_LIMIT = 20;\n/** Default result limit for myco_logs. */\nexport const MCP_LOGS_DEFAULT_LIMIT = 50;\n\n// --- Feed ---\n/** Default number of entries returned by the activity feed. */\nexport const FEED_DEFAULT_LIMIT = 50;\n\n// --- Digest — Tiers ---\n/** Available token-budget tiers for digest synthesis. */\nexport const DIGEST_TIERS = [1500, 5000, 10000] as const;\nexport type DigestTier = (typeof DIGEST_TIERS)[number];\n\n// --- Digest — Context window minimums per tier ---\n/** Minimum context window (tokens) required to run a digest at a given tier. */\nexport const DIGEST_TIER_MIN_CONTEXT: Record<number, number> = {\n 1500: 6500,\n 5000: 18500,\n 10000: 30500,\n};\n\n// --- Digest — Substrate ---\n/** Default minimum substrate notes required before a digest cycle runs. */\nexport const DIGEST_MIN_NOTES_FOR_CYCLE = 10;\n\n/** Scoring weights by note type when selecting substrate for synthesis. */\nexport const DIGEST_SUBSTRATE_TYPE_WEIGHTS: Record<string, number> = {\n session: 3,\n spore: 3,\n plan: 2,\n artifact: 1,\n team: 1,\n};\n\n// --- LLM reasoning control ---\n/** Reasoning mode for all Myco LLM calls. Suppresses chain-of-thought tokens from reasoning models. */\nexport const LLM_REASONING_MODE = 'off' as const;\n\n// --- Digest — System prompt overhead estimate ---\n\n// --- Vault intelligence ---\n/** Max candidate spores after post-filtering for supersession check. */\nexport const SUPERSESSION_CANDIDATE_LIMIT = 5;\n\n/** Over-fetch from vector index before post-filtering by status/type. */\nexport const SUPERSESSION_VECTOR_FETCH_LIMIT = 20;\n\n/** Max output tokens for supersession LLM evaluation. */\nexport const SUPERSESSION_MAX_TOKENS = 256;\n\n/** Similarity threshold for clustering related spores in batch agent processing. */\nexport const AGENT_CLUSTER_SIMILARITY = 0.75;\n\n// --- Search ---\n/** Default number of results returned by vector search and fullTextSearch. */\nexport const SEARCH_RESULTS_DEFAULT_LIMIT = 20;\n/** Minimum cosine similarity score for semantic search results (0-1). */\nexport const SEARCH_SIMILARITY_THRESHOLD = 0.3;\n\n// --- Pipeline processing ---\n/** Default page size for pipeline items API listing. */\nexport const PIPELINE_ITEMS_DEFAULT_LIMIT = 50;\n\n// --- Pipeline retry ---\n/** Max retries for parse (structural) pipeline failures — fail fast. */\nexport const PIPELINE_PARSE_MAX_RETRIES = 1;\n/** Exponential backoff multiplier for successive pipeline retries. */\nexport const PIPELINE_BACKOFF_MULTIPLIER = 4;\n\n// --- Pipeline stages (ordered) ---\nexport const PIPELINE_STAGES = ['capture', 'extraction', 'embedding', 'consolidation', 'digest'] as const;\nexport type PipelineStage = typeof PIPELINE_STAGES[number];\n\n// --- Pipeline statuses ---\nexport const PIPELINE_STATUSES = ['pending', 'processing', 'succeeded', 'failed', 'blocked', 'skipped', 'poisoned'] as const;\nexport type PipelineStatus = typeof PIPELINE_STATUSES[number];\n\n// --- Provider roles for circuit breakers ---\nexport const PIPELINE_PROVIDER_ROLES = ['llm', 'embedding', 'digest-llm'] as const;\nexport type PipelineProviderRole = typeof PIPELINE_PROVIDER_ROLES[number];\n\n// --- Stage to provider role mapping ---\nexport const STAGE_PROVIDER_MAP: Record<PipelineStage, PipelineProviderRole | null> = {\n capture: null,\n extraction: 'llm',\n embedding: 'embedding',\n consolidation: 'digest-llm',\n digest: 'digest-llm',\n};\n\n/**\n * Stages processed by the pipeline tick timer.\n * Capture is handled at registration time, digest is gated by the metabolism timer.\n */\nexport const PIPELINE_TICK_STAGES: PipelineStage[] = ['extraction', 'embedding', 'consolidation'];\n\n// --- Item type to applicable stages ---\n// Sessions skip consolidation — consolidation applies to the spores\n// extracted FROM sessions, not the session work item itself.\n// Lineage detection stays outside the pipeline (fire-and-forget, non-critical).\nexport const ITEM_STAGE_MAP: Record<string, PipelineStage[]> = {\n session: ['capture', 'extraction', 'embedding', 'digest'],\n spore: ['capture', 'embedding', 'consolidation', 'digest'],\n artifact: ['capture', 'embedding', 'digest'],\n};\n\n// --- User task registry ---\n/** Subdirectory within the vault for user-created task YAML files. */\nexport const USER_TASKS_DIR = 'tasks';\n\n/** Source label for user-created tasks. */\nexport const USER_TASK_SOURCE = 'user';\n\n/** Source label for built-in tasks shipped with the package. */\nexport const BUILT_IN_SOURCE = 'built-in';\n\n/** Task name validation pattern (lowercase, hyphens, digits). */\nexport const TASK_NAME_PATTERN = /^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/;\n\n/** Maximum length for task names. */\nexport const MAX_TASK_NAME_LENGTH = 50;\n\n// --- Automatic consolidation ---\n/** Minimum cluster size required before asking LLM to consolidate. */\nexport const CONSOLIDATION_MIN_CLUSTER_SIZE = 3;\n\n/** Over-fetch from vector index before post-filtering by status/type. */\nexport const CONSOLIDATION_VECTOR_FETCH_LIMIT = 20;\n\n/** Max output tokens for consolidation LLM synthesis.\n * Must be large enough for the full JSON response including content field. */\nexport const CONSOLIDATION_MAX_TOKENS = 2048;\n\n// --- Power management ---\n/** Time without activity before transitioning to idle (ms). */\nexport const POWER_IDLE_THRESHOLD_MS = 5 * 60 * MS_PER_SECOND;\n/** Time without activity before transitioning to sleep (ms). */\nexport const POWER_SLEEP_THRESHOLD_MS = 30 * 60 * MS_PER_SECOND;\n/** Time without activity before transitioning to deep sleep (ms). */\nexport const POWER_DEEP_SLEEP_THRESHOLD_MS = 90 * 60 * MS_PER_SECOND;\n/** Job cycle interval during active/idle states (ms). */\nexport const POWER_ACTIVE_INTERVAL_MS = 60 * MS_PER_SECOND;\n/** Job cycle interval during sleep state (ms). */\nexport const POWER_SLEEP_INTERVAL_MS = 5 * 60 * MS_PER_SECOND;\n\n// --- Session maintenance ---\n/** Time without new prompts before an active session is auto-completed (ms). */\nexport const STALE_SESSION_THRESHOLD_MS = 60 * 60 * MS_PER_SECOND;\n/** Max prompt count for a session to be considered dead and auto-deleted. */\nexport const DEAD_SESSION_MAX_PROMPTS = 1;\n\n// --- Init wizard ---\n/** Minimum Node.js major version required by Myco. */\nexport const MIN_NODE_MAJOR_VERSION = 22;\n\n/** Recommended context window for local intelligence models. */\nexport const RECOMMENDED_LOCAL_CONTEXT_WINDOW = 8192;\n\n/** Default Ollama embedding model recommended during init. */\nexport const DEFAULT_OLLAMA_EMBEDDING_MODEL = 'bge-m3';\n\n/** Default OpenAI embedding model recommended during init. */\nexport const DEFAULT_OPENAI_EMBEDDING_MODEL = 'text-embedding-3-small';\n\n// --- Sync protocol ---\n/** Protocol version for backup and team sync wire format. */\nexport const SYNC_PROTOCOL_VERSION = 1;\n\n// --- Team sync ---\n/** Default machine ID for rows created before multi-machine support. */\nexport const DEFAULT_MACHINE_ID = 'local';\n/** Prefix for team search result source attribution. */\nexport const TEAM_SOURCE_PREFIX = 'team:';\n/** Timeout for team search requests (ms). */\nexport const TEAM_SEARCH_TIMEOUT_MS = 3000;\n/** Timeout for team health check requests (ms). */\nexport const TEAM_HEALTH_TIMEOUT_MS = 5000;\n/** Secrets key for the team API key in secrets.env. */\nexport const TEAM_API_KEY_SECRET = 'MYCO_TEAM_API_KEY';\n/** Timeout for wrangler CLI commands (ms). */\nexport const WRANGLER_COMMAND_TIMEOUT_MS = 60_000;\n\n// --- HTTP response flush ---\n/** Delay before initiating shutdown — allows the HTTP response to flush. */\nexport const RESTART_RESPONSE_FLUSH_MS = 500;\n\n// --- Self-update ---\nexport {\n NPM_REGISTRY_URL,\n MYCO_GLOBAL_DIR,\n UPDATE_CHECK_CACHE_PATH,\n UPDATE_CONFIG_PATH,\n UPDATE_ERROR_PATH,\n UPDATE_CHECK_INTERVAL_HOURS,\n MS_PER_HOUR,\n NPM_PACKAGE_NAME,\n UPDATE_SCRIPT_DELAY_SECONDS,\n RELEASE_CHANNELS,\n DEFAULT_RELEASE_CHANNEL,\n type ReleaseChannel,\n} from './constants/update.js';\n"],"mappings":";;;AAAA,OAAO,UAAU;AACjB,OAAO,QAAQ;AAGR,IAAM,mBAAmB;AAGzB,IAAM,kBAAkB,KAAK,KAAK,GAAG,QAAQ,GAAG,OAAO;AAGvD,IAAM,0BAA0B,KAAK,KAAK,iBAAiB,wBAAwB;AAGnF,IAAM,qBAAqB,KAAK,KAAK,iBAAiB,aAAa;AAGnE,IAAM,oBAAoB,KAAK,KAAK,iBAAiB,mBAAmB;AAGxE,IAAM,8BAA8B;AAGpC,IAAM,cAAc;AAGpB,IAAM,mBAAmB;AAGzB,IAAM,8BAA8B;AAGpC,IAAM,mBAAmB,CAAC,UAAU,MAAM;AAI1C,IAAM,0BAA0C;;;ACrBhD,IAAM,0BAA0B;AAIhC,IAAM,kBAAkB;AAGxB,SAAS,eAAe,MAAsB;AACnD,SAAO,KAAK,KAAK,KAAK,SAAS,eAAe;AAChD;AAIO,IAAM,gBAAgB;AAOtB,IAAM,uBAAuB;AAG7B,IAAM,yBAAyB;AAI/B,IAAM,uBAAuB;AAM7B,IAAM,wBAAwB;AAE9B,IAAM,4BAA4B;AAMlC,IAAM,uBAAuB;AAI7B,IAAM,2BAA2B;AAEjC,IAAM,4BAA4B;AAElC,IAAM,4BAA4B;AAGlC,IAAM,gCAAgC;AACtC,IAAM,8BAA8B;AAYpC,IAAM,2BAA2B;AAEjC,IAAM,iCAAiC;AAEvC,IAAM,yBAAyB;AAE/B,IAAM,+BAA+B;AAIrC,IAAM,mBAAmB;AAEzB,IAAM,6BAA6B;AAInC,IAAM,aAAa,KAAK,KAAK,KAAK;AAGlC,SAAS,eAAuB;AACrC,SAAO,KAAK,MAAM,KAAK,IAAI,IAAI,aAAa;AAC9C;AAIO,IAAM,0BAA0B,IAAI;AAIpC,IAAM,6BAA6B,CAAC,KAAK,KAAK,KAAK,KAAK,IAAI;AAI5D,IAAM,+BAA+B;AAKrC,IAAM,0BAA0B;AAEhC,IAAM,uBAAuB;AAe7B,IAAM,yBAAyB;AAE/B,IAAM,2BAA2B;AAEjC,IAAM,yBAAyB;AAE/B,IAAM,sBAAsB;AAG5B,IAAM,2BAA2B;AAEjC,IAAM,gCAAgC;AAYtC,IAAM,gCAAgC;AAItC,IAAM,4BAA4B;AAElC,IAAM,4BAA4B;AAGlC,IAAM,2BAA2B;AAIjC,IAAM,0BAA0B,oBAAI,IAAI,CAAC,cAAc,UAAU,CAAC;AAIlE,IAAM,mBAAmB;AAEzB,IAAM,gBAAgB;AAEtB,IAAM,kBAAkB;AAIxB,IAAM,2BAA2B;AAEjC,IAAM,6BAA6B;AAMnC,IAAM,qBAAqB;AAI3B,IAAM,eAAe,CAAC,MAAM,KAAM,GAAK;AA6CvC,IAAM,+BAA+B;AAErC,IAAM,8BAA8B;AAmDpC,IAAM,iBAAiB;AAGvB,IAAM,mBAAmB;AAGzB,IAAM,kBAAkB;AAGxB,IAAM,oBAAoB;AAG1B,IAAM,uBAAuB;AAe7B,IAAM,0BAA0B,IAAI,KAAK;AAEzC,IAAM,2BAA2B,KAAK,KAAK;AAE3C,IAAM,gCAAgC,KAAK,KAAK;AAEhD,IAAM,2BAA2B,KAAK;AAEtC,IAAM,0BAA0B,IAAI,KAAK;AAIzC,IAAM,6BAA6B,KAAK,KAAK;AAE7C,IAAM,2BAA2B;AAOjC,IAAM,mCAAmC;AAGzC,IAAM,iCAAiC;AAGvC,IAAM,iCAAiC;AAIvC,IAAM,wBAAwB;AAI9B,IAAM,qBAAqB;AAE3B,IAAM,qBAAqB;AAE3B,IAAM,yBAAyB;AAE/B,IAAM,yBAAyB;AAE/B,IAAM,sBAAsB;AAE5B,IAAM,8BAA8B;AAIpC,IAAM,4BAA4B;","names":[]}
|
|
@@ -2,7 +2,7 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
|
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_MACHINE_ID,
|
|
4
4
|
epochSeconds
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PIRWYDOH.js";
|
|
6
6
|
|
|
7
7
|
// src/db/schema.ts
|
|
8
8
|
var SCHEMA_VERSION = 4;
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
EMBEDDING_DIMENSIONS,
|
|
599
599
|
createSchema
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-PW5QVY44.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
syncRow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4VSNNMEU.js";
|
|
5
5
|
import {
|
|
6
6
|
getDatabase
|
|
7
7
|
} from "./chunk-MYX5NCRH.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_MACHINE_ID
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PIRWYDOH.js";
|
|
11
11
|
|
|
12
12
|
// src/db/queries/spores.ts
|
|
13
13
|
var DEFAULT_LIST_LIMIT = 100;
|
|
@@ -177,4 +177,4 @@ export {
|
|
|
177
177
|
countSpores,
|
|
178
178
|
updateSporeStatus
|
|
179
179
|
};
|
|
180
|
-
//# sourceMappingURL=chunk-
|
|
180
|
+
//# sourceMappingURL=chunk-Q2AYS2QE.js.map
|