@namzu/cli 53.0.0 → 53.0.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 (62) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{apply-at-exit-WWVK3RWD.js → apply-at-exit-BRXYTQVG.js} +4 -4
  4. package/dist/chunks/{bin-main-QWMIKRQP.js → bin-main-XR2DJOI6.js} +4 -4
  5. package/dist/chunks/{chat-SE2QOB2X.js → chat-K6GQGRUA.js} +2 -2
  6. package/dist/chunks/{chunk-HSLOM2WI.js → chunk-5I45HTKW.js} +2 -2
  7. package/dist/chunks/chunk-5PO5ZH6M.js +528 -0
  8. package/dist/chunks/chunk-5PO5ZH6M.js.map +6 -0
  9. package/dist/chunks/{chunk-M2J3O3JT.js → chunk-FEIIR46G.js} +2 -2
  10. package/dist/chunks/{chunk-4SJZ5D6H.js → chunk-J7SA5BCI.js} +3 -3
  11. package/dist/chunks/{chunk-LSRVPPLR.js → chunk-MHXJYXOF.js} +2 -2
  12. package/dist/chunks/{chunk-5QACH2Q2.js → chunk-RDW6L3PV.js} +2 -2
  13. package/dist/chunks/{chunk-JQZDXUYK.js → chunk-RJWPNAYL.js} +2 -2
  14. package/dist/chunks/{chunk-SFDB5RIL.js → chunk-SVMGV4AS.js} +8 -8
  15. package/dist/chunks/{chunk-54KHPVNE.js → chunk-UJOWXA23.js} +913 -15733
  16. package/dist/chunks/chunk-UJOWXA23.js.map +6 -0
  17. package/dist/chunks/{chunk-FIYZCKQ7.js → chunk-VVWI4EB7.js} +2 -2
  18. package/dist/chunks/{chunk-CT47C23E.js → chunk-YSKCWH72.js} +3 -3
  19. package/dist/chunks/{doctor-7MQUQYQV.js → doctor-Y5PQ2R7D.js} +9 -9
  20. package/dist/chunks/{entry-Z2ZZSYJA.js → entry-BJY7UE6P.js} +3 -3
  21. package/dist/chunks/{exec-57YQHQDC.js → exec-63SUPKUV.js} +3 -3
  22. package/dist/chunks/{host-XSB7Z6CT.js → host-OB5CL3GG.js} +3 -3
  23. package/dist/chunks/{live-YRL6H74Z.js → live-YUE4AKRQ.js} +8 -8
  24. package/dist/chunks/{pal-ZTG4AHCK.js → pal-YXOWNULV.js} +2 -2
  25. package/dist/chunks/{start-check-AOQC6GI3.js → start-check-KECY75IO.js} +2 -2
  26. package/dist/chunks/{tui-6OL6WX6S.js → tui-XKAQI3DD.js} +9 -9
  27. package/dist/chunks/{upgrade-IQA7V2NK.js → upgrade-GLEEEZWO.js} +3 -3
  28. package/dist/chunks/{watch-TPJ6F4OJ.js → watch-XZKKDKAF.js} +8 -8
  29. package/dist/chunks/{workspaces-B7URZQRL.js → workspaces-GS6D72XT.js} +3 -3
  30. package/dist/index.js +9 -9
  31. package/dist/tui/fullscreen/code-wrap.d.ts +31 -0
  32. package/dist/tui/fullscreen/code-wrap.d.ts.map +1 -0
  33. package/dist/tui/fullscreen/layout.d.ts.map +1 -1
  34. package/dist/tui/fullscreen/markdown-rows.d.ts +19 -1
  35. package/dist/tui/fullscreen/markdown-rows.d.ts.map +1 -1
  36. package/package.json +3 -3
  37. package/dist/chunks/chunk-54KHPVNE.js.map +0 -6
  38. package/dist/chunks/chunk-HREK4V2O.js +0 -1545
  39. package/dist/chunks/chunk-HREK4V2O.js.map +0 -6
  40. /package/dist/chunks/{apply-at-exit-WWVK3RWD.js.map → apply-at-exit-BRXYTQVG.js.map} +0 -0
  41. /package/dist/chunks/{bin-main-QWMIKRQP.js.map → bin-main-XR2DJOI6.js.map} +0 -0
  42. /package/dist/chunks/{chat-SE2QOB2X.js.map → chat-K6GQGRUA.js.map} +0 -0
  43. /package/dist/chunks/{chunk-HSLOM2WI.js.map → chunk-5I45HTKW.js.map} +0 -0
  44. /package/dist/chunks/{chunk-M2J3O3JT.js.map → chunk-FEIIR46G.js.map} +0 -0
  45. /package/dist/chunks/{chunk-4SJZ5D6H.js.map → chunk-J7SA5BCI.js.map} +0 -0
  46. /package/dist/chunks/{chunk-LSRVPPLR.js.map → chunk-MHXJYXOF.js.map} +0 -0
  47. /package/dist/chunks/{chunk-5QACH2Q2.js.map → chunk-RDW6L3PV.js.map} +0 -0
  48. /package/dist/chunks/{chunk-JQZDXUYK.js.map → chunk-RJWPNAYL.js.map} +0 -0
  49. /package/dist/chunks/{chunk-SFDB5RIL.js.map → chunk-SVMGV4AS.js.map} +0 -0
  50. /package/dist/chunks/{chunk-FIYZCKQ7.js.map → chunk-VVWI4EB7.js.map} +0 -0
  51. /package/dist/chunks/{chunk-CT47C23E.js.map → chunk-YSKCWH72.js.map} +0 -0
  52. /package/dist/chunks/{doctor-7MQUQYQV.js.map → doctor-Y5PQ2R7D.js.map} +0 -0
  53. /package/dist/chunks/{entry-Z2ZZSYJA.js.map → entry-BJY7UE6P.js.map} +0 -0
  54. /package/dist/chunks/{exec-57YQHQDC.js.map → exec-63SUPKUV.js.map} +0 -0
  55. /package/dist/chunks/{host-XSB7Z6CT.js.map → host-OB5CL3GG.js.map} +0 -0
  56. /package/dist/chunks/{live-YRL6H74Z.js.map → live-YUE4AKRQ.js.map} +0 -0
  57. /package/dist/chunks/{pal-ZTG4AHCK.js.map → pal-YXOWNULV.js.map} +0 -0
  58. /package/dist/chunks/{start-check-AOQC6GI3.js.map → start-check-KECY75IO.js.map} +0 -0
  59. /package/dist/chunks/{tui-6OL6WX6S.js.map → tui-XKAQI3DD.js.map} +0 -0
  60. /package/dist/chunks/{upgrade-IQA7V2NK.js.map → upgrade-GLEEEZWO.js.map} +0 -0
  61. /package/dist/chunks/{watch-TPJ6F4OJ.js.map → watch-XZKKDKAF.js.map} +0 -0
  62. /package/dist/chunks/{workspaces-B7URZQRL.js.map → workspaces-GS6D72XT.js.map} +0 -0
@@ -9,7 +9,7 @@ import { createRequire } from "node:module";
9
9
  var START_CHECK_FLAG = "--start-check";
10
10
  var productionDeps = {
11
11
  loadSession: /* @__PURE__ */ __name(async () => {
12
- await import("./tui-6OL6WX6S.js");
12
+ await import("./tui-XKAQI3DD.js");
13
13
  await import("./cli-runtime-SVXU6U4V.js");
14
14
  }, "loadSession"),
15
15
  ptyInstalled: /* @__PURE__ */ __name(() => {
@@ -56,4 +56,4 @@ export {
56
56
  START_CHECK_FLAG,
57
57
  runStartCheck
58
58
  };
59
- //# sourceMappingURL=chunk-FIYZCKQ7.js.map
59
+ //# sourceMappingURL=chunk-VVWI4EB7.js.map
@@ -13,7 +13,7 @@ import {
13
13
  compareVersions,
14
14
  describeFailure,
15
15
  manualUpdateCommand
16
- } from "./chunk-LSRVPPLR.js";
16
+ } from "./chunk-MHXJYXOF.js";
17
17
  import {
18
18
  readManifest
19
19
  } from "./chunk-AK2U3N2A.js";
@@ -21,7 +21,7 @@ import {
21
21
  hookConfigProblemLines,
22
22
  hookReadingProblems,
23
23
  hooksSwitchLine
24
- } from "./chunk-HSLOM2WI.js";
24
+ } from "./chunk-5I45HTKW.js";
25
25
  import {
26
26
  listJobs
27
27
  } from "./chunk-JR6EFL7G.js";
@@ -1280,4 +1280,4 @@ export {
1280
1280
  buildDoctorRegistry,
1281
1281
  runLiveDoctor
1282
1282
  };
1283
- //# sourceMappingURL=chunk-CT47C23E.js.map
1283
+ //# sourceMappingURL=chunk-YSKCWH72.js.map
@@ -3,16 +3,16 @@ const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  doctorCommand,
5
5
  runDoctorCommand
6
- } from "./chunk-M2J3O3JT.js";
7
- import "./chunk-CT47C23E.js";
6
+ } from "./chunk-FEIIR46G.js";
7
+ import "./chunk-YSKCWH72.js";
8
8
  import "./chunk-ZPR4IMRT.js";
9
9
  import "./chunk-SF5VE66A.js";
10
10
  import "./chunk-PCUMISO3.js";
11
- import "./chunk-4SJZ5D6H.js";
12
- import "./chunk-5QACH2Q2.js";
13
- import "./chunk-LSRVPPLR.js";
11
+ import "./chunk-J7SA5BCI.js";
12
+ import "./chunk-RDW6L3PV.js";
13
+ import "./chunk-MHXJYXOF.js";
14
14
  import "./chunk-AK2U3N2A.js";
15
- import "./chunk-HSLOM2WI.js";
15
+ import "./chunk-5I45HTKW.js";
16
16
  import "./chunk-HMRSZOTE.js";
17
17
  import "./chunk-MDK4RMBQ.js";
18
18
  import "./chunk-NICPMJJQ.js";
@@ -22,9 +22,9 @@ import "./chunk-OEW7CJKK.js";
22
22
  import "./chunk-ZZNHDQAD.js";
23
23
  import "./chunk-N56NUKMT.js";
24
24
  import "./chunk-CING2BNJ.js";
25
- import "./chunk-FIYZCKQ7.js";
25
+ import "./chunk-VVWI4EB7.js";
26
26
  import "./chunk-6ULKBT6P.js";
27
- import "./chunk-HREK4V2O.js";
27
+ import "./chunk-5PO5ZH6M.js";
28
28
  import "./chunk-G4N43E6M.js";
29
29
  import "./chunk-POOJ2MUS.js";
30
30
  import "./chunk-EDOJTQQU.js";
@@ -74,4 +74,4 @@ export {
74
74
  doctorCommand,
75
75
  runDoctorCommand
76
76
  };
77
- //# sourceMappingURL=doctor-7MQUQYQV.js.map
77
+ //# sourceMappingURL=doctor-Y5PQ2R7D.js.map
@@ -112,8 +112,8 @@ function createWorkspacesEntry(deps) {
112
112
  let built = null;
113
113
  const build = /* @__PURE__ */ __name(async () => {
114
114
  const [{ WorkspacesHost: Host }, workspaces, store, peersModule, prefixModule, pty, mouse] = await Promise.all([
115
- import("./host-XSB7Z6CT.js"),
116
- import("./workspaces-B7URZQRL.js"),
115
+ import("./host-OB5CL3GG.js"),
116
+ import("./workspaces-GS6D72XT.js"),
117
117
  import("./store-H4IVAEZK.js"),
118
118
  import("./peers-6M4UPHDF.js"),
119
119
  import("./prefix-3ZNPUSUK.js"),
@@ -236,4 +236,4 @@ __name(createWorkspacesEntry, "createWorkspacesEntry");
236
236
  export {
237
237
  createWorkspacesEntry
238
238
  };
239
- //# sourceMappingURL=entry-Z2ZZSYJA.js.map
239
+ //# sourceMappingURL=entry-BJY7UE6P.js.map
@@ -59,7 +59,7 @@ import "./chunk-RAPO3KLG.js";
59
59
  import "./chunk-OAHCS42A.js";
60
60
  import {
61
61
  hostCommandNames
62
- } from "./chunk-HSLOM2WI.js";
62
+ } from "./chunk-5I45HTKW.js";
63
63
  import "./chunk-HMRSZOTE.js";
64
64
  import "./chunk-MDK4RMBQ.js";
65
65
  import {
@@ -70,7 +70,7 @@ import {
70
70
  } from "./chunk-N56NUKMT.js";
71
71
  import "./chunk-CING2BNJ.js";
72
72
  import "./chunk-6ULKBT6P.js";
73
- import "./chunk-HREK4V2O.js";
73
+ import "./chunk-5PO5ZH6M.js";
74
74
  import "./chunk-G4N43E6M.js";
75
75
  import {
76
76
  resolveTrustedProjectContext
@@ -1816,4 +1816,4 @@ export {
1816
1816
  composePrompt,
1817
1817
  execCommand
1818
1818
  };
1819
- //# sourceMappingURL=exec-57YQHQDC.js.map
1819
+ //# sourceMappingURL=exec-63SUPKUV.js.map
@@ -4,7 +4,7 @@ import {
4
4
  WorkspacesHost,
5
5
  realSchedule,
6
6
  realSignalHooks
7
- } from "./chunk-JQZDXUYK.js";
7
+ } from "./chunk-RJWPNAYL.js";
8
8
  import "./chunk-ZDZ35MMZ.js";
9
9
  import "./chunk-DH4X2E6M.js";
10
10
  import "./chunk-DMUQFCYZ.js";
@@ -13,7 +13,7 @@ import "./chunk-O326HKCW.js";
13
13
  import "./chunk-GWGIAZLZ.js";
14
14
  import "./chunk-6HTC5TQ3.js";
15
15
  import "./chunk-YOWYTBJS.js";
16
- import "./chunk-HREK4V2O.js";
16
+ import "./chunk-5PO5ZH6M.js";
17
17
  import "./chunk-EDOJTQQU.js";
18
18
  import "./chunk-WD2F6EO3.js";
19
19
  import "./chunk-S2JWPUUH.js";
@@ -29,4 +29,4 @@ export {
29
29
  realSchedule,
30
30
  realSignalHooks
31
31
  };
32
- //# sourceMappingURL=host-XSB7Z6CT.js.map
32
+ //# sourceMappingURL=host-OB5CL3GG.js.map
@@ -3,15 +3,15 @@ const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  buildDoctorRegistry,
5
5
  runLiveDoctor
6
- } from "./chunk-CT47C23E.js";
6
+ } from "./chunk-YSKCWH72.js";
7
7
  import "./chunk-ZPR4IMRT.js";
8
8
  import "./chunk-SF5VE66A.js";
9
9
  import "./chunk-PCUMISO3.js";
10
- import "./chunk-4SJZ5D6H.js";
11
- import "./chunk-5QACH2Q2.js";
12
- import "./chunk-LSRVPPLR.js";
10
+ import "./chunk-J7SA5BCI.js";
11
+ import "./chunk-RDW6L3PV.js";
12
+ import "./chunk-MHXJYXOF.js";
13
13
  import "./chunk-AK2U3N2A.js";
14
- import "./chunk-HSLOM2WI.js";
14
+ import "./chunk-5I45HTKW.js";
15
15
  import "./chunk-HMRSZOTE.js";
16
16
  import "./chunk-MDK4RMBQ.js";
17
17
  import "./chunk-NICPMJJQ.js";
@@ -21,9 +21,9 @@ import "./chunk-OEW7CJKK.js";
21
21
  import "./chunk-ZZNHDQAD.js";
22
22
  import "./chunk-N56NUKMT.js";
23
23
  import "./chunk-CING2BNJ.js";
24
- import "./chunk-FIYZCKQ7.js";
24
+ import "./chunk-VVWI4EB7.js";
25
25
  import "./chunk-6ULKBT6P.js";
26
- import "./chunk-HREK4V2O.js";
26
+ import "./chunk-5PO5ZH6M.js";
27
27
  import "./chunk-G4N43E6M.js";
28
28
  import "./chunk-POOJ2MUS.js";
29
29
  import "./chunk-EDOJTQQU.js";
@@ -72,4 +72,4 @@ export {
72
72
  buildDoctorRegistry,
73
73
  runLiveDoctor
74
74
  };
75
- //# sourceMappingURL=live-YRL6H74Z.js.map
75
+ //# sourceMappingURL=live-YUE4AKRQ.js.map
@@ -126,7 +126,7 @@ function createPalCommand(resumeCommand) {
126
126
  if (verb === "chat") {
127
127
  const [id, ...args] = rest;
128
128
  if (!id) throw new Error("A Pal id is required.");
129
- return (await import("./chat-SE2QOB2X.js")).runPalChat(ctx, id, args, {
129
+ return (await import("./chat-K6GQGRUA.js")).runPalChat(ctx, id, args, {
130
130
  resumeCommand
131
131
  });
132
132
  }
@@ -201,4 +201,4 @@ export {
201
201
  createPalCommand,
202
202
  palCommand
203
203
  };
204
- //# sourceMappingURL=pal-ZTG4AHCK.js.map
204
+ //# sourceMappingURL=pal-YXOWNULV.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-FIYZCKQ7.js";
6
+ } from "./chunk-VVWI4EB7.js";
7
7
  import "./chunk-76FLAFCG.js";
8
8
  export {
9
9
  START_CHECK_FLAG,
10
10
  runStartCheck
11
11
  };
12
- //# sourceMappingURL=start-check-AOQC6GI3.js.map
12
+ //# sourceMappingURL=start-check-KECY75IO.js.map
@@ -7,7 +7,7 @@ import {
7
7
  setSyntaxHighlight,
8
8
  startOnFreshLine,
9
9
  terminalFocus
10
- } from "./chunk-54KHPVNE.js";
10
+ } from "./chunk-UJOWXA23.js";
11
11
  import "./chunk-27R3OTVS.js";
12
12
  import "./chunk-HTHNDZ3L.js";
13
13
  import "./chunk-NADQQMMG.js";
@@ -76,13 +76,13 @@ import "./chunk-7AWFHVMT.js";
76
76
  import "./chunk-JQIBPPOL.js";
77
77
  import "./chunk-RAPO3KLG.js";
78
78
  import "./chunk-OAHCS42A.js";
79
- import "./chunk-4SJZ5D6H.js";
80
- import "./chunk-5QACH2Q2.js";
81
- import "./chunk-LSRVPPLR.js";
79
+ import "./chunk-J7SA5BCI.js";
80
+ import "./chunk-RDW6L3PV.js";
81
+ import "./chunk-MHXJYXOF.js";
82
82
  import "./chunk-AK2U3N2A.js";
83
83
  import {
84
84
  setThemeSetting
85
- } from "./chunk-HSLOM2WI.js";
85
+ } from "./chunk-5I45HTKW.js";
86
86
  import "./chunk-HMRSZOTE.js";
87
87
  import "./chunk-MDK4RMBQ.js";
88
88
  import "./chunk-NICPMJJQ.js";
@@ -91,7 +91,7 @@ import "./chunk-A22MBIYU.js";
91
91
  import "./chunk-OEW7CJKK.js";
92
92
  import "./chunk-ZZNHDQAD.js";
93
93
  import "./chunk-CING2BNJ.js";
94
- import "./chunk-FIYZCKQ7.js";
94
+ import "./chunk-VVWI4EB7.js";
95
95
  import {
96
96
  backgroundFromColorFgBg,
97
97
  queryTerminalBackground
@@ -99,7 +99,7 @@ import {
99
99
  import {
100
100
  require_react,
101
101
  setReducedMotion
102
- } from "./chunk-HREK4V2O.js";
102
+ } from "./chunk-5PO5ZH6M.js";
103
103
  import "./chunk-G4N43E6M.js";
104
104
  import "./chunk-CHIEVVQ2.js";
105
105
  import "./chunk-POOJ2MUS.js";
@@ -907,7 +907,7 @@ async function launchTui(ctx, options = {}) {
907
907
  current: null
908
908
  };
909
909
  const workspacesEntry = /* @__PURE__ */ __name(() => {
910
- workspaces.current ??= import("./entry-Z2ZZSYJA.js").then(
910
+ workspaces.current ??= import("./entry-BJY7UE6P.js").then(
911
911
  (m) => m.createWorkspacesEntry({
912
912
  proxy,
913
913
  realOut: process.stdout,
@@ -1053,4 +1053,4 @@ __name(launchTui, "launchTui");
1053
1053
  export {
1054
1054
  launchTui
1055
1055
  };
1056
- //# sourceMappingURL=tui-6OL6WX6S.js.map
1056
+ //# sourceMappingURL=tui-XKAQI3DD.js.map
@@ -23,7 +23,7 @@ import {
23
23
  settlePnpmByName,
24
24
  smokeTestInstalled,
25
25
  tarballPath
26
- } from "./chunk-LSRVPPLR.js";
26
+ } from "./chunk-MHXJYXOF.js";
27
27
  import {
28
28
  acquireUpdateLock,
29
29
  clearInProgress,
@@ -38,7 +38,7 @@ import {
38
38
  runNpmUpgrade,
39
39
  writeInProgress
40
40
  } from "./chunk-ZZNHDQAD.js";
41
- import "./chunk-FIYZCKQ7.js";
41
+ import "./chunk-VVWI4EB7.js";
42
42
  import "./chunk-HE7WUOX2.js";
43
43
  import {
44
44
  EXIT_FAIL,
@@ -467,4 +467,4 @@ export {
467
467
  runNpmUpgrade,
468
468
  upgradeCommand
469
469
  };
470
- //# sourceMappingURL=upgrade-IQA7V2NK.js.map
470
+ //# sourceMappingURL=upgrade-GLEEEZWO.js.map
@@ -23,7 +23,7 @@ import {
23
23
  stripFenceIndent,
24
24
  trailFromRecords,
25
25
  whenGrammarsSettle
26
- } from "./chunk-54KHPVNE.js";
26
+ } from "./chunk-UJOWXA23.js";
27
27
  import "./chunk-27R3OTVS.js";
28
28
  import "./chunk-HTHNDZ3L.js";
29
29
  import "./chunk-NADQQMMG.js";
@@ -78,11 +78,11 @@ import {
78
78
  import "./chunk-JQIBPPOL.js";
79
79
  import "./chunk-RAPO3KLG.js";
80
80
  import "./chunk-OAHCS42A.js";
81
- import "./chunk-4SJZ5D6H.js";
82
- import "./chunk-5QACH2Q2.js";
83
- import "./chunk-LSRVPPLR.js";
81
+ import "./chunk-J7SA5BCI.js";
82
+ import "./chunk-RDW6L3PV.js";
83
+ import "./chunk-MHXJYXOF.js";
84
84
  import "./chunk-AK2U3N2A.js";
85
- import "./chunk-HSLOM2WI.js";
85
+ import "./chunk-5I45HTKW.js";
86
86
  import "./chunk-HMRSZOTE.js";
87
87
  import "./chunk-MDK4RMBQ.js";
88
88
  import "./chunk-NICPMJJQ.js";
@@ -91,9 +91,9 @@ import "./chunk-A22MBIYU.js";
91
91
  import "./chunk-OEW7CJKK.js";
92
92
  import "./chunk-ZZNHDQAD.js";
93
93
  import "./chunk-CING2BNJ.js";
94
- import "./chunk-FIYZCKQ7.js";
94
+ import "./chunk-VVWI4EB7.js";
95
95
  import "./chunk-6ULKBT6P.js";
96
- import "./chunk-HREK4V2O.js";
96
+ import "./chunk-5PO5ZH6M.js";
97
97
  import "./chunk-G4N43E6M.js";
98
98
  import "./chunk-CHIEVVQ2.js";
99
99
  import "./chunk-POOJ2MUS.js";
@@ -812,4 +812,4 @@ export {
812
812
  runWatch,
813
813
  watchCommand
814
814
  };
815
- //# sourceMappingURL=watch-TPJ6F4OJ.js.map
815
+ //# sourceMappingURL=watch-XZKKDKAF.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
  WorkspacesHost
5
- } from "./chunk-JQZDXUYK.js";
5
+ } from "./chunk-RJWPNAYL.js";
6
6
  import "./chunk-ZDZ35MMZ.js";
7
7
  import {
8
8
  resolveMouseMode
@@ -30,7 +30,7 @@ import "./chunk-CQKYKQEF.js";
30
30
  import {
31
31
  backgroundFromColorFgBg
32
32
  } from "./chunk-6ULKBT6P.js";
33
- import "./chunk-HREK4V2O.js";
33
+ import "./chunk-5PO5ZH6M.js";
34
34
  import "./chunk-EDOJTQQU.js";
35
35
  import {
36
36
  applyPalette
@@ -266,4 +266,4 @@ export {
266
266
  storedAccounts,
267
267
  workspacesCommand
268
268
  };
269
- //# sourceMappingURL=workspaces-B7URZQRL.js.map
269
+ //# sourceMappingURL=workspaces-GS6D72XT.js.map
package/dist/index.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  registerAll,
5
5
  registerCommand,
6
6
  runCli
7
- } from "./chunks/chunk-SFDB5RIL.js";
7
+ } from "./chunks/chunk-SVMGV4AS.js";
8
8
  import {
9
9
  runDoctorCommand
10
- } from "./chunks/chunk-M2J3O3JT.js";
10
+ } from "./chunks/chunk-FEIIR46G.js";
11
11
  import "./chunks/chunk-MZP6SH3M.js";
12
12
  import {
13
13
  DoctorRegistry,
@@ -29,15 +29,15 @@ import {
29
29
  telemetryInstalledCheck,
30
30
  tmpdirWritableCheck,
31
31
  vaultRegisteredCheck
32
- } from "./chunks/chunk-CT47C23E.js";
32
+ } from "./chunks/chunk-YSKCWH72.js";
33
33
  import "./chunks/chunk-ZPR4IMRT.js";
34
34
  import "./chunks/chunk-SF5VE66A.js";
35
35
  import "./chunks/chunk-PCUMISO3.js";
36
- import "./chunks/chunk-4SJZ5D6H.js";
37
- import "./chunks/chunk-5QACH2Q2.js";
38
- import "./chunks/chunk-LSRVPPLR.js";
36
+ import "./chunks/chunk-J7SA5BCI.js";
37
+ import "./chunks/chunk-RDW6L3PV.js";
38
+ import "./chunks/chunk-MHXJYXOF.js";
39
39
  import "./chunks/chunk-AK2U3N2A.js";
40
- import "./chunks/chunk-HSLOM2WI.js";
40
+ import "./chunks/chunk-5I45HTKW.js";
41
41
  import "./chunks/chunk-HMRSZOTE.js";
42
42
  import "./chunks/chunk-MDK4RMBQ.js";
43
43
  import "./chunks/chunk-NICPMJJQ.js";
@@ -47,9 +47,9 @@ import "./chunks/chunk-OEW7CJKK.js";
47
47
  import "./chunks/chunk-ZZNHDQAD.js";
48
48
  import "./chunks/chunk-N56NUKMT.js";
49
49
  import "./chunks/chunk-CING2BNJ.js";
50
- import "./chunks/chunk-FIYZCKQ7.js";
50
+ import "./chunks/chunk-VVWI4EB7.js";
51
51
  import "./chunks/chunk-6ULKBT6P.js";
52
- import "./chunks/chunk-HREK4V2O.js";
52
+ import "./chunks/chunk-5PO5ZH6M.js";
53
53
  import "./chunks/chunk-G4N43E6M.js";
54
54
  import {
55
55
  DESKTOP_CONTRACT
@@ -0,0 +1,31 @@
1
+ /**
2
+ * A code line cut to rows, the way `<Text wrap="wrap">` cuts it.
3
+ *
4
+ * ## Why this is not asked of the renderer
5
+ *
6
+ * The cut has to be the one the normal transcript draws, and for a while it was
7
+ * got by rendering the line with Ink's `renderToString`. That cannot be done
8
+ * from where the rows are made: the rows of the window are built while the
9
+ * window itself is being rendered, and a render started inside a render has
10
+ * nothing to run it. React then leaves the inner tree's last update queued, the
11
+ * helper frees the inner root's layout node, and the queued update runs on that
12
+ * node afterwards, in the layout engine, which stops the program with
13
+ * `table index is out of bounds`. It happened with any code line wider than
14
+ * the window, which is every code block at 80 columns.
15
+ *
16
+ * So the same cut is done here, on plain text, with the same rules Ink's
17
+ * wrapper has (word wrap, no trim, a word wider than a row broken between
18
+ * graphemes, tabs to the next multiple of eight, the right edge of a row
19
+ * trimmed as the renderer trims it). A test draws a large set of lines both
20
+ * ways, outside a render, and requires the same rows, so the two cannot drift
21
+ * apart unseen.
22
+ *
23
+ * Pure; unit-tested.
24
+ */
25
+ /**
26
+ * The rows of one code line at `width` cells. A line that fits is one row,
27
+ * as it was written; a longer one is cut, and each row loses the blanks at its
28
+ * right edge, which the renderer does not draw either.
29
+ */
30
+ export declare function wrapCodeLine(line: string, width: number): string[];
31
+ //# sourceMappingURL=code-wrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-wrap.d.ts","sourceRoot":"","sources":["../../../src/tui/fullscreen/code-wrap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AA8EH;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAIlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/tui/fullscreen/layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAiBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAGpD,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,WAAW,CAAA;AAChD,OAAO,EAAE,KAAK,QAAQ,EAAiB,MAAM,eAAe,CAAA;AAE5D,0FAA0F;AAC1F,MAAM,WAAW,aAAa;IAC7B,QAAQ,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,SAAS,KAAK,EAAE,CAAA;CAC/B;AAED,UAAU,MAAM;IACf,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,uEAAuE;IACvE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAA;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,IAAI,EAAE,SAAS,KAAK,EAAE,CAAA;IAC/B,QAAQ,CAAC,KAAK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AAI,EAAE,MAAM,CAAA;CACZ;AAED,wBAAgB,iBAAiB,IAAI,WAAW,CAE/C;AAED,uEAAuE;AACvE,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAClC;AAED,oEAAoE;AACpE,MAAM,WAAW,UAAU;IAC1B,+CAA+C;IAC/C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,sDAAsD;IACtD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACtB;AAED,+EAA+E;AAC/E,eAAO,MAAM,OAAO,kBAAsB,CAAA;AAE1C;;;GAGG;AACH,wBAAgB,gBAAgB,CAC/B,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,OAAO,EAAE,iBAAiB,GAAG,IAAI,EACjC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,WAAW,EAClB,IAAI,GAAE,SAA6C,EACnD,MAAM,GAAE,UAAU,GAAG,IAAW,GAC9B,gBAAgB,CAuDlB"}
@@ -5,7 +5,7 @@
5
5
  * does not draw anything the normal transcript does not. Every choice is the
6
6
  * one `Markdown.tsx` makes, from the same parser, the same wrapper and the same
7
7
  * table layout: what each block looks like, the blank row between blocks, how a
8
- * bullet hangs, and how a code line too long for a row is cut. The tests draw
8
+ * bullet hangs, and how a code line too long for a row is cut (`code-wrap.ts`). The tests draw
9
9
  * both and compare the screens, so the two cannot drift apart unseen.
10
10
  */
11
11
  import { type Joiner, type StyledSpan } from './rows.js';
@@ -16,6 +16,24 @@ export interface MarkdownRow {
16
16
  readonly joins: Joiner | null;
17
17
  readonly lead: number;
18
18
  }
19
+ /**
20
+ * The rows of blocks already laid out. A reply that streams is laid out again
21
+ * at every piece, but only its last block has changed: the ones before it are
22
+ * the same text at the same width and colour, so their rows are kept instead of
23
+ * being wrapped and coloured again. Without this a long code block earlier in
24
+ * a reply was cut and coloured at every piece that came after it, and the
25
+ * window stopped answering keys while it streamed.
26
+ *
27
+ * Bounded by the characters the kept blocks hold, oldest out, and not by a count of
28
+ * blocks: a reply laid out again at every piece reads its blocks in order, so a bound
29
+ * smaller than the reply's number of blocks lets each one go before it is read again
30
+ * and every block is laid out at every piece (a long prose reply cost the square of its
31
+ * length). The bound is the size of the reply the screen is built for.
32
+ * The key holds everything the rows depend on:
33
+ * the block, the width, the colour, the code above it (a grammar carries over
34
+ * from block to block), the theme and the grammars loaded.
35
+ */
36
+ export declare const KEPT_BLOCK_CHARS = 4000000;
19
37
  /**
20
38
  * The rows of `text` at `width` cells of text, in `color` for plain prose.
21
39
  * Nothing is drawn beside the rows: a gutter is the caller's.
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-rows.d.ts","sourceRoot":"","sources":["../../../src/tui/fullscreen/markdown-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAuBH,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAAa,MAAM,WAAW,CAAA;AAEnE,qEAAqE;AACrE,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,CAAA;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACrB;AAuLD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,WAAW,EAAE,CAEtF"}
1
+ {"version":3,"file":"markdown-rows.d.ts","sourceRoot":"","sources":["../../../src/tui/fullscreen/markdown-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA2BH,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAAa,MAAM,WAAW,CAAA;AAEnE,qEAAqE;AACrE,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,CAAA;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACrB;AAyLD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,gBAAgB,UAAY,CAAA;AAkDzC;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,WAAW,EAAE,CAEtF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namzu/cli",
3
- "version": "53.0.0",
3
+ "version": "53.0.1",
4
4
  "description": "Interactive and headless terminal agent for Namzu, with provider discovery, durable sessions, tools and diagnostics.",
5
5
  "keywords": [
6
6
  "namzu",
@@ -60,11 +60,11 @@
60
60
  "string-width": "8.2.1",
61
61
  "undici": "^7.30.1",
62
62
  "yaml": "^2.9.0",
63
- "@namzu/anthropic": "7.1.1",
64
- "@namzu/browser": "2.0.1",
65
63
  "@namzu/computer-use": "4.3.1",
64
+ "@namzu/browser": "2.0.1",
66
65
  "@namzu/deepseek": "^2.3.2",
67
66
  "@namzu/files": "1.1.2",
67
+ "@namzu/anthropic": "7.1.1",
68
68
  "@namzu/google": "^1.2.1",
69
69
  "@namzu/ollama": "2.3.0",
70
70
  "@namzu/openai": "4.5.0",