agentix-cli 0.155.0 → 0.157.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 (162) hide show
  1. package/dist/{App-P4MLXD46.js → App-AFRBV666.js} +2 -2
  2. package/dist/{ChatApp-DILDQOJL.js → ChatApp-EBTSY27Z.js} +2 -2
  3. package/dist/{absorb-eval-DBC7EKU5.js → absorb-eval-VUJFGASJ.js} +2 -2
  4. package/dist/agent-EA55CR6J.js +2 -0
  5. package/dist/{board-dashboard-MWUCBHDN.js → board-dashboard-2X72LAVO.js} +305 -278
  6. package/dist/board-dashboard-2X72LAVO.js.map +1 -0
  7. package/dist/{chunk-YLAJOO5X.js → chunk-2NLPGLLL.js} +2 -2
  8. package/dist/{chunk-QHRQ3PUX.js → chunk-2VDO2HEK.js} +1 -1
  9. package/dist/chunk-2VDO2HEK.js.map +1 -0
  10. package/dist/{chunk-CTXHMJLZ.js → chunk-3HO6CHT6.js} +3 -3
  11. package/dist/{chunk-D65HXPIB.js → chunk-3ZMVYNFH.js} +2 -2
  12. package/dist/{chunk-WHMX2D2Q.js → chunk-4UJ7S2DD.js} +6 -6
  13. package/dist/chunk-4UJ7S2DD.js.map +1 -0
  14. package/dist/{chunk-KYRF2FPT.js → chunk-4UMMAI3Z.js} +2 -2
  15. package/dist/chunk-5OZMFHIZ.js +577 -0
  16. package/dist/chunk-5OZMFHIZ.js.map +1 -0
  17. package/dist/{chunk-YXBQSLFV.js → chunk-6HNCLOHS.js} +2 -2
  18. package/dist/{chunk-JNG3P5V2.js → chunk-6QLRRSKU.js} +21 -21
  19. package/dist/chunk-6QLRRSKU.js.map +1 -0
  20. package/dist/{chunk-HOVJVXEP.js → chunk-6V5JBHUN.js} +2 -2
  21. package/dist/{chunk-3ZAAUY2N.js → chunk-B3I4EBLE.js} +2 -2
  22. package/dist/{chunk-6CXJAZZD.js → chunk-BY2AAMOO.js} +2 -2
  23. package/dist/{chunk-U23LVMMZ.js → chunk-CCSG7MSD.js} +2 -2
  24. package/dist/{chunk-Q7LUTCNO.js → chunk-CLNOAP6S.js} +33 -33
  25. package/dist/chunk-CLNOAP6S.js.map +1 -0
  26. package/dist/{chunk-ACB6GRSP.js → chunk-E4O32ZYZ.js} +2 -2
  27. package/dist/{chunk-IW4AZVJR.js → chunk-EWBUH2IU.js} +2 -2
  28. package/dist/{chunk-4RHM4XTI.js → chunk-FEF432WU.js} +2 -2
  29. package/dist/{chunk-NJEJU5XN.js → chunk-FKYIYJF7.js} +2 -2
  30. package/dist/{chunk-J432IZXG.js → chunk-GKQVXA3P.js} +276 -262
  31. package/dist/chunk-GKQVXA3P.js.map +1 -0
  32. package/dist/{chunk-UK6MICKK.js → chunk-I5FRA3JS.js} +8 -8
  33. package/dist/{chunk-UK6MICKK.js.map → chunk-I5FRA3JS.js.map} +1 -1
  34. package/dist/{chunk-HGF73KFH.js → chunk-JJV7O7YK.js} +2 -2
  35. package/dist/{chunk-EE3ZYIIB.js → chunk-KPNAXVET.js} +2 -2
  36. package/dist/{chunk-FTIJQLBX.js → chunk-MBPYC6QF.js} +2 -2
  37. package/dist/{chunk-AVAR5KNN.js → chunk-MJHAMHEF.js} +2 -2
  38. package/dist/{chunk-AVAR5KNN.js.map → chunk-MJHAMHEF.js.map} +1 -1
  39. package/dist/{chunk-J3IP3UZX.js → chunk-NY5ZY2WV.js} +2 -2
  40. package/dist/chunk-O5H6BCUN.js +77 -0
  41. package/dist/chunk-O5H6BCUN.js.map +1 -0
  42. package/dist/{chunk-GIFUJ3LL.js → chunk-OABGAL3N.js} +2 -2
  43. package/dist/{chunk-AHZBWCXI.js → chunk-OYPKAYCH.js} +2 -2
  44. package/dist/{chunk-PI6CKUUH.js → chunk-PA3KFAXH.js} +2 -2
  45. package/dist/{chunk-SSFQWEPJ.js → chunk-R4HBEILQ.js} +2 -2
  46. package/dist/{chunk-IVBCCSDR.js → chunk-TCC56PYX.js} +2 -2
  47. package/dist/{chunk-YDAFHXDE.js → chunk-YLFNY4OF.js} +2 -2
  48. package/dist/cli.js +1 -1
  49. package/dist/{client-7JINGNNU.js → client-7ZJZT5H7.js} +2 -2
  50. package/dist/{compaction-PFXWL4H7.js → compaction-GSUWZYBK.js} +3 -3
  51. package/dist/{config-S4ZZHOUZ.js → config-NFDEJ3NB.js} +2 -2
  52. package/dist/{config-mutate-U3KKAXVD.js → config-mutate-JYW5G7T6.js} +2 -2
  53. package/dist/config-mutator-OMWL5XHO.js +2 -0
  54. package/dist/{context-planner-DJB6CKY6.js → context-planner-2XBAPQ3S.js} +2 -2
  55. package/dist/{contributions-6F3MYSRR.js → contributions-TMZ3DYY5.js} +2 -2
  56. package/dist/{doctor-UDZI2OMU.js → doctor-FTUB5ITL.js} +2 -2
  57. package/dist/{follow-up-tool-MP6FOIQE.js → follow-up-tool-FNO2IG72.js} +2 -2
  58. package/dist/heal-KCM6JYUK.js +2 -0
  59. package/dist/hub-MOAG5BEQ.js +2 -0
  60. package/dist/index.d.ts +549 -373
  61. package/dist/index.js +1 -1
  62. package/dist/memory-extract-PFJDJNBH.js +2 -0
  63. package/dist/{program-CMWF3BQS.js → program-HWWXPPS5.js} +24 -24
  64. package/dist/program-HWWXPPS5.js.map +1 -0
  65. package/dist/{promote-YVOYLTXI.js → promote-AAEZYPBP.js} +2 -2
  66. package/dist/{providers-BDJXGHEY.js → providers-VVT2OBXA.js} +2 -2
  67. package/dist/{push-bridge-CFPGPPO7.js → push-bridge-NR7SLHGX.js} +2 -2
  68. package/dist/{query-ZGXXMJ4M.js → query-2EWUIUIT.js} +2 -2
  69. package/dist/{query-settings-TNOGVKBX.js → query-settings-7CB37D6D.js} +2 -2
  70. package/dist/{registry-R2X4YGUK.js → registry-EZMQ2OYY.js} +2 -2
  71. package/dist/{request-planner-QBNGJMF5.js → request-planner-2AU3VK4P.js} +2 -2
  72. package/dist/{review-candidates-WCDKCFXR.js → review-candidates-CIEGXF7K.js} +2 -2
  73. package/dist/routing-XJ25QONX.js +2 -0
  74. package/dist/schedule-tool-5T4CH4CM.js +2 -0
  75. package/dist/{scheduler-7O73TDCG.js → scheduler-UKJWO2TR.js} +2 -2
  76. package/dist/{seat-CCDGNARC.js → seat-JWRCBUKR.js} +2 -2
  77. package/dist/{select-VPZ4QDHV.js → select-KIDX6WWF.js} +2 -2
  78. package/dist/{set-enabled-VYSPZXPC.js → set-enabled-F4D3VWKI.js} +2 -2
  79. package/dist/tool-7FFJSFTS.js +6 -0
  80. package/dist/tool-7FFJSFTS.js.map +1 -0
  81. package/dist/{tool-K3PZOFC2.js → tool-YSS2C2UX.js} +2 -2
  82. package/dist/wiki-PSUAAREB.js +2 -0
  83. package/dist/wiki-enrich-TJIL4B3V.js +2 -0
  84. package/package.json +2 -1
  85. package/dist/agent-OZ3KPI6Y.js +0 -2
  86. package/dist/board-dashboard-MWUCBHDN.js.map +0 -1
  87. package/dist/chunk-H7DLFJBV.js +0 -575
  88. package/dist/chunk-H7DLFJBV.js.map +0 -1
  89. package/dist/chunk-J432IZXG.js.map +0 -1
  90. package/dist/chunk-JNG3P5V2.js.map +0 -1
  91. package/dist/chunk-Q7LUTCNO.js.map +0 -1
  92. package/dist/chunk-QHRQ3PUX.js.map +0 -1
  93. package/dist/chunk-SQTL2CLY.js +0 -76
  94. package/dist/chunk-SQTL2CLY.js.map +0 -1
  95. package/dist/chunk-WHMX2D2Q.js.map +0 -1
  96. package/dist/config-mutator-KKRVNVVV.js +0 -2
  97. package/dist/heal-RGM7X2ZG.js +0 -2
  98. package/dist/hub-TSUVK7PH.js +0 -2
  99. package/dist/memory-extract-GHLBXV4H.js +0 -2
  100. package/dist/program-CMWF3BQS.js.map +0 -1
  101. package/dist/routing-RRRO2GDA.js +0 -2
  102. package/dist/schedule-tool-2XZ3I5IL.js +0 -2
  103. package/dist/tool-VPDXU3IZ.js +0 -6
  104. package/dist/tool-VPDXU3IZ.js.map +0 -1
  105. package/dist/wiki-QA7BDTOR.js +0 -2
  106. package/dist/wiki-enrich-ZIZ5QHQ3.js +0 -2
  107. /package/dist/{App-P4MLXD46.js.map → App-AFRBV666.js.map} +0 -0
  108. /package/dist/{ChatApp-DILDQOJL.js.map → ChatApp-EBTSY27Z.js.map} +0 -0
  109. /package/dist/{absorb-eval-DBC7EKU5.js.map → absorb-eval-VUJFGASJ.js.map} +0 -0
  110. /package/dist/{agent-OZ3KPI6Y.js.map → agent-EA55CR6J.js.map} +0 -0
  111. /package/dist/{chunk-YLAJOO5X.js.map → chunk-2NLPGLLL.js.map} +0 -0
  112. /package/dist/{chunk-CTXHMJLZ.js.map → chunk-3HO6CHT6.js.map} +0 -0
  113. /package/dist/{chunk-D65HXPIB.js.map → chunk-3ZMVYNFH.js.map} +0 -0
  114. /package/dist/{chunk-KYRF2FPT.js.map → chunk-4UMMAI3Z.js.map} +0 -0
  115. /package/dist/{chunk-YXBQSLFV.js.map → chunk-6HNCLOHS.js.map} +0 -0
  116. /package/dist/{chunk-HOVJVXEP.js.map → chunk-6V5JBHUN.js.map} +0 -0
  117. /package/dist/{chunk-3ZAAUY2N.js.map → chunk-B3I4EBLE.js.map} +0 -0
  118. /package/dist/{chunk-6CXJAZZD.js.map → chunk-BY2AAMOO.js.map} +0 -0
  119. /package/dist/{chunk-U23LVMMZ.js.map → chunk-CCSG7MSD.js.map} +0 -0
  120. /package/dist/{chunk-ACB6GRSP.js.map → chunk-E4O32ZYZ.js.map} +0 -0
  121. /package/dist/{chunk-IW4AZVJR.js.map → chunk-EWBUH2IU.js.map} +0 -0
  122. /package/dist/{chunk-4RHM4XTI.js.map → chunk-FEF432WU.js.map} +0 -0
  123. /package/dist/{chunk-NJEJU5XN.js.map → chunk-FKYIYJF7.js.map} +0 -0
  124. /package/dist/{chunk-HGF73KFH.js.map → chunk-JJV7O7YK.js.map} +0 -0
  125. /package/dist/{chunk-EE3ZYIIB.js.map → chunk-KPNAXVET.js.map} +0 -0
  126. /package/dist/{chunk-FTIJQLBX.js.map → chunk-MBPYC6QF.js.map} +0 -0
  127. /package/dist/{chunk-J3IP3UZX.js.map → chunk-NY5ZY2WV.js.map} +0 -0
  128. /package/dist/{chunk-GIFUJ3LL.js.map → chunk-OABGAL3N.js.map} +0 -0
  129. /package/dist/{chunk-AHZBWCXI.js.map → chunk-OYPKAYCH.js.map} +0 -0
  130. /package/dist/{chunk-PI6CKUUH.js.map → chunk-PA3KFAXH.js.map} +0 -0
  131. /package/dist/{chunk-SSFQWEPJ.js.map → chunk-R4HBEILQ.js.map} +0 -0
  132. /package/dist/{chunk-IVBCCSDR.js.map → chunk-TCC56PYX.js.map} +0 -0
  133. /package/dist/{chunk-YDAFHXDE.js.map → chunk-YLFNY4OF.js.map} +0 -0
  134. /package/dist/{client-7JINGNNU.js.map → client-7ZJZT5H7.js.map} +0 -0
  135. /package/dist/{compaction-PFXWL4H7.js.map → compaction-GSUWZYBK.js.map} +0 -0
  136. /package/dist/{config-S4ZZHOUZ.js.map → config-NFDEJ3NB.js.map} +0 -0
  137. /package/dist/{config-mutate-U3KKAXVD.js.map → config-mutate-JYW5G7T6.js.map} +0 -0
  138. /package/dist/{config-mutator-KKRVNVVV.js.map → config-mutator-OMWL5XHO.js.map} +0 -0
  139. /package/dist/{context-planner-DJB6CKY6.js.map → context-planner-2XBAPQ3S.js.map} +0 -0
  140. /package/dist/{contributions-6F3MYSRR.js.map → contributions-TMZ3DYY5.js.map} +0 -0
  141. /package/dist/{doctor-UDZI2OMU.js.map → doctor-FTUB5ITL.js.map} +0 -0
  142. /package/dist/{follow-up-tool-MP6FOIQE.js.map → follow-up-tool-FNO2IG72.js.map} +0 -0
  143. /package/dist/{heal-RGM7X2ZG.js.map → heal-KCM6JYUK.js.map} +0 -0
  144. /package/dist/{hub-TSUVK7PH.js.map → hub-MOAG5BEQ.js.map} +0 -0
  145. /package/dist/{memory-extract-GHLBXV4H.js.map → memory-extract-PFJDJNBH.js.map} +0 -0
  146. /package/dist/{promote-YVOYLTXI.js.map → promote-AAEZYPBP.js.map} +0 -0
  147. /package/dist/{providers-BDJXGHEY.js.map → providers-VVT2OBXA.js.map} +0 -0
  148. /package/dist/{push-bridge-CFPGPPO7.js.map → push-bridge-NR7SLHGX.js.map} +0 -0
  149. /package/dist/{query-ZGXXMJ4M.js.map → query-2EWUIUIT.js.map} +0 -0
  150. /package/dist/{query-settings-TNOGVKBX.js.map → query-settings-7CB37D6D.js.map} +0 -0
  151. /package/dist/{registry-R2X4YGUK.js.map → registry-EZMQ2OYY.js.map} +0 -0
  152. /package/dist/{request-planner-QBNGJMF5.js.map → request-planner-2AU3VK4P.js.map} +0 -0
  153. /package/dist/{review-candidates-WCDKCFXR.js.map → review-candidates-CIEGXF7K.js.map} +0 -0
  154. /package/dist/{routing-RRRO2GDA.js.map → routing-XJ25QONX.js.map} +0 -0
  155. /package/dist/{schedule-tool-2XZ3I5IL.js.map → schedule-tool-5T4CH4CM.js.map} +0 -0
  156. /package/dist/{scheduler-7O73TDCG.js.map → scheduler-UKJWO2TR.js.map} +0 -0
  157. /package/dist/{seat-CCDGNARC.js.map → seat-JWRCBUKR.js.map} +0 -0
  158. /package/dist/{select-VPZ4QDHV.js.map → select-KIDX6WWF.js.map} +0 -0
  159. /package/dist/{set-enabled-VYSPZXPC.js.map → set-enabled-F4D3VWKI.js.map} +0 -0
  160. /package/dist/{tool-K3PZOFC2.js.map → tool-YSS2C2UX.js.map} +0 -0
  161. /package/dist/{wiki-QA7BDTOR.js.map → wiki-PSUAAREB.js.map} +0 -0
  162. /package/dist/{wiki-enrich-ZIZ5QHQ3.js.map → wiki-enrich-TJIL4B3V.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -35,6 +35,10 @@ interface ProviderOptions {
35
35
  * (classifier, summaries, extraction) set this so a CLI-backed provider
36
36
  * skips the full interactive startup instead of paying it per call. */
37
37
  bare?: boolean;
38
+ /** No thinking before the answer. A one-line judgment gains little from
39
+ * it, and on the claude-code CLI it multiplied a call's output tokens
40
+ * (#1138 E). The API path does not think unless asked to. */
41
+ noThinking?: boolean;
38
42
  /** Force the model to call one specific tool, making its whole reply the
39
43
  * tool's structured `input`. Anthropic renders this as
40
44
  * `tool_choice: {type:"tool", name}`; OpenAI as
@@ -1902,7 +1906,7 @@ declare const agentConfigSchema: z.ZodObject<{
1902
1906
  system?: string | Record<string, string> | undefined;
1903
1907
  provider?: "system" | "elevenlabs" | undefined;
1904
1908
  style?: string | undefined;
1905
- priority?: "high" | "normal" | "low" | undefined;
1909
+ priority?: "normal" | "low" | "high" | undefined;
1906
1910
  fallbacks?: string[] | undefined;
1907
1911
  elevenlabsVoiceId?: string | undefined;
1908
1912
  gender?: "neutral" | "female" | "male" | undefined;
@@ -1914,7 +1918,7 @@ declare const agentConfigSchema: z.ZodObject<{
1914
1918
  system?: string | Record<string, string> | undefined;
1915
1919
  provider?: "system" | "elevenlabs" | undefined;
1916
1920
  style?: string | undefined;
1917
- priority?: "high" | "normal" | "low" | undefined;
1921
+ priority?: "normal" | "low" | "high" | undefined;
1918
1922
  fallbacks?: string[] | undefined;
1919
1923
  elevenlabsVoiceId?: string | undefined;
1920
1924
  gender?: "neutral" | "female" | "male" | undefined;
@@ -1960,8 +1964,10 @@ declare const agentConfigSchema: z.ZodObject<{
1960
1964
  channel: string;
1961
1965
  intervalMinutes: number;
1962
1966
  };
1963
- workspace: string;
1967
+ billing: "api" | "subscription";
1968
+ access: "public" | "private";
1964
1969
  tier: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator";
1970
+ workspace: string;
1965
1971
  mentions: string[];
1966
1972
  intents: string[];
1967
1973
  maxDelegationDepth: number;
@@ -1972,7 +1978,6 @@ declare const agentConfigSchema: z.ZodObject<{
1972
1978
  maxExecutionMinutes: number;
1973
1979
  preSpawnTimeoutSec: number;
1974
1980
  permissionMode: string;
1975
- billing: "api" | "subscription";
1976
1981
  cloudSessions: {
1977
1982
  enabled: boolean;
1978
1983
  maxPerDay: number;
@@ -1981,8 +1986,7 @@ declare const agentConfigSchema: z.ZodObject<{
1981
1986
  };
1982
1987
  toolUseRequired: string[];
1983
1988
  persistentProcess: boolean;
1984
- queueMode: "drop" | "collect" | "followup";
1985
- access: "private" | "public";
1989
+ queueMode: "drop" | "followup" | "collect";
1986
1990
  subscriptions: {
1987
1991
  kinds: string[];
1988
1992
  delivery: "pull" | "digest" | "wake";
@@ -2027,7 +2031,7 @@ declare const agentConfigSchema: z.ZodObject<{
2027
2031
  system?: string | Record<string, string> | undefined;
2028
2032
  provider?: "system" | "elevenlabs" | undefined;
2029
2033
  style?: string | undefined;
2030
- priority?: "high" | "normal" | "low" | undefined;
2034
+ priority?: "normal" | "low" | "high" | undefined;
2031
2035
  fallbacks?: string[] | undefined;
2032
2036
  elevenlabsVoiceId?: string | undefined;
2033
2037
  gender?: "neutral" | "female" | "male" | undefined;
@@ -2046,11 +2050,11 @@ declare const agentConfigSchema: z.ZodObject<{
2046
2050
  url: string;
2047
2051
  headers?: Record<string, string> | undefined;
2048
2052
  }> | undefined;
2053
+ admin?: boolean | undefined;
2049
2054
  systemPrompt?: string | undefined;
2050
2055
  contextStrategy?: "layered" | "planner" | undefined;
2051
2056
  drainTimeoutSeconds?: number | undefined;
2052
2057
  gitlabAutoReply?: boolean | undefined;
2053
- admin?: boolean | undefined;
2054
2058
  presence?: {
2055
2059
  initial?: string | undefined;
2056
2060
  label?: string | undefined;
@@ -2081,7 +2085,7 @@ declare const agentConfigSchema: z.ZodObject<{
2081
2085
  system?: string | Record<string, string> | undefined;
2082
2086
  provider?: "system" | "elevenlabs" | undefined;
2083
2087
  style?: string | undefined;
2084
- priority?: "high" | "normal" | "low" | undefined;
2088
+ priority?: "normal" | "low" | "high" | undefined;
2085
2089
  fallbacks?: string[] | undefined;
2086
2090
  elevenlabsVoiceId?: string | undefined;
2087
2091
  gender?: "neutral" | "female" | "male" | undefined;
@@ -2106,6 +2110,9 @@ declare const agentConfigSchema: z.ZodObject<{
2106
2110
  channel?: string | undefined;
2107
2111
  intervalMinutes?: number | undefined;
2108
2112
  } | undefined;
2113
+ billing?: "api" | "subscription" | undefined;
2114
+ admin?: boolean | undefined;
2115
+ access?: "public" | "private" | undefined;
2109
2116
  tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
2110
2117
  systemPrompt?: string | undefined;
2111
2118
  mentions?: string[] | undefined;
@@ -2120,7 +2127,6 @@ declare const agentConfigSchema: z.ZodObject<{
2120
2127
  preSpawnTimeoutSec?: number | undefined;
2121
2128
  drainTimeoutSeconds?: number | undefined;
2122
2129
  permissionMode?: string | undefined;
2123
- billing?: "api" | "subscription" | undefined;
2124
2130
  cloudSessions?: {
2125
2131
  enabled?: boolean | undefined;
2126
2132
  maxPerDay?: number | undefined;
@@ -2130,9 +2136,7 @@ declare const agentConfigSchema: z.ZodObject<{
2130
2136
  toolUseRequired?: string[] | undefined;
2131
2137
  gitlabAutoReply?: boolean | undefined;
2132
2138
  persistentProcess?: boolean | undefined;
2133
- queueMode?: "drop" | "collect" | "followup" | undefined;
2134
- access?: "private" | "public" | undefined;
2135
- admin?: boolean | undefined;
2139
+ queueMode?: "drop" | "followup" | "collect" | undefined;
2136
2140
  subscriptions?: {
2137
2141
  kinds: string[];
2138
2142
  match?: string | undefined;
@@ -2264,17 +2268,17 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2264
2268
  chatId: string;
2265
2269
  accountId?: string | undefined;
2266
2270
  } | undefined;
2271
+ taskType?: string | undefined;
2272
+ createdBy?: string | undefined;
2267
2273
  approval?: {
2268
2274
  action: "delete" | "create";
2269
2275
  requestedBy: string;
2270
2276
  requestedAt: string;
2271
2277
  } | undefined;
2272
2278
  maxOutputTokens?: number | undefined;
2273
- taskType?: string | undefined;
2274
2279
  autonomy?: "report" | "propose" | "act" | undefined;
2275
2280
  deliverResult?: boolean | undefined;
2276
2281
  fireToken?: string | undefined;
2277
- createdBy?: string | undefined;
2278
2282
  }, {
2279
2283
  agent: string;
2280
2284
  schedule: string;
@@ -2289,18 +2293,18 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2289
2293
  chatId: string;
2290
2294
  accountId?: string | undefined;
2291
2295
  } | undefined;
2296
+ taskType?: string | undefined;
2297
+ createdBy?: string | undefined;
2292
2298
  approval?: {
2293
2299
  action: "delete" | "create";
2294
2300
  requestedBy: string;
2295
2301
  requestedAt: string;
2296
2302
  } | undefined;
2297
2303
  maxOutputTokens?: number | undefined;
2298
- taskType?: string | undefined;
2299
2304
  autonomy?: "report" | "propose" | "act" | undefined;
2300
2305
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
2301
2306
  deliverResult?: boolean | undefined;
2302
2307
  fireToken?: string | undefined;
2303
- createdBy?: string | undefined;
2304
2308
  }>, {
2305
2309
  enabled: boolean;
2306
2310
  agent: string;
@@ -2316,17 +2320,17 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2316
2320
  chatId: string;
2317
2321
  accountId?: string | undefined;
2318
2322
  } | undefined;
2323
+ taskType?: string | undefined;
2324
+ createdBy?: string | undefined;
2319
2325
  approval?: {
2320
2326
  action: "delete" | "create";
2321
2327
  requestedBy: string;
2322
2328
  requestedAt: string;
2323
2329
  } | undefined;
2324
2330
  maxOutputTokens?: number | undefined;
2325
- taskType?: string | undefined;
2326
2331
  autonomy?: "report" | "propose" | "act" | undefined;
2327
2332
  deliverResult?: boolean | undefined;
2328
2333
  fireToken?: string | undefined;
2329
- createdBy?: string | undefined;
2330
2334
  }, {
2331
2335
  agent: string;
2332
2336
  schedule: string;
@@ -2341,18 +2345,18 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2341
2345
  chatId: string;
2342
2346
  accountId?: string | undefined;
2343
2347
  } | undefined;
2348
+ taskType?: string | undefined;
2349
+ createdBy?: string | undefined;
2344
2350
  approval?: {
2345
2351
  action: "delete" | "create";
2346
2352
  requestedBy: string;
2347
2353
  requestedAt: string;
2348
2354
  } | undefined;
2349
2355
  maxOutputTokens?: number | undefined;
2350
- taskType?: string | undefined;
2351
2356
  autonomy?: "report" | "propose" | "act" | undefined;
2352
2357
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
2353
2358
  deliverResult?: boolean | undefined;
2354
2359
  fireToken?: string | undefined;
2355
- createdBy?: string | undefined;
2356
2360
  }>, {
2357
2361
  enabled: boolean;
2358
2362
  agent: string;
@@ -2368,17 +2372,17 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2368
2372
  chatId: string;
2369
2373
  accountId?: string | undefined;
2370
2374
  } | undefined;
2375
+ taskType?: string | undefined;
2376
+ createdBy?: string | undefined;
2371
2377
  approval?: {
2372
2378
  action: "delete" | "create";
2373
2379
  requestedBy: string;
2374
2380
  requestedAt: string;
2375
2381
  } | undefined;
2376
2382
  maxOutputTokens?: number | undefined;
2377
- taskType?: string | undefined;
2378
2383
  autonomy?: "report" | "propose" | "act" | undefined;
2379
2384
  deliverResult?: boolean | undefined;
2380
2385
  fireToken?: string | undefined;
2381
- createdBy?: string | undefined;
2382
2386
  }, {
2383
2387
  agent: string;
2384
2388
  schedule: string;
@@ -2393,18 +2397,18 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2393
2397
  chatId: string;
2394
2398
  accountId?: string | undefined;
2395
2399
  } | undefined;
2400
+ taskType?: string | undefined;
2401
+ createdBy?: string | undefined;
2396
2402
  approval?: {
2397
2403
  action: "delete" | "create";
2398
2404
  requestedBy: string;
2399
2405
  requestedAt: string;
2400
2406
  } | undefined;
2401
2407
  maxOutputTokens?: number | undefined;
2402
- taskType?: string | undefined;
2403
2408
  autonomy?: "report" | "propose" | "act" | undefined;
2404
2409
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
2405
2410
  deliverResult?: boolean | undefined;
2406
2411
  fireToken?: string | undefined;
2407
- createdBy?: string | undefined;
2408
2412
  }>;
2409
2413
  declare const meshPeerSchema: z.ZodObject<{
2410
2414
  url: z.ZodString;
@@ -2879,7 +2883,7 @@ declare const daemonConfigSchema: z.ZodObject<{
2879
2883
  system?: string | Record<string, string> | undefined;
2880
2884
  provider?: "system" | "elevenlabs" | undefined;
2881
2885
  style?: string | undefined;
2882
- priority?: "high" | "normal" | "low" | undefined;
2886
+ priority?: "normal" | "low" | "high" | undefined;
2883
2887
  fallbacks?: string[] | undefined;
2884
2888
  elevenlabsVoiceId?: string | undefined;
2885
2889
  gender?: "neutral" | "female" | "male" | undefined;
@@ -2891,7 +2895,7 @@ declare const daemonConfigSchema: z.ZodObject<{
2891
2895
  system?: string | Record<string, string> | undefined;
2892
2896
  provider?: "system" | "elevenlabs" | undefined;
2893
2897
  style?: string | undefined;
2894
- priority?: "high" | "normal" | "low" | undefined;
2898
+ priority?: "normal" | "low" | "high" | undefined;
2895
2899
  fallbacks?: string[] | undefined;
2896
2900
  elevenlabsVoiceId?: string | undefined;
2897
2901
  gender?: "neutral" | "female" | "male" | undefined;
@@ -2937,8 +2941,10 @@ declare const daemonConfigSchema: z.ZodObject<{
2937
2941
  channel: string;
2938
2942
  intervalMinutes: number;
2939
2943
  };
2940
- workspace: string;
2944
+ billing: "api" | "subscription";
2945
+ access: "public" | "private";
2941
2946
  tier: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator";
2947
+ workspace: string;
2942
2948
  mentions: string[];
2943
2949
  intents: string[];
2944
2950
  maxDelegationDepth: number;
@@ -2949,7 +2955,6 @@ declare const daemonConfigSchema: z.ZodObject<{
2949
2955
  maxExecutionMinutes: number;
2950
2956
  preSpawnTimeoutSec: number;
2951
2957
  permissionMode: string;
2952
- billing: "api" | "subscription";
2953
2958
  cloudSessions: {
2954
2959
  enabled: boolean;
2955
2960
  maxPerDay: number;
@@ -2958,8 +2963,7 @@ declare const daemonConfigSchema: z.ZodObject<{
2958
2963
  };
2959
2964
  toolUseRequired: string[];
2960
2965
  persistentProcess: boolean;
2961
- queueMode: "drop" | "collect" | "followup";
2962
- access: "private" | "public";
2966
+ queueMode: "drop" | "followup" | "collect";
2963
2967
  subscriptions: {
2964
2968
  kinds: string[];
2965
2969
  delivery: "pull" | "digest" | "wake";
@@ -3004,7 +3008,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3004
3008
  system?: string | Record<string, string> | undefined;
3005
3009
  provider?: "system" | "elevenlabs" | undefined;
3006
3010
  style?: string | undefined;
3007
- priority?: "high" | "normal" | "low" | undefined;
3011
+ priority?: "normal" | "low" | "high" | undefined;
3008
3012
  fallbacks?: string[] | undefined;
3009
3013
  elevenlabsVoiceId?: string | undefined;
3010
3014
  gender?: "neutral" | "female" | "male" | undefined;
@@ -3023,11 +3027,11 @@ declare const daemonConfigSchema: z.ZodObject<{
3023
3027
  url: string;
3024
3028
  headers?: Record<string, string> | undefined;
3025
3029
  }> | undefined;
3030
+ admin?: boolean | undefined;
3026
3031
  systemPrompt?: string | undefined;
3027
3032
  contextStrategy?: "layered" | "planner" | undefined;
3028
3033
  drainTimeoutSeconds?: number | undefined;
3029
3034
  gitlabAutoReply?: boolean | undefined;
3030
- admin?: boolean | undefined;
3031
3035
  presence?: {
3032
3036
  initial?: string | undefined;
3033
3037
  label?: string | undefined;
@@ -3058,7 +3062,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3058
3062
  system?: string | Record<string, string> | undefined;
3059
3063
  provider?: "system" | "elevenlabs" | undefined;
3060
3064
  style?: string | undefined;
3061
- priority?: "high" | "normal" | "low" | undefined;
3065
+ priority?: "normal" | "low" | "high" | undefined;
3062
3066
  fallbacks?: string[] | undefined;
3063
3067
  elevenlabsVoiceId?: string | undefined;
3064
3068
  gender?: "neutral" | "female" | "male" | undefined;
@@ -3083,6 +3087,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3083
3087
  channel?: string | undefined;
3084
3088
  intervalMinutes?: number | undefined;
3085
3089
  } | undefined;
3090
+ billing?: "api" | "subscription" | undefined;
3091
+ admin?: boolean | undefined;
3092
+ access?: "public" | "private" | undefined;
3086
3093
  tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
3087
3094
  systemPrompt?: string | undefined;
3088
3095
  mentions?: string[] | undefined;
@@ -3097,7 +3104,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3097
3104
  preSpawnTimeoutSec?: number | undefined;
3098
3105
  drainTimeoutSeconds?: number | undefined;
3099
3106
  permissionMode?: string | undefined;
3100
- billing?: "api" | "subscription" | undefined;
3101
3107
  cloudSessions?: {
3102
3108
  enabled?: boolean | undefined;
3103
3109
  maxPerDay?: number | undefined;
@@ -3107,9 +3113,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3107
3113
  toolUseRequired?: string[] | undefined;
3108
3114
  gitlabAutoReply?: boolean | undefined;
3109
3115
  persistentProcess?: boolean | undefined;
3110
- queueMode?: "drop" | "collect" | "followup" | undefined;
3111
- access?: "private" | "public" | undefined;
3112
- admin?: boolean | undefined;
3116
+ queueMode?: "drop" | "followup" | "collect" | undefined;
3113
3117
  subscriptions?: {
3114
3118
  kinds: string[];
3115
3119
  match?: string | undefined;
@@ -3320,9 +3324,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3320
3324
  }>]>, "many">>;
3321
3325
  }, "strip", z.ZodTypeAny, {
3322
3326
  enabled: boolean;
3323
- timeoutMs: number;
3324
- maxReads: number;
3325
- plannerModel: string;
3326
3327
  sources: ({
3327
3328
  type: "github";
3328
3329
  repos: (string | {
@@ -3346,11 +3347,11 @@ declare const daemonConfigSchema: z.ZodObject<{
3346
3347
  peers: boolean;
3347
3348
  url?: string | undefined;
3348
3349
  })[];
3350
+ timeoutMs: number;
3351
+ maxReads: number;
3352
+ plannerModel: string;
3349
3353
  }, {
3350
3354
  enabled?: boolean | undefined;
3351
- timeoutMs?: number | undefined;
3352
- maxReads?: number | undefined;
3353
- plannerModel?: string | undefined;
3354
3355
  sources?: ({
3355
3356
  type: "github";
3356
3357
  repos: (string | {
@@ -3374,6 +3375,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3374
3375
  url?: string | undefined;
3375
3376
  peers?: boolean | undefined;
3376
3377
  })[] | undefined;
3378
+ timeoutMs?: number | undefined;
3379
+ maxReads?: number | undefined;
3380
+ plannerModel?: string | undefined;
3377
3381
  }>>;
3378
3382
  }, "strip", z.ZodTypeAny, {
3379
3383
  method: "auto" | "summaries" | "catalog";
@@ -3384,9 +3388,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3384
3388
  };
3385
3389
  live: {
3386
3390
  enabled: boolean;
3387
- timeoutMs: number;
3388
- maxReads: number;
3389
- plannerModel: string;
3390
3391
  sources: ({
3391
3392
  type: "github";
3392
3393
  repos: (string | {
@@ -3410,6 +3411,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3410
3411
  peers: boolean;
3411
3412
  url?: string | undefined;
3412
3413
  })[];
3414
+ timeoutMs: number;
3415
+ maxReads: number;
3416
+ plannerModel: string;
3413
3417
  };
3414
3418
  shared: boolean;
3415
3419
  candidates: number;
@@ -3429,9 +3433,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3429
3433
  } | undefined;
3430
3434
  live?: {
3431
3435
  enabled?: boolean | undefined;
3432
- timeoutMs?: number | undefined;
3433
- maxReads?: number | undefined;
3434
- plannerModel?: string | undefined;
3435
3436
  sources?: ({
3436
3437
  type: "github";
3437
3438
  repos: (string | {
@@ -3455,6 +3456,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3455
3456
  url?: string | undefined;
3456
3457
  peers?: boolean | undefined;
3457
3458
  })[] | undefined;
3459
+ timeoutMs?: number | undefined;
3460
+ maxReads?: number | undefined;
3461
+ plannerModel?: string | undefined;
3458
3462
  } | undefined;
3459
3463
  shared?: boolean | undefined;
3460
3464
  candidates?: number | undefined;
@@ -3518,9 +3522,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3518
3522
  };
3519
3523
  live: {
3520
3524
  enabled: boolean;
3521
- timeoutMs: number;
3522
- maxReads: number;
3523
- plannerModel: string;
3524
3525
  sources: ({
3525
3526
  type: "github";
3526
3527
  repos: (string | {
@@ -3544,6 +3545,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3544
3545
  peers: boolean;
3545
3546
  url?: string | undefined;
3546
3547
  })[];
3548
+ timeoutMs: number;
3549
+ maxReads: number;
3550
+ plannerModel: string;
3547
3551
  };
3548
3552
  shared: boolean;
3549
3553
  candidates: number;
@@ -3584,9 +3588,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3584
3588
  } | undefined;
3585
3589
  live?: {
3586
3590
  enabled?: boolean | undefined;
3587
- timeoutMs?: number | undefined;
3588
- maxReads?: number | undefined;
3589
- plannerModel?: string | undefined;
3590
3591
  sources?: ({
3591
3592
  type: "github";
3592
3593
  repos: (string | {
@@ -3610,6 +3611,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3610
3611
  url?: string | undefined;
3611
3612
  peers?: boolean | undefined;
3612
3613
  })[] | undefined;
3614
+ timeoutMs?: number | undefined;
3615
+ maxReads?: number | undefined;
3616
+ plannerModel?: string | undefined;
3613
3617
  } | undefined;
3614
3618
  shared?: boolean | undefined;
3615
3619
  candidates?: number | undefined;
@@ -3809,12 +3813,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3809
3813
  }>>;
3810
3814
  }, "strip", z.ZodTypeAny, {
3811
3815
  enabled: boolean;
3812
- sessionDir: string;
3813
- routes: {
3814
- agent: string;
3815
- group?: string | undefined;
3816
- contact?: string | undefined;
3817
- }[];
3818
3816
  ingest: {
3819
3817
  enabled: boolean;
3820
3818
  mode: "messages" | "metadata-only";
@@ -3832,18 +3830,16 @@ declare const daemonConfigSchema: z.ZodObject<{
3832
3830
  maxChatsPerSweep: number;
3833
3831
  };
3834
3832
  };
3833
+ sessionDir: string;
3834
+ routes: {
3835
+ agent: string;
3836
+ group?: string | undefined;
3837
+ contact?: string | undefined;
3838
+ }[];
3835
3839
  allowFrom?: string[] | undefined;
3836
3840
  defaultAgent?: string | undefined;
3837
3841
  }, {
3838
3842
  enabled?: boolean | undefined;
3839
- sessionDir?: string | undefined;
3840
- allowFrom?: string[] | undefined;
3841
- defaultAgent?: string | undefined;
3842
- routes?: {
3843
- agent: string;
3844
- group?: string | undefined;
3845
- contact?: string | undefined;
3846
- }[] | undefined;
3847
3843
  ingest?: {
3848
3844
  enabled?: boolean | undefined;
3849
3845
  mode?: "messages" | "metadata-only" | undefined;
@@ -3861,6 +3857,14 @@ declare const daemonConfigSchema: z.ZodObject<{
3861
3857
  maxChatsPerSweep?: number | undefined;
3862
3858
  } | undefined;
3863
3859
  } | undefined;
3860
+ sessionDir?: string | undefined;
3861
+ allowFrom?: string[] | undefined;
3862
+ defaultAgent?: string | undefined;
3863
+ routes?: {
3864
+ agent: string;
3865
+ group?: string | undefined;
3866
+ contact?: string | undefined;
3867
+ }[] | undefined;
3864
3868
  }>>;
3865
3869
  gitlab: z.ZodDefault<z.ZodObject<{
3866
3870
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -3904,9 +3908,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3904
3908
  }, {
3905
3909
  agentId: string;
3906
3910
  token?: string | undefined;
3911
+ node?: string | undefined;
3907
3912
  gitlabUsernames?: string[] | undefined;
3908
3913
  keywords?: string[] | undefined;
3909
- node?: string | undefined;
3910
3914
  }>, "many">>;
3911
3915
  /** Extra GitLab usernames each agent answers to, as prefixes. With
3912
3916
  * ["team-"], an agent with no agentMappings row answers to @<id> and
@@ -3945,9 +3949,9 @@ declare const daemonConfigSchema: z.ZodObject<{
3945
3949
  agentMappings?: {
3946
3950
  agentId: string;
3947
3951
  token?: string | undefined;
3952
+ node?: string | undefined;
3948
3953
  gitlabUsernames?: string[] | undefined;
3949
3954
  keywords?: string[] | undefined;
3950
- node?: string | undefined;
3951
3955
  }[] | undefined;
3952
3956
  agentUsernamePrefixes?: string[] | undefined;
3953
3957
  }>>;
@@ -4134,8 +4138,8 @@ declare const daemonConfigSchema: z.ZodObject<{
4134
4138
  relayTo?: string | undefined;
4135
4139
  }, {
4136
4140
  enabled?: boolean | undefined;
4137
- keysFile?: string | undefined;
4138
4141
  subject?: string | undefined;
4142
+ keysFile?: string | undefined;
4139
4143
  relayTo?: string | undefined;
4140
4144
  ttlSeconds?: number | undefined;
4141
4145
  keepRecent?: number | undefined;
@@ -4460,12 +4464,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4460
4464
  };
4461
4465
  whatsapp: {
4462
4466
  enabled: boolean;
4463
- sessionDir: string;
4464
- routes: {
4465
- agent: string;
4466
- group?: string | undefined;
4467
- contact?: string | undefined;
4468
- }[];
4469
4467
  ingest: {
4470
4468
  enabled: boolean;
4471
4469
  mode: "messages" | "metadata-only";
@@ -4483,6 +4481,12 @@ declare const daemonConfigSchema: z.ZodObject<{
4483
4481
  maxChatsPerSweep: number;
4484
4482
  };
4485
4483
  };
4484
+ sessionDir: string;
4485
+ routes: {
4486
+ agent: string;
4487
+ group?: string | undefined;
4488
+ contact?: string | undefined;
4489
+ }[];
4486
4490
  allowFrom?: string[] | undefined;
4487
4491
  defaultAgent?: string | undefined;
4488
4492
  };
@@ -4569,8 +4573,8 @@ declare const daemonConfigSchema: z.ZodObject<{
4569
4573
  }, {
4570
4574
  push?: {
4571
4575
  enabled?: boolean | undefined;
4572
- keysFile?: string | undefined;
4573
4576
  subject?: string | undefined;
4577
+ keysFile?: string | undefined;
4574
4578
  relayTo?: string | undefined;
4575
4579
  ttlSeconds?: number | undefined;
4576
4580
  keepRecent?: number | undefined;
@@ -4590,9 +4594,9 @@ declare const daemonConfigSchema: z.ZodObject<{
4590
4594
  agentMappings?: {
4591
4595
  agentId: string;
4592
4596
  token?: string | undefined;
4597
+ node?: string | undefined;
4593
4598
  gitlabUsernames?: string[] | undefined;
4594
4599
  keywords?: string[] | undefined;
4595
- node?: string | undefined;
4596
4600
  }[] | undefined;
4597
4601
  agentUsernamePrefixes?: string[] | undefined;
4598
4602
  } | undefined;
@@ -4612,14 +4616,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4612
4616
  } | undefined;
4613
4617
  whatsapp?: {
4614
4618
  enabled?: boolean | undefined;
4615
- sessionDir?: string | undefined;
4616
- allowFrom?: string[] | undefined;
4617
- defaultAgent?: string | undefined;
4618
- routes?: {
4619
- agent: string;
4620
- group?: string | undefined;
4621
- contact?: string | undefined;
4622
- }[] | undefined;
4623
4619
  ingest?: {
4624
4620
  enabled?: boolean | undefined;
4625
4621
  mode?: "messages" | "metadata-only" | undefined;
@@ -4637,6 +4633,14 @@ declare const daemonConfigSchema: z.ZodObject<{
4637
4633
  maxChatsPerSweep?: number | undefined;
4638
4634
  } | undefined;
4639
4635
  } | undefined;
4636
+ sessionDir?: string | undefined;
4637
+ allowFrom?: string[] | undefined;
4638
+ defaultAgent?: string | undefined;
4639
+ routes?: {
4640
+ agent: string;
4641
+ group?: string | undefined;
4642
+ contact?: string | undefined;
4643
+ }[] | undefined;
4640
4644
  } | undefined;
4641
4645
  github?: {
4642
4646
  enabled?: boolean | undefined;
@@ -4818,17 +4822,17 @@ declare const daemonConfigSchema: z.ZodObject<{
4818
4822
  chatId: string;
4819
4823
  accountId?: string | undefined;
4820
4824
  } | undefined;
4825
+ taskType?: string | undefined;
4826
+ createdBy?: string | undefined;
4821
4827
  approval?: {
4822
4828
  action: "delete" | "create";
4823
4829
  requestedBy: string;
4824
4830
  requestedAt: string;
4825
4831
  } | undefined;
4826
4832
  maxOutputTokens?: number | undefined;
4827
- taskType?: string | undefined;
4828
4833
  autonomy?: "report" | "propose" | "act" | undefined;
4829
4834
  deliverResult?: boolean | undefined;
4830
4835
  fireToken?: string | undefined;
4831
- createdBy?: string | undefined;
4832
4836
  }, {
4833
4837
  agent: string;
4834
4838
  schedule: string;
@@ -4843,18 +4847,18 @@ declare const daemonConfigSchema: z.ZodObject<{
4843
4847
  chatId: string;
4844
4848
  accountId?: string | undefined;
4845
4849
  } | undefined;
4850
+ taskType?: string | undefined;
4851
+ createdBy?: string | undefined;
4846
4852
  approval?: {
4847
4853
  action: "delete" | "create";
4848
4854
  requestedBy: string;
4849
4855
  requestedAt: string;
4850
4856
  } | undefined;
4851
4857
  maxOutputTokens?: number | undefined;
4852
- taskType?: string | undefined;
4853
4858
  autonomy?: "report" | "propose" | "act" | undefined;
4854
4859
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
4855
4860
  deliverResult?: boolean | undefined;
4856
4861
  fireToken?: string | undefined;
4857
- createdBy?: string | undefined;
4858
4862
  }>, {
4859
4863
  enabled: boolean;
4860
4864
  agent: string;
@@ -4870,17 +4874,17 @@ declare const daemonConfigSchema: z.ZodObject<{
4870
4874
  chatId: string;
4871
4875
  accountId?: string | undefined;
4872
4876
  } | undefined;
4877
+ taskType?: string | undefined;
4878
+ createdBy?: string | undefined;
4873
4879
  approval?: {
4874
4880
  action: "delete" | "create";
4875
4881
  requestedBy: string;
4876
4882
  requestedAt: string;
4877
4883
  } | undefined;
4878
4884
  maxOutputTokens?: number | undefined;
4879
- taskType?: string | undefined;
4880
4885
  autonomy?: "report" | "propose" | "act" | undefined;
4881
4886
  deliverResult?: boolean | undefined;
4882
4887
  fireToken?: string | undefined;
4883
- createdBy?: string | undefined;
4884
4888
  }, {
4885
4889
  agent: string;
4886
4890
  schedule: string;
@@ -4895,18 +4899,18 @@ declare const daemonConfigSchema: z.ZodObject<{
4895
4899
  chatId: string;
4896
4900
  accountId?: string | undefined;
4897
4901
  } | undefined;
4902
+ taskType?: string | undefined;
4903
+ createdBy?: string | undefined;
4898
4904
  approval?: {
4899
4905
  action: "delete" | "create";
4900
4906
  requestedBy: string;
4901
4907
  requestedAt: string;
4902
4908
  } | undefined;
4903
4909
  maxOutputTokens?: number | undefined;
4904
- taskType?: string | undefined;
4905
4910
  autonomy?: "report" | "propose" | "act" | undefined;
4906
4911
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
4907
4912
  deliverResult?: boolean | undefined;
4908
4913
  fireToken?: string | undefined;
4909
- createdBy?: string | undefined;
4910
4914
  }>, {
4911
4915
  enabled: boolean;
4912
4916
  agent: string;
@@ -4922,17 +4926,17 @@ declare const daemonConfigSchema: z.ZodObject<{
4922
4926
  chatId: string;
4923
4927
  accountId?: string | undefined;
4924
4928
  } | undefined;
4929
+ taskType?: string | undefined;
4930
+ createdBy?: string | undefined;
4925
4931
  approval?: {
4926
4932
  action: "delete" | "create";
4927
4933
  requestedBy: string;
4928
4934
  requestedAt: string;
4929
4935
  } | undefined;
4930
4936
  maxOutputTokens?: number | undefined;
4931
- taskType?: string | undefined;
4932
4937
  autonomy?: "report" | "propose" | "act" | undefined;
4933
4938
  deliverResult?: boolean | undefined;
4934
4939
  fireToken?: string | undefined;
4935
- createdBy?: string | undefined;
4936
4940
  }, {
4937
4941
  agent: string;
4938
4942
  schedule: string;
@@ -4947,18 +4951,18 @@ declare const daemonConfigSchema: z.ZodObject<{
4947
4951
  chatId: string;
4948
4952
  accountId?: string | undefined;
4949
4953
  } | undefined;
4954
+ taskType?: string | undefined;
4955
+ createdBy?: string | undefined;
4950
4956
  approval?: {
4951
4957
  action: "delete" | "create";
4952
4958
  requestedBy: string;
4953
4959
  requestedAt: string;
4954
4960
  } | undefined;
4955
4961
  maxOutputTokens?: number | undefined;
4956
- taskType?: string | undefined;
4957
4962
  autonomy?: "report" | "propose" | "act" | undefined;
4958
4963
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
4959
4964
  deliverResult?: boolean | undefined;
4960
4965
  fireToken?: string | undefined;
4961
- createdBy?: string | undefined;
4962
4966
  }>>>;
4963
4967
  /** Notes agents leave for the wiki observe/sweep run (#825). */
4964
4968
  wikiNotes: z.ZodDefault<z.ZodEffects<z.ZodObject<{
@@ -5186,6 +5190,25 @@ declare const daemonConfigSchema: z.ZodObject<{
5186
5190
  escalateAfterMinutes?: number | undefined;
5187
5191
  ladder?: string[] | undefined;
5188
5192
  }>>;
5193
+ /** The owner's Desk (src/desk/route.ts, #1138 step C): what of the one
5194
+ * list of waiting items reaches each surface the moment it appears.
5195
+ * "all", "urgent" (it expires within a day) or "off". When the digest
5196
+ * comes is the third setting, `approvals.digest`. */
5197
+ desk: z.ZodDefault<z.ZodObject<{
5198
+ /** A push to the phone (the told/reach path). Off: the Desk and the
5199
+ * digest only, as before this setting. */
5200
+ phone: z.ZodDefault<z.ZodEnum<["all", "urgent", "off"]>>;
5201
+ /** The Mac card when `approvals.popup` is on, else a banner on this
5202
+ * computer. Unset: "all" with the popup on, "off" without, which is
5203
+ * what this computer did before this setting. */
5204
+ computer: z.ZodOptional<z.ZodEnum<["all", "urgent", "off"]>>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ phone: "all" | "off" | "urgent";
5207
+ computer?: "all" | "off" | "urgent" | undefined;
5208
+ }, {
5209
+ phone?: "all" | "off" | "urgent" | undefined;
5210
+ computer?: "all" | "off" | "urgent" | undefined;
5211
+ }>>;
5189
5212
  }, "strip", z.ZodTypeAny, {
5190
5213
  local: {
5191
5214
  sound: boolean;
@@ -5213,6 +5236,10 @@ declare const daemonConfigSchema: z.ZodObject<{
5213
5236
  escalateAfterMinutes: number;
5214
5237
  ladder: string[];
5215
5238
  };
5239
+ desk: {
5240
+ phone: "all" | "off" | "urgent";
5241
+ computer?: "all" | "off" | "urgent" | undefined;
5242
+ };
5216
5243
  channel?: string | undefined;
5217
5244
  destination?: {
5218
5245
  channel: string;
@@ -5252,6 +5279,10 @@ declare const daemonConfigSchema: z.ZodObject<{
5252
5279
  escalateAfterMinutes?: number | undefined;
5253
5280
  ladder?: string[] | undefined;
5254
5281
  } | undefined;
5282
+ desk?: {
5283
+ phone?: "all" | "off" | "urgent" | undefined;
5284
+ computer?: "all" | "off" | "urgent" | undefined;
5285
+ } | undefined;
5255
5286
  }>>;
5256
5287
  calls: z.ZodDefault<z.ZodObject<{
5257
5288
  /** Agents allowed to call: ids, or "*" for every agent on this node.
@@ -5283,23 +5314,23 @@ declare const daemonConfigSchema: z.ZodObject<{
5283
5314
  notice: z.ZodDefault<z.ZodString>;
5284
5315
  }, "strip", z.ZodTypeAny, {
5285
5316
  title: string;
5317
+ notice: string;
5286
5318
  retryMinutes: number;
5287
5319
  maxWaitMinutes: number;
5288
- notice: string;
5289
5320
  }, {
5290
5321
  title?: string | undefined;
5322
+ notice?: string | undefined;
5291
5323
  retryMinutes?: number | undefined;
5292
5324
  maxWaitMinutes?: number | undefined;
5293
- notice?: string | undefined;
5294
5325
  }>>;
5295
5326
  }, "strip", z.ZodTypeAny, {
5296
5327
  summary: boolean;
5297
5328
  allow: string[];
5298
5329
  busy: {
5299
5330
  title: string;
5331
+ notice: string;
5300
5332
  retryMinutes: number;
5301
5333
  maxWaitMinutes: number;
5302
- notice: string;
5303
5334
  };
5304
5335
  maxPerHour: number;
5305
5336
  maxCallMinutes: number;
@@ -5310,9 +5341,9 @@ declare const daemonConfigSchema: z.ZodObject<{
5310
5341
  allow?: string[] | undefined;
5311
5342
  busy?: {
5312
5343
  title?: string | undefined;
5344
+ notice?: string | undefined;
5313
5345
  retryMinutes?: number | undefined;
5314
5346
  maxWaitMinutes?: number | undefined;
5315
- notice?: string | undefined;
5316
5347
  } | undefined;
5317
5348
  maxPerHour?: number | undefined;
5318
5349
  maxCallMinutes?: number | undefined;
@@ -5533,8 +5564,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5533
5564
  enabled: boolean;
5534
5565
  style: "card" | "dialog";
5535
5566
  sound: string;
5536
- volume: number;
5537
5567
  timeoutSeconds: number;
5568
+ volume: number;
5538
5569
  theme: "system" | "light" | "dark";
5539
5570
  speak: boolean;
5540
5571
  voice?: string | undefined;
@@ -5543,8 +5574,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5543
5574
  style?: "card" | "dialog" | undefined;
5544
5575
  sound?: string | undefined;
5545
5576
  voice?: string | undefined;
5546
- volume?: number | undefined;
5547
5577
  timeoutSeconds?: number | undefined;
5578
+ volume?: number | undefined;
5548
5579
  theme?: "system" | "light" | "dark" | undefined;
5549
5580
  speak?: boolean | undefined;
5550
5581
  }>>;
@@ -5610,8 +5641,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5610
5641
  enabled: boolean;
5611
5642
  style: "card" | "dialog";
5612
5643
  sound: string;
5613
- volume: number;
5614
5644
  timeoutSeconds: number;
5645
+ volume: number;
5615
5646
  theme: "system" | "light" | "dark";
5616
5647
  speak: boolean;
5617
5648
  voice?: string | undefined;
@@ -5649,8 +5680,8 @@ declare const daemonConfigSchema: z.ZodObject<{
5649
5680
  style?: "card" | "dialog" | undefined;
5650
5681
  sound?: string | undefined;
5651
5682
  voice?: string | undefined;
5652
- volume?: number | undefined;
5653
5683
  timeoutSeconds?: number | undefined;
5684
+ volume?: number | undefined;
5654
5685
  theme?: "system" | "light" | "dark" | undefined;
5655
5686
  speak?: boolean | undefined;
5656
5687
  } | undefined;
@@ -6089,6 +6120,74 @@ declare const daemonConfigSchema: z.ZodObject<{
6089
6120
  * for staleAfterHours, closes as done with its delegate's link (or
6090
6121
  * marked unproven) instead of coming back to the owner (#1138). */
6091
6122
  settleHandedBack: z.ZodDefault<z.ZodBoolean>;
6123
+ /** One Promise (src/requests/promise.ts, #1138 D): what a closed promise
6124
+ * leaves, and whether decision cards are promises too. */
6125
+ promises: z.ZodDefault<z.ZodObject<{
6126
+ /** An agent's done on a promise needs a proof: a link, a passing test
6127
+ * run, an output, or a check that ran. Off: any evidence closes it. */
6128
+ requireProof: z.ZodDefault<z.ZodBoolean>;
6129
+ /** A promise closed with a proof (link, test, output, or a check that
6130
+ * ran) writes a checked fact to the wiki fact ledger. */
6131
+ facts: z.ZodDefault<z.ZodBoolean>;
6132
+ /** Days that fact stays trusted before it shows as stale. */
6133
+ factTtlDays: z.ZodDefault<z.ZodNumber>;
6134
+ /** A task watcher that fires raises the open request that follows its
6135
+ * task, or opens a promise for it, and the requests check tells the
6136
+ * owner once: one escalation path. Off: the watcher tells the owner
6137
+ * itself, as before. Needs requests.enabled. */
6138
+ watchers: z.ZodDefault<z.ZodBoolean>;
6139
+ /** A decision card raised outside a request's turn opens a promise
6140
+ * owed by the owner, closed when the card is decided. Off: cards stay
6141
+ * on the Desk only, as before. */
6142
+ cards: z.ZodDefault<z.ZodBoolean>;
6143
+ }, "strip", z.ZodTypeAny, {
6144
+ facts: boolean;
6145
+ watchers: boolean;
6146
+ requireProof: boolean;
6147
+ factTtlDays: number;
6148
+ cards: boolean;
6149
+ }, {
6150
+ facts?: boolean | undefined;
6151
+ watchers?: boolean | undefined;
6152
+ requireProof?: boolean | undefined;
6153
+ factTtlDays?: number | undefined;
6154
+ cards?: boolean | undefined;
6155
+ }>>;
6156
+ /** Catch "I'll do X" (src/requests/catch.ts, #1138 E): at the end of an
6157
+ * owner-facing turn whose reply could hold one, one small model call
6158
+ * reads it. A firm promise (the agent will do a named thing later, no
6159
+ * condition) becomes a promise owned by that agent, owed to whoever
6160
+ * asked; a reply that asks the owner leaves its request waiting on
6161
+ * them, with the question. Off by default: it spends a model call on
6162
+ * most owner-facing replies. Needs `enabled` above. */
6163
+ catchPromises: z.ZodDefault<z.ZodObject<{
6164
+ enabled: z.ZodDefault<z.ZodBoolean>;
6165
+ /** Model calls a day (UTC), across all agents. Past it, replies are
6166
+ * not read until the next day. */
6167
+ dailyCap: z.ZodDefault<z.ZodNumber>;
6168
+ /** A reply that asks the owner moves its request to waiting_owner.
6169
+ * Off: only promises are caught. */
6170
+ waitingOwner: z.ZodDefault<z.ZodBoolean>;
6171
+ /** Provider for the call. "claude-code" uses the auth the operator set
6172
+ * up (subscription or API key); no new paid path is opened. */
6173
+ provider: z.ZodDefault<z.ZodString>;
6174
+ model: z.ZodDefault<z.ZodString>;
6175
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
6176
+ }, "strip", z.ZodTypeAny, {
6177
+ provider: string;
6178
+ model: string;
6179
+ enabled: boolean;
6180
+ dailyCap: number;
6181
+ waitingOwner: boolean;
6182
+ timeoutSeconds: number;
6183
+ }, {
6184
+ provider?: string | undefined;
6185
+ model?: string | undefined;
6186
+ enabled?: boolean | undefined;
6187
+ dailyCap?: number | undefined;
6188
+ waitingOwner?: boolean | undefined;
6189
+ timeoutSeconds?: number | undefined;
6190
+ }>>;
6092
6191
  /** Closed requests are deleted after this many days. Open ones never are. */
6093
6192
  retentionDays: z.ZodDefault<z.ZodNumber>;
6094
6193
  /** Tracked plans (src/requests/plans.ts, #788): a request with two or
@@ -6316,9 +6415,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6316
6415
  }, "strip", z.ZodTypeAny, {
6317
6416
  enabled: boolean;
6318
6417
  from: string[];
6319
- channels: string[];
6320
- staleAfterHours: number;
6321
- retentionDays: number;
6322
6418
  plans: {
6323
6419
  enabled: boolean;
6324
6420
  stallMinutes: number;
@@ -6328,6 +6424,9 @@ declare const daemonConfigSchema: z.ZodObject<{
6328
6424
  requireForWork: string[];
6329
6425
  requireOverMinutes: number;
6330
6426
  };
6427
+ channels: string[];
6428
+ staleAfterHours: number;
6429
+ retentionDays: number;
6331
6430
  checkers: {
6332
6431
  enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
6333
6432
  repos: Record<string, string>;
@@ -6369,12 +6468,24 @@ declare const daemonConfigSchema: z.ZodObject<{
6369
6468
  doneNotLiveAfterHours: number;
6370
6469
  writeProjects: string[];
6371
6470
  };
6471
+ promises: {
6472
+ facts: boolean;
6473
+ watchers: boolean;
6474
+ requireProof: boolean;
6475
+ factTtlDays: number;
6476
+ cards: boolean;
6477
+ };
6478
+ catchPromises: {
6479
+ provider: string;
6480
+ model: string;
6481
+ enabled: boolean;
6482
+ dailyCap: number;
6483
+ waitingOwner: boolean;
6484
+ timeoutSeconds: number;
6485
+ };
6372
6486
  }, {
6373
6487
  enabled?: boolean | undefined;
6374
6488
  from?: string[] | undefined;
6375
- channels?: string[] | undefined;
6376
- staleAfterHours?: number | undefined;
6377
- retentionDays?: number | undefined;
6378
6489
  plans?: {
6379
6490
  enabled?: boolean | undefined;
6380
6491
  stallMinutes?: number | undefined;
@@ -6384,6 +6495,9 @@ declare const daemonConfigSchema: z.ZodObject<{
6384
6495
  requireForWork?: string[] | undefined;
6385
6496
  requireOverMinutes?: number | undefined;
6386
6497
  } | undefined;
6498
+ channels?: string[] | undefined;
6499
+ staleAfterHours?: number | undefined;
6500
+ retentionDays?: number | undefined;
6387
6501
  checkers?: {
6388
6502
  enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
6389
6503
  gitlab?: {
@@ -6425,6 +6539,21 @@ declare const daemonConfigSchema: z.ZodObject<{
6425
6539
  doneNotLiveAfterHours?: number | undefined;
6426
6540
  writeProjects?: string[] | undefined;
6427
6541
  } | undefined;
6542
+ promises?: {
6543
+ facts?: boolean | undefined;
6544
+ watchers?: boolean | undefined;
6545
+ requireProof?: boolean | undefined;
6546
+ factTtlDays?: number | undefined;
6547
+ cards?: boolean | undefined;
6548
+ } | undefined;
6549
+ catchPromises?: {
6550
+ provider?: string | undefined;
6551
+ model?: string | undefined;
6552
+ enabled?: boolean | undefined;
6553
+ dailyCap?: number | undefined;
6554
+ waitingOwner?: boolean | undefined;
6555
+ timeoutSeconds?: number | undefined;
6556
+ } | undefined;
6428
6557
  }>>;
6429
6558
  /** Task watchers (src/watchers, #1030): every task start decides whether
6430
6559
  * the task needs a watcher and attaches one. Off by default. */
@@ -7055,14 +7184,14 @@ declare const daemonConfigSchema: z.ZodObject<{
7055
7184
  width: z.ZodNumber;
7056
7185
  height: z.ZodNumber;
7057
7186
  }, "strip", z.ZodTypeAny, {
7187
+ x: number;
7058
7188
  width: number;
7059
7189
  height: number;
7060
- x: number;
7061
7190
  y: number;
7062
7191
  }, {
7192
+ x: number;
7063
7193
  width: number;
7064
7194
  height: number;
7065
- x: number;
7066
7195
  y: number;
7067
7196
  }>>>;
7068
7197
  /** The last few seconds of a region, kept in memory by the daemon. Off
@@ -7093,9 +7222,9 @@ declare const daemonConfigSchema: z.ZodObject<{
7093
7222
  changeThreshold: number;
7094
7223
  stableMs: number;
7095
7224
  regions: Record<string, {
7225
+ x: number;
7096
7226
  width: number;
7097
7227
  height: number;
7098
- x: number;
7099
7228
  y: number;
7100
7229
  }>;
7101
7230
  buffer: {
@@ -7112,9 +7241,9 @@ declare const daemonConfigSchema: z.ZodObject<{
7112
7241
  changeThreshold?: number | undefined;
7113
7242
  stableMs?: number | undefined;
7114
7243
  regions?: Record<string, {
7244
+ x: number;
7115
7245
  width: number;
7116
7246
  height: number;
7117
- x: number;
7118
7247
  y: number;
7119
7248
  }> | undefined;
7120
7249
  buffer?: {
@@ -8400,10 +8529,19 @@ declare const daemonConfigSchema: z.ZodObject<{
8400
8529
  }>>;
8401
8530
  }, "strip", z.ZodTypeAny, {
8402
8531
  enabled: boolean;
8532
+ defaultBackend: string;
8533
+ seats: Record<string, {
8534
+ temperature: number;
8535
+ mode: "active" | "off" | "shadow";
8536
+ explore: number;
8537
+ model?: string | undefined;
8538
+ backend?: string | undefined;
8539
+ holdout?: number | undefined;
8540
+ timeoutMs?: number | undefined;
8541
+ }>;
8403
8542
  dbPath: string;
8404
8543
  redactState: boolean;
8405
8544
  keepStateRows: number;
8406
- defaultBackend: string;
8407
8545
  backends: {
8408
8546
  local: {
8409
8547
  provider: string;
@@ -8440,15 +8578,6 @@ declare const daemonConfigSchema: z.ZodObject<{
8440
8578
  maxChoiceOptions: number;
8441
8579
  };
8442
8580
  };
8443
- seats: Record<string, {
8444
- temperature: number;
8445
- mode: "active" | "off" | "shadow";
8446
- explore: number;
8447
- model?: string | undefined;
8448
- backend?: string | undefined;
8449
- holdout?: number | undefined;
8450
- timeoutMs?: number | undefined;
8451
- }>;
8452
8581
  routing: {
8453
8582
  cheapModel?: string | undefined;
8454
8583
  cheapModels?: {
@@ -8458,10 +8587,19 @@ declare const daemonConfigSchema: z.ZodObject<{
8458
8587
  };
8459
8588
  }, {
8460
8589
  enabled?: boolean | undefined;
8590
+ defaultBackend?: string | undefined;
8591
+ seats?: Record<string, {
8592
+ model?: string | undefined;
8593
+ temperature?: number | undefined;
8594
+ backend?: string | undefined;
8595
+ mode?: "active" | "off" | "shadow" | undefined;
8596
+ holdout?: number | undefined;
8597
+ timeoutMs?: number | undefined;
8598
+ explore?: number | undefined;
8599
+ } | undefined> | undefined;
8461
8600
  dbPath?: string | undefined;
8462
8601
  redactState?: boolean | undefined;
8463
8602
  keepStateRows?: number | undefined;
8464
- defaultBackend?: string | undefined;
8465
8603
  backends?: {
8466
8604
  local?: {
8467
8605
  provider?: string | undefined;
@@ -8498,15 +8636,6 @@ declare const daemonConfigSchema: z.ZodObject<{
8498
8636
  maxChoiceOptions?: number | undefined;
8499
8637
  } | undefined;
8500
8638
  } | undefined;
8501
- seats?: Record<string, {
8502
- model?: string | undefined;
8503
- temperature?: number | undefined;
8504
- backend?: string | undefined;
8505
- mode?: "active" | "off" | "shadow" | undefined;
8506
- holdout?: number | undefined;
8507
- timeoutMs?: number | undefined;
8508
- explore?: number | undefined;
8509
- } | undefined> | undefined;
8510
8639
  routing?: {
8511
8640
  cheapModel?: string | undefined;
8512
8641
  cheapModels?: {
@@ -9160,8 +9289,10 @@ declare const daemonConfigSchema: z.ZodObject<{
9160
9289
  channel: string;
9161
9290
  intervalMinutes: number;
9162
9291
  };
9163
- workspace: string;
9292
+ billing: "api" | "subscription";
9293
+ access: "public" | "private";
9164
9294
  tier: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator";
9295
+ workspace: string;
9165
9296
  mentions: string[];
9166
9297
  intents: string[];
9167
9298
  maxDelegationDepth: number;
@@ -9172,7 +9303,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9172
9303
  maxExecutionMinutes: number;
9173
9304
  preSpawnTimeoutSec: number;
9174
9305
  permissionMode: string;
9175
- billing: "api" | "subscription";
9176
9306
  cloudSessions: {
9177
9307
  enabled: boolean;
9178
9308
  maxPerDay: number;
@@ -9181,8 +9311,7 @@ declare const daemonConfigSchema: z.ZodObject<{
9181
9311
  };
9182
9312
  toolUseRequired: string[];
9183
9313
  persistentProcess: boolean;
9184
- queueMode: "drop" | "collect" | "followup";
9185
- access: "private" | "public";
9314
+ queueMode: "drop" | "followup" | "collect";
9186
9315
  subscriptions: {
9187
9316
  kinds: string[];
9188
9317
  delivery: "pull" | "digest" | "wake";
@@ -9227,7 +9356,7 @@ declare const daemonConfigSchema: z.ZodObject<{
9227
9356
  system?: string | Record<string, string> | undefined;
9228
9357
  provider?: "system" | "elevenlabs" | undefined;
9229
9358
  style?: string | undefined;
9230
- priority?: "high" | "normal" | "low" | undefined;
9359
+ priority?: "normal" | "low" | "high" | undefined;
9231
9360
  fallbacks?: string[] | undefined;
9232
9361
  elevenlabsVoiceId?: string | undefined;
9233
9362
  gender?: "neutral" | "female" | "male" | undefined;
@@ -9246,11 +9375,11 @@ declare const daemonConfigSchema: z.ZodObject<{
9246
9375
  url: string;
9247
9376
  headers?: Record<string, string> | undefined;
9248
9377
  }> | undefined;
9378
+ admin?: boolean | undefined;
9249
9379
  systemPrompt?: string | undefined;
9250
9380
  contextStrategy?: "layered" | "planner" | undefined;
9251
9381
  drainTimeoutSeconds?: number | undefined;
9252
9382
  gitlabAutoReply?: boolean | undefined;
9253
- admin?: boolean | undefined;
9254
9383
  presence?: {
9255
9384
  initial?: string | undefined;
9256
9385
  label?: string | undefined;
@@ -9308,9 +9437,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9308
9437
  };
9309
9438
  live: {
9310
9439
  enabled: boolean;
9311
- timeoutMs: number;
9312
- maxReads: number;
9313
- plannerModel: string;
9314
9440
  sources: ({
9315
9441
  type: "github";
9316
9442
  repos: (string | {
@@ -9334,6 +9460,9 @@ declare const daemonConfigSchema: z.ZodObject<{
9334
9460
  peers: boolean;
9335
9461
  url?: string | undefined;
9336
9462
  })[];
9463
+ timeoutMs: number;
9464
+ maxReads: number;
9465
+ plannerModel: string;
9337
9466
  };
9338
9467
  shared: boolean;
9339
9468
  candidates: number;
@@ -9450,12 +9579,44 @@ declare const daemonConfigSchema: z.ZodObject<{
9450
9579
  events: {
9451
9580
  ringSize: number;
9452
9581
  };
9582
+ native: {
9583
+ notes: {
9584
+ enabled: boolean;
9585
+ folder: string;
9586
+ perAgentPerDay: number;
9587
+ };
9588
+ adapter: "auto" | "none";
9589
+ mirror: {
9590
+ enabled: boolean;
9591
+ list: string;
9592
+ dueAfterMinutes: number;
9593
+ include: ("card" | "request")[];
9594
+ answerUrl?: string | undefined;
9595
+ };
9596
+ forwardTo?: string | undefined;
9597
+ };
9598
+ watchers: {
9599
+ enabled: boolean;
9600
+ owner: {
9601
+ channel?: string | undefined;
9602
+ chatId?: string | undefined;
9603
+ };
9604
+ evidence: Record<string, {
9605
+ accept: ("output" | "test" | "link")[];
9606
+ minOutputChars: number;
9607
+ linkHosts: string[];
9608
+ }>;
9609
+ retentionDays: number;
9610
+ escalateAfterMinutes: number;
9611
+ skipChannels: string[];
9612
+ defaultDueMinutes: number;
9613
+ noBelow: number;
9614
+ yesAt: number;
9615
+ doneSignal: "result" | "explicit";
9616
+ };
9453
9617
  requests: {
9454
9618
  enabled: boolean;
9455
9619
  from: string[];
9456
- channels: string[];
9457
- staleAfterHours: number;
9458
- retentionDays: number;
9459
9620
  plans: {
9460
9621
  enabled: boolean;
9461
9622
  stallMinutes: number;
@@ -9465,6 +9626,9 @@ declare const daemonConfigSchema: z.ZodObject<{
9465
9626
  requireForWork: string[];
9466
9627
  requireOverMinutes: number;
9467
9628
  };
9629
+ channels: string[];
9630
+ staleAfterHours: number;
9631
+ retentionDays: number;
9468
9632
  checkers: {
9469
9633
  enabled: ("reply" | "url" | "issue" | "git-ancestor")[];
9470
9634
  repos: Record<string, string>;
@@ -9506,6 +9670,66 @@ declare const daemonConfigSchema: z.ZodObject<{
9506
9670
  doneNotLiveAfterHours: number;
9507
9671
  writeProjects: string[];
9508
9672
  };
9673
+ promises: {
9674
+ facts: boolean;
9675
+ watchers: boolean;
9676
+ requireProof: boolean;
9677
+ factTtlDays: number;
9678
+ cards: boolean;
9679
+ };
9680
+ catchPromises: {
9681
+ provider: string;
9682
+ model: string;
9683
+ enabled: boolean;
9684
+ dailyCap: number;
9685
+ waitingOwner: boolean;
9686
+ timeoutSeconds: number;
9687
+ };
9688
+ };
9689
+ node: {
9690
+ id: string;
9691
+ name: string;
9692
+ bind: string;
9693
+ connectAttemptTimeoutMs: number;
9694
+ defaultAgent?: string | undefined;
9695
+ };
9696
+ approvals: {
9697
+ digest: {
9698
+ enabled: boolean;
9699
+ time: string;
9700
+ timezone?: string | undefined;
9701
+ destination?: {
9702
+ channel: string;
9703
+ chatId: string;
9704
+ accountId?: string | undefined;
9705
+ } | undefined;
9706
+ };
9707
+ defaultExpiryDays: number;
9708
+ maxExpiryDays: number;
9709
+ laterHours: number;
9710
+ notifyAgent: boolean;
9711
+ popup: {
9712
+ enabled: boolean;
9713
+ style: "card" | "dialog";
9714
+ sound: string;
9715
+ timeoutSeconds: number;
9716
+ volume: number;
9717
+ theme: "system" | "light" | "dark";
9718
+ speak: boolean;
9719
+ voice?: string | undefined;
9720
+ };
9721
+ checkin: {
9722
+ enabled: boolean;
9723
+ times: string[];
9724
+ dailyAt: string;
9725
+ lists: string[];
9726
+ dueWithinHours: number;
9727
+ maxAsksPerPass: number;
9728
+ composeTimeoutSeconds: number;
9729
+ agent?: string | undefined;
9730
+ timezone?: string | undefined;
9731
+ };
9732
+ forwardTo?: string | undefined;
9509
9733
  };
9510
9734
  channels: {
9511
9735
  push: {
@@ -9553,12 +9777,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9553
9777
  };
9554
9778
  whatsapp: {
9555
9779
  enabled: boolean;
9556
- sessionDir: string;
9557
- routes: {
9558
- agent: string;
9559
- group?: string | undefined;
9560
- contact?: string | undefined;
9561
- }[];
9562
9780
  ingest: {
9563
9781
  enabled: boolean;
9564
9782
  mode: "messages" | "metadata-only";
@@ -9576,6 +9794,12 @@ declare const daemonConfigSchema: z.ZodObject<{
9576
9794
  maxChatsPerSweep: number;
9577
9795
  };
9578
9796
  };
9797
+ sessionDir: string;
9798
+ routes: {
9799
+ agent: string;
9800
+ group?: string | undefined;
9801
+ contact?: string | undefined;
9802
+ }[];
9579
9803
  allowFrom?: string[] | undefined;
9580
9804
  defaultAgent?: string | undefined;
9581
9805
  };
@@ -9660,13 +9884,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9660
9884
  defaultTitle?: string | undefined;
9661
9885
  };
9662
9886
  };
9663
- node: {
9664
- id: string;
9665
- name: string;
9666
- bind: string;
9667
- connectAttemptTimeoutMs: number;
9668
- defaultAgent?: string | undefined;
9669
- };
9670
9887
  crons: Record<string, {
9671
9888
  enabled: boolean;
9672
9889
  agent: string;
@@ -9682,17 +9899,17 @@ declare const daemonConfigSchema: z.ZodObject<{
9682
9899
  chatId: string;
9683
9900
  accountId?: string | undefined;
9684
9901
  } | undefined;
9902
+ taskType?: string | undefined;
9903
+ createdBy?: string | undefined;
9685
9904
  approval?: {
9686
9905
  action: "delete" | "create";
9687
9906
  requestedBy: string;
9688
9907
  requestedAt: string;
9689
9908
  } | undefined;
9690
9909
  maxOutputTokens?: number | undefined;
9691
- taskType?: string | undefined;
9692
9910
  autonomy?: "report" | "propose" | "act" | undefined;
9693
9911
  deliverResult?: boolean | undefined;
9694
9912
  fireToken?: string | undefined;
9695
- createdBy?: string | undefined;
9696
9913
  }>;
9697
9914
  graph: {
9698
9915
  enabled: boolean;
@@ -9714,9 +9931,9 @@ declare const daemonConfigSchema: z.ZodObject<{
9714
9931
  changeThreshold: number;
9715
9932
  stableMs: number;
9716
9933
  regions: Record<string, {
9934
+ x: number;
9717
9935
  width: number;
9718
9936
  height: number;
9719
- x: number;
9720
9937
  y: number;
9721
9938
  }>;
9722
9939
  buffer: {
@@ -9829,6 +10046,10 @@ declare const daemonConfigSchema: z.ZodObject<{
9829
10046
  escalateAfterMinutes: number;
9830
10047
  ladder: string[];
9831
10048
  };
10049
+ desk: {
10050
+ phone: "all" | "off" | "urgent";
10051
+ computer?: "all" | "off" | "urgent" | undefined;
10052
+ };
9832
10053
  channel?: string | undefined;
9833
10054
  destination?: {
9834
10055
  channel: string;
@@ -9841,9 +10062,9 @@ declare const daemonConfigSchema: z.ZodObject<{
9841
10062
  allow: string[];
9842
10063
  busy: {
9843
10064
  title: string;
10065
+ notice: string;
9844
10066
  retryMinutes: number;
9845
10067
  maxWaitMinutes: number;
9846
- notice: string;
9847
10068
  };
9848
10069
  maxPerHour: number;
9849
10070
  maxCallMinutes: number;
@@ -9876,44 +10097,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9876
10097
  }[];
9877
10098
  timezone?: string | undefined;
9878
10099
  };
9879
- approvals: {
9880
- digest: {
9881
- enabled: boolean;
9882
- time: string;
9883
- timezone?: string | undefined;
9884
- destination?: {
9885
- channel: string;
9886
- chatId: string;
9887
- accountId?: string | undefined;
9888
- } | undefined;
9889
- };
9890
- defaultExpiryDays: number;
9891
- maxExpiryDays: number;
9892
- laterHours: number;
9893
- notifyAgent: boolean;
9894
- popup: {
9895
- enabled: boolean;
9896
- style: "card" | "dialog";
9897
- sound: string;
9898
- volume: number;
9899
- timeoutSeconds: number;
9900
- theme: "system" | "light" | "dark";
9901
- speak: boolean;
9902
- voice?: string | undefined;
9903
- };
9904
- checkin: {
9905
- enabled: boolean;
9906
- times: string[];
9907
- dailyAt: string;
9908
- lists: string[];
9909
- dueWithinHours: number;
9910
- maxAsksPerPass: number;
9911
- composeTimeoutSeconds: number;
9912
- agent?: string | undefined;
9913
- timezone?: string | undefined;
9914
- };
9915
- forwardTo?: string | undefined;
9916
- };
9917
10100
  shutdown: {
9918
10101
  restart: {
9919
10102
  windowWaitMinutes: number;
@@ -9930,25 +10113,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9930
10113
  allowPeers: string[];
9931
10114
  maxPerRoot: number;
9932
10115
  };
9933
- watchers: {
9934
- enabled: boolean;
9935
- owner: {
9936
- channel?: string | undefined;
9937
- chatId?: string | undefined;
9938
- };
9939
- evidence: Record<string, {
9940
- accept: ("output" | "test" | "link")[];
9941
- minOutputChars: number;
9942
- linkHosts: string[];
9943
- }>;
9944
- retentionDays: number;
9945
- escalateAfterMinutes: number;
9946
- skipChannels: string[];
9947
- defaultDueMinutes: number;
9948
- noBelow: number;
9949
- yesAt: number;
9950
- doneSignal: "result" | "explicit";
9951
- };
9952
10116
  people: {
9953
10117
  agents: string[];
9954
10118
  id: string;
@@ -9990,22 +10154,6 @@ declare const daemonConfigSchema: z.ZodObject<{
9990
10154
  pollSeconds: number;
9991
10155
  lookbackHours: number;
9992
10156
  };
9993
- native: {
9994
- notes: {
9995
- enabled: boolean;
9996
- folder: string;
9997
- perAgentPerDay: number;
9998
- };
9999
- adapter: "auto" | "none";
10000
- mirror: {
10001
- enabled: boolean;
10002
- list: string;
10003
- dueAfterMinutes: number;
10004
- include: ("card" | "request")[];
10005
- answerUrl?: string | undefined;
10006
- };
10007
- forwardTo?: string | undefined;
10008
- };
10009
10157
  meshVoices: Record<string, {
10010
10158
  system?: string | Record<string, string> | undefined;
10011
10159
  provider?: "system" | "elevenlabs" | undefined;
@@ -10051,10 +10199,19 @@ declare const daemonConfigSchema: z.ZodObject<{
10051
10199
  }[];
10052
10200
  decisions: {
10053
10201
  enabled: boolean;
10202
+ defaultBackend: string;
10203
+ seats: Record<string, {
10204
+ temperature: number;
10205
+ mode: "active" | "off" | "shadow";
10206
+ explore: number;
10207
+ model?: string | undefined;
10208
+ backend?: string | undefined;
10209
+ holdout?: number | undefined;
10210
+ timeoutMs?: number | undefined;
10211
+ }>;
10054
10212
  dbPath: string;
10055
10213
  redactState: boolean;
10056
10214
  keepStateRows: number;
10057
- defaultBackend: string;
10058
10215
  backends: {
10059
10216
  local: {
10060
10217
  provider: string;
@@ -10091,15 +10248,6 @@ declare const daemonConfigSchema: z.ZodObject<{
10091
10248
  maxChoiceOptions: number;
10092
10249
  };
10093
10250
  };
10094
- seats: Record<string, {
10095
- temperature: number;
10096
- mode: "active" | "off" | "shadow";
10097
- explore: number;
10098
- model?: string | undefined;
10099
- backend?: string | undefined;
10100
- holdout?: number | undefined;
10101
- timeoutMs?: number | undefined;
10102
- }>;
10103
10251
  routing: {
10104
10252
  cheapModel?: string | undefined;
10105
10253
  cheapModels?: {
@@ -10315,7 +10463,7 @@ declare const daemonConfigSchema: z.ZodObject<{
10315
10463
  system?: string | Record<string, string> | undefined;
10316
10464
  provider?: "system" | "elevenlabs" | undefined;
10317
10465
  style?: string | undefined;
10318
- priority?: "high" | "normal" | "low" | undefined;
10466
+ priority?: "normal" | "low" | "high" | undefined;
10319
10467
  fallbacks?: string[] | undefined;
10320
10468
  elevenlabsVoiceId?: string | undefined;
10321
10469
  gender?: "neutral" | "female" | "male" | undefined;
@@ -10340,6 +10488,9 @@ declare const daemonConfigSchema: z.ZodObject<{
10340
10488
  channel?: string | undefined;
10341
10489
  intervalMinutes?: number | undefined;
10342
10490
  } | undefined;
10491
+ billing?: "api" | "subscription" | undefined;
10492
+ admin?: boolean | undefined;
10493
+ access?: "public" | "private" | undefined;
10343
10494
  tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
10344
10495
  systemPrompt?: string | undefined;
10345
10496
  mentions?: string[] | undefined;
@@ -10354,7 +10505,6 @@ declare const daemonConfigSchema: z.ZodObject<{
10354
10505
  preSpawnTimeoutSec?: number | undefined;
10355
10506
  drainTimeoutSeconds?: number | undefined;
10356
10507
  permissionMode?: string | undefined;
10357
- billing?: "api" | "subscription" | undefined;
10358
10508
  cloudSessions?: {
10359
10509
  enabled?: boolean | undefined;
10360
10510
  maxPerDay?: number | undefined;
@@ -10364,9 +10514,7 @@ declare const daemonConfigSchema: z.ZodObject<{
10364
10514
  toolUseRequired?: string[] | undefined;
10365
10515
  gitlabAutoReply?: boolean | undefined;
10366
10516
  persistentProcess?: boolean | undefined;
10367
- queueMode?: "drop" | "collect" | "followup" | undefined;
10368
- access?: "private" | "public" | undefined;
10369
- admin?: boolean | undefined;
10517
+ queueMode?: "drop" | "followup" | "collect" | undefined;
10370
10518
  subscriptions?: {
10371
10519
  kinds: string[];
10372
10520
  match?: string | undefined;
@@ -10448,9 +10596,6 @@ declare const daemonConfigSchema: z.ZodObject<{
10448
10596
  } | undefined;
10449
10597
  live?: {
10450
10598
  enabled?: boolean | undefined;
10451
- timeoutMs?: number | undefined;
10452
- maxReads?: number | undefined;
10453
- plannerModel?: string | undefined;
10454
10599
  sources?: ({
10455
10600
  type: "github";
10456
10601
  repos: (string | {
@@ -10474,6 +10619,9 @@ declare const daemonConfigSchema: z.ZodObject<{
10474
10619
  url?: string | undefined;
10475
10620
  peers?: boolean | undefined;
10476
10621
  })[] | undefined;
10622
+ timeoutMs?: number | undefined;
10623
+ maxReads?: number | undefined;
10624
+ plannerModel?: string | undefined;
10477
10625
  } | undefined;
10478
10626
  shared?: boolean | undefined;
10479
10627
  candidates?: number | undefined;
@@ -10658,12 +10806,44 @@ declare const daemonConfigSchema: z.ZodObject<{
10658
10806
  dryRun?: boolean | undefined;
10659
10807
  } | undefined;
10660
10808
  } | undefined;
10809
+ native?: {
10810
+ notes?: {
10811
+ enabled?: boolean | undefined;
10812
+ folder?: string | undefined;
10813
+ perAgentPerDay?: number | undefined;
10814
+ } | undefined;
10815
+ forwardTo?: string | undefined;
10816
+ adapter?: "auto" | "none" | undefined;
10817
+ mirror?: {
10818
+ enabled?: boolean | undefined;
10819
+ list?: string | undefined;
10820
+ dueAfterMinutes?: number | undefined;
10821
+ include?: ("card" | "request")[] | undefined;
10822
+ answerUrl?: string | undefined;
10823
+ } | undefined;
10824
+ } | undefined;
10825
+ watchers?: {
10826
+ enabled?: boolean | undefined;
10827
+ owner?: {
10828
+ channel?: string | undefined;
10829
+ chatId?: string | undefined;
10830
+ } | undefined;
10831
+ evidence?: Record<string, {
10832
+ accept: ("output" | "test" | "link")[];
10833
+ minOutputChars?: number | undefined;
10834
+ linkHosts?: string[] | undefined;
10835
+ }> | undefined;
10836
+ retentionDays?: number | undefined;
10837
+ escalateAfterMinutes?: number | undefined;
10838
+ skipChannels?: string[] | undefined;
10839
+ defaultDueMinutes?: number | undefined;
10840
+ noBelow?: number | undefined;
10841
+ yesAt?: number | undefined;
10842
+ doneSignal?: "result" | "explicit" | undefined;
10843
+ } | undefined;
10661
10844
  requests?: {
10662
10845
  enabled?: boolean | undefined;
10663
10846
  from?: string[] | undefined;
10664
- channels?: string[] | undefined;
10665
- staleAfterHours?: number | undefined;
10666
- retentionDays?: number | undefined;
10667
10847
  plans?: {
10668
10848
  enabled?: boolean | undefined;
10669
10849
  stallMinutes?: number | undefined;
@@ -10673,6 +10853,9 @@ declare const daemonConfigSchema: z.ZodObject<{
10673
10853
  requireForWork?: string[] | undefined;
10674
10854
  requireOverMinutes?: number | undefined;
10675
10855
  } | undefined;
10856
+ channels?: string[] | undefined;
10857
+ staleAfterHours?: number | undefined;
10858
+ retentionDays?: number | undefined;
10676
10859
  checkers?: {
10677
10860
  enabled?: ("reply" | "url" | "issue" | "git-ancestor")[] | undefined;
10678
10861
  gitlab?: {
@@ -10714,12 +10897,65 @@ declare const daemonConfigSchema: z.ZodObject<{
10714
10897
  doneNotLiveAfterHours?: number | undefined;
10715
10898
  writeProjects?: string[] | undefined;
10716
10899
  } | undefined;
10900
+ promises?: {
10901
+ facts?: boolean | undefined;
10902
+ watchers?: boolean | undefined;
10903
+ requireProof?: boolean | undefined;
10904
+ factTtlDays?: number | undefined;
10905
+ cards?: boolean | undefined;
10906
+ } | undefined;
10907
+ catchPromises?: {
10908
+ provider?: string | undefined;
10909
+ model?: string | undefined;
10910
+ enabled?: boolean | undefined;
10911
+ dailyCap?: number | undefined;
10912
+ waitingOwner?: boolean | undefined;
10913
+ timeoutSeconds?: number | undefined;
10914
+ } | undefined;
10915
+ } | undefined;
10916
+ approvals?: {
10917
+ digest?: {
10918
+ enabled?: boolean | undefined;
10919
+ timezone?: string | undefined;
10920
+ time?: string | undefined;
10921
+ destination?: {
10922
+ channel: string;
10923
+ chatId: string;
10924
+ accountId?: string | undefined;
10925
+ } | undefined;
10926
+ } | undefined;
10927
+ defaultExpiryDays?: number | undefined;
10928
+ maxExpiryDays?: number | undefined;
10929
+ laterHours?: number | undefined;
10930
+ notifyAgent?: boolean | undefined;
10931
+ forwardTo?: string | undefined;
10932
+ popup?: {
10933
+ enabled?: boolean | undefined;
10934
+ style?: "card" | "dialog" | undefined;
10935
+ sound?: string | undefined;
10936
+ voice?: string | undefined;
10937
+ timeoutSeconds?: number | undefined;
10938
+ volume?: number | undefined;
10939
+ theme?: "system" | "light" | "dark" | undefined;
10940
+ speak?: boolean | undefined;
10941
+ } | undefined;
10942
+ checkin?: {
10943
+ enabled?: boolean | undefined;
10944
+ agent?: string | undefined;
10945
+ timezone?: string | undefined;
10946
+ times?: string[] | undefined;
10947
+ dailyAt?: string | undefined;
10948
+ lists?: string[] | undefined;
10949
+ dueWithinHours?: number | undefined;
10950
+ maxAsksPerPass?: number | undefined;
10951
+ composeTimeoutSeconds?: number | undefined;
10952
+ } | undefined;
10717
10953
  } | undefined;
10718
10954
  channels?: {
10719
10955
  push?: {
10720
10956
  enabled?: boolean | undefined;
10721
- keysFile?: string | undefined;
10722
10957
  subject?: string | undefined;
10958
+ keysFile?: string | undefined;
10723
10959
  relayTo?: string | undefined;
10724
10960
  ttlSeconds?: number | undefined;
10725
10961
  keepRecent?: number | undefined;
@@ -10739,9 +10975,9 @@ declare const daemonConfigSchema: z.ZodObject<{
10739
10975
  agentMappings?: {
10740
10976
  agentId: string;
10741
10977
  token?: string | undefined;
10978
+ node?: string | undefined;
10742
10979
  gitlabUsernames?: string[] | undefined;
10743
10980
  keywords?: string[] | undefined;
10744
- node?: string | undefined;
10745
10981
  }[] | undefined;
10746
10982
  agentUsernamePrefixes?: string[] | undefined;
10747
10983
  } | undefined;
@@ -10761,14 +10997,6 @@ declare const daemonConfigSchema: z.ZodObject<{
10761
10997
  } | undefined;
10762
10998
  whatsapp?: {
10763
10999
  enabled?: boolean | undefined;
10764
- sessionDir?: string | undefined;
10765
- allowFrom?: string[] | undefined;
10766
- defaultAgent?: string | undefined;
10767
- routes?: {
10768
- agent: string;
10769
- group?: string | undefined;
10770
- contact?: string | undefined;
10771
- }[] | undefined;
10772
11000
  ingest?: {
10773
11001
  enabled?: boolean | undefined;
10774
11002
  mode?: "messages" | "metadata-only" | undefined;
@@ -10786,6 +11014,14 @@ declare const daemonConfigSchema: z.ZodObject<{
10786
11014
  maxChatsPerSweep?: number | undefined;
10787
11015
  } | undefined;
10788
11016
  } | undefined;
11017
+ sessionDir?: string | undefined;
11018
+ allowFrom?: string[] | undefined;
11019
+ defaultAgent?: string | undefined;
11020
+ routes?: {
11021
+ agent: string;
11022
+ group?: string | undefined;
11023
+ contact?: string | undefined;
11024
+ }[] | undefined;
10789
11025
  } | undefined;
10790
11026
  github?: {
10791
11027
  enabled?: boolean | undefined;
@@ -10882,18 +11118,18 @@ declare const daemonConfigSchema: z.ZodObject<{
10882
11118
  chatId: string;
10883
11119
  accountId?: string | undefined;
10884
11120
  } | undefined;
11121
+ taskType?: string | undefined;
11122
+ createdBy?: string | undefined;
10885
11123
  approval?: {
10886
11124
  action: "delete" | "create";
10887
11125
  requestedBy: string;
10888
11126
  requestedAt: string;
10889
11127
  } | undefined;
10890
11128
  maxOutputTokens?: number | undefined;
10891
- taskType?: string | undefined;
10892
11129
  autonomy?: "report" | "propose" | "act" | undefined;
10893
11130
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
10894
11131
  deliverResult?: boolean | undefined;
10895
11132
  fireToken?: string | undefined;
10896
- createdBy?: string | undefined;
10897
11133
  }> | undefined;
10898
11134
  graph?: {
10899
11135
  enabled?: boolean | undefined;
@@ -10915,9 +11151,9 @@ declare const daemonConfigSchema: z.ZodObject<{
10915
11151
  changeThreshold?: number | undefined;
10916
11152
  stableMs?: number | undefined;
10917
11153
  regions?: Record<string, {
11154
+ x: number;
10918
11155
  width: number;
10919
11156
  height: number;
10920
- x: number;
10921
11157
  y: number;
10922
11158
  }> | undefined;
10923
11159
  buffer?: {
@@ -11036,15 +11272,19 @@ declare const daemonConfigSchema: z.ZodObject<{
11036
11272
  escalateAfterMinutes?: number | undefined;
11037
11273
  ladder?: string[] | undefined;
11038
11274
  } | undefined;
11275
+ desk?: {
11276
+ phone?: "all" | "off" | "urgent" | undefined;
11277
+ computer?: "all" | "off" | "urgent" | undefined;
11278
+ } | undefined;
11039
11279
  } | undefined;
11040
11280
  calls?: {
11041
11281
  summary?: boolean | undefined;
11042
11282
  allow?: string[] | undefined;
11043
11283
  busy?: {
11044
11284
  title?: string | undefined;
11285
+ notice?: string | undefined;
11045
11286
  retryMinutes?: number | undefined;
11046
11287
  maxWaitMinutes?: number | undefined;
11047
- notice?: string | undefined;
11048
11288
  } | undefined;
11049
11289
  maxPerHour?: number | undefined;
11050
11290
  maxCallMinutes?: number | undefined;
@@ -11077,44 +11317,6 @@ declare const daemonConfigSchema: z.ZodObject<{
11077
11317
  autoAck?: boolean | undefined;
11078
11318
  }[] | undefined;
11079
11319
  } | undefined;
11080
- approvals?: {
11081
- digest?: {
11082
- enabled?: boolean | undefined;
11083
- timezone?: string | undefined;
11084
- time?: string | undefined;
11085
- destination?: {
11086
- channel: string;
11087
- chatId: string;
11088
- accountId?: string | undefined;
11089
- } | undefined;
11090
- } | undefined;
11091
- defaultExpiryDays?: number | undefined;
11092
- maxExpiryDays?: number | undefined;
11093
- laterHours?: number | undefined;
11094
- notifyAgent?: boolean | undefined;
11095
- forwardTo?: string | undefined;
11096
- popup?: {
11097
- enabled?: boolean | undefined;
11098
- style?: "card" | "dialog" | undefined;
11099
- sound?: string | undefined;
11100
- voice?: string | undefined;
11101
- volume?: number | undefined;
11102
- timeoutSeconds?: number | undefined;
11103
- theme?: "system" | "light" | "dark" | undefined;
11104
- speak?: boolean | undefined;
11105
- } | undefined;
11106
- checkin?: {
11107
- enabled?: boolean | undefined;
11108
- agent?: string | undefined;
11109
- timezone?: string | undefined;
11110
- times?: string[] | undefined;
11111
- dailyAt?: string | undefined;
11112
- lists?: string[] | undefined;
11113
- dueWithinHours?: number | undefined;
11114
- maxAsksPerPass?: number | undefined;
11115
- composeTimeoutSeconds?: number | undefined;
11116
- } | undefined;
11117
- } | undefined;
11118
11320
  shutdown?: {
11119
11321
  restart?: {
11120
11322
  allowBy?: string | undefined;
@@ -11131,25 +11333,6 @@ declare const daemonConfigSchema: z.ZodObject<{
11131
11333
  allowPeers?: string[] | undefined;
11132
11334
  maxPerRoot?: number | undefined;
11133
11335
  } | undefined;
11134
- watchers?: {
11135
- enabled?: boolean | undefined;
11136
- owner?: {
11137
- channel?: string | undefined;
11138
- chatId?: string | undefined;
11139
- } | undefined;
11140
- evidence?: Record<string, {
11141
- accept: ("output" | "test" | "link")[];
11142
- minOutputChars?: number | undefined;
11143
- linkHosts?: string[] | undefined;
11144
- }> | undefined;
11145
- retentionDays?: number | undefined;
11146
- escalateAfterMinutes?: number | undefined;
11147
- skipChannels?: string[] | undefined;
11148
- defaultDueMinutes?: number | undefined;
11149
- noBelow?: number | undefined;
11150
- yesAt?: number | undefined;
11151
- doneSignal?: "result" | "explicit" | undefined;
11152
- } | undefined;
11153
11336
  people?: {
11154
11337
  id: string;
11155
11338
  name: string;
@@ -11191,22 +11374,6 @@ declare const daemonConfigSchema: z.ZodObject<{
11191
11374
  pollSeconds?: number | undefined;
11192
11375
  lookbackHours?: number | undefined;
11193
11376
  } | undefined;
11194
- native?: {
11195
- notes?: {
11196
- enabled?: boolean | undefined;
11197
- folder?: string | undefined;
11198
- perAgentPerDay?: number | undefined;
11199
- } | undefined;
11200
- forwardTo?: string | undefined;
11201
- adapter?: "auto" | "none" | undefined;
11202
- mirror?: {
11203
- enabled?: boolean | undefined;
11204
- list?: string | undefined;
11205
- dueAfterMinutes?: number | undefined;
11206
- include?: ("card" | "request")[] | undefined;
11207
- answerUrl?: string | undefined;
11208
- } | undefined;
11209
- } | undefined;
11210
11377
  meshVoices?: Record<string, {
11211
11378
  system?: string | Record<string, string> | undefined;
11212
11379
  provider?: "system" | "elevenlabs" | undefined;
@@ -11252,10 +11419,19 @@ declare const daemonConfigSchema: z.ZodObject<{
11252
11419
  }[] | undefined;
11253
11420
  decisions?: {
11254
11421
  enabled?: boolean | undefined;
11422
+ defaultBackend?: string | undefined;
11423
+ seats?: Record<string, {
11424
+ model?: string | undefined;
11425
+ temperature?: number | undefined;
11426
+ backend?: string | undefined;
11427
+ mode?: "active" | "off" | "shadow" | undefined;
11428
+ holdout?: number | undefined;
11429
+ timeoutMs?: number | undefined;
11430
+ explore?: number | undefined;
11431
+ } | undefined> | undefined;
11255
11432
  dbPath?: string | undefined;
11256
11433
  redactState?: boolean | undefined;
11257
11434
  keepStateRows?: number | undefined;
11258
- defaultBackend?: string | undefined;
11259
11435
  backends?: {
11260
11436
  local?: {
11261
11437
  provider?: string | undefined;
@@ -11292,15 +11468,6 @@ declare const daemonConfigSchema: z.ZodObject<{
11292
11468
  maxChoiceOptions?: number | undefined;
11293
11469
  } | undefined;
11294
11470
  } | undefined;
11295
- seats?: Record<string, {
11296
- model?: string | undefined;
11297
- temperature?: number | undefined;
11298
- backend?: string | undefined;
11299
- mode?: "active" | "off" | "shadow" | undefined;
11300
- holdout?: number | undefined;
11301
- timeoutMs?: number | undefined;
11302
- explore?: number | undefined;
11303
- } | undefined> | undefined;
11304
11471
  routing?: {
11305
11472
  cheapModel?: string | undefined;
11306
11473
  cheapModels?: {
@@ -12302,6 +12469,7 @@ declare class AgentXDaemon {
12302
12469
  /** On the push host: the subscriptions table relayed phones use (#711). */
12303
12470
  private pushHost?;
12304
12471
  private approvalsSweeping;
12472
+ private deskRoutingBusy;
12305
12473
  private mirroring;
12306
12474
  /** One pass of the Reminders mirror, when it is on and this machine
12307
12475
  * has a task app (src/approvals/mirror.ts). */
@@ -12309,6 +12477,10 @@ declare class AgentXDaemon {
12309
12477
  /** Every minute: expire decision cards, tell agents their results, and
12310
12478
  * send the day's digest when due (src/approvals/sweep.ts). */
12311
12479
  private startApprovalsSweep;
12480
+ /** notifications.desk with its defaults worked out (desk/route.ts). */
12481
+ private deskRouting;
12482
+ /** New items on the owner's one list, to the phone and this computer. */
12483
+ private routeDeskItems;
12312
12484
  /** The result turn on the agent that raised a card. Fire and forget:
12313
12485
  * neither the sweep nor a peer's request waits on a model. */
12314
12486
  private tellAgentCardResult;
@@ -12360,9 +12532,13 @@ declare class AgentXDaemon {
12360
12532
  * one small call through the provider the operator set up, built on
12361
12533
  * first use and read from the settings at each call. */
12362
12534
  private headlineWriter;
12535
+ /** Reads an owner-facing turn's reply for a promise or a question to
12536
+ * the owner (#1138 E): one small call through the provider the operator
12537
+ * set up, no thinking, read from the settings at each call. */
12538
+ private promiseCatcher;
12363
12539
  /** Requests that went quiet come back, each is raised once, and old
12364
- * closed ones are deleted (src/requests/sweep.ts). Plans first: a
12365
- * blocked step marks its request told, so the owner hears once. */
12540
+ * closed ones are deleted (src/requests/sweep.ts). Plans first: a step
12541
+ * they block is told by this same check, in the plan's words. */
12366
12542
  private sweepRequests;
12367
12543
  /** Wait, up to `maxMs`, for the agent's turn in this chat to end, so a
12368
12544
  * turn told there does not run beside it (#1100). False: still busy. */
@@ -14496,17 +14672,17 @@ declare const graphNodeSchema: z.ZodObject<{
14496
14672
  createdBy: z.ZodOptional<z.ZodString>;
14497
14673
  }, "strip", z.ZodTypeAny, {
14498
14674
  id: string;
14675
+ createdAt: string;
14499
14676
  axes: Record<string, string>;
14500
14677
  level: string;
14501
14678
  parentId: string | null;
14502
- createdAt: string;
14503
14679
  createdBy?: string | undefined;
14504
14680
  }, {
14505
14681
  id: string;
14682
+ createdAt: string;
14506
14683
  axes: Record<string, string>;
14507
14684
  level: string;
14508
14685
  parentId: string | null;
14509
- createdAt: string;
14510
14686
  createdBy?: string | undefined;
14511
14687
  }>;
14512
14688
  type GraphNode = z.infer<typeof graphNodeSchema>;
@@ -14600,11 +14776,11 @@ declare const fingerprintEntrySchema: z.ZodObject<{
14600
14776
  }, "strip", z.ZodTypeAny, {
14601
14777
  path: string[];
14602
14778
  updatedAt: string;
14603
- fingerprint: string;
14604
14779
  leaf: {
14605
14780
  output?: string | undefined;
14606
14781
  input?: string | undefined;
14607
14782
  };
14783
+ fingerprint: string;
14608
14784
  }, {
14609
14785
  path: string[];
14610
14786
  updatedAt: string;
@@ -14632,37 +14808,37 @@ declare const nodesFileSchema: z.ZodObject<{
14632
14808
  createdBy: z.ZodOptional<z.ZodString>;
14633
14809
  }, "strip", z.ZodTypeAny, {
14634
14810
  id: string;
14811
+ createdAt: string;
14635
14812
  axes: Record<string, string>;
14636
14813
  level: string;
14637
14814
  parentId: string | null;
14638
- createdAt: string;
14639
14815
  createdBy?: string | undefined;
14640
14816
  }, {
14641
14817
  id: string;
14818
+ createdAt: string;
14642
14819
  axes: Record<string, string>;
14643
14820
  level: string;
14644
14821
  parentId: string | null;
14645
- createdAt: string;
14646
14822
  createdBy?: string | undefined;
14647
14823
  }>, "many">>;
14648
14824
  }, "strip", z.ZodTypeAny, {
14649
14825
  version: number;
14650
14826
  nodes: {
14651
14827
  id: string;
14828
+ createdAt: string;
14652
14829
  axes: Record<string, string>;
14653
14830
  level: string;
14654
14831
  parentId: string | null;
14655
- createdAt: string;
14656
14832
  createdBy?: string | undefined;
14657
14833
  }[];
14658
14834
  }, {
14659
14835
  version?: number | undefined;
14660
14836
  nodes?: {
14661
14837
  id: string;
14838
+ createdAt: string;
14662
14839
  axes: Record<string, string>;
14663
14840
  level: string;
14664
14841
  parentId: string | null;
14665
- createdAt: string;
14666
14842
  createdBy?: string | undefined;
14667
14843
  }[] | undefined;
14668
14844
  }>;
@@ -14687,11 +14863,11 @@ declare const indexFileSchema: z.ZodObject<{
14687
14863
  }, "strip", z.ZodTypeAny, {
14688
14864
  path: string[];
14689
14865
  updatedAt: string;
14690
- fingerprint: string;
14691
14866
  leaf: {
14692
14867
  output?: string | undefined;
14693
14868
  input?: string | undefined;
14694
14869
  };
14870
+ fingerprint: string;
14695
14871
  }, {
14696
14872
  path: string[];
14697
14873
  updatedAt: string;
@@ -14705,11 +14881,11 @@ declare const indexFileSchema: z.ZodObject<{
14705
14881
  entries: Record<string, {
14706
14882
  path: string[];
14707
14883
  updatedAt: string;
14708
- fingerprint: string;
14709
14884
  leaf: {
14710
14885
  output?: string | undefined;
14711
14886
  input?: string | undefined;
14712
14887
  };
14888
+ fingerprint: string;
14713
14889
  }>;
14714
14890
  version: number;
14715
14891
  }, {
@@ -16000,8 +16176,8 @@ declare const workflowRunSchema: z.ZodObject<{
16000
16176
  status: "failed" | "completed" | "running" | "canceled" | "paused";
16001
16177
  id: string;
16002
16178
  context: Record<string, Record<string, unknown>>;
16003
- pending: string[];
16004
16179
  updatedAt: string;
16180
+ createdAt: string;
16005
16181
  history: {
16006
16182
  at: string;
16007
16183
  status: "timeout" | "ok" | "failed" | "skipped" | "resumed" | "paused";
@@ -16013,7 +16189,7 @@ declare const workflowRunSchema: z.ZodObject<{
16013
16189
  note?: string | undefined;
16014
16190
  startedAt?: string | undefined;
16015
16191
  }[];
16016
- createdAt: string;
16192
+ pending: string[];
16017
16193
  workflowVersion: 2;
16018
16194
  workflowId: string;
16019
16195
  homeNode: string;
@@ -16139,7 +16315,6 @@ declare const workflowRunSchema: z.ZodObject<{
16139
16315
  backend: string;
16140
16316
  };
16141
16317
  context?: Record<string, Record<string, unknown>> | undefined;
16142
- pending?: string[] | undefined;
16143
16318
  history?: {
16144
16319
  at: string;
16145
16320
  status: "timeout" | "ok" | "failed" | "skipped" | "resumed" | "paused";
@@ -16151,6 +16326,7 @@ declare const workflowRunSchema: z.ZodObject<{
16151
16326
  startedAt?: string | undefined;
16152
16327
  inputKeys?: string[] | undefined;
16153
16328
  }[] | undefined;
16329
+ pending?: string[] | undefined;
16154
16330
  meta?: {
16155
16331
  followUp?: boolean | undefined;
16156
16332
  tags?: string[] | undefined;