@goondocks/myco 0.2.11 → 0.2.13
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/commands/init.md +38 -17
- package/dist/{chunk-AOMX45LH.js → chunk-6C26YFOA.js} +4 -6
- package/dist/{chunk-AOMX45LH.js.map → chunk-6C26YFOA.js.map} +1 -1
- package/dist/{chunk-TWDS6MSU.js → chunk-BXFS4PCJ.js} +2 -2
- package/dist/{chunk-SVUINMDD.js → chunk-C2YPBQQM.js} +3 -3
- package/dist/{chunk-ZJQ5G637.js → chunk-MAFUTKOZ.js} +2 -2
- package/dist/{chunk-ZTZVX5E6.js → chunk-NKJIZSPD.js} +3 -3
- package/dist/{chunk-NYNEJ5QY.js → chunk-O5VSPHDL.js} +40 -1
- package/dist/{chunk-NYNEJ5QY.js.map → chunk-O5VSPHDL.js.map} +1 -1
- package/dist/{chunk-TH6GIBXG.js → chunk-S4WBXXO6.js} +2 -2
- package/dist/{chunk-UIIZRTJU.js → chunk-YXZEP5U6.js} +2 -2
- package/dist/{cli-K5FSKLQC.js → cli-KMWJFK5Y.js} +8 -10
- package/dist/{cli-K5FSKLQC.js.map → cli-KMWJFK5Y.js.map} +1 -1
- package/dist/client-TEUHXGOY.js +10 -0
- package/dist/{main-5W4ADOBG.js → main-ORWCEWNJ.js} +8 -18
- package/dist/{main-5W4ADOBG.js.map → main-ORWCEWNJ.js.map} +1 -1
- package/dist/{server-PIEPVUUH.js → server-J3AQ3YFA.js} +11 -21
- package/dist/{server-PIEPVUUH.js.map → server-J3AQ3YFA.js.map} +1 -1
- package/dist/{session-start-2NNQHT5S.js → session-start-BEC4JMNZ.js} +6 -7
- package/dist/{session-start-2NNQHT5S.js.map → session-start-BEC4JMNZ.js.map} +1 -1
- package/dist/src/cli.js +1 -6
- package/dist/src/cli.js.map +1 -1
- package/dist/src/daemon/main.js +2 -6
- package/dist/src/daemon/main.js.map +1 -1
- package/dist/src/hooks/post-tool-use.js +4 -5
- package/dist/src/hooks/post-tool-use.js.map +1 -1
- package/dist/src/hooks/session-end.js +4 -5
- package/dist/src/hooks/session-end.js.map +1 -1
- package/dist/src/hooks/session-start.js +1 -6
- package/dist/src/hooks/session-start.js.map +1 -1
- package/dist/src/hooks/stop.js +5 -6
- package/dist/src/hooks/stop.js.map +1 -1
- package/dist/src/hooks/user-prompt-submit.js +4 -5
- package/dist/src/hooks/user-prompt-submit.js.map +1 -1
- package/dist/src/mcp/server.js +2 -6
- package/dist/src/mcp/server.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-4JML636J.js +0 -52
- package/dist/chunk-4JML636J.js.map +0 -1
- package/dist/chunk-PZUWP5VK.js +0 -44
- package/dist/client-4JMOYNKK.js +0 -11
- package/dist/client-4JMOYNKK.js.map +0 -1
- /package/dist/{chunk-TWDS6MSU.js.map → chunk-BXFS4PCJ.js.map} +0 -0
- /package/dist/{chunk-SVUINMDD.js.map → chunk-C2YPBQQM.js.map} +0 -0
- /package/dist/{chunk-ZJQ5G637.js.map → chunk-MAFUTKOZ.js.map} +0 -0
- /package/dist/{chunk-ZTZVX5E6.js.map → chunk-NKJIZSPD.js.map} +0 -0
- /package/dist/{chunk-TH6GIBXG.js.map → chunk-S4WBXXO6.js.map} +0 -0
- /package/dist/{chunk-UIIZRTJU.js.map → chunk-YXZEP5U6.js.map} +0 -0
- /package/dist/{chunk-PZUWP5VK.js.map → client-TEUHXGOY.js.map} +0 -0
package/commands/init.md
CHANGED
|
@@ -7,35 +7,56 @@ description: Initialize Myco in the current project — sets up vault, config, a
|
|
|
7
7
|
|
|
8
8
|
Guide the user through setup, then run the CLI to create the vault. **Do NOT create files manually — the CLI handles all vault creation, config writing, and env configuration.**
|
|
9
9
|
|
|
10
|
+
**Ask each question one at a time using AskUserQuestion with selectable options.** Wait for the user's answer before proceeding to the next question. Do NOT combine multiple questions into one message.
|
|
11
|
+
|
|
10
12
|
## Step 1: Choose vault location
|
|
11
13
|
|
|
12
|
-
Ask the user
|
|
14
|
+
Ask the user:
|
|
15
|
+
|
|
16
|
+
**Question:** "Where would you like to store the Myco vault?"
|
|
17
|
+
|
|
18
|
+
**Options:**
|
|
19
|
+
- "In the project (.myco/)" — vault lives with the code, can be committed to git for team sharing
|
|
20
|
+
- "Centralized (~/.myco/vaults/<project-name>/)" — vault stays outside the repo, good for public repos or personal use
|
|
21
|
+
- "Custom path" — specify your own location
|
|
13
22
|
|
|
14
|
-
|
|
15
|
-
>
|
|
16
|
-
> 1. **In the project** (`.myco/`) — vault lives with the code, can be committed to git for team sharing
|
|
17
|
-
> 2. **Centralized** (`~/.myco/vaults/<project-name>/`) — vault stays outside the repo, good for public repos or personal use
|
|
18
|
-
> 3. **Custom path** — specify your own location
|
|
23
|
+
If the user picks "Custom path", ask them to type the path.
|
|
19
24
|
|
|
20
|
-
## Step 2: Choose
|
|
25
|
+
## Step 2: Choose LLM provider
|
|
21
26
|
|
|
22
|
-
|
|
27
|
+
First, detect available providers by checking local endpoints:
|
|
23
28
|
|
|
24
29
|
- **Ollama** — `curl -s http://localhost:11434/api/tags` — list model names
|
|
25
30
|
- **LM Studio** — `curl -s http://localhost:1234/v1/models` — list model IDs
|
|
26
31
|
- **Anthropic** — check if `ANTHROPIC_API_KEY` is set
|
|
27
32
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
Then ask the user:
|
|
34
|
+
|
|
35
|
+
**Question:** "Which LLM provider for summarization?"
|
|
36
|
+
|
|
37
|
+
**Options:** List only providers that are actually running, with recommended models noted. Example:
|
|
38
|
+
- "Ollama — gpt-oss (recommended)"
|
|
39
|
+
- "LM Studio — openai/gpt-oss-20b"
|
|
40
|
+
- "Anthropic"
|
|
41
|
+
|
|
42
|
+
After the user picks a provider, ask them to choose a specific model from the available models on that provider.
|
|
43
|
+
|
|
44
|
+
## Step 3: Choose embedding provider
|
|
45
|
+
|
|
46
|
+
Ask the user:
|
|
47
|
+
|
|
48
|
+
**Question:** "Which embedding provider?"
|
|
49
|
+
|
|
50
|
+
**Options:** List only providers that are running and support embeddings (Anthropic does not). Example:
|
|
51
|
+
- "Ollama — bge-m3 (recommended)"
|
|
52
|
+
- "LM Studio — text-embedding-bge-m3"
|
|
31
53
|
|
|
32
|
-
|
|
54
|
+
After the user picks a provider, ask them to choose a specific embedding model.
|
|
33
55
|
|
|
34
|
-
If the recommended model isn't available, offer to pull it:
|
|
35
|
-
- **Ollama**: `ollama pull
|
|
36
|
-
- **LM Studio**: `lms get <owner/model>`
|
|
56
|
+
If the recommended embedding model isn't available, offer to pull it:
|
|
57
|
+
- **Ollama**: `ollama pull bge-m3`
|
|
37
58
|
|
|
38
|
-
## Step
|
|
59
|
+
## Step 4: Run the CLI
|
|
39
60
|
|
|
40
61
|
Run the init command with all gathered inputs. The CLI creates the vault, writes config, sets up the FTS index, and configures `MYCO_VAULT_DIR` if the vault is external:
|
|
41
62
|
|
|
@@ -50,7 +71,7 @@ node ${CLAUDE_PLUGIN_ROOT}/dist/src/cli.js init \
|
|
|
50
71
|
--embedding-url <base-url>
|
|
51
72
|
```
|
|
52
73
|
|
|
53
|
-
## Step
|
|
74
|
+
## Step 5: Verify
|
|
54
75
|
|
|
55
76
|
After the CLI completes, confirm providers are reachable:
|
|
56
77
|
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
external_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YXZEP5U6.js";
|
|
5
5
|
import {
|
|
6
6
|
CHARS_PER_TOKEN,
|
|
7
7
|
DAEMON_CLIENT_TIMEOUT_MS,
|
|
8
8
|
EMBEDDING_REQUEST_TIMEOUT_MS,
|
|
9
|
-
LLM_REQUEST_TIMEOUT_MS
|
|
10
|
-
} from "./chunk-NYNEJ5QY.js";
|
|
11
|
-
import {
|
|
9
|
+
LLM_REQUEST_TIMEOUT_MS,
|
|
12
10
|
__commonJS,
|
|
13
11
|
__require,
|
|
14
12
|
__toESM
|
|
15
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O5VSPHDL.js";
|
|
16
14
|
|
|
17
15
|
// node_modules/kind-of/index.js
|
|
18
16
|
var require_kind_of = __commonJS({
|
|
@@ -8971,4 +8969,4 @@ strip-bom-string/index.js:
|
|
|
8971
8969
|
* Released under the MIT License.
|
|
8972
8970
|
*)
|
|
8973
8971
|
*/
|
|
8974
|
-
//# sourceMappingURL=chunk-
|
|
8972
|
+
//# sourceMappingURL=chunk-6C26YFOA.js.map
|