@goondocks/myco 0.19.0 → 0.19.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.
Files changed (138) hide show
  1. package/dist/{agent-run-EADUYYAS.js → agent-run-BV3ATBWB.js} +6 -6
  2. package/dist/{agent-tasks-GC77JXQB.js → agent-tasks-I5SMLWVL.js} +6 -6
  3. package/dist/{chunk-LLJMDXO2.js → chunk-3J6TUJSV.js} +3 -3
  4. package/dist/{chunk-2CKDAFSX.js → chunk-46AQ7D23.js} +2 -2
  5. package/dist/{chunk-MDEUXYJG.js → chunk-4NIMDUYW.js} +3 -5
  6. package/dist/{chunk-MDEUXYJG.js.map → chunk-4NIMDUYW.js.map} +1 -1
  7. package/dist/{chunk-2LN2BBKA.js → chunk-6DDRJQ4X.js} +2 -2
  8. package/dist/{chunk-YPWF322W.js → chunk-6ZDJXSEO.js} +3 -3
  9. package/dist/{chunk-N77K772N.js → chunk-AOCBCPAP.js} +5 -5
  10. package/dist/chunk-AOCBCPAP.js.map +1 -0
  11. package/dist/{chunk-INWD6AIQ.js → chunk-AULBWINA.js} +2 -2
  12. package/dist/{team-N6TXS2PF.js → chunk-CDM6ZLMZ.js} +246 -61
  13. package/dist/chunk-CDM6ZLMZ.js.map +1 -0
  14. package/dist/{chunk-2DF4OZ2D.js → chunk-GVBVHYOT.js} +2 -2
  15. package/dist/{chunk-2OO3BRFK.js → chunk-HQLPB346.js} +2 -2
  16. package/dist/{chunk-W4VHC2ES.js → chunk-I54KLC6H.js} +3 -1
  17. package/dist/{chunk-W4VHC2ES.js.map → chunk-I54KLC6H.js.map} +1 -1
  18. package/dist/{chunk-CYBC2HZ3.js → chunk-NU74DHV3.js} +3 -3
  19. package/dist/{chunk-3TPD6HEF.js → chunk-OR4XUYBJ.js} +3 -3
  20. package/dist/{chunk-KSXTNYXO.js → chunk-PMT2LSTQ.js} +2 -2
  21. package/dist/{chunk-REN37KYI.js → chunk-PZEAO35P.js} +2 -2
  22. package/dist/{chunk-RXROZBSK.js → chunk-ULH667GT.js} +8 -8
  23. package/dist/{chunk-UW6DGPSV.js → chunk-VNL7KN4V.js} +3 -3
  24. package/dist/{chunk-SCI55NKY.js → chunk-VQF5E4ZX.js} +2 -2
  25. package/dist/{chunk-OZF5EURR.js → chunk-WGIQOJKJ.js} +4 -4
  26. package/dist/{chunk-MS6FDV45.js → chunk-WKNAKQKA.js} +2 -2
  27. package/dist/{chunk-AELJ4PS5.js → chunk-YDU3AHSW.js} +3 -3
  28. package/dist/{cli-X7CFP4YD.js → cli-2BW2PZMP.js} +39 -39
  29. package/dist/{client-YA33HUFY.js → client-HMGTCKRW.js} +4 -4
  30. package/dist/{config-RFB2DJC6.js → config-LVXDVUYY.js} +3 -3
  31. package/dist/{detect-providers-2OQBU4VX.js → detect-providers-CDG6BKHU.js} +4 -4
  32. package/dist/{doctor-FAH7N66M.js → doctor-AK3W5FMN.js} +10 -10
  33. package/dist/{executor-ICTRRUBY.js → executor-YLC7DHBY.js} +13 -13
  34. package/dist/{init-PTJEOTJV.js → init-4FV7ODOK.js} +11 -11
  35. package/dist/{llm-7D2OGDEK.js → llm-INLSGEXY.js} +4 -4
  36. package/dist/{loader-O2JFO2UC.js → loader-2ULW2FZS.js} +3 -3
  37. package/dist/{loader-VPE4RCIF.js → loader-HEGKUTGI.js} +3 -3
  38. package/dist/{main-EIKBLOUL.js → main-IV64U72E.js} +40 -35
  39. package/dist/main-IV64U72E.js.map +1 -0
  40. package/dist/{open-2JCSOLZS.js → open-YSB36HP7.js} +6 -6
  41. package/dist/{post-compact-2HPPWPBI.js → post-compact-5OB4LRLA.js} +6 -6
  42. package/dist/{post-tool-use-TWBBBABS.js → post-tool-use-2UOTDXXS.js} +5 -5
  43. package/dist/{post-tool-use-failure-LIJYR4KL.js → post-tool-use-failure-ZJQGHBMW.js} +6 -6
  44. package/dist/{pre-compact-II2CMNTG.js → pre-compact-WD3FYUZ4.js} +6 -6
  45. package/dist/{provider-check-KEQNQ6LO.js → provider-check-V3NSOLZQ.js} +4 -4
  46. package/dist/{registry-X5FDGYXT.js → registry-XGRKLHEK.js} +4 -4
  47. package/dist/{remove-L5MVYBOY.js → remove-L6T4LMFP.js} +7 -7
  48. package/dist/{resolution-events-MVIZMONR.js → resolution-events-PZFKMZHM.js} +4 -4
  49. package/dist/{restart-VIT3JBD6.js → restart-4UGLWER2.js} +7 -7
  50. package/dist/{search-O6BB5MTO.js → search-MJGMQZ5N.js} +7 -7
  51. package/dist/{server-O3UPJVBR.js → server-MVBNGXLQ.js} +4 -4
  52. package/dist/{session-5JV3DQIK.js → session-GLKHGGPJ.js} +8 -8
  53. package/dist/{session-end-PZ2OXBGG.js → session-end-ISPUQH3X.js} +5 -5
  54. package/dist/{session-start-FDGM56BX.js → session-start-VF26JMWW.js} +10 -10
  55. package/dist/{setup-llm-MQK557BB.js → setup-llm-7RCROQLP.js} +7 -7
  56. package/dist/src/cli.js +1 -1
  57. package/dist/src/daemon/main.js +1 -1
  58. package/dist/src/hooks/post-tool-use.js +1 -1
  59. package/dist/src/hooks/session-end.js +1 -1
  60. package/dist/src/hooks/session-start.js +1 -1
  61. package/dist/src/hooks/stop.js +1 -1
  62. package/dist/src/hooks/user-prompt-submit.js +1 -1
  63. package/dist/src/mcp/server.js +1 -1
  64. package/dist/{stats-2STTARTC.js → stats-N7FYQSAY.js} +8 -8
  65. package/dist/{stop-WNKCMCGO.js → stop-LVRFMSGO.js} +5 -5
  66. package/dist/{stop-failure-6GTOBVTN.js → stop-failure-AXU5LOBN.js} +6 -6
  67. package/dist/{subagent-start-VJF5YKVX.js → subagent-start-KDJIQXQC.js} +6 -6
  68. package/dist/{subagent-stop-UW6HMICY.js → subagent-stop-2T2H2TYE.js} +6 -6
  69. package/dist/{task-completed-U4Q3XXLX.js → task-completed-XHQ3XMYJ.js} +6 -6
  70. package/dist/team-GM2VZOVM.js +22 -0
  71. package/dist/ui/assets/{index-CHIm98OP.js → index-JtMb9fMt.js} +1 -1
  72. package/dist/ui/index.html +1 -1
  73. package/dist/{update-ZYCOWKMD.js → update-R6VHTRQA.js} +7 -7
  74. package/dist/{user-prompt-submit-SOYL4OWF.js → user-prompt-submit-EK2MDBLQ.js} +5 -5
  75. package/dist/{verify-P37PQ4YM.js → verify-NK46D4II.js} +5 -5
  76. package/dist/{version-XAWC277D.js → version-LTTJPC4F.js} +2 -2
  77. package/dist/version-LTTJPC4F.js.map +1 -0
  78. package/package.json +1 -1
  79. package/dist/chunk-EM63ZFKA.js +0 -166
  80. package/dist/chunk-EM63ZFKA.js.map +0 -1
  81. package/dist/chunk-N77K772N.js.map +0 -1
  82. package/dist/main-EIKBLOUL.js.map +0 -1
  83. package/dist/team-N6TXS2PF.js.map +0 -1
  84. /package/dist/{agent-run-EADUYYAS.js.map → agent-run-BV3ATBWB.js.map} +0 -0
  85. /package/dist/{agent-tasks-GC77JXQB.js.map → agent-tasks-I5SMLWVL.js.map} +0 -0
  86. /package/dist/{chunk-LLJMDXO2.js.map → chunk-3J6TUJSV.js.map} +0 -0
  87. /package/dist/{chunk-2CKDAFSX.js.map → chunk-46AQ7D23.js.map} +0 -0
  88. /package/dist/{chunk-2LN2BBKA.js.map → chunk-6DDRJQ4X.js.map} +0 -0
  89. /package/dist/{chunk-YPWF322W.js.map → chunk-6ZDJXSEO.js.map} +0 -0
  90. /package/dist/{chunk-INWD6AIQ.js.map → chunk-AULBWINA.js.map} +0 -0
  91. /package/dist/{chunk-2DF4OZ2D.js.map → chunk-GVBVHYOT.js.map} +0 -0
  92. /package/dist/{chunk-2OO3BRFK.js.map → chunk-HQLPB346.js.map} +0 -0
  93. /package/dist/{chunk-CYBC2HZ3.js.map → chunk-NU74DHV3.js.map} +0 -0
  94. /package/dist/{chunk-3TPD6HEF.js.map → chunk-OR4XUYBJ.js.map} +0 -0
  95. /package/dist/{chunk-KSXTNYXO.js.map → chunk-PMT2LSTQ.js.map} +0 -0
  96. /package/dist/{chunk-REN37KYI.js.map → chunk-PZEAO35P.js.map} +0 -0
  97. /package/dist/{chunk-RXROZBSK.js.map → chunk-ULH667GT.js.map} +0 -0
  98. /package/dist/{chunk-UW6DGPSV.js.map → chunk-VNL7KN4V.js.map} +0 -0
  99. /package/dist/{chunk-SCI55NKY.js.map → chunk-VQF5E4ZX.js.map} +0 -0
  100. /package/dist/{chunk-OZF5EURR.js.map → chunk-WGIQOJKJ.js.map} +0 -0
  101. /package/dist/{chunk-MS6FDV45.js.map → chunk-WKNAKQKA.js.map} +0 -0
  102. /package/dist/{chunk-AELJ4PS5.js.map → chunk-YDU3AHSW.js.map} +0 -0
  103. /package/dist/{cli-X7CFP4YD.js.map → cli-2BW2PZMP.js.map} +0 -0
  104. /package/dist/{client-YA33HUFY.js.map → client-HMGTCKRW.js.map} +0 -0
  105. /package/dist/{config-RFB2DJC6.js.map → config-LVXDVUYY.js.map} +0 -0
  106. /package/dist/{detect-providers-2OQBU4VX.js.map → detect-providers-CDG6BKHU.js.map} +0 -0
  107. /package/dist/{doctor-FAH7N66M.js.map → doctor-AK3W5FMN.js.map} +0 -0
  108. /package/dist/{executor-ICTRRUBY.js.map → executor-YLC7DHBY.js.map} +0 -0
  109. /package/dist/{init-PTJEOTJV.js.map → init-4FV7ODOK.js.map} +0 -0
  110. /package/dist/{llm-7D2OGDEK.js.map → llm-INLSGEXY.js.map} +0 -0
  111. /package/dist/{loader-O2JFO2UC.js.map → loader-2ULW2FZS.js.map} +0 -0
  112. /package/dist/{loader-VPE4RCIF.js.map → loader-HEGKUTGI.js.map} +0 -0
  113. /package/dist/{open-2JCSOLZS.js.map → open-YSB36HP7.js.map} +0 -0
  114. /package/dist/{post-compact-2HPPWPBI.js.map → post-compact-5OB4LRLA.js.map} +0 -0
  115. /package/dist/{post-tool-use-TWBBBABS.js.map → post-tool-use-2UOTDXXS.js.map} +0 -0
  116. /package/dist/{post-tool-use-failure-LIJYR4KL.js.map → post-tool-use-failure-ZJQGHBMW.js.map} +0 -0
  117. /package/dist/{pre-compact-II2CMNTG.js.map → pre-compact-WD3FYUZ4.js.map} +0 -0
  118. /package/dist/{provider-check-KEQNQ6LO.js.map → provider-check-V3NSOLZQ.js.map} +0 -0
  119. /package/dist/{registry-X5FDGYXT.js.map → registry-XGRKLHEK.js.map} +0 -0
  120. /package/dist/{remove-L5MVYBOY.js.map → remove-L6T4LMFP.js.map} +0 -0
  121. /package/dist/{resolution-events-MVIZMONR.js.map → resolution-events-PZFKMZHM.js.map} +0 -0
  122. /package/dist/{restart-VIT3JBD6.js.map → restart-4UGLWER2.js.map} +0 -0
  123. /package/dist/{search-O6BB5MTO.js.map → search-MJGMQZ5N.js.map} +0 -0
  124. /package/dist/{server-O3UPJVBR.js.map → server-MVBNGXLQ.js.map} +0 -0
  125. /package/dist/{session-5JV3DQIK.js.map → session-GLKHGGPJ.js.map} +0 -0
  126. /package/dist/{session-end-PZ2OXBGG.js.map → session-end-ISPUQH3X.js.map} +0 -0
  127. /package/dist/{session-start-FDGM56BX.js.map → session-start-VF26JMWW.js.map} +0 -0
  128. /package/dist/{setup-llm-MQK557BB.js.map → setup-llm-7RCROQLP.js.map} +0 -0
  129. /package/dist/{stats-2STTARTC.js.map → stats-N7FYQSAY.js.map} +0 -0
  130. /package/dist/{stop-WNKCMCGO.js.map → stop-LVRFMSGO.js.map} +0 -0
  131. /package/dist/{stop-failure-6GTOBVTN.js.map → stop-failure-AXU5LOBN.js.map} +0 -0
  132. /package/dist/{subagent-start-VJF5YKVX.js.map → subagent-start-KDJIQXQC.js.map} +0 -0
  133. /package/dist/{subagent-stop-UW6HMICY.js.map → subagent-stop-2T2H2TYE.js.map} +0 -0
  134. /package/dist/{task-completed-U4Q3XXLX.js.map → task-completed-XHQ3XMYJ.js.map} +0 -0
  135. /package/dist/{version-XAWC277D.js.map → team-GM2VZOVM.js.map} +0 -0
  136. /package/dist/{update-ZYCOWKMD.js.map → update-R6VHTRQA.js.map} +0 -0
  137. /package/dist/{user-prompt-submit-SOYL4OWF.js.map → user-prompt-submit-EK2MDBLQ.js.map} +0 -0
  138. /package/dist/{verify-P37PQ4YM.js.map → verify-NK46D4II.js.map} +0 -0
@@ -40,21 +40,21 @@ import {
40
40
  updateSkillRecord,
41
41
  upsertDigestExtract,
42
42
  validateSkillContent
43
- } from "./chunk-RXROZBSK.js";
43
+ } from "./chunk-ULH667GT.js";
44
44
  import {
45
45
  fullTextSearch
46
- } from "./chunk-2DF4OZ2D.js";
47
- import "./chunk-3TPD6HEF.js";
46
+ } from "./chunk-GVBVHYOT.js";
47
+ import "./chunk-OR4XUYBJ.js";
48
48
  import {
49
49
  getDefaultTask,
50
50
  loadSystemPrompt
51
- } from "./chunk-AELJ4PS5.js";
51
+ } from "./chunk-YDU3AHSW.js";
52
52
  import {
53
53
  insertTurn
54
54
  } from "./chunk-QLCD77AN.js";
55
55
  import {
56
56
  insertResolutionEvent
57
- } from "./chunk-SCI55NKY.js";
57
+ } from "./chunk-VQF5E4ZX.js";
58
58
  import {
59
59
  cleanupStagedSkill,
60
60
  readStagedManifest,
@@ -68,18 +68,18 @@ import {
68
68
  insertSpore,
69
69
  listSpores,
70
70
  updateSporeStatus
71
- } from "./chunk-REN37KYI.js";
71
+ } from "./chunk-PZEAO35P.js";
72
72
  import {
73
73
  listSessions,
74
74
  updateSession
75
- } from "./chunk-2OO3BRFK.js";
76
- import "./chunk-INWD6AIQ.js";
75
+ } from "./chunk-HQLPB346.js";
76
+ import "./chunk-AULBWINA.js";
77
77
  import {
78
78
  AGENT_SETTABLE_STATUSES,
79
79
  CANDIDATE_STATUS,
80
80
  createSchema
81
- } from "./chunk-2LN2BBKA.js";
82
- import "./chunk-MDEUXYJG.js";
81
+ } from "./chunk-6DDRJQ4X.js";
82
+ import "./chunk-4NIMDUYW.js";
83
83
  import {
84
84
  getDatabase,
85
85
  initDatabase,
@@ -87,7 +87,7 @@ import {
87
87
  } from "./chunk-MYX5NCRH.js";
88
88
  import {
89
89
  getPluginVersion
90
- } from "./chunk-2CKDAFSX.js";
90
+ } from "./chunk-46AQ7D23.js";
91
91
  import {
92
92
  findPackageRoot
93
93
  } from "./chunk-LPUQPDC2.js";
@@ -99,7 +99,7 @@ import {
99
99
  SEARCH_SIMILARITY_THRESHOLD,
100
100
  TEAM_SOURCE_PREFIX,
101
101
  epochSeconds
102
- } from "./chunk-W4VHC2ES.js";
102
+ } from "./chunk-I54KLC6H.js";
103
103
  import "./chunk-E7NUADTQ.js";
104
104
  import "./chunk-6LQIMRTC.js";
105
105
  import "./chunk-ODXLRR4U.js";
@@ -2403,4 +2403,4 @@ export {
2403
2403
  computeWaves,
2404
2404
  runAgent
2405
2405
  };
2406
- //# sourceMappingURL=executor-ICTRRUBY.js.map
2406
+ //# sourceMappingURL=executor-YLC7DHBY.js.map
@@ -2,20 +2,20 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
2
2
  import {
3
3
  VAULT_GITIGNORE,
4
4
  registerSymbionts
5
- } from "./chunk-N77K772N.js";
5
+ } from "./chunk-AOCBCPAP.js";
6
6
  import {
7
7
  parseStringFlag
8
8
  } from "./chunk-SAKJMNSR.js";
9
9
  import "./chunk-WYOE4IAX.js";
10
- import "./chunk-KSXTNYXO.js";
10
+ import "./chunk-PMT2LSTQ.js";
11
11
  import {
12
12
  createSchema
13
- } from "./chunk-2LN2BBKA.js";
13
+ } from "./chunk-6DDRJQ4X.js";
14
14
  import {
15
15
  MycoConfigSchema,
16
16
  saveConfig,
17
17
  updateConfig
18
- } from "./chunk-MDEUXYJG.js";
18
+ } from "./chunk-4NIMDUYW.js";
19
19
  import {
20
20
  closeDatabase,
21
21
  initDatabase,
@@ -24,10 +24,10 @@ import {
24
24
  import {
25
25
  resolveVaultDir
26
26
  } from "./chunk-5ZT2Q6P5.js";
27
- import "./chunk-CYBC2HZ3.js";
27
+ import "./chunk-NU74DHV3.js";
28
28
  import {
29
29
  getPluginVersion
30
- } from "./chunk-2CKDAFSX.js";
30
+ } from "./chunk-46AQ7D23.js";
31
31
  import {
32
32
  detectSymbionts,
33
33
  loadManifests,
@@ -36,7 +36,7 @@ import {
36
36
  import "./chunk-LPUQPDC2.js";
37
37
  import {
38
38
  DEFAULT_OLLAMA_EMBEDDING_MODEL
39
- } from "./chunk-W4VHC2ES.js";
39
+ } from "./chunk-I54KLC6H.js";
40
40
  import "./chunk-E7NUADTQ.js";
41
41
  import "./chunk-6LQIMRTC.js";
42
42
  import "./chunk-ODXLRR4U.js";
@@ -78,7 +78,7 @@ async function run(args) {
78
78
  };
79
79
  }
80
80
  if (alreadyInitialized && isInteractive) {
81
- const { loadConfig } = await import("./loader-O2JFO2UC.js");
81
+ const { loadConfig } = await import("./loader-2ULW2FZS.js");
82
82
  const config = loadConfig(vaultDir);
83
83
  const agentProvider = config.agent.provider;
84
84
  const embConfig = config.embedding;
@@ -113,7 +113,7 @@ async function run(args) {
113
113
  let existingSymbionts;
114
114
  if (alreadyInitialized && isInteractive) {
115
115
  try {
116
- const { loadConfig } = await import("./loader-O2JFO2UC.js");
116
+ const { loadConfig } = await import("./loader-2ULW2FZS.js");
117
117
  const existing = loadConfig(vaultDir);
118
118
  existingSymbionts = existing.symbionts;
119
119
  } catch {
@@ -155,7 +155,7 @@ async function run(args) {
155
155
  registerSymbionts(selectedManifests, projectRoot, pkgRoot, "Registered");
156
156
  }
157
157
  }
158
- const { DaemonClient } = await import("./client-YA33HUFY.js");
158
+ const { DaemonClient } = await import("./client-HMGTCKRW.js");
159
159
  const client = new DaemonClient(vaultDir);
160
160
  const daemonHealthy = await client.ensureRunning();
161
161
  let daemonUrl = "";
@@ -193,4 +193,4 @@ async function run(args) {
193
193
  export {
194
194
  run
195
195
  };
196
- //# sourceMappingURL=init-PTJEOTJV.js.map
196
+ //# sourceMappingURL=init-4FV7ODOK.js.map
@@ -2,13 +2,13 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
2
2
  import {
3
3
  createEmbeddingProvider,
4
4
  createLlmProvider
5
- } from "./chunk-LLJMDXO2.js";
6
- import "./chunk-KSXTNYXO.js";
7
- import "./chunk-W4VHC2ES.js";
5
+ } from "./chunk-3J6TUJSV.js";
6
+ import "./chunk-PMT2LSTQ.js";
7
+ import "./chunk-I54KLC6H.js";
8
8
  import "./chunk-E7NUADTQ.js";
9
9
  import "./chunk-PZUWP5VK.js";
10
10
  export {
11
11
  createEmbeddingProvider,
12
12
  createLlmProvider
13
13
  };
14
- //# sourceMappingURL=llm-7D2OGDEK.js.map
14
+ //# sourceMappingURL=llm-INLSGEXY.js.map
@@ -7,8 +7,8 @@ import {
7
7
  updateBackupConfig,
8
8
  updateConfig,
9
9
  updateTeamConfig
10
- } from "./chunk-MDEUXYJG.js";
11
- import "./chunk-W4VHC2ES.js";
10
+ } from "./chunk-4NIMDUYW.js";
11
+ import "./chunk-I54KLC6H.js";
12
12
  import "./chunk-E7NUADTQ.js";
13
13
  import "./chunk-6LQIMRTC.js";
14
14
  import "./chunk-ODXLRR4U.js";
@@ -23,4 +23,4 @@ export {
23
23
  updateConfig,
24
24
  updateTeamConfig
25
25
  };
26
- //# sourceMappingURL=loader-O2JFO2UC.js.map
26
+ //# sourceMappingURL=loader-2ULW2FZS.js.map
@@ -7,11 +7,11 @@ import {
7
7
  resolveDefinitionsDir,
8
8
  resolveEffectiveConfig,
9
9
  taskFromParsed
10
- } from "./chunk-AELJ4PS5.js";
10
+ } from "./chunk-YDU3AHSW.js";
11
11
  import "./chunk-POEPHBQK.js";
12
12
  import "./chunk-MYX5NCRH.js";
13
13
  import "./chunk-LPUQPDC2.js";
14
- import "./chunk-W4VHC2ES.js";
14
+ import "./chunk-I54KLC6H.js";
15
15
  import "./chunk-E7NUADTQ.js";
16
16
  import "./chunk-6LQIMRTC.js";
17
17
  import "./chunk-U6PF3YII.js";
@@ -25,4 +25,4 @@ export {
25
25
  resolveEffectiveConfig,
26
26
  taskFromParsed
27
27
  };
28
- //# sourceMappingURL=loader-VPE4RCIF.js.map
28
+ //# sourceMappingURL=loader-HEGKUTGI.js.map
@@ -15,18 +15,19 @@ import {
15
15
  getEmbeddingQueueDepth,
16
16
  getUnembedded,
17
17
  markEmbedded
18
- } from "./chunk-OZF5EURR.js";
18
+ } from "./chunk-WGIQOJKJ.js";
19
19
  import {
20
+ getTeamPackageVersion,
20
21
  loadSecrets,
21
22
  readJsonConfig,
22
23
  readSecrets,
23
- resolveHomeConfigPath,
24
+ resolveVaultConfigPath,
24
25
  writeSecret
25
- } from "./chunk-EM63ZFKA.js";
26
+ } from "./chunk-CDM6ZLMZ.js";
26
27
  import {
27
28
  Anthropic,
28
29
  createEmbeddingProvider
29
- } from "./chunk-LLJMDXO2.js";
30
+ } from "./chunk-3J6TUJSV.js";
30
31
  import {
31
32
  buildTaskInstruction,
32
33
  closeOpenBatches,
@@ -74,24 +75,24 @@ import {
74
75
  setResponseSummary,
75
76
  updateCandidate,
76
77
  updateNotificationStatus
77
- } from "./chunk-RXROZBSK.js";
78
+ } from "./chunk-ULH667GT.js";
78
79
  import {
79
80
  fullTextSearch,
80
81
  hydrateSearchResults
81
- } from "./chunk-2DF4OZ2D.js";
82
+ } from "./chunk-GVBVHYOT.js";
82
83
  import {
83
84
  copyTaskToUser,
84
85
  deleteUserTask,
85
86
  loadAllTasks,
86
87
  validateTaskName,
87
88
  writeUserTask
88
- } from "./chunk-3TPD6HEF.js";
89
+ } from "./chunk-OR4XUYBJ.js";
89
90
  import {
90
91
  AgentTaskSchema,
91
92
  registerAgent,
92
93
  resolveDefinitionsDir,
93
94
  taskFromParsed
94
- } from "./chunk-AELJ4PS5.js";
95
+ } from "./chunk-YDU3AHSW.js";
95
96
  import {
96
97
  listTurnsByRun
97
98
  } from "./chunk-QLCD77AN.js";
@@ -108,23 +109,23 @@ import {
108
109
  listBufferSessionIds
109
110
  } from "./chunk-V7XG6V6C.js";
110
111
  import "./chunk-POEPHBQK.js";
111
- import "./chunk-N77K772N.js";
112
+ import "./chunk-AOCBCPAP.js";
112
113
  import "./chunk-SAKJMNSR.js";
113
114
  import "./chunk-WYOE4IAX.js";
114
115
  import {
115
116
  checkLocalProvider
116
- } from "./chunk-YPWF322W.js";
117
+ } from "./chunk-6ZDJXSEO.js";
117
118
  import {
118
119
  LmStudioBackend,
119
120
  OllamaBackend
120
- } from "./chunk-KSXTNYXO.js";
121
+ } from "./chunk-PMT2LSTQ.js";
121
122
  import {
122
123
  countSpores,
123
124
  getSpore,
124
125
  insertSpore,
125
126
  listSpores,
126
127
  updateSporeStatus
127
- } from "./chunk-REN37KYI.js";
128
+ } from "./chunk-PZEAO35P.js";
128
129
  import {
129
130
  closeSession,
130
131
  countSessions,
@@ -135,7 +136,7 @@ import {
135
136
  listSessions,
136
137
  updateSession,
137
138
  upsertSession
138
- } from "./chunk-2OO3BRFK.js";
139
+ } from "./chunk-HQLPB346.js";
139
140
  import {
140
141
  backfillUnsynced,
141
142
  countDeadLettered,
@@ -151,13 +152,13 @@ import {
151
152
  pruneOld,
152
153
  retryDeadLettered,
153
154
  syncRow
154
- } from "./chunk-INWD6AIQ.js";
155
+ } from "./chunk-AULBWINA.js";
155
156
  import {
156
157
  EMBEDDING_DIMENSIONS,
157
158
  REST_SETTABLE_STATUSES,
158
159
  SCHEMA_VERSION,
159
160
  createSchema
160
- } from "./chunk-2LN2BBKA.js";
161
+ } from "./chunk-6DDRJQ4X.js";
161
162
  import {
162
163
  CONFIG_FILENAME,
163
164
  MycoConfigSchema,
@@ -166,7 +167,7 @@ import {
166
167
  updateBackupConfig,
167
168
  updateConfig,
168
169
  updateTeamConfig
169
- } from "./chunk-MDEUXYJG.js";
170
+ } from "./chunk-4NIMDUYW.js";
170
171
  import {
171
172
  closeDatabase,
172
173
  getDatabase,
@@ -175,10 +176,10 @@ import {
175
176
  } from "./chunk-MYX5NCRH.js";
176
177
  import {
177
178
  resolveCliEntryPath
178
- } from "./chunk-CYBC2HZ3.js";
179
+ } from "./chunk-NU74DHV3.js";
179
180
  import {
180
181
  getPluginVersion
181
- } from "./chunk-2CKDAFSX.js";
182
+ } from "./chunk-46AQ7D23.js";
182
183
  import {
183
184
  loadManifests
184
185
  } from "./chunk-UVKQ62II.js";
@@ -238,7 +239,7 @@ import {
238
239
  USER_TASK_SOURCE,
239
240
  epochSeconds,
240
241
  estimateTokens
241
- } from "./chunk-W4VHC2ES.js";
242
+ } from "./chunk-I54KLC6H.js";
242
243
  import {
243
244
  LOG_KINDS,
244
245
  kindToComponent
@@ -2600,10 +2601,10 @@ var TeamSyncClient = class _TeamSyncClient {
2600
2601
  };
2601
2602
 
2602
2603
  // src/daemon/api/team-connect.ts
2603
- var TEAM_CONFIG_DIR = ".myco-team";
2604
+ var TEAM_CONFIG_DIR = "team";
2604
2605
  var TEAM_CONFIG_FILE = "config.json";
2605
- function readInstalledTeamPackageVersion() {
2606
- const config = readJsonConfig(resolveHomeConfigPath(TEAM_CONFIG_DIR, TEAM_CONFIG_FILE));
2606
+ function readCachedTeamPackageVersion(vaultDir) {
2607
+ const config = readJsonConfig(resolveVaultConfigPath(vaultDir, TEAM_CONFIG_DIR, TEAM_CONFIG_FILE));
2607
2608
  return config?.package_version?.trim() || null;
2608
2609
  }
2609
2610
  function createTeamHandlers(deps) {
@@ -2660,13 +2661,16 @@ function createTeamHandlers(deps) {
2660
2661
  const client = deps.getTeamClient();
2661
2662
  const secrets = readSecrets(vaultDir);
2662
2663
  const hasApiKey = Boolean(secrets[TEAM_API_KEY_SECRET]);
2663
- const installedTeamPackageVersion = readInstalledTeamPackageVersion();
2664
+ const localTeamPackageVersion = getTeamPackageVersion();
2665
+ const cachedTeamPackageVersion = readCachedTeamPackageVersion(vaultDir);
2666
+ let deployedWorkerVersion = null;
2664
2667
  let healthy = false;
2665
2668
  let healthError;
2666
2669
  if (client && config.team.enabled) {
2667
2670
  try {
2668
- await client.health();
2671
+ const health = await client.health();
2669
2672
  healthy = true;
2673
+ deployedWorkerVersion = health.package_version?.trim() || null;
2670
2674
  } catch (err) {
2671
2675
  healthError = err.message;
2672
2676
  }
@@ -2698,9 +2702,10 @@ function createTeamHandlers(deps) {
2698
2702
  dead_letter_count: deadLetterCount,
2699
2703
  machine_id: machineId,
2700
2704
  package_version: getPluginVersion(),
2701
- installed_team_package_version: installedTeamPackageVersion,
2702
- deployed_worker_version: config.team.deployed_worker_version ?? null,
2703
- worker_update_available: config.team.enabled && Boolean(installedTeamPackageVersion) && config.team.deployed_worker_version !== installedTeamPackageVersion,
2705
+ local_team_package_version: localTeamPackageVersion,
2706
+ cached_team_package_version: cachedTeamPackageVersion,
2707
+ deployed_worker_version: deployedWorkerVersion,
2708
+ worker_update_available: config.team.enabled && Boolean(localTeamPackageVersion) && Boolean(deployedWorkerVersion) && deployedWorkerVersion !== localTeamPackageVersion,
2704
2709
  collective_connected: collectiveStatus?.connected ?? false,
2705
2710
  collective_url: collectiveStatus?.collective_url ?? null,
2706
2711
  collective_project_id: collectiveStatus?.project_id ?? null,
@@ -2724,7 +2729,7 @@ function createTeamHandlers(deps) {
2724
2729
  return { body: { retried: count } };
2725
2730
  }
2726
2731
  async function handleUpgradeWorker(_req) {
2727
- const { upgradeWorker } = await import("./team-N6TXS2PF.js");
2732
+ const { upgradeWorker } = await import("./team-GM2VZOVM.js");
2728
2733
  logger.info("team-sync.upgrade.start", "Starting worker upgrade");
2729
2734
  const result = upgradeWorker(vaultDir);
2730
2735
  if (!result.success) {
@@ -6171,7 +6176,7 @@ async function registerScheduledTasks(powerManager, deps) {
6171
6176
  logger.info(LOG_KINDS.AGENT_RUN, "Scheduled agent tasks disabled globally (agent.scheduled_tasks_enabled: false)");
6172
6177
  return;
6173
6178
  }
6174
- const { loadAllTasks: loadAllTasks2 } = await import("./registry-X5FDGYXT.js");
6179
+ const { loadAllTasks: loadAllTasks2 } = await import("./registry-XGRKLHEK.js");
6175
6180
  const allTasks = Array.from(loadAllTasks2(definitionsDir, vaultDir).values());
6176
6181
  const taskAgentMap = /* @__PURE__ */ new Map();
6177
6182
  for (const task of allTasks) {
@@ -6197,7 +6202,7 @@ async function registerScheduledTasks(powerManager, deps) {
6197
6202
  else runningTasks.delete(name);
6198
6203
  },
6199
6204
  runTask: async (taskName) => {
6200
- const { runAgent } = await import("./executor-ICTRRUBY.js");
6205
+ const { runAgent } = await import("./executor-YLC7DHBY.js");
6201
6206
  const taskConfig = config.agent.tasks?.[taskName];
6202
6207
  const projectRoot = resolve(vaultDir, "..");
6203
6208
  const built = buildTaskInstruction(taskName, taskConfig?.params, taskAgentMap.get(taskName), projectRoot, embeddingManager);
@@ -6367,7 +6372,7 @@ function createMcpProxyHandlers(deps) {
6367
6372
  name: USER_AGENT_NAME,
6368
6373
  created_at: now
6369
6374
  });
6370
- const { insertResolutionEvent } = await import("./resolution-events-MVIZMONR.js");
6375
+ const { insertResolutionEvent } = await import("./resolution-events-PZFKMZHM.js");
6371
6376
  const resolutionId = `res-${randomBytes(RESOLUTION_ID_RANDOM_BYTES).toString("hex")}`;
6372
6377
  insertResolutionEvent({
6373
6378
  id: resolutionId,
@@ -6495,7 +6500,7 @@ function createAgentRunHandlers(deps) {
6495
6500
  };
6496
6501
  }
6497
6502
  }
6498
- const { runAgent } = await import("./executor-ICTRRUBY.js");
6503
+ const { runAgent } = await import("./executor-YLC7DHBY.js");
6499
6504
  const resultPromise = runAgent(vaultDir, {
6500
6505
  task,
6501
6506
  instruction,
@@ -7318,7 +7323,7 @@ function createStopProcessor(deps) {
7318
7323
  if (config.agent.summary_batch_interval <= 0) return;
7319
7324
  if (config.agent.event_tasks_enabled === false) return;
7320
7325
  try {
7321
- const { runAgent } = await import("./executor-ICTRRUBY.js");
7326
+ const { runAgent } = await import("./executor-YLC7DHBY.js");
7322
7327
  runAgent(vaultDir, {
7323
7328
  task: "title-summary",
7324
7329
  instruction: `Process session ${sessionId} only`,
@@ -7926,7 +7931,7 @@ async function main() {
7926
7931
  const databaseManager = new DatabaseMaintenanceManager(vaultDbPath(vaultDir), vaultDir, logger);
7927
7932
  let definitionsDir;
7928
7933
  try {
7929
- const { registerBuiltInAgentsAndTasks, resolveDefinitionsDir: resolveDefinitionsDir2 } = await import("./loader-VPE4RCIF.js");
7934
+ const { registerBuiltInAgentsAndTasks, resolveDefinitionsDir: resolveDefinitionsDir2 } = await import("./loader-HEGKUTGI.js");
7930
7935
  definitionsDir = resolveDefinitionsDir2();
7931
7936
  await registerBuiltInAgentsAndTasks(definitionsDir, vaultDir);
7932
7937
  logger.info(LOG_KINDS.AGENT_TASK, "Built-in agents and tasks registered");
@@ -8244,4 +8249,4 @@ export {
8244
8249
  handleUserPrompt,
8245
8250
  main
8246
8251
  };
8247
- //# sourceMappingURL=main-EIKBLOUL.js.map
8252
+ //# sourceMappingURL=main-IV64U72E.js.map