agentix-cli 0.80.0 → 0.81.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 (151) hide show
  1. package/dist/{App-2UCGXCX3.js → App-HF6W6CV2.js} +2 -2
  2. package/dist/{App-2UCGXCX3.js.map → App-HF6W6CV2.js.map} +1 -1
  3. package/dist/ChatApp-74VBWP7R.js +7 -0
  4. package/dist/{ChatApp-IRPSBYC7.js.map → ChatApp-74VBWP7R.js.map} +1 -1
  5. package/dist/{agent-UPTK3HFR.js → agent-BDEPUFBQ.js} +2 -2
  6. package/dist/{board-dashboard-GAUAYKWV.js → board-dashboard-TWEF5XVE.js} +189 -169
  7. package/dist/board-dashboard-TWEF5XVE.js.map +1 -0
  8. package/dist/{chunk-PXIGWFIQ.js → chunk-4KJ3PCAI.js} +2 -2
  9. package/dist/{chunk-2YJ2ZIYC.js → chunk-5GXCOHDM.js} +2 -2
  10. package/dist/{chunk-2YJ2ZIYC.js.map → chunk-5GXCOHDM.js.map} +1 -1
  11. package/dist/{chunk-3GYCFRBK.js → chunk-74FSHUB3.js} +2 -2
  12. package/dist/{chunk-AIHWGU4P.js → chunk-ATXE3EMV.js} +2 -2
  13. package/dist/{chunk-BIJB7CNG.js → chunk-BB3ESU74.js} +2 -2
  14. package/dist/{chunk-Z6G26FWC.js → chunk-BDM4VTBR.js} +52 -52
  15. package/dist/chunk-BDM4VTBR.js.map +1 -0
  16. package/dist/chunk-BYD5B3P3.js +9 -0
  17. package/dist/{chunk-Z3IP66SL.js.map → chunk-BYD5B3P3.js.map} +1 -1
  18. package/dist/chunk-EFV7U5LD.js +152 -0
  19. package/dist/chunk-EFV7U5LD.js.map +1 -0
  20. package/dist/chunk-ES7Z64Z5.js +22 -0
  21. package/dist/chunk-ES7Z64Z5.js.map +1 -0
  22. package/dist/{chunk-WP6KLXTP.js → chunk-GLQLCBJS.js} +4 -4
  23. package/dist/chunk-GLQLCBJS.js.map +1 -0
  24. package/dist/{chunk-PHFOYJUB.js → chunk-GUAJNZIX.js} +2 -2
  25. package/dist/{chunk-4NUF3SXN.js → chunk-HUQRPEDP.js} +2 -2
  26. package/dist/{chunk-36TJTWG3.js → chunk-HYE2UUQ4.js} +248 -217
  27. package/dist/chunk-HYE2UUQ4.js.map +1 -0
  28. package/dist/chunk-JG3O5GL6.js +5 -0
  29. package/dist/{chunk-I2Z6D3MI.js.map → chunk-JG3O5GL6.js.map} +1 -1
  30. package/dist/chunk-JXF54PT7.js +2 -0
  31. package/dist/chunk-JXF54PT7.js.map +1 -0
  32. package/dist/chunk-LTHQXWZN.js +51 -0
  33. package/dist/chunk-LTHQXWZN.js.map +1 -0
  34. package/dist/{chunk-BBI3HG77.js → chunk-LUL4ILAQ.js} +2 -2
  35. package/dist/{chunk-N6EWZGIX.js → chunk-PN6XHTG5.js} +6 -6
  36. package/dist/{chunk-N6EWZGIX.js.map → chunk-PN6XHTG5.js.map} +1 -1
  37. package/dist/{chunk-KAFUQILA.js → chunk-TW4L6RP2.js} +2 -2
  38. package/dist/chunk-UCKKAWLZ.js +2 -0
  39. package/dist/chunk-UCKKAWLZ.js.map +1 -0
  40. package/dist/{chunk-PT5Z5WW4.js → chunk-VVW4JYV6.js} +24 -24
  41. package/dist/chunk-VVW4JYV6.js.map +1 -0
  42. package/dist/{chunk-Z522XZBL.js → chunk-WWU2D65N.js} +2 -2
  43. package/dist/chunk-XF65CDNS.js +5 -0
  44. package/dist/{chunk-AFSM3IY3.js.map → chunk-XF65CDNS.js.map} +1 -1
  45. package/dist/{chunk-O67KV3DX.js → chunk-XQ7MVPWP.js} +7 -7
  46. package/dist/chunk-XQ7MVPWP.js.map +1 -0
  47. package/dist/{chunk-7EIUNFDF.js → chunk-ZDDJNKU5.js} +2 -2
  48. package/dist/{chunk-D3FDPA74.js → chunk-ZUAV3PTL.js} +2 -2
  49. package/dist/cli.js +1 -1
  50. package/dist/cli.js.map +1 -1
  51. package/dist/client-JDY2FZUF.js +2 -0
  52. package/dist/config-JCETBKWT.js +2 -0
  53. package/dist/config-mutator-YQWTY47O.js +2 -0
  54. package/dist/doctor-6EWW7NC2.js +2 -0
  55. package/dist/{facts-YY2364CP.js → facts-5T5GRUTG.js} +6 -6
  56. package/dist/{facts-YY2364CP.js.map → facts-5T5GRUTG.js.map} +1 -1
  57. package/dist/{failure-candidates-RIXA3Y6D.js → failure-candidates-PBPF45GN.js} +2 -2
  58. package/dist/index.d.ts +630 -502
  59. package/dist/index.js +1 -1
  60. package/dist/index.js.map +1 -1
  61. package/dist/{chunk-ECEDX6C6.js → program-FUYHN2F7.js} +193 -183
  62. package/dist/program-FUYHN2F7.js.map +1 -0
  63. package/dist/promote-ZZWMGVO2.js +2 -0
  64. package/dist/query-OQBB7EFS.js +2 -0
  65. package/dist/registry-PLSOZ3CL.js +2 -0
  66. package/dist/request-planner-HX44G2SX.js +2 -0
  67. package/dist/{request-planner-RNXA2QAH.js.map → request-planner-HX44G2SX.js.map} +1 -1
  68. package/dist/review-candidates-FBDLPU6H.js +4 -0
  69. package/dist/{review-candidates-THKWXS7S.js.map → review-candidates-FBDLPU6H.js.map} +1 -1
  70. package/dist/routing-3SZHWHUA.js +2 -0
  71. package/dist/schedule-tool-5FULSHWJ.js +2 -0
  72. package/dist/scheduler-ITOKSMYT.js +2 -0
  73. package/dist/seat-2HJG3UNW.js +2 -0
  74. package/dist/select-UKAOL7QB.js +2 -0
  75. package/dist/{select-PRQP2B6G.js.map → select-UKAOL7QB.js.map} +1 -1
  76. package/dist/set-enabled-ADFSNG5A.js +2 -0
  77. package/dist/{set-enabled-E2ML2E33.js.map → set-enabled-ADFSNG5A.js.map} +1 -1
  78. package/dist/signal-exit-WL7G3EEZ.js +2 -0
  79. package/dist/signal-exit-WL7G3EEZ.js.map +1 -0
  80. package/dist/{surface-usage-HVVP22SA.js → surface-usage-O5L4KLGS.js} +2 -2
  81. package/dist/{tool-4WPUUUE4.js → tool-MSXWU44P.js} +2 -2
  82. package/dist/{tool-4WPUUUE4.js.map → tool-MSXWU44P.js.map} +1 -1
  83. package/dist/tool-X7YEIJVZ.js +4 -0
  84. package/dist/tool-X7YEIJVZ.js.map +1 -0
  85. package/dist/wiki-QUVWB4IN.js +2 -0
  86. package/package.json +1 -1
  87. package/dist/ChatApp-IRPSBYC7.js +0 -7
  88. package/dist/board-dashboard-GAUAYKWV.js.map +0 -1
  89. package/dist/chunk-36TJTWG3.js.map +0 -1
  90. package/dist/chunk-445P5QPS.js +0 -15
  91. package/dist/chunk-445P5QPS.js.map +0 -1
  92. package/dist/chunk-6TLQ4I32.js +0 -57
  93. package/dist/chunk-6TLQ4I32.js.map +0 -1
  94. package/dist/chunk-AFSM3IY3.js +0 -5
  95. package/dist/chunk-ECEDX6C6.js.map +0 -1
  96. package/dist/chunk-I2Z6D3MI.js +0 -5
  97. package/dist/chunk-KBSBMOOL.js +0 -152
  98. package/dist/chunk-KBSBMOOL.js.map +0 -1
  99. package/dist/chunk-NMFXY3QU.js +0 -2
  100. package/dist/chunk-NMFXY3QU.js.map +0 -1
  101. package/dist/chunk-O67KV3DX.js.map +0 -1
  102. package/dist/chunk-PT5Z5WW4.js.map +0 -1
  103. package/dist/chunk-WP6KLXTP.js.map +0 -1
  104. package/dist/chunk-Z3IP66SL.js +0 -9
  105. package/dist/chunk-Z6G26FWC.js.map +0 -1
  106. package/dist/client-ABDGDO7S.js +0 -2
  107. package/dist/config-XPFCUOQT.js +0 -2
  108. package/dist/config-mutator-WYHQV2XF.js +0 -2
  109. package/dist/doctor-XLLNQRRT.js +0 -2
  110. package/dist/program-KZOBDSXQ.js +0 -2
  111. package/dist/promote-YUZL3ZU2.js +0 -2
  112. package/dist/query-3XH7I6WX.js +0 -2
  113. package/dist/registry-5OD2IN5G.js +0 -2
  114. package/dist/request-planner-RNXA2QAH.js +0 -2
  115. package/dist/review-candidates-THKWXS7S.js +0 -4
  116. package/dist/routing-X45VX723.js +0 -2
  117. package/dist/schedule-tool-ZTL6UZCC.js +0 -2
  118. package/dist/scheduler-VH7IJ4VA.js +0 -2
  119. package/dist/seat-LQ47SSNN.js +0 -2
  120. package/dist/select-PRQP2B6G.js +0 -2
  121. package/dist/set-enabled-E2ML2E33.js +0 -2
  122. package/dist/tool-67JK7SK6.js +0 -4
  123. package/dist/tool-67JK7SK6.js.map +0 -1
  124. package/dist/wiki-AS5YHSR7.js +0 -2
  125. package/dist/wiki-AS5YHSR7.js.map +0 -1
  126. /package/dist/{agent-UPTK3HFR.js.map → agent-BDEPUFBQ.js.map} +0 -0
  127. /package/dist/{chunk-PXIGWFIQ.js.map → chunk-4KJ3PCAI.js.map} +0 -0
  128. /package/dist/{chunk-3GYCFRBK.js.map → chunk-74FSHUB3.js.map} +0 -0
  129. /package/dist/{chunk-AIHWGU4P.js.map → chunk-ATXE3EMV.js.map} +0 -0
  130. /package/dist/{chunk-BIJB7CNG.js.map → chunk-BB3ESU74.js.map} +0 -0
  131. /package/dist/{chunk-PHFOYJUB.js.map → chunk-GUAJNZIX.js.map} +0 -0
  132. /package/dist/{chunk-4NUF3SXN.js.map → chunk-HUQRPEDP.js.map} +0 -0
  133. /package/dist/{chunk-BBI3HG77.js.map → chunk-LUL4ILAQ.js.map} +0 -0
  134. /package/dist/{chunk-KAFUQILA.js.map → chunk-TW4L6RP2.js.map} +0 -0
  135. /package/dist/{chunk-Z522XZBL.js.map → chunk-WWU2D65N.js.map} +0 -0
  136. /package/dist/{chunk-7EIUNFDF.js.map → chunk-ZDDJNKU5.js.map} +0 -0
  137. /package/dist/{chunk-D3FDPA74.js.map → chunk-ZUAV3PTL.js.map} +0 -0
  138. /package/dist/{client-ABDGDO7S.js.map → client-JDY2FZUF.js.map} +0 -0
  139. /package/dist/{config-XPFCUOQT.js.map → config-JCETBKWT.js.map} +0 -0
  140. /package/dist/{config-mutator-WYHQV2XF.js.map → config-mutator-YQWTY47O.js.map} +0 -0
  141. /package/dist/{doctor-XLLNQRRT.js.map → doctor-6EWW7NC2.js.map} +0 -0
  142. /package/dist/{failure-candidates-RIXA3Y6D.js.map → failure-candidates-PBPF45GN.js.map} +0 -0
  143. /package/dist/{program-KZOBDSXQ.js.map → promote-ZZWMGVO2.js.map} +0 -0
  144. /package/dist/{promote-YUZL3ZU2.js.map → query-OQBB7EFS.js.map} +0 -0
  145. /package/dist/{query-3XH7I6WX.js.map → registry-PLSOZ3CL.js.map} +0 -0
  146. /package/dist/{registry-5OD2IN5G.js.map → routing-3SZHWHUA.js.map} +0 -0
  147. /package/dist/{routing-X45VX723.js.map → schedule-tool-5FULSHWJ.js.map} +0 -0
  148. /package/dist/{schedule-tool-ZTL6UZCC.js.map → scheduler-ITOKSMYT.js.map} +0 -0
  149. /package/dist/{scheduler-VH7IJ4VA.js.map → seat-2HJG3UNW.js.map} +0 -0
  150. /package/dist/{seat-LQ47SSNN.js.map → surface-usage-O5L4KLGS.js.map} +0 -0
  151. /package/dist/{surface-usage-HVVP22SA.js.map → wiki-QUVWB4IN.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1845,6 +1845,12 @@ declare const agentConfigSchema: z.ZodObject<{
1845
1845
  }>>;
1846
1846
  }, "strip", z.ZodTypeAny, {
1847
1847
  name: string;
1848
+ heartbeat: {
1849
+ enabled: boolean;
1850
+ prompt: string;
1851
+ channel: string;
1852
+ intervalMinutes: number;
1853
+ };
1848
1854
  workspace: string;
1849
1855
  tier: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator";
1850
1856
  mentions: string[];
@@ -1861,12 +1867,6 @@ declare const agentConfigSchema: z.ZodObject<{
1861
1867
  toolUseRequired: string[];
1862
1868
  persistentProcess: boolean;
1863
1869
  queueMode: "drop" | "collect" | "followup";
1864
- heartbeat: {
1865
- enabled: boolean;
1866
- prompt: string;
1867
- channel: string;
1868
- intervalMinutes: number;
1869
- };
1870
1870
  access: "private" | "public";
1871
1871
  subscriptions: {
1872
1872
  kinds: string[];
@@ -1894,7 +1894,19 @@ declare const agentConfigSchema: z.ZodObject<{
1894
1894
  }[];
1895
1895
  provider?: string | undefined;
1896
1896
  model?: string | undefined;
1897
- systemPrompt?: string | undefined;
1897
+ voice?: {
1898
+ system?: string | Record<string, string> | undefined;
1899
+ provider?: "system" | "elevenlabs" | undefined;
1900
+ style?: string | undefined;
1901
+ priority?: "high" | "normal" | "low" | undefined;
1902
+ fallbacks?: string[] | undefined;
1903
+ elevenlabsVoiceId?: string | undefined;
1904
+ gender?: "neutral" | "female" | "male" | undefined;
1905
+ intro?: string | undefined;
1906
+ narrate?: "all" | "on" | "off" | undefined;
1907
+ rate?: number | undefined;
1908
+ hotkey?: string | undefined;
1909
+ } | undefined;
1898
1910
  mcp?: Record<string, {
1899
1911
  command: string;
1900
1912
  args: string[];
@@ -1905,10 +1917,23 @@ declare const agentConfigSchema: z.ZodObject<{
1905
1917
  url: string;
1906
1918
  headers?: Record<string, string> | undefined;
1907
1919
  }> | undefined;
1920
+ systemPrompt?: string | undefined;
1908
1921
  contextStrategy?: "layered" | "planner" | undefined;
1909
1922
  drainTimeoutSeconds?: number | undefined;
1910
1923
  gitlabAutoReply?: boolean | undefined;
1911
1924
  admin?: boolean | undefined;
1925
+ presence?: {
1926
+ initial?: string | undefined;
1927
+ label?: string | undefined;
1928
+ color?: string | undefined;
1929
+ palette?: string | undefined;
1930
+ allowActions?: boolean | undefined;
1931
+ } | undefined;
1932
+ }, {
1933
+ name: string;
1934
+ workspace: string;
1935
+ provider?: string | undefined;
1936
+ model?: string | undefined;
1912
1937
  voice?: {
1913
1938
  system?: string | Record<string, string> | undefined;
1914
1939
  provider?: "system" | "elevenlabs" | undefined;
@@ -1922,23 +1947,6 @@ declare const agentConfigSchema: z.ZodObject<{
1922
1947
  rate?: number | undefined;
1923
1948
  hotkey?: string | undefined;
1924
1949
  } | undefined;
1925
- presence?: {
1926
- initial?: string | undefined;
1927
- label?: string | undefined;
1928
- color?: string | undefined;
1929
- palette?: string | undefined;
1930
- allowActions?: boolean | undefined;
1931
- } | undefined;
1932
- }, {
1933
- name: string;
1934
- workspace: string;
1935
- provider?: string | undefined;
1936
- model?: string | undefined;
1937
- tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
1938
- systemPrompt?: string | undefined;
1939
- mentions?: string[] | undefined;
1940
- intents?: string[] | undefined;
1941
- maxDelegationDepth?: number | undefined;
1942
1950
  mcp?: Record<string, {
1943
1951
  command: string;
1944
1952
  type?: "stdio" | undefined;
@@ -1949,6 +1957,17 @@ declare const agentConfigSchema: z.ZodObject<{
1949
1957
  url: string;
1950
1958
  headers?: Record<string, string> | undefined;
1951
1959
  }> | undefined;
1960
+ heartbeat?: {
1961
+ enabled?: boolean | undefined;
1962
+ prompt?: string | undefined;
1963
+ channel?: string | undefined;
1964
+ intervalMinutes?: number | undefined;
1965
+ } | undefined;
1966
+ tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
1967
+ systemPrompt?: string | undefined;
1968
+ mentions?: string[] | undefined;
1969
+ intents?: string[] | undefined;
1970
+ maxDelegationDepth?: number | undefined;
1952
1971
  codegraph?: boolean | undefined;
1953
1972
  contextStrategy?: "layered" | "planner" | undefined;
1954
1973
  contextReferences?: boolean | undefined;
@@ -1963,12 +1982,6 @@ declare const agentConfigSchema: z.ZodObject<{
1963
1982
  gitlabAutoReply?: boolean | undefined;
1964
1983
  persistentProcess?: boolean | undefined;
1965
1984
  queueMode?: "drop" | "collect" | "followup" | undefined;
1966
- heartbeat?: {
1967
- enabled?: boolean | undefined;
1968
- prompt?: string | undefined;
1969
- channel?: string | undefined;
1970
- intervalMinutes?: number | undefined;
1971
- } | undefined;
1972
1985
  access?: "private" | "public" | undefined;
1973
1986
  admin?: boolean | undefined;
1974
1987
  subscriptions?: {
@@ -1995,19 +2008,6 @@ declare const agentConfigSchema: z.ZodObject<{
1995
2008
  } | undefined;
1996
2009
  metadata?: Record<string, string | number | boolean> | undefined;
1997
2010
  }[] | undefined;
1998
- voice?: {
1999
- system?: string | Record<string, string> | undefined;
2000
- provider?: "system" | "elevenlabs" | undefined;
2001
- style?: string | undefined;
2002
- priority?: "high" | "normal" | "low" | undefined;
2003
- fallbacks?: string[] | undefined;
2004
- elevenlabsVoiceId?: string | undefined;
2005
- gender?: "neutral" | "female" | "male" | undefined;
2006
- intro?: string | undefined;
2007
- narrate?: "all" | "on" | "off" | undefined;
2008
- rate?: number | undefined;
2009
- hotkey?: string | undefined;
2010
- } | undefined;
2011
2011
  presence?: {
2012
2012
  initial?: string | undefined;
2013
2013
  label?: string | undefined;
@@ -2654,6 +2654,12 @@ declare const daemonConfigSchema: z.ZodObject<{
2654
2654
  }>>;
2655
2655
  }, "strip", z.ZodTypeAny, {
2656
2656
  name: string;
2657
+ heartbeat: {
2658
+ enabled: boolean;
2659
+ prompt: string;
2660
+ channel: string;
2661
+ intervalMinutes: number;
2662
+ };
2657
2663
  workspace: string;
2658
2664
  tier: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator";
2659
2665
  mentions: string[];
@@ -2670,12 +2676,6 @@ declare const daemonConfigSchema: z.ZodObject<{
2670
2676
  toolUseRequired: string[];
2671
2677
  persistentProcess: boolean;
2672
2678
  queueMode: "drop" | "collect" | "followup";
2673
- heartbeat: {
2674
- enabled: boolean;
2675
- prompt: string;
2676
- channel: string;
2677
- intervalMinutes: number;
2678
- };
2679
2679
  access: "private" | "public";
2680
2680
  subscriptions: {
2681
2681
  kinds: string[];
@@ -2703,7 +2703,19 @@ declare const daemonConfigSchema: z.ZodObject<{
2703
2703
  }[];
2704
2704
  provider?: string | undefined;
2705
2705
  model?: string | undefined;
2706
- systemPrompt?: string | undefined;
2706
+ voice?: {
2707
+ system?: string | Record<string, string> | undefined;
2708
+ provider?: "system" | "elevenlabs" | undefined;
2709
+ style?: string | undefined;
2710
+ priority?: "high" | "normal" | "low" | undefined;
2711
+ fallbacks?: string[] | undefined;
2712
+ elevenlabsVoiceId?: string | undefined;
2713
+ gender?: "neutral" | "female" | "male" | undefined;
2714
+ intro?: string | undefined;
2715
+ narrate?: "all" | "on" | "off" | undefined;
2716
+ rate?: number | undefined;
2717
+ hotkey?: string | undefined;
2718
+ } | undefined;
2707
2719
  mcp?: Record<string, {
2708
2720
  command: string;
2709
2721
  args: string[];
@@ -2714,10 +2726,23 @@ declare const daemonConfigSchema: z.ZodObject<{
2714
2726
  url: string;
2715
2727
  headers?: Record<string, string> | undefined;
2716
2728
  }> | undefined;
2729
+ systemPrompt?: string | undefined;
2717
2730
  contextStrategy?: "layered" | "planner" | undefined;
2718
2731
  drainTimeoutSeconds?: number | undefined;
2719
2732
  gitlabAutoReply?: boolean | undefined;
2720
2733
  admin?: boolean | undefined;
2734
+ presence?: {
2735
+ initial?: string | undefined;
2736
+ label?: string | undefined;
2737
+ color?: string | undefined;
2738
+ palette?: string | undefined;
2739
+ allowActions?: boolean | undefined;
2740
+ } | undefined;
2741
+ }, {
2742
+ name: string;
2743
+ workspace: string;
2744
+ provider?: string | undefined;
2745
+ model?: string | undefined;
2721
2746
  voice?: {
2722
2747
  system?: string | Record<string, string> | undefined;
2723
2748
  provider?: "system" | "elevenlabs" | undefined;
@@ -2731,23 +2756,6 @@ declare const daemonConfigSchema: z.ZodObject<{
2731
2756
  rate?: number | undefined;
2732
2757
  hotkey?: string | undefined;
2733
2758
  } | undefined;
2734
- presence?: {
2735
- initial?: string | undefined;
2736
- label?: string | undefined;
2737
- color?: string | undefined;
2738
- palette?: string | undefined;
2739
- allowActions?: boolean | undefined;
2740
- } | undefined;
2741
- }, {
2742
- name: string;
2743
- workspace: string;
2744
- provider?: string | undefined;
2745
- model?: string | undefined;
2746
- tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
2747
- systemPrompt?: string | undefined;
2748
- mentions?: string[] | undefined;
2749
- intents?: string[] | undefined;
2750
- maxDelegationDepth?: number | undefined;
2751
2759
  mcp?: Record<string, {
2752
2760
  command: string;
2753
2761
  type?: "stdio" | undefined;
@@ -2758,6 +2766,17 @@ declare const daemonConfigSchema: z.ZodObject<{
2758
2766
  url: string;
2759
2767
  headers?: Record<string, string> | undefined;
2760
2768
  }> | undefined;
2769
+ heartbeat?: {
2770
+ enabled?: boolean | undefined;
2771
+ prompt?: string | undefined;
2772
+ channel?: string | undefined;
2773
+ intervalMinutes?: number | undefined;
2774
+ } | undefined;
2775
+ tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
2776
+ systemPrompt?: string | undefined;
2777
+ mentions?: string[] | undefined;
2778
+ intents?: string[] | undefined;
2779
+ maxDelegationDepth?: number | undefined;
2761
2780
  codegraph?: boolean | undefined;
2762
2781
  contextStrategy?: "layered" | "planner" | undefined;
2763
2782
  contextReferences?: boolean | undefined;
@@ -2772,12 +2791,6 @@ declare const daemonConfigSchema: z.ZodObject<{
2772
2791
  gitlabAutoReply?: boolean | undefined;
2773
2792
  persistentProcess?: boolean | undefined;
2774
2793
  queueMode?: "drop" | "collect" | "followup" | undefined;
2775
- heartbeat?: {
2776
- enabled?: boolean | undefined;
2777
- prompt?: string | undefined;
2778
- channel?: string | undefined;
2779
- intervalMinutes?: number | undefined;
2780
- } | undefined;
2781
2794
  access?: "private" | "public" | undefined;
2782
2795
  admin?: boolean | undefined;
2783
2796
  subscriptions?: {
@@ -2804,19 +2817,6 @@ declare const daemonConfigSchema: z.ZodObject<{
2804
2817
  } | undefined;
2805
2818
  metadata?: Record<string, string | number | boolean> | undefined;
2806
2819
  }[] | undefined;
2807
- voice?: {
2808
- system?: string | Record<string, string> | undefined;
2809
- provider?: "system" | "elevenlabs" | undefined;
2810
- style?: string | undefined;
2811
- priority?: "high" | "normal" | "low" | undefined;
2812
- fallbacks?: string[] | undefined;
2813
- elevenlabsVoiceId?: string | undefined;
2814
- gender?: "neutral" | "female" | "male" | undefined;
2815
- intro?: string | undefined;
2816
- narrate?: "all" | "on" | "off" | undefined;
2817
- rate?: number | undefined;
2818
- hotkey?: string | undefined;
2819
- } | undefined;
2820
2820
  presence?: {
2821
2821
  initial?: string | undefined;
2822
2822
  label?: string | undefined;
@@ -2960,6 +2960,7 @@ declare const daemonConfigSchema: z.ZodObject<{
2960
2960
  }, "strip", z.ZodTypeAny, {
2961
2961
  enabled: boolean;
2962
2962
  mode: "messages" | "metadata-only";
2963
+ retentionDays: number;
2963
2964
  allowContacts: string[];
2964
2965
  allowGroups: string[];
2965
2966
  denyContacts: string[];
@@ -2972,10 +2973,10 @@ declare const daemonConfigSchema: z.ZodObject<{
2972
2973
  maxCallsPerMinute: number;
2973
2974
  maxChatsPerSweep: number;
2974
2975
  };
2975
- retentionDays: number;
2976
2976
  }, {
2977
2977
  enabled?: boolean | undefined;
2978
2978
  mode?: "messages" | "metadata-only" | undefined;
2979
+ retentionDays?: number | undefined;
2979
2980
  allowContacts?: string[] | undefined;
2980
2981
  allowGroups?: string[] | undefined;
2981
2982
  denyContacts?: string[] | undefined;
@@ -2988,7 +2989,6 @@ declare const daemonConfigSchema: z.ZodObject<{
2988
2989
  maxCallsPerMinute?: number | undefined;
2989
2990
  maxChatsPerSweep?: number | undefined;
2990
2991
  } | undefined;
2991
- retentionDays?: number | undefined;
2992
2992
  }>>;
2993
2993
  }, "strip", z.ZodTypeAny, {
2994
2994
  enabled: boolean;
@@ -3001,6 +3001,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3001
3001
  ingest: {
3002
3002
  enabled: boolean;
3003
3003
  mode: "messages" | "metadata-only";
3004
+ retentionDays: number;
3004
3005
  allowContacts: string[];
3005
3006
  allowGroups: string[];
3006
3007
  denyContacts: string[];
@@ -3013,7 +3014,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3013
3014
  maxCallsPerMinute: number;
3014
3015
  maxChatsPerSweep: number;
3015
3016
  };
3016
- retentionDays: number;
3017
3017
  };
3018
3018
  allowFrom?: string[] | undefined;
3019
3019
  defaultAgent?: string | undefined;
@@ -3030,6 +3030,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3030
3030
  ingest?: {
3031
3031
  enabled?: boolean | undefined;
3032
3032
  mode?: "messages" | "metadata-only" | undefined;
3033
+ retentionDays?: number | undefined;
3033
3034
  allowContacts?: string[] | undefined;
3034
3035
  allowGroups?: string[] | undefined;
3035
3036
  denyContacts?: string[] | undefined;
@@ -3042,7 +3043,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3042
3043
  maxCallsPerMinute?: number | undefined;
3043
3044
  maxChatsPerSweep?: number | undefined;
3044
3045
  } | undefined;
3045
- retentionDays?: number | undefined;
3046
3046
  } | undefined;
3047
3047
  }>>;
3048
3048
  gitlab: z.ZodDefault<z.ZodObject<{
@@ -3454,6 +3454,18 @@ declare const daemonConfigSchema: z.ZodObject<{
3454
3454
  }>>;
3455
3455
  }, "strip", z.ZodTypeAny, {
3456
3456
  enabled: boolean;
3457
+ camera: {
3458
+ bot: {
3459
+ frameIntervalSeconds: number;
3460
+ maxSessionMinutes: number;
3461
+ maxFrameEdge: number;
3462
+ keepFrames: boolean;
3463
+ };
3464
+ width: number;
3465
+ height: number;
3466
+ frameRate: number;
3467
+ maxSeconds: number;
3468
+ };
3457
3469
  stunServers: string[];
3458
3470
  turnServers: {
3459
3471
  urls: string;
@@ -3480,21 +3492,21 @@ declare const daemonConfigSchema: z.ZodObject<{
3480
3492
  accountId?: string | undefined;
3481
3493
  } | undefined;
3482
3494
  };
3483
- camera: {
3484
- bot: {
3485
- frameIntervalSeconds: number;
3486
- maxSessionMinutes: number;
3487
- maxFrameEdge: number;
3488
- keepFrames: boolean;
3489
- };
3490
- width: number;
3491
- height: number;
3492
- frameRate: number;
3493
- maxSeconds: number;
3494
- };
3495
3495
  callUrlBase?: string | undefined;
3496
3496
  }, {
3497
3497
  enabled?: boolean | undefined;
3498
+ camera?: {
3499
+ bot?: {
3500
+ frameIntervalSeconds?: number | undefined;
3501
+ maxSessionMinutes?: number | undefined;
3502
+ maxFrameEdge?: number | undefined;
3503
+ keepFrames?: boolean | undefined;
3504
+ } | undefined;
3505
+ width?: number | undefined;
3506
+ height?: number | undefined;
3507
+ frameRate?: number | undefined;
3508
+ maxSeconds?: number | undefined;
3509
+ } | undefined;
3498
3510
  stunServers?: string[] | undefined;
3499
3511
  turnServers?: {
3500
3512
  urls: string;
@@ -3522,18 +3534,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3522
3534
  } | undefined;
3523
3535
  maxCallMinutes?: number | undefined;
3524
3536
  } | undefined;
3525
- camera?: {
3526
- bot?: {
3527
- frameIntervalSeconds?: number | undefined;
3528
- maxSessionMinutes?: number | undefined;
3529
- maxFrameEdge?: number | undefined;
3530
- keepFrames?: boolean | undefined;
3531
- } | undefined;
3532
- width?: number | undefined;
3533
- height?: number | undefined;
3534
- frameRate?: number | undefined;
3535
- maxSeconds?: number | undefined;
3536
- } | undefined;
3537
3537
  }>>;
3538
3538
  }, "strip", z.ZodTypeAny, {
3539
3539
  push: {
@@ -3565,6 +3565,20 @@ declare const daemonConfigSchema: z.ZodObject<{
3565
3565
  token?: string | undefined;
3566
3566
  webhookSecret?: string | undefined;
3567
3567
  };
3568
+ telegram: {
3569
+ enabled: boolean;
3570
+ accounts: Record<string, {
3571
+ token: string;
3572
+ agentBinding: string;
3573
+ pollInbound: boolean;
3574
+ allowFrom?: string[] | undefined;
3575
+ }>;
3576
+ policy: {
3577
+ group: "all" | "mention-required";
3578
+ dm: "block" | "pair";
3579
+ allowFrom?: string[] | undefined;
3580
+ };
3581
+ };
3568
3582
  whatsapp: {
3569
3583
  enabled: boolean;
3570
3584
  sessionDir: string;
@@ -3576,6 +3590,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3576
3590
  ingest: {
3577
3591
  enabled: boolean;
3578
3592
  mode: "messages" | "metadata-only";
3593
+ retentionDays: number;
3579
3594
  allowContacts: string[];
3580
3595
  allowGroups: string[];
3581
3596
  denyContacts: string[];
@@ -3588,26 +3603,11 @@ declare const daemonConfigSchema: z.ZodObject<{
3588
3603
  maxCallsPerMinute: number;
3589
3604
  maxChatsPerSweep: number;
3590
3605
  };
3591
- retentionDays: number;
3592
3606
  };
3593
3607
  allowFrom?: string[] | undefined;
3594
3608
  defaultAgent?: string | undefined;
3595
3609
  };
3596
- telegram: {
3597
- enabled: boolean;
3598
- accounts: Record<string, {
3599
- token: string;
3600
- agentBinding: string;
3601
- pollInbound: boolean;
3602
- allowFrom?: string[] | undefined;
3603
- }>;
3604
- policy: {
3605
- group: "all" | "mention-required";
3606
- dm: "block" | "pair";
3607
- allowFrom?: string[] | undefined;
3608
- };
3609
- };
3610
- github: {
3610
+ github: {
3611
3611
  enabled: boolean;
3612
3612
  routes: {
3613
3613
  agent: string;
@@ -3628,16 +3628,20 @@ declare const daemonConfigSchema: z.ZodObject<{
3628
3628
  clientId?: string | undefined;
3629
3629
  privateKeyFile?: string | undefined;
3630
3630
  };
3631
- ntfy: {
3632
- enabled: boolean;
3633
- server: string;
3634
- defaultPriority: number;
3635
- token?: string | undefined;
3636
- topic?: string | undefined;
3637
- defaultTitle?: string | undefined;
3638
- };
3639
3631
  webrtc: {
3640
3632
  enabled: boolean;
3633
+ camera: {
3634
+ bot: {
3635
+ frameIntervalSeconds: number;
3636
+ maxSessionMinutes: number;
3637
+ maxFrameEdge: number;
3638
+ keepFrames: boolean;
3639
+ };
3640
+ width: number;
3641
+ height: number;
3642
+ frameRate: number;
3643
+ maxSeconds: number;
3644
+ };
3641
3645
  stunServers: string[];
3642
3646
  turnServers: {
3643
3647
  urls: string;
@@ -3664,20 +3668,16 @@ declare const daemonConfigSchema: z.ZodObject<{
3664
3668
  accountId?: string | undefined;
3665
3669
  } | undefined;
3666
3670
  };
3667
- camera: {
3668
- bot: {
3669
- frameIntervalSeconds: number;
3670
- maxSessionMinutes: number;
3671
- maxFrameEdge: number;
3672
- keepFrames: boolean;
3673
- };
3674
- width: number;
3675
- height: number;
3676
- frameRate: number;
3677
- maxSeconds: number;
3678
- };
3679
3671
  callUrlBase?: string | undefined;
3680
3672
  };
3673
+ ntfy: {
3674
+ enabled: boolean;
3675
+ server: string;
3676
+ defaultPriority: number;
3677
+ token?: string | undefined;
3678
+ topic?: string | undefined;
3679
+ defaultTitle?: string | undefined;
3680
+ };
3681
3681
  }, {
3682
3682
  push?: {
3683
3683
  enabled?: boolean | undefined;
@@ -3708,6 +3708,20 @@ declare const daemonConfigSchema: z.ZodObject<{
3708
3708
  }[] | undefined;
3709
3709
  agentUsernamePrefixes?: string[] | undefined;
3710
3710
  } | undefined;
3711
+ telegram?: {
3712
+ enabled?: boolean | undefined;
3713
+ accounts?: Record<string, {
3714
+ token: string;
3715
+ agentBinding: string;
3716
+ allowFrom?: string[] | undefined;
3717
+ pollInbound?: boolean | undefined;
3718
+ }> | undefined;
3719
+ policy?: {
3720
+ group?: "all" | "mention-required" | undefined;
3721
+ allowFrom?: string[] | undefined;
3722
+ dm?: "block" | "pair" | undefined;
3723
+ } | undefined;
3724
+ } | undefined;
3711
3725
  whatsapp?: {
3712
3726
  enabled?: boolean | undefined;
3713
3727
  sessionDir?: string | undefined;
@@ -3721,6 +3735,7 @@ declare const daemonConfigSchema: z.ZodObject<{
3721
3735
  ingest?: {
3722
3736
  enabled?: boolean | undefined;
3723
3737
  mode?: "messages" | "metadata-only" | undefined;
3738
+ retentionDays?: number | undefined;
3724
3739
  allowContacts?: string[] | undefined;
3725
3740
  allowGroups?: string[] | undefined;
3726
3741
  denyContacts?: string[] | undefined;
@@ -3733,21 +3748,6 @@ declare const daemonConfigSchema: z.ZodObject<{
3733
3748
  maxCallsPerMinute?: number | undefined;
3734
3749
  maxChatsPerSweep?: number | undefined;
3735
3750
  } | undefined;
3736
- retentionDays?: number | undefined;
3737
- } | undefined;
3738
- } | undefined;
3739
- telegram?: {
3740
- enabled?: boolean | undefined;
3741
- accounts?: Record<string, {
3742
- token: string;
3743
- agentBinding: string;
3744
- allowFrom?: string[] | undefined;
3745
- pollInbound?: boolean | undefined;
3746
- }> | undefined;
3747
- policy?: {
3748
- group?: "all" | "mention-required" | undefined;
3749
- allowFrom?: string[] | undefined;
3750
- dm?: "block" | "pair" | undefined;
3751
3751
  } | undefined;
3752
3752
  } | undefined;
3753
3753
  github?: {
@@ -3771,16 +3771,20 @@ declare const daemonConfigSchema: z.ZodObject<{
3771
3771
  clientId?: string | undefined;
3772
3772
  privateKeyFile?: string | undefined;
3773
3773
  } | undefined;
3774
- ntfy?: {
3775
- enabled?: boolean | undefined;
3776
- token?: string | undefined;
3777
- server?: string | undefined;
3778
- topic?: string | undefined;
3779
- defaultPriority?: number | undefined;
3780
- defaultTitle?: string | undefined;
3781
- } | undefined;
3782
3774
  webrtc?: {
3783
3775
  enabled?: boolean | undefined;
3776
+ camera?: {
3777
+ bot?: {
3778
+ frameIntervalSeconds?: number | undefined;
3779
+ maxSessionMinutes?: number | undefined;
3780
+ maxFrameEdge?: number | undefined;
3781
+ keepFrames?: boolean | undefined;
3782
+ } | undefined;
3783
+ width?: number | undefined;
3784
+ height?: number | undefined;
3785
+ frameRate?: number | undefined;
3786
+ maxSeconds?: number | undefined;
3787
+ } | undefined;
3784
3788
  stunServers?: string[] | undefined;
3785
3789
  turnServers?: {
3786
3790
  urls: string;
@@ -3808,18 +3812,14 @@ declare const daemonConfigSchema: z.ZodObject<{
3808
3812
  } | undefined;
3809
3813
  maxCallMinutes?: number | undefined;
3810
3814
  } | undefined;
3811
- camera?: {
3812
- bot?: {
3813
- frameIntervalSeconds?: number | undefined;
3814
- maxSessionMinutes?: number | undefined;
3815
- maxFrameEdge?: number | undefined;
3816
- keepFrames?: boolean | undefined;
3817
- } | undefined;
3818
- width?: number | undefined;
3819
- height?: number | undefined;
3820
- frameRate?: number | undefined;
3821
- maxSeconds?: number | undefined;
3822
- } | undefined;
3815
+ } | undefined;
3816
+ ntfy?: {
3817
+ enabled?: boolean | undefined;
3818
+ token?: string | undefined;
3819
+ server?: string | undefined;
3820
+ topic?: string | undefined;
3821
+ defaultPriority?: number | undefined;
3822
+ defaultTitle?: string | undefined;
3823
3823
  } | undefined;
3824
3824
  }>>;
3825
3825
  crons: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -4685,9 +4685,9 @@ declare const daemonConfigSchema: z.ZodObject<{
4685
4685
  * dashboard, webrtc). */
4686
4686
  channels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4687
4687
  /** Who counts as the owner on channels other people can reach, as
4688
- * "channel:id" with the sender id or username on that channel. Display
4689
- * names are not matched. Empty: only this node's own surfaces (voice,
4690
- * app, dashboard, webrtc) are captured. */
4688
+ * "channel:id": the login on GitLab and GitHub, the sender id elsewhere.
4689
+ * Usernames beside an id and display names are not matched. Empty: only
4690
+ * this node's own surfaces (voice, app, dashboard, webrtc) are captured. */
4691
4691
  from: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4692
4692
  /** An open request with no activity for this long comes back to the owner. */
4693
4693
  staleAfterHours: z.ZodDefault<z.ZodNumber>;
@@ -4696,15 +4696,55 @@ declare const daemonConfigSchema: z.ZodObject<{
4696
4696
  }, "strip", z.ZodTypeAny, {
4697
4697
  enabled: boolean;
4698
4698
  from: string[];
4699
- retentionDays: number;
4700
4699
  channels: string[];
4701
4700
  staleAfterHours: number;
4701
+ retentionDays: number;
4702
4702
  }, {
4703
4703
  enabled?: boolean | undefined;
4704
4704
  from?: string[] | undefined;
4705
- retentionDays?: number | undefined;
4706
4705
  channels?: string[] | undefined;
4707
4706
  staleAfterHours?: number | undefined;
4707
+ retentionDays?: number | undefined;
4708
+ }>>;
4709
+ people: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
4710
+ id: z.ZodString;
4711
+ name: z.ZodString;
4712
+ role: z.ZodDefault<z.ZodEnum<["owner", "member", "guest"]>>;
4713
+ /** "channel:id": a GitLab or GitHub login, a Telegram id or username, a
4714
+ * WhatsApp number. Display names are not matched. */
4715
+ identities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4716
+ }, "strip", z.ZodTypeAny, {
4717
+ id: string;
4718
+ name: string;
4719
+ role: "owner" | "member" | "guest";
4720
+ identities: string[];
4721
+ }, {
4722
+ id: string;
4723
+ name: string;
4724
+ role?: "owner" | "member" | "guest" | undefined;
4725
+ identities?: string[] | undefined;
4726
+ }>, "many">>, {
4727
+ id: string;
4728
+ name: string;
4729
+ role: "owner" | "member" | "guest";
4730
+ identities: string[];
4731
+ }[], {
4732
+ id: string;
4733
+ name: string;
4734
+ role?: "owner" | "member" | "guest" | undefined;
4735
+ identities?: string[] | undefined;
4736
+ }[] | undefined>;
4737
+ /** Request status where the request was made (src/requests/status-board,
4738
+ * #383): each person sees the state of their own request in the place
4739
+ * they asked. Off by default. */
4740
+ requestStatus: z.ZodDefault<z.ZodObject<{
4741
+ /** Channels that show it. On gitlab and github: one comment per request,
4742
+ * kept up to date by the daemon. Empty: off. */
4743
+ channels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4744
+ }, "strip", z.ZodTypeAny, {
4745
+ channels: string[];
4746
+ }, {
4747
+ channels?: string[] | undefined;
4708
4748
  }>>;
4709
4749
  /** Hand due Apple Reminders back to the agent that created them
4710
4750
  * (src/reminders). macOS only; reads reminders whose notes end with the
@@ -4911,6 +4951,10 @@ declare const daemonConfigSchema: z.ZodObject<{
4911
4951
  }>>;
4912
4952
  }, "strip", z.ZodTypeAny, {
4913
4953
  enabled: boolean;
4954
+ delegation: {
4955
+ asyncWhenHuman: boolean;
4956
+ timeoutMinutes: number;
4957
+ };
4914
4958
  peers: {
4915
4959
  name: string;
4916
4960
  url: string;
@@ -4930,12 +4974,12 @@ declare const daemonConfigSchema: z.ZodObject<{
4930
4974
  enabled: boolean;
4931
4975
  skipTypes: string[];
4932
4976
  };
4933
- delegation: {
4934
- asyncWhenHuman: boolean;
4935
- timeoutMinutes: number;
4936
- };
4937
4977
  }, {
4938
4978
  enabled?: boolean | undefined;
4979
+ delegation?: {
4980
+ asyncWhenHuman?: boolean | undefined;
4981
+ timeoutMinutes?: number | undefined;
4982
+ } | undefined;
4939
4983
  peers?: {
4940
4984
  name: string;
4941
4985
  url: string;
@@ -4955,10 +4999,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4955
4999
  enabled?: boolean | undefined;
4956
5000
  skipTypes?: string[] | undefined;
4957
5001
  } | undefined;
4958
- delegation?: {
4959
- asyncWhenHuman?: boolean | undefined;
4960
- timeoutMinutes?: number | undefined;
4961
- } | undefined;
4962
5002
  }>>;
4963
5003
  /** Voices for agents on mesh peers, keyed by remote agent id, or by
4964
5004
  * "<peer>/<id>" for one peer's agent (it wins over the id). The Mac
@@ -5949,9 +5989,9 @@ declare const daemonConfigSchema: z.ZodObject<{
5949
5989
  temperature?: number | undefined;
5950
5990
  backend?: string | undefined;
5951
5991
  mode?: "active" | "off" | "shadow" | undefined;
5992
+ holdout?: number | undefined;
5952
5993
  timeoutMs?: number | undefined;
5953
5994
  explore?: number | undefined;
5954
- holdout?: number | undefined;
5955
5995
  }>>>>;
5956
5996
  /** Model routing driven by the task-tier seat. Models are scoped to their
5957
5997
  * CLI engine; the legacy cheapModel applies only to Claude Code. */
@@ -6085,9 +6125,9 @@ declare const daemonConfigSchema: z.ZodObject<{
6085
6125
  temperature?: number | undefined;
6086
6126
  backend?: string | undefined;
6087
6127
  mode?: "active" | "off" | "shadow" | undefined;
6128
+ holdout?: number | undefined;
6088
6129
  timeoutMs?: number | undefined;
6089
6130
  explore?: number | undefined;
6090
- holdout?: number | undefined;
6091
6131
  } | undefined> | undefined;
6092
6132
  routing?: {
6093
6133
  cheapModel?: string | undefined;
@@ -6399,6 +6439,12 @@ declare const daemonConfigSchema: z.ZodObject<{
6399
6439
  };
6400
6440
  agents: Record<string, {
6401
6441
  name: string;
6442
+ heartbeat: {
6443
+ enabled: boolean;
6444
+ prompt: string;
6445
+ channel: string;
6446
+ intervalMinutes: number;
6447
+ };
6402
6448
  workspace: string;
6403
6449
  tier: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator";
6404
6450
  mentions: string[];
@@ -6415,12 +6461,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6415
6461
  toolUseRequired: string[];
6416
6462
  persistentProcess: boolean;
6417
6463
  queueMode: "drop" | "collect" | "followup";
6418
- heartbeat: {
6419
- enabled: boolean;
6420
- prompt: string;
6421
- channel: string;
6422
- intervalMinutes: number;
6423
- };
6424
6464
  access: "private" | "public";
6425
6465
  subscriptions: {
6426
6466
  kinds: string[];
@@ -6448,7 +6488,19 @@ declare const daemonConfigSchema: z.ZodObject<{
6448
6488
  }[];
6449
6489
  provider?: string | undefined;
6450
6490
  model?: string | undefined;
6451
- systemPrompt?: string | undefined;
6491
+ voice?: {
6492
+ system?: string | Record<string, string> | undefined;
6493
+ provider?: "system" | "elevenlabs" | undefined;
6494
+ style?: string | undefined;
6495
+ priority?: "high" | "normal" | "low" | undefined;
6496
+ fallbacks?: string[] | undefined;
6497
+ elevenlabsVoiceId?: string | undefined;
6498
+ gender?: "neutral" | "female" | "male" | undefined;
6499
+ intro?: string | undefined;
6500
+ narrate?: "all" | "on" | "off" | undefined;
6501
+ rate?: number | undefined;
6502
+ hotkey?: string | undefined;
6503
+ } | undefined;
6452
6504
  mcp?: Record<string, {
6453
6505
  command: string;
6454
6506
  args: string[];
@@ -6459,23 +6511,11 @@ declare const daemonConfigSchema: z.ZodObject<{
6459
6511
  url: string;
6460
6512
  headers?: Record<string, string> | undefined;
6461
6513
  }> | undefined;
6514
+ systemPrompt?: string | undefined;
6462
6515
  contextStrategy?: "layered" | "planner" | undefined;
6463
6516
  drainTimeoutSeconds?: number | undefined;
6464
6517
  gitlabAutoReply?: boolean | undefined;
6465
6518
  admin?: boolean | undefined;
6466
- voice?: {
6467
- system?: string | Record<string, string> | undefined;
6468
- provider?: "system" | "elevenlabs" | undefined;
6469
- style?: string | undefined;
6470
- priority?: "high" | "normal" | "low" | undefined;
6471
- fallbacks?: string[] | undefined;
6472
- elevenlabsVoiceId?: string | undefined;
6473
- gender?: "neutral" | "female" | "male" | undefined;
6474
- intro?: string | undefined;
6475
- narrate?: "all" | "on" | "off" | undefined;
6476
- rate?: number | undefined;
6477
- hotkey?: string | undefined;
6478
- } | undefined;
6479
6519
  presence?: {
6480
6520
  initial?: string | undefined;
6481
6521
  label?: string | undefined;
@@ -6497,6 +6537,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6497
6537
  };
6498
6538
  mesh: {
6499
6539
  enabled: boolean;
6540
+ delegation: {
6541
+ asyncWhenHuman: boolean;
6542
+ timeoutMinutes: number;
6543
+ };
6500
6544
  peers: {
6501
6545
  name: string;
6502
6546
  url: string;
@@ -6516,10 +6560,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6516
6560
  enabled: boolean;
6517
6561
  skipTypes: string[];
6518
6562
  };
6519
- delegation: {
6520
- asyncWhenHuman: boolean;
6521
- timeoutMinutes: number;
6522
- };
6523
6563
  };
6524
6564
  voice: {
6525
6565
  provider: "system" | "elevenlabs";
@@ -6542,47 +6582,33 @@ declare const daemonConfigSchema: z.ZodObject<{
6542
6582
  system?: string | Record<string, string> | undefined;
6543
6583
  listener?: string | undefined;
6544
6584
  };
6545
- node: {
6546
- id: string;
6547
- name: string;
6585
+ dashboard: {
6586
+ enabled: boolean;
6587
+ port: number;
6548
6588
  bind: string;
6549
- defaultAgent?: string | undefined;
6589
+ daemonUrl: string;
6590
+ daemons: {
6591
+ name: string;
6592
+ url: string;
6593
+ token?: string | undefined;
6594
+ dashboardUrl?: string | undefined;
6595
+ dashboardToken?: string | undefined;
6596
+ }[];
6597
+ token?: string | undefined;
6598
+ draftAgent?: string | undefined;
6550
6599
  };
6551
- graph: {
6600
+ events: {
6601
+ ringSize: number;
6602
+ };
6603
+ requests: {
6552
6604
  enabled: boolean;
6553
- baseDir: string;
6554
- autoApproveStructure: "any" | "strict" | "extend-leaves";
6555
- autoApproveConfidence: number;
6556
- classifierModel: string;
6557
- retrievalWeights: {
6558
- graph: number;
6559
- bm25: number;
6560
- };
6561
- draftAgent?: string | undefined;
6562
- reviewAgent?: string | undefined;
6605
+ from: string[];
6606
+ channels: string[];
6607
+ staleAfterHours: number;
6608
+ retentionDays: number;
6563
6609
  };
6564
- screen: {
6565
- timeoutMs: number;
6566
- maxPixels: number;
6567
- intervalMs: number;
6568
- changeThreshold: number;
6569
- stableMs: number;
6570
- regions: Record<string, {
6571
- width: number;
6572
- height: number;
6573
- x: number;
6574
- y: number;
6575
- }>;
6576
- buffer: {
6577
- enabled: boolean;
6578
- maxPixels: number;
6579
- seconds: number;
6580
- fps: number;
6581
- region: string;
6582
- };
6583
- };
6584
- channels: {
6585
- push: {
6610
+ channels: {
6611
+ push: {
6586
6612
  enabled: boolean;
6587
6613
  keysFile: string;
6588
6614
  ttlSeconds: number;
@@ -6611,6 +6637,20 @@ declare const daemonConfigSchema: z.ZodObject<{
6611
6637
  token?: string | undefined;
6612
6638
  webhookSecret?: string | undefined;
6613
6639
  };
6640
+ telegram: {
6641
+ enabled: boolean;
6642
+ accounts: Record<string, {
6643
+ token: string;
6644
+ agentBinding: string;
6645
+ pollInbound: boolean;
6646
+ allowFrom?: string[] | undefined;
6647
+ }>;
6648
+ policy: {
6649
+ group: "all" | "mention-required";
6650
+ dm: "block" | "pair";
6651
+ allowFrom?: string[] | undefined;
6652
+ };
6653
+ };
6614
6654
  whatsapp: {
6615
6655
  enabled: boolean;
6616
6656
  sessionDir: string;
@@ -6622,6 +6662,7 @@ declare const daemonConfigSchema: z.ZodObject<{
6622
6662
  ingest: {
6623
6663
  enabled: boolean;
6624
6664
  mode: "messages" | "metadata-only";
6665
+ retentionDays: number;
6625
6666
  allowContacts: string[];
6626
6667
  allowGroups: string[];
6627
6668
  denyContacts: string[];
@@ -6634,25 +6675,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6634
6675
  maxCallsPerMinute: number;
6635
6676
  maxChatsPerSweep: number;
6636
6677
  };
6637
- retentionDays: number;
6638
6678
  };
6639
6679
  allowFrom?: string[] | undefined;
6640
6680
  defaultAgent?: string | undefined;
6641
6681
  };
6642
- telegram: {
6643
- enabled: boolean;
6644
- accounts: Record<string, {
6645
- token: string;
6646
- agentBinding: string;
6647
- pollInbound: boolean;
6648
- allowFrom?: string[] | undefined;
6649
- }>;
6650
- policy: {
6651
- group: "all" | "mention-required";
6652
- dm: "block" | "pair";
6653
- allowFrom?: string[] | undefined;
6654
- };
6655
- };
6656
6682
  github: {
6657
6683
  enabled: boolean;
6658
6684
  routes: {
@@ -6674,16 +6700,20 @@ declare const daemonConfigSchema: z.ZodObject<{
6674
6700
  clientId?: string | undefined;
6675
6701
  privateKeyFile?: string | undefined;
6676
6702
  };
6677
- ntfy: {
6678
- enabled: boolean;
6679
- server: string;
6680
- defaultPriority: number;
6681
- token?: string | undefined;
6682
- topic?: string | undefined;
6683
- defaultTitle?: string | undefined;
6684
- };
6685
6703
  webrtc: {
6686
6704
  enabled: boolean;
6705
+ camera: {
6706
+ bot: {
6707
+ frameIntervalSeconds: number;
6708
+ maxSessionMinutes: number;
6709
+ maxFrameEdge: number;
6710
+ keepFrames: boolean;
6711
+ };
6712
+ width: number;
6713
+ height: number;
6714
+ frameRate: number;
6715
+ maxSeconds: number;
6716
+ };
6687
6717
  stunServers: string[];
6688
6718
  turnServers: {
6689
6719
  urls: string;
@@ -6710,20 +6740,55 @@ declare const daemonConfigSchema: z.ZodObject<{
6710
6740
  accountId?: string | undefined;
6711
6741
  } | undefined;
6712
6742
  };
6713
- camera: {
6714
- bot: {
6715
- frameIntervalSeconds: number;
6716
- maxSessionMinutes: number;
6717
- maxFrameEdge: number;
6718
- keepFrames: boolean;
6719
- };
6720
- width: number;
6721
- height: number;
6722
- frameRate: number;
6723
- maxSeconds: number;
6724
- };
6725
6743
  callUrlBase?: string | undefined;
6726
6744
  };
6745
+ ntfy: {
6746
+ enabled: boolean;
6747
+ server: string;
6748
+ defaultPriority: number;
6749
+ token?: string | undefined;
6750
+ topic?: string | undefined;
6751
+ defaultTitle?: string | undefined;
6752
+ };
6753
+ };
6754
+ node: {
6755
+ id: string;
6756
+ name: string;
6757
+ bind: string;
6758
+ defaultAgent?: string | undefined;
6759
+ };
6760
+ graph: {
6761
+ enabled: boolean;
6762
+ baseDir: string;
6763
+ autoApproveStructure: "any" | "strict" | "extend-leaves";
6764
+ autoApproveConfidence: number;
6765
+ classifierModel: string;
6766
+ retrievalWeights: {
6767
+ graph: number;
6768
+ bm25: number;
6769
+ };
6770
+ draftAgent?: string | undefined;
6771
+ reviewAgent?: string | undefined;
6772
+ };
6773
+ screen: {
6774
+ timeoutMs: number;
6775
+ maxPixels: number;
6776
+ intervalMs: number;
6777
+ changeThreshold: number;
6778
+ stableMs: number;
6779
+ regions: Record<string, {
6780
+ width: number;
6781
+ height: number;
6782
+ x: number;
6783
+ y: number;
6784
+ }>;
6785
+ buffer: {
6786
+ enabled: boolean;
6787
+ maxPixels: number;
6788
+ seconds: number;
6789
+ fps: number;
6790
+ region: string;
6791
+ };
6727
6792
  };
6728
6793
  providers: Record<string, {
6729
6794
  apiKey?: string | undefined;
@@ -6874,12 +6939,14 @@ declare const daemonConfigSchema: z.ZodObject<{
6874
6939
  };
6875
6940
  drainTimeoutSeconds?: number | undefined;
6876
6941
  };
6877
- requests: {
6878
- enabled: boolean;
6879
- from: string[];
6880
- retentionDays: number;
6942
+ people: {
6943
+ id: string;
6944
+ name: string;
6945
+ role: "owner" | "member" | "guest";
6946
+ identities: string[];
6947
+ }[];
6948
+ requestStatus: {
6881
6949
  channels: string[];
6882
- staleAfterHours: number;
6883
6950
  };
6884
6951
  reminders: {
6885
6952
  enabled: boolean;
@@ -6888,9 +6955,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6888
6955
  pollSeconds: number;
6889
6956
  lookbackHours: number;
6890
6957
  };
6891
- events: {
6892
- ringSize: number;
6893
- };
6894
6958
  meshVoices: Record<string, {
6895
6959
  system?: string | Record<string, string> | undefined;
6896
6960
  provider?: "system" | "elevenlabs" | undefined;
@@ -6934,21 +6998,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6934
6998
  };
6935
6999
  primaryToolLabel?: string | undefined;
6936
7000
  }[];
6937
- dashboard: {
6938
- enabled: boolean;
6939
- port: number;
6940
- bind: string;
6941
- daemonUrl: string;
6942
- daemons: {
6943
- name: string;
6944
- url: string;
6945
- token?: string | undefined;
6946
- dashboardUrl?: string | undefined;
6947
- dashboardToken?: string | undefined;
6948
- }[];
6949
- token?: string | undefined;
6950
- draftAgent?: string | undefined;
6951
- };
6952
7001
  decisions: {
6953
7002
  enabled: boolean;
6954
7003
  dbPath: string;
@@ -7149,11 +7198,19 @@ declare const daemonConfigSchema: z.ZodObject<{
7149
7198
  workspace: string;
7150
7199
  provider?: string | undefined;
7151
7200
  model?: string | undefined;
7152
- tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
7153
- systemPrompt?: string | undefined;
7154
- mentions?: string[] | undefined;
7155
- intents?: string[] | undefined;
7156
- maxDelegationDepth?: number | undefined;
7201
+ voice?: {
7202
+ system?: string | Record<string, string> | undefined;
7203
+ provider?: "system" | "elevenlabs" | undefined;
7204
+ style?: string | undefined;
7205
+ priority?: "high" | "normal" | "low" | undefined;
7206
+ fallbacks?: string[] | undefined;
7207
+ elevenlabsVoiceId?: string | undefined;
7208
+ gender?: "neutral" | "female" | "male" | undefined;
7209
+ intro?: string | undefined;
7210
+ narrate?: "all" | "on" | "off" | undefined;
7211
+ rate?: number | undefined;
7212
+ hotkey?: string | undefined;
7213
+ } | undefined;
7157
7214
  mcp?: Record<string, {
7158
7215
  command: string;
7159
7216
  type?: "stdio" | undefined;
@@ -7164,6 +7221,17 @@ declare const daemonConfigSchema: z.ZodObject<{
7164
7221
  url: string;
7165
7222
  headers?: Record<string, string> | undefined;
7166
7223
  }> | undefined;
7224
+ heartbeat?: {
7225
+ enabled?: boolean | undefined;
7226
+ prompt?: string | undefined;
7227
+ channel?: string | undefined;
7228
+ intervalMinutes?: number | undefined;
7229
+ } | undefined;
7230
+ tier?: "claude-code" | "codex-cli" | "opencode" | "sdk" | "orchestrator" | undefined;
7231
+ systemPrompt?: string | undefined;
7232
+ mentions?: string[] | undefined;
7233
+ intents?: string[] | undefined;
7234
+ maxDelegationDepth?: number | undefined;
7167
7235
  codegraph?: boolean | undefined;
7168
7236
  contextStrategy?: "layered" | "planner" | undefined;
7169
7237
  contextReferences?: boolean | undefined;
@@ -7178,12 +7246,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7178
7246
  gitlabAutoReply?: boolean | undefined;
7179
7247
  persistentProcess?: boolean | undefined;
7180
7248
  queueMode?: "drop" | "collect" | "followup" | undefined;
7181
- heartbeat?: {
7182
- enabled?: boolean | undefined;
7183
- prompt?: string | undefined;
7184
- channel?: string | undefined;
7185
- intervalMinutes?: number | undefined;
7186
- } | undefined;
7187
7249
  access?: "private" | "public" | undefined;
7188
7250
  admin?: boolean | undefined;
7189
7251
  subscriptions?: {
@@ -7210,19 +7272,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7210
7272
  } | undefined;
7211
7273
  metadata?: Record<string, string | number | boolean> | undefined;
7212
7274
  }[] | undefined;
7213
- voice?: {
7214
- system?: string | Record<string, string> | undefined;
7215
- provider?: "system" | "elevenlabs" | undefined;
7216
- style?: string | undefined;
7217
- priority?: "high" | "normal" | "low" | undefined;
7218
- fallbacks?: string[] | undefined;
7219
- elevenlabsVoiceId?: string | undefined;
7220
- gender?: "neutral" | "female" | "male" | undefined;
7221
- intro?: string | undefined;
7222
- narrate?: "all" | "on" | "off" | undefined;
7223
- rate?: number | undefined;
7224
- hotkey?: string | undefined;
7225
- } | undefined;
7226
7275
  presence?: {
7227
7276
  initial?: string | undefined;
7228
7277
  label?: string | undefined;
@@ -7244,6 +7293,10 @@ declare const daemonConfigSchema: z.ZodObject<{
7244
7293
  } | undefined;
7245
7294
  mesh?: {
7246
7295
  enabled?: boolean | undefined;
7296
+ delegation?: {
7297
+ asyncWhenHuman?: boolean | undefined;
7298
+ timeoutMinutes?: number | undefined;
7299
+ } | undefined;
7247
7300
  peers?: {
7248
7301
  name: string;
7249
7302
  url: string;
@@ -7263,10 +7316,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7263
7316
  enabled?: boolean | undefined;
7264
7317
  skipTypes?: string[] | undefined;
7265
7318
  } | undefined;
7266
- delegation?: {
7267
- asyncWhenHuman?: boolean | undefined;
7268
- timeoutMinutes?: number | undefined;
7269
- } | undefined;
7270
7319
  } | undefined;
7271
7320
  voice?: {
7272
7321
  system?: string | Record<string, string> | undefined;
@@ -7289,39 +7338,99 @@ declare const daemonConfigSchema: z.ZodObject<{
7289
7338
  paste?: string | undefined;
7290
7339
  } | undefined;
7291
7340
  } | undefined;
7292
- graph?: {
7341
+ dashboard?: {
7293
7342
  enabled?: boolean | undefined;
7343
+ token?: string | undefined;
7344
+ port?: number | undefined;
7345
+ bind?: string | undefined;
7346
+ daemonUrl?: string | undefined;
7347
+ daemons?: {
7348
+ name: string;
7349
+ url: string;
7350
+ token?: string | undefined;
7351
+ dashboardUrl?: string | undefined;
7352
+ dashboardToken?: string | undefined;
7353
+ }[] | undefined;
7294
7354
  draftAgent?: string | undefined;
7295
- baseDir?: string | undefined;
7296
- reviewAgent?: string | undefined;
7297
- autoApproveStructure?: "any" | "strict" | "extend-leaves" | undefined;
7298
- autoApproveConfidence?: number | undefined;
7299
- classifierModel?: string | undefined;
7300
- retrievalWeights?: {
7301
- graph?: number | undefined;
7302
- bm25?: number | undefined;
7303
- } | undefined;
7304
7355
  } | undefined;
7305
- screen?: {
7306
- timeoutMs?: number | undefined;
7307
- maxPixels?: number | undefined;
7308
- intervalMs?: number | undefined;
7309
- changeThreshold?: number | undefined;
7310
- stableMs?: number | undefined;
7311
- regions?: Record<string, {
7312
- width: number;
7313
- height: number;
7314
- x: number;
7315
- y: number;
7356
+ events?: {
7357
+ ringSize?: number | undefined;
7358
+ } | undefined;
7359
+ business?: {
7360
+ mainChannel: {
7361
+ channel: string;
7362
+ chatId: string;
7363
+ accountId?: string | undefined;
7364
+ };
7365
+ workSource: {
7366
+ type: "backlog";
7367
+ path?: string | undefined;
7368
+ } | {
7369
+ type: "gitlab";
7370
+ projects?: string[] | undefined;
7371
+ } | {
7372
+ path: string;
7373
+ type: "wiki";
7374
+ glob?: string | undefined;
7375
+ };
7376
+ enabled?: boolean | undefined;
7377
+ projects?: {
7378
+ id: string;
7379
+ pm?: string | undefined;
7380
+ client?: string | undefined;
7381
+ }[] | undefined;
7382
+ timezone?: string | undefined;
7383
+ roles?: Record<string, {
7384
+ title: string;
7385
+ responsibilities?: string[] | undefined;
7386
+ sopPath?: string | undefined;
7387
+ kpis?: string[] | undefined;
7388
+ }> | undefined;
7389
+ orgChart?: Record<string, {
7390
+ role: string;
7391
+ schedule: {
7392
+ end: string;
7393
+ start: string;
7394
+ days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
7395
+ lunch?: {
7396
+ end: string;
7397
+ start: string;
7398
+ } | undefined;
7399
+ };
7400
+ reportsTo?: string | undefined;
7401
+ utilizationTarget?: number | undefined;
7316
7402
  }> | undefined;
7317
- buffer?: {
7403
+ contactMap?: {
7404
+ client: string;
7405
+ channel?: string | undefined;
7406
+ chatId?: string | undefined;
7407
+ username?: string | undefined;
7408
+ senderId?: string | undefined;
7409
+ project?: string | undefined;
7410
+ displayName?: string | undefined;
7411
+ }[] | undefined;
7412
+ clients?: Record<string, {
7413
+ name?: string | undefined;
7414
+ kind?: "client" | "internal" | "own" | undefined;
7415
+ respondWithin?: string | undefined;
7416
+ standing?: string[] | undefined;
7417
+ }> | undefined;
7418
+ workTickMinutes?: number | undefined;
7419
+ idleQueueThreshold?: number | undefined;
7420
+ standup?: {
7318
7421
  enabled?: boolean | undefined;
7319
- maxPixels?: number | undefined;
7320
- seconds?: number | undefined;
7321
- fps?: number | undefined;
7322
- region?: string | undefined;
7422
+ plansDir?: string | undefined;
7423
+ maxAgentsPerDay?: number | undefined;
7424
+ dryRun?: boolean | undefined;
7323
7425
  } | undefined;
7324
7426
  } | undefined;
7427
+ requests?: {
7428
+ enabled?: boolean | undefined;
7429
+ from?: string[] | undefined;
7430
+ channels?: string[] | undefined;
7431
+ staleAfterHours?: number | undefined;
7432
+ retentionDays?: number | undefined;
7433
+ } | undefined;
7325
7434
  channels?: {
7326
7435
  push?: {
7327
7436
  enabled?: boolean | undefined;
@@ -7352,6 +7461,20 @@ declare const daemonConfigSchema: z.ZodObject<{
7352
7461
  }[] | undefined;
7353
7462
  agentUsernamePrefixes?: string[] | undefined;
7354
7463
  } | undefined;
7464
+ telegram?: {
7465
+ enabled?: boolean | undefined;
7466
+ accounts?: Record<string, {
7467
+ token: string;
7468
+ agentBinding: string;
7469
+ allowFrom?: string[] | undefined;
7470
+ pollInbound?: boolean | undefined;
7471
+ }> | undefined;
7472
+ policy?: {
7473
+ group?: "all" | "mention-required" | undefined;
7474
+ allowFrom?: string[] | undefined;
7475
+ dm?: "block" | "pair" | undefined;
7476
+ } | undefined;
7477
+ } | undefined;
7355
7478
  whatsapp?: {
7356
7479
  enabled?: boolean | undefined;
7357
7480
  sessionDir?: string | undefined;
@@ -7365,6 +7488,7 @@ declare const daemonConfigSchema: z.ZodObject<{
7365
7488
  ingest?: {
7366
7489
  enabled?: boolean | undefined;
7367
7490
  mode?: "messages" | "metadata-only" | undefined;
7491
+ retentionDays?: number | undefined;
7368
7492
  allowContacts?: string[] | undefined;
7369
7493
  allowGroups?: string[] | undefined;
7370
7494
  denyContacts?: string[] | undefined;
@@ -7377,21 +7501,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7377
7501
  maxCallsPerMinute?: number | undefined;
7378
7502
  maxChatsPerSweep?: number | undefined;
7379
7503
  } | undefined;
7380
- retentionDays?: number | undefined;
7381
- } | undefined;
7382
- } | undefined;
7383
- telegram?: {
7384
- enabled?: boolean | undefined;
7385
- accounts?: Record<string, {
7386
- token: string;
7387
- agentBinding: string;
7388
- allowFrom?: string[] | undefined;
7389
- pollInbound?: boolean | undefined;
7390
- }> | undefined;
7391
- policy?: {
7392
- group?: "all" | "mention-required" | undefined;
7393
- allowFrom?: string[] | undefined;
7394
- dm?: "block" | "pair" | undefined;
7395
7504
  } | undefined;
7396
7505
  } | undefined;
7397
7506
  github?: {
@@ -7415,16 +7524,20 @@ declare const daemonConfigSchema: z.ZodObject<{
7415
7524
  clientId?: string | undefined;
7416
7525
  privateKeyFile?: string | undefined;
7417
7526
  } | undefined;
7418
- ntfy?: {
7419
- enabled?: boolean | undefined;
7420
- token?: string | undefined;
7421
- server?: string | undefined;
7422
- topic?: string | undefined;
7423
- defaultPriority?: number | undefined;
7424
- defaultTitle?: string | undefined;
7425
- } | undefined;
7426
7527
  webrtc?: {
7427
7528
  enabled?: boolean | undefined;
7529
+ camera?: {
7530
+ bot?: {
7531
+ frameIntervalSeconds?: number | undefined;
7532
+ maxSessionMinutes?: number | undefined;
7533
+ maxFrameEdge?: number | undefined;
7534
+ keepFrames?: boolean | undefined;
7535
+ } | undefined;
7536
+ width?: number | undefined;
7537
+ height?: number | undefined;
7538
+ frameRate?: number | undefined;
7539
+ maxSeconds?: number | undefined;
7540
+ } | undefined;
7428
7541
  stunServers?: string[] | undefined;
7429
7542
  turnServers?: {
7430
7543
  urls: string;
@@ -7452,18 +7565,47 @@ declare const daemonConfigSchema: z.ZodObject<{
7452
7565
  } | undefined;
7453
7566
  maxCallMinutes?: number | undefined;
7454
7567
  } | undefined;
7455
- camera?: {
7456
- bot?: {
7457
- frameIntervalSeconds?: number | undefined;
7458
- maxSessionMinutes?: number | undefined;
7459
- maxFrameEdge?: number | undefined;
7460
- keepFrames?: boolean | undefined;
7461
- } | undefined;
7462
- width?: number | undefined;
7463
- height?: number | undefined;
7464
- frameRate?: number | undefined;
7465
- maxSeconds?: number | undefined;
7466
- } | undefined;
7568
+ } | undefined;
7569
+ ntfy?: {
7570
+ enabled?: boolean | undefined;
7571
+ token?: string | undefined;
7572
+ server?: string | undefined;
7573
+ topic?: string | undefined;
7574
+ defaultPriority?: number | undefined;
7575
+ defaultTitle?: string | undefined;
7576
+ } | undefined;
7577
+ } | undefined;
7578
+ graph?: {
7579
+ enabled?: boolean | undefined;
7580
+ draftAgent?: string | undefined;
7581
+ baseDir?: string | undefined;
7582
+ reviewAgent?: string | undefined;
7583
+ autoApproveStructure?: "any" | "strict" | "extend-leaves" | undefined;
7584
+ autoApproveConfidence?: number | undefined;
7585
+ classifierModel?: string | undefined;
7586
+ retrievalWeights?: {
7587
+ graph?: number | undefined;
7588
+ bm25?: number | undefined;
7589
+ } | undefined;
7590
+ } | undefined;
7591
+ screen?: {
7592
+ timeoutMs?: number | undefined;
7593
+ maxPixels?: number | undefined;
7594
+ intervalMs?: number | undefined;
7595
+ changeThreshold?: number | undefined;
7596
+ stableMs?: number | undefined;
7597
+ regions?: Record<string, {
7598
+ width: number;
7599
+ height: number;
7600
+ x: number;
7601
+ y: number;
7602
+ }> | undefined;
7603
+ buffer?: {
7604
+ enabled?: boolean | undefined;
7605
+ maxPixels?: number | undefined;
7606
+ seconds?: number | undefined;
7607
+ fps?: number | undefined;
7608
+ region?: string | undefined;
7467
7609
  } | undefined;
7468
7610
  } | undefined;
7469
7611
  providers?: Record<string, {
@@ -7615,12 +7757,14 @@ declare const daemonConfigSchema: z.ZodObject<{
7615
7757
  } | undefined;
7616
7758
  drainTimeoutSeconds?: number | undefined;
7617
7759
  } | undefined;
7618
- requests?: {
7619
- enabled?: boolean | undefined;
7620
- from?: string[] | undefined;
7621
- retentionDays?: number | undefined;
7760
+ people?: {
7761
+ id: string;
7762
+ name: string;
7763
+ role?: "owner" | "member" | "guest" | undefined;
7764
+ identities?: string[] | undefined;
7765
+ }[] | undefined;
7766
+ requestStatus?: {
7622
7767
  channels?: string[] | undefined;
7623
- staleAfterHours?: number | undefined;
7624
7768
  } | undefined;
7625
7769
  reminders?: {
7626
7770
  enabled?: boolean | undefined;
@@ -7629,9 +7773,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7629
7773
  pollSeconds?: number | undefined;
7630
7774
  lookbackHours?: number | undefined;
7631
7775
  } | undefined;
7632
- events?: {
7633
- ringSize?: number | undefined;
7634
- } | undefined;
7635
7776
  meshVoices?: Record<string, {
7636
7777
  system?: string | Record<string, string> | undefined;
7637
7778
  provider?: "system" | "elevenlabs" | undefined;
@@ -7643,74 +7784,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7643
7784
  intro?: string | undefined;
7644
7785
  narrate?: "all" | "on" | "off" | undefined;
7645
7786
  }> | undefined;
7646
- business?: {
7647
- mainChannel: {
7648
- channel: string;
7649
- chatId: string;
7650
- accountId?: string | undefined;
7651
- };
7652
- workSource: {
7653
- type: "backlog";
7654
- path?: string | undefined;
7655
- } | {
7656
- type: "gitlab";
7657
- projects?: string[] | undefined;
7658
- } | {
7659
- path: string;
7660
- type: "wiki";
7661
- glob?: string | undefined;
7662
- };
7663
- enabled?: boolean | undefined;
7664
- projects?: {
7665
- id: string;
7666
- pm?: string | undefined;
7667
- client?: string | undefined;
7668
- }[] | undefined;
7669
- timezone?: string | undefined;
7670
- roles?: Record<string, {
7671
- title: string;
7672
- responsibilities?: string[] | undefined;
7673
- sopPath?: string | undefined;
7674
- kpis?: string[] | undefined;
7675
- }> | undefined;
7676
- orgChart?: Record<string, {
7677
- role: string;
7678
- schedule: {
7679
- end: string;
7680
- start: string;
7681
- days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
7682
- lunch?: {
7683
- end: string;
7684
- start: string;
7685
- } | undefined;
7686
- };
7687
- reportsTo?: string | undefined;
7688
- utilizationTarget?: number | undefined;
7689
- }> | undefined;
7690
- contactMap?: {
7691
- client: string;
7692
- channel?: string | undefined;
7693
- chatId?: string | undefined;
7694
- username?: string | undefined;
7695
- senderId?: string | undefined;
7696
- project?: string | undefined;
7697
- displayName?: string | undefined;
7698
- }[] | undefined;
7699
- clients?: Record<string, {
7700
- name?: string | undefined;
7701
- kind?: "client" | "internal" | "own" | undefined;
7702
- respondWithin?: string | undefined;
7703
- standing?: string[] | undefined;
7704
- }> | undefined;
7705
- workTickMinutes?: number | undefined;
7706
- idleQueueThreshold?: number | undefined;
7707
- standup?: {
7708
- enabled?: boolean | undefined;
7709
- plansDir?: string | undefined;
7710
- maxAgentsPerDay?: number | undefined;
7711
- dryRun?: boolean | undefined;
7712
- } | undefined;
7713
- } | undefined;
7714
7787
  boards?: {
7715
7788
  id: string;
7716
7789
  name: string;
@@ -7743,21 +7816,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7743
7816
  respectSchedule?: boolean | undefined;
7744
7817
  } | undefined;
7745
7818
  }[] | undefined;
7746
- dashboard?: {
7747
- enabled?: boolean | undefined;
7748
- token?: string | undefined;
7749
- port?: number | undefined;
7750
- bind?: string | undefined;
7751
- daemonUrl?: string | undefined;
7752
- daemons?: {
7753
- name: string;
7754
- url: string;
7755
- token?: string | undefined;
7756
- dashboardUrl?: string | undefined;
7757
- dashboardToken?: string | undefined;
7758
- }[] | undefined;
7759
- draftAgent?: string | undefined;
7760
- } | undefined;
7761
7819
  decisions?: {
7762
7820
  enabled?: boolean | undefined;
7763
7821
  dbPath?: string | undefined;
@@ -7805,9 +7863,9 @@ declare const daemonConfigSchema: z.ZodObject<{
7805
7863
  temperature?: number | undefined;
7806
7864
  backend?: string | undefined;
7807
7865
  mode?: "active" | "off" | "shadow" | undefined;
7866
+ holdout?: number | undefined;
7808
7867
  timeoutMs?: number | undefined;
7809
7868
  explore?: number | undefined;
7810
- holdout?: number | undefined;
7811
7869
  } | undefined> | undefined;
7812
7870
  routing?: {
7813
7871
  cheapModel?: string | undefined;
@@ -8167,6 +8225,32 @@ interface AgentXEvents {
8167
8225
  reason: string;
8168
8226
  at: string;
8169
8227
  };
8228
+ /** A message waits behind a turn the agent is already running in the
8229
+ * same chat. It runs later as its own turn (request status, #383). */
8230
+ "task:queued": {
8231
+ agentId: string;
8232
+ channel: string;
8233
+ chatId: string;
8234
+ at: string;
8235
+ sender?: {
8236
+ name?: string;
8237
+ id?: string;
8238
+ username?: string;
8239
+ };
8240
+ /** See task:started. */
8241
+ humanRoot?: boolean;
8242
+ };
8243
+ /** The turn a queued message was handed to has ended, or the hand-over
8244
+ * failed. A request still queued from before `flushedAt` never started
8245
+ * (request status, #383). */
8246
+ "task:queue-ended": {
8247
+ agentId: string;
8248
+ channel: string;
8249
+ chatId: string;
8250
+ /** When the queue handed its messages over (ms). */
8251
+ flushedAt: number;
8252
+ at: string;
8253
+ };
8170
8254
  /** A task is about to be dispatched to the agent runtime.
8171
8255
  *
8172
8256
  * taskId is the ULID for the per-execution trace
@@ -8187,6 +8271,9 @@ interface AgentXEvents {
8187
8271
  * re-fire the exact original task. Optional for back-compat with
8188
8272
  * older emitters that only carried the preview. */
8189
8273
  fullMessage?: string;
8274
+ /** What the person typed, when the message wraps it in a prompt of
8275
+ * the caller's own (the dashboard's Ask an agent, #401). */
8276
+ requestText?: string;
8190
8277
  at: string;
8191
8278
  taskId?: string;
8192
8279
  /** Resume after restart (#103): how to re-enter the run (JSON), its
@@ -8200,9 +8287,22 @@ interface AgentXEvents {
8200
8287
  id?: string;
8201
8288
  username?: string;
8202
8289
  };
8290
+ /** The known person who started this chain (people, #384). Absent for
8291
+ * an unknown sender and for turns software starts. */
8292
+ person?: {
8293
+ id: string;
8294
+ role?: "owner" | "member" | "guest";
8295
+ };
8203
8296
  /** True for the turn that talks to the person: not a delegated hop,
8204
8297
  * not a callback (a2a/initiator isHumanFacingTurn). */
8205
8298
  humanRoot?: boolean;
8299
+ /** True for the turn the daemon starts to hand a request back to its
8300
+ * agent (requests/tracker pickupContext). */
8301
+ pickup?: boolean;
8302
+ /** True when the daemon marked the turn as the owner's on one of this
8303
+ * node's own surfaces (requests/operator): it started the turn itself,
8304
+ * or the /task caller showed the operator key (#393). */
8305
+ operator?: boolean;
8206
8306
  };
8207
8307
  /** A single step inside an in-flight task — typically a tool call or
8208
8308
  * tool result inside the Claude streaming response. Producer is the
@@ -8595,7 +8695,13 @@ declare class AgentXDaemon {
8595
8695
  }>;
8596
8696
  /** Open requests (src/requests); null when the database is unavailable. */
8597
8697
  private requests;
8698
+ /** The secret this node's own surfaces present on /task to prove a turn
8699
+ * is the owner's (requests/operator, #393). */
8700
+ private operatorKey;
8598
8701
  private requestsSweeping;
8702
+ private status;
8703
+ /** Send a status-comment edit to the peer that holds the agent's token. */
8704
+ private forwardCommentEdit;
8599
8705
  private approvalsTimer?;
8600
8706
  private approvalsSweeping;
8601
8707
  /** Every minute: expire decision cards, tell agents their results, and
@@ -8687,6 +8793,17 @@ declare class AgentXDaemon {
8687
8793
  /** Wraps decideMeshAuth (daemon/mesh-auth.ts) with token collection,
8688
8794
  * logging, and the 401 response. */
8689
8795
  private checkMeshAuth;
8796
+ /** The running turn a call names, as its X-AgentX-* headers give it. */
8797
+ /** Marks a /task context as the owner's when its channel is one of this
8798
+ * node's own surfaces and the caller showed the operator key: the
8799
+ * dashboard process does, for the phone app. Any other caller naming
8800
+ * such a channel gets an ordinary turn, never recorded as a request
8801
+ * of the owner (#393). */
8802
+ private markOperatorTurn;
8803
+ private callerProof;
8804
+ /** The channel and chat of the running turn of `agentId` that `proof`
8805
+ * names, as the registry files the run. Null when it names none. */
8806
+ private provenTurn;
8690
8807
  private handleHttp;
8691
8808
  /**
8692
8809
  * OpenAI-compatible chat completions endpoint.
@@ -8947,6 +9064,8 @@ interface RootInitiator {
8947
9064
  sender?: string;
8948
9065
  /** The agent that was talking to the person when the chain started. */
8949
9066
  agentId?: string;
9067
+ /** The known person behind the root turn (people, #384). */
9068
+ person?: string;
8950
9069
  }
8951
9070
 
8952
9071
  interface RouterOrigin {
@@ -9183,6 +9302,9 @@ interface AgentTask {
9183
9302
  workflowRunId?: string;
9184
9303
  /** Per-invocation model override (e.g. cron model). Falls back to agent.model. */
9185
9304
  model?: string;
9305
+ /** What the person typed, when `message` wraps it in a prompt of the
9306
+ * caller's own. The requests record keeps this text (#401). */
9307
+ requestText?: string;
9186
9308
  /** Cacheable text delivered to Claude via --append-system-prompt. Typically
9187
9309
  * agent.systemPrompt + SOUL/IDENTITY/AGENTS.md. Passing stable content
9188
9310
  * here (instead of in the user-message body) keeps it inside Claude's
@@ -9266,6 +9388,9 @@ interface AgentTask {
9266
9388
  senderId?: string;
9267
9389
  /** Platform username (e.g. @username) */
9268
9390
  senderUsername?: string;
9391
+ /** The known person who started this chain (people, #384). Set by the
9392
+ * registry when the turn starts; a value sent by a caller is replaced. */
9393
+ person?: string;
9269
9394
  group?: string;
9270
9395
  /** Stable chat ID for session keying (e.g. "project:issue:123" for GitLab) */
9271
9396
  chatId?: string;
@@ -10520,9 +10645,9 @@ declare const classificationSchema: z.ZodObject<{
10520
10645
  channel?: string | undefined;
10521
10646
  preview?: string | undefined;
10522
10647
  chatId?: string | undefined;
10648
+ sender?: string | undefined;
10523
10649
  agentId?: string | undefined;
10524
10650
  confidence?: number | undefined;
10525
- sender?: string | undefined;
10526
10651
  }, {
10527
10652
  path: string[];
10528
10653
  status: "pending" | "approved" | "rejected";
@@ -10532,9 +10657,9 @@ declare const classificationSchema: z.ZodObject<{
10532
10657
  channel?: string | undefined;
10533
10658
  preview?: string | undefined;
10534
10659
  chatId?: string | undefined;
10660
+ sender?: string | undefined;
10535
10661
  agentId?: string | undefined;
10536
10662
  confidence?: number | undefined;
10537
- sender?: string | undefined;
10538
10663
  proposedAxes?: Record<string, Record<string, string>> | undefined;
10539
10664
  leaf?: {
10540
10665
  output?: string | undefined;
@@ -11145,6 +11270,9 @@ declare class AgentRegistry {
11145
11270
  * execute-time for landscape + session policies, so next-task semantics
11146
11271
  * match setProviders. */
11147
11272
  setConfig(next: DaemonConfig): void;
11273
+ /** Swap the people list on a config reload (#384). Turns read it when
11274
+ * they start, so the next turn is stamped from the new list. */
11275
+ setPeople(people: DaemonConfig["people"]): void;
11148
11276
  /**
11149
11277
  * If there's an active handover routing TO this agent for this (channel,
11150
11278
  * chatId) pair AND the operator's summary hasn't been consumed yet, pull