@namzu/cli 45.11.1 → 45.12.1

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 (112) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-3V6NHG7R.js → acp-MEXVPVAC.js} +8 -8
  4. package/dist/chunks/{add-XKZJI3V7.js → add-2Y2E2IES.js} +5 -5
  5. package/dist/chunks/{agent-XGKIY2WD.js → agent-GRVNRFBO.js} +4 -4
  6. package/dist/chunks/{agent-session-CJ4WETWI.js → agent-session-HC2QNXXI.js} +5 -5
  7. package/dist/chunks/{bin-main-VUO6CM2G.js → bin-main-EVFEBOIR.js} +3 -3
  8. package/dist/chunks/{chat-UAEPQUH5.js → chat-NC37EXYB.js} +2 -2
  9. package/dist/chunks/{chunk-JMSP27T2.js → chunk-3QLYQ46N.js} +2 -2
  10. package/dist/chunks/{chunk-TCZHV4CH.js → chunk-5HI2QNR7.js} +2 -2
  11. package/dist/chunks/{chunk-DJBQ7ZES.js → chunk-5HKXRQWG.js} +2 -2
  12. package/dist/chunks/{chunk-ODWHOG5J.js → chunk-5HPOKUTB.js} +17 -17
  13. package/dist/chunks/{chunk-3DSO557S.js → chunk-A7QCYA7S.js} +3 -3
  14. package/dist/chunks/{chunk-IK4M2GKG.js → chunk-AXFOGCTW.js} +2 -2
  15. package/dist/chunks/{chunk-NT7IZ2H5.js → chunk-C5VB6EQW.js} +2 -2
  16. package/dist/chunks/{chunk-7XEI356G.js → chunk-DP3U5NBJ.js} +2 -2
  17. package/dist/chunks/{chunk-KGHFPFFH.js → chunk-GEMTMJCC.js} +2 -2
  18. package/dist/chunks/{chunk-BYOFX2PR.js → chunk-JXLIHF36.js} +2 -2
  19. package/dist/chunks/{chunk-X4RH3DWW.js → chunk-KBD4T5O7.js} +2 -2
  20. package/dist/chunks/{chunk-JIF3WU5W.js → chunk-LYR56WMM.js} +5 -5
  21. package/dist/chunks/{chunk-RQR7K35R.js → chunk-NTOAY6OF.js} +3 -3
  22. package/dist/chunks/{chunk-2CBK4QUG.js → chunk-Q2GHAHRT.js} +2 -2
  23. package/dist/chunks/{chunk-UJARYXWX.js → chunk-QYV4RDDK.js} +2 -2
  24. package/dist/chunks/{chunk-FKEIGFGX.js → chunk-RFUFAQSN.js} +2 -2
  25. package/dist/chunks/{chunk-BAICKQOV.js → chunk-RTEPHRJB.js} +3 -3
  26. package/dist/chunks/{chunk-ST3O46XN.js → chunk-SCV5ZD5H.js} +17 -4
  27. package/dist/chunks/chunk-SCV5ZD5H.js.map +6 -0
  28. package/dist/chunks/{chunk-2QNK7BS2.js → chunk-UWPQHMIP.js} +2 -2
  29. package/dist/chunks/{chunk-MGZO6S57.js → chunk-XCCOM7G2.js} +3 -3
  30. package/dist/chunks/{chunk-N53GFZQX.js → chunk-XPKUTEXE.js} +7 -7
  31. package/dist/chunks/{chunk-N53GFZQX.js.map → chunk-XPKUTEXE.js.map} +2 -2
  32. package/dist/chunks/{cli-runtime-WIU3GECE.js → cli-runtime-6X42NV5R.js} +3 -3
  33. package/dist/chunks/{doctor-ORMF6ZAI.js → doctor-GD2RFBCM.js} +6 -6
  34. package/dist/chunks/{drain-R6TJASK3.js → drain-JYBKHPLH.js} +2 -2
  35. package/dist/chunks/{exec-O3RCG5FB.js → exec-GJNOZIJK.js} +7 -7
  36. package/dist/chunks/{host-queries-YCDTFIDN.js → host-queries-ALOAZXC2.js} +2 -2
  37. package/dist/chunks/{learn-N4OS372P.js → learn-D4WBZOJI.js} +2 -2
  38. package/dist/chunks/{learn-builtin-BSDOCR6R.js → learn-builtin-IRUU6FKN.js} +3 -3
  39. package/dist/chunks/{lifecycle-3OPZMN4X.js → lifecycle-4TZM6I4P.js} +6 -6
  40. package/dist/chunks/{list-4ZFSOAJ7.js → list-X4JB3AHD.js} +3 -3
  41. package/dist/chunks/{live-KTA3PBIZ.js → live-UEXRJVW7.js} +5 -5
  42. package/dist/chunks/{mcp-LRVXW7A7.js → mcp-NVVR4UKY.js} +2 -2
  43. package/dist/chunks/{message-command-EGW35OL7.js → message-command-I64YRTNB.js} +7 -7
  44. package/dist/chunks/{pal-4EKUDDEF.js → pal-NB7RUP46.js} +3 -3
  45. package/dist/chunks/{resident-RIEUVCJV.js → resident-5NGOFCXA.js} +4 -4
  46. package/dist/chunks/{schedule-ZGWUP5RM.js → schedule-QEHZQEOW.js} +5 -5
  47. package/dist/chunks/{service-CQHO4YOY.js → service-IV7GLCWL.js} +5 -5
  48. package/dist/chunks/{session-step-ACM2MPBS.js → session-step-3ETHIACS.js} +2 -2
  49. package/dist/chunks/{start-check-AXKYDH2C.js → start-check-B2FWFMBY.js} +2 -2
  50. package/dist/chunks/{tui-P35LSX7G.js → tui-2G65ZDB4.js} +92 -43
  51. package/dist/chunks/{tui-P35LSX7G.js.map → tui-2G65ZDB4.js.map} +3 -3
  52. package/dist/chunks/{upgrade-AYBZKKGW.js → upgrade-Q4XOX2IP.js} +3 -3
  53. package/dist/config/load.d.ts.map +1 -1
  54. package/dist/config/schema.d.ts +7 -1
  55. package/dist/config/schema.d.ts.map +1 -1
  56. package/dist/index.js +7 -7
  57. package/dist/integrations/decision/{memory-admit.d.ts → memory.d.ts} +1 -1
  58. package/dist/integrations/decision/memory.d.ts.map +1 -0
  59. package/dist/integrations/decision/{notify-worthy.d.ts → notify.d.ts} +2 -2
  60. package/dist/integrations/decision/notify.d.ts.map +1 -0
  61. package/dist/integrations/decision/skill.d.ts +27 -0
  62. package/dist/integrations/decision/skill.d.ts.map +1 -0
  63. package/dist/integrations/resident/runner-worker.js +1 -1
  64. package/dist/tui/App.d.ts.map +1 -1
  65. package/package.json +3 -3
  66. package/dist/chunks/chunk-ST3O46XN.js.map +0 -6
  67. package/dist/integrations/decision/memory-admit.d.ts.map +0 -1
  68. package/dist/integrations/decision/notify-worthy.d.ts.map +0 -1
  69. /package/dist/chunks/{acp-3V6NHG7R.js.map → acp-MEXVPVAC.js.map} +0 -0
  70. /package/dist/chunks/{add-XKZJI3V7.js.map → add-2Y2E2IES.js.map} +0 -0
  71. /package/dist/chunks/{agent-XGKIY2WD.js.map → agent-GRVNRFBO.js.map} +0 -0
  72. /package/dist/chunks/{agent-session-CJ4WETWI.js.map → agent-session-HC2QNXXI.js.map} +0 -0
  73. /package/dist/chunks/{bin-main-VUO6CM2G.js.map → bin-main-EVFEBOIR.js.map} +0 -0
  74. /package/dist/chunks/{chat-UAEPQUH5.js.map → chat-NC37EXYB.js.map} +0 -0
  75. /package/dist/chunks/{chunk-JMSP27T2.js.map → chunk-3QLYQ46N.js.map} +0 -0
  76. /package/dist/chunks/{chunk-TCZHV4CH.js.map → chunk-5HI2QNR7.js.map} +0 -0
  77. /package/dist/chunks/{chunk-DJBQ7ZES.js.map → chunk-5HKXRQWG.js.map} +0 -0
  78. /package/dist/chunks/{chunk-ODWHOG5J.js.map → chunk-5HPOKUTB.js.map} +0 -0
  79. /package/dist/chunks/{chunk-3DSO557S.js.map → chunk-A7QCYA7S.js.map} +0 -0
  80. /package/dist/chunks/{chunk-IK4M2GKG.js.map → chunk-AXFOGCTW.js.map} +0 -0
  81. /package/dist/chunks/{chunk-NT7IZ2H5.js.map → chunk-C5VB6EQW.js.map} +0 -0
  82. /package/dist/chunks/{chunk-7XEI356G.js.map → chunk-DP3U5NBJ.js.map} +0 -0
  83. /package/dist/chunks/{chunk-KGHFPFFH.js.map → chunk-GEMTMJCC.js.map} +0 -0
  84. /package/dist/chunks/{chunk-BYOFX2PR.js.map → chunk-JXLIHF36.js.map} +0 -0
  85. /package/dist/chunks/{chunk-X4RH3DWW.js.map → chunk-KBD4T5O7.js.map} +0 -0
  86. /package/dist/chunks/{chunk-JIF3WU5W.js.map → chunk-LYR56WMM.js.map} +0 -0
  87. /package/dist/chunks/{chunk-RQR7K35R.js.map → chunk-NTOAY6OF.js.map} +0 -0
  88. /package/dist/chunks/{chunk-2CBK4QUG.js.map → chunk-Q2GHAHRT.js.map} +0 -0
  89. /package/dist/chunks/{chunk-UJARYXWX.js.map → chunk-QYV4RDDK.js.map} +0 -0
  90. /package/dist/chunks/{chunk-FKEIGFGX.js.map → chunk-RFUFAQSN.js.map} +0 -0
  91. /package/dist/chunks/{chunk-BAICKQOV.js.map → chunk-RTEPHRJB.js.map} +0 -0
  92. /package/dist/chunks/{chunk-2QNK7BS2.js.map → chunk-UWPQHMIP.js.map} +0 -0
  93. /package/dist/chunks/{chunk-MGZO6S57.js.map → chunk-XCCOM7G2.js.map} +0 -0
  94. /package/dist/chunks/{cli-runtime-WIU3GECE.js.map → cli-runtime-6X42NV5R.js.map} +0 -0
  95. /package/dist/chunks/{doctor-ORMF6ZAI.js.map → doctor-GD2RFBCM.js.map} +0 -0
  96. /package/dist/chunks/{drain-R6TJASK3.js.map → drain-JYBKHPLH.js.map} +0 -0
  97. /package/dist/chunks/{exec-O3RCG5FB.js.map → exec-GJNOZIJK.js.map} +0 -0
  98. /package/dist/chunks/{host-queries-YCDTFIDN.js.map → host-queries-ALOAZXC2.js.map} +0 -0
  99. /package/dist/chunks/{learn-N4OS372P.js.map → learn-D4WBZOJI.js.map} +0 -0
  100. /package/dist/chunks/{learn-builtin-BSDOCR6R.js.map → learn-builtin-IRUU6FKN.js.map} +0 -0
  101. /package/dist/chunks/{lifecycle-3OPZMN4X.js.map → lifecycle-4TZM6I4P.js.map} +0 -0
  102. /package/dist/chunks/{list-4ZFSOAJ7.js.map → list-X4JB3AHD.js.map} +0 -0
  103. /package/dist/chunks/{live-KTA3PBIZ.js.map → live-UEXRJVW7.js.map} +0 -0
  104. /package/dist/chunks/{mcp-LRVXW7A7.js.map → mcp-NVVR4UKY.js.map} +0 -0
  105. /package/dist/chunks/{message-command-EGW35OL7.js.map → message-command-I64YRTNB.js.map} +0 -0
  106. /package/dist/chunks/{pal-4EKUDDEF.js.map → pal-NB7RUP46.js.map} +0 -0
  107. /package/dist/chunks/{resident-RIEUVCJV.js.map → resident-5NGOFCXA.js.map} +0 -0
  108. /package/dist/chunks/{schedule-ZGWUP5RM.js.map → schedule-QEHZQEOW.js.map} +0 -0
  109. /package/dist/chunks/{service-CQHO4YOY.js.map → service-IV7GLCWL.js.map} +0 -0
  110. /package/dist/chunks/{session-step-ACM2MPBS.js.map → session-step-3ETHIACS.js.map} +0 -0
  111. /package/dist/chunks/{start-check-AXKYDH2C.js.map → start-check-B2FWFMBY.js.map} +0 -0
  112. /package/dist/chunks/{upgrade-AYBZKKGW.js.map → upgrade-Q4XOX2IP.js.map} +0 -0
@@ -14,7 +14,7 @@ import {
14
14
  confirmationView,
15
15
  describeChanges,
16
16
  permissionsChanged
17
- } from "./chunk-TCZHV4CH.js";
17
+ } from "./chunk-5HI2QNR7.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-NTOAY6OF.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-5HKXRQWG.js";
97
97
  import {
98
98
  DELIVERY_READ_LIMIT,
99
99
  readSourceDeliveryPage,
100
100
  takeSuppressedCount
101
- } from "./chunk-JIF3WU5W.js";
101
+ } from "./chunk-LYR56WMM.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-QYV4RDDK.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-UWPQHMIP.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-C5VB6EQW.js";
184
184
  import {
185
185
  tuiPalDefinition,
186
186
  tuiPalEnvironment,
187
187
  tuiPalOwner,
188
188
  tuiPalPreferences
189
- } from "./chunk-FKEIGFGX.js";
189
+ } from "./chunk-RFUFAQSN.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-Q2GHAHRT.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-XPKUTEXE.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-AXFOGCTW.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-DP3U5NBJ.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-3QLYQ46N.js";
384
+ import "./chunk-A7QCYA7S.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-SCV5ZD5H.js";
435
435
  import "./chunk-KONYGNG6.js";
436
436
  import "./chunk-LCGXWCVU.js";
437
437
  import {
@@ -40019,7 +40019,7 @@ function hostAccountFacts(input) {
40019
40019
  }
40020
40020
  __name(hostAccountFacts, "hostAccountFacts");
40021
40021
 
40022
- // src/integrations/decision/notify-worthy.ts
40022
+ // src/integrations/decision/notify.ts
40023
40023
  var NOTIFY_WORTHY_TAIL_CHARS = 1200;
40024
40024
  var NOTIFY_WORTHY_INSTRUCTIONS = "Would a person who stepped away from the terminal want to be called back right now? Answer yes when the reply asks them something, needs their decision or approval, hands over a finished result, or reports a failure they must act on. Answer no for progress notes, acknowledgements, and a short answer to something they just asked and are watching for.";
40025
40025
  function printable(text) {
@@ -40037,7 +40037,7 @@ function notifyWorthyQuestion(input) {
40037
40037
  const tail = chars.slice(-NOTIFY_WORTHY_TAIL_CHARS).join("");
40038
40038
  const seconds = Math.round(input.turnMs / 1e3);
40039
40039
  return {
40040
- point: "notify-worthy",
40040
+ point: "notify",
40041
40041
  state: `${tail}
40042
40042
 
40043
40043
  [the turn took ${seconds}s]`,
@@ -40047,6 +40047,40 @@ function notifyWorthyQuestion(input) {
40047
40047
  }
40048
40048
  __name(notifyWorthyQuestion, "notifyWorthyQuestion");
40049
40049
 
40050
+ // src/integrations/decision/skill.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",
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") === "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") === "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
  );
@@ -59363,7 +59411,7 @@ ${blocks.join("\n\n")}`;
59363
59411
  }
59364
59412
  const sound = { enabled: ctx.tui?.sound !== false, isTTY: stdout.isTTY };
59365
59413
  const points = decisionPointsRef.current;
59366
- if (reply !== void 0 && sound.enabled && notification.kind === "turn-settled" && notification.outcome === "completed" && points?.mode("notify-worthy") !== "off") {
59414
+ if (reply !== void 0 && sound.enabled && notification.kind === "turn-settled" && notification.outcome === "completed" && points?.mode("notify") !== "off") {
59367
59415
  void points?.ask(
59368
59416
  notifyWorthyQuestion({
59369
59417
  reply,
@@ -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-UEXRJVW7.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-2G65ZDB4.js.map