@namzu/cli 45.11.1 → 45.12.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 (105) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-3V6NHG7R.js → acp-B7LG5CCP.js} +8 -8
  4. package/dist/chunks/{add-XKZJI3V7.js → add-WAAFLQ4F.js} +5 -5
  5. package/dist/chunks/{agent-XGKIY2WD.js → agent-HTLFGJF6.js} +4 -4
  6. package/dist/chunks/{agent-session-CJ4WETWI.js → agent-session-W6XHFIAH.js} +5 -5
  7. package/dist/chunks/{bin-main-VUO6CM2G.js → bin-main-N2NQIRC6.js} +3 -3
  8. package/dist/chunks/{chat-UAEPQUH5.js → chat-F3QNW4M2.js} +2 -2
  9. package/dist/chunks/{chunk-2CBK4QUG.js → chunk-6LCMU2SE.js} +2 -2
  10. package/dist/chunks/{chunk-JIF3WU5W.js → chunk-6OMAK6RU.js} +5 -5
  11. package/dist/chunks/{chunk-DJBQ7ZES.js → chunk-7CNG5ORW.js} +2 -2
  12. package/dist/chunks/{chunk-TCZHV4CH.js → chunk-DBXWNZ46.js} +2 -2
  13. package/dist/chunks/{chunk-FKEIGFGX.js → chunk-FSIAPZKY.js} +2 -2
  14. package/dist/chunks/{chunk-IK4M2GKG.js → chunk-G36RMLRI.js} +2 -2
  15. package/dist/chunks/{chunk-X4RH3DWW.js → chunk-HGNH4ZEQ.js} +2 -2
  16. package/dist/chunks/{chunk-BAICKQOV.js → chunk-IFGC52WS.js} +3 -3
  17. package/dist/chunks/{chunk-N53GFZQX.js → chunk-ITXPXVUN.js} +4 -4
  18. package/dist/chunks/{chunk-RQR7K35R.js → chunk-N7CS6USD.js} +3 -3
  19. package/dist/chunks/{chunk-JMSP27T2.js → chunk-NFYK2IAG.js} +2 -2
  20. package/dist/chunks/{chunk-BYOFX2PR.js → chunk-QGHMFGZ6.js} +2 -2
  21. package/dist/chunks/{chunk-KGHFPFFH.js → chunk-R4TIXF24.js} +2 -2
  22. package/dist/chunks/{chunk-ST3O46XN.js → chunk-SE3VAGN7.js} +2 -2
  23. package/dist/chunks/chunk-SE3VAGN7.js.map +6 -0
  24. package/dist/chunks/{chunk-UJARYXWX.js → chunk-TH2SHTC3.js} +2 -2
  25. package/dist/chunks/{chunk-7XEI356G.js → chunk-UVSU6UR4.js} +2 -2
  26. package/dist/chunks/{chunk-3DSO557S.js → chunk-V7ECR6O3.js} +3 -3
  27. package/dist/chunks/{chunk-NT7IZ2H5.js → chunk-W6EDUNSU.js} +2 -2
  28. package/dist/chunks/{chunk-ODWHOG5J.js → chunk-YQF36PJY.js} +17 -17
  29. package/dist/chunks/{chunk-2QNK7BS2.js → chunk-ZCXJXPCN.js} +2 -2
  30. package/dist/chunks/{chunk-MGZO6S57.js → chunk-ZFBH2PVJ.js} +3 -3
  31. package/dist/chunks/{cli-runtime-WIU3GECE.js → cli-runtime-RIGSECE2.js} +3 -3
  32. package/dist/chunks/{doctor-ORMF6ZAI.js → doctor-WTSD2BKL.js} +6 -6
  33. package/dist/chunks/{drain-R6TJASK3.js → drain-JELO2ECC.js} +2 -2
  34. package/dist/chunks/{exec-O3RCG5FB.js → exec-XMXYB3KZ.js} +7 -7
  35. package/dist/chunks/{host-queries-YCDTFIDN.js → host-queries-TUCDFYV3.js} +2 -2
  36. package/dist/chunks/{learn-N4OS372P.js → learn-WY5QQFR7.js} +2 -2
  37. package/dist/chunks/{learn-builtin-BSDOCR6R.js → learn-builtin-CNWEZPAF.js} +3 -3
  38. package/dist/chunks/{lifecycle-3OPZMN4X.js → lifecycle-CAUKFQBV.js} +6 -6
  39. package/dist/chunks/{list-4ZFSOAJ7.js → list-JJG62TKX.js} +3 -3
  40. package/dist/chunks/{live-KTA3PBIZ.js → live-RDGS54V2.js} +5 -5
  41. package/dist/chunks/{mcp-LRVXW7A7.js → mcp-ZFJTLRFO.js} +2 -2
  42. package/dist/chunks/{message-command-EGW35OL7.js → message-command-GZYFHTL7.js} +7 -7
  43. package/dist/chunks/{pal-4EKUDDEF.js → pal-VJC7QZHY.js} +3 -3
  44. package/dist/chunks/{resident-RIEUVCJV.js → resident-25BZYB5P.js} +4 -4
  45. package/dist/chunks/{schedule-ZGWUP5RM.js → schedule-HPHN34YB.js} +5 -5
  46. package/dist/chunks/{service-CQHO4YOY.js → service-BE6OWFBH.js} +5 -5
  47. package/dist/chunks/{session-step-ACM2MPBS.js → session-step-PCREQLO3.js} +2 -2
  48. package/dist/chunks/{start-check-AXKYDH2C.js → start-check-76YRT3YY.js} +2 -2
  49. package/dist/chunks/{tui-P35LSX7G.js → tui-KWQGKAUV.js} +89 -40
  50. package/dist/chunks/{tui-P35LSX7G.js.map → tui-KWQGKAUV.js.map} +3 -3
  51. package/dist/chunks/{upgrade-AYBZKKGW.js → upgrade-4SU2SDMX.js} +3 -3
  52. package/dist/config/schema.d.ts +1 -1
  53. package/dist/config/schema.d.ts.map +1 -1
  54. package/dist/index.js +7 -7
  55. package/dist/integrations/decision/skill-worthy.d.ts +27 -0
  56. package/dist/integrations/decision/skill-worthy.d.ts.map +1 -0
  57. package/dist/integrations/resident/runner-worker.js +1 -1
  58. package/dist/tui/App.d.ts.map +1 -1
  59. package/package.json +5 -5
  60. package/dist/chunks/chunk-ST3O46XN.js.map +0 -6
  61. /package/dist/chunks/{acp-3V6NHG7R.js.map → acp-B7LG5CCP.js.map} +0 -0
  62. /package/dist/chunks/{add-XKZJI3V7.js.map → add-WAAFLQ4F.js.map} +0 -0
  63. /package/dist/chunks/{agent-XGKIY2WD.js.map → agent-HTLFGJF6.js.map} +0 -0
  64. /package/dist/chunks/{agent-session-CJ4WETWI.js.map → agent-session-W6XHFIAH.js.map} +0 -0
  65. /package/dist/chunks/{bin-main-VUO6CM2G.js.map → bin-main-N2NQIRC6.js.map} +0 -0
  66. /package/dist/chunks/{chat-UAEPQUH5.js.map → chat-F3QNW4M2.js.map} +0 -0
  67. /package/dist/chunks/{chunk-2CBK4QUG.js.map → chunk-6LCMU2SE.js.map} +0 -0
  68. /package/dist/chunks/{chunk-JIF3WU5W.js.map → chunk-6OMAK6RU.js.map} +0 -0
  69. /package/dist/chunks/{chunk-DJBQ7ZES.js.map → chunk-7CNG5ORW.js.map} +0 -0
  70. /package/dist/chunks/{chunk-TCZHV4CH.js.map → chunk-DBXWNZ46.js.map} +0 -0
  71. /package/dist/chunks/{chunk-FKEIGFGX.js.map → chunk-FSIAPZKY.js.map} +0 -0
  72. /package/dist/chunks/{chunk-IK4M2GKG.js.map → chunk-G36RMLRI.js.map} +0 -0
  73. /package/dist/chunks/{chunk-X4RH3DWW.js.map → chunk-HGNH4ZEQ.js.map} +0 -0
  74. /package/dist/chunks/{chunk-BAICKQOV.js.map → chunk-IFGC52WS.js.map} +0 -0
  75. /package/dist/chunks/{chunk-N53GFZQX.js.map → chunk-ITXPXVUN.js.map} +0 -0
  76. /package/dist/chunks/{chunk-RQR7K35R.js.map → chunk-N7CS6USD.js.map} +0 -0
  77. /package/dist/chunks/{chunk-JMSP27T2.js.map → chunk-NFYK2IAG.js.map} +0 -0
  78. /package/dist/chunks/{chunk-BYOFX2PR.js.map → chunk-QGHMFGZ6.js.map} +0 -0
  79. /package/dist/chunks/{chunk-KGHFPFFH.js.map → chunk-R4TIXF24.js.map} +0 -0
  80. /package/dist/chunks/{chunk-UJARYXWX.js.map → chunk-TH2SHTC3.js.map} +0 -0
  81. /package/dist/chunks/{chunk-7XEI356G.js.map → chunk-UVSU6UR4.js.map} +0 -0
  82. /package/dist/chunks/{chunk-3DSO557S.js.map → chunk-V7ECR6O3.js.map} +0 -0
  83. /package/dist/chunks/{chunk-NT7IZ2H5.js.map → chunk-W6EDUNSU.js.map} +0 -0
  84. /package/dist/chunks/{chunk-ODWHOG5J.js.map → chunk-YQF36PJY.js.map} +0 -0
  85. /package/dist/chunks/{chunk-2QNK7BS2.js.map → chunk-ZCXJXPCN.js.map} +0 -0
  86. /package/dist/chunks/{chunk-MGZO6S57.js.map → chunk-ZFBH2PVJ.js.map} +0 -0
  87. /package/dist/chunks/{cli-runtime-WIU3GECE.js.map → cli-runtime-RIGSECE2.js.map} +0 -0
  88. /package/dist/chunks/{doctor-ORMF6ZAI.js.map → doctor-WTSD2BKL.js.map} +0 -0
  89. /package/dist/chunks/{drain-R6TJASK3.js.map → drain-JELO2ECC.js.map} +0 -0
  90. /package/dist/chunks/{exec-O3RCG5FB.js.map → exec-XMXYB3KZ.js.map} +0 -0
  91. /package/dist/chunks/{host-queries-YCDTFIDN.js.map → host-queries-TUCDFYV3.js.map} +0 -0
  92. /package/dist/chunks/{learn-N4OS372P.js.map → learn-WY5QQFR7.js.map} +0 -0
  93. /package/dist/chunks/{learn-builtin-BSDOCR6R.js.map → learn-builtin-CNWEZPAF.js.map} +0 -0
  94. /package/dist/chunks/{lifecycle-3OPZMN4X.js.map → lifecycle-CAUKFQBV.js.map} +0 -0
  95. /package/dist/chunks/{list-4ZFSOAJ7.js.map → list-JJG62TKX.js.map} +0 -0
  96. /package/dist/chunks/{live-KTA3PBIZ.js.map → live-RDGS54V2.js.map} +0 -0
  97. /package/dist/chunks/{mcp-LRVXW7A7.js.map → mcp-ZFJTLRFO.js.map} +0 -0
  98. /package/dist/chunks/{message-command-EGW35OL7.js.map → message-command-GZYFHTL7.js.map} +0 -0
  99. /package/dist/chunks/{pal-4EKUDDEF.js.map → pal-VJC7QZHY.js.map} +0 -0
  100. /package/dist/chunks/{resident-RIEUVCJV.js.map → resident-25BZYB5P.js.map} +0 -0
  101. /package/dist/chunks/{schedule-ZGWUP5RM.js.map → schedule-HPHN34YB.js.map} +0 -0
  102. /package/dist/chunks/{service-CQHO4YOY.js.map → service-BE6OWFBH.js.map} +0 -0
  103. /package/dist/chunks/{session-step-ACM2MPBS.js.map → session-step-PCREQLO3.js.map} +0 -0
  104. /package/dist/chunks/{start-check-AXKYDH2C.js.map → start-check-76YRT3YY.js.map} +0 -0
  105. /package/dist/chunks/{upgrade-AYBZKKGW.js.map → upgrade-4SU2SDMX.js.map} +0 -0
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-NVU5Q75Z.js";
17
17
  import {
18
18
  compileJobPolicy
19
- } from "./chunk-2QNK7BS2.js";
19
+ } from "./chunk-ZCXJXPCN.js";
20
20
  import {
21
21
  parkedRunWords,
22
22
  resumeCommand
@@ -44,7 +44,7 @@ import {
44
44
  } from "./chunk-Y7B67G22.js";
45
45
  import {
46
46
  readPermissionLayers
47
- } from "./chunk-ST3O46XN.js";
47
+ } from "./chunk-SE3VAGN7.js";
48
48
  import "./chunk-KONYGNG6.js";
49
49
  import "./chunk-LCGXWCVU.js";
50
50
  import "./chunk-GMUWAUKQ.js";
@@ -298,4 +298,4 @@ export {
298
298
  listing,
299
299
  showCommand
300
300
  };
301
- //# sourceMappingURL=list-4ZFSOAJ7.js.map
301
+ //# sourceMappingURL=list-JJG62TKX.js.map
@@ -3,12 +3,12 @@ const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  buildDoctorRegistry,
5
5
  runLiveDoctor
6
- } from "./chunk-BAICKQOV.js";
6
+ } from "./chunk-IFGC52WS.js";
7
7
  import "./chunk-ZPR4IMRT.js";
8
- import "./chunk-7XEI356G.js";
8
+ import "./chunk-UVSU6UR4.js";
9
9
  import "./chunk-AK2U3N2A.js";
10
- import "./chunk-JMSP27T2.js";
11
- import "./chunk-3DSO557S.js";
10
+ import "./chunk-NFYK2IAG.js";
11
+ import "./chunk-V7ECR6O3.js";
12
12
  import "./chunk-JHDNGNQT.js";
13
13
  import "./chunk-TXP6SOA7.js";
14
14
  import "./chunk-A22MBIYU.js";
@@ -36,4 +36,4 @@ export {
36
36
  buildDoctorRegistry,
37
37
  runLiveDoctor
38
38
  };
39
- //# sourceMappingURL=live-KTA3PBIZ.js.map
39
+ //# sourceMappingURL=live-RDGS54V2.js.map
@@ -43,7 +43,7 @@ import {
43
43
  approveProjectMcpServers,
44
44
  loadConfig,
45
45
  pendingProjectMcpServers
46
- } from "./chunk-ST3O46XN.js";
46
+ } from "./chunk-SE3VAGN7.js";
47
47
  import {
48
48
  require_dist
49
49
  } from "./chunk-KONYGNG6.js";
@@ -831,4 +831,4 @@ export {
831
831
  mcpCommand,
832
832
  safeTestReason
833
833
  };
834
- //# sourceMappingURL=mcp-LRVXW7A7.js.map
834
+ //# sourceMappingURL=mcp-ZFJTLRFO.js.map
@@ -2,17 +2,17 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  dispatchCliPalMessages
5
- } from "./chunk-MGZO6S57.js";
6
- import "./chunk-FKEIGFGX.js";
5
+ } from "./chunk-ZFBH2PVJ.js";
6
+ import "./chunk-FSIAPZKY.js";
7
7
  import "./chunk-MTJITGLV.js";
8
8
  import "./chunk-ZWA2JRJV.js";
9
- import "./chunk-2CBK4QUG.js";
9
+ import "./chunk-6LCMU2SE.js";
10
10
  import {
11
11
  cliPalCommunicationPolicy,
12
12
  cliPalCommunicationStore
13
13
  } from "./chunk-BO4SWS4X.js";
14
14
  import "./chunk-IMQE5QKI.js";
15
- import "./chunk-N53GFZQX.js";
15
+ import "./chunk-ITXPXVUN.js";
16
16
  import "./chunk-WAEKUITP.js";
17
17
  import "./chunk-3X4TYZYQ.js";
18
18
  import "./chunk-GXKKTDUY.js";
@@ -21,7 +21,7 @@ import "./chunk-TPRFCADC.js";
21
21
  import "./chunk-ATA5EP6S.js";
22
22
  import "./chunk-TGVCELXX.js";
23
23
  import "./chunk-X3VO64UI.js";
24
- import "./chunk-IK4M2GKG.js";
24
+ import "./chunk-G36RMLRI.js";
25
25
  import "./chunk-WHODOMXA.js";
26
26
  import "./chunk-YOWYTBJS.js";
27
27
  import "./chunk-2IPDTDB3.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-Y7B67G22.js";
39
39
  import "./chunk-GNBMKISG.js";
40
40
  import "./chunk-O7O4IP4S.js";
41
- import "./chunk-ST3O46XN.js";
41
+ import "./chunk-SE3VAGN7.js";
42
42
  import {
43
43
  createFormatter
44
44
  } from "./chunk-KONYGNG6.js";
@@ -190,4 +190,4 @@ __name(runPalMessageCommand, "runPalMessageCommand");
190
190
  export {
191
191
  runPalMessageCommand
192
192
  };
193
- //# sourceMappingURL=message-command-EGW35OL7.js.map
193
+ //# sourceMappingURL=message-command-GZYFHTL7.js.map
@@ -123,11 +123,11 @@ function createPalCommand(resumeCommand) {
123
123
  rest
124
124
  );
125
125
  if (verb === "grant" || verb === "revoke" || verb === "inbox" || verb === "dispatch")
126
- return (await import("./message-command-EGW35OL7.js")).runPalMessageCommand(ctx, verb, rest);
126
+ return (await import("./message-command-GZYFHTL7.js")).runPalMessageCommand(ctx, verb, rest);
127
127
  if (verb === "chat") {
128
128
  const [id, ...args] = rest;
129
129
  if (!id) throw new Error("A Pal id is required.");
130
- return (await import("./chat-UAEPQUH5.js")).runPalChat(ctx, id, args, {
130
+ return (await import("./chat-F3QNW4M2.js")).runPalChat(ctx, id, args, {
131
131
  resumeCommand
132
132
  });
133
133
  }
@@ -202,4 +202,4 @@ export {
202
202
  createPalCommand,
203
203
  palCommand
204
204
  };
205
- //# sourceMappingURL=pal-4EKUDDEF.js.map
205
+ //# sourceMappingURL=pal-VJC7QZHY.js.map
@@ -2,7 +2,7 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  runLearningCommand
5
- } from "./chunk-KGHFPFFH.js";
5
+ } from "./chunk-R4TIXF24.js";
6
6
  import {
7
7
  decideHeadlessTrust
8
8
  } from "./chunk-AX3XQUGW.js";
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  ConfigLoadError,
21
21
  ConfigValueError
22
- } from "./chunk-ST3O46XN.js";
22
+ } from "./chunk-SE3VAGN7.js";
23
23
  import "./chunk-KONYGNG6.js";
24
24
  import "./chunk-LCGXWCVU.js";
25
25
  import "./chunk-GMUWAUKQ.js";
@@ -923,7 +923,7 @@ var residentCommand = {
923
923
  throw new Error(
924
924
  "Resident execution directory no longer belongs to its bound project and tenant."
925
925
  );
926
- const { createResidentSessionStep } = await import("./session-step-ACM2MPBS.js");
926
+ const { createResidentSessionStep } = await import("./session-step-PCREQLO3.js");
927
927
  const verification = flags.verification ? await loadResidentVerification(flags.verification, resident.cwd) : void 0;
928
928
  const step = createResidentSessionStep({
929
929
  agenda: resident.agenda,
@@ -1039,4 +1039,4 @@ export {
1039
1039
  residentCommand,
1040
1040
  residentStatus
1041
1041
  };
1042
- //# sourceMappingURL=resident-RIEUVCJV.js.map
1042
+ //# sourceMappingURL=resident-25BZYB5P.js.map
@@ -81,10 +81,10 @@ var scheduleCommand = {
81
81
  help: SCHEDULE_HELP,
82
82
  handler: withTerminationHandling(async ({ ctx, rawArgs }, termination) => {
83
83
  const [verb, ...rest] = rawArgs;
84
- const add = /* @__PURE__ */ __name(() => import("./add-XKZJI3V7.js"), "add");
85
- const list = /* @__PURE__ */ __name(() => import("./list-4ZFSOAJ7.js"), "list");
86
- const lifecycle = /* @__PURE__ */ __name(() => import("./lifecycle-3OPZMN4X.js"), "lifecycle");
87
- const service = /* @__PURE__ */ __name(() => import("./service-CQHO4YOY.js"), "service");
84
+ const add = /* @__PURE__ */ __name(() => import("./add-WAAFLQ4F.js"), "add");
85
+ const list = /* @__PURE__ */ __name(() => import("./list-JJG62TKX.js"), "list");
86
+ const lifecycle = /* @__PURE__ */ __name(() => import("./lifecycle-CAUKFQBV.js"), "lifecycle");
87
+ const service = /* @__PURE__ */ __name(() => import("./service-BE6OWFBH.js"), "service");
88
88
  switch (verb) {
89
89
  case "add":
90
90
  return (await add()).addCommand(ctx, rest);
@@ -140,4 +140,4 @@ export {
140
140
  SCHEDULE_HELP,
141
141
  scheduleCommand
142
142
  };
143
- //# sourceMappingURL=schedule-ZGWUP5RM.js.map
143
+ //# sourceMappingURL=schedule-HPHN34YB.js.map
@@ -18,9 +18,9 @@ import {
18
18
  spawnFireProcess,
19
19
  stopRequestPath,
20
20
  writeRunResult
21
- } from "./chunk-JIF3WU5W.js";
21
+ } from "./chunk-6OMAK6RU.js";
22
22
  import "./chunk-HFY2647W.js";
23
- import "./chunk-UJARYXWX.js";
23
+ import "./chunk-TH2SHTC3.js";
24
24
  import {
25
25
  flag,
26
26
  has,
@@ -28,7 +28,7 @@ import {
28
28
  parseMs,
29
29
  pathsFor
30
30
  } from "./chunk-NVU5Q75Z.js";
31
- import "./chunk-2QNK7BS2.js";
31
+ import "./chunk-ZCXJXPCN.js";
32
32
  import {
33
33
  parkedRunWords,
34
34
  resumeCommand
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-HE7WUOX2.js";
68
68
  import {
69
69
  loadBootstrapConfigWithProvenance
70
- } from "./chunk-ST3O46XN.js";
70
+ } from "./chunk-SE3VAGN7.js";
71
71
  import "./chunk-KONYGNG6.js";
72
72
  import "./chunk-LCGXWCVU.js";
73
73
  import "./chunk-GMUWAUKQ.js";
@@ -1406,4 +1406,4 @@ export {
1406
1406
  statusCommand,
1407
1407
  uninstallCommand
1408
1408
  };
1409
- //# sourceMappingURL=service-CQHO4YOY.js.map
1409
+ //# sourceMappingURL=service-BE6OWFBH.js.map
@@ -2,7 +2,7 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  createResidentSessionStep
5
- } from "./chunk-X4RH3DWW.js";
5
+ } from "./chunk-HGNH4ZEQ.js";
6
6
  import "./chunk-DTCRIEFV.js";
7
7
  import "./chunk-IQ232XTD.js";
8
8
  import "./chunk-UGZBRT5X.js";
@@ -30,4 +30,4 @@ import "./chunk-76FLAFCG.js";
30
30
  export {
31
31
  createResidentSessionStep
32
32
  };
33
- //# sourceMappingURL=session-step-ACM2MPBS.js.map
33
+ //# sourceMappingURL=session-step-PCREQLO3.js.map
@@ -3,10 +3,10 @@ const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  START_CHECK_FLAG,
5
5
  runStartCheck
6
- } from "./chunk-3DSO557S.js";
6
+ } from "./chunk-V7ECR6O3.js";
7
7
  import "./chunk-76FLAFCG.js";
8
8
  export {
9
9
  START_CHECK_FLAG,
10
10
  runStartCheck
11
11
  };
12
- //# sourceMappingURL=start-check-AXKYDH2C.js.map
12
+ //# sourceMappingURL=start-check-76YRT3YY.js.map
@@ -14,7 +14,7 @@ import {
14
14
  confirmationView,
15
15
  describeChanges,
16
16
  permissionsChanged
17
- } from "./chunk-TCZHV4CH.js";
17
+ } from "./chunk-DBXWNZ46.js";
18
18
  import {
19
19
  visibleScheduleMessage
20
20
  } from "./chunk-NADQQMMG.js";
@@ -54,7 +54,7 @@ import {
54
54
  turnLimitCommands,
55
55
  useThemeEpoch,
56
56
  useThemeSubscription
57
- } from "./chunk-RQR7K35R.js";
57
+ } from "./chunk-N7CS6USD.js";
58
58
  import {
59
59
  handleTerminationSignals
60
60
  } from "./chunk-QA4IQRFM.js";
@@ -93,12 +93,12 @@ import {
93
93
  } from "./chunk-XH5YF2YX.js";
94
94
  import {
95
95
  settleAnsweredPark
96
- } from "./chunk-DJBQ7ZES.js";
96
+ } from "./chunk-7CNG5ORW.js";
97
97
  import {
98
98
  DELIVERY_READ_LIMIT,
99
99
  readSourceDeliveryPage,
100
100
  takeSuppressedCount
101
- } from "./chunk-JIF3WU5W.js";
101
+ } from "./chunk-6OMAK6RU.js";
102
102
  import {
103
103
  callsCount
104
104
  } from "./chunk-HFY2647W.js";
@@ -115,14 +115,14 @@ import {
115
115
  runsPerDay,
116
116
  scriptShellUnavailableReason,
117
117
  verifyScheduledScript
118
- } from "./chunk-UJARYXWX.js";
118
+ } from "./chunk-TH2SHTC3.js";
119
119
  import "./chunk-NVU5Q75Z.js";
120
120
  import {
121
121
  allowsCommands,
122
122
  compileJobPolicy,
123
123
  compileScriptCheckPolicy,
124
124
  isPresetName
125
- } from "./chunk-2QNK7BS2.js";
125
+ } from "./chunk-ZCXJXPCN.js";
126
126
  import {
127
127
  formatResumeShellCommand,
128
128
  parkedRunWords,
@@ -180,20 +180,20 @@ import {
180
180
  sectionHeading,
181
181
  withAutoChoice,
182
182
  writeConversationExport
183
- } from "./chunk-NT7IZ2H5.js";
183
+ } from "./chunk-W6EDUNSU.js";
184
184
  import {
185
185
  tuiPalDefinition,
186
186
  tuiPalEnvironment,
187
187
  tuiPalOwner,
188
188
  tuiPalPreferences
189
- } from "./chunk-FKEIGFGX.js";
189
+ } from "./chunk-FSIAPZKY.js";
190
190
  import {
191
191
  isModelOnlyContext,
192
192
  runtimeContextLabel
193
193
  } from "./chunk-FJONRQQU.js";
194
194
  import "./chunk-MTJITGLV.js";
195
195
  import "./chunk-ZWA2JRJV.js";
196
- import "./chunk-2CBK4QUG.js";
196
+ import "./chunk-6LCMU2SE.js";
197
197
  import "./chunk-BO4SWS4X.js";
198
198
  import {
199
199
  claimPalConversation,
@@ -283,7 +283,7 @@ import {
283
283
  webLiveStatus,
284
284
  webSettledLine,
285
285
  withDebugDetail
286
- } from "./chunk-N53GFZQX.js";
286
+ } from "./chunk-ITXPXVUN.js";
287
287
  import {
288
288
  openManagedWorktrees,
289
289
  worktreeOpenHint
@@ -330,7 +330,7 @@ import {
330
330
  isSelfMending,
331
331
  isSpentAllowance
332
332
  } from "./chunk-X3VO64UI.js";
333
- import "./chunk-IK4M2GKG.js";
333
+ import "./chunk-G36RMLRI.js";
334
334
  import {
335
335
  describeBrowserStatus
336
336
  } from "./chunk-WHODOMXA.js";
@@ -374,14 +374,14 @@ import {
374
374
  } from "./chunk-XA5X2QK3.js";
375
375
  import {
376
376
  startAutoUpdate
377
- } from "./chunk-7XEI356G.js";
377
+ } from "./chunk-UVSU6UR4.js";
378
378
  import {
379
379
  readManifest
380
380
  } from "./chunk-AK2U3N2A.js";
381
381
  import {
382
382
  resolveNpmInvocation
383
- } from "./chunk-JMSP27T2.js";
384
- import "./chunk-3DSO557S.js";
383
+ } from "./chunk-NFYK2IAG.js";
384
+ import "./chunk-V7ECR6O3.js";
385
385
  import {
386
386
  ScheduleConflictError,
387
387
  confirmationHolds,
@@ -431,7 +431,7 @@ import {
431
431
  pendingServersMessage,
432
432
  readPermissionLayers,
433
433
  resolveComposerTriggers
434
- } from "./chunk-ST3O46XN.js";
434
+ } from "./chunk-SE3VAGN7.js";
435
435
  import "./chunk-KONYGNG6.js";
436
436
  import "./chunk-LCGXWCVU.js";
437
437
  import {
@@ -40047,6 +40047,40 @@ function notifyWorthyQuestion(input) {
40047
40047
  }
40048
40048
  __name(notifyWorthyQuestion, "notifyWorthyQuestion");
40049
40049
 
40050
+ // src/integrations/decision/skill-worthy.ts
40051
+ var SKILL_WORTHY_REQUEST_CHARS = 600;
40052
+ var SKILL_WORTHY_INSTRUCTIONS = "Is this a repeatable procedure that the person would want done the same way again on another day? Answer yes for a multi-step routine with a stable shape, such as preparing a release, setting up a project, or a recurring check. Answer no for a one-off task, an investigation into a particular problem, or work that only made sense for this one situation.";
40053
+ function printable2(text) {
40054
+ let out = "";
40055
+ for (const ch of text) {
40056
+ const code = ch.codePointAt(0) ?? 0;
40057
+ if (code < 32 && code !== 10 && code !== 9 || code === 127) continue;
40058
+ out += ch;
40059
+ }
40060
+ return out;
40061
+ }
40062
+ __name(printable2, "printable");
40063
+ function skillWorthyQuestion(input) {
40064
+ const request = [...printable2(input.request).trim()].slice(0, SKILL_WORTHY_REQUEST_CHARS).join("");
40065
+ const tools = [...new Set(input.tools)].sort().join(", ");
40066
+ return {
40067
+ point: "skill-worthy",
40068
+ state: `Request: ${request}
40069
+
40070
+ The turn took ${input.steps} steps using these tools: ${tools}`,
40071
+ instructions: SKILL_WORTHY_INSTRUCTIONS,
40072
+ // The rule has already said yes by the time this is asked.
40073
+ rule: true
40074
+ };
40075
+ }
40076
+ __name(skillWorthyQuestion, "skillWorthyQuestion");
40077
+ async function skillProposalStands(points, input, signal) {
40078
+ if (points.mode("skill-worthy") === "off") return true;
40079
+ const p = await points.ask(skillWorthyQuestion(input), signal);
40080
+ return verdictOf(p) !== "no";
40081
+ }
40082
+ __name(skillProposalStands, "skillProposalStands");
40083
+
40050
40084
  // src/integrations/mcp/person-commands.ts
40051
40085
  var MCP_PERSON_USAGE = [
40052
40086
  "/mcp prompts [server]",
@@ -47886,9 +47920,9 @@ function editLine(text, key) {
47886
47920
  if (key.ctrl || key.meta || key.tab || key.return || key.escape) return null;
47887
47921
  if (key.upArrow || key.downArrow || key.leftArrow || key.rightArrow || key.pageUp || key.pageDown || key.home || key.end)
47888
47922
  return null;
47889
- const printable3 = key.input.replace(/[\u0000-\u001f\u007f]/g, "");
47890
- if (printable3.length === 0) return null;
47891
- return text + printable3;
47923
+ const printable4 = key.input.replace(/[\u0000-\u001f\u007f]/g, "");
47924
+ if (printable4.length === 0) return null;
47925
+ return text + printable4;
47892
47926
  }
47893
47927
  __name(editLine, "editLine");
47894
47928
  function resumeScopeLabel(scope) {
@@ -48316,10 +48350,10 @@ function confirmKey(state, input, key, env3) {
48316
48350
  };
48317
48351
  }
48318
48352
  if (input && !key.ctrl && !key.meta) {
48319
- const printable3 = [...input].filter((ch) => !isControl(ch)).join("");
48320
- if (printable3) {
48353
+ const printable4 = [...input].filter((ch) => !isControl(ch)).join("");
48354
+ if (printable4) {
48321
48355
  return {
48322
- state: { ...state, texts: { ...state.texts, [slot]: state.texts[slot] + printable3 } }
48356
+ state: { ...state, texts: { ...state.texts, [slot]: state.texts[slot] + printable4 } }
48323
48357
  };
48324
48358
  }
48325
48359
  }
@@ -55939,10 +55973,10 @@ var TITLE_ANIMATION_MS = 960;
55939
55973
  var TITLE_NAME_MAX = 100;
55940
55974
  var OSC_SET_TITLE_AND_ICON = "\x1B]0;";
55941
55975
  var BEL4 = "\x07";
55942
- function printable2(text) {
55976
+ function printable3(text) {
55943
55977
  return text.replace(/[\u0000-\u001f\u007f-\u009f]+/gu, " ").replace(/\s+/gu, " ").trim();
55944
55978
  }
55945
- __name(printable2, "printable");
55979
+ __name(printable3, "printable");
55946
55980
  function titleAnimates(input) {
55947
55981
  return input.working && input.focused && !underMultiplexer(input.env);
55948
55982
  }
@@ -55952,7 +55986,7 @@ function underMultiplexer(env3) {
55952
55986
  }
55953
55987
  __name(underMultiplexer, "underMultiplexer");
55954
55988
  function terminalTitleText(input) {
55955
- const name = [input.named, input.generated, DEFAULT_TERMINAL_TITLE].map((candidate) => printable2(candidate ?? "")).find((candidate) => candidate.length > 0);
55989
+ const name = [input.named, input.generated, DEFAULT_TERMINAL_TITLE].map((candidate) => printable3(candidate ?? "")).find((candidate) => candidate.length > 0);
55956
55990
  const shown = name.length > TITLE_NAME_MAX ? `${name.slice(0, TITLE_NAME_MAX - 1)}\u2026` : name;
55957
55991
  const frames = BUSY_TITLE_FRAMES.length;
55958
55992
  const glyph = input.busy ? BUSY_TITLE_FRAMES[((input.frame ?? 0) % frames + frames) % frames] ?? BUSY_TITLE_GLYPH : IDLE_TITLE_GLYPH;
@@ -55960,7 +55994,7 @@ function terminalTitleText(input) {
55960
55994
  }
55961
55995
  __name(terminalTitleText, "terminalTitleText");
55962
55996
  function setTerminalTitleSequence(text) {
55963
- return `${OSC_SET_TITLE_AND_ICON}${printable2(text)}${BEL4}`;
55997
+ return `${OSC_SET_TITLE_AND_ICON}${printable3(text)}${BEL4}`;
55964
55998
  }
55965
55999
  __name(setTerminalTitleSequence, "setTerminalTitleSequence");
55966
56000
  var RESET_TERMINAL_TITLE_SEQUENCE = `${OSC_SET_TITLE_AND_ICON}${BEL4}`;
@@ -58309,19 +58343,33 @@ ${blocks.join("\n\n")}`;
58309
58343
  skillFlowTurn: st.skillFlow === true
58310
58344
  });
58311
58345
  if (!verdict.suggest) return;
58312
- const home = resolveNamzuHome();
58313
- const admission = admitSuggestion(readSuggestionLedger(home));
58314
- if (admission.show === "nothing") return;
58315
- conversation.proposed = true;
58316
- writeSuggestionLedger(home, admission.next);
58317
- pushMessage(
58318
- "system",
58319
- admission.show === "proposal" ? skillSuggestionNotice(verdict.steps, verdict.tools) : SUGGESTIONS_STOPPED_NOTICE,
58320
- false,
58321
- "\u273B",
58322
- void 0,
58323
- tokenColor("text.muted")
58324
- );
58346
+ const show2 = /* @__PURE__ */ __name(() => {
58347
+ const home = resolveNamzuHome();
58348
+ const admission = admitSuggestion(readSuggestionLedger(home));
58349
+ if (admission.show === "nothing") return;
58350
+ conversation.proposed = true;
58351
+ writeSuggestionLedger(home, admission.next);
58352
+ pushMessage(
58353
+ "system",
58354
+ admission.show === "proposal" ? skillSuggestionNotice(verdict.steps, verdict.tools) : SUGGESTIONS_STOPPED_NOTICE,
58355
+ false,
58356
+ "\u273B",
58357
+ void 0,
58358
+ tokenColor("text.muted")
58359
+ );
58360
+ }, "show");
58361
+ const points = decisionPointsRef.current;
58362
+ if (!points || points.mode("skill-worthy") === "off" || !st.request) {
58363
+ show2();
58364
+ return;
58365
+ }
58366
+ void skillProposalStands(points, {
58367
+ request: st.request,
58368
+ tools: [...st.learning.tools],
58369
+ steps: verdict.steps
58370
+ }).then((stands) => {
58371
+ if (stands) show2();
58372
+ });
58325
58373
  },
58326
58374
  [conversationLearning, pushMessage]
58327
58375
  );
@@ -60699,7 +60747,7 @@ ${blocks.join("\n\n")}`;
60699
60747
  doctorRunningRef.current = true;
60700
60748
  const progressId = pushMessage("system", "Checking\u2026");
60701
60749
  try {
60702
- const { runLiveDoctor } = await import("./live-KTA3PBIZ.js");
60750
+ const { runLiveDoctor } = await import("./live-RDGS54V2.js");
60703
60751
  const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
60704
60752
  const report = await runLiveDoctor({
60705
60753
  ...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
@@ -62853,6 +62901,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
62853
62901
  notification: null,
62854
62902
  ...prompt.kind === "human" ? {
62855
62903
  learning: createTurnActivity(),
62904
+ request: prompt.text,
62856
62905
  ...prompt.skillFlow ? { skillFlow: true } : {},
62857
62906
  startedInPlanMode: permissionModeRef.current === "plan"
62858
62907
  } : {},
@@ -68965,4 +69014,4 @@ react/cjs/react-jsx-runtime.development.js:
68965
69014
  * LICENSE file in the root directory of this source tree.
68966
69015
  *)
68967
69016
  */
68968
- //# sourceMappingURL=tui-P35LSX7G.js.map
69017
+ //# sourceMappingURL=tui-KWQGKAUV.js.map