agentix-cli 0.181.1 → 0.182.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 (159) hide show
  1. package/README.md +2 -2
  2. package/apps/mac-voice/Sources/AgentXVoice/Config.swift +9 -0
  3. package/apps/mac-voice/Sources/AgentXVoice/MiniOrbs.swift +19 -6
  4. package/apps/mac-voice/Sources/AgentXVoice/OpenRequests.swift +260 -0
  5. package/apps/mac-voice/Sources/AgentXVoice/Panel.swift +72 -5
  6. package/apps/mac-voice/Sources/AgentXVoice/PillBusy.swift +22 -4
  7. package/apps/mac-voice/Sources/AgentXVoice/PillPlacement.swift +24 -0
  8. package/apps/mac-voice/Sources/AgentXVoice/RequestsWindow.swift +401 -0
  9. package/apps/mac-voice/Sources/AgentXVoice/SettingsWindow.swift +1 -0
  10. package/apps/mac-voice/Sources/AgentXVoice/StatusMenu.swift +22 -1
  11. package/apps/mac-voice/Sources/AgentXVoice/main.swift +263 -4
  12. package/dist/{App-UXX5TGFF.js → App-XWSSUYKF.js} +2 -2
  13. package/dist/{ChatApp-X635NOAE.js → ChatApp-UT2BRHYE.js} +2 -2
  14. package/dist/{absorb-eval-4ZPDWNBA.js → absorb-eval-SFGUURBD.js} +2 -2
  15. package/dist/{adapter-Z23K544D.js → adapter-UHR7FVM7.js} +2 -2
  16. package/dist/{agent-OBRH5BJZ.js → agent-5NTFSCEO.js} +2 -2
  17. package/dist/{board-dashboard-SFXVOICJ.js → board-dashboard-7HIME2W4.js} +2090 -2248
  18. package/dist/board-dashboard-7HIME2W4.js.map +1 -0
  19. package/dist/{chunk-SDINSYTN.js → chunk-343MPMLD.js} +2 -2
  20. package/dist/{chunk-WKU7YFDV.js → chunk-4KNHLHE3.js} +2 -2
  21. package/dist/{chunk-WZUY7VGL.js → chunk-4WSJKKSA.js} +2 -2
  22. package/dist/{chunk-ZSY6PFHD.js → chunk-5NGQQOVK.js} +2 -2
  23. package/dist/{chunk-FRVFRWFN.js → chunk-5YG2ZQQW.js} +2 -2
  24. package/dist/{chunk-N6VBEITO.js → chunk-7PQQZC6B.js} +2 -2
  25. package/dist/{chunk-N6VBEITO.js.map → chunk-7PQQZC6B.js.map} +1 -1
  26. package/dist/{chunk-7RVJWLIP.js → chunk-7WGJZLVJ.js} +2 -2
  27. package/dist/{chunk-CF7CPE7K.js → chunk-BY3AUZYM.js} +2 -2
  28. package/dist/{chunk-IRZYRLXQ.js → chunk-FDX4IGLK.js} +2 -2
  29. package/dist/{chunk-SD6UDSXV.js → chunk-FYFJ7IQJ.js} +2 -2
  30. package/dist/{chunk-HBQRVCLU.js → chunk-GEFZMDDX.js} +2 -2
  31. package/dist/{chunk-TZ7GB7FI.js → chunk-H2KOXGDX.js} +2 -2
  32. package/dist/{chunk-UFUQQ5J5.js → chunk-IFHVAHQM.js} +2 -2
  33. package/dist/{chunk-LZY6YN2J.js → chunk-IGBW4VVM.js} +2 -2
  34. package/dist/{chunk-OYCMFCME.js → chunk-JNWXHOJE.js} +2 -2
  35. package/dist/{chunk-KOY3EOPH.js → chunk-MD2HCGSC.js} +36 -36
  36. package/dist/chunk-MD2HCGSC.js.map +1 -0
  37. package/dist/{chunk-PCWXHXTM.js → chunk-NIPMVM3G.js} +2 -2
  38. package/dist/{chunk-DOBTHQ32.js → chunk-NRUUT5TL.js} +2 -2
  39. package/dist/{chunk-Z2UDWVZZ.js → chunk-OKADR5QO.js} +4 -4
  40. package/dist/chunk-OKADR5QO.js.map +1 -0
  41. package/dist/{chunk-IYITREE5.js → chunk-QB6UPODO.js} +2 -2
  42. package/dist/{chunk-VK3M3TVL.js → chunk-QGNV2HA4.js} +3 -3
  43. package/dist/chunk-QGNV2HA4.js.map +1 -0
  44. package/dist/{chunk-KVAWRQBA.js → chunk-R3CDFSNF.js} +67 -67
  45. package/dist/chunk-R3CDFSNF.js.map +1 -0
  46. package/dist/{chunk-HMEFQL5P.js → chunk-RDWDDPBI.js} +4 -3
  47. package/dist/chunk-RDWDDPBI.js.map +1 -0
  48. package/dist/{chunk-QJXGJMHM.js → chunk-XHJ5SVO5.js} +234 -234
  49. package/dist/chunk-XHJ5SVO5.js.map +1 -0
  50. package/dist/chunk-XI2HH5NR.js +36 -0
  51. package/dist/chunk-XI2HH5NR.js.map +1 -0
  52. package/dist/{chunk-J56YGKUO.js → chunk-Y4TVCWWF.js} +2 -2
  53. package/dist/{chunk-33DLG4I2.js → chunk-Y5TBOMHY.js} +5 -5
  54. package/dist/{chunk-UHTIZCKU.js → chunk-YSPBVLTZ.js} +2 -2
  55. package/dist/{chunk-NI2XD6P3.js → chunk-YX4R2VGD.js} +2 -2
  56. package/dist/{chunk-U5S6IP7Z.js → chunk-Z4XVPGPZ.js} +3 -3
  57. package/dist/{chunk-DMCMV4UJ.js → chunk-ZRALOFEG.js} +2 -2
  58. package/dist/cli.js +1 -1
  59. package/dist/{client-ILPJFCTF.js → client-SQMU25PS.js} +2 -2
  60. package/dist/{config-JVWOL233.js → config-56NBA4SF.js} +2 -2
  61. package/dist/{config-mutate-WYCHP6VK.js → config-mutate-PD4O3HZ7.js} +2 -2
  62. package/dist/config-mutator-ITL64FBW.js +2 -0
  63. package/dist/{contributions-XD66HYWE.js → contributions-DKTJ623L.js} +2 -2
  64. package/dist/{doctor-DYTYJQYC.js → doctor-OI6GJZR5.js} +2 -2
  65. package/dist/{follow-up-tool-HPET6LZW.js → follow-up-tool-DYSLS6ZI.js} +2 -2
  66. package/dist/{hub-L5FFJPS3.js → hub-4HDMTSR7.js} +2 -2
  67. package/dist/index.d.ts +317 -216
  68. package/dist/index.js +1 -1
  69. package/dist/processes-M7YPWX7H.js +2 -0
  70. package/dist/{program-24C3VBSD.js → program-4GDIWCDM.js} +259 -259
  71. package/dist/program-4GDIWCDM.js.map +1 -0
  72. package/dist/{promote-XI6W27JK.js → promote-3272TZNI.js} +2 -2
  73. package/dist/{query-MGG5QKNC.js → query-7XM6V4QG.js} +2 -2
  74. package/dist/{query-settings-CALZYYWD.js → query-settings-HHVBIIVQ.js} +2 -2
  75. package/dist/{registry-XJWSLJ4O.js → registry-QL3AM3UH.js} +2 -2
  76. package/dist/{request-planner-JCRGGJUO.js → request-planner-WNEDEA7X.js} +2 -2
  77. package/dist/{review-candidates-OEBEEAEZ.js → review-candidates-TGPDJMWJ.js} +2 -2
  78. package/dist/{routing-CGH54RYG.js → routing-ALXY25NE.js} +2 -2
  79. package/dist/schedule-tool-22UBZXCG.js +2 -0
  80. package/dist/{scheduler-2K5YEV2U.js → scheduler-5PHNW243.js} +2 -2
  81. package/dist/{seat-DEL5YUOS.js → seat-ZYVVEILY.js} +2 -2
  82. package/dist/{select-MRTWSI7U.js → select-6QLEV6AC.js} +2 -2
  83. package/dist/{set-enabled-XTDCFCZY.js → set-enabled-SYYTKJPC.js} +2 -2
  84. package/dist/{sprint-tool-N7WPDX5J.js → sprint-tool-PYVHPHR2.js} +2 -2
  85. package/dist/{tool-BQEJOTF3.js → tool-GIYOYXXM.js} +2 -2
  86. package/dist/{tool-NZTJZDSB.js → tool-TDOUM3BJ.js} +2 -2
  87. package/dist/{tool-KZHWJ7BC.js → tool-ZKZ4KYJT.js} +2 -2
  88. package/dist/{wiki-YERCKD3E.js → wiki-ZRGLGMII.js} +2 -2
  89. package/dist/wiki-enrich-CTID7JQW.js +2 -0
  90. package/package.json +1 -1
  91. package/dist/board-dashboard-SFXVOICJ.js.map +0 -1
  92. package/dist/chunk-G6ZRPC6E.js +0 -36
  93. package/dist/chunk-G6ZRPC6E.js.map +0 -1
  94. package/dist/chunk-HMEFQL5P.js.map +0 -1
  95. package/dist/chunk-KOY3EOPH.js.map +0 -1
  96. package/dist/chunk-KVAWRQBA.js.map +0 -1
  97. package/dist/chunk-QJXGJMHM.js.map +0 -1
  98. package/dist/chunk-VK3M3TVL.js.map +0 -1
  99. package/dist/chunk-Z2UDWVZZ.js.map +0 -1
  100. package/dist/config-mutator-DKNHE6VP.js +0 -2
  101. package/dist/processes-EWARF6ZW.js +0 -2
  102. package/dist/program-24C3VBSD.js.map +0 -1
  103. package/dist/schedule-tool-UM3CAPDX.js +0 -2
  104. package/dist/wiki-enrich-K54LGNU3.js +0 -2
  105. /package/dist/{App-UXX5TGFF.js.map → App-XWSSUYKF.js.map} +0 -0
  106. /package/dist/{ChatApp-X635NOAE.js.map → ChatApp-UT2BRHYE.js.map} +0 -0
  107. /package/dist/{absorb-eval-4ZPDWNBA.js.map → absorb-eval-SFGUURBD.js.map} +0 -0
  108. /package/dist/{adapter-Z23K544D.js.map → adapter-UHR7FVM7.js.map} +0 -0
  109. /package/dist/{agent-OBRH5BJZ.js.map → agent-5NTFSCEO.js.map} +0 -0
  110. /package/dist/{chunk-SDINSYTN.js.map → chunk-343MPMLD.js.map} +0 -0
  111. /package/dist/{chunk-WKU7YFDV.js.map → chunk-4KNHLHE3.js.map} +0 -0
  112. /package/dist/{chunk-WZUY7VGL.js.map → chunk-4WSJKKSA.js.map} +0 -0
  113. /package/dist/{chunk-ZSY6PFHD.js.map → chunk-5NGQQOVK.js.map} +0 -0
  114. /package/dist/{chunk-FRVFRWFN.js.map → chunk-5YG2ZQQW.js.map} +0 -0
  115. /package/dist/{chunk-7RVJWLIP.js.map → chunk-7WGJZLVJ.js.map} +0 -0
  116. /package/dist/{chunk-CF7CPE7K.js.map → chunk-BY3AUZYM.js.map} +0 -0
  117. /package/dist/{chunk-IRZYRLXQ.js.map → chunk-FDX4IGLK.js.map} +0 -0
  118. /package/dist/{chunk-SD6UDSXV.js.map → chunk-FYFJ7IQJ.js.map} +0 -0
  119. /package/dist/{chunk-HBQRVCLU.js.map → chunk-GEFZMDDX.js.map} +0 -0
  120. /package/dist/{chunk-TZ7GB7FI.js.map → chunk-H2KOXGDX.js.map} +0 -0
  121. /package/dist/{chunk-UFUQQ5J5.js.map → chunk-IFHVAHQM.js.map} +0 -0
  122. /package/dist/{chunk-LZY6YN2J.js.map → chunk-IGBW4VVM.js.map} +0 -0
  123. /package/dist/{chunk-OYCMFCME.js.map → chunk-JNWXHOJE.js.map} +0 -0
  124. /package/dist/{chunk-PCWXHXTM.js.map → chunk-NIPMVM3G.js.map} +0 -0
  125. /package/dist/{chunk-DOBTHQ32.js.map → chunk-NRUUT5TL.js.map} +0 -0
  126. /package/dist/{chunk-IYITREE5.js.map → chunk-QB6UPODO.js.map} +0 -0
  127. /package/dist/{chunk-J56YGKUO.js.map → chunk-Y4TVCWWF.js.map} +0 -0
  128. /package/dist/{chunk-33DLG4I2.js.map → chunk-Y5TBOMHY.js.map} +0 -0
  129. /package/dist/{chunk-UHTIZCKU.js.map → chunk-YSPBVLTZ.js.map} +0 -0
  130. /package/dist/{chunk-NI2XD6P3.js.map → chunk-YX4R2VGD.js.map} +0 -0
  131. /package/dist/{chunk-U5S6IP7Z.js.map → chunk-Z4XVPGPZ.js.map} +0 -0
  132. /package/dist/{chunk-DMCMV4UJ.js.map → chunk-ZRALOFEG.js.map} +0 -0
  133. /package/dist/{client-ILPJFCTF.js.map → client-SQMU25PS.js.map} +0 -0
  134. /package/dist/{config-JVWOL233.js.map → config-56NBA4SF.js.map} +0 -0
  135. /package/dist/{config-mutate-WYCHP6VK.js.map → config-mutate-PD4O3HZ7.js.map} +0 -0
  136. /package/dist/{config-mutator-DKNHE6VP.js.map → config-mutator-ITL64FBW.js.map} +0 -0
  137. /package/dist/{contributions-XD66HYWE.js.map → contributions-DKTJ623L.js.map} +0 -0
  138. /package/dist/{doctor-DYTYJQYC.js.map → doctor-OI6GJZR5.js.map} +0 -0
  139. /package/dist/{follow-up-tool-HPET6LZW.js.map → follow-up-tool-DYSLS6ZI.js.map} +0 -0
  140. /package/dist/{hub-L5FFJPS3.js.map → hub-4HDMTSR7.js.map} +0 -0
  141. /package/dist/{processes-EWARF6ZW.js.map → processes-M7YPWX7H.js.map} +0 -0
  142. /package/dist/{promote-XI6W27JK.js.map → promote-3272TZNI.js.map} +0 -0
  143. /package/dist/{query-MGG5QKNC.js.map → query-7XM6V4QG.js.map} +0 -0
  144. /package/dist/{query-settings-CALZYYWD.js.map → query-settings-HHVBIIVQ.js.map} +0 -0
  145. /package/dist/{registry-XJWSLJ4O.js.map → registry-QL3AM3UH.js.map} +0 -0
  146. /package/dist/{request-planner-JCRGGJUO.js.map → request-planner-WNEDEA7X.js.map} +0 -0
  147. /package/dist/{review-candidates-OEBEEAEZ.js.map → review-candidates-TGPDJMWJ.js.map} +0 -0
  148. /package/dist/{routing-CGH54RYG.js.map → routing-ALXY25NE.js.map} +0 -0
  149. /package/dist/{schedule-tool-UM3CAPDX.js.map → schedule-tool-22UBZXCG.js.map} +0 -0
  150. /package/dist/{scheduler-2K5YEV2U.js.map → scheduler-5PHNW243.js.map} +0 -0
  151. /package/dist/{seat-DEL5YUOS.js.map → seat-ZYVVEILY.js.map} +0 -0
  152. /package/dist/{select-MRTWSI7U.js.map → select-6QLEV6AC.js.map} +0 -0
  153. /package/dist/{set-enabled-XTDCFCZY.js.map → set-enabled-SYYTKJPC.js.map} +0 -0
  154. /package/dist/{sprint-tool-N7WPDX5J.js.map → sprint-tool-PYVHPHR2.js.map} +0 -0
  155. /package/dist/{tool-BQEJOTF3.js.map → tool-GIYOYXXM.js.map} +0 -0
  156. /package/dist/{tool-NZTJZDSB.js.map → tool-TDOUM3BJ.js.map} +0 -0
  157. /package/dist/{tool-KZHWJ7BC.js.map → tool-ZKZ4KYJT.js.map} +0 -0
  158. /package/dist/{wiki-YERCKD3E.js.map → wiki-ZRGLGMII.js.map} +0 -0
  159. /package/dist/{wiki-enrich-K54LGNU3.js.map → wiki-enrich-CTID7JQW.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -8448,9 +8448,6 @@ declare const daemonConfigSchema: z.ZodObject<{
8448
8448
  path?: string | undefined;
8449
8449
  }>, z.ZodObject<{
8450
8450
  type: z.ZodLiteral<"gitlab">;
8451
- /** A list of agentx MCP tool names (session.lean.agentxTools). An unknown
8452
- * name is an error, not ignored: a misspelt `agentx_channel_reply` would
8453
- * otherwise leave a lean GitHub session with no way to reply. */
8454
8451
  projects: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
8455
8452
  }, "strip", z.ZodTypeAny, {
8456
8453
  type: "gitlab";
@@ -8549,6 +8546,19 @@ declare const daemonConfigSchema: z.ZodObject<{
8549
8546
  reportsTo?: string | undefined;
8550
8547
  utilizationTarget?: number | undefined;
8551
8548
  }>>>;
8549
+ relations: z.ZodDefault<z.ZodArray<z.ZodObject<{
8550
+ from: z.ZodString;
8551
+ to: z.ZodString;
8552
+ type: z.ZodEnum<["reports-to", "dotted-line", "acts-for"]>;
8553
+ }, "strip", z.ZodTypeAny, {
8554
+ type: "reports-to" | "dotted-line" | "acts-for";
8555
+ to: string;
8556
+ from: string;
8557
+ }, {
8558
+ type: "reports-to" | "dotted-line" | "acts-for";
8559
+ to: string;
8560
+ from: string;
8561
+ }>, "many">>;
8552
8562
  projects: z.ZodDefault<z.ZodArray<z.ZodObject<{
8553
8563
  id: z.ZodString;
8554
8564
  pm: z.ZodOptional<z.ZodString>;
@@ -8623,6 +8633,20 @@ declare const daemonConfigSchema: z.ZodObject<{
8623
8633
  }>>;
8624
8634
  }, "strip", z.ZodTypeAny, {
8625
8635
  enabled: boolean;
8636
+ orgChart: Record<string, {
8637
+ role: string;
8638
+ schedule: {
8639
+ end: string;
8640
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
8641
+ start: string;
8642
+ lunch?: {
8643
+ end: string;
8644
+ start: string;
8645
+ } | undefined;
8646
+ };
8647
+ utilizationTarget: number;
8648
+ reportsTo?: string | undefined;
8649
+ }>;
8626
8650
  projects: {
8627
8651
  id: string;
8628
8652
  pm?: string | undefined;
@@ -8646,20 +8670,11 @@ declare const daemonConfigSchema: z.ZodObject<{
8646
8670
  kpis: string[];
8647
8671
  sopPath?: string | undefined;
8648
8672
  }>;
8649
- orgChart: Record<string, {
8650
- role: string;
8651
- schedule: {
8652
- end: string;
8653
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
8654
- start: string;
8655
- lunch?: {
8656
- end: string;
8657
- start: string;
8658
- } | undefined;
8659
- };
8660
- utilizationTarget: number;
8661
- reportsTo?: string | undefined;
8662
- }>;
8673
+ relations: {
8674
+ type: "reports-to" | "dotted-line" | "acts-for";
8675
+ to: string;
8676
+ from: string;
8677
+ }[];
8663
8678
  contactMap: {
8664
8679
  client: string;
8665
8680
  channel?: string | undefined;
@@ -8690,6 +8705,20 @@ declare const daemonConfigSchema: z.ZodObject<{
8690
8705
  } | undefined;
8691
8706
  }, {
8692
8707
  enabled?: boolean | undefined;
8708
+ orgChart?: Record<string, {
8709
+ role: string;
8710
+ schedule: {
8711
+ end: string;
8712
+ start: string;
8713
+ days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
8714
+ lunch?: {
8715
+ end: string;
8716
+ start: string;
8717
+ } | undefined;
8718
+ };
8719
+ reportsTo?: string | undefined;
8720
+ utilizationTarget?: number | undefined;
8721
+ }> | undefined;
8693
8722
  projects?: {
8694
8723
  id: string;
8695
8724
  pm?: string | undefined;
@@ -8718,20 +8747,11 @@ declare const daemonConfigSchema: z.ZodObject<{
8718
8747
  sopPath?: string | undefined;
8719
8748
  kpis?: string[] | undefined;
8720
8749
  }> | undefined;
8721
- orgChart?: Record<string, {
8722
- role: string;
8723
- schedule: {
8724
- end: string;
8725
- start: string;
8726
- days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
8727
- lunch?: {
8728
- end: string;
8729
- start: string;
8730
- } | undefined;
8731
- };
8732
- reportsTo?: string | undefined;
8733
- utilizationTarget?: number | undefined;
8734
- }> | undefined;
8750
+ relations?: {
8751
+ type: "reports-to" | "dotted-line" | "acts-for";
8752
+ to: string;
8753
+ from: string;
8754
+ }[] | undefined;
8735
8755
  contactMap?: {
8736
8756
  client: string;
8737
8757
  channel?: string | undefined;
@@ -8757,6 +8777,20 @@ declare const daemonConfigSchema: z.ZodObject<{
8757
8777
  } | undefined;
8758
8778
  }>, {
8759
8779
  enabled: boolean;
8780
+ orgChart: Record<string, {
8781
+ role: string;
8782
+ schedule: {
8783
+ end: string;
8784
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
8785
+ start: string;
8786
+ lunch?: {
8787
+ end: string;
8788
+ start: string;
8789
+ } | undefined;
8790
+ };
8791
+ utilizationTarget: number;
8792
+ reportsTo?: string | undefined;
8793
+ }>;
8760
8794
  projects: {
8761
8795
  id: string;
8762
8796
  pm?: string | undefined;
@@ -8780,20 +8814,11 @@ declare const daemonConfigSchema: z.ZodObject<{
8780
8814
  kpis: string[];
8781
8815
  sopPath?: string | undefined;
8782
8816
  }>;
8783
- orgChart: Record<string, {
8784
- role: string;
8785
- schedule: {
8786
- end: string;
8787
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
8788
- start: string;
8789
- lunch?: {
8790
- end: string;
8791
- start: string;
8792
- } | undefined;
8793
- };
8794
- utilizationTarget: number;
8795
- reportsTo?: string | undefined;
8796
- }>;
8817
+ relations: {
8818
+ type: "reports-to" | "dotted-line" | "acts-for";
8819
+ to: string;
8820
+ from: string;
8821
+ }[];
8797
8822
  contactMap: {
8798
8823
  client: string;
8799
8824
  channel?: string | undefined;
@@ -8824,6 +8849,20 @@ declare const daemonConfigSchema: z.ZodObject<{
8824
8849
  } | undefined;
8825
8850
  }, {
8826
8851
  enabled?: boolean | undefined;
8852
+ orgChart?: Record<string, {
8853
+ role: string;
8854
+ schedule: {
8855
+ end: string;
8856
+ start: string;
8857
+ days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
8858
+ lunch?: {
8859
+ end: string;
8860
+ start: string;
8861
+ } | undefined;
8862
+ };
8863
+ reportsTo?: string | undefined;
8864
+ utilizationTarget?: number | undefined;
8865
+ }> | undefined;
8827
8866
  projects?: {
8828
8867
  id: string;
8829
8868
  pm?: string | undefined;
@@ -8852,20 +8891,11 @@ declare const daemonConfigSchema: z.ZodObject<{
8852
8891
  sopPath?: string | undefined;
8853
8892
  kpis?: string[] | undefined;
8854
8893
  }> | undefined;
8855
- orgChart?: Record<string, {
8856
- role: string;
8857
- schedule: {
8858
- end: string;
8859
- start: string;
8860
- days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
8861
- lunch?: {
8862
- end: string;
8863
- start: string;
8864
- } | undefined;
8865
- };
8866
- reportsTo?: string | undefined;
8867
- utilizationTarget?: number | undefined;
8868
- }> | undefined;
8894
+ relations?: {
8895
+ type: "reports-to" | "dotted-line" | "acts-for";
8896
+ to: string;
8897
+ from: string;
8898
+ }[] | undefined;
8869
8899
  contactMap?: {
8870
8900
  client: string;
8871
8901
  channel?: string | undefined;
@@ -8927,8 +8957,8 @@ declare const daemonConfigSchema: z.ZodObject<{
8927
8957
  accent: z.ZodOptional<z.ZodString>;
8928
8958
  }, "strip", z.ZodTypeAny, {
8929
8959
  id: string;
8930
- title: string;
8931
8960
  kind: "label" | "open-backlog" | "scoped-label" | "closed";
8961
+ title: string;
8932
8962
  scopedPrefix: string;
8933
8963
  mapsToLabel?: string | undefined;
8934
8964
  scopedLabel?: string | undefined;
@@ -8977,8 +9007,8 @@ declare const daemonConfigSchema: z.ZodObject<{
8977
9007
  }[];
8978
9008
  columns: {
8979
9009
  id: string;
8980
- title: string;
8981
9010
  kind: "label" | "open-backlog" | "scoped-label" | "closed";
9011
+ title: string;
8982
9012
  scopedPrefix: string;
8983
9013
  mapsToLabel?: string | undefined;
8984
9014
  scopedLabel?: string | undefined;
@@ -11354,8 +11384,8 @@ declare const daemonConfigSchema: z.ZodObject<{
11354
11384
  }[];
11355
11385
  columns: {
11356
11386
  id: string;
11357
- title: string;
11358
11387
  kind: "label" | "open-backlog" | "scoped-label" | "closed";
11388
+ title: string;
11359
11389
  scopedPrefix: string;
11360
11390
  mapsToLabel?: string | undefined;
11361
11391
  scopedLabel?: string | undefined;
@@ -11536,12 +11566,22 @@ declare const daemonConfigSchema: z.ZodObject<{
11536
11566
  maxAgeSeconds: number;
11537
11567
  sweepIntervalSeconds: number;
11538
11568
  };
11539
- budget?: {
11540
- warnRatio: number;
11541
- monthlyUsd?: number | undefined;
11542
- } | undefined;
11543
11569
  business?: {
11544
11570
  enabled: boolean;
11571
+ orgChart: Record<string, {
11572
+ role: string;
11573
+ schedule: {
11574
+ end: string;
11575
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
11576
+ start: string;
11577
+ lunch?: {
11578
+ end: string;
11579
+ start: string;
11580
+ } | undefined;
11581
+ };
11582
+ utilizationTarget: number;
11583
+ reportsTo?: string | undefined;
11584
+ }>;
11545
11585
  projects: {
11546
11586
  id: string;
11547
11587
  pm?: string | undefined;
@@ -11565,20 +11605,11 @@ declare const daemonConfigSchema: z.ZodObject<{
11565
11605
  kpis: string[];
11566
11606
  sopPath?: string | undefined;
11567
11607
  }>;
11568
- orgChart: Record<string, {
11569
- role: string;
11570
- schedule: {
11571
- end: string;
11572
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
11573
- start: string;
11574
- lunch?: {
11575
- end: string;
11576
- start: string;
11577
- } | undefined;
11578
- };
11579
- utilizationTarget: number;
11580
- reportsTo?: string | undefined;
11581
- }>;
11608
+ relations: {
11609
+ type: "reports-to" | "dotted-line" | "acts-for";
11610
+ to: string;
11611
+ from: string;
11612
+ }[];
11582
11613
  contactMap: {
11583
11614
  client: string;
11584
11615
  channel?: string | undefined;
@@ -11608,6 +11639,10 @@ declare const daemonConfigSchema: z.ZodObject<{
11608
11639
  accountId?: string | undefined;
11609
11640
  } | undefined;
11610
11641
  } | undefined;
11642
+ budget?: {
11643
+ warnRatio: number;
11644
+ monthlyUsd?: number | undefined;
11645
+ } | undefined;
11611
11646
  }, {
11612
11647
  node: {
11613
11648
  id: string;
@@ -11780,6 +11815,79 @@ declare const daemonConfigSchema: z.ZodObject<{
11780
11815
  skipTypes?: string[] | undefined;
11781
11816
  } | undefined;
11782
11817
  } | undefined;
11818
+ business?: {
11819
+ enabled?: boolean | undefined;
11820
+ orgChart?: Record<string, {
11821
+ role: string;
11822
+ schedule: {
11823
+ end: string;
11824
+ start: string;
11825
+ days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
11826
+ lunch?: {
11827
+ end: string;
11828
+ start: string;
11829
+ } | undefined;
11830
+ };
11831
+ reportsTo?: string | undefined;
11832
+ utilizationTarget?: number | undefined;
11833
+ }> | undefined;
11834
+ projects?: {
11835
+ id: string;
11836
+ pm?: string | undefined;
11837
+ client?: string | undefined;
11838
+ }[] | undefined;
11839
+ timezone?: string | undefined;
11840
+ mainChannel?: {
11841
+ channel: string;
11842
+ chatId: string;
11843
+ accountId?: string | undefined;
11844
+ } | undefined;
11845
+ workSource?: {
11846
+ type: "backlog";
11847
+ path?: string | undefined;
11848
+ } | {
11849
+ type: "gitlab";
11850
+ projects?: string[] | undefined;
11851
+ } | {
11852
+ path: string;
11853
+ type: "wiki";
11854
+ glob?: string | undefined;
11855
+ } | undefined;
11856
+ roles?: Record<string, {
11857
+ title: string;
11858
+ responsibilities?: string[] | undefined;
11859
+ sopPath?: string | undefined;
11860
+ kpis?: string[] | undefined;
11861
+ }> | undefined;
11862
+ relations?: {
11863
+ type: "reports-to" | "dotted-line" | "acts-for";
11864
+ to: string;
11865
+ from: string;
11866
+ }[] | undefined;
11867
+ contactMap?: {
11868
+ client: string;
11869
+ channel?: string | undefined;
11870
+ chatId?: string | undefined;
11871
+ username?: string | undefined;
11872
+ senderId?: string | undefined;
11873
+ project?: string | undefined;
11874
+ displayName?: string | undefined;
11875
+ }[] | undefined;
11876
+ clients?: Record<string, {
11877
+ name?: string | undefined;
11878
+ kind?: "client" | "internal" | "own" | undefined;
11879
+ respondWithin?: string | undefined;
11880
+ standing?: string[] | undefined;
11881
+ }> | undefined;
11882
+ workTickMinutes?: number | undefined;
11883
+ idleQueueThreshold?: number | undefined;
11884
+ standup?: {
11885
+ enabled?: boolean | undefined;
11886
+ plansDir?: string | undefined;
11887
+ maxAgentsPerDay?: number | undefined;
11888
+ dryRun?: boolean | undefined;
11889
+ } | undefined;
11890
+ } | undefined;
11783
11891
  wiki?: {
11784
11892
  query?: {
11785
11893
  method?: "auto" | "summaries" | "catalog" | undefined;
@@ -11963,74 +12071,6 @@ declare const daemonConfigSchema: z.ZodObject<{
11963
12071
  events?: {
11964
12072
  ringSize?: number | undefined;
11965
12073
  } | undefined;
11966
- business?: {
11967
- enabled?: boolean | undefined;
11968
- projects?: {
11969
- id: string;
11970
- pm?: string | undefined;
11971
- client?: string | undefined;
11972
- }[] | undefined;
11973
- timezone?: string | undefined;
11974
- mainChannel?: {
11975
- channel: string;
11976
- chatId: string;
11977
- accountId?: string | undefined;
11978
- } | undefined;
11979
- workSource?: {
11980
- type: "backlog";
11981
- path?: string | undefined;
11982
- } | {
11983
- type: "gitlab";
11984
- projects?: string[] | undefined;
11985
- } | {
11986
- path: string;
11987
- type: "wiki";
11988
- glob?: string | undefined;
11989
- } | undefined;
11990
- roles?: Record<string, {
11991
- title: string;
11992
- responsibilities?: string[] | undefined;
11993
- sopPath?: string | undefined;
11994
- kpis?: string[] | undefined;
11995
- }> | undefined;
11996
- orgChart?: Record<string, {
11997
- role: string;
11998
- schedule: {
11999
- end: string;
12000
- start: string;
12001
- days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
12002
- lunch?: {
12003
- end: string;
12004
- start: string;
12005
- } | undefined;
12006
- };
12007
- reportsTo?: string | undefined;
12008
- utilizationTarget?: number | undefined;
12009
- }> | undefined;
12010
- contactMap?: {
12011
- client: string;
12012
- channel?: string | undefined;
12013
- chatId?: string | undefined;
12014
- username?: string | undefined;
12015
- senderId?: string | undefined;
12016
- project?: string | undefined;
12017
- displayName?: string | undefined;
12018
- }[] | undefined;
12019
- clients?: Record<string, {
12020
- name?: string | undefined;
12021
- kind?: "client" | "internal" | "own" | undefined;
12022
- respondWithin?: string | undefined;
12023
- standing?: string[] | undefined;
12024
- }> | undefined;
12025
- workTickMinutes?: number | undefined;
12026
- idleQueueThreshold?: number | undefined;
12027
- standup?: {
12028
- enabled?: boolean | undefined;
12029
- plansDir?: string | undefined;
12030
- maxAgentsPerDay?: number | undefined;
12031
- dryRun?: boolean | undefined;
12032
- } | undefined;
12033
- } | undefined;
12034
12074
  native?: {
12035
12075
  notes?: {
12036
12076
  enabled?: boolean | undefined;
@@ -16151,8 +16191,8 @@ declare const classificationSchema: z.ZodObject<{
16151
16191
  };
16152
16192
  channel?: string | undefined;
16153
16193
  preview?: string | undefined;
16154
- chatId?: string | undefined;
16155
16194
  agentId?: string | undefined;
16195
+ chatId?: string | undefined;
16156
16196
  sender?: string | undefined;
16157
16197
  confidence?: number | undefined;
16158
16198
  }, {
@@ -16163,8 +16203,8 @@ declare const classificationSchema: z.ZodObject<{
16163
16203
  msgHash: string;
16164
16204
  channel?: string | undefined;
16165
16205
  preview?: string | undefined;
16166
- chatId?: string | undefined;
16167
16206
  agentId?: string | undefined;
16207
+ chatId?: string | undefined;
16168
16208
  sender?: string | undefined;
16169
16209
  confidence?: number | undefined;
16170
16210
  proposedAxes?: Record<string, Record<string, string>> | undefined;
@@ -16807,8 +16847,8 @@ declare const pausedAtSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
16807
16847
  reminds: z.ZodOptional<z.ZodString>;
16808
16848
  }, "strip", z.ZodTypeAny, {
16809
16849
  channel: string;
16810
- chatId: string;
16811
16850
  kind: "replyWait";
16851
+ chatId: string;
16812
16852
  reminders: number;
16813
16853
  nodeId: string;
16814
16854
  deadline: string;
@@ -16820,8 +16860,8 @@ declare const pausedAtSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
16820
16860
  reminds?: string | undefined;
16821
16861
  }, {
16822
16862
  channel: string;
16823
- chatId: string;
16824
16863
  kind: "replyWait";
16864
+ chatId: string;
16825
16865
  nodeId: string;
16826
16866
  deadline: string;
16827
16867
  from?: string | undefined;
@@ -17227,8 +17267,8 @@ declare const workflowRunSchema: z.ZodObject<{
17227
17267
  reminds: z.ZodOptional<z.ZodString>;
17228
17268
  }, "strip", z.ZodTypeAny, {
17229
17269
  channel: string;
17230
- chatId: string;
17231
17270
  kind: "replyWait";
17271
+ chatId: string;
17232
17272
  reminders: number;
17233
17273
  nodeId: string;
17234
17274
  deadline: string;
@@ -17240,8 +17280,8 @@ declare const workflowRunSchema: z.ZodObject<{
17240
17280
  reminds?: string | undefined;
17241
17281
  }, {
17242
17282
  channel: string;
17243
- chatId: string;
17244
17283
  kind: "replyWait";
17284
+ chatId: string;
17245
17285
  nodeId: string;
17246
17286
  deadline: string;
17247
17287
  from?: string | undefined;
@@ -17691,8 +17731,8 @@ declare const workflowRunSchema: z.ZodObject<{
17691
17731
  } | undefined;
17692
17732
  } | {
17693
17733
  channel: string;
17694
- chatId: string;
17695
17734
  kind: "replyWait";
17735
+ chatId: string;
17696
17736
  reminders: number;
17697
17737
  nodeId: string;
17698
17738
  deadline: string;
@@ -17816,8 +17856,8 @@ declare const workflowRunSchema: z.ZodObject<{
17816
17856
  } | undefined;
17817
17857
  } | {
17818
17858
  channel: string;
17819
- chatId: string;
17820
17859
  kind: "replyWait";
17860
+ chatId: string;
17821
17861
  nodeId: string;
17822
17862
  deadline: string;
17823
17863
  from?: string | undefined;
@@ -18901,6 +18941,22 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
18901
18941
  reportsTo?: string | undefined;
18902
18942
  utilizationTarget?: number | undefined;
18903
18943
  }>>>;
18944
+ /** Typed relations between org members (#1418): `agent:<id>` or
18945
+ * `person:<id>`, a bare id being an agent. An orgChart `reportsTo` is
18946
+ * read as `reports-to`, so it needs no entry here. See relations.ts. */
18947
+ relations: z.ZodDefault<z.ZodArray<z.ZodObject<{
18948
+ from: z.ZodString;
18949
+ to: z.ZodString;
18950
+ type: z.ZodEnum<["reports-to", "dotted-line", "acts-for"]>;
18951
+ }, "strip", z.ZodTypeAny, {
18952
+ type: "reports-to" | "dotted-line" | "acts-for";
18953
+ to: string;
18954
+ from: string;
18955
+ }, {
18956
+ type: "reports-to" | "dotted-line" | "acts-for";
18957
+ to: string;
18958
+ from: string;
18959
+ }>, "many">>;
18904
18960
  /** Per-project metadata. Phase 3 — defaults to empty array, so
18905
18961
  * existing agentx.json files validate without modification. */
18906
18962
  projects: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -19023,6 +19079,20 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19023
19079
  }>>;
19024
19080
  }, "strip", z.ZodTypeAny, {
19025
19081
  enabled: boolean;
19082
+ orgChart: Record<string, {
19083
+ role: string;
19084
+ schedule: {
19085
+ end: string;
19086
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
19087
+ start: string;
19088
+ lunch?: {
19089
+ end: string;
19090
+ start: string;
19091
+ } | undefined;
19092
+ };
19093
+ utilizationTarget: number;
19094
+ reportsTo?: string | undefined;
19095
+ }>;
19026
19096
  projects: {
19027
19097
  id: string;
19028
19098
  pm?: string | undefined;
@@ -19046,20 +19116,11 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19046
19116
  kpis: string[];
19047
19117
  sopPath?: string | undefined;
19048
19118
  }>;
19049
- orgChart: Record<string, {
19050
- role: string;
19051
- schedule: {
19052
- end: string;
19053
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
19054
- start: string;
19055
- lunch?: {
19056
- end: string;
19057
- start: string;
19058
- } | undefined;
19059
- };
19060
- utilizationTarget: number;
19061
- reportsTo?: string | undefined;
19062
- }>;
19119
+ relations: {
19120
+ type: "reports-to" | "dotted-line" | "acts-for";
19121
+ to: string;
19122
+ from: string;
19123
+ }[];
19063
19124
  contactMap: {
19064
19125
  client: string;
19065
19126
  channel?: string | undefined;
@@ -19090,6 +19151,20 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19090
19151
  } | undefined;
19091
19152
  }, {
19092
19153
  enabled?: boolean | undefined;
19154
+ orgChart?: Record<string, {
19155
+ role: string;
19156
+ schedule: {
19157
+ end: string;
19158
+ start: string;
19159
+ days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
19160
+ lunch?: {
19161
+ end: string;
19162
+ start: string;
19163
+ } | undefined;
19164
+ };
19165
+ reportsTo?: string | undefined;
19166
+ utilizationTarget?: number | undefined;
19167
+ }> | undefined;
19093
19168
  projects?: {
19094
19169
  id: string;
19095
19170
  pm?: string | undefined;
@@ -19118,20 +19193,11 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19118
19193
  sopPath?: string | undefined;
19119
19194
  kpis?: string[] | undefined;
19120
19195
  }> | undefined;
19121
- orgChart?: Record<string, {
19122
- role: string;
19123
- schedule: {
19124
- end: string;
19125
- start: string;
19126
- days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
19127
- lunch?: {
19128
- end: string;
19129
- start: string;
19130
- } | undefined;
19131
- };
19132
- reportsTo?: string | undefined;
19133
- utilizationTarget?: number | undefined;
19134
- }> | undefined;
19196
+ relations?: {
19197
+ type: "reports-to" | "dotted-line" | "acts-for";
19198
+ to: string;
19199
+ from: string;
19200
+ }[] | undefined;
19135
19201
  contactMap?: {
19136
19202
  client: string;
19137
19203
  channel?: string | undefined;
@@ -19157,6 +19223,20 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19157
19223
  } | undefined;
19158
19224
  }>, {
19159
19225
  enabled: boolean;
19226
+ orgChart: Record<string, {
19227
+ role: string;
19228
+ schedule: {
19229
+ end: string;
19230
+ days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
19231
+ start: string;
19232
+ lunch?: {
19233
+ end: string;
19234
+ start: string;
19235
+ } | undefined;
19236
+ };
19237
+ utilizationTarget: number;
19238
+ reportsTo?: string | undefined;
19239
+ }>;
19160
19240
  projects: {
19161
19241
  id: string;
19162
19242
  pm?: string | undefined;
@@ -19180,20 +19260,11 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19180
19260
  kpis: string[];
19181
19261
  sopPath?: string | undefined;
19182
19262
  }>;
19183
- orgChart: Record<string, {
19184
- role: string;
19185
- schedule: {
19186
- end: string;
19187
- days: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[];
19188
- start: string;
19189
- lunch?: {
19190
- end: string;
19191
- start: string;
19192
- } | undefined;
19193
- };
19194
- utilizationTarget: number;
19195
- reportsTo?: string | undefined;
19196
- }>;
19263
+ relations: {
19264
+ type: "reports-to" | "dotted-line" | "acts-for";
19265
+ to: string;
19266
+ from: string;
19267
+ }[];
19197
19268
  contactMap: {
19198
19269
  client: string;
19199
19270
  channel?: string | undefined;
@@ -19224,6 +19295,20 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19224
19295
  } | undefined;
19225
19296
  }, {
19226
19297
  enabled?: boolean | undefined;
19298
+ orgChart?: Record<string, {
19299
+ role: string;
19300
+ schedule: {
19301
+ end: string;
19302
+ start: string;
19303
+ days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
19304
+ lunch?: {
19305
+ end: string;
19306
+ start: string;
19307
+ } | undefined;
19308
+ };
19309
+ reportsTo?: string | undefined;
19310
+ utilizationTarget?: number | undefined;
19311
+ }> | undefined;
19227
19312
  projects?: {
19228
19313
  id: string;
19229
19314
  pm?: string | undefined;
@@ -19252,20 +19337,11 @@ declare const businessConfigSchema: z.ZodEffects<z.ZodObject<{
19252
19337
  sopPath?: string | undefined;
19253
19338
  kpis?: string[] | undefined;
19254
19339
  }> | undefined;
19255
- orgChart?: Record<string, {
19256
- role: string;
19257
- schedule: {
19258
- end: string;
19259
- start: string;
19260
- days?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[] | undefined;
19261
- lunch?: {
19262
- end: string;
19263
- start: string;
19264
- } | undefined;
19265
- };
19266
- reportsTo?: string | undefined;
19267
- utilizationTarget?: number | undefined;
19268
- }> | undefined;
19340
+ relations?: {
19341
+ type: "reports-to" | "dotted-line" | "acts-for";
19342
+ to: string;
19343
+ from: string;
19344
+ }[] | undefined;
19269
19345
  contactMap?: {
19270
19346
  client: string;
19271
19347
  channel?: string | undefined;
@@ -19294,10 +19370,20 @@ type BusinessConfig = z.infer<typeof businessConfigSchema>;
19294
19370
  type BusinessRole = z.infer<typeof roleSchema>;
19295
19371
  type BusinessOrgEntry = z.infer<typeof orgEntrySchema>;
19296
19372
 
19373
+ declare const RELATION_TYPES: readonly ["reports-to", "dotted-line", "acts-for"];
19374
+ type RelationType = typeof RELATION_TYPES[number];
19375
+ /** A relation with both ends written in full: `agent:<id>` or `person:<id>`. */
19376
+ interface OrgRelation {
19377
+ from: string;
19378
+ to: string;
19379
+ type: RelationType;
19380
+ }
19381
+
19297
19382
  interface EmployeeProfile {
19298
19383
  agentId: string;
19299
19384
  role: BusinessRole;
19300
19385
  roleKey: string;
19386
+ /** Reports-to boss from the typed relations: a bare id for an agent, `person:<id>` for a person. */
19301
19387
  reportsTo?: string;
19302
19388
  schedule: BusinessOrgEntry["schedule"];
19303
19389
  utilizationTarget: number;
@@ -19305,12 +19391,27 @@ interface EmployeeProfile {
19305
19391
  declare class Organization {
19306
19392
  private employees;
19307
19393
  private projects;
19308
- constructor(config: BusinessConfig);
19394
+ private relationList;
19395
+ /** Member → its reports-to boss, both written in full (`agent:x`, `person:y`). */
19396
+ private bosses;
19397
+ private people;
19398
+ /** `people`: the top-level people list, so a person can sit in the org. */
19399
+ constructor(config: BusinessConfig, people?: ReadonlyArray<{
19400
+ id: string;
19401
+ name?: string;
19402
+ }>);
19309
19403
  get(agentId: string): EmployeeProfile | undefined;
19310
19404
  all(): EmployeeProfile[];
19311
- reportsTo(agentId: string): string | undefined;
19312
- directReports(agentId: string): string[];
19313
- /** Walk up the org tree to the root. First element is `agentId` itself. */
19405
+ /** Every relation, reportsTo included, with both ends written in full. */
19406
+ relations(): OrgRelation[];
19407
+ /** The member's reports-to boss: a bare id for an agent, `person:<id>` for a person. */
19408
+ reportsTo(member: string): string | undefined;
19409
+ /** A member for people to read: an agent's id, or a person's name. */
19410
+ memberLabel(member: string): string;
19411
+ /** The agents whose reports-to boss is `member`. */
19412
+ directReports(member: string): string[];
19413
+ /** Walk up reports-to to the root. First element is `agentId` itself.
19414
+ * Agents only: the walk stops before a person, who is never dispatched to. */
19314
19415
  chainOfCommand(agentId: string): string[];
19315
19416
  /**
19316
19417
  * Phase 3 — PM lookup. Returns the agentId of the PM responsible