agentix-cli 0.75.3 → 0.77.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 (122) hide show
  1. package/dist/{App-N2ZWRJKV.js → App-UNWLWLH5.js} +2 -2
  2. package/dist/{ChatApp-PGQKQBHF.js → ChatApp-UBSOVFRK.js} +2 -2
  3. package/dist/{agent-B46X7Y6V.js → agent-XWWWL5RV.js} +2 -2
  4. package/dist/{board-dashboard-7EZ2VOUK.js → board-dashboard-WFC3GT3R.js} +16 -15
  5. package/dist/board-dashboard-WFC3GT3R.js.map +1 -0
  6. package/dist/{chunk-663BLK67.js → chunk-2XICJMS6.js} +32 -32
  7. package/dist/chunk-2XICJMS6.js.map +1 -0
  8. package/dist/{chunk-S5JGQKON.js → chunk-4STRKIUA.js} +2 -2
  9. package/dist/{chunk-IR2Q63IV.js → chunk-53J2D2ZJ.js} +2 -2
  10. package/dist/{chunk-F2RIMHW5.js → chunk-6HUDHMAC.js} +2 -2
  11. package/dist/{chunk-62EJKQFX.js → chunk-73BELGMX.js} +2 -2
  12. package/dist/{chunk-CXZ4YDHJ.js → chunk-DBXN7I2X.js} +5 -5
  13. package/dist/{chunk-CXZ4YDHJ.js.map → chunk-DBXN7I2X.js.map} +1 -1
  14. package/dist/{chunk-PUU2ESI2.js → chunk-FWDWHZ6H.js} +2 -2
  15. package/dist/{chunk-C4CDVE2E.js → chunk-GCYD2XAF.js} +14 -156
  16. package/dist/chunk-GCYD2XAF.js.map +1 -0
  17. package/dist/{chunk-UJ5JLS6Z.js → chunk-GTZDTKDW.js} +2 -2
  18. package/dist/{chunk-6CCJMHBA.js → chunk-GX4U2ILS.js} +2 -2
  19. package/dist/{chunk-VJ7AFHJ6.js → chunk-H4RCKWJA.js} +2 -2
  20. package/dist/{chunk-LQRBGQIR.js → chunk-HMZQQLFH.js} +156 -14
  21. package/dist/chunk-HMZQQLFH.js.map +1 -0
  22. package/dist/{chunk-CUXYJNWT.js → chunk-IMVW5ZSY.js} +2 -2
  23. package/dist/{chunk-NZZVUEWI.js → chunk-J2DYNAHG.js} +471 -238
  24. package/dist/chunk-J2DYNAHG.js.map +1 -0
  25. package/dist/{chunk-NWL5KPBJ.js → chunk-JQXP3JWF.js} +2 -2
  26. package/dist/{chunk-Q2FFZX7Y.js → chunk-JVJYCR67.js} +2 -2
  27. package/dist/{chunk-JGEHN4VE.js → chunk-KEPK7ZZ2.js} +2 -2
  28. package/dist/{chunk-2HMI5PJG.js → chunk-LQJNRSCT.js} +2 -2
  29. package/dist/{chunk-QIN6PV4J.js → chunk-N45WKCAR.js} +235 -235
  30. package/dist/chunk-N45WKCAR.js.map +1 -0
  31. package/dist/{chunk-CAVAMWI5.js → chunk-NWP44FEW.js} +2 -2
  32. package/dist/{chunk-PBUJBWOF.js → chunk-R7AS5M32.js} +5 -5
  33. package/dist/{chunk-BYJ3A55Y.js → chunk-S2GAEH2F.js} +2 -2
  34. package/dist/{chunk-KHEI4VNM.js → chunk-TVORP6BW.js} +2 -2
  35. package/dist/{chunk-55RM7V4N.js → chunk-U6XM4M5V.js} +2 -2
  36. package/dist/{chunk-RGTHA2EI.js → chunk-WEUF5WRR.js} +2 -2
  37. package/dist/{chunk-TS4JCBSP.js → chunk-XF4LA7EB.js} +37 -37
  38. package/dist/chunk-XF4LA7EB.js.map +1 -0
  39. package/dist/chunk-Y4CYQV7G.js +3 -0
  40. package/dist/chunk-Y4CYQV7G.js.map +1 -0
  41. package/dist/cli.js +1 -1
  42. package/dist/cli.js.map +1 -1
  43. package/dist/client-OAAE3KM5.js +2 -0
  44. package/dist/{config-A23CU2XT.js → config-44LINWKG.js} +2 -2
  45. package/dist/config-mutator-P6QEABPU.js +2 -0
  46. package/dist/{doctor-6RUMFTIH.js → doctor-OXR3VXX6.js} +2 -2
  47. package/dist/index.d.ts +190 -16
  48. package/dist/index.js +1 -1
  49. package/dist/index.js.map +1 -1
  50. package/dist/processes-BAHHZN34.js +2 -0
  51. package/dist/program-UE4MYPA6.js +2 -0
  52. package/dist/{promote-PMMUU4G2.js → promote-72BY34SI.js} +2 -2
  53. package/dist/{query-CB6FV6JU.js → query-AJO3NOO6.js} +2 -2
  54. package/dist/{registry-A2LPURNS.js → registry-AFNYREN2.js} +2 -2
  55. package/dist/{request-planner-44WOTYCY.js → request-planner-Q74NYFRJ.js} +2 -2
  56. package/dist/{review-candidates-BZLS37MN.js → review-candidates-ZBBIPFJT.js} +2 -2
  57. package/dist/{routing-CPLPRA2E.js → routing-7VU524EZ.js} +2 -2
  58. package/dist/schedule-tool-6RRXRW5K.js +2 -0
  59. package/dist/scheduler-WA4KTCCU.js +2 -0
  60. package/dist/{seat-CBAZAYGY.js → seat-MKY332GD.js} +2 -2
  61. package/dist/{select-4CW3CXBU.js → select-FZX63JK5.js} +2 -2
  62. package/dist/{set-enabled-QNSLVBGT.js → set-enabled-RNDSUIYU.js} +2 -2
  63. package/dist/tool-XBSFEGWW.js +4 -0
  64. package/dist/tool-XBSFEGWW.js.map +1 -0
  65. package/dist/wiki-ZOK6XGIX.js +2 -0
  66. package/package.json +1 -1
  67. package/dist/board-dashboard-7EZ2VOUK.js.map +0 -1
  68. package/dist/chunk-663BLK67.js.map +0 -1
  69. package/dist/chunk-C4CDVE2E.js.map +0 -1
  70. package/dist/chunk-LQRBGQIR.js.map +0 -1
  71. package/dist/chunk-NZZVUEWI.js.map +0 -1
  72. package/dist/chunk-QIN6PV4J.js.map +0 -1
  73. package/dist/chunk-TS4JCBSP.js.map +0 -1
  74. package/dist/client-5DVNJ4VZ.js +0 -2
  75. package/dist/config-mutator-WDZ6F6Q4.js +0 -2
  76. package/dist/processes-TGFDGQYY.js +0 -2
  77. package/dist/program-MVCIUWJ5.js +0 -2
  78. package/dist/schedule-tool-4I3QUXJK.js +0 -2
  79. package/dist/scheduler-LJ32FB5N.js +0 -2
  80. package/dist/tool-544FGIJK.js +0 -2
  81. package/dist/tool-544FGIJK.js.map +0 -1
  82. package/dist/wiki-4LKOLCP4.js +0 -2
  83. /package/dist/{App-N2ZWRJKV.js.map → App-UNWLWLH5.js.map} +0 -0
  84. /package/dist/{ChatApp-PGQKQBHF.js.map → ChatApp-UBSOVFRK.js.map} +0 -0
  85. /package/dist/{agent-B46X7Y6V.js.map → agent-XWWWL5RV.js.map} +0 -0
  86. /package/dist/{chunk-S5JGQKON.js.map → chunk-4STRKIUA.js.map} +0 -0
  87. /package/dist/{chunk-IR2Q63IV.js.map → chunk-53J2D2ZJ.js.map} +0 -0
  88. /package/dist/{chunk-F2RIMHW5.js.map → chunk-6HUDHMAC.js.map} +0 -0
  89. /package/dist/{chunk-62EJKQFX.js.map → chunk-73BELGMX.js.map} +0 -0
  90. /package/dist/{chunk-PUU2ESI2.js.map → chunk-FWDWHZ6H.js.map} +0 -0
  91. /package/dist/{chunk-UJ5JLS6Z.js.map → chunk-GTZDTKDW.js.map} +0 -0
  92. /package/dist/{chunk-6CCJMHBA.js.map → chunk-GX4U2ILS.js.map} +0 -0
  93. /package/dist/{chunk-VJ7AFHJ6.js.map → chunk-H4RCKWJA.js.map} +0 -0
  94. /package/dist/{chunk-CUXYJNWT.js.map → chunk-IMVW5ZSY.js.map} +0 -0
  95. /package/dist/{chunk-NWL5KPBJ.js.map → chunk-JQXP3JWF.js.map} +0 -0
  96. /package/dist/{chunk-Q2FFZX7Y.js.map → chunk-JVJYCR67.js.map} +0 -0
  97. /package/dist/{chunk-JGEHN4VE.js.map → chunk-KEPK7ZZ2.js.map} +0 -0
  98. /package/dist/{chunk-2HMI5PJG.js.map → chunk-LQJNRSCT.js.map} +0 -0
  99. /package/dist/{chunk-CAVAMWI5.js.map → chunk-NWP44FEW.js.map} +0 -0
  100. /package/dist/{chunk-PBUJBWOF.js.map → chunk-R7AS5M32.js.map} +0 -0
  101. /package/dist/{chunk-BYJ3A55Y.js.map → chunk-S2GAEH2F.js.map} +0 -0
  102. /package/dist/{chunk-KHEI4VNM.js.map → chunk-TVORP6BW.js.map} +0 -0
  103. /package/dist/{chunk-55RM7V4N.js.map → chunk-U6XM4M5V.js.map} +0 -0
  104. /package/dist/{chunk-RGTHA2EI.js.map → chunk-WEUF5WRR.js.map} +0 -0
  105. /package/dist/{client-5DVNJ4VZ.js.map → client-OAAE3KM5.js.map} +0 -0
  106. /package/dist/{config-A23CU2XT.js.map → config-44LINWKG.js.map} +0 -0
  107. /package/dist/{config-mutator-WDZ6F6Q4.js.map → config-mutator-P6QEABPU.js.map} +0 -0
  108. /package/dist/{doctor-6RUMFTIH.js.map → doctor-OXR3VXX6.js.map} +0 -0
  109. /package/dist/{processes-TGFDGQYY.js.map → processes-BAHHZN34.js.map} +0 -0
  110. /package/dist/{program-MVCIUWJ5.js.map → program-UE4MYPA6.js.map} +0 -0
  111. /package/dist/{promote-PMMUU4G2.js.map → promote-72BY34SI.js.map} +0 -0
  112. /package/dist/{query-CB6FV6JU.js.map → query-AJO3NOO6.js.map} +0 -0
  113. /package/dist/{registry-A2LPURNS.js.map → registry-AFNYREN2.js.map} +0 -0
  114. /package/dist/{request-planner-44WOTYCY.js.map → request-planner-Q74NYFRJ.js.map} +0 -0
  115. /package/dist/{review-candidates-BZLS37MN.js.map → review-candidates-ZBBIPFJT.js.map} +0 -0
  116. /package/dist/{routing-CPLPRA2E.js.map → routing-7VU524EZ.js.map} +0 -0
  117. /package/dist/{schedule-tool-4I3QUXJK.js.map → schedule-tool-6RRXRW5K.js.map} +0 -0
  118. /package/dist/{scheduler-LJ32FB5N.js.map → scheduler-WA4KTCCU.js.map} +0 -0
  119. /package/dist/{seat-CBAZAYGY.js.map → seat-MKY332GD.js.map} +0 -0
  120. /package/dist/{select-4CW3CXBU.js.map → select-FZX63JK5.js.map} +0 -0
  121. /package/dist/{set-enabled-QNSLVBGT.js.map → set-enabled-RNDSUIYU.js.map} +0 -0
  122. /package/dist/{wiki-4LKOLCP4.js.map → wiki-ZOK6XGIX.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4425,6 +4425,85 @@ declare const daemonConfigSchema: z.ZodObject<{
4425
4425
  accountId?: string | undefined;
4426
4426
  } | undefined;
4427
4427
  }>>;
4428
+ /** A popup on this Mac for new decision cards: sound, a spoken line,
4429
+ * ready-made choices. Held during Focus. macOS only. */
4430
+ popup: z.ZodDefault<z.ZodObject<{
4431
+ enabled: z.ZodDefault<z.ZodBoolean>;
4432
+ /** "card": a small web window; "dialog": plain macOS dialogs. */
4433
+ style: z.ZodDefault<z.ZodEnum<["card", "dialog"]>>;
4434
+ /** The card's colours; "system" follows light or dark mode. */
4435
+ theme: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
4436
+ /** Speak a short line when it opens. */
4437
+ speak: z.ZodDefault<z.ZodBoolean>;
4438
+ /** A macOS voice name for `say -v`. Unset: the system voice. */
4439
+ voice: z.ZodOptional<z.ZodString>;
4440
+ /** "chime" (a soft chime played by the card), a system sound from
4441
+ * /System/Library/Sounds like Glass, or "" for none. */
4442
+ sound: z.ZodDefault<z.ZodString>;
4443
+ volume: z.ZodDefault<z.ZodNumber>;
4444
+ /** Seconds the popup waits for an answer; then the card stays in the inbox. */
4445
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
4446
+ }, "strip", z.ZodTypeAny, {
4447
+ enabled: boolean;
4448
+ style: "card" | "dialog";
4449
+ sound: string;
4450
+ volume: number;
4451
+ theme: "system" | "light" | "dark";
4452
+ speak: boolean;
4453
+ timeoutSeconds: number;
4454
+ voice?: string | undefined;
4455
+ }, {
4456
+ enabled?: boolean | undefined;
4457
+ style?: "card" | "dialog" | undefined;
4458
+ voice?: string | undefined;
4459
+ sound?: string | undefined;
4460
+ volume?: number | undefined;
4461
+ theme?: "system" | "light" | "dark" | undefined;
4462
+ speak?: boolean | undefined;
4463
+ timeoutSeconds?: number | undefined;
4464
+ }>>;
4465
+ /** Check-ins (src/approvals/checkin.ts): a few times a day, waiting cards
4466
+ * come back to the Mac card and the operator's open Apple Reminders get
4467
+ * a card written by the agent that owns them. macOS only. */
4468
+ checkin: z.ZodDefault<z.ZodObject<{
4469
+ enabled: z.ZodDefault<z.ZodBoolean>;
4470
+ /** Local times of a normal pass: reminders due soon, and waiting cards. */
4471
+ times: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4472
+ /** Local time of the daily pass: every open reminder. */
4473
+ dailyAt: z.ZodDefault<z.ZodString>;
4474
+ /** IANA timezone for the times. Unset: this machine's. */
4475
+ timezone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4476
+ /** The operator's Reminders lists to look at. */
4477
+ lists: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4478
+ /** Agent that writes cards for reminders without an agentx trailer. */
4479
+ agent: z.ZodOptional<z.ZodString>;
4480
+ /** A normal pass takes reminders due within this many hours, or overdue. */
4481
+ dueWithinHours: z.ZodDefault<z.ZodNumber>;
4482
+ /** Most agents one pass asks to write a card, whatever they answer. */
4483
+ maxAsksPerPass: z.ZodDefault<z.ZodNumber>;
4484
+ /** How long an agent may take to write one card. */
4485
+ composeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
4486
+ }, "strip", z.ZodTypeAny, {
4487
+ enabled: boolean;
4488
+ times: string[];
4489
+ dailyAt: string;
4490
+ lists: string[];
4491
+ dueWithinHours: number;
4492
+ maxAsksPerPass: number;
4493
+ composeTimeoutSeconds: number;
4494
+ agent?: string | undefined;
4495
+ timezone?: string | undefined;
4496
+ }, {
4497
+ enabled?: boolean | undefined;
4498
+ agent?: string | undefined;
4499
+ timezone?: string | undefined;
4500
+ times?: string[] | undefined;
4501
+ dailyAt?: string | undefined;
4502
+ lists?: string[] | undefined;
4503
+ dueWithinHours?: number | undefined;
4504
+ maxAsksPerPass?: number | undefined;
4505
+ composeTimeoutSeconds?: number | undefined;
4506
+ }>>;
4428
4507
  }, "strip", z.ZodTypeAny, {
4429
4508
  digest: {
4430
4509
  enabled: boolean;
@@ -4440,6 +4519,27 @@ declare const daemonConfigSchema: z.ZodObject<{
4440
4519
  maxExpiryDays: number;
4441
4520
  laterHours: number;
4442
4521
  notifyAgent: boolean;
4522
+ popup: {
4523
+ enabled: boolean;
4524
+ style: "card" | "dialog";
4525
+ sound: string;
4526
+ volume: number;
4527
+ theme: "system" | "light" | "dark";
4528
+ speak: boolean;
4529
+ timeoutSeconds: number;
4530
+ voice?: string | undefined;
4531
+ };
4532
+ checkin: {
4533
+ enabled: boolean;
4534
+ times: string[];
4535
+ dailyAt: string;
4536
+ lists: string[];
4537
+ dueWithinHours: number;
4538
+ maxAsksPerPass: number;
4539
+ composeTimeoutSeconds: number;
4540
+ agent?: string | undefined;
4541
+ timezone?: string | undefined;
4542
+ };
4443
4543
  }, {
4444
4544
  digest?: {
4445
4545
  enabled?: boolean | undefined;
@@ -4455,6 +4555,27 @@ declare const daemonConfigSchema: z.ZodObject<{
4455
4555
  maxExpiryDays?: number | undefined;
4456
4556
  laterHours?: number | undefined;
4457
4557
  notifyAgent?: boolean | undefined;
4558
+ popup?: {
4559
+ enabled?: boolean | undefined;
4560
+ style?: "card" | "dialog" | undefined;
4561
+ voice?: string | undefined;
4562
+ sound?: string | undefined;
4563
+ volume?: number | undefined;
4564
+ theme?: "system" | "light" | "dark" | undefined;
4565
+ speak?: boolean | undefined;
4566
+ timeoutSeconds?: number | undefined;
4567
+ } | undefined;
4568
+ checkin?: {
4569
+ enabled?: boolean | undefined;
4570
+ agent?: string | undefined;
4571
+ timezone?: string | undefined;
4572
+ times?: string[] | undefined;
4573
+ dailyAt?: string | undefined;
4574
+ lists?: string[] | undefined;
4575
+ dueWithinHours?: number | undefined;
4576
+ maxAsksPerPass?: number | undefined;
4577
+ composeTimeoutSeconds?: number | undefined;
4578
+ } | undefined;
4458
4579
  }>>;
4459
4580
  /** How a daemon stop treats runs still in flight. */
4460
4581
  shutdown: z.ZodDefault<z.ZodObject<{
@@ -4928,6 +5049,10 @@ declare const daemonConfigSchema: z.ZodObject<{
4928
5049
  }, "strip", z.ZodTypeAny, {
4929
5050
  provider: "system" | "elevenlabs";
4930
5051
  fallback: "system" | "none";
5052
+ card: {
5053
+ timeout: number;
5054
+ maxHeight: number;
5055
+ };
4931
5056
  locale: string;
4932
5057
  stt: "auto" | "local" | "elevenlabs";
4933
5058
  allowUnmeasured: boolean;
@@ -4938,16 +5063,16 @@ declare const daemonConfigSchema: z.ZodObject<{
4938
5063
  talk: string;
4939
5064
  paste: string;
4940
5065
  };
4941
- card: {
4942
- timeout: number;
4943
- maxHeight: number;
4944
- };
4945
5066
  system?: string | Record<string, string> | undefined;
4946
5067
  listener?: string | undefined;
4947
5068
  }, {
4948
5069
  system?: string | Record<string, string> | undefined;
4949
5070
  provider?: "system" | "elevenlabs" | undefined;
4950
5071
  fallback?: "system" | "none" | undefined;
5072
+ card?: {
5073
+ timeout?: number | undefined;
5074
+ maxHeight?: number | undefined;
5075
+ } | undefined;
4951
5076
  locale?: string | undefined;
4952
5077
  listener?: string | undefined;
4953
5078
  stt?: "auto" | "local" | "elevenlabs" | undefined;
@@ -4959,10 +5084,6 @@ declare const daemonConfigSchema: z.ZodObject<{
4959
5084
  talk?: string | undefined;
4960
5085
  paste?: string | undefined;
4961
5086
  } | undefined;
4962
- card?: {
4963
- timeout?: number | undefined;
4964
- maxHeight?: number | undefined;
4965
- } | undefined;
4966
5087
  }>>;
4967
5088
  business: z.ZodOptional<z.ZodObject<{
4968
5089
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -6363,6 +6484,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6363
6484
  voice: {
6364
6485
  provider: "system" | "elevenlabs";
6365
6486
  fallback: "system" | "none";
6487
+ card: {
6488
+ timeout: number;
6489
+ maxHeight: number;
6490
+ };
6366
6491
  locale: string;
6367
6492
  stt: "auto" | "local" | "elevenlabs";
6368
6493
  allowUnmeasured: boolean;
@@ -6373,10 +6498,6 @@ declare const daemonConfigSchema: z.ZodObject<{
6373
6498
  talk: string;
6374
6499
  paste: string;
6375
6500
  };
6376
- card: {
6377
- timeout: number;
6378
- maxHeight: number;
6379
- };
6380
6501
  system?: string | Record<string, string> | undefined;
6381
6502
  listener?: string | undefined;
6382
6503
  };
@@ -6681,6 +6802,27 @@ declare const daemonConfigSchema: z.ZodObject<{
6681
6802
  maxExpiryDays: number;
6682
6803
  laterHours: number;
6683
6804
  notifyAgent: boolean;
6805
+ popup: {
6806
+ enabled: boolean;
6807
+ style: "card" | "dialog";
6808
+ sound: string;
6809
+ volume: number;
6810
+ theme: "system" | "light" | "dark";
6811
+ speak: boolean;
6812
+ timeoutSeconds: number;
6813
+ voice?: string | undefined;
6814
+ };
6815
+ checkin: {
6816
+ enabled: boolean;
6817
+ times: string[];
6818
+ dailyAt: string;
6819
+ lists: string[];
6820
+ dueWithinHours: number;
6821
+ maxAsksPerPass: number;
6822
+ composeTimeoutSeconds: number;
6823
+ agent?: string | undefined;
6824
+ timezone?: string | undefined;
6825
+ };
6684
6826
  };
6685
6827
  shutdown: {
6686
6828
  restart: {
@@ -7082,6 +7224,10 @@ declare const daemonConfigSchema: z.ZodObject<{
7082
7224
  system?: string | Record<string, string> | undefined;
7083
7225
  provider?: "system" | "elevenlabs" | undefined;
7084
7226
  fallback?: "system" | "none" | undefined;
7227
+ card?: {
7228
+ timeout?: number | undefined;
7229
+ maxHeight?: number | undefined;
7230
+ } | undefined;
7085
7231
  locale?: string | undefined;
7086
7232
  listener?: string | undefined;
7087
7233
  stt?: "auto" | "local" | "elevenlabs" | undefined;
@@ -7093,10 +7239,6 @@ declare const daemonConfigSchema: z.ZodObject<{
7093
7239
  talk?: string | undefined;
7094
7240
  paste?: string | undefined;
7095
7241
  } | undefined;
7096
- card?: {
7097
- timeout?: number | undefined;
7098
- maxHeight?: number | undefined;
7099
- } | undefined;
7100
7242
  } | undefined;
7101
7243
  graph?: {
7102
7244
  enabled?: boolean | undefined;
@@ -7393,6 +7535,27 @@ declare const daemonConfigSchema: z.ZodObject<{
7393
7535
  maxExpiryDays?: number | undefined;
7394
7536
  laterHours?: number | undefined;
7395
7537
  notifyAgent?: boolean | undefined;
7538
+ popup?: {
7539
+ enabled?: boolean | undefined;
7540
+ style?: "card" | "dialog" | undefined;
7541
+ voice?: string | undefined;
7542
+ sound?: string | undefined;
7543
+ volume?: number | undefined;
7544
+ theme?: "system" | "light" | "dark" | undefined;
7545
+ speak?: boolean | undefined;
7546
+ timeoutSeconds?: number | undefined;
7547
+ } | undefined;
7548
+ checkin?: {
7549
+ enabled?: boolean | undefined;
7550
+ agent?: string | undefined;
7551
+ timezone?: string | undefined;
7552
+ times?: string[] | undefined;
7553
+ dailyAt?: string | undefined;
7554
+ lists?: string[] | undefined;
7555
+ dueWithinHours?: number | undefined;
7556
+ maxAsksPerPass?: number | undefined;
7557
+ composeTimeoutSeconds?: number | undefined;
7558
+ } | undefined;
7396
7559
  } | undefined;
7397
7560
  shutdown?: {
7398
7561
  restart?: {
@@ -7905,6 +8068,15 @@ declare class A2AMesh {
7905
8068
  }>;
7906
8069
  }
7907
8070
 
8071
+ type PassKind = "daily" | "check";
8072
+ interface PassResult {
8073
+ kind: PassKind;
8074
+ looked: number;
8075
+ carded: string[];
8076
+ skipped: number;
8077
+ failed: number;
8078
+ }
8079
+
7908
8080
  /**
7909
8081
  * Lifecycle events the daemon emits. Keep this list narrow and stable
7910
8082
  * — every event becomes a public contract once a subscriber depends on
@@ -8353,6 +8525,8 @@ declare class AgentXDaemon {
8353
8525
  /** Every minute: expire decision cards, tell agents their results, and
8354
8526
  * send the day's digest when due (src/approvals/sweep.ts). */
8355
8527
  private startApprovalsSweep;
8528
+ /** A check-in pass when one is due, or `force` now. macOS only. */
8529
+ runCheckin(force?: PassKind): Promise<PassResult | null>;
8356
8530
  private stopReminders?;
8357
8531
  /** Hand due Apple Reminders back to the agent that created them (src/reminders). */
8358
8532
  private startReminders;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{a as L}from"./chunk-C245D4BZ.js";import{d as St,e as kt,f as vt,fa as Tt,g as xt,ga as Mt,h as $t,i as Ct,j as Pt,k as bt}from"./chunk-NZZVUEWI.js";import"./chunk-663BLK67.js";import"./chunk-RGTHA2EI.js";import"./chunk-BYJ3A55Y.js";import"./chunk-7XB2CVC3.js";import"./chunk-LQRBGQIR.js";import"./chunk-ZVP6GB4G.js";import"./chunk-Q2FFZX7Y.js";import"./chunk-AQASR6KR.js";import"./chunk-2D3RYIDU.js";import"./chunk-EKJG63EJ.js";import{T as yt,k as lt,l as ct,m as dt,n as mt,o as pt}from"./chunk-PBUJBWOF.js";import"./chunk-2HMI5PJG.js";import"./chunk-WP6KLXTP.js";import"./chunk-N6EWZGIX.js";import"./chunk-DP7RTNDM.js";import{A as D,B as z,C as V,a as ye,b as we,c as Se,d as Ae,e as Ie,f as Oe,g as Ne,h as He,i as je,j as Ue,k as _e,l as I,m as q,n as Be,o as qe,p as Ye,q as O,r as ze,s as Ve,t as Xe,u as x,v as Y,w as Qe,x as Ze,y as et,z as wt}from"./chunk-F2RIMHW5.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-S5JGQKON.js";import"./chunk-2AXFYDWF.js";import"./chunk-76Z4VHDX.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import{s as ut}from"./chunk-PUU2ESI2.js";import"./chunk-IR2Q63IV.js";import"./chunk-VWTBHLMX.js";import"./chunk-CAVAMWI5.js";import{a as ht}from"./chunk-UJ5JLS6Z.js";import"./chunk-KA2UIZXG.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-X5C5W3E4.js";import"./chunk-6CCJMHBA.js";import"./chunk-MYVHVJWZ.js";import"./chunk-DWADWDMU.js";import"./chunk-23A5K5UW.js";import"./chunk-QD6IICK7.js";import"./chunk-CECHWYJ2.js";import"./chunk-55RM7V4N.js";import{f as gt,g as ft}from"./chunk-NWL5KPBJ.js";import"./chunk-WPNRDEHW.js";import"./chunk-2GIDVZ4H.js";import{j as it,k as rt,l as at}from"./chunk-KHEI4VNM.js";import"./chunk-FX3D7YON.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-QOYAX2FT.js";import{a as ke,b as ve,c as xe,d as $e,e as Ce,f as Pe,g as be,h as Te,i as Me,j as Re,l as Ee,m as Ge,o as T,p as W}from"./chunk-5MUJZODV.js";import{a as m,b as G}from"./chunk-7I7IEX4S.js";import{b as Fe,c as Le,d as A,e as De}from"./chunk-JHCI6XCJ.js";import{a as Ke,b as Je,e as We}from"./chunk-DSYKYZMT.js";import{A as st,B as ot,D as nt,y as tt}from"./chunk-CXZ4YDHJ.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";W();G();import{execa as Rt}from"execa";import{existsSync as se,promises as X}from"fs";import S from"path";import ie from"node-fetch";async function Et(o,e){let t=o.split("/");if(t.length<2)throw new Error(`Invalid skill package ID: ${o}. Expected format: owner/repo`);let s=t[0],i=t[1],n=t[2];try{let a=n?`${s}/${i}/${n}`:`${s}/${i}`;await Rt("npx",["-y","skills","add",a],{cwd:e,stdio:"pipe"}),m.success(`Installed skill package: ${o}`);let r=S.resolve(e,".skills",`${s}_${i}`);if(se(r))return await ne(r,o);let d=S.resolve(e,".skills");return se(d)?await ne(d,o):[]}catch{return m.info(`Fetching skills directly from GitHub: ${s}/${i}`),await Gt(s,i,n,e)}}async function Gt(o,e,t,s){let i=[];try{let n=`https://api.github.com/repos/${o}/${e}/git/trees/main?recursive=1`,a=await ie(n);if(!a.ok)throw new Error(`GitHub API error: ${a.status}`);let d=(await a.json()).tree.filter(p=>p.type==="blob"&&p.path.endsWith("SKILL.md"));if(t){let p=d.find(f=>f.path.includes(`/${t}/`)||f.path===`${t}/SKILL.md`);if(p){let f=await oe(o,e,p.path,s);f&&i.push(f)}}else for(let p of d){let f=await oe(o,e,p.path,s);f&&i.push(f)}}catch(n){m.error(`Failed to fetch skills from GitHub: ${n.message}`)}return i}async function oe(o,e,t,s){try{let i=`https://raw.githubusercontent.com/${o}/${e}/main/${t}`,n=await ie(i);if(!n.ok)return null;let a=await n.text(),r=A(a);if(r){r.source="remote",r.packageId=`${o}/${e}`;let d=S.dirname(t),p=S.resolve(s,".skills",`${o}_${e}`,d);await X.mkdir(p,{recursive:!0}),await X.writeFile(S.resolve(p,"SKILL.md"),a),r.path=S.resolve(p,"SKILL.md")}return r}catch{return null}}async function ne(o,e){let t=[],{default:s}=await import("fast-glob"),i=await s.glob("**/SKILL.md",{cwd:o,deep:5});for(let n of i)try{let a=S.resolve(o,n),r=await X.readFile(a,"utf8"),d=A(r);d&&(d.source="remote",d.path=a,d.packageId=e,t.push(d))}catch{}return t}async function At(o,e,t,s,i){let n=["---",`name: ${o}`,`description: ${e}`];if(s?.length){n.push("tags:");for(let a of s)n.push(` - ${a}`)}if(i?.length){n.push("globs:");for(let a of i)n.push(` - ${a}`)}return n.push("---"),`${n.join(`
1
+ import{a as L}from"./chunk-C245D4BZ.js";import{d as St,e as kt,f as vt,g as xt,ga as Tt,h as $t,ha as Mt,i as Ct,j as Pt,k as bt}from"./chunk-J2DYNAHG.js";import"./chunk-2XICJMS6.js";import"./chunk-WEUF5WRR.js";import"./chunk-S2GAEH2F.js";import"./chunk-7XB2CVC3.js";import"./chunk-HMZQQLFH.js";import"./chunk-ZVP6GB4G.js";import"./chunk-JVJYCR67.js";import"./chunk-AQASR6KR.js";import"./chunk-2D3RYIDU.js";import"./chunk-EKJG63EJ.js";import{T as yt,k as lt,l as ct,m as dt,n as mt,o as pt}from"./chunk-R7AS5M32.js";import"./chunk-LQJNRSCT.js";import"./chunk-WP6KLXTP.js";import"./chunk-N6EWZGIX.js";import"./chunk-DP7RTNDM.js";import{A as D,B as z,C as V,a as ye,b as we,c as Se,d as Ae,e as Ie,f as Oe,g as Ne,h as He,i as je,j as Ue,k as _e,l as I,m as q,n as Be,o as qe,p as Ye,q as O,r as ze,s as Ve,t as Xe,u as x,v as Y,w as Qe,x as Ze,y as et,z as wt}from"./chunk-6HUDHMAC.js";import{a as B,b as M,c as F}from"./chunk-SFQUP3BP.js";import"./chunk-Y4CYQV7G.js";import"./chunk-4STRKIUA.js";import"./chunk-2AXFYDWF.js";import"./chunk-76Z4VHDX.js";import"./chunk-W4YR2RO2.js";import"./chunk-AFRHKA7B.js";import{s as ut}from"./chunk-FWDWHZ6H.js";import"./chunk-53J2D2ZJ.js";import"./chunk-VWTBHLMX.js";import"./chunk-NWP44FEW.js";import{a as ht}from"./chunk-GTZDTKDW.js";import"./chunk-KA2UIZXG.js";import"./chunk-GQ76J72O.js";import"./chunk-ILEC3IAV.js";import"./chunk-J3SOEFRE.js";import"./chunk-SIU6STB2.js";import"./chunk-X5C5W3E4.js";import"./chunk-GX4U2ILS.js";import"./chunk-MYVHVJWZ.js";import"./chunk-DWADWDMU.js";import"./chunk-23A5K5UW.js";import"./chunk-QD6IICK7.js";import"./chunk-CECHWYJ2.js";import"./chunk-U6XM4M5V.js";import{f as gt,g as ft}from"./chunk-JQXP3JWF.js";import"./chunk-WPNRDEHW.js";import"./chunk-2GIDVZ4H.js";import{j as it,k as rt,l as at}from"./chunk-TVORP6BW.js";import"./chunk-FX3D7YON.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-QOYAX2FT.js";import{a as ke,b as ve,c as xe,d as $e,e as Ce,f as Pe,g as be,h as Te,i as Me,j as Re,l as Ee,m as Ge,o as T,p as W}from"./chunk-5MUJZODV.js";import{a as m,b as G}from"./chunk-7I7IEX4S.js";import{b as Fe,c as Le,d as A,e as De}from"./chunk-JHCI6XCJ.js";import{a as Ke,b as Je,e as We}from"./chunk-DSYKYZMT.js";import{A as st,B as ot,D as nt,y as tt}from"./chunk-DBXN7I2X.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";W();G();import{execa as Rt}from"execa";import{existsSync as se,promises as X}from"fs";import S from"path";import ie from"node-fetch";async function Et(o,e){let t=o.split("/");if(t.length<2)throw new Error(`Invalid skill package ID: ${o}. Expected format: owner/repo`);let s=t[0],i=t[1],n=t[2];try{let a=n?`${s}/${i}/${n}`:`${s}/${i}`;await Rt("npx",["-y","skills","add",a],{cwd:e,stdio:"pipe"}),m.success(`Installed skill package: ${o}`);let r=S.resolve(e,".skills",`${s}_${i}`);if(se(r))return await ne(r,o);let d=S.resolve(e,".skills");return se(d)?await ne(d,o):[]}catch{return m.info(`Fetching skills directly from GitHub: ${s}/${i}`),await Gt(s,i,n,e)}}async function Gt(o,e,t,s){let i=[];try{let n=`https://api.github.com/repos/${o}/${e}/git/trees/main?recursive=1`,a=await ie(n);if(!a.ok)throw new Error(`GitHub API error: ${a.status}`);let d=(await a.json()).tree.filter(p=>p.type==="blob"&&p.path.endsWith("SKILL.md"));if(t){let p=d.find(f=>f.path.includes(`/${t}/`)||f.path===`${t}/SKILL.md`);if(p){let f=await oe(o,e,p.path,s);f&&i.push(f)}}else for(let p of d){let f=await oe(o,e,p.path,s);f&&i.push(f)}}catch(n){m.error(`Failed to fetch skills from GitHub: ${n.message}`)}return i}async function oe(o,e,t,s){try{let i=`https://raw.githubusercontent.com/${o}/${e}/main/${t}`,n=await ie(i);if(!n.ok)return null;let a=await n.text(),r=A(a);if(r){r.source="remote",r.packageId=`${o}/${e}`;let d=S.dirname(t),p=S.resolve(s,".skills",`${o}_${e}`,d);await X.mkdir(p,{recursive:!0}),await X.writeFile(S.resolve(p,"SKILL.md"),a),r.path=S.resolve(p,"SKILL.md")}return r}catch{return null}}async function ne(o,e){let t=[],{default:s}=await import("fast-glob"),i=await s.glob("**/SKILL.md",{cwd:o,deep:5});for(let n of i)try{let a=S.resolve(o,n),r=await X.readFile(a,"utf8"),d=A(r);d&&(d.source="remote",d.path=a,d.packageId=e,t.push(d))}catch{}return t}async function At(o,e,t,s,i){let n=["---",`name: ${o}`,`description: ${e}`];if(s?.length){n.push("tags:");for(let a of s)n.push(` - ${a}`)}if(i?.length){n.push("globs:");for(let a of i)n.push(` - ${a}`)}return n.push("---"),`${n.join(`
2
2
  `)}
3
3
 
4
4
  ${t}`}async function It(o){let{loadLocalSkills:e}=await import("./loader-YFVSSYSL.js");return e(o)}async function Ot(o,e,t,s,i){let a=[{role:"system",content:`You are a skill author for the Agent Skills ecosystem (skills.sh).