@goondocks/myco 0.21.0 → 0.21.1
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/bin/myco-run +68 -7
- package/dist/{agent-eval-RJSQI5S2.js → agent-eval-YK2VP2S4.js} +7 -6
- package/dist/{agent-eval-RJSQI5S2.js.map → agent-eval-YK2VP2S4.js.map} +1 -1
- package/dist/{agent-run-2JSYFOKU.js → agent-run-GEJBD2YD.js} +5 -5
- package/dist/{agent-tasks-APFJIM2T.js → agent-tasks-5XSRGTRX.js} +5 -5
- package/dist/{chunk-R2JIJBCL.js → chunk-6ALVMIB4.js} +3 -3
- package/dist/{chunk-JZS6GZ6T.js → chunk-AUIXX33A.js} +10 -3
- package/dist/chunk-AUIXX33A.js.map +1 -0
- package/dist/{chunk-RL5R4CQU.js → chunk-DTWUHHFI.js} +39 -2
- package/dist/{chunk-RL5R4CQU.js.map → chunk-DTWUHHFI.js.map} +1 -1
- package/dist/{chunk-CESKJD44.js → chunk-EEOJWLMP.js} +5 -9
- package/dist/chunk-EEOJWLMP.js.map +1 -0
- package/dist/{chunk-BUTL6IFS.js → chunk-ENZR5NG7.js} +2 -2
- package/dist/{chunk-P66DLD6G.js → chunk-KTTSXYEK.js} +2 -2
- package/dist/chunk-LQIPXVDH.js +17 -0
- package/dist/chunk-LQIPXVDH.js.map +1 -0
- package/dist/{chunk-5ZG4RMUH.js → chunk-N2DGFACQ.js} +2 -2
- package/dist/{chunk-F3OEQYLS.js → chunk-N7Z3LUEZ.js} +33 -22
- package/dist/{chunk-F3OEQYLS.js.map → chunk-N7Z3LUEZ.js.map} +1 -1
- package/dist/{chunk-G6QIBNZM.js → chunk-NFO7BRCO.js} +4 -4
- package/dist/{chunk-VHNRMM4O.js → chunk-OTQH5KZW.js} +87 -37
- package/dist/chunk-OTQH5KZW.js.map +1 -0
- package/dist/{chunk-DJ3IHNYO.js → chunk-OZ3FBAK5.js} +2 -2
- package/dist/{chunk-6LB7XELY.js → chunk-QATYARI5.js} +15 -13
- package/dist/chunk-QATYARI5.js.map +1 -0
- package/dist/{chunk-JR54LTPP.js → chunk-QDLVIW2O.js} +3 -3
- package/dist/{chunk-LVIY7P35.js → chunk-QLLBJEM7.js} +5 -1
- package/dist/chunk-QLLBJEM7.js.map +1 -0
- package/dist/chunk-TSM6VESW.js +25 -0
- package/dist/chunk-TSM6VESW.js.map +1 -0
- package/dist/{chunk-ILJPRYES.js → chunk-USVFEWYL.js} +2 -2
- package/dist/{chunk-75Z7UKDY.js → chunk-VRI56337.js} +2 -2
- package/dist/{chunk-NGH7U6A3.js → chunk-X2IRGXGF.js} +336 -77
- package/dist/chunk-X2IRGXGF.js.map +1 -0
- package/dist/{chunk-NGROSFOH.js → chunk-Z66IT5KL.js} +14 -9
- package/dist/chunk-Z66IT5KL.js.map +1 -0
- package/dist/{cli-LNYSTDQM.js → cli-HSLIG7EX.js} +37 -37
- package/dist/{client-NWE4TCNO.js → client-Z43DNLJH.js} +3 -3
- package/dist/{detect-PXNM6TA7.js → detect-7NUD5B5R.js} +2 -2
- package/dist/{doctor-TI7EZ3RW.js → doctor-HJCWHAU4.js} +6 -6
- package/dist/{executor-F2YU7HXJ.js → executor-DO6QFC6G.js} +11 -10
- package/dist/{init-KG3TYVGE.js → init-4KVK7W2E.js} +9 -9
- package/dist/{installer-UMH7OJ5A.js → installer-N4UTEACX.js} +2 -2
- package/dist/{loader-NAVVZK63.js → loader-UDNUMEDA.js} +3 -2
- package/dist/{main-5PRQNEEE.js → main-4J4QZZTZ.js} +121 -62
- package/dist/main-4J4QZZTZ.js.map +1 -0
- package/dist/{open-5A27BCSB.js → open-7TXJQM3H.js} +5 -5
- package/dist/{post-compact-USAODKPQ.js → post-compact-7AEFVCZS.js} +7 -7
- package/dist/{post-tool-use-GMMSYBII.js → post-tool-use-TZINWWDH.js} +6 -6
- package/dist/{post-tool-use-failure-NZVSL2PO.js → post-tool-use-failure-TCFEU2GI.js} +7 -7
- package/dist/{pre-compact-LZ57DLUS.js → pre-compact-LO2VZCGR.js} +7 -7
- package/dist/{registry-M2Z5QBWH.js → registry-F3THYC5M.js} +4 -3
- package/dist/{remove-T3KE6C5N.js → remove-F77AAALE.js} +7 -7
- package/dist/{restart-YWDEVZUJ.js → restart-UEFDPMLT.js} +6 -6
- package/dist/{search-GKFDGELR.js → search-NHNVUAQQ.js} +6 -6
- package/dist/{server-AHUR6CWF.js → server-AZJSTQEK.js} +5 -5
- package/dist/{session-2ZEPLWW6.js → session-3HLC5KOD.js} +5 -5
- package/dist/{session-end-LWJYQAXX.js → session-end-FS46UARX.js} +6 -6
- package/dist/{session-start-WTA6GCOQ.js → session-start-46KPFV2H.js} +10 -10
- package/dist/{setup-llm-E7UU5IO7.js → setup-llm-JMWSNQ2C.js} +5 -5
- package/dist/src/agent/definitions/tasks/cortex-instructions.yaml +63 -41
- package/dist/src/agent/definitions/tasks/skill-evolve.yaml +177 -21
- package/dist/src/agent/definitions/tasks/skill-generate.yaml +20 -6
- package/dist/src/agent/definitions/tasks/vault-evolve.yaml +65 -55
- 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/opencode.yaml +7 -0
- package/dist/src/symbionts/templates/agents-starter.md +1 -1
- package/dist/{stats-DFG6S23S.js → stats-MKMETHMA.js} +6 -6
- package/dist/{stop-WRBTXEVT.js → stop-OUEX6KA4.js} +6 -6
- package/dist/{stop-failure-32MGIG2Q.js → stop-failure-2BWVNZEG.js} +7 -7
- package/dist/{subagent-start-VFGHQFVL.js → subagent-start-J4VV6DEE.js} +7 -7
- package/dist/{subagent-stop-663FXG3P.js → subagent-stop-JMLVEPIA.js} +7 -7
- package/dist/{task-completed-ZCQYEFMZ.js → task-completed-65CHMMKA.js} +7 -7
- package/dist/{team-JTI5CDUO.js → team-U2LDKIS4.js} +3 -3
- package/dist/ui/assets/{index-DGf1h-Ha.js → index-BUGor9dk.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/{update-3NBQTG32.js → update-ZSHVXWSQ.js} +7 -7
- package/dist/{user-prompt-submit-ME2TBKOS.js → user-prompt-submit-APMO6FVU.js} +6 -6
- package/dist/{version-GQAFBBPX.js → version-TXPPS3L5.js} +2 -2
- package/package.json +1 -1
- package/skills/myco-rules/SKILL.md +94 -0
- package/skills/{rules → myco-rules}/references/rules-bad-example.md +1 -1
- package/skills/{rules → myco-rules}/references/rules-good-example.md +1 -1
- package/dist/chunk-6LB7XELY.js.map +0 -1
- package/dist/chunk-CESKJD44.js.map +0 -1
- package/dist/chunk-CUDIZJY7.js +0 -36
- package/dist/chunk-CUDIZJY7.js.map +0 -1
- package/dist/chunk-JZS6GZ6T.js.map +0 -1
- package/dist/chunk-LVIY7P35.js.map +0 -1
- package/dist/chunk-NGH7U6A3.js.map +0 -1
- package/dist/chunk-NGROSFOH.js.map +0 -1
- package/dist/chunk-VHNRMM4O.js.map +0 -1
- package/dist/main-5PRQNEEE.js.map +0 -1
- package/skills/myco-curate/SKILL.md +0 -86
- package/skills/rules/SKILL.md +0 -214
- /package/dist/{agent-run-2JSYFOKU.js.map → agent-run-GEJBD2YD.js.map} +0 -0
- /package/dist/{agent-tasks-APFJIM2T.js.map → agent-tasks-5XSRGTRX.js.map} +0 -0
- /package/dist/{chunk-R2JIJBCL.js.map → chunk-6ALVMIB4.js.map} +0 -0
- /package/dist/{chunk-BUTL6IFS.js.map → chunk-ENZR5NG7.js.map} +0 -0
- /package/dist/{chunk-P66DLD6G.js.map → chunk-KTTSXYEK.js.map} +0 -0
- /package/dist/{chunk-5ZG4RMUH.js.map → chunk-N2DGFACQ.js.map} +0 -0
- /package/dist/{chunk-G6QIBNZM.js.map → chunk-NFO7BRCO.js.map} +0 -0
- /package/dist/{chunk-DJ3IHNYO.js.map → chunk-OZ3FBAK5.js.map} +0 -0
- /package/dist/{chunk-JR54LTPP.js.map → chunk-QDLVIW2O.js.map} +0 -0
- /package/dist/{chunk-ILJPRYES.js.map → chunk-USVFEWYL.js.map} +0 -0
- /package/dist/{chunk-75Z7UKDY.js.map → chunk-VRI56337.js.map} +0 -0
- /package/dist/{cli-LNYSTDQM.js.map → cli-HSLIG7EX.js.map} +0 -0
- /package/dist/{client-NWE4TCNO.js.map → client-Z43DNLJH.js.map} +0 -0
- /package/dist/{detect-PXNM6TA7.js.map → detect-7NUD5B5R.js.map} +0 -0
- /package/dist/{doctor-TI7EZ3RW.js.map → doctor-HJCWHAU4.js.map} +0 -0
- /package/dist/{executor-F2YU7HXJ.js.map → executor-DO6QFC6G.js.map} +0 -0
- /package/dist/{init-KG3TYVGE.js.map → init-4KVK7W2E.js.map} +0 -0
- /package/dist/{installer-UMH7OJ5A.js.map → installer-N4UTEACX.js.map} +0 -0
- /package/dist/{loader-NAVVZK63.js.map → loader-UDNUMEDA.js.map} +0 -0
- /package/dist/{open-5A27BCSB.js.map → open-7TXJQM3H.js.map} +0 -0
- /package/dist/{post-compact-USAODKPQ.js.map → post-compact-7AEFVCZS.js.map} +0 -0
- /package/dist/{post-tool-use-GMMSYBII.js.map → post-tool-use-TZINWWDH.js.map} +0 -0
- /package/dist/{post-tool-use-failure-NZVSL2PO.js.map → post-tool-use-failure-TCFEU2GI.js.map} +0 -0
- /package/dist/{pre-compact-LZ57DLUS.js.map → pre-compact-LO2VZCGR.js.map} +0 -0
- /package/dist/{registry-M2Z5QBWH.js.map → registry-F3THYC5M.js.map} +0 -0
- /package/dist/{remove-T3KE6C5N.js.map → remove-F77AAALE.js.map} +0 -0
- /package/dist/{restart-YWDEVZUJ.js.map → restart-UEFDPMLT.js.map} +0 -0
- /package/dist/{search-GKFDGELR.js.map → search-NHNVUAQQ.js.map} +0 -0
- /package/dist/{server-AHUR6CWF.js.map → server-AZJSTQEK.js.map} +0 -0
- /package/dist/{session-2ZEPLWW6.js.map → session-3HLC5KOD.js.map} +0 -0
- /package/dist/{session-end-LWJYQAXX.js.map → session-end-FS46UARX.js.map} +0 -0
- /package/dist/{session-start-WTA6GCOQ.js.map → session-start-46KPFV2H.js.map} +0 -0
- /package/dist/{setup-llm-E7UU5IO7.js.map → setup-llm-JMWSNQ2C.js.map} +0 -0
- /package/dist/{stats-DFG6S23S.js.map → stats-MKMETHMA.js.map} +0 -0
- /package/dist/{stop-WRBTXEVT.js.map → stop-OUEX6KA4.js.map} +0 -0
- /package/dist/{stop-failure-32MGIG2Q.js.map → stop-failure-2BWVNZEG.js.map} +0 -0
- /package/dist/{subagent-start-VFGHQFVL.js.map → subagent-start-J4VV6DEE.js.map} +0 -0
- /package/dist/{subagent-stop-663FXG3P.js.map → subagent-stop-JMLVEPIA.js.map} +0 -0
- /package/dist/{task-completed-ZCQYEFMZ.js.map → task-completed-65CHMMKA.js.map} +0 -0
- /package/dist/{team-JTI5CDUO.js.map → team-U2LDKIS4.js.map} +0 -0
- /package/dist/{update-3NBQTG32.js.map → update-ZSHVXWSQ.js.map} +0 -0
- /package/dist/{user-prompt-submit-ME2TBKOS.js.map → user-prompt-submit-APMO6FVU.js.map} +0 -0
- /package/dist/{version-GQAFBBPX.js.map → version-TXPPS3L5.js.map} +0 -0
|
@@ -77,18 +77,23 @@ var RegistrationSchema = external_exports.object({
|
|
|
77
77
|
mcpTarget: external_exports.string().optional(),
|
|
78
78
|
mcpFormat: external_exports.enum(["json", "toml"]).default("json"),
|
|
79
79
|
/**
|
|
80
|
-
* Optional working directory injected into the Myco MCP server entry.
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* resolves paths against the config file location.
|
|
80
|
+
* Optional working directory injected verbatim into the Myco MCP server entry.
|
|
81
|
+
* Used by symbionts (for example Codex with `.`) whose MCP child would
|
|
82
|
+
* otherwise launch with a cwd that breaks vault discovery.
|
|
84
83
|
*/
|
|
85
84
|
mcpCwd: external_exports.string().optional(),
|
|
86
85
|
/**
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
86
|
+
* When true, the installer rewrites any `myco-run` references in this
|
|
87
|
+
* symbiont's templates to the project's `.myco/runtime.command` alias
|
|
88
|
+
* (e.g. `myco-dev`) at install time. Opt-in because most symbionts
|
|
89
|
+
* rely on `bin/myco-run` to read runtime.command at spawn time, which
|
|
90
|
+
* keeps the alias dynamic — change runtime.command and the next spawn
|
|
91
|
+
* picks it up with no re-install. Set this only for hosts that reorder
|
|
92
|
+
* PATH so `~/.local/bin` loses (opencode prepends `/opt/homebrew/bin`,
|
|
93
|
+
* so it can't reach the dev shim via PATH). Baking the alias at
|
|
94
|
+
* install time bypasses PATH resolution entirely for those hosts.
|
|
90
95
|
*/
|
|
91
|
-
|
|
96
|
+
substituteRuntimeCommand: external_exports.boolean().optional(),
|
|
92
97
|
/**
|
|
93
98
|
* JSON key under which MCP server entries are stored in the MCP config file.
|
|
94
99
|
* Defaults to 'mcpServers' (used by Claude Code, Cursor, etc.). opencode uses 'mcp'.
|
|
@@ -181,4 +186,4 @@ export {
|
|
|
181
186
|
detectSymbionts,
|
|
182
187
|
resolvePackageRoot
|
|
183
188
|
};
|
|
184
|
-
//# sourceMappingURL=chunk-
|
|
189
|
+
//# sourceMappingURL=chunk-Z66IT5KL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/symbionts/manifest-schema.ts","../src/symbionts/detect.ts"],"sourcesContent":["import { z } from 'zod';\n\n/**\n * Declarative capture rules owned per-symbiont in its YAML manifest.\n *\n * Rules let each symbiont describe how Myco should filter or rewrite\n * captured events *without* adding symbiont-specific branches inside\n * the generic hook handlers. The hook loads the rules, a generic\n * evaluator decides the action, and the hook acts on the result.\n *\n * Condition types (in `when`):\n * - `transcript_path_missing`: structural. Fires when the hook's\n * transcript_path field is absent/empty. A legitimate user-facing\n * session records a transcript; an ephemeral sub-invocation (e.g.,\n * an agent's internal title-generation call) does not. Preferred\n * over text matching because it doesn't drift as UIs evolve.\n * - `transcript_meta_field_equals`: structural. Fires when a dot-path\n * field in the transcript's first JSON line equals a specific scalar\n * value (for example, `source = \"exec\"`). Use for source-kind or mode\n * filters that are stable in transcript metadata but not represented\n * by field presence alone.\n * - `prompt_starts_with` / `prompt_contains`: text fallback. Use\n * when no structural signal is available. Document the upgrade path\n * in the YAML so future maintainers can replace it when a better\n * signal appears.\n *\n * Scope semantics:\n * - `this_agent` (default): rule fires only when the detected agent\n * matches the manifest that owns the rule. Use for behavior that\n * is specific to the symbiont and can rely on detection working.\n * - `any_agent`: rule fires regardless of detected agent. Use for\n * patterns where detection itself might fail — e.g., an internal\n * sub-invocation that omits the fields agent detection keys on.\n *\n * Events:\n * - `session_start`: fires on SessionStart, before any prompts or\n * tools are captured. The same rules are also reusable at later\n * lifecycle boundaries that could still materialize a session row\n * (for example, transcript-backed stop processing after a missed\n * SessionStart). This is the durable \"session capture rules\"\n * contract for every symbiont.\n * - `user_prompt`: fires on UserPromptSubmit. Safety net for anything\n * that slips past session_start, and the only layer where\n * `rewrite_prompt` makes sense (prompt text doesn't exist until\n * the prompt is submitted).\n *\n * Actions:\n * - `drop`: discard the event entirely. For session_start, the hook\n * skips registering the session row. For user_prompt, the hook\n * skips posting the event and cascade-deletes any session row that\n * may have been registered before the drop rule could fire.\n * - `rewrite_prompt`: replace the captured prompt with the substring\n * after `extract_after`. Only valid for `user_prompt` events.\n */\nconst CaptureRuleSchema = z.object({\n event: z.enum(['session_start', 'user_prompt']),\n scope: z.enum(['this_agent', 'any_agent']).default('this_agent'),\n when: z.object({\n prompt_starts_with: z.string().optional(),\n prompt_contains: z.string().optional(),\n /** Structural: fires when transcript_path is absent or empty. */\n transcript_path_missing: z.boolean().optional(),\n /**\n * Structural: fires when a dot-path field exists (and is truthy) in the\n * transcript's first JSON line (session_meta). Use for detecting sub-agent\n * sessions that have real transcript files but are not user-initiated.\n *\n * Example: `source.subagent` matches a Codex thread-spawn session whose\n * session_meta has `\"source\": {\"subagent\": {...}}` but would NOT match\n * a user session with `\"source\": \"vscode\"`.\n *\n * The hook handler reads the transcript and passes the parsed meta to\n * the evaluator — the evaluator itself does no file I/O.\n */\n transcript_meta_field_exists: z.string().optional(),\n /**\n * Structural: fires when a dot-path field in session_meta exactly equals\n * a scalar value (string / number / boolean / null). Use for stable\n * source-kind markers like `source = \"exec\"`.\n */\n transcript_meta_field_equals: z.object({\n path: z.string(),\n value: z.union([z.string(), z.number(), z.boolean(), z.null()]),\n }).optional(),\n }),\n action: z.enum(['drop', 'rewrite_prompt']),\n /** Short audit string logged when the rule matches (e.g., \"codex-internal-title-gen\"). */\n reason: z.string().optional(),\n /** For rewrite_prompt: keep only the substring after this marker (first occurrence). */\n extract_after: z.string().optional(),\n /** For rewrite_prompt: trim whitespace from the extracted substring. Default true. */\n trim: z.boolean().default(true),\n});\n\nexport type CaptureRule = z.infer<typeof CaptureRuleSchema>;\n\nconst CaptureManifestSchema = z.object({\n planDirs: z.array(z.string()).default([]),\n planTags: z.array(z.string()).default([]),\n rules: z.array(CaptureRuleSchema).default([]),\n});\n\nconst RegistrationSchema = z.object({\n hooksTarget: z.string().optional(),\n /**\n * Format of the hooks target.\n * - 'json' (default): hooks template is merged into a JSON settings file.\n * - 'plugin-file': the hooks template is a verbatim file (e.g., an opencode TS plugin)\n * copied to hooksTarget without JSON parsing. Used for agents with plugin-based hook\n * systems rather than JSON hook entries.\n */\n hooksFormat: z.enum(['json', 'plugin-file']).default('json'),\n /**\n * Optional file path for a plugin deps package.json. When set, the installer writes\n * a package.json declaring the plugin SDK dependency so the agent's package manager\n * (e.g., opencode's Bun) can install it at startup. Preserved on uninstall so\n * contributors can keep their own deps.\n */\n pluginPackageTarget: z.string().optional(),\n mcpTarget: z.string().optional(),\n mcpFormat: z.enum(['json', 'toml']).default('json'),\n /**\n * Optional working directory injected verbatim into the Myco MCP server entry.\n * Used by symbionts (for example Codex with `.`) whose MCP child would\n * otherwise launch with a cwd that breaks vault discovery.\n */\n mcpCwd: z.string().optional(),\n /**\n * When true, the installer rewrites any `myco-run` references in this\n * symbiont's templates to the project's `.myco/runtime.command` alias\n * (e.g. `myco-dev`) at install time. Opt-in because most symbionts\n * rely on `bin/myco-run` to read runtime.command at spawn time, which\n * keeps the alias dynamic — change runtime.command and the next spawn\n * picks it up with no re-install. Set this only for hosts that reorder\n * PATH so `~/.local/bin` loses (opencode prepends `/opt/homebrew/bin`,\n * so it can't reach the dev shim via PATH). Baking the alias at\n * install time bypasses PATH resolution entirely for those hosts.\n */\n substituteRuntimeCommand: z.boolean().optional(),\n /**\n * JSON key under which MCP server entries are stored in the MCP config file.\n * Defaults to 'mcpServers' (used by Claude Code, Cursor, etc.). opencode uses 'mcp'.\n */\n mcpServersKey: z.string().default('mcpServers'),\n skillsTarget: z.string().optional(),\n settingsTarget: z.string().optional(),\n /** Format of the settings file. TOML-format agents (e.g., Codex) emit top-level template keys as TOML sections. */\n settingsFormat: z.enum(['json', 'toml']).default('json'),\n /** Instruction file that stubs out to AGENTS.md. Only for agents that don't read AGENTS.md natively. */\n instructionsFile: z.string().optional(),\n});\n\nexport const SymbiontManifestSchema = z.object({\n name: z.string(),\n displayName: z.string(),\n binary: z.string(),\n configDir: z.string(),\n pluginRootEnvVar: z.string(),\n settingsPath: z.string().optional(),\n hookFields: z.object({\n sessionId: z.string(),\n transcriptPath: z.string(),\n lastResponse: z.string(),\n prompt: z.string().default('prompt'),\n toolName: z.string().default('tool_name'),\n toolInput: z.string().default('tool_input'),\n toolOutput: z.string().default('tool_output'),\n /** Env var fallback for session ID (e.g., GEMINI_SESSION_ID). */\n sessionIdEnv: z.string().optional(),\n }),\n /** Resume command template with {sessionId} placeholder. Omit for IDE-based agents. */\n resumeCommand: z.string().optional(),\n capture: CaptureManifestSchema.optional(),\n registration: RegistrationSchema.optional(),\n});\n\nexport type SymbiontManifest = z.infer<typeof SymbiontManifestSchema>;\nexport type SymbiontRegistration = z.infer<typeof RegistrationSchema>;\n","import { SymbiontManifestSchema, type SymbiontManifest } from './manifest-schema.js';\nimport { findPackageRoot } from '../utils/find-package-root.js';\nimport { execFileSync } from 'node:child_process';\nimport fs from 'node:fs';\nimport path from 'node:path';\nimport YAML from 'yaml';\n\nexport interface DetectedSymbiont {\n manifest: SymbiontManifest;\n binaryFound: boolean;\n configDirFound: boolean;\n}\n\nconst MANIFESTS_SUBDIR = 'symbionts/manifests';\n\n/** Cached manifests — static files that never change at runtime. */\nlet manifestCache: SymbiontManifest[] | null = null;\n\n/** Load all symbiont manifests from the package's dist directory. */\nexport function loadManifests(): SymbiontManifest[] {\n if (manifestCache) return manifestCache;\n const candidates = [\n // Source layout: src/symbionts/detect.ts → src/symbionts/manifests/\n path.resolve(import.meta.dirname, MANIFESTS_SUBDIR),\n // Dist layout: dist/src/symbionts/ → dist/src/symbionts/manifests/\n // (or dist/src/daemon/ → dist/src/symbionts/manifests/)\n path.resolve(import.meta.dirname, '..', MANIFESTS_SUBDIR),\n path.resolve(import.meta.dirname, '..', '..', MANIFESTS_SUBDIR),\n // Chunk layout: dist/chunk-*.js → dist/src/symbionts/manifests/\n path.resolve(import.meta.dirname, 'src', MANIFESTS_SUBDIR),\n ];\n\n for (const dir of candidates) {\n if (!fs.existsSync(dir)) continue;\n const files = fs.readdirSync(dir).filter(f => f.endsWith('.yaml'));\n if (files.length === 0) continue;\n manifestCache = files.map(f => {\n const raw = YAML.parse(fs.readFileSync(path.join(dir, f), 'utf-8'));\n return SymbiontManifestSchema.parse(raw);\n });\n return manifestCache;\n }\n return [];\n}\n\n/** Check if a binary is available on PATH. */\nfunction isBinaryOnPath(binary: string): boolean {\n try {\n execFileSync('which', [binary], { stdio: 'pipe' });\n return true;\n } catch {\n return false;\n }\n}\n\n/** Detect which symbionts are available for a project. */\nexport function detectSymbionts(projectRoot: string): DetectedSymbiont[] {\n const manifests = loadManifests();\n return manifests.map(manifest => ({\n manifest,\n binaryFound: isBinaryOnPath(manifest.binary),\n configDirFound: fs.existsSync(path.join(projectRoot, manifest.configDir)),\n })).filter(d => d.binaryFound || d.configDirFound);\n}\n\n/** Find the Myco package root (where package.json lives). */\nexport function resolvePackageRoot(): string {\n return findPackageRoot(import.meta.dirname) ?? process.cwd();\n}\n"],"mappings":"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","names":["YAML"]}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadEnv
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QDLVIW2O.js";
|
|
6
6
|
import "./chunk-SAKJMNSR.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-OTQH5KZW.js";
|
|
8
8
|
import "./chunk-X3IGT5RV.js";
|
|
9
9
|
import "./chunk-53RPGOEN.js";
|
|
10
10
|
import "./chunk-OUJSQSKE.js";
|
|
@@ -12,9 +12,9 @@ import "./chunk-POEPHBQK.js";
|
|
|
12
12
|
import "./chunk-MYX5NCRH.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveVaultDir
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-TSM6VESW.js";
|
|
16
|
+
import "./chunk-KTTSXYEK.js";
|
|
17
|
+
import "./chunk-ENZR5NG7.js";
|
|
18
18
|
import "./chunk-LPUQPDC2.js";
|
|
19
19
|
import "./chunk-6C6QZ4PM.js";
|
|
20
20
|
import "./chunk-UUHLLQXO.js";
|
|
@@ -62,29 +62,29 @@ async function main() {
|
|
|
62
62
|
process.stdout.write(USAGE);
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
if (cmd === "init") return (await import("./init-
|
|
65
|
+
if (cmd === "init") return (await import("./init-4KVK7W2E.js")).run(args);
|
|
66
66
|
if (cmd === "detect-providers") return (await import("./detect-providers-ILLQZROY.js")).run(args);
|
|
67
67
|
if (cmd === "version" || cmd === "--version" || cmd === "-v") {
|
|
68
|
-
const { getPluginVersion } = await import("./version-
|
|
68
|
+
const { getPluginVersion } = await import("./version-TXPPS3L5.js");
|
|
69
69
|
console.log(getPluginVersion());
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
if (cmd === "mcp") return (await import("./server-
|
|
72
|
+
if (cmd === "mcp") return (await import("./server-AZJSTQEK.js")).main();
|
|
73
73
|
if (cmd === "hook") {
|
|
74
74
|
const hookName = args[0];
|
|
75
75
|
const HOOK_DISPATCH = {
|
|
76
|
-
"session-start": () => import("./session-start-
|
|
77
|
-
"session-end": () => import("./session-end-
|
|
78
|
-
"stop": () => import("./stop-
|
|
79
|
-
"user-prompt-submit": () => import("./user-prompt-submit-
|
|
80
|
-
"post-tool-use": () => import("./post-tool-use-
|
|
81
|
-
"post-tool-use-failure": () => import("./post-tool-use-failure-
|
|
82
|
-
"subagent-start": () => import("./subagent-start-
|
|
83
|
-
"subagent-stop": () => import("./subagent-stop-
|
|
84
|
-
"stop-failure": () => import("./stop-failure-
|
|
85
|
-
"task-completed": () => import("./task-completed-
|
|
86
|
-
"pre-compact": () => import("./pre-compact-
|
|
87
|
-
"post-compact": () => import("./post-compact-
|
|
76
|
+
"session-start": () => import("./session-start-46KPFV2H.js"),
|
|
77
|
+
"session-end": () => import("./session-end-FS46UARX.js"),
|
|
78
|
+
"stop": () => import("./stop-OUEX6KA4.js"),
|
|
79
|
+
"user-prompt-submit": () => import("./user-prompt-submit-APMO6FVU.js"),
|
|
80
|
+
"post-tool-use": () => import("./post-tool-use-TZINWWDH.js"),
|
|
81
|
+
"post-tool-use-failure": () => import("./post-tool-use-failure-TCFEU2GI.js"),
|
|
82
|
+
"subagent-start": () => import("./subagent-start-J4VV6DEE.js"),
|
|
83
|
+
"subagent-stop": () => import("./subagent-stop-JMLVEPIA.js"),
|
|
84
|
+
"stop-failure": () => import("./stop-failure-2BWVNZEG.js"),
|
|
85
|
+
"task-completed": () => import("./task-completed-65CHMMKA.js"),
|
|
86
|
+
"pre-compact": () => import("./pre-compact-LO2VZCGR.js"),
|
|
87
|
+
"post-compact": () => import("./post-compact-7AEFVCZS.js")
|
|
88
88
|
};
|
|
89
89
|
const loader = HOOK_DISPATCH[hookName];
|
|
90
90
|
if (!loader) {
|
|
@@ -93,13 +93,13 @@ async function main() {
|
|
|
93
93
|
}
|
|
94
94
|
return (await loader()).main();
|
|
95
95
|
}
|
|
96
|
-
if (cmd === "daemon") return (await import("./main-
|
|
96
|
+
if (cmd === "daemon") return (await import("./main-4J4QZZTZ.js")).main();
|
|
97
97
|
if (cmd === "doctor") {
|
|
98
98
|
const vaultDir2 = resolveVaultDir();
|
|
99
|
-
return (await import("./doctor-
|
|
99
|
+
return (await import("./doctor-HJCWHAU4.js")).run(args, vaultDir2);
|
|
100
100
|
}
|
|
101
|
-
if (cmd === "update") return (await import("./update-
|
|
102
|
-
if (cmd === "remove") return (await import("./remove-
|
|
101
|
+
if (cmd === "update") return (await import("./update-ZSHVXWSQ.js")).run(args);
|
|
102
|
+
if (cmd === "remove") return (await import("./remove-F77AAALE.js")).run(args);
|
|
103
103
|
const vaultDir = resolveVaultDir();
|
|
104
104
|
if (!fs.existsSync(path.join(vaultDir, "myco.yaml"))) {
|
|
105
105
|
console.error(`No myco.yaml found in ${vaultDir}. Run 'myco init' first.`);
|
|
@@ -111,37 +111,37 @@ async function main() {
|
|
|
111
111
|
case "verify":
|
|
112
112
|
return (await import("./verify-R76ZFJSZ.js")).run(args, vaultDir);
|
|
113
113
|
case "stats":
|
|
114
|
-
return (await import("./stats-
|
|
114
|
+
return (await import("./stats-MKMETHMA.js")).run(args, vaultDir);
|
|
115
115
|
case "search":
|
|
116
|
-
return (await import("./search-
|
|
116
|
+
return (await import("./search-NHNVUAQQ.js")).run(args, vaultDir);
|
|
117
117
|
case "vectors":
|
|
118
|
-
return (await import("./search-
|
|
118
|
+
return (await import("./search-NHNVUAQQ.js")).runVectors(args, vaultDir);
|
|
119
119
|
case "session":
|
|
120
|
-
return (await import("./session-
|
|
120
|
+
return (await import("./session-3HLC5KOD.js")).run(args, vaultDir);
|
|
121
121
|
case "setup-llm":
|
|
122
|
-
return (await import("./setup-llm-
|
|
122
|
+
return (await import("./setup-llm-JMWSNQ2C.js")).run(args, vaultDir);
|
|
123
123
|
case "setup-digest":
|
|
124
124
|
return (await import("./setup-digest-4KDSXAIV.js")).run(args, vaultDir);
|
|
125
125
|
case "agent": {
|
|
126
126
|
if (args[0] === "eval") {
|
|
127
|
-
return (await import("./agent-eval-
|
|
127
|
+
return (await import("./agent-eval-YK2VP2S4.js")).run(args.slice(1), vaultDir);
|
|
128
128
|
}
|
|
129
|
-
return (await import("./agent-run-
|
|
129
|
+
return (await import("./agent-run-GEJBD2YD.js")).run(args, vaultDir);
|
|
130
130
|
}
|
|
131
131
|
case "task":
|
|
132
|
-
return (await import("./agent-tasks-
|
|
132
|
+
return (await import("./agent-tasks-5XSRGTRX.js")).run(args, vaultDir);
|
|
133
133
|
case "team": {
|
|
134
134
|
const sub = args[0];
|
|
135
|
-
if (sub === "init") return (await import("./team-
|
|
136
|
-
if (sub === "upgrade") return (await import("./team-
|
|
135
|
+
if (sub === "init") return (await import("./team-U2LDKIS4.js")).teamInit(vaultDir);
|
|
136
|
+
if (sub === "upgrade") return (await import("./team-U2LDKIS4.js")).teamUpgrade(vaultDir);
|
|
137
137
|
console.error("Usage: myco team <init|upgrade>");
|
|
138
138
|
process.exit(1);
|
|
139
139
|
break;
|
|
140
140
|
}
|
|
141
141
|
case "open":
|
|
142
|
-
return (await import("./open-
|
|
142
|
+
return (await import("./open-7TXJQM3H.js")).run(args, vaultDir);
|
|
143
143
|
case "restart":
|
|
144
|
-
return (await import("./restart-
|
|
144
|
+
return (await import("./restart-UEFDPMLT.js")).run(args, vaultDir);
|
|
145
145
|
case "logs":
|
|
146
146
|
return (await import("./logs-7YVGGBIS.js")).run(args, vaultDir);
|
|
147
147
|
default:
|
|
@@ -154,4 +154,4 @@ main().catch((err) => {
|
|
|
154
154
|
console.error(`myco: ${err.message}`);
|
|
155
155
|
process.exit(1);
|
|
156
156
|
});
|
|
157
|
-
//# sourceMappingURL=cli-
|
|
157
|
+
//# sourceMappingURL=cli-HSLIG7EX.js.map
|
|
@@ -2,8 +2,8 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
|
|
|
2
2
|
import {
|
|
3
3
|
DaemonClient,
|
|
4
4
|
resolveCliEntryPath
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-KTTSXYEK.js";
|
|
6
|
+
import "./chunk-ENZR5NG7.js";
|
|
7
7
|
import "./chunk-LPUQPDC2.js";
|
|
8
8
|
import "./chunk-6C6QZ4PM.js";
|
|
9
9
|
import "./chunk-UUHLLQXO.js";
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
DaemonClient,
|
|
13
13
|
resolveCliEntryPath
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=client-
|
|
15
|
+
//# sourceMappingURL=client-Z43DNLJH.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
detectSymbionts,
|
|
4
4
|
loadManifests,
|
|
5
5
|
resolvePackageRoot
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z66IT5KL.js";
|
|
7
7
|
import "./chunk-LPUQPDC2.js";
|
|
8
8
|
import "./chunk-6LQIMRTC.js";
|
|
9
9
|
import "./chunk-ODXLRR4U.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
loadManifests,
|
|
15
15
|
resolvePackageRoot
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=detect-
|
|
17
|
+
//# sourceMappingURL=detect-7NUD5B5R.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isProcessAlive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QDLVIW2O.js";
|
|
5
5
|
import "./chunk-SAKJMNSR.js";
|
|
6
6
|
import {
|
|
7
7
|
MYCO_MCP_SERVER_NAME,
|
|
8
8
|
isMycoHookGroup
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OTQH5KZW.js";
|
|
10
10
|
import "./chunk-X3IGT5RV.js";
|
|
11
11
|
import "./chunk-53RPGOEN.js";
|
|
12
12
|
import "./chunk-OUJSQSKE.js";
|
|
13
13
|
import "./chunk-POEPHBQK.js";
|
|
14
14
|
import "./chunk-MYX5NCRH.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KTTSXYEK.js";
|
|
16
|
+
import "./chunk-ENZR5NG7.js";
|
|
17
17
|
import "./chunk-LPUQPDC2.js";
|
|
18
18
|
import "./chunk-6C6QZ4PM.js";
|
|
19
19
|
import "./chunk-UUHLLQXO.js";
|
|
@@ -104,7 +104,7 @@ async function checkEmbeddings(config) {
|
|
|
104
104
|
}
|
|
105
105
|
async function checkAgents(vaultDir, config) {
|
|
106
106
|
try {
|
|
107
|
-
const { detectSymbionts } = await import("./detect-
|
|
107
|
+
const { detectSymbionts } = await import("./detect-7NUD5B5R.js");
|
|
108
108
|
const { getEnabledSymbiontNames } = await import("./loader-LX7TFRM6.js");
|
|
109
109
|
const projectRoot = path.dirname(vaultDir);
|
|
110
110
|
const detected = detectSymbionts(projectRoot);
|
|
@@ -308,4 +308,4 @@ export {
|
|
|
308
308
|
run,
|
|
309
309
|
runChecks
|
|
310
310
|
};
|
|
311
|
-
//# sourceMappingURL=doctor-
|
|
311
|
+
//# sourceMappingURL=doctor-HJCWHAU4.js.map
|
|
@@ -7,24 +7,25 @@ import {
|
|
|
7
7
|
finalizeOnTaskSuccess,
|
|
8
8
|
resolvePhaseExecution,
|
|
9
9
|
runAgent
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-X2IRGXGF.js";
|
|
11
|
+
import "./chunk-QATYARI5.js";
|
|
12
|
+
import "./chunk-QLLBJEM7.js";
|
|
13
|
+
import "./chunk-USVFEWYL.js";
|
|
14
|
+
import "./chunk-AUIXX33A.js";
|
|
15
|
+
import "./chunk-LQIPXVDH.js";
|
|
15
16
|
import "./chunk-FCJ5JV54.js";
|
|
16
17
|
import "./chunk-U5EW2VIQ.js";
|
|
17
18
|
import "./chunk-CISWUP5W.js";
|
|
18
19
|
import "./chunk-X3IGT5RV.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-N7Z3LUEZ.js";
|
|
20
21
|
import "./chunk-RQSJLWP4.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-EEOJWLMP.js";
|
|
23
|
+
import "./chunk-DTWUHHFI.js";
|
|
23
24
|
import "./chunk-53RPGOEN.js";
|
|
24
25
|
import "./chunk-OUJSQSKE.js";
|
|
25
26
|
import "./chunk-POEPHBQK.js";
|
|
26
27
|
import "./chunk-MYX5NCRH.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-ENZR5NG7.js";
|
|
28
29
|
import "./chunk-LPUQPDC2.js";
|
|
29
30
|
import "./chunk-6C6QZ4PM.js";
|
|
30
31
|
import "./chunk-UUHLLQXO.js";
|
|
@@ -41,4 +42,4 @@ export {
|
|
|
41
42
|
resolvePhaseExecution,
|
|
42
43
|
runAgent
|
|
43
44
|
};
|
|
44
|
-
//# sourceMappingURL=executor-
|
|
45
|
+
//# sourceMappingURL=executor-DO6QFC6G.js.map
|
|
@@ -2,15 +2,15 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
|
|
|
2
2
|
import {
|
|
3
3
|
VAULT_GITIGNORE,
|
|
4
4
|
registerSymbionts
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QDLVIW2O.js";
|
|
6
6
|
import {
|
|
7
7
|
parseStringFlag
|
|
8
8
|
} from "./chunk-SAKJMNSR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-OTQH5KZW.js";
|
|
10
10
|
import "./chunk-X3IGT5RV.js";
|
|
11
11
|
import {
|
|
12
12
|
createSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DTWUHHFI.js";
|
|
14
14
|
import {
|
|
15
15
|
MycoConfigSchema,
|
|
16
16
|
saveConfig,
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
} from "./chunk-MYX5NCRH.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveVaultDir
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-TSM6VESW.js";
|
|
29
|
+
import "./chunk-KTTSXYEK.js";
|
|
30
30
|
import {
|
|
31
31
|
getPluginVersion
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ENZR5NG7.js";
|
|
33
33
|
import {
|
|
34
34
|
detectSymbionts,
|
|
35
35
|
loadManifests,
|
|
36
36
|
resolvePackageRoot
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Z66IT5KL.js";
|
|
38
38
|
import "./chunk-LPUQPDC2.js";
|
|
39
39
|
import {
|
|
40
40
|
DEFAULT_OLLAMA_EMBEDDING_MODEL
|
|
@@ -153,7 +153,7 @@ async function run(args) {
|
|
|
153
153
|
registerSymbionts(selectedManifests, projectRoot, pkgRoot, "Registered");
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
const { DaemonClient } = await import("./client-
|
|
156
|
+
const { DaemonClient } = await import("./client-Z43DNLJH.js");
|
|
157
157
|
const client = new DaemonClient(vaultDir);
|
|
158
158
|
const daemonHealthy = await client.ensureRunning();
|
|
159
159
|
let daemonUrl = "";
|
|
@@ -191,4 +191,4 @@ async function run(args) {
|
|
|
191
191
|
export {
|
|
192
192
|
run
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=init-
|
|
194
|
+
//# sourceMappingURL=init-4KVK7W2E.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MYCO_MCP_SERVER_NAME,
|
|
4
4
|
SymbiontInstaller,
|
|
5
5
|
syncSkillSymlinks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OTQH5KZW.js";
|
|
7
7
|
import "./chunk-53RPGOEN.js";
|
|
8
8
|
import "./chunk-OUJSQSKE.js";
|
|
9
9
|
import "./chunk-POEPHBQK.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
SymbiontInstaller,
|
|
19
19
|
syncSkillSymlinks
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=installer-
|
|
21
|
+
//# sourceMappingURL=installer-N4UTEACX.js.map
|
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
resolveDefinitionsDir,
|
|
8
8
|
resolveEffectiveConfig,
|
|
9
9
|
taskFromParsed
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AUIXX33A.js";
|
|
11
|
+
import "./chunk-LQIPXVDH.js";
|
|
11
12
|
import "./chunk-OUJSQSKE.js";
|
|
12
13
|
import "./chunk-POEPHBQK.js";
|
|
13
14
|
import "./chunk-MYX5NCRH.js";
|
|
@@ -26,4 +27,4 @@ export {
|
|
|
26
27
|
resolveEffectiveConfig,
|
|
27
28
|
taskFromParsed
|
|
28
29
|
};
|
|
29
|
-
//# sourceMappingURL=loader-
|
|
30
|
+
//# sourceMappingURL=loader-UDNUMEDA.js.map
|