agentix-cli 0.136.1 → 0.137.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.
Files changed (130) hide show
  1. package/apps/mac-voice/Sources/AgentXVoice/AgentClient.swift +11 -1
  2. package/apps/mac-voice/Sources/AgentXVoice/Character.swift +18 -5
  3. package/apps/mac-voice/Sources/AgentXVoice/Floor.swift +46 -0
  4. package/apps/mac-voice/Sources/AgentXVoice/FloorWatcher.swift +78 -0
  5. package/apps/mac-voice/Sources/AgentXVoice/Panel.swift +12 -1
  6. package/apps/mac-voice/Sources/AgentXVoice/StatusMenu.swift +8 -0
  7. package/apps/mac-voice/Sources/AgentXVoice/main.swift +89 -10
  8. package/dist/{App-D6W6IV2L.js → App-MCYZBCMQ.js} +2 -2
  9. package/dist/{ChatApp-X7TNCFGW.js → ChatApp-7YXDEW3H.js} +2 -2
  10. package/dist/{absorb-eval-COPVH2M2.js → absorb-eval-L72I7PKM.js} +2 -2
  11. package/dist/{agent-TMTYLAOV.js → agent-TPREVZGH.js} +2 -2
  12. package/dist/{board-dashboard-OSI4X5ZJ.js → board-dashboard-3VBZAKYM.js} +4 -4
  13. package/dist/{board-dashboard-OSI4X5ZJ.js.map → board-dashboard-3VBZAKYM.js.map} +1 -1
  14. package/dist/{chunk-FRTELYZ4.js → chunk-264762O7.js} +2 -2
  15. package/dist/{chunk-4AFA6LQZ.js → chunk-44N5HXYE.js} +2 -2
  16. package/dist/{chunk-EVTTAM7S.js → chunk-5CEBOUBG.js} +2 -2
  17. package/dist/{chunk-HZZW35FY.js → chunk-5EIO6S3S.js} +2 -2
  18. package/dist/{chunk-XXIZGNLT.js → chunk-64ZACYOF.js} +233 -233
  19. package/dist/chunk-64ZACYOF.js.map +1 -0
  20. package/dist/chunk-6BWVJ7UJ.js +54 -0
  21. package/dist/chunk-6BWVJ7UJ.js.map +1 -0
  22. package/dist/{chunk-5X37CXJF.js → chunk-APIANBXV.js} +2 -2
  23. package/dist/{chunk-5J5USW2O.js → chunk-AYYEY5UJ.js} +2 -2
  24. package/dist/{chunk-WRJFKA43.js → chunk-DX6RYYGP.js} +2 -2
  25. package/dist/{chunk-FQLSV2C4.js → chunk-EFUPLTQ3.js} +2 -2
  26. package/dist/{chunk-HEJTE7OC.js → chunk-ETOOT5KD.js} +2 -2
  27. package/dist/{chunk-PV623BLN.js → chunk-GW4LKNQT.js} +3 -3
  28. package/dist/{chunk-OW5EXDVY.js → chunk-HSX5LMXD.js} +2 -2
  29. package/dist/{chunk-KZXQD6ZK.js → chunk-I5QKJH7V.js} +2 -2
  30. package/dist/{chunk-63LV77EG.js → chunk-JXIMGK7Z.js} +2 -2
  31. package/dist/{chunk-G26UHWS4.js → chunk-KEJGWFGS.js} +2 -2
  32. package/dist/{chunk-66DPMVUC.js → chunk-KOKPK3OL.js} +2 -2
  33. package/dist/{chunk-QW3L5IIC.js → chunk-LGM22AOB.js} +2 -2
  34. package/dist/{chunk-VA24JS2S.js → chunk-OLZL32KG.js} +2 -2
  35. package/dist/{chunk-QHZFMO6M.js → chunk-P6PTY2NP.js} +2 -2
  36. package/dist/{chunk-QHZFMO6M.js.map → chunk-P6PTY2NP.js.map} +1 -1
  37. package/dist/{chunk-M5AHI2PZ.js → chunk-PLCK4ZAG.js} +2 -2
  38. package/dist/{chunk-NVZ66ITP.js → chunk-PYR7GKK7.js} +5 -5
  39. package/dist/{chunk-NVZ66ITP.js.map → chunk-PYR7GKK7.js.map} +1 -1
  40. package/dist/{chunk-GL3H7XMI.js → chunk-QKILE72V.js} +2 -2
  41. package/dist/{chunk-AK3XOA5N.js → chunk-QQ67J76O.js} +2 -2
  42. package/dist/{chunk-IPMXIPTS.js → chunk-RX2ISTNT.js} +2 -2
  43. package/dist/{chunk-EGDY762K.js → chunk-ZX2NJGIU.js} +2 -2
  44. package/dist/{chunk-EGDY762K.js.map → chunk-ZX2NJGIU.js.map} +1 -1
  45. package/dist/cli.js +1 -1
  46. package/dist/{client-SMOWSRJY.js → client-G2QA4TCG.js} +2 -2
  47. package/dist/{config-OGUDWYAA.js → config-OD5W6IQE.js} +2 -2
  48. package/dist/{config-mutate-BH27TMWK.js → config-mutate-JEXLMR2L.js} +2 -2
  49. package/dist/config-mutator-4FKROX3O.js +2 -0
  50. package/dist/{contributions-H6T65TCY.js → contributions-UXLHUMF2.js} +2 -2
  51. package/dist/{doctor-ZOXHT7ZQ.js → doctor-DO2WN4TS.js} +2 -2
  52. package/dist/{follow-up-tool-GUBBXNEZ.js → follow-up-tool-QPNJD3HR.js} +2 -2
  53. package/dist/{hub-7AMS6ADP.js → hub-RFE766AM.js} +2 -2
  54. package/dist/index.d.ts +66 -35
  55. package/dist/index.js +1 -1
  56. package/dist/{program-IUUHETTV.js → program-QENG5KI7.js} +208 -208
  57. package/dist/program-QENG5KI7.js.map +1 -0
  58. package/dist/{promote-VCNVE5JD.js → promote-FJ3EK2J6.js} +2 -2
  59. package/dist/{query-6G27CBZQ.js → query-KYA6YYUU.js} +2 -2
  60. package/dist/{query-settings-G4M75LVQ.js → query-settings-P3UOGMAQ.js} +2 -2
  61. package/dist/{registry-MMNG5VZ6.js → registry-U4S4XXUZ.js} +2 -2
  62. package/dist/{request-planner-T3VCZVVQ.js → request-planner-SYVDD4PZ.js} +2 -2
  63. package/dist/{review-candidates-C3O3CENL.js → review-candidates-QUIX4AK7.js} +2 -2
  64. package/dist/{routing-LD35TJM5.js → routing-MDZOHYYH.js} +2 -2
  65. package/dist/schedule-tool-DKBPBQ3F.js +2 -0
  66. package/dist/{scheduler-I3QB4GI3.js → scheduler-76IIRAP7.js} +2 -2
  67. package/dist/{seat-4Y3EW3KU.js → seat-TV5SK2E7.js} +2 -2
  68. package/dist/{select-LZKN3FER.js → select-HKRDVQNW.js} +2 -2
  69. package/dist/{set-enabled-WSTOHJDE.js → set-enabled-I2V3PXOA.js} +2 -2
  70. package/dist/{tool-AKXO2EJU.js → tool-5ZFM6NSO.js} +2 -2
  71. package/dist/{tool-NLMIUOHR.js → tool-J7PYS4NF.js} +2 -2
  72. package/dist/{wiki-ZQMDUXTE.js → wiki-3VG33ZZB.js} +2 -2
  73. package/dist/wiki-enrich-2FNORKEQ.js +2 -0
  74. package/package.json +1 -1
  75. package/dist/chunk-54OORW5I.js +0 -54
  76. package/dist/chunk-54OORW5I.js.map +0 -1
  77. package/dist/chunk-XXIZGNLT.js.map +0 -1
  78. package/dist/config-mutator-Q62AS2TR.js +0 -2
  79. package/dist/program-IUUHETTV.js.map +0 -1
  80. package/dist/schedule-tool-46TVGEYU.js +0 -2
  81. package/dist/wiki-enrich-NPNOSTRM.js +0 -2
  82. /package/dist/{App-D6W6IV2L.js.map → App-MCYZBCMQ.js.map} +0 -0
  83. /package/dist/{ChatApp-X7TNCFGW.js.map → ChatApp-7YXDEW3H.js.map} +0 -0
  84. /package/dist/{absorb-eval-COPVH2M2.js.map → absorb-eval-L72I7PKM.js.map} +0 -0
  85. /package/dist/{agent-TMTYLAOV.js.map → agent-TPREVZGH.js.map} +0 -0
  86. /package/dist/{chunk-FRTELYZ4.js.map → chunk-264762O7.js.map} +0 -0
  87. /package/dist/{chunk-4AFA6LQZ.js.map → chunk-44N5HXYE.js.map} +0 -0
  88. /package/dist/{chunk-EVTTAM7S.js.map → chunk-5CEBOUBG.js.map} +0 -0
  89. /package/dist/{chunk-HZZW35FY.js.map → chunk-5EIO6S3S.js.map} +0 -0
  90. /package/dist/{chunk-5X37CXJF.js.map → chunk-APIANBXV.js.map} +0 -0
  91. /package/dist/{chunk-5J5USW2O.js.map → chunk-AYYEY5UJ.js.map} +0 -0
  92. /package/dist/{chunk-WRJFKA43.js.map → chunk-DX6RYYGP.js.map} +0 -0
  93. /package/dist/{chunk-FQLSV2C4.js.map → chunk-EFUPLTQ3.js.map} +0 -0
  94. /package/dist/{chunk-HEJTE7OC.js.map → chunk-ETOOT5KD.js.map} +0 -0
  95. /package/dist/{chunk-PV623BLN.js.map → chunk-GW4LKNQT.js.map} +0 -0
  96. /package/dist/{chunk-OW5EXDVY.js.map → chunk-HSX5LMXD.js.map} +0 -0
  97. /package/dist/{chunk-KZXQD6ZK.js.map → chunk-I5QKJH7V.js.map} +0 -0
  98. /package/dist/{chunk-63LV77EG.js.map → chunk-JXIMGK7Z.js.map} +0 -0
  99. /package/dist/{chunk-G26UHWS4.js.map → chunk-KEJGWFGS.js.map} +0 -0
  100. /package/dist/{chunk-66DPMVUC.js.map → chunk-KOKPK3OL.js.map} +0 -0
  101. /package/dist/{chunk-QW3L5IIC.js.map → chunk-LGM22AOB.js.map} +0 -0
  102. /package/dist/{chunk-VA24JS2S.js.map → chunk-OLZL32KG.js.map} +0 -0
  103. /package/dist/{chunk-M5AHI2PZ.js.map → chunk-PLCK4ZAG.js.map} +0 -0
  104. /package/dist/{chunk-GL3H7XMI.js.map → chunk-QKILE72V.js.map} +0 -0
  105. /package/dist/{chunk-AK3XOA5N.js.map → chunk-QQ67J76O.js.map} +0 -0
  106. /package/dist/{chunk-IPMXIPTS.js.map → chunk-RX2ISTNT.js.map} +0 -0
  107. /package/dist/{client-SMOWSRJY.js.map → client-G2QA4TCG.js.map} +0 -0
  108. /package/dist/{config-OGUDWYAA.js.map → config-OD5W6IQE.js.map} +0 -0
  109. /package/dist/{config-mutate-BH27TMWK.js.map → config-mutate-JEXLMR2L.js.map} +0 -0
  110. /package/dist/{config-mutator-Q62AS2TR.js.map → config-mutator-4FKROX3O.js.map} +0 -0
  111. /package/dist/{contributions-H6T65TCY.js.map → contributions-UXLHUMF2.js.map} +0 -0
  112. /package/dist/{doctor-ZOXHT7ZQ.js.map → doctor-DO2WN4TS.js.map} +0 -0
  113. /package/dist/{follow-up-tool-GUBBXNEZ.js.map → follow-up-tool-QPNJD3HR.js.map} +0 -0
  114. /package/dist/{hub-7AMS6ADP.js.map → hub-RFE766AM.js.map} +0 -0
  115. /package/dist/{promote-VCNVE5JD.js.map → promote-FJ3EK2J6.js.map} +0 -0
  116. /package/dist/{query-6G27CBZQ.js.map → query-KYA6YYUU.js.map} +0 -0
  117. /package/dist/{query-settings-G4M75LVQ.js.map → query-settings-P3UOGMAQ.js.map} +0 -0
  118. /package/dist/{registry-MMNG5VZ6.js.map → registry-U4S4XXUZ.js.map} +0 -0
  119. /package/dist/{request-planner-T3VCZVVQ.js.map → request-planner-SYVDD4PZ.js.map} +0 -0
  120. /package/dist/{review-candidates-C3O3CENL.js.map → review-candidates-QUIX4AK7.js.map} +0 -0
  121. /package/dist/{routing-LD35TJM5.js.map → routing-MDZOHYYH.js.map} +0 -0
  122. /package/dist/{schedule-tool-46TVGEYU.js.map → schedule-tool-DKBPBQ3F.js.map} +0 -0
  123. /package/dist/{scheduler-I3QB4GI3.js.map → scheduler-76IIRAP7.js.map} +0 -0
  124. /package/dist/{seat-4Y3EW3KU.js.map → seat-TV5SK2E7.js.map} +0 -0
  125. /package/dist/{select-LZKN3FER.js.map → select-HKRDVQNW.js.map} +0 -0
  126. /package/dist/{set-enabled-WSTOHJDE.js.map → set-enabled-I2V3PXOA.js.map} +0 -0
  127. /package/dist/{tool-AKXO2EJU.js.map → tool-5ZFM6NSO.js.map} +0 -0
  128. /package/dist/{tool-NLMIUOHR.js.map → tool-J7PYS4NF.js.map} +0 -0
  129. /package/dist/{wiki-ZQMDUXTE.js.map → wiki-3VG33ZZB.js.map} +0 -0
  130. /package/dist/{wiki-enrich-NPNOSTRM.js.map → wiki-enrich-2FNORKEQ.js.map} +0 -0
package/dist/cli.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import{b as o}from"./chunk-JXF54PT7.js";import"./chunk-QIJLFPWE.js";var s=o(process.versions.node);s&&(console.error(s),process.exit(1));var{buildProgram:r}=await import("./program-IUUHETTV.js"),{installCliSignalExit:i}=await import("./signal-exit-WL7G3EEZ.js");i();var e=await r();process.argv.slice(2).length===0?e.outputHelp():e.parse();
2
+ import{b as o}from"./chunk-JXF54PT7.js";import"./chunk-QIJLFPWE.js";var s=o(process.versions.node);s&&(console.error(s),process.exit(1));var{buildProgram:r}=await import("./program-QENG5KI7.js"),{installCliSignalExit:i}=await import("./signal-exit-WL7G3EEZ.js");i();var e=await r();process.argv.slice(2).length===0?e.outputHelp():e.parse();
3
3
  //# sourceMappingURL=cli.js.map
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f,g}from"./chunk-5X37CXJF.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{b as fetchAgents,d as fetchCrons,c as fetchProcesses,e as killProcess,a as resolveConn,f as sendTask,g as streamTask};
2
- //# sourceMappingURL=client-SMOWSRJY.js.map
1
+ import{a,b,c,d,e,f,g}from"./chunk-APIANBXV.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{b as fetchAgents,d as fetchCrons,c as fetchProcesses,e as killProcess,a as resolveConn,f as sendTask,g as streamTask};
2
+ //# sourceMappingURL=client-G2QA4TCG.js.map
@@ -1,2 +1,2 @@
1
- import{ca as a,da as b,ea as c,fa as d,ga as e,ha as f,ia as g,ja as h,ka as i,la as j,ma as k,na as l,oa as m,pa as n,qa as o,ra as p,sa as q,ta as r,ua as s,va as t,xa as u}from"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";u();export{a as INTEGRATION_KINDS,p as WIKI_CONTRIBUTE_JOB,q as WIKI_CONTRIBUTE_MERGE_JOB,s as WIKI_SUMMARIZE_JOB,k as approvalsConfigSchema,e as callsSchema,c as cameraBotSchema,l as daemonConfigSchema,b as eventSubscriptionSchema,m as expandEnvVars,d as isCronExpression,n as loadDaemonConfig,i as membersConfigSchema,h as peopleConfigSchema,g as personSchema,j as requestStatusConfigSchema,f as requestsConfigSchema,o as validateWorkspaces,r as withContributionJobs,t as withSummariesJob};
2
- //# sourceMappingURL=config-OGUDWYAA.js.map
1
+ import{Aa as u,fa as a,ga as b,ha as c,ia as d,ja as e,ka as f,la as g,ma as h,na as i,oa as j,pa as k,qa as l,ra as m,sa as n,ta as o,ua as p,va as q,wa as r,xa as s,ya as t}from"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";u();export{a as INTEGRATION_KINDS,p as WIKI_CONTRIBUTE_JOB,q as WIKI_CONTRIBUTE_MERGE_JOB,s as WIKI_SUMMARIZE_JOB,k as approvalsConfigSchema,e as callsSchema,c as cameraBotSchema,l as daemonConfigSchema,b as eventSubscriptionSchema,m as expandEnvVars,d as isCronExpression,n as loadDaemonConfig,i as membersConfigSchema,h as peopleConfigSchema,g as personSchema,j as requestStatusConfigSchema,f as requestsConfigSchema,o as validateWorkspaces,r as withContributionJobs,t as withSummariesJob};
2
+ //# sourceMappingURL=config-OD5W6IQE.js.map
@@ -1,2 +1,2 @@
1
- import{a,b}from"./chunk-VA24JS2S.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{a as mutateAgentxConfig,b as writeAgentxConfig};
2
- //# sourceMappingURL=config-mutate-BH27TMWK.js.map
1
+ import{a,b}from"./chunk-OLZL32KG.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{a as mutateAgentxConfig,b as writeAgentxConfig};
2
+ //# sourceMappingURL=config-mutate-JEXLMR2L.js.map
@@ -0,0 +1,2 @@
1
+ import{a,b,c,d,e}from"./chunk-DX6RYYGP.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{b as applyConfigMutation,a as findConfigPath,d as getAtPath,c as setAtPath,e as unsetAtPath};
2
+ //# sourceMappingURL=config-mutator-4FKROX3O.js.map
@@ -1,4 +1,4 @@
1
- import{a as ee}from"./chunk-EVTTAM7S.js";import"./chunk-KZXQD6ZK.js";import{f as Q,k as V}from"./chunk-QSKG754X.js";import{b as O}from"./chunk-PE5V2LI7.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-OWNQ2FD4.js";import{b as X}from"./chunk-KEXBEUSU.js";import"./chunk-PV623BLN.js";import"./chunk-SKSYII3K.js";import"./chunk-OW5EXDVY.js";import"./chunk-WPNRDEHW.js";import"./chunk-MWNCS57L.js";import"./chunk-4LWFJ4MZ.js";import"./chunk-BIJHMWXK.js";import"./chunk-66DPMVUC.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-6TURWSMN.js";import"./chunk-QD6IICK7.js";import{b as N,c as H}from"./chunk-QOYAX2FT.js";import"./chunk-2PJKGZWP.js";import"./chunk-7I7IEX4S.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";import{createHash as le}from"crypto";import{existsSync as z,mkdirSync as ne,readdirSync as re,readFileSync as ge,renameSync as se,writeFileSync as pe}from"fs";import{resolve as w}from"path";var _={maxPatches:30,maxCostUsd:.5,maxItems:60},he=12,fe=2e3,me=1500,M=8,U=300,be=12,B="## Checked facts";function S(n){return w(n,"_contributions")}function E(n,r){if(!z(n))return r;try{return JSON.parse(ge(n,"utf-8"))}catch(t){throw new Error(`${n} is not valid JSON: ${t.message}`)}}function L(n,r){ne(w(n,".."),{recursive:!0});let t=`${n}.${process.pid}.tmp`;pe(t,`${JSON.stringify(r,null,2)}
1
+ import{a as ee}from"./chunk-5CEBOUBG.js";import"./chunk-I5QKJH7V.js";import{f as Q,k as V}from"./chunk-QSKG754X.js";import{b as O}from"./chunk-PE5V2LI7.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-OWNQ2FD4.js";import{b as X}from"./chunk-KEXBEUSU.js";import"./chunk-GW4LKNQT.js";import"./chunk-SKSYII3K.js";import"./chunk-HSX5LMXD.js";import"./chunk-WPNRDEHW.js";import"./chunk-MWNCS57L.js";import"./chunk-4LWFJ4MZ.js";import"./chunk-BIJHMWXK.js";import"./chunk-KOKPK3OL.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-6TURWSMN.js";import"./chunk-QD6IICK7.js";import{b as N,c as H}from"./chunk-QOYAX2FT.js";import"./chunk-2PJKGZWP.js";import"./chunk-7I7IEX4S.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";import{createHash as le}from"crypto";import{existsSync as z,mkdirSync as ne,readdirSync as re,readFileSync as ge,renameSync as se,writeFileSync as pe}from"fs";import{resolve as w}from"path";var _={maxPatches:30,maxCostUsd:.5,maxItems:60},he=12,fe=2e3,me=1500,M=8,U=300,be=12,B="## Checked facts";function S(n){return w(n,"_contributions")}function E(n,r){if(!z(n))return r;try{return JSON.parse(ge(n,"utf-8"))}catch(t){throw new Error(`${n} is not valid JSON: ${t.message}`)}}function L(n,r){ne(w(n,".."),{recursive:!0});let t=`${n}.${process.pid}.tmp`;pe(t,`${JSON.stringify(r,null,2)}
2
2
  `),se(t,n)}function ie(n){return{agents:E(w(S(n),"state.json"),{agents:{}}).agents??{}}}function ye(n){let r=w(S(n),"pending");return z(r)?re(r).filter(t=>t.endsWith(".json")).sort().map(t=>E(w(r,t),null)).filter(t=>!!t):[]}function G(n){return w(S(n),"held.json")}function K(n,r={}){let t=E(G(n),[]);return r.all?t:t.filter(a=>a.status==="held")}function _e(n){let r=w(S(n),"reports");if(!z(r))return null;let t=re(r).filter(a=>a.endsWith(".json")).sort().pop();return t?E(w(r,t),null):null}function ke(n,r,t,a={}){let o=ie(r).agents[t],c=a.now??Date.now(),e=a.since??o?.lastRunAt??new Date(c-864e5).toISOString(),d=e.slice(0,10),u=new Set(o?.processed??[]),s=[];for(let g of n.getAgentEntries(t))g.date<d||u.has(g.id)||s.push({id:g.id,at:g.date,kind:"chat",title:[g.source,g.sourceContext].filter(Boolean).join(" \xB7 "),text:g.content});if(a.db){let g=Date.parse(e);for(let l of V(a.db,{agentId:t,since:Number.isFinite(g)?g:void 0,limit:500})){if(l.status==="in-flight"||u.has(l.taskId))continue;let k=(Q(a.db,l.taskId)?.steps??[]).filter(b=>b.name==="tool_use"||b.action).slice(0,be).map(b=>`- ${b.action??b.name}${b.inputSummary?` ${x(b.inputSummary,160)}`:""}${b.outputSummary?` \u2192 ${x(b.outputSummary,240)}`:""}${b.error?` \u2717 ${x(b.error,120)}`:""}`),y=[`Request: ${x(l.originalMessage??l.messagePreview??"",600)}`,k.length?`Tool calls:
3
3
  ${k.join(`
4
4
  `)}`:"",l.finalResponse?`Reply: ${x(l.finalResponse,800)}`:""].filter(Boolean).join(`
@@ -54,4 +54,4 @@ _Sources: ${t.sources.join("; ")}._`,a);return n.writeArticle(r,{title:t.title,.
54
54
  `).replace(/\n{3,}/g,`
55
55
 
56
56
  `).trim(),superseded:d}}function Ce(n){let r=n.previous?` (previously: ${n.previous})`:"";return`- **${n.attribute}:** ${n.value} \u2014 ${n.source}; checked ${n.checkedAt.slice(0,10)} by ${n.by}${r}`}function Re(n){let r=n.match(/^- \*\*.+?:\*\* (.*?) — .*?; checked (\S+) by \S+(?: \(previously: (.*)\))?$/);return r?{value:r[1],checkedAt:r[2],...r[3]?{previous:r[3]}:{}}:void 0}function J(n,r){return`contribution:${n}@${r.slice(0,10)}`}var Te={person:"people",project:"projects",place:"places",concept:"concepts",event:"events",decision:"decisions",pattern:"patterns"};function de(n,r,t){let a=r.toLowerCase().replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"").slice(0,60)||"page",o=t?Te[t]:"contributions",c=`${o}/${a}.md`;for(let e=2;n.readArticle(c);e++)c=`${o}/${a}-${e}.md`;return c}export{_ as DEFAULT_CONTRIBUTION_LIMITS,B as FACTS_HEADING,ue as applyFactLines,De as approveHeld,xe as buildContributionPrompt,S as contributionsDir,_e as latestReport,K as listHeld,ye as listPendingBatches,Be as mergeContributions,W as pageKey,Ae as parseContributionPatches,ke as pendingWork,Se as possibleDuplicate,Fe as rejectHeld,ce as replaceOnce,Me as runContribution};
57
- //# sourceMappingURL=contributions-H6T65TCY.js.map
57
+ //# sourceMappingURL=contributions-UXLHUMF2.js.map
@@ -1,2 +1,2 @@
1
- import{b as a,c as b,d as c,e as d,f as e}from"./chunk-M5AHI2PZ.js";import"./chunk-S2GAEH2F.js";import"./chunk-JXF54PT7.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{e as daemonVoiceCheck,b as doctor,a as runDoctorChecks,c as runNotificationChecks,d as runReminderChecks};
2
- //# sourceMappingURL=doctor-ZOXHT7ZQ.js.map
1
+ import{b as a,c as b,d as c,e as d,f as e}from"./chunk-PLCK4ZAG.js";import"./chunk-S2GAEH2F.js";import"./chunk-JXF54PT7.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";export{e as daemonVoiceCheck,b as doctor,a as runDoctorChecks,c as runNotificationChecks,d as runReminderChecks};
2
+ //# sourceMappingURL=doctor-DO2WN4TS.js.map
@@ -1,7 +1,7 @@
1
- import{b as h}from"./chunk-IPMXIPTS.js";import"./chunk-RKPAVWXF.js";import{b as I}from"./chunk-LLNPKE7H.js";import"./chunk-SHEUCITK.js";import"./chunk-GL3H7XMI.js";import"./chunk-AK3XOA5N.js";import"./chunk-WRJFKA43.js";import"./chunk-3UOTLMXD.js";import"./chunk-FCPTN6NF.js";import"./chunk-7I7IEX4S.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";var p=t=>typeof t=="string"?t.trim():"";function $(t){return[`Run ${t.runId} "${t.title}" [${t.status}] on step ${t.step}: waiting on ${t.waitingOn}.`,t.tags?.length?`Tags: ${t.tags.join(", ")}`:"",...(t.steps??[]).slice(-8).map(s=>`- ${String(s.at).slice(0,16).replace("T"," ")} ${s.step} ${s.status}${s.note?`: ${s.note}`:""}`)].filter(Boolean).join(`
1
+ import{b as h}from"./chunk-RX2ISTNT.js";import"./chunk-RKPAVWXF.js";import{b as I}from"./chunk-LLNPKE7H.js";import"./chunk-SHEUCITK.js";import"./chunk-QKILE72V.js";import"./chunk-QQ67J76O.js";import"./chunk-DX6RYYGP.js";import"./chunk-3UOTLMXD.js";import"./chunk-FCPTN6NF.js";import"./chunk-7I7IEX4S.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-QIJLFPWE.js";var p=t=>typeof t=="string"?t.trim():"";function $(t){return[`Run ${t.runId} "${t.title}" [${t.status}] on step ${t.step}: waiting on ${t.waitingOn}.`,t.tags?.length?`Tags: ${t.tags.join(", ")}`:"",...(t.steps??[]).slice(-8).map(s=>`- ${String(s.at).slice(0,16).replace("T"," ")} ${s.step} ${s.status}${s.note?`: ${s.note}`:""}`)].filter(Boolean).join(`
2
2
  `)}async function T(t,c){let s=c.fetch??fetch,m=c.daemonUrl.replace(/\/$/,""),r=(p(t.action)||"list").toLowerCase(),f=c.env??process.env,w=async i=>{let l=await s(`${m}${i}`,{signal:AbortSignal.timeout(1e4)}),n=await l.json().catch(()=>({}));return{ok:l.ok,status:l.status,data:n}};try{if(r==="list"){let e=await w("/follow-up");if(!e.ok)return`Error: ${e.data?.error||`HTTP ${e.status}`}`;let o=e.data.groups??[];return o.length?o.map(d=>[`${d.tag}:`,...d.rows.map(a=>`- ${a.runId} "${a.title}" on ${a.step}: waiting on ${a.waitingOn} (since ${String(a.since).slice(0,16).replace("T"," ")} UTC)`)].join(`
3
3
  `)).join(`
4
4
  `):"No follow-up workflows are running."}if(r==="match"){let e=p(t.request)||p(t.title);if(!e)return"Error: match needs `request`: the owner's request in their words.";let o=h(t,f),d=await w(`/follow-up/match?q=${encodeURIComponent(e)}${o?`&agentId=${encodeURIComponent(o.agentId)}`:""}`);if(!d.ok)return`Error: ${d.data?.error||`HTTP ${d.status}`}`;let a=d.data.matches??[];return a.length?["Saved workflows, best fit first (confidence 0-1):",...a.map(u=>`- ${u.workflowId} "${u.title}" (${u.confidence}${u.autoStart?", starts without asking":""}): ${u.steps.map(k=>k.id).join(" \u2192 ")}`),'Start one with {action:"start", workflowId:"<id>", title:"\u2026", tags:["client:<name>"]}. Run its steps through the workflow, not by hand.'].join(`
5
5
  `):"No saved workflow fits. If the request has several steps, build one: start with title and steps."}if(r==="status"){let e=p(t.runId);if(!e)return"Error: status needs runId.";let o=await w(`/follow-up/${encodeURIComponent(e)}`);return o.ok?$(o.data.run):`Error: ${o.data?.error||`HTTP ${o.status}`}`}let i=h(t,f);if(!i)return"Error: couldn't tell which agent you are. Pass callerAgentId.";let l=await s(`${m}/follow-up`,{method:"POST",headers:{"Content-Type":"application/json",...I(f)},body:JSON.stringify({action:r,agentId:i.agentId,workflowId:t.workflowId,title:t.title,description:t.description,tags:t.tags,inputs:t.inputs,steps:t.steps,edges:t.edges,approval:t.approval,autoStart:t.autoStart,requestId:t.requestId,runId:t.runId,step:t.step,evidence:t.evidence,note:t.note,reason:t.reason,fromRun:t.fromRun,status:t.status}),signal:AbortSignal.timeout(2e4)}),n=await l.json().catch(()=>({}));if(!l.ok)return`Error: ${n?.error||`HTTP ${l.status}`}`;if(r==="start"){let e=n.run;return[`Started run ${e.runId} "${e.title}"${n.built?" (built from the steps you gave; propose it with fromRun to keep it)":""}.`,n.awaitingApproval?"It waits for the owner's approval before the first step.":`It is on step ${e.step}: ${e.waitingOn}.`,"AgentX follows it from here: it starts each step, reminds whoever is slow, and tells the owner when it ends. Do not run its steps by hand.",...n.warning?[`Note: ${n.warning}`]:[]].join(" ")}return r==="plan"?[`Plan recorded on run ${n.run?.runId??t.runId}:`,...(n.plan??[]).map(e=>`- ${e.id} ${e.title}`),'Report each step with {action:"step", runId, step:"<id>", status:"started"|"done"|"failed"}.'].join(`
6
6
  `):r==="step"?`Step recorded. ${n.run?$(n.run):""}`.trim():r==="done"?`Step recorded as done. ${n.run?$(n.run):""}`.trim():r==="blocked"?"The step is marked blocked and the owner is told. Nothing more happens on it until it is sorted.":`Saved ${n.workflowId} switched off, and asked the owner (card ${n.cardId}) whether to keep it as a reusable workflow.`}catch(i){return`Error: couldn't reach the daemon (${i?.message??i}).`}}export{T as runWorkflowTool};
7
- //# sourceMappingURL=follow-up-tool-GUBBXNEZ.js.map
7
+ //# sourceMappingURL=follow-up-tool-QPNJD3HR.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-4AFA6LQZ.js";import"./chunk-G26UHWS4.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-OW5EXDVY.js";import"./chunk-WPNRDEHW.js";import"./chunk-66DPMVUC.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-QOYAX2FT.js";import"./chunk-2PJKGZWP.js";import"./chunk-7I7IEX4S.js";import"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";export{a as WikiHub};
2
- //# sourceMappingURL=hub-7AMS6ADP.js.map
1
+ import{a}from"./chunk-44N5HXYE.js";import"./chunk-KEJGWFGS.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-HSX5LMXD.js";import"./chunk-WPNRDEHW.js";import"./chunk-KOKPK3OL.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-QOYAX2FT.js";import"./chunk-2PJKGZWP.js";import"./chunk-7I7IEX4S.js";import"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";export{a as WikiHub};
2
+ //# sourceMappingURL=hub-RFE766AM.js.map
package/dist/index.d.ts CHANGED
@@ -4276,6 +4276,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4276
4276
  streamMaxSeconds?: number | undefined;
4277
4277
  }>>;
4278
4278
  }, "strip", z.ZodTypeAny, {
4279
+ maxSeconds: number;
4279
4280
  bot: {
4280
4281
  frameIntervalSeconds: number;
4281
4282
  maxSessionMinutes: number;
@@ -4287,10 +4288,10 @@ declare const daemonConfigSchema: z.ZodObject<{
4287
4288
  width: number;
4288
4289
  height: number;
4289
4290
  frameRate: number;
4290
- maxSeconds: number;
4291
4291
  voiceInput: boolean;
4292
4292
  speakAnswers: boolean;
4293
4293
  }, {
4294
+ maxSeconds?: number | undefined;
4294
4295
  bot?: {
4295
4296
  frameIntervalSeconds?: number | undefined;
4296
4297
  maxSessionMinutes?: number | undefined;
@@ -4302,13 +4303,13 @@ declare const daemonConfigSchema: z.ZodObject<{
4302
4303
  width?: number | undefined;
4303
4304
  height?: number | undefined;
4304
4305
  frameRate?: number | undefined;
4305
- maxSeconds?: number | undefined;
4306
4306
  voiceInput?: boolean | undefined;
4307
4307
  speakAnswers?: boolean | undefined;
4308
4308
  }>>;
4309
4309
  }, "strip", z.ZodTypeAny, {
4310
4310
  enabled: boolean;
4311
4311
  camera: {
4312
+ maxSeconds: number;
4312
4313
  bot: {
4313
4314
  frameIntervalSeconds: number;
4314
4315
  maxSessionMinutes: number;
@@ -4320,7 +4321,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4320
4321
  width: number;
4321
4322
  height: number;
4322
4323
  frameRate: number;
4323
- maxSeconds: number;
4324
4324
  voiceInput: boolean;
4325
4325
  speakAnswers: boolean;
4326
4326
  };
@@ -4354,6 +4354,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4354
4354
  }, {
4355
4355
  enabled?: boolean | undefined;
4356
4356
  camera?: {
4357
+ maxSeconds?: number | undefined;
4357
4358
  bot?: {
4358
4359
  frameIntervalSeconds?: number | undefined;
4359
4360
  maxSessionMinutes?: number | undefined;
@@ -4365,7 +4366,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4365
4366
  width?: number | undefined;
4366
4367
  height?: number | undefined;
4367
4368
  frameRate?: number | undefined;
4368
- maxSeconds?: number | undefined;
4369
4369
  voiceInput?: boolean | undefined;
4370
4370
  speakAnswers?: boolean | undefined;
4371
4371
  } | undefined;
@@ -4498,6 +4498,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4498
4498
  webrtc: {
4499
4499
  enabled: boolean;
4500
4500
  camera: {
4501
+ maxSeconds: number;
4501
4502
  bot: {
4502
4503
  frameIntervalSeconds: number;
4503
4504
  maxSessionMinutes: number;
@@ -4509,7 +4510,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4509
4510
  width: number;
4510
4511
  height: number;
4511
4512
  frameRate: number;
4512
- maxSeconds: number;
4513
4513
  voiceInput: boolean;
4514
4514
  speakAnswers: boolean;
4515
4515
  };
@@ -4650,6 +4650,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4650
4650
  webrtc?: {
4651
4651
  enabled?: boolean | undefined;
4652
4652
  camera?: {
4653
+ maxSeconds?: number | undefined;
4653
4654
  bot?: {
4654
4655
  frameIntervalSeconds?: number | undefined;
4655
4656
  maxSessionMinutes?: number | undefined;
@@ -4661,7 +4662,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4661
4662
  width?: number | undefined;
4662
4663
  height?: number | undefined;
4663
4664
  frameRate?: number | undefined;
4664
- maxSeconds?: number | undefined;
4665
4665
  voiceInput?: boolean | undefined;
4666
4666
  speakAnswers?: boolean | undefined;
4667
4667
  } | undefined;
@@ -5093,22 +5093,22 @@ declare const daemonConfigSchema: z.ZodObject<{
5093
5093
  * Unset: the AgentX logo. Applied by `agentx desktop install`. */
5094
5094
  icon: z.ZodOptional<z.ZodString>;
5095
5095
  }, "strip", z.ZodTypeAny, {
5096
- banner: boolean;
5097
5096
  sound: boolean;
5097
+ banner: boolean;
5098
5098
  soundName: string;
5099
5099
  volume: number;
5100
5100
  icon?: string | undefined;
5101
5101
  }, {
5102
- banner?: boolean | undefined;
5103
5102
  sound?: boolean | undefined;
5103
+ banner?: boolean | undefined;
5104
5104
  soundName?: string | undefined;
5105
5105
  volume?: number | undefined;
5106
5106
  icon?: string | undefined;
5107
5107
  }>>;
5108
5108
  }, "strip", z.ZodTypeAny, {
5109
5109
  local: {
5110
- banner: boolean;
5111
5110
  sound: boolean;
5111
+ banner: boolean;
5112
5112
  soundName: string;
5113
5113
  volume: number;
5114
5114
  icon?: string | undefined;
@@ -5127,8 +5127,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5127
5127
  } | undefined;
5128
5128
  }, {
5129
5129
  local?: {
5130
- banner?: boolean | undefined;
5131
5130
  sound?: boolean | undefined;
5131
+ banner?: boolean | undefined;
5132
5132
  soundName?: string | undefined;
5133
5133
  volume?: number | undefined;
5134
5134
  icon?: string | undefined;
@@ -5183,12 +5183,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5183
5183
  enabled: z.ZodDefault<z.ZodBoolean>;
5184
5184
  secretEnv: z.ZodDefault<z.ZodString>;
5185
5185
  batchSeconds: z.ZodDefault<z.ZodNumber>;
5186
- timezone: z.ZodOptional<z.ZodString>; /** Toggle thinking-mode output on backends that support it (DeepSeek
5187
- * V4 `reasoning_content`). When `true` (the DeepSeek default), the
5188
- * agent streams its reasoning live in the dashboard task modal and
5189
- * the agentic round-trip echoes it back on the next iteration. Set
5190
- * to `false` to disable for cost/latency-sensitive agents. Ignored
5191
- * on backends that don't speak the thinking-mode protocol. */
5186
+ timezone: z.ZodOptional<z.ZodString>;
5192
5187
  allowAutoAck: z.ZodDefault<z.ZodBoolean>;
5193
5188
  describeMedia: z.ZodDefault<z.ZodBoolean>;
5194
5189
  wacli: z.ZodDefault<z.ZodObject<{
@@ -5405,8 +5400,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5405
5400
  }, {
5406
5401
  enabled?: boolean | undefined;
5407
5402
  style?: "card" | "dialog" | undefined;
5408
- voice?: string | undefined;
5409
5403
  sound?: string | undefined;
5404
+ voice?: string | undefined;
5410
5405
  volume?: number | undefined;
5411
5406
  theme?: "system" | "light" | "dark" | undefined;
5412
5407
  speak?: boolean | undefined;
@@ -5511,8 +5506,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5511
5506
  popup?: {
5512
5507
  enabled?: boolean | undefined;
5513
5508
  style?: "card" | "dialog" | undefined;
5514
- voice?: string | undefined;
5515
5509
  sound?: string | undefined;
5510
+ voice?: string | undefined;
5516
5511
  volume?: number | undefined;
5517
5512
  theme?: "system" | "light" | "dark" | undefined;
5518
5513
  speak?: boolean | undefined;
@@ -5764,7 +5759,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5764
5759
  skills: string[];
5765
5760
  tools: string[];
5766
5761
  };
5767
- role: "client" | "guest" | "owner" | "member";
5762
+ role: "client" | "owner" | "guest" | "member";
5768
5763
  identities: string[];
5769
5764
  say?: string | undefined;
5770
5765
  }, {
@@ -5775,7 +5770,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5775
5770
  skills?: string[] | undefined;
5776
5771
  tools?: string[] | undefined;
5777
5772
  } | undefined;
5778
- role?: "client" | "guest" | "owner" | "member" | undefined;
5773
+ role?: "client" | "owner" | "guest" | "member" | undefined;
5779
5774
  say?: string | undefined;
5780
5775
  identities?: string[] | undefined;
5781
5776
  }>, "many">>, {
@@ -5786,7 +5781,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5786
5781
  skills: string[];
5787
5782
  tools: string[];
5788
5783
  };
5789
- role: "client" | "guest" | "owner" | "member";
5784
+ role: "client" | "owner" | "guest" | "member";
5790
5785
  identities: string[];
5791
5786
  say?: string | undefined;
5792
5787
  }[], {
@@ -5797,7 +5792,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5797
5792
  skills?: string[] | undefined;
5798
5793
  tools?: string[] | undefined;
5799
5794
  } | undefined;
5800
- role?: "client" | "guest" | "owner" | "member" | undefined;
5795
+ role?: "client" | "owner" | "guest" | "member" | undefined;
5801
5796
  say?: string | undefined;
5802
5797
  identities?: string[] | undefined;
5803
5798
  }[] | undefined>;
@@ -6345,6 +6340,26 @@ declare const daemonConfigSchema: z.ZodObject<{
6345
6340
  /** The orb and character palette of an agent that set neither
6346
6341
  * presence.palette nor presence.color. */
6347
6342
  palette: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
6343
+ /** The floor (#924): something that speaks or draws by itself, such
6344
+ * as a demo script or a screen recording, takes it for a while and
6345
+ * everything else waits: agents' spoken answers, notices, the
6346
+ * character. See src/voice/floor.ts. Off: nobody can take it. */
6347
+ floor: z.ZodDefault<z.ZodObject<{
6348
+ enabled: z.ZodDefault<z.ZodBoolean>;
6349
+ /** Seconds a holder keeps the floor when it names no time. */
6350
+ defaultSeconds: z.ZodDefault<z.ZodNumber>;
6351
+ /** The longest one take or one renewal may ask for, in seconds.
6352
+ * A holder that needs longer renews. */
6353
+ maxSeconds: z.ZodDefault<z.ZodNumber>;
6354
+ }, "strip", z.ZodTypeAny, {
6355
+ enabled: boolean;
6356
+ defaultSeconds: number;
6357
+ maxSeconds: number;
6358
+ }, {
6359
+ enabled?: boolean | undefined;
6360
+ defaultSeconds?: number | undefined;
6361
+ maxSeconds?: number | undefined;
6362
+ }>>;
6348
6363
  /** The answer text AgentX Voice shows inside its pill. */
6349
6364
  card: z.ZodDefault<z.ZodObject<{
6350
6365
  /** Seconds the answer stays open once it has been spoken; 0 keeps
@@ -6392,6 +6407,11 @@ declare const daemonConfigSchema: z.ZodObject<{
6392
6407
  startReduced: boolean;
6393
6408
  stroll: boolean;
6394
6409
  animations: "off" | "rarely" | "sometimes" | "often";
6410
+ floor: {
6411
+ enabled: boolean;
6412
+ defaultSeconds: number;
6413
+ maxSeconds: number;
6414
+ };
6395
6415
  system?: string | Record<string, string> | undefined;
6396
6416
  listener?: string | undefined;
6397
6417
  }, {
@@ -6429,6 +6449,11 @@ declare const daemonConfigSchema: z.ZodObject<{
6429
6449
  startReduced?: boolean | undefined;
6430
6450
  stroll?: boolean | undefined;
6431
6451
  animations?: "off" | "rarely" | "sometimes" | "often" | undefined;
6452
+ floor?: {
6453
+ enabled?: boolean | undefined;
6454
+ defaultSeconds?: number | undefined;
6455
+ maxSeconds?: number | undefined;
6456
+ } | undefined;
6432
6457
  }>>;
6433
6458
  business: z.ZodOptional<z.ZodObject<{
6434
6459
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -6596,10 +6621,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6596
6621
  clients: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
6597
6622
  name: z.ZodOptional<z.ZodString>;
6598
6623
  kind: z.ZodOptional<z.ZodEnum<["client", "internal", "own"]>>;
6599
- /** OS keyring directive — credential lives in macOS Keychain / Linux
6600
- * Secret Service / Windows Credential Manager. The skill that reads
6601
- * this integration is responsible for resolving the keyring entry
6602
- * (typically keyed by agentId+kind). */
6603
6624
  respondWithin: z.ZodOptional<z.ZodString>;
6604
6625
  standing: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
6605
6626
  }, "strip", z.ZodTypeAny, {
@@ -8310,6 +8331,11 @@ declare const daemonConfigSchema: z.ZodObject<{
8310
8331
  startReduced: boolean;
8311
8332
  stroll: boolean;
8312
8333
  animations: "off" | "rarely" | "sometimes" | "often";
8334
+ floor: {
8335
+ enabled: boolean;
8336
+ defaultSeconds: number;
8337
+ maxSeconds: number;
8338
+ };
8313
8339
  system?: string | Record<string, string> | undefined;
8314
8340
  listener?: string | undefined;
8315
8341
  };
@@ -8446,6 +8472,7 @@ declare const daemonConfigSchema: z.ZodObject<{
8446
8472
  webrtc: {
8447
8473
  enabled: boolean;
8448
8474
  camera: {
8475
+ maxSeconds: number;
8449
8476
  bot: {
8450
8477
  frameIntervalSeconds: number;
8451
8478
  maxSessionMinutes: number;
@@ -8457,7 +8484,6 @@ declare const daemonConfigSchema: z.ZodObject<{
8457
8484
  width: number;
8458
8485
  height: number;
8459
8486
  frameRate: number;
8460
- maxSeconds: number;
8461
8487
  voiceInput: boolean;
8462
8488
  speakAnswers: boolean;
8463
8489
  };
@@ -8596,8 +8622,8 @@ declare const daemonConfigSchema: z.ZodObject<{
8596
8622
  }>;
8597
8623
  notifications: {
8598
8624
  local: {
8599
- banner: boolean;
8600
8625
  sound: boolean;
8626
+ banner: boolean;
8601
8627
  soundName: string;
8602
8628
  volume: number;
8603
8629
  icon?: string | undefined;
@@ -8711,7 +8737,7 @@ declare const daemonConfigSchema: z.ZodObject<{
8711
8737
  skills: string[];
8712
8738
  tools: string[];
8713
8739
  };
8714
- role: "client" | "guest" | "owner" | "member";
8740
+ role: "client" | "owner" | "guest" | "member";
8715
8741
  identities: string[];
8716
8742
  say?: string | undefined;
8717
8743
  }[];
@@ -9278,6 +9304,11 @@ declare const daemonConfigSchema: z.ZodObject<{
9278
9304
  startReduced?: boolean | undefined;
9279
9305
  stroll?: boolean | undefined;
9280
9306
  animations?: "off" | "rarely" | "sometimes" | "often" | undefined;
9307
+ floor?: {
9308
+ enabled?: boolean | undefined;
9309
+ defaultSeconds?: number | undefined;
9310
+ maxSeconds?: number | undefined;
9311
+ } | undefined;
9281
9312
  } | undefined;
9282
9313
  dashboard?: {
9283
9314
  enabled?: boolean | undefined;
@@ -9480,6 +9511,7 @@ declare const daemonConfigSchema: z.ZodObject<{
9480
9511
  webrtc?: {
9481
9512
  enabled?: boolean | undefined;
9482
9513
  camera?: {
9514
+ maxSeconds?: number | undefined;
9483
9515
  bot?: {
9484
9516
  frameIntervalSeconds?: number | undefined;
9485
9517
  maxSessionMinutes?: number | undefined;
@@ -9491,7 +9523,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9491
9523
  width?: number | undefined;
9492
9524
  height?: number | undefined;
9493
9525
  frameRate?: number | undefined;
9494
- maxSeconds?: number | undefined;
9495
9526
  voiceInput?: boolean | undefined;
9496
9527
  speakAnswers?: boolean | undefined;
9497
9528
  } | undefined;
@@ -9624,8 +9655,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9624
9655
  }> | undefined;
9625
9656
  notifications?: {
9626
9657
  local?: {
9627
- banner?: boolean | undefined;
9628
9658
  sound?: boolean | undefined;
9659
+ banner?: boolean | undefined;
9629
9660
  soundName?: string | undefined;
9630
9661
  volume?: number | undefined;
9631
9662
  icon?: string | undefined;
@@ -9696,8 +9727,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9696
9727
  popup?: {
9697
9728
  enabled?: boolean | undefined;
9698
9729
  style?: "card" | "dialog" | undefined;
9699
- voice?: string | undefined;
9700
9730
  sound?: string | undefined;
9731
+ voice?: string | undefined;
9701
9732
  volume?: number | undefined;
9702
9733
  theme?: "system" | "light" | "dark" | undefined;
9703
9734
  speak?: boolean | undefined;
@@ -9739,7 +9770,7 @@ declare const daemonConfigSchema: z.ZodObject<{
9739
9770
  skills?: string[] | undefined;
9740
9771
  tools?: string[] | undefined;
9741
9772
  } | undefined;
9742
- role?: "client" | "guest" | "owner" | "member" | undefined;
9773
+ role?: "client" | "owner" | "guest" | "member" | undefined;
9743
9774
  say?: string | undefined;
9744
9775
  identities?: string[] | undefined;
9745
9776
  }[] | undefined;
@@ -12969,8 +13000,8 @@ declare const classificationSchema: z.ZodObject<{
12969
13000
  channel?: string | undefined;
12970
13001
  preview?: string | undefined;
12971
13002
  chatId?: string | undefined;
12972
- sender?: string | undefined;
12973
13003
  agentId?: string | undefined;
13004
+ sender?: string | undefined;
12974
13005
  confidence?: number | undefined;
12975
13006
  }, {
12976
13007
  path: string[];
@@ -12981,8 +13012,8 @@ declare const classificationSchema: z.ZodObject<{
12981
13012
  channel?: string | undefined;
12982
13013
  preview?: string | undefined;
12983
13014
  chatId?: string | undefined;
12984
- sender?: string | undefined;
12985
13015
  agentId?: string | undefined;
13016
+ sender?: string | undefined;
12986
13017
  confidence?: number | undefined;
12987
13018
  proposedAxes?: Record<string, Record<string, string>> | undefined;
12988
13019
  leaf?: {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt,la as Tt,ma as Mt}from"./chunk-XXIZGNLT.js";import"./chunk-QHZFMO6M.js";import"./chunk-HEJTE7OC.js";import"./chunk-GTJIKXDB.js";import"./chunk-7LN4VKDU.js";import"./chunk-IMLAPB7G.js";import"./chunk-ZVP6GB4G.js";import"./chunk-S2GAEH2F.js";import"./chunk-PPUN7YHA.js";import"./chunk-VZLIBDLH.js";import"./chunk-EKJG63EJ.js";import"./chunk-XGOBZCYC.js";import"./chunk-WCXXXAHV.js";import"./chunk-JWDJMFU6.js";import"./chunk-GRMCAO3Q.js";import"./chunk-KZKDVIOE.js";import"./chunk-LQE73AZR.js";import"./chunk-2D3RYIDU.js";import"./chunk-MRIVENBY.js";import"./chunk-UNIXYV3U.js";import"./chunk-AKWBDCMU.js";import"./chunk-63LV77EG.js";import"./chunk-2AXFYDWF.js";import"./chunk-AQASR6KR.js";import"./chunk-EMGB23H5.js";import{ca as yt,m as lt,n as ct,o as dt,p as mt,q as pt}from"./chunk-NVZ66ITP.js";import"./chunk-HZZW35FY.js";import"./chunk-QSKG754X.js";import"./chunk-MEFPXHQJ.js";import{a as L}from"./chunk-UG2OF2EI.js";import{A as D,B as z,C as V,a as ye,b as we,c as Se,d as Ae,e as Ie,f as Oe,g as Ne,h as He,i as je,j as Ue,k as _e,l as I,m as q,n as Be,o as qe,p as Ye,q as O,r as ze,s as Ve,t as Xe,u as x,v as Y,w as Qe,x as Ze,y as et,z as wt}from"./chunk-FRTELYZ4.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-Y4CYQV7G.js";import"./chunk-LLNPKE7H.js";import"./chunk-SHEUCITK.js";import"./chunk-GL3H7XMI.js";import"./chunk-SZDACK6O.js";import"./chunk-HF5EF335.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import{s as ut}from"./chunk-AK3XOA5N.js";import"./chunk-WRJFKA43.js";import"./chunk-3UOTLMXD.js";import"./chunk-36AXN6ZB.js";import"./chunk-PE5V2LI7.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-X5C5W3E4.js";import"./chunk-GV7S5BAX.js";import"./chunk-GSX4NK2N.js";import"./chunk-VWTBHLMX.js";import"./chunk-4AFA6LQZ.js";import{a as ht}from"./chunk-G26UHWS4.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-PV623BLN.js";import"./chunk-SKSYII3K.js";import{f as gt,g as ft}from"./chunk-OW5EXDVY.js";import"./chunk-WPNRDEHW.js";import"./chunk-MWNCS57L.js";import"./chunk-4LWFJ4MZ.js";import"./chunk-BIJHMWXK.js";import"./chunk-FQLSV2C4.js";import{j as it,k as rt,l as at}from"./chunk-66DPMVUC.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-MYVHVJWZ.js";import"./chunk-6TURWSMN.js";import"./chunk-AV7T3SYT.js";import"./chunk-Y5MFVVTM.js";import"./chunk-QD6IICK7.js";import"./chunk-QOYAX2FT.js";import{a as ke,b as ve,c as xe,d as $e,e as Ce,f as Pe,g as be,h as Te,i as Me,j as Re,l as Ee,m as Ge,o as T,p as W}from"./chunk-2PJKGZWP.js";import{a as m,b as G}from"./chunk-7I7IEX4S.js";import{b as Fe,c as Le,d as A,e as De}from"./chunk-JHCI6XCJ.js";import{a as Ke,b as Je,e as We}from"./chunk-DSYKYZMT.js";import{na as tt,pa as st,qa as ot,xa as nt}from"./chunk-54OORW5I.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";W();G();import{execa as Rt}from"execa";import{existsSync as se,promises as X}from"fs";import S from"path";import ie from"node-fetch";async function Et(o,e){let t=o.split("/");if(t.length<2)throw new Error(`Invalid skill package ID: ${o}. Expected format: owner/repo`);let s=t[0],i=t[1],n=t[2];try{let a=n?`${s}/${i}/${n}`:`${s}/${i}`;await Rt("npx",["-y","skills","add",a],{cwd:e,stdio:"pipe"}),m.success(`Installed skill package: ${o}`);let r=S.resolve(e,".skills",`${s}_${i}`);if(se(r))return await ne(r,o);let d=S.resolve(e,".skills");return se(d)?await ne(d,o):[]}catch{return m.info(`Fetching skills directly from GitHub: ${s}/${i}`),await Gt(s,i,n,e)}}async function Gt(o,e,t,s){let i=[];try{let n=`https://api.github.com/repos/${o}/${e}/git/trees/main?recursive=1`,a=await ie(n);if(!a.ok)throw new Error(`GitHub API error: ${a.status}`);let d=(await a.json()).tree.filter(p=>p.type==="blob"&&p.path.endsWith("SKILL.md"));if(t){let p=d.find(f=>f.path.includes(`/${t}/`)||f.path===`${t}/SKILL.md`);if(p){let f=await oe(o,e,p.path,s);f&&i.push(f)}}else for(let p of d){let f=await oe(o,e,p.path,s);f&&i.push(f)}}catch(n){m.error(`Failed to fetch skills from GitHub: ${n.message}`)}return i}async function oe(o,e,t,s){try{let i=`https://raw.githubusercontent.com/${o}/${e}/main/${t}`,n=await ie(i);if(!n.ok)return null;let a=await n.text(),r=A(a);if(r){r.source="remote",r.packageId=`${o}/${e}`;let d=S.dirname(t),p=S.resolve(s,".skills",`${o}_${e}`,d);await X.mkdir(p,{recursive:!0}),await X.writeFile(S.resolve(p,"SKILL.md"),a),r.path=S.resolve(p,"SKILL.md")}return r}catch{return null}}async function ne(o,e){let t=[],{default:s}=await import("fast-glob"),i=await s.glob("**/SKILL.md",{cwd:o,deep:5});for(let n of i)try{let a=S.resolve(o,n),r=await X.readFile(a,"utf8"),d=A(r);d&&(d.source="remote",d.path=a,d.packageId=e,t.push(d))}catch{}return t}async function At(o,e,t,s,i){let n=["---",`name: ${o}`,`description: ${e}`];if(s?.length){n.push("tags:");for(let a of s)n.push(` - ${a}`)}if(i?.length){n.push("globs:");for(let a of i)n.push(` - ${a}`)}return n.push("---"),`${n.join(`
1
+ import{a as St,b as kt,c as vt,d as xt,e as $t,f as Ct,g as Pt,h as bt,la as Tt,ma as Mt}from"./chunk-64ZACYOF.js";import"./chunk-P6PTY2NP.js";import"./chunk-ETOOT5KD.js";import"./chunk-GTJIKXDB.js";import"./chunk-7LN4VKDU.js";import"./chunk-IMLAPB7G.js";import"./chunk-ZVP6GB4G.js";import"./chunk-S2GAEH2F.js";import"./chunk-PPUN7YHA.js";import"./chunk-VZLIBDLH.js";import"./chunk-EKJG63EJ.js";import"./chunk-XGOBZCYC.js";import"./chunk-WCXXXAHV.js";import"./chunk-JWDJMFU6.js";import"./chunk-GRMCAO3Q.js";import"./chunk-KZKDVIOE.js";import"./chunk-LQE73AZR.js";import"./chunk-2D3RYIDU.js";import"./chunk-MRIVENBY.js";import"./chunk-UNIXYV3U.js";import"./chunk-AKWBDCMU.js";import"./chunk-JXIMGK7Z.js";import"./chunk-2AXFYDWF.js";import"./chunk-AQASR6KR.js";import"./chunk-EMGB23H5.js";import{ca as yt,m as lt,n as ct,o as dt,p as mt,q as pt}from"./chunk-PYR7GKK7.js";import"./chunk-5EIO6S3S.js";import"./chunk-QSKG754X.js";import"./chunk-MEFPXHQJ.js";import{a as L}from"./chunk-UG2OF2EI.js";import{A as D,B as z,C as V,a as ye,b as we,c as Se,d as Ae,e as Ie,f as Oe,g as Ne,h as He,i as je,j as Ue,k as _e,l as I,m as q,n as Be,o as qe,p as Ye,q as O,r as ze,s as Ve,t as Xe,u as x,v as Y,w as Qe,x as Ze,y as et,z as wt}from"./chunk-264762O7.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-Y4CYQV7G.js";import"./chunk-LLNPKE7H.js";import"./chunk-SHEUCITK.js";import"./chunk-QKILE72V.js";import"./chunk-SZDACK6O.js";import"./chunk-HF5EF335.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import{s as ut}from"./chunk-QQ67J76O.js";import"./chunk-DX6RYYGP.js";import"./chunk-3UOTLMXD.js";import"./chunk-36AXN6ZB.js";import"./chunk-PE5V2LI7.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-X5C5W3E4.js";import"./chunk-GV7S5BAX.js";import"./chunk-GSX4NK2N.js";import"./chunk-VWTBHLMX.js";import"./chunk-44N5HXYE.js";import{a as ht}from"./chunk-KEJGWFGS.js";import"./chunk-OWNQ2FD4.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-GW4LKNQT.js";import"./chunk-SKSYII3K.js";import{f as gt,g as ft}from"./chunk-HSX5LMXD.js";import"./chunk-WPNRDEHW.js";import"./chunk-MWNCS57L.js";import"./chunk-4LWFJ4MZ.js";import"./chunk-BIJHMWXK.js";import"./chunk-EFUPLTQ3.js";import{j as it,k as rt,l as at}from"./chunk-KOKPK3OL.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-MYVHVJWZ.js";import"./chunk-6TURWSMN.js";import"./chunk-AV7T3SYT.js";import"./chunk-Y5MFVVTM.js";import"./chunk-QD6IICK7.js";import"./chunk-QOYAX2FT.js";import{a as ke,b as ve,c as xe,d as $e,e as Ce,f as Pe,g as be,h as Te,i as Me,j as Re,l as Ee,m as Ge,o as T,p as W}from"./chunk-2PJKGZWP.js";import{a as m,b as G}from"./chunk-7I7IEX4S.js";import{b as Fe,c as Le,d as A,e as De}from"./chunk-JHCI6XCJ.js";import{a as Ke,b as Je,e as We}from"./chunk-DSYKYZMT.js";import{Aa as nt,qa as tt,sa as st,ta as ot}from"./chunk-6BWVJ7UJ.js";import"./chunk-BRK6M6LA.js";import"./chunk-UIBUZ2N3.js";import"./chunk-2QNT5JDS.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";W();G();import{execa as Rt}from"execa";import{existsSync as se,promises as X}from"fs";import S from"path";import ie from"node-fetch";async function Et(o,e){let t=o.split("/");if(t.length<2)throw new Error(`Invalid skill package ID: ${o}. Expected format: owner/repo`);let s=t[0],i=t[1],n=t[2];try{let a=n?`${s}/${i}/${n}`:`${s}/${i}`;await Rt("npx",["-y","skills","add",a],{cwd:e,stdio:"pipe"}),m.success(`Installed skill package: ${o}`);let r=S.resolve(e,".skills",`${s}_${i}`);if(se(r))return await ne(r,o);let d=S.resolve(e,".skills");return se(d)?await ne(d,o):[]}catch{return m.info(`Fetching skills directly from GitHub: ${s}/${i}`),await Gt(s,i,n,e)}}async function Gt(o,e,t,s){let i=[];try{let n=`https://api.github.com/repos/${o}/${e}/git/trees/main?recursive=1`,a=await ie(n);if(!a.ok)throw new Error(`GitHub API error: ${a.status}`);let d=(await a.json()).tree.filter(p=>p.type==="blob"&&p.path.endsWith("SKILL.md"));if(t){let p=d.find(f=>f.path.includes(`/${t}/`)||f.path===`${t}/SKILL.md`);if(p){let f=await oe(o,e,p.path,s);f&&i.push(f)}}else for(let p of d){let f=await oe(o,e,p.path,s);f&&i.push(f)}}catch(n){m.error(`Failed to fetch skills from GitHub: ${n.message}`)}return i}async function oe(o,e,t,s){try{let i=`https://raw.githubusercontent.com/${o}/${e}/main/${t}`,n=await ie(i);if(!n.ok)return null;let a=await n.text(),r=A(a);if(r){r.source="remote",r.packageId=`${o}/${e}`;let d=S.dirname(t),p=S.resolve(s,".skills",`${o}_${e}`,d);await X.mkdir(p,{recursive:!0}),await X.writeFile(S.resolve(p,"SKILL.md"),a),r.path=S.resolve(p,"SKILL.md")}return r}catch{return null}}async function ne(o,e){let t=[],{default:s}=await import("fast-glob"),i=await s.glob("**/SKILL.md",{cwd:o,deep:5});for(let n of i)try{let a=S.resolve(o,n),r=await X.readFile(a,"utf8"),d=A(r);d&&(d.source="remote",d.path=a,d.packageId=e,t.push(d))}catch{}return t}async function At(o,e,t,s,i){let n=["---",`name: ${o}`,`description: ${e}`];if(s?.length){n.push("tags:");for(let a of s)n.push(` - ${a}`)}if(i?.length){n.push("globs:");for(let a of i)n.push(` - ${a}`)}return n.push("---"),`${n.join(`
2
2
  `)}
3
3
 
4
4
  ${t}`}async function It(o){let{loadLocalSkills:e}=await import("./loader-YFVSSYSL.js");return e(o)}async function Ot(o,e,t,s,i){let a=[{role:"system",content:`You are a skill author for the Agent Skills ecosystem (skills.sh).