@goondocks/myco 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/dist/chunk-2UEJVXXE.js +33 -0
  4. package/dist/chunk-2UEJVXXE.js.map +1 -0
  5. package/dist/{chunk-NTYYYC32.js → chunk-5BGQJOJN.js} +47 -4
  6. package/dist/chunk-5BGQJOJN.js.map +1 -0
  7. package/dist/{cli-ERAS5H43.js → cli-4RR3QBYK.js} +13 -7
  8. package/dist/cli-4RR3QBYK.js.map +1 -0
  9. package/dist/{client-HORA3CC4.js → client-43ML4EHJ.js} +3 -2
  10. package/dist/{init-LLLHUNSY.js → init-HTKEL3YT.js} +4 -4
  11. package/dist/{main-D4X6XWRT.js → main-DTWU4OAH.js} +13 -7
  12. package/dist/main-DTWU4OAH.js.map +1 -0
  13. package/dist/{rebuild-3367GP5R.js → rebuild-TXMFYBOU.js} +7 -7
  14. package/dist/{reprocess-EM5RIRH4.js → reprocess-ARKHGDWF.js} +13 -13
  15. package/dist/{restart-NH5MX45I.js → restart-C5BCVG3A.js} +2 -2
  16. package/dist/{search-W3ECVSTH.js → search-YCKNX2WS.js} +7 -7
  17. package/dist/{server-I7MRMIOP.js → server-EBKMQISL.js} +15 -27
  18. package/dist/{server-I7MRMIOP.js.map → server-EBKMQISL.js.map} +1 -1
  19. package/dist/{session-start-DECLNJDI.js → session-start-ADZLL2YI.js} +3 -2
  20. package/dist/{session-start-DECLNJDI.js.map → session-start-ADZLL2YI.js.map} +1 -1
  21. package/dist/src/cli.js +1 -1
  22. package/dist/src/daemon/main.js +1 -1
  23. package/dist/src/hooks/post-tool-use.js +2 -1
  24. package/dist/src/hooks/post-tool-use.js.map +1 -1
  25. package/dist/src/hooks/session-end.js +2 -1
  26. package/dist/src/hooks/session-end.js.map +1 -1
  27. package/dist/src/hooks/session-start.js +1 -1
  28. package/dist/src/hooks/stop.js +2 -1
  29. package/dist/src/hooks/stop.js.map +1 -1
  30. package/dist/src/hooks/user-prompt-submit.js +2 -1
  31. package/dist/src/hooks/user-prompt-submit.js.map +1 -1
  32. package/dist/src/mcp/server.js +1 -1
  33. package/dist/version-N55WTRG5.js +11 -0
  34. package/dist/version-N55WTRG5.js.map +1 -0
  35. package/package.json +1 -1
  36. package/skills/myco/SKILL.md +15 -14
  37. package/dist/chunk-NTYYYC32.js.map +0 -1
  38. package/dist/cli-ERAS5H43.js.map +0 -1
  39. package/dist/main-D4X6XWRT.js.map +0 -1
  40. /package/dist/{client-HORA3CC4.js.map → client-43ML4EHJ.js.map} +0 -0
  41. /package/dist/{init-LLLHUNSY.js.map → init-HTKEL3YT.js.map} +0 -0
  42. /package/dist/{rebuild-3367GP5R.js.map → rebuild-TXMFYBOU.js.map} +0 -0
  43. /package/dist/{reprocess-EM5RIRH4.js.map → reprocess-ARKHGDWF.js.map} +0 -0
  44. /package/dist/{restart-NH5MX45I.js.map → restart-C5BCVG3A.js.map} +0 -0
  45. /package/dist/{search-W3ECVSTH.js.map → search-YCKNX2WS.js.map} +0 -0
@@ -1,7 +1,4 @@
1
1
  import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
2
- import {
3
- queryLogs
4
- } from "./chunk-BMJX2IDQ.js";
5
2
  import {
6
3
  VaultWriter
7
4
  } from "./chunk-P2Q77C5F.js";
@@ -12,6 +9,12 @@ import {
12
9
  import {
13
10
  generateEmbedding
14
11
  } from "./chunk-RGVBGTD6.js";
12
+ import {
13
+ VectorIndex
14
+ } from "./chunk-XQXXF6MU.js";
15
+ import {
16
+ queryLogs
17
+ } from "./chunk-BMJX2IDQ.js";
15
18
  import "./chunk-5EZ7QF6J.js";
16
19
  import {
17
20
  memoryFm,
@@ -22,15 +25,12 @@ import {
22
25
  initFts,
23
26
  searchFts
24
27
  } from "./chunk-6FQISQNA.js";
25
- import {
26
- createEmbeddingProvider
27
- } from "./chunk-N6IAW33G.js";
28
- import {
29
- VectorIndex
30
- } from "./chunk-XQXXF6MU.js";
31
28
  import {
32
29
  MycoIndex
33
30
  } from "./chunk-PA3VMINE.js";
31
+ import {
32
+ createEmbeddingProvider
33
+ } from "./chunk-N6IAW33G.js";
34
34
  import "./chunk-XW3OL55U.js";
35
35
  import {
36
36
  _enum,
@@ -55,9 +55,13 @@ import {
55
55
  unknown
56
56
  } from "./chunk-ISCT2SI6.js";
57
57
  import "./chunk-EF4JVH24.js";
58
+ import {
59
+ getPluginVersion
60
+ } from "./chunk-2UEJVXXE.js";
58
61
  import {
59
62
  resolveVaultDir
60
63
  } from "./chunk-N33KUCFP.js";
64
+ import "./chunk-2QEJKG7R.js";
61
65
  import {
62
66
  CONTENT_SNIPPET_CHARS,
63
67
  EMBEDDING_INPUT_LIMIT,
@@ -14051,7 +14055,6 @@ var StdioServerTransport = class {
14051
14055
  // src/mcp/server.ts
14052
14056
  import fs3 from "fs";
14053
14057
  import path4 from "path";
14054
- import { fileURLToPath } from "url";
14055
14058
 
14056
14059
  // src/mcp/tools/search.ts
14057
14060
  async function handleMycoSearch(index, input, vectorIndex, backend) {
@@ -14459,21 +14462,6 @@ Superseded by:: [[${wisdomId}]]`;
14459
14462
  }
14460
14463
 
14461
14464
  // src/mcp/server.ts
14462
- function getPackageVersion() {
14463
- try {
14464
- let dir = path4.dirname(fileURLToPath(import.meta.url));
14465
- for (let i = 0; i < 5; i++) {
14466
- const pkgPath = path4.join(dir, "package.json");
14467
- if (fs3.existsSync(pkgPath)) {
14468
- return JSON.parse(fs3.readFileSync(pkgPath, "utf-8")).version;
14469
- }
14470
- dir = path4.dirname(dir);
14471
- }
14472
- return "0.0.0";
14473
- } catch {
14474
- return "0.0.0";
14475
- }
14476
- }
14477
14465
  var OBSERVATION_TYPES = ["gotcha", "bug_fix", "decision", "discovery", "trade_off", "cross-cutting"];
14478
14466
  var PLAN_STATUSES = [...PlanFrontmatterSchema.shape.status._def.innerType.options, "all"];
14479
14467
  var TOOL_DEFINITIONS = [
@@ -14617,7 +14605,7 @@ var TOOL_DEFINITIONS = [
14617
14605
  ];
14618
14606
  function createMycoServer(config2) {
14619
14607
  const server = new Server(
14620
- { name: "myco", version: getPackageVersion() },
14608
+ { name: "myco", version: getPluginVersion() },
14621
14609
  { capabilities: { tools: {} } }
14622
14610
  );
14623
14611
  const dbPath = path4.join(config2.vaultDir, "index.db");
@@ -14732,4 +14720,4 @@ export {
14732
14720
  createMycoServer,
14733
14721
  main
14734
14722
  };
14735
- //# sourceMappingURL=server-I7MRMIOP.js.map
14723
+ //# sourceMappingURL=server-EBKMQISL.js.map