@crazyhappyone/dsh-tui 0.1.0-alpha.7 → 0.1.0-alpha.9
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.
- package/dist/index.js +482 -481
- package/package.json +1 -1
- package/src/launcher.js +8 -5
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
1
2
|
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -91,9 +92,9 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
91
92
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
92
93
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
93
94
|
|
|
94
|
-
//
|
|
95
|
+
// node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.production.js
|
|
95
96
|
var require_react_production = __commonJS({
|
|
96
|
-
"
|
|
97
|
+
"node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.production.js"(exports) {
|
|
97
98
|
"use strict";
|
|
98
99
|
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
99
100
|
var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
|
|
@@ -532,9 +533,9 @@ var require_react_production = __commonJS({
|
|
|
532
533
|
}
|
|
533
534
|
});
|
|
534
535
|
|
|
535
|
-
//
|
|
536
|
+
// node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.development.js
|
|
536
537
|
var require_react_development = __commonJS({
|
|
537
|
-
"
|
|
538
|
+
"node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react.development.js"(exports, module) {
|
|
538
539
|
"use strict";
|
|
539
540
|
"production" !== process.env.NODE_ENV && (function() {
|
|
540
541
|
function defineDeprecationWarning(methodName, info) {
|
|
@@ -1504,9 +1505,9 @@ var require_react_development = __commonJS({
|
|
|
1504
1505
|
}
|
|
1505
1506
|
});
|
|
1506
1507
|
|
|
1507
|
-
//
|
|
1508
|
+
// node_modules/.pnpm/react@19.2.8/node_modules/react/index.js
|
|
1508
1509
|
var require_react = __commonJS({
|
|
1509
|
-
"
|
|
1510
|
+
"node_modules/.pnpm/react@19.2.8/node_modules/react/index.js"(exports, module) {
|
|
1510
1511
|
"use strict";
|
|
1511
1512
|
if (process.env.NODE_ENV === "production") {
|
|
1512
1513
|
module.exports = require_react_production();
|
|
@@ -1516,9 +1517,9 @@ var require_react = __commonJS({
|
|
|
1516
1517
|
}
|
|
1517
1518
|
});
|
|
1518
1519
|
|
|
1519
|
-
//
|
|
1520
|
+
// node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
1520
1521
|
var require_signals = __commonJS({
|
|
1521
|
-
"
|
|
1522
|
+
"node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
|
|
1522
1523
|
module.exports = [
|
|
1523
1524
|
"SIGABRT",
|
|
1524
1525
|
"SIGALRM",
|
|
@@ -1553,9 +1554,9 @@ var require_signals = __commonJS({
|
|
|
1553
1554
|
}
|
|
1554
1555
|
});
|
|
1555
1556
|
|
|
1556
|
-
//
|
|
1557
|
+
// node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
1557
1558
|
var require_signal_exit = __commonJS({
|
|
1558
|
-
"
|
|
1559
|
+
"node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
|
|
1559
1560
|
var process15 = global.process;
|
|
1560
1561
|
var processOk = function(process16) {
|
|
1561
1562
|
return process16 && typeof process16 === "object" && typeof process16.removeListener === "function" && typeof process16.emit === "function" && typeof process16.reallyExit === "function" && typeof process16.listeners === "function" && typeof process16.kill === "function" && typeof process16.pid === "number" && typeof process16.on === "function";
|
|
@@ -1712,9 +1713,9 @@ var require_signal_exit = __commonJS({
|
|
|
1712
1713
|
}
|
|
1713
1714
|
});
|
|
1714
1715
|
|
|
1715
|
-
//
|
|
1716
|
+
// node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js
|
|
1716
1717
|
var require_react_reconciler_constants_production = __commonJS({
|
|
1717
|
-
"
|
|
1718
|
+
"node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js"(exports) {
|
|
1718
1719
|
"use strict";
|
|
1719
1720
|
exports.ConcurrentRoot = 1;
|
|
1720
1721
|
exports.ContinuousEventPriority = 8;
|
|
@@ -1726,17 +1727,17 @@ var require_react_reconciler_constants_production = __commonJS({
|
|
|
1726
1727
|
}
|
|
1727
1728
|
});
|
|
1728
1729
|
|
|
1729
|
-
//
|
|
1730
|
+
// node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
|
|
1730
1731
|
var require_react_reconciler_constants_development = __commonJS({
|
|
1731
|
-
"
|
|
1732
|
+
"node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js"(exports) {
|
|
1732
1733
|
"use strict";
|
|
1733
1734
|
"production" !== process.env.NODE_ENV && (exports.ConcurrentRoot = 1, exports.ContinuousEventPriority = 8, exports.DefaultEventPriority = 32, exports.DiscreteEventPriority = 2, exports.IdleEventPriority = 268435456, exports.LegacyRoot = 0, exports.NoEventPriority = 0);
|
|
1734
1735
|
}
|
|
1735
1736
|
});
|
|
1736
1737
|
|
|
1737
|
-
//
|
|
1738
|
+
// node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/constants.js
|
|
1738
1739
|
var require_constants = __commonJS({
|
|
1739
|
-
"
|
|
1740
|
+
"node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/constants.js"(exports, module) {
|
|
1740
1741
|
"use strict";
|
|
1741
1742
|
if (process.env.NODE_ENV === "production") {
|
|
1742
1743
|
module.exports = require_react_reconciler_constants_production();
|
|
@@ -1746,9 +1747,9 @@ var require_constants = __commonJS({
|
|
|
1746
1747
|
}
|
|
1747
1748
|
});
|
|
1748
1749
|
|
|
1749
|
-
//
|
|
1750
|
+
// node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js
|
|
1750
1751
|
var require_scheduler_production = __commonJS({
|
|
1751
|
-
"
|
|
1752
|
+
"node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js"(exports) {
|
|
1752
1753
|
"use strict";
|
|
1753
1754
|
function push3(heap, node2) {
|
|
1754
1755
|
var index2 = heap.length;
|
|
@@ -2019,9 +2020,9 @@ var require_scheduler_production = __commonJS({
|
|
|
2019
2020
|
}
|
|
2020
2021
|
});
|
|
2021
2022
|
|
|
2022
|
-
//
|
|
2023
|
+
// node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js
|
|
2023
2024
|
var require_scheduler_development = __commonJS({
|
|
2024
|
-
"
|
|
2025
|
+
"node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js"(exports) {
|
|
2025
2026
|
"use strict";
|
|
2026
2027
|
"production" !== process.env.NODE_ENV && (function() {
|
|
2027
2028
|
function performWorkUntilDeadline() {
|
|
@@ -2278,9 +2279,9 @@ var require_scheduler_development = __commonJS({
|
|
|
2278
2279
|
}
|
|
2279
2280
|
});
|
|
2280
2281
|
|
|
2281
|
-
//
|
|
2282
|
+
// node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js
|
|
2282
2283
|
var require_scheduler = __commonJS({
|
|
2283
|
-
"
|
|
2284
|
+
"node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js"(exports, module) {
|
|
2284
2285
|
"use strict";
|
|
2285
2286
|
if (process.env.NODE_ENV === "production") {
|
|
2286
2287
|
module.exports = require_scheduler_production();
|
|
@@ -2290,9 +2291,9 @@ var require_scheduler = __commonJS({
|
|
|
2290
2291
|
}
|
|
2291
2292
|
});
|
|
2292
2293
|
|
|
2293
|
-
//
|
|
2294
|
+
// node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler.production.js
|
|
2294
2295
|
var require_react_reconciler_production = __commonJS({
|
|
2295
|
-
"
|
|
2296
|
+
"node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler.production.js"(exports, module) {
|
|
2296
2297
|
"use strict";
|
|
2297
2298
|
module.exports = function($$$config) {
|
|
2298
2299
|
function createFiber(tag, pendingProps, key, mode) {
|
|
@@ -10469,9 +10470,9 @@ var require_react_reconciler_production = __commonJS({
|
|
|
10469
10470
|
}
|
|
10470
10471
|
});
|
|
10471
10472
|
|
|
10472
|
-
//
|
|
10473
|
+
// node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler.development.js
|
|
10473
10474
|
var require_react_reconciler_development = __commonJS({
|
|
10474
|
-
"
|
|
10475
|
+
"node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/cjs/react-reconciler.development.js"(exports, module) {
|
|
10475
10476
|
"use strict";
|
|
10476
10477
|
"production" !== process.env.NODE_ENV && (module.exports = function($$$config) {
|
|
10477
10478
|
function findHook(fiber, id) {
|
|
@@ -24242,9 +24243,9 @@ var require_react_reconciler_development = __commonJS({
|
|
|
24242
24243
|
}
|
|
24243
24244
|
});
|
|
24244
24245
|
|
|
24245
|
-
//
|
|
24246
|
+
// node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/index.js
|
|
24246
24247
|
var require_react_reconciler = __commonJS({
|
|
24247
|
-
"
|
|
24248
|
+
"node_modules/.pnpm/react-reconciler@0.33.0_react@19.2.8/node_modules/react-reconciler/index.js"(exports, module) {
|
|
24248
24249
|
"use strict";
|
|
24249
24250
|
if (process.env.NODE_ENV === "production") {
|
|
24250
24251
|
module.exports = require_react_reconciler_production();
|
|
@@ -24254,9 +24255,9 @@ var require_react_reconciler = __commonJS({
|
|
|
24254
24255
|
}
|
|
24255
24256
|
});
|
|
24256
24257
|
|
|
24257
|
-
//
|
|
24258
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js
|
|
24258
24259
|
var require_constants2 = __commonJS({
|
|
24259
|
-
"
|
|
24260
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js"(exports, module) {
|
|
24260
24261
|
"use strict";
|
|
24261
24262
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
24262
24263
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -24277,9 +24278,9 @@ var require_constants2 = __commonJS({
|
|
|
24277
24278
|
}
|
|
24278
24279
|
});
|
|
24279
24280
|
|
|
24280
|
-
//
|
|
24281
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js
|
|
24281
24282
|
var require_buffer_util = __commonJS({
|
|
24282
|
-
"
|
|
24283
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js"(exports, module) {
|
|
24283
24284
|
"use strict";
|
|
24284
24285
|
var { EMPTY_BUFFER } = require_constants2();
|
|
24285
24286
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -24352,9 +24353,9 @@ var require_buffer_util = __commonJS({
|
|
|
24352
24353
|
}
|
|
24353
24354
|
});
|
|
24354
24355
|
|
|
24355
|
-
//
|
|
24356
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js
|
|
24356
24357
|
var require_limiter = __commonJS({
|
|
24357
|
-
"
|
|
24358
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js"(exports, module) {
|
|
24358
24359
|
"use strict";
|
|
24359
24360
|
var kDone = /* @__PURE__ */ Symbol("kDone");
|
|
24360
24361
|
var kRun = /* @__PURE__ */ Symbol("kRun");
|
|
@@ -24402,9 +24403,9 @@ var require_limiter = __commonJS({
|
|
|
24402
24403
|
}
|
|
24403
24404
|
});
|
|
24404
24405
|
|
|
24405
|
-
//
|
|
24406
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js
|
|
24406
24407
|
var require_permessage_deflate = __commonJS({
|
|
24407
|
-
"
|
|
24408
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js"(exports, module) {
|
|
24408
24409
|
"use strict";
|
|
24409
24410
|
var zlib = __require("zlib");
|
|
24410
24411
|
var bufferUtil = require_buffer_util();
|
|
@@ -24785,9 +24786,9 @@ var require_permessage_deflate = __commonJS({
|
|
|
24785
24786
|
}
|
|
24786
24787
|
});
|
|
24787
24788
|
|
|
24788
|
-
//
|
|
24789
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js
|
|
24789
24790
|
var require_validation = __commonJS({
|
|
24790
|
-
"
|
|
24791
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js"(exports, module) {
|
|
24791
24792
|
"use strict";
|
|
24792
24793
|
var { isUtf8 } = __require("buffer");
|
|
24793
24794
|
var { hasBlob } = require_constants2();
|
|
@@ -24986,9 +24987,9 @@ var require_validation = __commonJS({
|
|
|
24986
24987
|
}
|
|
24987
24988
|
});
|
|
24988
24989
|
|
|
24989
|
-
//
|
|
24990
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js
|
|
24990
24991
|
var require_receiver = __commonJS({
|
|
24991
|
-
"
|
|
24992
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js"(exports, module) {
|
|
24992
24993
|
"use strict";
|
|
24993
24994
|
var { Writable } = __require("stream");
|
|
24994
24995
|
var PerMessageDeflate2 = require_permessage_deflate();
|
|
@@ -25618,9 +25619,9 @@ var require_receiver = __commonJS({
|
|
|
25618
25619
|
}
|
|
25619
25620
|
});
|
|
25620
25621
|
|
|
25621
|
-
//
|
|
25622
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js
|
|
25622
25623
|
var require_sender = __commonJS({
|
|
25623
|
-
"
|
|
25624
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js"(exports, module) {
|
|
25624
25625
|
"use strict";
|
|
25625
25626
|
var { Duplex } = __require("stream");
|
|
25626
25627
|
var { randomFillSync } = __require("crypto");
|
|
@@ -26111,9 +26112,9 @@ var require_sender = __commonJS({
|
|
|
26111
26112
|
}
|
|
26112
26113
|
});
|
|
26113
26114
|
|
|
26114
|
-
//
|
|
26115
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js
|
|
26115
26116
|
var require_event_target = __commonJS({
|
|
26116
|
-
"
|
|
26117
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js"(exports, module) {
|
|
26117
26118
|
"use strict";
|
|
26118
26119
|
var { kForOnEventAttribute, kListener } = require_constants2();
|
|
26119
26120
|
var kCode = /* @__PURE__ */ Symbol("kCode");
|
|
@@ -26340,9 +26341,9 @@ var require_event_target = __commonJS({
|
|
|
26340
26341
|
}
|
|
26341
26342
|
});
|
|
26342
26343
|
|
|
26343
|
-
//
|
|
26344
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js
|
|
26344
26345
|
var require_extension = __commonJS({
|
|
26345
|
-
"
|
|
26346
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js"(exports, module) {
|
|
26346
26347
|
"use strict";
|
|
26347
26348
|
var { tokenChars } = require_validation();
|
|
26348
26349
|
function push3(dest, name2, elem) {
|
|
@@ -26493,9 +26494,9 @@ var require_extension = __commonJS({
|
|
|
26493
26494
|
}
|
|
26494
26495
|
});
|
|
26495
26496
|
|
|
26496
|
-
//
|
|
26497
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js
|
|
26497
26498
|
var require_websocket = __commonJS({
|
|
26498
|
-
"
|
|
26499
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js"(exports, module) {
|
|
26499
26500
|
"use strict";
|
|
26500
26501
|
var EventEmitter3 = __require("events");
|
|
26501
26502
|
var https = __require("https");
|
|
@@ -27389,9 +27390,9 @@ var require_websocket = __commonJS({
|
|
|
27389
27390
|
}
|
|
27390
27391
|
});
|
|
27391
27392
|
|
|
27392
|
-
//
|
|
27393
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js
|
|
27393
27394
|
var require_stream = __commonJS({
|
|
27394
|
-
"
|
|
27395
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js"(exports, module) {
|
|
27395
27396
|
"use strict";
|
|
27396
27397
|
var WebSocket2 = require_websocket();
|
|
27397
27398
|
var { Duplex } = __require("stream");
|
|
@@ -27487,9 +27488,9 @@ var require_stream = __commonJS({
|
|
|
27487
27488
|
}
|
|
27488
27489
|
});
|
|
27489
27490
|
|
|
27490
|
-
//
|
|
27491
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js
|
|
27491
27492
|
var require_subprotocol = __commonJS({
|
|
27492
|
-
"
|
|
27493
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js"(exports, module) {
|
|
27493
27494
|
"use strict";
|
|
27494
27495
|
var { tokenChars } = require_validation();
|
|
27495
27496
|
function parse4(header) {
|
|
@@ -27532,9 +27533,9 @@ var require_subprotocol = __commonJS({
|
|
|
27532
27533
|
}
|
|
27533
27534
|
});
|
|
27534
27535
|
|
|
27535
|
-
//
|
|
27536
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js
|
|
27536
27537
|
var require_websocket_server = __commonJS({
|
|
27537
|
-
"
|
|
27538
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js"(exports, module) {
|
|
27538
27539
|
"use strict";
|
|
27539
27540
|
var EventEmitter3 = __require("events");
|
|
27540
27541
|
var http = __require("http");
|
|
@@ -27933,10 +27934,10 @@ var require_websocket_server = __commonJS({
|
|
|
27933
27934
|
}
|
|
27934
27935
|
});
|
|
27935
27936
|
|
|
27936
|
-
//
|
|
27937
|
+
// node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs
|
|
27937
27938
|
var import_stream, import_extension, import_permessage_deflate, import_receiver, import_sender, import_subprotocol, import_websocket, import_websocket_server, wrapper_default;
|
|
27938
27939
|
var init_wrapper = __esm({
|
|
27939
|
-
"
|
|
27940
|
+
"node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.mjs"() {
|
|
27940
27941
|
import_stream = __toESM(require_stream(), 1);
|
|
27941
27942
|
import_extension = __toESM(require_extension(), 1);
|
|
27942
27943
|
import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
|
|
@@ -27949,10 +27950,10 @@ var init_wrapper = __esm({
|
|
|
27949
27950
|
}
|
|
27950
27951
|
});
|
|
27951
27952
|
|
|
27952
|
-
//
|
|
27953
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/devtools-window-polyfill.js
|
|
27953
27954
|
var customGlobal;
|
|
27954
27955
|
var init_devtools_window_polyfill = __esm({
|
|
27955
|
-
"
|
|
27956
|
+
"node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/devtools-window-polyfill.js"() {
|
|
27956
27957
|
init_wrapper();
|
|
27957
27958
|
customGlobal = globalThis;
|
|
27958
27959
|
customGlobal.WebSocket ||= wrapper_default;
|
|
@@ -28021,11 +28022,11 @@ var init_react_devtools_core_shim = __esm({
|
|
|
28021
28022
|
}
|
|
28022
28023
|
});
|
|
28023
28024
|
|
|
28024
|
-
//
|
|
28025
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/devtools.js
|
|
28025
28026
|
var devtools_exports = {};
|
|
28026
28027
|
var isDevToolsReachable;
|
|
28027
28028
|
var init_devtools = __esm({
|
|
28028
|
-
async "
|
|
28029
|
+
async "node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/devtools.js"() {
|
|
28029
28030
|
init_devtools_window_polyfill();
|
|
28030
28031
|
init_wrapper();
|
|
28031
28032
|
init_react_devtools_core_shim();
|
|
@@ -28056,9 +28057,9 @@ var init_devtools = __esm({
|
|
|
28056
28057
|
}
|
|
28057
28058
|
});
|
|
28058
28059
|
|
|
28059
|
-
//
|
|
28060
|
+
// node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js
|
|
28060
28061
|
var require_mimic_fn = __commonJS({
|
|
28061
|
-
"
|
|
28062
|
+
"node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js"(exports, module) {
|
|
28062
28063
|
"use strict";
|
|
28063
28064
|
var mimicFn = (to, from2) => {
|
|
28064
28065
|
for (const prop of Reflect.ownKeys(from2)) {
|
|
@@ -28071,9 +28072,9 @@ var require_mimic_fn = __commonJS({
|
|
|
28071
28072
|
}
|
|
28072
28073
|
});
|
|
28073
28074
|
|
|
28074
|
-
//
|
|
28075
|
+
// node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js
|
|
28075
28076
|
var require_onetime = __commonJS({
|
|
28076
|
-
"
|
|
28077
|
+
"node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js"(exports, module) {
|
|
28077
28078
|
"use strict";
|
|
28078
28079
|
var mimicFn = require_mimic_fn();
|
|
28079
28080
|
var calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
@@ -28109,9 +28110,9 @@ var require_onetime = __commonJS({
|
|
|
28109
28110
|
}
|
|
28110
28111
|
});
|
|
28111
28112
|
|
|
28112
|
-
//
|
|
28113
|
+
// node_modules/.pnpm/escape-string-regexp@2.0.0/node_modules/escape-string-regexp/index.js
|
|
28113
28114
|
var require_escape_string_regexp = __commonJS({
|
|
28114
|
-
"
|
|
28115
|
+
"node_modules/.pnpm/escape-string-regexp@2.0.0/node_modules/escape-string-regexp/index.js"(exports, module) {
|
|
28115
28116
|
"use strict";
|
|
28116
28117
|
var matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g;
|
|
28117
28118
|
module.exports = (string6) => {
|
|
@@ -28123,9 +28124,9 @@ var require_escape_string_regexp = __commonJS({
|
|
|
28123
28124
|
}
|
|
28124
28125
|
});
|
|
28125
28126
|
|
|
28126
|
-
//
|
|
28127
|
+
// node_modules/.pnpm/stack-utils@2.0.6/node_modules/stack-utils/index.js
|
|
28127
28128
|
var require_stack_utils = __commonJS({
|
|
28128
|
-
"
|
|
28129
|
+
"node_modules/.pnpm/stack-utils@2.0.6/node_modules/stack-utils/index.js"(exports, module) {
|
|
28129
28130
|
"use strict";
|
|
28130
28131
|
var escapeStringRegexp2 = require_escape_string_regexp();
|
|
28131
28132
|
var cwd2 = typeof process === "object" && process && typeof process.cwd === "function" ? process.cwd() : ".";
|
|
@@ -28376,9 +28377,9 @@ var require_stack_utils = __commonJS({
|
|
|
28376
28377
|
}
|
|
28377
28378
|
});
|
|
28378
28379
|
|
|
28379
|
-
//
|
|
28380
|
+
// node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
28380
28381
|
var require_react_jsx_runtime_production = __commonJS({
|
|
28381
|
-
"
|
|
28382
|
+
"node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
|
|
28382
28383
|
"use strict";
|
|
28383
28384
|
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
28384
28385
|
var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
@@ -28406,9 +28407,9 @@ var require_react_jsx_runtime_production = __commonJS({
|
|
|
28406
28407
|
}
|
|
28407
28408
|
});
|
|
28408
28409
|
|
|
28409
|
-
//
|
|
28410
|
+
// node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
28410
28411
|
var require_react_jsx_runtime_development = __commonJS({
|
|
28411
|
-
"
|
|
28412
|
+
"node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
|
28412
28413
|
"use strict";
|
|
28413
28414
|
"production" !== process.env.NODE_ENV && (function() {
|
|
28414
28415
|
function getComponentNameFromType(type) {
|
|
@@ -28663,9 +28664,9 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
28663
28664
|
}
|
|
28664
28665
|
});
|
|
28665
28666
|
|
|
28666
|
-
//
|
|
28667
|
+
// node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js
|
|
28667
28668
|
var require_jsx_runtime = __commonJS({
|
|
28668
|
-
"
|
|
28669
|
+
"node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js"(exports, module) {
|
|
28669
28670
|
"use strict";
|
|
28670
28671
|
if (process.env.NODE_ENV === "production") {
|
|
28671
28672
|
module.exports = require_react_jsx_runtime_production();
|
|
@@ -28675,11 +28676,11 @@ var require_jsx_runtime = __commonJS({
|
|
|
28675
28676
|
}
|
|
28676
28677
|
});
|
|
28677
28678
|
|
|
28678
|
-
//
|
|
28679
|
+
// packages/tui/tui/src/index.ts
|
|
28679
28680
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
28680
28681
|
import { spawn as spawn3 } from "node:child_process";
|
|
28681
28682
|
|
|
28682
|
-
//
|
|
28683
|
+
// packages/tui/tui/src/reload-argv.ts
|
|
28683
28684
|
import { constants as osConstants } from "node:os";
|
|
28684
28685
|
function rebuildReloadArgv(processArgv, innerArgs, options) {
|
|
28685
28686
|
const script = processArgv[1];
|
|
@@ -28738,7 +28739,7 @@ function exitStatus(code2, signal) {
|
|
|
28738
28739
|
return code2 ?? 1;
|
|
28739
28740
|
}
|
|
28740
28741
|
|
|
28741
|
-
//
|
|
28742
|
+
// packages/tui/tui/src/external-editor.ts
|
|
28742
28743
|
import {
|
|
28743
28744
|
chmod,
|
|
28744
28745
|
lstat,
|
|
@@ -28886,7 +28887,7 @@ async function editDraftExternally(command, draft, options) {
|
|
|
28886
28887
|
}
|
|
28887
28888
|
}
|
|
28888
28889
|
|
|
28889
|
-
//
|
|
28890
|
+
// packages/tui/tui/src/notify.ts
|
|
28890
28891
|
var NOTIFY_TITLE = "DeepSeek";
|
|
28891
28892
|
var DEFAULT_NOTIFY_QUIET_INPUT_SECONDS = 10;
|
|
28892
28893
|
var NOTIFY_SUMMARY_LIMIT = 80;
|
|
@@ -28959,13 +28960,13 @@ function truncateCodePoints(text4, limit) {
|
|
|
28959
28960
|
return codePoints.slice(0, limit).join("");
|
|
28960
28961
|
}
|
|
28961
28962
|
|
|
28962
|
-
//
|
|
28963
|
+
// packages/tui/tui/src/index.ts
|
|
28963
28964
|
import { constants as constants2 } from "node:fs";
|
|
28964
28965
|
import { access, lstat as lstat2, readFile as readFile2, stat, writeFile as writeFile2 } from "node:fs/promises";
|
|
28965
28966
|
import { tmpdir } from "node:os";
|
|
28966
28967
|
import { dirname as dirname3, resolve as resolve4 } from "node:path";
|
|
28967
28968
|
|
|
28968
|
-
//
|
|
28969
|
+
// vendor/cosmokit/src/misc.ts
|
|
28969
28970
|
function isNullable(value) {
|
|
28970
28971
|
return value === null || value === void 0;
|
|
28971
28972
|
}
|
|
@@ -28990,7 +28991,7 @@ function defineProperty(object2, key, value) {
|
|
|
28990
28991
|
return Object.defineProperty(object2, key, { writable: true, value, enumerable: false });
|
|
28991
28992
|
}
|
|
28992
28993
|
|
|
28993
|
-
//
|
|
28994
|
+
// vendor/cosmokit/src/types.ts
|
|
28994
28995
|
function is(type, value) {
|
|
28995
28996
|
if (arguments.length === 1) return (value2) => is(type, value2);
|
|
28996
28997
|
return type in globalThis && value instanceof globalThis[type] || Object.prototype.toString.call(value).slice(8, -1) === type;
|
|
@@ -29099,7 +29100,7 @@ function deepEqual(a, b, strict) {
|
|
|
29099
29100
|
}) ?? Object.keys({ ...a, ...b }).every((key) => deepEqual(a[key], b[key], strict));
|
|
29100
29101
|
}
|
|
29101
29102
|
|
|
29102
|
-
//
|
|
29103
|
+
// vendor/cosmokit/src/string.ts
|
|
29103
29104
|
function tokenize(source, delimiters, delimiter) {
|
|
29104
29105
|
const output = [];
|
|
29105
29106
|
let state = 0 /* DELIM */;
|
|
@@ -29138,7 +29139,7 @@ function paramCase(source) {
|
|
|
29138
29139
|
}
|
|
29139
29140
|
var hyphenate = paramCase;
|
|
29140
29141
|
|
|
29141
|
-
//
|
|
29142
|
+
// vendor/cosmokit/src/time.ts
|
|
29142
29143
|
var Time;
|
|
29143
29144
|
((Time2) => {
|
|
29144
29145
|
Time2.millisecond = 1;
|
|
@@ -29218,7 +29219,7 @@ var Time;
|
|
|
29218
29219
|
Time2.template = template;
|
|
29219
29220
|
})(Time || (Time = {}));
|
|
29220
29221
|
|
|
29221
|
-
//
|
|
29222
|
+
// vendor/schemastery/src/index.ts
|
|
29222
29223
|
var kSchema = /* @__PURE__ */ Symbol.for("schemastery");
|
|
29223
29224
|
var kValidationError = /* @__PURE__ */ Symbol.for("ValidationError");
|
|
29224
29225
|
globalThis.__schemastery_index__ ??= 0;
|
|
@@ -29850,7 +29851,7 @@ defineMethod("intersect", ["list"], ({ list: list2 }) => {
|
|
|
29850
29851
|
defineMethod("transform", ["inner", "callback", "preserve"], ({ inner }, isInner) => inner.toString(isInner));
|
|
29851
29852
|
var src_default = Schema;
|
|
29852
29853
|
|
|
29853
|
-
//
|
|
29854
|
+
// vendor/cordis/src/utils.ts
|
|
29854
29855
|
var DisposableList = class {
|
|
29855
29856
|
sn = 0;
|
|
29856
29857
|
map = /* @__PURE__ */ new Map();
|
|
@@ -30075,7 +30076,7 @@ function buildOuterStack(offset = 0) {
|
|
|
30075
30076
|
return () => outerError.stack.split("\n").slice(3 + offset);
|
|
30076
30077
|
}
|
|
30077
30078
|
|
|
30078
|
-
//
|
|
30079
|
+
// vendor/cordis/src/events.ts
|
|
30079
30080
|
function isBailed(value) {
|
|
30080
30081
|
return value !== null && value !== false && value !== void 0;
|
|
30081
30082
|
}
|
|
@@ -30253,7 +30254,7 @@ var EventsService = class {
|
|
|
30253
30254
|
}
|
|
30254
30255
|
};
|
|
30255
30256
|
|
|
30256
|
-
//
|
|
30257
|
+
// vendor/cordis/src/logger.ts
|
|
30257
30258
|
var defaultFormatters = {
|
|
30258
30259
|
s: (value) => String(value),
|
|
30259
30260
|
d: (value) => Math.trunc(Number(value)),
|
|
@@ -30492,7 +30493,7 @@ var LoggerService = class _LoggerService {
|
|
|
30492
30493
|
}
|
|
30493
30494
|
};
|
|
30494
30495
|
|
|
30495
|
-
//
|
|
30496
|
+
// vendor/cordis/src/fiber.ts
|
|
30496
30497
|
var kValidationError2 = /* @__PURE__ */ Symbol.for("ValidationError");
|
|
30497
30498
|
var ValidationError2 = class extends TypeError {
|
|
30498
30499
|
name = "ValidationError";
|
|
@@ -31046,7 +31047,7 @@ var Fiber = class {
|
|
|
31046
31047
|
}
|
|
31047
31048
|
};
|
|
31048
31049
|
|
|
31049
|
-
//
|
|
31050
|
+
// vendor/cordis/src/reflect.ts
|
|
31050
31051
|
function enhanceError(error51) {
|
|
31051
31052
|
const lines = error51.stack.split("\n");
|
|
31052
31053
|
lines.splice(0, 2, `Error: ${error51.message}`);
|
|
@@ -31323,7 +31324,7 @@ var ReflectService = class {
|
|
|
31323
31324
|
}
|
|
31324
31325
|
};
|
|
31325
31326
|
|
|
31326
|
-
//
|
|
31327
|
+
// vendor/cordis/src/registry.ts
|
|
31327
31328
|
function isApplicable(object2) {
|
|
31328
31329
|
return object2 && typeof object2 === "object" && typeof object2.apply === "function";
|
|
31329
31330
|
}
|
|
@@ -31502,7 +31503,7 @@ var RegistryService = class {
|
|
|
31502
31503
|
}
|
|
31503
31504
|
};
|
|
31504
31505
|
|
|
31505
|
-
//
|
|
31506
|
+
// vendor/cordis/src/context.ts
|
|
31506
31507
|
var Context = class _Context {
|
|
31507
31508
|
/** Symbol key under which a disposer exposes its {@link EffectMeta} diagnostics tree. */
|
|
31508
31509
|
static effect = symbols.effect;
|
|
@@ -31588,7 +31589,7 @@ var Context = class _Context {
|
|
|
31588
31589
|
}
|
|
31589
31590
|
};
|
|
31590
31591
|
|
|
31591
|
-
//
|
|
31592
|
+
// vendor/cordis/src/service.ts
|
|
31592
31593
|
var Service = class _Service {
|
|
31593
31594
|
/**
|
|
31594
31595
|
* Register this instance as `name` in the current context.
|
|
@@ -31686,7 +31687,7 @@ var Service = class _Service {
|
|
|
31686
31687
|
}
|
|
31687
31688
|
};
|
|
31688
31689
|
|
|
31689
|
-
//
|
|
31690
|
+
// packages/core/agent/src/model-selection.ts
|
|
31690
31691
|
function installModelSelection(agentCtx, selection) {
|
|
31691
31692
|
const disposeAssembly = agentCtx.on("system-prompt/assemble", async (_assembly, _context, next) => {
|
|
31692
31693
|
const selected = selection.current;
|
|
@@ -31723,12 +31724,12 @@ function installModelSelection(agentCtx, selection) {
|
|
|
31723
31724
|
};
|
|
31724
31725
|
}
|
|
31725
31726
|
|
|
31726
|
-
//
|
|
31727
|
+
// packages/util/brand/src/index.ts
|
|
31727
31728
|
function brandString(value) {
|
|
31728
31729
|
return value;
|
|
31729
31730
|
}
|
|
31730
31731
|
|
|
31731
|
-
//
|
|
31732
|
+
// packages/credentials/credentials/src/index.ts
|
|
31732
31733
|
var REF_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
31733
31734
|
function credentialRef(value) {
|
|
31734
31735
|
if (!isCredentialRefName(value)) {
|
|
@@ -31740,7 +31741,7 @@ function isCredentialRefName(value) {
|
|
|
31740
31741
|
return REF_PATTERN.test(value);
|
|
31741
31742
|
}
|
|
31742
31743
|
|
|
31743
|
-
//
|
|
31744
|
+
// packages/typert/protocol/src/remote-error.ts
|
|
31744
31745
|
var RemoteError = class extends Error {
|
|
31745
31746
|
/**
|
|
31746
31747
|
* @param code - stable failure code declared in {@link RemoteErrorDetailsMap}.
|
|
@@ -31760,7 +31761,7 @@ var RemoteError = class extends Error {
|
|
|
31760
31761
|
isDSHRemoteError = true;
|
|
31761
31762
|
};
|
|
31762
31763
|
|
|
31763
|
-
//
|
|
31764
|
+
// packages/typert/protocol/src/index.ts
|
|
31764
31765
|
var TYPERT_REMOTE_SEGMENT_PATTERN = /^[A-Za-z0-9_$.-]+$/;
|
|
31765
31766
|
function isTypertRemoteSegment(value) {
|
|
31766
31767
|
return value !== "." && value !== ".." && TYPERT_REMOTE_SEGMENT_PATTERN.test(value);
|
|
@@ -31870,7 +31871,7 @@ function validateName(subject, value) {
|
|
|
31870
31871
|
}
|
|
31871
31872
|
}
|
|
31872
31873
|
|
|
31873
|
-
//
|
|
31874
|
+
// packages/util/values/src/index.ts
|
|
31874
31875
|
function assertNever(value, context) {
|
|
31875
31876
|
const rendered = JSON.stringify(value) ?? String(value);
|
|
31876
31877
|
throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
|
|
@@ -32021,7 +32022,7 @@ function deepFreeze(value) {
|
|
|
32021
32022
|
return value;
|
|
32022
32023
|
}
|
|
32023
32024
|
|
|
32024
|
-
//
|
|
32025
|
+
// packages/util/crypto/src/index.ts
|
|
32025
32026
|
function randomUUID() {
|
|
32026
32027
|
const bytes = globalThis.crypto.getRandomValues(new Uint8Array(16));
|
|
32027
32028
|
const hex3 = Array.from(bytes, (byte, index2) => {
|
|
@@ -32031,7 +32032,7 @@ function randomUUID() {
|
|
|
32031
32032
|
return `${hex3.slice(0, 8)}-${hex3.slice(8, 12)}-${hex3.slice(12, 16)}-${hex3.slice(16, 20)}-${hex3.slice(20)}`;
|
|
32032
32033
|
}
|
|
32033
32034
|
|
|
32034
|
-
//
|
|
32035
|
+
// packages/llm/llm/src/message.ts
|
|
32035
32036
|
function freezeMessage(message) {
|
|
32036
32037
|
return deepFreeze(structuredClone(message));
|
|
32037
32038
|
}
|
|
@@ -32048,10 +32049,10 @@ function createUserMessage(input) {
|
|
|
32048
32049
|
});
|
|
32049
32050
|
}
|
|
32050
32051
|
|
|
32051
|
-
//
|
|
32052
|
+
// packages/util/timeout/src/index.ts
|
|
32052
32053
|
var MAX_TIMER_DELAY_MS = 2147483647;
|
|
32053
32054
|
|
|
32054
|
-
//
|
|
32055
|
+
// packages/llm/llm/src/error.ts
|
|
32055
32056
|
var HarnessError = class extends Error {
|
|
32056
32057
|
/** Stable machine-routable failure class (e.g. `RATE_LIMIT`); route on this, never by parsing `message`. */
|
|
32057
32058
|
code;
|
|
@@ -32075,7 +32076,7 @@ var EXCEEDS_MODEL_CONTEXT = new RegExp(
|
|
|
32075
32076
|
"i"
|
|
32076
32077
|
);
|
|
32077
32078
|
|
|
32078
|
-
//
|
|
32079
|
+
// packages/llm/llm/src/retry-policy.ts
|
|
32079
32080
|
var DEFAULT_MAX_RETRIES = 5;
|
|
32080
32081
|
var DEFAULT_INITIAL_DELAY_MS = 500;
|
|
32081
32082
|
var DEFAULT_MAX_DELAY_MS = 1e4;
|
|
@@ -32187,7 +32188,7 @@ function resolveRetryPolicy(config2, path2) {
|
|
|
32187
32188
|
}
|
|
32188
32189
|
}
|
|
32189
32190
|
|
|
32190
|
-
//
|
|
32191
|
+
// packages/llm/llm/src/call-config.ts
|
|
32191
32192
|
var AGENT_LOOP_REQUESTS = /* @__PURE__ */ new WeakSet();
|
|
32192
32193
|
function callConfigEquals(a, b) {
|
|
32193
32194
|
if (a.provider !== b.provider || a.model !== b.model || a.reasoningEffort !== b.reasoningEffort || a.temperature !== b.temperature || a.maxTokens !== b.maxTokens) return false;
|
|
@@ -32198,7 +32199,7 @@ function isAgentLoopRequest(request) {
|
|
|
32198
32199
|
return AGENT_LOOP_REQUESTS.has(request);
|
|
32199
32200
|
}
|
|
32200
32201
|
|
|
32201
|
-
//
|
|
32202
|
+
// packages/llm/llm/src/adapter-failure.ts
|
|
32202
32203
|
function normalizeLlmFailure(value) {
|
|
32203
32204
|
const error51 = value instanceof Error ? value : new HarnessError(thrownMessage(value), "UNKNOWN", { cause: value });
|
|
32204
32205
|
const carried = ownFailureSnapshot(error51);
|
|
@@ -32265,7 +32266,7 @@ function harnessErrorCode(error51) {
|
|
|
32265
32266
|
return error51 instanceof HarnessError ? error51.code : "UNKNOWN";
|
|
32266
32267
|
}
|
|
32267
32268
|
|
|
32268
|
-
//
|
|
32269
|
+
// packages/llm/llm/src/content.ts
|
|
32269
32270
|
function textOnlyImageText(ref) {
|
|
32270
32271
|
const digest = String(ref.attachmentId).slice("sha256:".length, "sha256:".length + 8);
|
|
32271
32272
|
return `[image omitted because this model accepts text only; attachment sha256:${digest}]`;
|
|
@@ -32301,11 +32302,11 @@ function projectImagesForTextModel(messages) {
|
|
|
32301
32302
|
});
|
|
32302
32303
|
}
|
|
32303
32304
|
|
|
32304
|
-
//
|
|
32305
|
+
// packages/llm/llm/src/attribution.ts
|
|
32305
32306
|
import { createRequire } from "node:module";
|
|
32306
32307
|
var { version } = createRequire(import.meta.url)("../package.json");
|
|
32307
32308
|
|
|
32308
|
-
//
|
|
32309
|
+
// packages/llm/llm/src/assembler.ts
|
|
32309
32310
|
var BlockAssembler = class {
|
|
32310
32311
|
partials = /* @__PURE__ */ new Map();
|
|
32311
32312
|
order = [];
|
|
@@ -32463,7 +32464,7 @@ var BlockAssembler = class {
|
|
|
32463
32464
|
}
|
|
32464
32465
|
};
|
|
32465
32466
|
|
|
32466
|
-
//
|
|
32467
|
+
// packages/llm/llm/src/index.ts
|
|
32467
32468
|
var LlmError = class extends HarnessError {
|
|
32468
32469
|
/** Serializable facts retained beside this live Error. */
|
|
32469
32470
|
failure;
|
|
@@ -33081,7 +33082,7 @@ function adapterFailureChunk(error51, signal) {
|
|
|
33081
33082
|
};
|
|
33082
33083
|
}
|
|
33083
33084
|
|
|
33084
|
-
//
|
|
33085
|
+
// packages/interaction/user-questions/src/index.ts
|
|
33085
33086
|
var UserQuestionError = class extends HarnessError {
|
|
33086
33087
|
constructor(message, code2, options) {
|
|
33087
33088
|
super(message, code2, options);
|
|
@@ -33089,16 +33090,16 @@ var UserQuestionError = class extends HarnessError {
|
|
|
33089
33090
|
}
|
|
33090
33091
|
};
|
|
33091
33092
|
|
|
33092
|
-
//
|
|
33093
|
+
// packages/core/session/src/index.ts
|
|
33093
33094
|
import { isAbsolute } from "node:path";
|
|
33094
33095
|
|
|
33095
|
-
//
|
|
33096
|
+
// packages/core/session/src/types.ts
|
|
33096
33097
|
function SessionId(id) {
|
|
33097
33098
|
return brandString(id);
|
|
33098
33099
|
}
|
|
33099
33100
|
var SESSION_FORMAT_VERSION = 0;
|
|
33100
33101
|
|
|
33101
|
-
//
|
|
33102
|
+
// packages/core/session/src/surface.ts
|
|
33102
33103
|
var SURFACE_EVENT_TYPES = /* @__PURE__ */ new Set([
|
|
33103
33104
|
"user/message",
|
|
33104
33105
|
"assistant/message",
|
|
@@ -33351,7 +33352,7 @@ var SurfaceManager = class {
|
|
|
33351
33352
|
}
|
|
33352
33353
|
};
|
|
33353
33354
|
|
|
33354
|
-
//
|
|
33355
|
+
// packages/core/session/src/request-header.ts
|
|
33355
33356
|
function canonicalHeader(header) {
|
|
33356
33357
|
const adapterDefaults = header.adapterDefaults;
|
|
33357
33358
|
return {
|
|
@@ -33369,7 +33370,7 @@ function foldRequestHeader(events, from2) {
|
|
|
33369
33370
|
return state;
|
|
33370
33371
|
}
|
|
33371
33372
|
|
|
33372
|
-
//
|
|
33373
|
+
// packages/core/session/src/index.ts
|
|
33373
33374
|
function validateSessionHeader(id, input) {
|
|
33374
33375
|
if (input === null || typeof input !== "object" || Array.isArray(input)) {
|
|
33375
33376
|
throw new Error("session header is not a plain JSON record");
|
|
@@ -33847,7 +33848,7 @@ var Session = class _Session {
|
|
|
33847
33848
|
}
|
|
33848
33849
|
};
|
|
33849
33850
|
|
|
33850
|
-
//
|
|
33851
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
33851
33852
|
var external_exports = {};
|
|
33852
33853
|
__export(external_exports, {
|
|
33853
33854
|
$brand: () => $brand,
|
|
@@ -34090,7 +34091,7 @@ __export(external_exports, {
|
|
|
34090
34091
|
xor: () => xor
|
|
34091
34092
|
});
|
|
34092
34093
|
|
|
34093
|
-
//
|
|
34094
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
|
|
34094
34095
|
var core_exports2 = {};
|
|
34095
34096
|
__export(core_exports2, {
|
|
34096
34097
|
$ZodAny: () => $ZodAny,
|
|
@@ -34369,7 +34370,7 @@ __export(core_exports2, {
|
|
|
34369
34370
|
version: () => version2
|
|
34370
34371
|
});
|
|
34371
34372
|
|
|
34372
|
-
//
|
|
34373
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
34373
34374
|
var _a2;
|
|
34374
34375
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
34375
34376
|
status: "aborted"
|
|
@@ -34446,7 +34447,7 @@ function config(newConfig) {
|
|
|
34446
34447
|
return globalConfig;
|
|
34447
34448
|
}
|
|
34448
34449
|
|
|
34449
|
-
//
|
|
34450
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
34450
34451
|
var util_exports = {};
|
|
34451
34452
|
__export(util_exports, {
|
|
34452
34453
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -35142,7 +35143,7 @@ var Class = class {
|
|
|
35142
35143
|
}
|
|
35143
35144
|
};
|
|
35144
35145
|
|
|
35145
|
-
//
|
|
35146
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
35146
35147
|
var initializer = (inst, def) => {
|
|
35147
35148
|
inst.name = "$ZodError";
|
|
35148
35149
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -35281,7 +35282,7 @@ function prettifyError(error51) {
|
|
|
35281
35282
|
return lines.join("\n");
|
|
35282
35283
|
}
|
|
35283
35284
|
|
|
35284
|
-
//
|
|
35285
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
35285
35286
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
35286
35287
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
35287
35288
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -35369,7 +35370,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
35369
35370
|
};
|
|
35370
35371
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
35371
35372
|
|
|
35372
|
-
//
|
|
35373
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
35373
35374
|
var regexes_exports = {};
|
|
35374
35375
|
__export(regexes_exports, {
|
|
35375
35376
|
base64: () => base64,
|
|
@@ -35528,7 +35529,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
35528
35529
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
35529
35530
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
35530
35531
|
|
|
35531
|
-
//
|
|
35532
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
35532
35533
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
35533
35534
|
var _a4;
|
|
35534
35535
|
inst._zod ?? (inst._zod = {});
|
|
@@ -36076,7 +36077,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
36076
36077
|
};
|
|
36077
36078
|
});
|
|
36078
36079
|
|
|
36079
|
-
//
|
|
36080
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
36080
36081
|
var Doc = class {
|
|
36081
36082
|
constructor(args = []) {
|
|
36082
36083
|
this.content = [];
|
|
@@ -36112,14 +36113,14 @@ var Doc = class {
|
|
|
36112
36113
|
}
|
|
36113
36114
|
};
|
|
36114
36115
|
|
|
36115
|
-
//
|
|
36116
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
36116
36117
|
var version2 = {
|
|
36117
36118
|
major: 4,
|
|
36118
36119
|
minor: 4,
|
|
36119
36120
|
patch: 3
|
|
36120
36121
|
};
|
|
36121
36122
|
|
|
36122
|
-
//
|
|
36123
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
36123
36124
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
36124
36125
|
var _a4;
|
|
36125
36126
|
inst ?? (inst = {});
|
|
@@ -38212,7 +38213,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
38212
38213
|
}
|
|
38213
38214
|
}
|
|
38214
38215
|
|
|
38215
|
-
//
|
|
38216
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
|
|
38216
38217
|
var locales_exports = {};
|
|
38217
38218
|
__export(locales_exports, {
|
|
38218
38219
|
ar: () => ar_default,
|
|
@@ -38269,7 +38270,7 @@ __export(locales_exports, {
|
|
|
38269
38270
|
zhTW: () => zh_TW_default
|
|
38270
38271
|
});
|
|
38271
38272
|
|
|
38272
|
-
//
|
|
38273
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js
|
|
38273
38274
|
var error = () => {
|
|
38274
38275
|
const Sizable = {
|
|
38275
38276
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -38376,7 +38377,7 @@ function ar_default() {
|
|
|
38376
38377
|
};
|
|
38377
38378
|
}
|
|
38378
38379
|
|
|
38379
|
-
//
|
|
38380
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.js
|
|
38380
38381
|
var error2 = () => {
|
|
38381
38382
|
const Sizable = {
|
|
38382
38383
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -38482,7 +38483,7 @@ function az_default() {
|
|
|
38482
38483
|
};
|
|
38483
38484
|
}
|
|
38484
38485
|
|
|
38485
|
-
//
|
|
38486
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.js
|
|
38486
38487
|
function getBelarusianPlural(count, one2, few, many) {
|
|
38487
38488
|
const absCount = Math.abs(count);
|
|
38488
38489
|
const lastDigit = absCount % 10;
|
|
@@ -38639,7 +38640,7 @@ function be_default() {
|
|
|
38639
38640
|
};
|
|
38640
38641
|
}
|
|
38641
38642
|
|
|
38642
|
-
//
|
|
38643
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.js
|
|
38643
38644
|
var error4 = () => {
|
|
38644
38645
|
const Sizable = {
|
|
38645
38646
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -38760,7 +38761,7 @@ function bg_default() {
|
|
|
38760
38761
|
};
|
|
38761
38762
|
}
|
|
38762
38763
|
|
|
38763
|
-
//
|
|
38764
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.js
|
|
38764
38765
|
var error5 = () => {
|
|
38765
38766
|
const Sizable = {
|
|
38766
38767
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -38869,7 +38870,7 @@ function ca_default() {
|
|
|
38869
38870
|
};
|
|
38870
38871
|
}
|
|
38871
38872
|
|
|
38872
|
-
//
|
|
38873
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.js
|
|
38873
38874
|
var error6 = () => {
|
|
38874
38875
|
const Sizable = {
|
|
38875
38876
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -38981,7 +38982,7 @@ function cs_default() {
|
|
|
38981
38982
|
};
|
|
38982
38983
|
}
|
|
38983
38984
|
|
|
38984
|
-
//
|
|
38985
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.js
|
|
38985
38986
|
var error7 = () => {
|
|
38986
38987
|
const Sizable = {
|
|
38987
38988
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -39097,7 +39098,7 @@ function da_default() {
|
|
|
39097
39098
|
};
|
|
39098
39099
|
}
|
|
39099
39100
|
|
|
39100
|
-
//
|
|
39101
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.js
|
|
39101
39102
|
var error8 = () => {
|
|
39102
39103
|
const Sizable = {
|
|
39103
39104
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -39206,7 +39207,7 @@ function de_default() {
|
|
|
39206
39207
|
};
|
|
39207
39208
|
}
|
|
39208
39209
|
|
|
39209
|
-
//
|
|
39210
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.js
|
|
39210
39211
|
var error9 = () => {
|
|
39211
39212
|
const Sizable = {
|
|
39212
39213
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -39316,7 +39317,7 @@ function el_default() {
|
|
|
39316
39317
|
};
|
|
39317
39318
|
}
|
|
39318
39319
|
|
|
39319
|
-
//
|
|
39320
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
|
|
39320
39321
|
var error10 = () => {
|
|
39321
39322
|
const Sizable = {
|
|
39322
39323
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -39429,7 +39430,7 @@ function en_default() {
|
|
|
39429
39430
|
};
|
|
39430
39431
|
}
|
|
39431
39432
|
|
|
39432
|
-
//
|
|
39433
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.js
|
|
39433
39434
|
var error11 = () => {
|
|
39434
39435
|
const Sizable = {
|
|
39435
39436
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -39539,7 +39540,7 @@ function eo_default() {
|
|
|
39539
39540
|
};
|
|
39540
39541
|
}
|
|
39541
39542
|
|
|
39542
|
-
//
|
|
39543
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.js
|
|
39543
39544
|
var error12 = () => {
|
|
39544
39545
|
const Sizable = {
|
|
39545
39546
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -39672,7 +39673,7 @@ function es_default() {
|
|
|
39672
39673
|
};
|
|
39673
39674
|
}
|
|
39674
39675
|
|
|
39675
|
-
//
|
|
39676
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.js
|
|
39676
39677
|
var error13 = () => {
|
|
39677
39678
|
const Sizable = {
|
|
39678
39679
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -39787,7 +39788,7 @@ function fa_default() {
|
|
|
39787
39788
|
};
|
|
39788
39789
|
}
|
|
39789
39790
|
|
|
39790
|
-
//
|
|
39791
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.js
|
|
39791
39792
|
var error14 = () => {
|
|
39792
39793
|
const Sizable = {
|
|
39793
39794
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -39900,7 +39901,7 @@ function fi_default() {
|
|
|
39900
39901
|
};
|
|
39901
39902
|
}
|
|
39902
39903
|
|
|
39903
|
-
//
|
|
39904
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.js
|
|
39904
39905
|
var error15 = () => {
|
|
39905
39906
|
const Sizable = {
|
|
39906
39907
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -40026,7 +40027,7 @@ function fr_default() {
|
|
|
40026
40027
|
};
|
|
40027
40028
|
}
|
|
40028
40029
|
|
|
40029
|
-
//
|
|
40030
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.js
|
|
40030
40031
|
var error16 = () => {
|
|
40031
40032
|
const Sizable = {
|
|
40032
40033
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -40134,7 +40135,7 @@ function fr_CA_default() {
|
|
|
40134
40135
|
};
|
|
40135
40136
|
}
|
|
40136
40137
|
|
|
40137
|
-
//
|
|
40138
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.js
|
|
40138
40139
|
var error17 = () => {
|
|
40139
40140
|
const TypeNames = {
|
|
40140
40141
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -40329,7 +40330,7 @@ function he_default() {
|
|
|
40329
40330
|
};
|
|
40330
40331
|
}
|
|
40331
40332
|
|
|
40332
|
-
//
|
|
40333
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.js
|
|
40333
40334
|
var error18 = () => {
|
|
40334
40335
|
const Sizable = {
|
|
40335
40336
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -40452,7 +40453,7 @@ function hr_default() {
|
|
|
40452
40453
|
};
|
|
40453
40454
|
}
|
|
40454
40455
|
|
|
40455
|
-
//
|
|
40456
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.js
|
|
40456
40457
|
var error19 = () => {
|
|
40457
40458
|
const Sizable = {
|
|
40458
40459
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -40561,7 +40562,7 @@ function hu_default() {
|
|
|
40561
40562
|
};
|
|
40562
40563
|
}
|
|
40563
40564
|
|
|
40564
|
-
//
|
|
40565
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.js
|
|
40565
40566
|
function getArmenianPlural(count, one2, many) {
|
|
40566
40567
|
return Math.abs(count) === 1 ? one2 : many;
|
|
40567
40568
|
}
|
|
@@ -40709,7 +40710,7 @@ function hy_default() {
|
|
|
40709
40710
|
};
|
|
40710
40711
|
}
|
|
40711
40712
|
|
|
40712
|
-
//
|
|
40713
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.js
|
|
40713
40714
|
var error21 = () => {
|
|
40714
40715
|
const Sizable = {
|
|
40715
40716
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -40816,7 +40817,7 @@ function id_default() {
|
|
|
40816
40817
|
};
|
|
40817
40818
|
}
|
|
40818
40819
|
|
|
40819
|
-
//
|
|
40820
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.js
|
|
40820
40821
|
var error22 = () => {
|
|
40821
40822
|
const Sizable = {
|
|
40822
40823
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -40926,7 +40927,7 @@ function is_default() {
|
|
|
40926
40927
|
};
|
|
40927
40928
|
}
|
|
40928
40929
|
|
|
40929
|
-
//
|
|
40930
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.js
|
|
40930
40931
|
var error23 = () => {
|
|
40931
40932
|
const Sizable = {
|
|
40932
40933
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -41035,7 +41036,7 @@ function it_default() {
|
|
|
41035
41036
|
};
|
|
41036
41037
|
}
|
|
41037
41038
|
|
|
41038
|
-
//
|
|
41039
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.js
|
|
41039
41040
|
var error24 = () => {
|
|
41040
41041
|
const Sizable = {
|
|
41041
41042
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -41143,7 +41144,7 @@ function ja_default() {
|
|
|
41143
41144
|
};
|
|
41144
41145
|
}
|
|
41145
41146
|
|
|
41146
|
-
//
|
|
41147
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.js
|
|
41147
41148
|
var error25 = () => {
|
|
41148
41149
|
const Sizable = {
|
|
41149
41150
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -41256,7 +41257,7 @@ function ka_default() {
|
|
|
41256
41257
|
};
|
|
41257
41258
|
}
|
|
41258
41259
|
|
|
41259
|
-
//
|
|
41260
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.js
|
|
41260
41261
|
var error26 = () => {
|
|
41261
41262
|
const Sizable = {
|
|
41262
41263
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -41367,12 +41368,12 @@ function km_default() {
|
|
|
41367
41368
|
};
|
|
41368
41369
|
}
|
|
41369
41370
|
|
|
41370
|
-
//
|
|
41371
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.js
|
|
41371
41372
|
function kh_default() {
|
|
41372
41373
|
return km_default();
|
|
41373
41374
|
}
|
|
41374
41375
|
|
|
41375
|
-
//
|
|
41376
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.js
|
|
41376
41377
|
var error27 = () => {
|
|
41377
41378
|
const Sizable = {
|
|
41378
41379
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -41484,7 +41485,7 @@ function ko_default() {
|
|
|
41484
41485
|
};
|
|
41485
41486
|
}
|
|
41486
41487
|
|
|
41487
|
-
//
|
|
41488
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.js
|
|
41488
41489
|
var capitalizeFirstCharacter = (text4) => {
|
|
41489
41490
|
return text4.charAt(0).toUpperCase() + text4.slice(1);
|
|
41490
41491
|
};
|
|
@@ -41688,7 +41689,7 @@ function lt_default() {
|
|
|
41688
41689
|
};
|
|
41689
41690
|
}
|
|
41690
41691
|
|
|
41691
|
-
//
|
|
41692
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.js
|
|
41692
41693
|
var error29 = () => {
|
|
41693
41694
|
const Sizable = {
|
|
41694
41695
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -41798,7 +41799,7 @@ function mk_default() {
|
|
|
41798
41799
|
};
|
|
41799
41800
|
}
|
|
41800
41801
|
|
|
41801
|
-
//
|
|
41802
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.js
|
|
41802
41803
|
var error30 = () => {
|
|
41803
41804
|
const Sizable = {
|
|
41804
41805
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -41906,7 +41907,7 @@ function ms_default() {
|
|
|
41906
41907
|
};
|
|
41907
41908
|
}
|
|
41908
41909
|
|
|
41909
|
-
//
|
|
41910
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.js
|
|
41910
41911
|
var error31 = () => {
|
|
41911
41912
|
const Sizable = {
|
|
41912
41913
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -42017,7 +42018,7 @@ function nl_default() {
|
|
|
42017
42018
|
};
|
|
42018
42019
|
}
|
|
42019
42020
|
|
|
42020
|
-
//
|
|
42021
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.js
|
|
42021
42022
|
var error32 = () => {
|
|
42022
42023
|
const Sizable = {
|
|
42023
42024
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -42126,7 +42127,7 @@ function no_default() {
|
|
|
42126
42127
|
};
|
|
42127
42128
|
}
|
|
42128
42129
|
|
|
42129
|
-
//
|
|
42130
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.js
|
|
42130
42131
|
var error33 = () => {
|
|
42131
42132
|
const Sizable = {
|
|
42132
42133
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -42236,7 +42237,7 @@ function ota_default() {
|
|
|
42236
42237
|
};
|
|
42237
42238
|
}
|
|
42238
42239
|
|
|
42239
|
-
//
|
|
42240
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.js
|
|
42240
42241
|
var error34 = () => {
|
|
42241
42242
|
const Sizable = {
|
|
42242
42243
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -42351,7 +42352,7 @@ function ps_default() {
|
|
|
42351
42352
|
};
|
|
42352
42353
|
}
|
|
42353
42354
|
|
|
42354
|
-
//
|
|
42355
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.js
|
|
42355
42356
|
var error35 = () => {
|
|
42356
42357
|
const Sizable = {
|
|
42357
42358
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -42461,7 +42462,7 @@ function pl_default() {
|
|
|
42461
42462
|
};
|
|
42462
42463
|
}
|
|
42463
42464
|
|
|
42464
|
-
//
|
|
42465
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.js
|
|
42465
42466
|
var error36 = () => {
|
|
42466
42467
|
const Sizable = {
|
|
42467
42468
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -42570,7 +42571,7 @@ function pt_default() {
|
|
|
42570
42571
|
};
|
|
42571
42572
|
}
|
|
42572
42573
|
|
|
42573
|
-
//
|
|
42574
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.js
|
|
42574
42575
|
var error37 = () => {
|
|
42575
42576
|
const Sizable = {
|
|
42576
42577
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -42690,7 +42691,7 @@ function ro_default() {
|
|
|
42690
42691
|
};
|
|
42691
42692
|
}
|
|
42692
42693
|
|
|
42693
|
-
//
|
|
42694
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.js
|
|
42694
42695
|
function getRussianPlural(count, one2, few, many) {
|
|
42695
42696
|
const absCount = Math.abs(count);
|
|
42696
42697
|
const lastDigit = absCount % 10;
|
|
@@ -42847,7 +42848,7 @@ function ru_default() {
|
|
|
42847
42848
|
};
|
|
42848
42849
|
}
|
|
42849
42850
|
|
|
42850
|
-
//
|
|
42851
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.js
|
|
42851
42852
|
var error39 = () => {
|
|
42852
42853
|
const Sizable = {
|
|
42853
42854
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -42957,7 +42958,7 @@ function sl_default() {
|
|
|
42957
42958
|
};
|
|
42958
42959
|
}
|
|
42959
42960
|
|
|
42960
|
-
//
|
|
42961
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.js
|
|
42961
42962
|
var error40 = () => {
|
|
42962
42963
|
const Sizable = {
|
|
42963
42964
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -43068,7 +43069,7 @@ function sv_default() {
|
|
|
43068
43069
|
};
|
|
43069
43070
|
}
|
|
43070
43071
|
|
|
43071
|
-
//
|
|
43072
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.js
|
|
43072
43073
|
var error41 = () => {
|
|
43073
43074
|
const Sizable = {
|
|
43074
43075
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -43179,7 +43180,7 @@ function ta_default() {
|
|
|
43179
43180
|
};
|
|
43180
43181
|
}
|
|
43181
43182
|
|
|
43182
|
-
//
|
|
43183
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.js
|
|
43183
43184
|
var error42 = () => {
|
|
43184
43185
|
const Sizable = {
|
|
43185
43186
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -43290,7 +43291,7 @@ function th_default() {
|
|
|
43290
43291
|
};
|
|
43291
43292
|
}
|
|
43292
43293
|
|
|
43293
|
-
//
|
|
43294
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.js
|
|
43294
43295
|
var error43 = () => {
|
|
43295
43296
|
const Sizable = {
|
|
43296
43297
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -43396,7 +43397,7 @@ function tr_default() {
|
|
|
43396
43397
|
};
|
|
43397
43398
|
}
|
|
43398
43399
|
|
|
43399
|
-
//
|
|
43400
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.js
|
|
43400
43401
|
var error44 = () => {
|
|
43401
43402
|
const Sizable = {
|
|
43402
43403
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -43505,12 +43506,12 @@ function uk_default() {
|
|
|
43505
43506
|
};
|
|
43506
43507
|
}
|
|
43507
43508
|
|
|
43508
|
-
//
|
|
43509
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.js
|
|
43509
43510
|
function ua_default() {
|
|
43510
43511
|
return uk_default();
|
|
43511
43512
|
}
|
|
43512
43513
|
|
|
43513
|
-
//
|
|
43514
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.js
|
|
43514
43515
|
var error45 = () => {
|
|
43515
43516
|
const Sizable = {
|
|
43516
43517
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -43621,7 +43622,7 @@ function ur_default() {
|
|
|
43621
43622
|
};
|
|
43622
43623
|
}
|
|
43623
43624
|
|
|
43624
|
-
//
|
|
43625
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.js
|
|
43625
43626
|
var error46 = () => {
|
|
43626
43627
|
const Sizable = {
|
|
43627
43628
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -43732,7 +43733,7 @@ function uz_default() {
|
|
|
43732
43733
|
};
|
|
43733
43734
|
}
|
|
43734
43735
|
|
|
43735
|
-
//
|
|
43736
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.js
|
|
43736
43737
|
var error47 = () => {
|
|
43737
43738
|
const Sizable = {
|
|
43738
43739
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -43841,7 +43842,7 @@ function vi_default() {
|
|
|
43841
43842
|
};
|
|
43842
43843
|
}
|
|
43843
43844
|
|
|
43844
|
-
//
|
|
43845
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.js
|
|
43845
43846
|
var error48 = () => {
|
|
43846
43847
|
const Sizable = {
|
|
43847
43848
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -43951,7 +43952,7 @@ function zh_CN_default() {
|
|
|
43951
43952
|
};
|
|
43952
43953
|
}
|
|
43953
43954
|
|
|
43954
|
-
//
|
|
43955
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.js
|
|
43955
43956
|
var error49 = () => {
|
|
43956
43957
|
const Sizable = {
|
|
43957
43958
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -44059,7 +44060,7 @@ function zh_TW_default() {
|
|
|
44059
44060
|
};
|
|
44060
44061
|
}
|
|
44061
44062
|
|
|
44062
|
-
//
|
|
44063
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.js
|
|
44063
44064
|
var error50 = () => {
|
|
44064
44065
|
const Sizable = {
|
|
44065
44066
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -44167,7 +44168,7 @@ function yo_default() {
|
|
|
44167
44168
|
};
|
|
44168
44169
|
}
|
|
44169
44170
|
|
|
44170
|
-
//
|
|
44171
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
44171
44172
|
var _a3;
|
|
44172
44173
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
44173
44174
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -44217,7 +44218,7 @@ function registry() {
|
|
|
44217
44218
|
(_a3 = globalThis).__zod_globalRegistry ?? (_a3.__zod_globalRegistry = registry());
|
|
44218
44219
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
44219
44220
|
|
|
44220
|
-
//
|
|
44221
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
44221
44222
|
// @__NO_SIDE_EFFECTS__
|
|
44222
44223
|
function _string(Class2, params) {
|
|
44223
44224
|
return new Class2({
|
|
@@ -45256,7 +45257,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
45256
45257
|
return inst;
|
|
45257
45258
|
}
|
|
45258
45259
|
|
|
45259
|
-
//
|
|
45260
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
45260
45261
|
function initializeContext(params) {
|
|
45261
45262
|
let target = params?.target ?? "draft-2020-12";
|
|
45262
45263
|
if (target === "draft-4")
|
|
@@ -45615,7 +45616,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
45615
45616
|
return finalize(ctx, schema);
|
|
45616
45617
|
};
|
|
45617
45618
|
|
|
45618
|
-
//
|
|
45619
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
45619
45620
|
var formatMap = {
|
|
45620
45621
|
guid: "uuid",
|
|
45621
45622
|
url: "uri",
|
|
@@ -46159,7 +46160,7 @@ function toJSONSchema(input, params) {
|
|
|
46159
46160
|
return finalize(ctx, input);
|
|
46160
46161
|
}
|
|
46161
46162
|
|
|
46162
|
-
//
|
|
46163
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.js
|
|
46163
46164
|
var JSONSchemaGenerator = class {
|
|
46164
46165
|
/** @deprecated Access via ctx instead */
|
|
46165
46166
|
get metadataRegistry() {
|
|
@@ -46234,10 +46235,10 @@ var JSONSchemaGenerator = class {
|
|
|
46234
46235
|
}
|
|
46235
46236
|
};
|
|
46236
46237
|
|
|
46237
|
-
//
|
|
46238
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
|
|
46238
46239
|
var json_schema_exports = {};
|
|
46239
46240
|
|
|
46240
|
-
//
|
|
46241
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
46241
46242
|
var schemas_exports2 = {};
|
|
46242
46243
|
__export(schemas_exports2, {
|
|
46243
46244
|
ZodAny: () => ZodAny,
|
|
@@ -46408,7 +46409,7 @@ __export(schemas_exports2, {
|
|
|
46408
46409
|
xor: () => xor
|
|
46409
46410
|
});
|
|
46410
46411
|
|
|
46411
|
-
//
|
|
46412
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js
|
|
46412
46413
|
var checks_exports2 = {};
|
|
46413
46414
|
__export(checks_exports2, {
|
|
46414
46415
|
endsWith: () => _endsWith,
|
|
@@ -46442,7 +46443,7 @@ __export(checks_exports2, {
|
|
|
46442
46443
|
uppercase: () => _uppercase
|
|
46443
46444
|
});
|
|
46444
46445
|
|
|
46445
|
-
//
|
|
46446
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
46446
46447
|
var iso_exports = {};
|
|
46447
46448
|
__export(iso_exports, {
|
|
46448
46449
|
ZodISODate: () => ZodISODate,
|
|
@@ -46483,7 +46484,7 @@ function duration2(params) {
|
|
|
46483
46484
|
return _isoDuration(ZodISODuration, params);
|
|
46484
46485
|
}
|
|
46485
46486
|
|
|
46486
|
-
//
|
|
46487
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
46487
46488
|
var initializer2 = (inst, issues) => {
|
|
46488
46489
|
$ZodError.init(inst, issues);
|
|
46489
46490
|
inst.name = "ZodError";
|
|
@@ -46523,7 +46524,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
46523
46524
|
Parent: Error
|
|
46524
46525
|
});
|
|
46525
46526
|
|
|
46526
|
-
//
|
|
46527
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
46527
46528
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
46528
46529
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
46529
46530
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -46537,7 +46538,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
46537
46538
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
46538
46539
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
46539
46540
|
|
|
46540
|
-
//
|
|
46541
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
46541
46542
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
46542
46543
|
function _installLazyMethods(inst, group, methods) {
|
|
46543
46544
|
const proto2 = Object.getPrototypeOf(inst);
|
|
@@ -47827,7 +47828,7 @@ function preprocess(fn, schema) {
|
|
|
47827
47828
|
});
|
|
47828
47829
|
}
|
|
47829
47830
|
|
|
47830
|
-
//
|
|
47831
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js
|
|
47831
47832
|
var ZodIssueCode = {
|
|
47832
47833
|
invalid_type: "invalid_type",
|
|
47833
47834
|
too_big: "too_big",
|
|
@@ -47853,7 +47854,7 @@ var ZodFirstPartyTypeKind;
|
|
|
47853
47854
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
47854
47855
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
47855
47856
|
|
|
47856
|
-
//
|
|
47857
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.js
|
|
47857
47858
|
var z = {
|
|
47858
47859
|
...schemas_exports2,
|
|
47859
47860
|
...checks_exports2,
|
|
@@ -48333,7 +48334,7 @@ function fromJSONSchema(schema, params) {
|
|
|
48333
48334
|
return convertSchema(normalized, ctx);
|
|
48334
48335
|
}
|
|
48335
48336
|
|
|
48336
|
-
//
|
|
48337
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
|
|
48337
48338
|
var coerce_exports = {};
|
|
48338
48339
|
__export(coerce_exports, {
|
|
48339
48340
|
bigint: () => bigint3,
|
|
@@ -48358,10 +48359,10 @@ function date5(params) {
|
|
|
48358
48359
|
return _coercedDate(ZodDate, params);
|
|
48359
48360
|
}
|
|
48360
48361
|
|
|
48361
|
-
//
|
|
48362
|
+
// node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
48362
48363
|
config(en_default());
|
|
48363
48364
|
|
|
48364
|
-
//
|
|
48365
|
+
// packages/session/session-title/src/normalize.ts
|
|
48365
48366
|
var OSC_SEQUENCE = /(?:\u001B\]|\u009D)(?:(?!\u0007|\u001B\\)[\s\S])*(?:\u0007|\u001B\\|$)/gu;
|
|
48366
48367
|
var CSI_SEQUENCE = /(?:\u001B\[|\u009B)[0-?]*[ -/]*[@-~]/gu;
|
|
48367
48368
|
var ESC_SEQUENCE = /\u001B[@-_]/gu;
|
|
@@ -48397,7 +48398,7 @@ function fallbackSessionTitle(input, maxWords, maxBytes) {
|
|
|
48397
48398
|
return truncateTitleUtf8(words.join(" "), maxBytes).trimEnd();
|
|
48398
48399
|
}
|
|
48399
48400
|
|
|
48400
|
-
//
|
|
48401
|
+
// packages/session/session-title/src/index.ts
|
|
48401
48402
|
var SessionTitleInvalidError = class extends Error {
|
|
48402
48403
|
name = "SessionTitleInvalidError";
|
|
48403
48404
|
};
|
|
@@ -48995,15 +48996,15 @@ var SessionTitleService = class extends Service {
|
|
|
48995
48996
|
}
|
|
48996
48997
|
};
|
|
48997
48998
|
|
|
48998
|
-
//
|
|
48999
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/render.js
|
|
48999
49000
|
import { Stream } from "node:stream";
|
|
49000
49001
|
import process14 from "node:process";
|
|
49001
49002
|
|
|
49002
|
-
//
|
|
49003
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/ink.js
|
|
49003
49004
|
var import_react16 = __toESM(require_react(), 1);
|
|
49004
49005
|
import process13 from "node:process";
|
|
49005
49006
|
|
|
49006
|
-
//
|
|
49007
|
+
// node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/function/debounce.mjs
|
|
49007
49008
|
function debounce(func, debounceMs, { signal, edges } = {}) {
|
|
49008
49009
|
let pendingThis = void 0;
|
|
49009
49010
|
let pendingArgs = null;
|
|
@@ -49057,7 +49058,7 @@ function debounce(func, debounceMs, { signal, edges } = {}) {
|
|
|
49057
49058
|
return debounced;
|
|
49058
49059
|
}
|
|
49059
49060
|
|
|
49060
|
-
//
|
|
49061
|
+
// node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/function/debounce.mjs
|
|
49061
49062
|
function debounce2(func, debounceMs = 0, options = {}) {
|
|
49062
49063
|
if (typeof options !== "object") options = {};
|
|
49063
49064
|
const { leading = false, trailing = true, maxWait } = options;
|
|
@@ -49093,7 +49094,7 @@ function debounce2(func, debounceMs = 0, options = {}) {
|
|
|
49093
49094
|
return debounced;
|
|
49094
49095
|
}
|
|
49095
49096
|
|
|
49096
|
-
//
|
|
49097
|
+
// node_modules/.pnpm/es-toolkit@1.49.0/node_modules/es-toolkit/dist/compat/function/throttle.mjs
|
|
49097
49098
|
function throttle(func, throttleMs = 0, options = {}) {
|
|
49098
49099
|
const { leading = true, trailing = true } = options;
|
|
49099
49100
|
return debounce2(func, throttleMs, {
|
|
@@ -49103,7 +49104,7 @@ function throttle(func, throttleMs = 0, options = {}) {
|
|
|
49103
49104
|
});
|
|
49104
49105
|
}
|
|
49105
49106
|
|
|
49106
|
-
//
|
|
49107
|
+
// node_modules/.pnpm/ansi-escapes@7.3.0/node_modules/ansi-escapes/base.js
|
|
49107
49108
|
var base_exports = {};
|
|
49108
49109
|
__export(base_exports, {
|
|
49109
49110
|
ConEmu: () => ConEmu,
|
|
@@ -49147,7 +49148,7 @@ __export(base_exports, {
|
|
|
49147
49148
|
import process3 from "node:process";
|
|
49148
49149
|
import os from "node:os";
|
|
49149
49150
|
|
|
49150
|
-
//
|
|
49151
|
+
// node_modules/.pnpm/environment@1.1.0/node_modules/environment/index.js
|
|
49151
49152
|
var isBrowser = globalThis.window?.document !== void 0;
|
|
49152
49153
|
var isNode = globalThis.process?.versions?.node !== void 0;
|
|
49153
49154
|
var isBun = globalThis.process?.versions?.bun !== void 0;
|
|
@@ -49165,7 +49166,7 @@ var isLinux = platform === "Linux" || globalThis.navigator?.platform?.startsWith
|
|
|
49165
49166
|
var isIos = platform === "iOS" || globalThis.navigator?.platform === "MacIntel" && globalThis.navigator?.maxTouchPoints > 1 || /iPad|iPhone|iPod/.test(globalThis.navigator?.platform);
|
|
49166
49167
|
var isAndroid = platform === "Android" || globalThis.navigator?.platform === "Android" || globalThis.navigator?.userAgent?.includes(" Android ") === true || globalThis.process?.platform === "android";
|
|
49167
49168
|
|
|
49168
|
-
//
|
|
49169
|
+
// node_modules/.pnpm/ansi-escapes@7.3.0/node_modules/ansi-escapes/base.js
|
|
49169
49170
|
var ESC = "\x1B[";
|
|
49170
49171
|
var OSC = "\x1B]";
|
|
49171
49172
|
var BEL = "\x07";
|
|
@@ -49305,13 +49306,13 @@ var ConEmu = {
|
|
|
49305
49306
|
};
|
|
49306
49307
|
var setCwd = (cwd2 = cwdFunction()) => iTerm.setCwd(cwd2) + ConEmu.setCwd(cwd2);
|
|
49307
49308
|
|
|
49308
|
-
//
|
|
49309
|
+
// node_modules/.pnpm/is-in-ci@2.0.0/node_modules/is-in-ci/index.js
|
|
49309
49310
|
import { env } from "node:process";
|
|
49310
49311
|
var check2 = (key) => key in env && env[key] !== "0" && env[key] !== "false";
|
|
49311
49312
|
var isInCi = check2("CI") || check2("CONTINUOUS_INTEGRATION");
|
|
49312
49313
|
var is_in_ci_default = isInCi;
|
|
49313
49314
|
|
|
49314
|
-
//
|
|
49315
|
+
// node_modules/.pnpm/auto-bind@5.0.1/node_modules/auto-bind/index.js
|
|
49315
49316
|
var getAllProperties = (object2) => {
|
|
49316
49317
|
const properties = /* @__PURE__ */ new Set();
|
|
49317
49318
|
do {
|
|
@@ -49344,10 +49345,10 @@ function autoBind(self, { include, exclude } = {}) {
|
|
|
49344
49345
|
return self;
|
|
49345
49346
|
}
|
|
49346
49347
|
|
|
49347
|
-
//
|
|
49348
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/ink.js
|
|
49348
49349
|
var import_signal_exit2 = __toESM(require_signal_exit(), 1);
|
|
49349
49350
|
|
|
49350
|
-
//
|
|
49351
|
+
// node_modules/.pnpm/patch-console@2.0.0/node_modules/patch-console/dist/index.js
|
|
49351
49352
|
import { PassThrough } from "node:stream";
|
|
49352
49353
|
var consoleMethods = [
|
|
49353
49354
|
"assert",
|
|
@@ -49393,10 +49394,10 @@ var patchConsole = (callback) => {
|
|
|
49393
49394
|
};
|
|
49394
49395
|
var dist_default = patchConsole;
|
|
49395
49396
|
|
|
49396
|
-
//
|
|
49397
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/ink.js
|
|
49397
49398
|
var import_constants2 = __toESM(require_constants(), 1);
|
|
49398
49399
|
|
|
49399
|
-
//
|
|
49400
|
+
// node_modules/.pnpm/yoga-layout@3.2.1/node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js
|
|
49400
49401
|
var loadYoga = (() => {
|
|
49401
49402
|
var _scriptDir = import.meta.url;
|
|
49402
49403
|
return (function(loadYoga2) {
|
|
@@ -50627,7 +50628,7 @@ var loadYoga = (() => {
|
|
|
50627
50628
|
})();
|
|
50628
50629
|
var yoga_wasm_base64_esm_default = loadYoga;
|
|
50629
50630
|
|
|
50630
|
-
//
|
|
50631
|
+
// node_modules/.pnpm/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/generated/YGEnums.js
|
|
50631
50632
|
var Align = /* @__PURE__ */ (function(Align2) {
|
|
50632
50633
|
Align2[Align2["Auto"] = 0] = "Auto";
|
|
50633
50634
|
Align2[Align2["FlexStart"] = 1] = "FlexStart";
|
|
@@ -50830,7 +50831,7 @@ var constants = {
|
|
|
50830
50831
|
};
|
|
50831
50832
|
var YGEnums_default = constants;
|
|
50832
50833
|
|
|
50833
|
-
//
|
|
50834
|
+
// node_modules/.pnpm/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/wrapAssembly.js
|
|
50834
50835
|
function wrapAssembly(lib) {
|
|
50835
50836
|
function patch(prototype, name2, fn) {
|
|
50836
50837
|
const original = prototype[name2];
|
|
@@ -50931,11 +50932,11 @@ function wrapAssembly(lib) {
|
|
|
50931
50932
|
};
|
|
50932
50933
|
}
|
|
50933
50934
|
|
|
50934
|
-
//
|
|
50935
|
+
// node_modules/.pnpm/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/index.js
|
|
50935
50936
|
var Yoga = wrapAssembly(await yoga_wasm_base64_esm_default());
|
|
50936
50937
|
var src_default2 = Yoga;
|
|
50937
50938
|
|
|
50938
|
-
//
|
|
50939
|
+
// node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
50939
50940
|
function ansiRegex({ onlyFirst = false } = {}) {
|
|
50940
50941
|
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
50941
50942
|
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
@@ -50944,7 +50945,7 @@ function ansiRegex({ onlyFirst = false } = {}) {
|
|
|
50944
50945
|
return new RegExp(pattern2, onlyFirst ? void 0 : "g");
|
|
50945
50946
|
}
|
|
50946
50947
|
|
|
50947
|
-
//
|
|
50948
|
+
// node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.js
|
|
50948
50949
|
var regex = ansiRegex();
|
|
50949
50950
|
function stripAnsi(string6) {
|
|
50950
50951
|
if (typeof string6 !== "string") {
|
|
@@ -50956,7 +50957,7 @@ function stripAnsi(string6) {
|
|
|
50956
50957
|
return string6.replace(regex, "");
|
|
50957
50958
|
}
|
|
50958
50959
|
|
|
50959
|
-
//
|
|
50960
|
+
// node_modules/.pnpm/get-east-asian-width@1.6.0/node_modules/get-east-asian-width/lookup-data.js
|
|
50960
50961
|
var ambiguousMinimalCodePoint = 161;
|
|
50961
50962
|
var ambiguousMaximumCodePoint = 1114109;
|
|
50962
50963
|
var ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
|
|
@@ -50967,7 +50968,7 @@ var wideMinimalCodePoint = 4352;
|
|
|
50967
50968
|
var wideMaximumCodePoint = 262141;
|
|
50968
50969
|
var wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
|
|
50969
50970
|
|
|
50970
|
-
//
|
|
50971
|
+
// node_modules/.pnpm/get-east-asian-width@1.6.0/node_modules/get-east-asian-width/utilities.js
|
|
50971
50972
|
var isInRange = (ranges, codePoint) => {
|
|
50972
50973
|
let low = 0;
|
|
50973
50974
|
let high = Math.floor(ranges.length / 2) - 1;
|
|
@@ -50985,7 +50986,7 @@ var isInRange = (ranges, codePoint) => {
|
|
|
50985
50986
|
return false;
|
|
50986
50987
|
};
|
|
50987
50988
|
|
|
50988
|
-
//
|
|
50989
|
+
// node_modules/.pnpm/get-east-asian-width@1.6.0/node_modules/get-east-asian-width/lookup.js
|
|
50989
50990
|
var commonCjkCodePoint = 19968;
|
|
50990
50991
|
var [wideFastPathStart, wideFastPathEnd] = /* @__PURE__ */ findWideFastPathRange(wideRanges);
|
|
50991
50992
|
function findWideFastPathRange(ranges) {
|
|
@@ -51026,7 +51027,7 @@ var isWide = (codePoint) => {
|
|
|
51026
51027
|
return isInRange(wideRanges, codePoint);
|
|
51027
51028
|
};
|
|
51028
51029
|
|
|
51029
|
-
//
|
|
51030
|
+
// node_modules/.pnpm/get-east-asian-width@1.6.0/node_modules/get-east-asian-width/index.js
|
|
51030
51031
|
function validate(codePoint) {
|
|
51031
51032
|
if (!Number.isSafeInteger(codePoint)) {
|
|
51032
51033
|
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
@@ -51040,7 +51041,7 @@ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
|
51040
51041
|
return 1;
|
|
51041
51042
|
}
|
|
51042
51043
|
|
|
51043
|
-
//
|
|
51044
|
+
// node_modules/.pnpm/string-width@8.2.2/node_modules/string-width/index.js
|
|
51044
51045
|
var segmenter = new Intl.Segmenter();
|
|
51045
51046
|
var zeroWidthClusterRegex = new RegExp("^(?:\\p{Default_Ignorable_Code_Point}|\\p{Control}|\\p{Format}|\\p{Nonspacing_Mark}|\\p{Enclosing_Mark}|\\p{Surrogate})+$", "v");
|
|
51046
51047
|
var leadingNonPrintingRegex = new RegExp("^[\\p{Default_Ignorable_Code_Point}\\p{Control}\\p{Format}\\p{Nonspacing_Mark}\\p{Enclosing_Mark}\\p{Surrogate}]+", "v");
|
|
@@ -51166,7 +51167,7 @@ function stringWidth(input, options = {}) {
|
|
|
51166
51167
|
return width;
|
|
51167
51168
|
}
|
|
51168
51169
|
|
|
51169
|
-
//
|
|
51170
|
+
// node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
|
|
51170
51171
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
51171
51172
|
var wrapAnsi16 = (offset = 0) => (code2) => `\x1B[${code2 + offset}m`;
|
|
51172
51173
|
var wrapAnsi256 = (offset = 0) => (code2) => `\x1B[${38 + offset};5;${code2}m`;
|
|
@@ -51352,7 +51353,7 @@ function assembleStyles() {
|
|
|
51352
51353
|
var ansiStyles = assembleStyles();
|
|
51353
51354
|
var ansi_styles_default = ansiStyles;
|
|
51354
51355
|
|
|
51355
|
-
//
|
|
51356
|
+
// node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.js
|
|
51356
51357
|
var ANSI_ESCAPE = "\x1B";
|
|
51357
51358
|
var ANSI_ESCAPE_CSI = "\x9B";
|
|
51358
51359
|
var ESCAPES = /* @__PURE__ */ new Set([
|
|
@@ -51697,7 +51698,7 @@ function wrapAnsi(string6, columns, options) {
|
|
|
51697
51698
|
return String(string6).normalize().replaceAll("\r\n", "\n").split("\n").map((line8) => exec(expandTabs(line8), columns, options)).join("\n");
|
|
51698
51699
|
}
|
|
51699
51700
|
|
|
51700
|
-
//
|
|
51701
|
+
// node_modules/.pnpm/terminal-size@4.0.1/node_modules/terminal-size/index.js
|
|
51701
51702
|
import process4 from "node:process";
|
|
51702
51703
|
import { execFileSync } from "node:child_process";
|
|
51703
51704
|
import fs from "node:fs";
|
|
@@ -51803,7 +51804,7 @@ var resize = () => {
|
|
|
51803
51804
|
}
|
|
51804
51805
|
};
|
|
51805
51806
|
|
|
51806
|
-
//
|
|
51807
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/utils.js
|
|
51807
51808
|
var getWindowSize = (stdout) => {
|
|
51808
51809
|
const { columns, rows } = stdout;
|
|
51809
51810
|
if (columns && rows) {
|
|
@@ -51816,14 +51817,14 @@ var getWindowSize = (stdout) => {
|
|
|
51816
51817
|
};
|
|
51817
51818
|
};
|
|
51818
51819
|
|
|
51819
|
-
//
|
|
51820
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/reconciler.js
|
|
51820
51821
|
var import_react_reconciler = __toESM(require_react_reconciler(), 1);
|
|
51821
51822
|
var import_constants = __toESM(require_constants(), 1);
|
|
51822
51823
|
var Scheduler = __toESM(require_scheduler(), 1);
|
|
51823
51824
|
import process5 from "node:process";
|
|
51824
51825
|
var import_react = __toESM(require_react(), 1);
|
|
51825
51826
|
|
|
51826
|
-
//
|
|
51827
|
+
// node_modules/.pnpm/widest-line@6.0.0/node_modules/widest-line/index.js
|
|
51827
51828
|
function widestLine(string6) {
|
|
51828
51829
|
let lineWidth = 0;
|
|
51829
51830
|
for (const line8 of string6.split("\n")) {
|
|
@@ -51832,7 +51833,7 @@ function widestLine(string6) {
|
|
|
51832
51833
|
return lineWidth;
|
|
51833
51834
|
}
|
|
51834
51835
|
|
|
51835
|
-
//
|
|
51836
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/measure-text.js
|
|
51836
51837
|
var cache = /* @__PURE__ */ new Map();
|
|
51837
51838
|
var measureText = (text4) => {
|
|
51838
51839
|
if (text4.length === 0) {
|
|
@@ -51853,7 +51854,7 @@ var measureText = (text4) => {
|
|
|
51853
51854
|
};
|
|
51854
51855
|
var measure_text_default = measureText;
|
|
51855
51856
|
|
|
51856
|
-
//
|
|
51857
|
+
// node_modules/.pnpm/is-fullwidth-code-point@5.1.0/node_modules/is-fullwidth-code-point/index.js
|
|
51857
51858
|
function isFullwidthCodePoint(codePoint) {
|
|
51858
51859
|
if (!Number.isInteger(codePoint)) {
|
|
51859
51860
|
return false;
|
|
@@ -51861,7 +51862,7 @@ function isFullwidthCodePoint(codePoint) {
|
|
|
51861
51862
|
return isFullWidth(codePoint) || isWide(codePoint);
|
|
51862
51863
|
}
|
|
51863
51864
|
|
|
51864
|
-
//
|
|
51865
|
+
// node_modules/.pnpm/slice-ansi@9.0.0/node_modules/slice-ansi/tokenize-ansi.js
|
|
51865
51866
|
var ESCAPE_CODE_POINT = 27;
|
|
51866
51867
|
var C1_DCS_CODE_POINT = 144;
|
|
51867
51868
|
var C1_SOS_CODE_POINT = 152;
|
|
@@ -52467,7 +52468,7 @@ function tokenizeAnsi(string6, { endCharacter = Number.POSITIVE_INFINITY } = {})
|
|
|
52467
52468
|
return tokens;
|
|
52468
52469
|
}
|
|
52469
52470
|
|
|
52470
|
-
//
|
|
52471
|
+
// node_modules/.pnpm/slice-ansi@9.0.0/node_modules/slice-ansi/index.js
|
|
52471
52472
|
function applySgrFragments(activeStyles, fragments) {
|
|
52472
52473
|
for (const fragment of fragments) {
|
|
52473
52474
|
switch (fragment.type) {
|
|
@@ -52697,7 +52698,7 @@ function sliceAnsi(string6, start, end) {
|
|
|
52697
52698
|
return returnValue;
|
|
52698
52699
|
}
|
|
52699
52700
|
|
|
52700
|
-
//
|
|
52701
|
+
// node_modules/.pnpm/cli-truncate@6.1.1/node_modules/cli-truncate/index.js
|
|
52701
52702
|
var validPositions = /* @__PURE__ */ new Set(["start", "middle", "end"]);
|
|
52702
52703
|
function getIndexOfNearestSpace(string6, wantedIndex, shouldSearchRight) {
|
|
52703
52704
|
if (string6.charAt(wantedIndex) === " ") {
|
|
@@ -52839,7 +52840,7 @@ function cliTruncate(text4, columns, options = {}) {
|
|
|
52839
52840
|
}
|
|
52840
52841
|
}
|
|
52841
52842
|
|
|
52842
|
-
//
|
|
52843
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/wrap-text.js
|
|
52843
52844
|
var cache2 = {};
|
|
52844
52845
|
var wrapText = (text4, maxWidth, wrapType) => {
|
|
52845
52846
|
const cacheKey = text4 + String(maxWidth) + String(wrapType);
|
|
@@ -52876,7 +52877,7 @@ var wrapText = (text4, maxWidth, wrapType) => {
|
|
|
52876
52877
|
};
|
|
52877
52878
|
var wrap_text_default = wrapText;
|
|
52878
52879
|
|
|
52879
|
-
//
|
|
52880
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/ansi-tokenizer.js
|
|
52880
52881
|
var bellCharacter = "\x07";
|
|
52881
52882
|
var escapeCharacter = "\x1B";
|
|
52882
52883
|
var stringTerminatorCharacter = "\x9C";
|
|
@@ -53183,7 +53184,7 @@ var tokenizeAnsi2 = (text4) => {
|
|
|
53183
53184
|
return tokens;
|
|
53184
53185
|
};
|
|
53185
53186
|
|
|
53186
|
-
//
|
|
53187
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/sanitize-ansi.js
|
|
53187
53188
|
var sgrParametersRegex = /^[\d:;]*$/;
|
|
53188
53189
|
var sanitizeAnsi = (text4) => {
|
|
53189
53190
|
if (!hasAnsiControlCharacters(text4)) {
|
|
@@ -53203,7 +53204,7 @@ var sanitizeAnsi = (text4) => {
|
|
|
53203
53204
|
};
|
|
53204
53205
|
var sanitize_ansi_default = sanitizeAnsi;
|
|
53205
53206
|
|
|
53206
|
-
//
|
|
53207
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/squash-text-nodes.js
|
|
53207
53208
|
var squashTextNodes = (node2) => {
|
|
53208
53209
|
let text4 = "";
|
|
53209
53210
|
for (let index2 = 0; index2 < node2.childNodes.length; index2++) {
|
|
@@ -53228,7 +53229,7 @@ var squashTextNodes = (node2) => {
|
|
|
53228
53229
|
};
|
|
53229
53230
|
var squash_text_nodes_default = squashTextNodes;
|
|
53230
53231
|
|
|
53231
|
-
//
|
|
53232
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/dom.js
|
|
53232
53233
|
var createNode = (nodeName) => {
|
|
53233
53234
|
const node2 = {
|
|
53234
53235
|
nodeName,
|
|
@@ -53352,7 +53353,7 @@ var emitLayoutListeners = (rootNode) => {
|
|
|
53352
53353
|
}
|
|
53353
53354
|
};
|
|
53354
53355
|
|
|
53355
|
-
//
|
|
53356
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/styles.js
|
|
53356
53357
|
var positionEdges = [
|
|
53357
53358
|
["top", src_default2.EDGE_TOP],
|
|
53358
53359
|
["right", src_default2.EDGE_RIGHT],
|
|
@@ -53639,7 +53640,7 @@ var styles2 = (node2, style = {}, currentStyle = style) => {
|
|
|
53639
53640
|
};
|
|
53640
53641
|
var styles_default = styles2;
|
|
53641
53642
|
|
|
53642
|
-
//
|
|
53643
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/reconciler.js
|
|
53643
53644
|
if (process5.env["DEV"] === "true") {
|
|
53644
53645
|
let isDevtoolsInstalled = false;
|
|
53645
53646
|
try {
|
|
@@ -53926,7 +53927,7 @@ var reconciler_default = (0, import_react_reconciler.default)({
|
|
|
53926
53927
|
rendererVersion: packageInfo.version
|
|
53927
53928
|
});
|
|
53928
53929
|
|
|
53929
|
-
//
|
|
53930
|
+
// node_modules/.pnpm/indent-string@5.0.0/node_modules/indent-string/index.js
|
|
53930
53931
|
function indentString(string6, count = 1, options = {}) {
|
|
53931
53932
|
const {
|
|
53932
53933
|
indent: indent2 = " ",
|
|
@@ -53959,13 +53960,13 @@ function indentString(string6, count = 1, options = {}) {
|
|
|
53959
53960
|
return string6.replace(regex2, indent2.repeat(count));
|
|
53960
53961
|
}
|
|
53961
53962
|
|
|
53962
|
-
//
|
|
53963
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/get-max-width.js
|
|
53963
53964
|
var getMaxWidth = (yogaNode) => {
|
|
53964
53965
|
return yogaNode.getComputedWidth() - yogaNode.getComputedPadding(src_default2.EDGE_LEFT) - yogaNode.getComputedPadding(src_default2.EDGE_RIGHT) - yogaNode.getComputedBorder(src_default2.EDGE_LEFT) - yogaNode.getComputedBorder(src_default2.EDGE_RIGHT);
|
|
53965
53966
|
};
|
|
53966
53967
|
var get_max_width_default = getMaxWidth;
|
|
53967
53968
|
|
|
53968
|
-
//
|
|
53969
|
+
// node_modules/.pnpm/cli-boxes@4.0.1/node_modules/cli-boxes/boxes.json
|
|
53969
53970
|
var boxes_default = {
|
|
53970
53971
|
single: {
|
|
53971
53972
|
topLeft: "\u250C",
|
|
@@ -54049,10 +54050,10 @@ var boxes_default = {
|
|
|
54049
54050
|
}
|
|
54050
54051
|
};
|
|
54051
54052
|
|
|
54052
|
-
//
|
|
54053
|
+
// node_modules/.pnpm/cli-boxes@4.0.1/node_modules/cli-boxes/index.js
|
|
54053
54054
|
var cli_boxes_default = boxes_default;
|
|
54054
54055
|
|
|
54055
|
-
//
|
|
54056
|
+
// node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
54056
54057
|
var ANSI_BACKGROUND_OFFSET2 = 10;
|
|
54057
54058
|
var wrapAnsi162 = (offset = 0) => (code2) => `\x1B[${code2 + offset}m`;
|
|
54058
54059
|
var wrapAnsi2562 = (offset = 0) => (code2) => `\x1B[${38 + offset};5;${code2}m`;
|
|
@@ -54238,7 +54239,7 @@ function assembleStyles2() {
|
|
|
54238
54239
|
var ansiStyles2 = assembleStyles2();
|
|
54239
54240
|
var ansi_styles_default2 = ansiStyles2;
|
|
54240
54241
|
|
|
54241
|
-
//
|
|
54242
|
+
// node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
54242
54243
|
import process6 from "node:process";
|
|
54243
54244
|
import os2 from "node:os";
|
|
54244
54245
|
import tty2 from "node:tty";
|
|
@@ -54370,7 +54371,7 @@ var supportsColor = {
|
|
|
54370
54371
|
};
|
|
54371
54372
|
var supports_color_default = supportsColor;
|
|
54372
54373
|
|
|
54373
|
-
//
|
|
54374
|
+
// node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
54374
54375
|
function stringReplaceAll(string6, substring, replacer) {
|
|
54375
54376
|
let index2 = string6.indexOf(substring);
|
|
54376
54377
|
if (index2 === -1) {
|
|
@@ -54400,7 +54401,7 @@ function stringEncaseCRLFWithFirstIndex(string6, prefix, postfix, index2) {
|
|
|
54400
54401
|
return returnValue;
|
|
54401
54402
|
}
|
|
54402
54403
|
|
|
54403
|
-
//
|
|
54404
|
+
// node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
54404
54405
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
54405
54406
|
var GENERATOR = /* @__PURE__ */ Symbol("GENERATOR");
|
|
54406
54407
|
var STYLER = /* @__PURE__ */ Symbol("STYLER");
|
|
@@ -54547,7 +54548,7 @@ var chalk = createChalk();
|
|
|
54547
54548
|
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
54548
54549
|
var source_default = chalk;
|
|
54549
54550
|
|
|
54550
|
-
//
|
|
54551
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/colorize.js
|
|
54551
54552
|
var rgbRegex = /^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/;
|
|
54552
54553
|
var ansiRegex2 = /^ansi256\(\s?(\d+)\s?\)$/;
|
|
54553
54554
|
var isNamedColor = (color2) => {
|
|
@@ -54589,7 +54590,7 @@ var colorize = (str, color2, type) => {
|
|
|
54589
54590
|
};
|
|
54590
54591
|
var colorize_default = colorize;
|
|
54591
54592
|
|
|
54592
|
-
//
|
|
54593
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/render-border.js
|
|
54593
54594
|
var stylePiece = (segment2, fg, bg, dim) => {
|
|
54594
54595
|
let styled2 = colorize_default(segment2, fg, "foreground");
|
|
54595
54596
|
styled2 = colorize_default(styled2, bg, "background");
|
|
@@ -54660,7 +54661,7 @@ var renderBorder = (x, y, node2, output) => {
|
|
|
54660
54661
|
};
|
|
54661
54662
|
var render_border_default = renderBorder;
|
|
54662
54663
|
|
|
54663
|
-
//
|
|
54664
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/render-background.js
|
|
54664
54665
|
var renderBackground = (x, y, node2, output) => {
|
|
54665
54666
|
if (!node2.style.backgroundColor) {
|
|
54666
54667
|
return;
|
|
@@ -54683,7 +54684,7 @@ var renderBackground = (x, y, node2, output) => {
|
|
|
54683
54684
|
};
|
|
54684
54685
|
var render_background_default = renderBackground;
|
|
54685
54686
|
|
|
54686
|
-
//
|
|
54687
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/render-node-to-output.js
|
|
54687
54688
|
var applyPaddingToText = (node2, text4) => {
|
|
54688
54689
|
const yogaNode = node2.childNodes[0]?.yogaNode;
|
|
54689
54690
|
if (yogaNode) {
|
|
@@ -54791,7 +54792,7 @@ var renderNodeToOutput = (node2, output, options) => {
|
|
|
54791
54792
|
};
|
|
54792
54793
|
var render_node_to_output_default = renderNodeToOutput;
|
|
54793
54794
|
|
|
54794
|
-
//
|
|
54795
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/consts.js
|
|
54795
54796
|
var BEL2 = "\x07";
|
|
54796
54797
|
var ESC2 = "\x1B";
|
|
54797
54798
|
var BACKSLASH = "\\";
|
|
@@ -54815,7 +54816,7 @@ var linkEndCode = `${ESC2}${OSC2}8;;${BEL2}`;
|
|
|
54815
54816
|
var linkEndCodeST = `${ESC2}${OSC2}8;;${ESC2}${BACKSLASH}`;
|
|
54816
54817
|
var linkEndCodeC1ST = `${ESC2}${OSC2}8;;${C1_ST}`;
|
|
54817
54818
|
|
|
54818
|
-
//
|
|
54819
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js
|
|
54819
54820
|
var endCodesSet = /* @__PURE__ */ new Set();
|
|
54820
54821
|
var endCodesMap = /* @__PURE__ */ new Map();
|
|
54821
54822
|
for (const [start, end] of ansi_styles_default.codes) {
|
|
@@ -54855,7 +54856,7 @@ function isIntensityCode(code2) {
|
|
|
54855
54856
|
return code2.code === ansi_styles_default.bold.open || code2.code === ansi_styles_default.dim.open;
|
|
54856
54857
|
}
|
|
54857
54858
|
|
|
54858
|
-
//
|
|
54859
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/reduce.js
|
|
54859
54860
|
function reduceAnsiCodes(codes) {
|
|
54860
54861
|
return reduceAnsiCodesIncremental([], codes);
|
|
54861
54862
|
}
|
|
@@ -54880,7 +54881,7 @@ function reduceAnsiCodesIncremental(codes, newCodes) {
|
|
|
54880
54881
|
return ret;
|
|
54881
54882
|
}
|
|
54882
54883
|
|
|
54883
|
-
//
|
|
54884
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/undo.js
|
|
54884
54885
|
function undoAnsiCodes2(codes) {
|
|
54885
54886
|
return reduceAnsiCodes(codes).reverse().map((code2) => ({
|
|
54886
54887
|
...code2,
|
|
@@ -54888,7 +54889,7 @@ function undoAnsiCodes2(codes) {
|
|
|
54888
54889
|
}));
|
|
54889
54890
|
}
|
|
54890
54891
|
|
|
54891
|
-
//
|
|
54892
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/diff.js
|
|
54892
54893
|
function diffAnsiCodes(from2, to) {
|
|
54893
54894
|
const endCodesInTo = new Set(to.map((code2) => code2.endCode));
|
|
54894
54895
|
const startCodesInTo = new Set(to.map((code2) => code2.code));
|
|
@@ -54907,7 +54908,7 @@ function diffAnsiCodes(from2, to) {
|
|
|
54907
54908
|
];
|
|
54908
54909
|
}
|
|
54909
54910
|
|
|
54910
|
-
//
|
|
54911
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js
|
|
54911
54912
|
function styledCharsFromTokens(tokens) {
|
|
54912
54913
|
let codes = [];
|
|
54913
54914
|
const ret = [];
|
|
@@ -54940,7 +54941,7 @@ function styledCharsToString(chars) {
|
|
|
54940
54941
|
return ret;
|
|
54941
54942
|
}
|
|
54942
54943
|
|
|
54943
|
-
//
|
|
54944
|
+
// node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js
|
|
54944
54945
|
var segmenter3 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
54945
54946
|
function isFullwidthGrapheme(grapheme, baseCodePoint) {
|
|
54946
54947
|
if (isFullwidthCodePoint(baseCodePoint))
|
|
@@ -55089,7 +55090,7 @@ function tokenize2(str, endChar = Number.POSITIVE_INFINITY) {
|
|
|
55089
55090
|
return ret;
|
|
55090
55091
|
}
|
|
55091
55092
|
|
|
55092
|
-
//
|
|
55093
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/output.js
|
|
55093
55094
|
var OutputCaches = class {
|
|
55094
55095
|
widths = /* @__PURE__ */ new Map();
|
|
55095
55096
|
blockWidths = /* @__PURE__ */ new Map();
|
|
@@ -55277,7 +55278,7 @@ var Output = class {
|
|
|
55277
55278
|
}
|
|
55278
55279
|
};
|
|
55279
55280
|
|
|
55280
|
-
//
|
|
55281
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/renderer.js
|
|
55281
55282
|
var renderer = (node2, isScreenReaderEnabled) => {
|
|
55282
55283
|
if (node2.yogaNode) {
|
|
55283
55284
|
if (isScreenReaderEnabled) {
|
|
@@ -55333,7 +55334,7 @@ var renderer = (node2, isScreenReaderEnabled) => {
|
|
|
55333
55334
|
};
|
|
55334
55335
|
var renderer_default = renderer;
|
|
55335
55336
|
|
|
55336
|
-
//
|
|
55337
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/cursor-helpers.js
|
|
55337
55338
|
var showCursorEscape = "\x1B[?25h";
|
|
55338
55339
|
var hideCursorEscape = "\x1B[?25l";
|
|
55339
55340
|
var cursorPositionChanged = (a, b) => a?.x !== b?.x || a?.y !== b?.y;
|
|
@@ -55364,10 +55365,10 @@ var buildReturnToBottomPrefix = (cursorWasShown, previousLineCount, previousCurs
|
|
|
55364
55365
|
return hideCursorEscape + buildReturnToBottom(previousLineCount, previousCursorPosition);
|
|
55365
55366
|
};
|
|
55366
55367
|
|
|
55367
|
-
//
|
|
55368
|
+
// node_modules/.pnpm/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
55368
55369
|
import process8 from "node:process";
|
|
55369
55370
|
|
|
55370
|
-
//
|
|
55371
|
+
// node_modules/.pnpm/restore-cursor@4.0.0/node_modules/restore-cursor/index.js
|
|
55371
55372
|
var import_onetime = __toESM(require_onetime(), 1);
|
|
55372
55373
|
var import_signal_exit = __toESM(require_signal_exit(), 1);
|
|
55373
55374
|
import process7 from "node:process";
|
|
@@ -55378,7 +55379,7 @@ var restoreCursor = (0, import_onetime.default)(() => {
|
|
|
55378
55379
|
});
|
|
55379
55380
|
var restore_cursor_default = restoreCursor;
|
|
55380
55381
|
|
|
55381
|
-
//
|
|
55382
|
+
// node_modules/.pnpm/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
55382
55383
|
var isHidden = false;
|
|
55383
55384
|
var cliCursor = {};
|
|
55384
55385
|
cliCursor.show = (writableStream = process8.stderr) => {
|
|
@@ -55408,7 +55409,7 @@ cliCursor.toggle = (force, writableStream) => {
|
|
|
55408
55409
|
};
|
|
55409
55410
|
var cli_cursor_default = cliCursor;
|
|
55410
55411
|
|
|
55411
|
-
//
|
|
55412
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/log-update.js
|
|
55412
55413
|
var visibleLineCount = (lines, str) => str.endsWith("\n") ? lines.length - 1 : lines.length;
|
|
55413
55414
|
var createStandard = (stream, { showCursor = false } = {}) => {
|
|
55414
55415
|
let previousLineCount = 0;
|
|
@@ -55638,23 +55639,23 @@ var create2 = (stream, { showCursor = false, incremental = false } = {}) => {
|
|
|
55638
55639
|
var logUpdate = { create: create2 };
|
|
55639
55640
|
var log_update_default = logUpdate;
|
|
55640
55641
|
|
|
55641
|
-
//
|
|
55642
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/write-synchronized.js
|
|
55642
55643
|
var bsu = "\x1B[?2026h";
|
|
55643
55644
|
var esu = "\x1B[?2026l";
|
|
55644
55645
|
function shouldSynchronize(stream, interactive) {
|
|
55645
55646
|
return "isTTY" in stream && stream.isTTY && (interactive ?? !is_in_ci_default);
|
|
55646
55647
|
}
|
|
55647
55648
|
|
|
55648
|
-
//
|
|
55649
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/instances.js
|
|
55649
55650
|
var instances = /* @__PURE__ */ new WeakMap();
|
|
55650
55651
|
var instances_default = instances;
|
|
55651
55652
|
|
|
55652
|
-
//
|
|
55653
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/App.js
|
|
55653
55654
|
var import_react15 = __toESM(require_react(), 1);
|
|
55654
55655
|
import { EventEmitter as EventEmitter2 } from "node:events";
|
|
55655
55656
|
import process12 from "node:process";
|
|
55656
55657
|
|
|
55657
|
-
//
|
|
55658
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/input-parser.js
|
|
55658
55659
|
var escape = "\x1B";
|
|
55659
55660
|
var pasteStart = "\x1B[200~";
|
|
55660
55661
|
var pasteEnd = "\x1B[201~";
|
|
@@ -55839,7 +55840,7 @@ var createInputParser = () => {
|
|
|
55839
55840
|
};
|
|
55840
55841
|
};
|
|
55841
55842
|
|
|
55842
|
-
//
|
|
55843
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/AppContext.js
|
|
55843
55844
|
var import_react2 = __toESM(require_react(), 1);
|
|
55844
55845
|
var noopSuspension = {
|
|
55845
55846
|
async resume() {
|
|
@@ -55864,7 +55865,7 @@ var AppContext = (0, import_react2.createContext)(defaultValue);
|
|
|
55864
55865
|
AppContext.displayName = "InternalAppContext";
|
|
55865
55866
|
var AppContext_default = AppContext;
|
|
55866
55867
|
|
|
55867
|
-
//
|
|
55868
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/StdinContext.js
|
|
55868
55869
|
var import_react3 = __toESM(require_react(), 1);
|
|
55869
55870
|
import { EventEmitter } from "node:events";
|
|
55870
55871
|
import process9 from "node:process";
|
|
@@ -55883,7 +55884,7 @@ var StdinContext = (0, import_react3.createContext)({
|
|
|
55883
55884
|
StdinContext.displayName = "InternalStdinContext";
|
|
55884
55885
|
var StdinContext_default = StdinContext;
|
|
55885
55886
|
|
|
55886
|
-
//
|
|
55887
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/StdoutContext.js
|
|
55887
55888
|
var import_react4 = __toESM(require_react(), 1);
|
|
55888
55889
|
import process10 from "node:process";
|
|
55889
55890
|
var StdoutContext = (0, import_react4.createContext)({
|
|
@@ -55894,7 +55895,7 @@ var StdoutContext = (0, import_react4.createContext)({
|
|
|
55894
55895
|
StdoutContext.displayName = "InternalStdoutContext";
|
|
55895
55896
|
var StdoutContext_default = StdoutContext;
|
|
55896
55897
|
|
|
55897
|
-
//
|
|
55898
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/StderrContext.js
|
|
55898
55899
|
var import_react5 = __toESM(require_react(), 1);
|
|
55899
55900
|
import process11 from "node:process";
|
|
55900
55901
|
var StderrContext = (0, import_react5.createContext)({
|
|
@@ -55905,7 +55906,7 @@ var StderrContext = (0, import_react5.createContext)({
|
|
|
55905
55906
|
StderrContext.displayName = "InternalStderrContext";
|
|
55906
55907
|
var StderrContext_default = StderrContext;
|
|
55907
55908
|
|
|
55908
|
-
//
|
|
55909
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/FocusContext.js
|
|
55909
55910
|
var import_react6 = __toESM(require_react(), 1);
|
|
55910
55911
|
var FocusContext = (0, import_react6.createContext)({
|
|
55911
55912
|
activeId: void 0,
|
|
@@ -55931,7 +55932,7 @@ var FocusContext = (0, import_react6.createContext)({
|
|
|
55931
55932
|
FocusContext.displayName = "InternalFocusContext";
|
|
55932
55933
|
var FocusContext_default = FocusContext;
|
|
55933
55934
|
|
|
55934
|
-
//
|
|
55935
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/AnimationContext.js
|
|
55935
55936
|
var import_react7 = __toESM(require_react(), 1);
|
|
55936
55937
|
var animationContext = (0, import_react7.createContext)({
|
|
55937
55938
|
renderThrottleMs: 0,
|
|
@@ -55946,7 +55947,7 @@ var animationContext = (0, import_react7.createContext)({
|
|
|
55946
55947
|
animationContext.displayName = "InternalAnimationContext";
|
|
55947
55948
|
var AnimationContext_default = animationContext;
|
|
55948
55949
|
|
|
55949
|
-
//
|
|
55950
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/CursorContext.js
|
|
55950
55951
|
var import_react8 = __toESM(require_react(), 1);
|
|
55951
55952
|
var CursorContext = (0, import_react8.createContext)({
|
|
55952
55953
|
setCursorPosition() {
|
|
@@ -55955,22 +55956,22 @@ var CursorContext = (0, import_react8.createContext)({
|
|
|
55955
55956
|
CursorContext.displayName = "InternalCursorContext";
|
|
55956
55957
|
var CursorContext_default = CursorContext;
|
|
55957
55958
|
|
|
55958
|
-
//
|
|
55959
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/ErrorBoundary.js
|
|
55959
55960
|
var import_react14 = __toESM(require_react(), 1);
|
|
55960
55961
|
|
|
55961
|
-
//
|
|
55962
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/ErrorOverview.js
|
|
55962
55963
|
var import_react13 = __toESM(require_react(), 1);
|
|
55963
55964
|
var import_stack_utils = __toESM(require_stack_utils(), 1);
|
|
55964
55965
|
import * as fs2 from "node:fs";
|
|
55965
55966
|
import { cwd } from "node:process";
|
|
55966
55967
|
|
|
55967
|
-
//
|
|
55968
|
+
// node_modules/.pnpm/convert-to-spaces@2.0.1/node_modules/convert-to-spaces/dist/index.js
|
|
55968
55969
|
var convertToSpaces = (input, spaces = 2) => {
|
|
55969
55970
|
return input.replace(/^\t+/gm, ($1) => " ".repeat($1.length * spaces));
|
|
55970
55971
|
};
|
|
55971
55972
|
var dist_default2 = convertToSpaces;
|
|
55972
55973
|
|
|
55973
|
-
//
|
|
55974
|
+
// node_modules/.pnpm/code-excerpt@4.0.0/node_modules/code-excerpt/dist/index.js
|
|
55974
55975
|
var generateLineNumbers = (line8, around) => {
|
|
55975
55976
|
const lineNumbers = [];
|
|
55976
55977
|
const min = line8 - around;
|
|
@@ -55996,20 +55997,20 @@ var codeExcerpt = (source, line8, options = {}) => {
|
|
|
55996
55997
|
};
|
|
55997
55998
|
var dist_default3 = codeExcerpt;
|
|
55998
55999
|
|
|
55999
|
-
//
|
|
56000
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Box.js
|
|
56000
56001
|
var import_react11 = __toESM(require_react(), 1);
|
|
56001
56002
|
|
|
56002
|
-
//
|
|
56003
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/AccessibilityContext.js
|
|
56003
56004
|
var import_react9 = __toESM(require_react(), 1);
|
|
56004
56005
|
var accessibilityContext = (0, import_react9.createContext)({
|
|
56005
56006
|
isScreenReaderEnabled: false
|
|
56006
56007
|
});
|
|
56007
56008
|
|
|
56008
|
-
//
|
|
56009
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/BackgroundContext.js
|
|
56009
56010
|
var import_react10 = __toESM(require_react(), 1);
|
|
56010
56011
|
var backgroundContext = (0, import_react10.createContext)(void 0);
|
|
56011
56012
|
|
|
56012
|
-
//
|
|
56013
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Box.js
|
|
56013
56014
|
var Box = (0, import_react11.forwardRef)(({ children, backgroundColor, "aria-label": ariaLabel, "aria-hidden": ariaHidden, "aria-role": role2, "aria-state": ariaState, ...style }, ref) => {
|
|
56014
56015
|
const { isScreenReaderEnabled } = (0, import_react11.useContext)(accessibilityContext);
|
|
56015
56016
|
const label = ariaLabel ? import_react11.default.createElement("ink-text", null, ariaLabel) : void 0;
|
|
@@ -56037,7 +56038,7 @@ var Box = (0, import_react11.forwardRef)(({ children, backgroundColor, "aria-lab
|
|
|
56037
56038
|
Box.displayName = "Box";
|
|
56038
56039
|
var Box_default = Box;
|
|
56039
56040
|
|
|
56040
|
-
//
|
|
56041
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Text.js
|
|
56041
56042
|
var import_react12 = __toESM(require_react(), 1);
|
|
56042
56043
|
function Text({ color: color2, backgroundColor, dimColor = false, bold = false, italic = false, underline = false, strikethrough = false, inverse = false, wrap = "wrap", children, "aria-label": ariaLabel, "aria-hidden": ariaHidden = false }) {
|
|
56043
56044
|
const { isScreenReaderEnabled } = (0, import_react12.useContext)(accessibilityContext);
|
|
@@ -56080,7 +56081,7 @@ function Text({ color: color2, backgroundColor, dimColor = false, bold = false,
|
|
|
56080
56081
|
return import_react12.default.createElement("ink-text", { style: { flexGrow: 0, flexShrink: 1, flexDirection: "row", textWrap: wrap }, internal_transform: transform2 }, childrenOrAriaLabel);
|
|
56081
56082
|
}
|
|
56082
56083
|
|
|
56083
|
-
//
|
|
56084
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/ErrorOverview.js
|
|
56084
56085
|
var cleanupPath = (path2) => {
|
|
56085
56086
|
return path2?.replace(`file://${cwd()}/`, "");
|
|
56086
56087
|
};
|
|
@@ -56193,7 +56194,7 @@ function ErrorOverview({ error: error51 }) {
|
|
|
56193
56194
|
);
|
|
56194
56195
|
}
|
|
56195
56196
|
|
|
56196
|
-
//
|
|
56197
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/ErrorBoundary.js
|
|
56197
56198
|
var ErrorBoundary = class extends import_react14.PureComponent {
|
|
56198
56199
|
static displayName = "InternalErrorBoundary";
|
|
56199
56200
|
static getDerivedStateFromError(error51) {
|
|
@@ -56213,7 +56214,7 @@ var ErrorBoundary = class extends import_react14.PureComponent {
|
|
|
56213
56214
|
}
|
|
56214
56215
|
};
|
|
56215
56216
|
|
|
56216
|
-
//
|
|
56217
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/App.js
|
|
56217
56218
|
var tab = " ";
|
|
56218
56219
|
var shiftTab = "\x1B[Z";
|
|
56219
56220
|
var escape2 = "\x1B";
|
|
@@ -56725,7 +56726,7 @@ function App({ children, stdin, stdout, stderr, writeToStdout, writeToStderr, ex
|
|
|
56725
56726
|
App.displayName = "InternalApp";
|
|
56726
56727
|
var App_default = App;
|
|
56727
56728
|
|
|
56728
|
-
//
|
|
56729
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/kitty-keyboard.js
|
|
56729
56730
|
var kittyFlags = {
|
|
56730
56731
|
disambiguateEscapeCodes: 1,
|
|
56731
56732
|
reportEventTypes: 2,
|
|
@@ -56751,7 +56752,7 @@ var kittyModifiers = {
|
|
|
56751
56752
|
numLock: 128
|
|
56752
56753
|
};
|
|
56753
56754
|
|
|
56754
|
-
//
|
|
56755
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/ink.js
|
|
56755
56756
|
var noop = () => {
|
|
56756
56757
|
};
|
|
56757
56758
|
var textEncoder = new TextEncoder();
|
|
@@ -57547,7 +57548,7 @@ var Ink = class {
|
|
|
57547
57548
|
}
|
|
57548
57549
|
};
|
|
57549
57550
|
|
|
57550
|
-
//
|
|
57551
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/render.js
|
|
57551
57552
|
var render = (node2, options) => {
|
|
57552
57553
|
const inkOptions = {
|
|
57553
57554
|
stdout: process14.stdout,
|
|
@@ -57598,25 +57599,25 @@ var getInstance = (stdout, createInstance) => {
|
|
|
57598
57599
|
return instance;
|
|
57599
57600
|
};
|
|
57600
57601
|
|
|
57601
|
-
//
|
|
57602
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/render-to-string.js
|
|
57602
57603
|
var import_constants3 = __toESM(require_constants(), 1);
|
|
57603
57604
|
|
|
57604
|
-
//
|
|
57605
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Static.js
|
|
57605
57606
|
var import_react17 = __toESM(require_react(), 1);
|
|
57606
57607
|
|
|
57607
|
-
//
|
|
57608
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Transform.js
|
|
57608
57609
|
var import_react18 = __toESM(require_react(), 1);
|
|
57609
57610
|
|
|
57610
|
-
//
|
|
57611
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Newline.js
|
|
57611
57612
|
var import_react19 = __toESM(require_react(), 1);
|
|
57612
57613
|
|
|
57613
|
-
//
|
|
57614
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/components/Spacer.js
|
|
57614
57615
|
var import_react20 = __toESM(require_react(), 1);
|
|
57615
57616
|
|
|
57616
|
-
//
|
|
57617
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-input.js
|
|
57617
57618
|
var import_react22 = __toESM(require_react(), 1);
|
|
57618
57619
|
|
|
57619
|
-
//
|
|
57620
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/parse-keypress.js
|
|
57620
57621
|
var textDecoder = new TextDecoder();
|
|
57621
57622
|
var metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/;
|
|
57622
57623
|
var fnKeyRe = /^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/;
|
|
@@ -58048,11 +58049,11 @@ var parseKeypress = (s = "") => {
|
|
|
58048
58049
|
};
|
|
58049
58050
|
var parse_keypress_default = parseKeypress;
|
|
58050
58051
|
|
|
58051
|
-
//
|
|
58052
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-stdin.js
|
|
58052
58053
|
var import_react21 = __toESM(require_react(), 1);
|
|
58053
58054
|
var useStdinContext = () => (0, import_react21.useContext)(StdinContext_default);
|
|
58054
58055
|
|
|
58055
|
-
//
|
|
58056
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-input.js
|
|
58056
58057
|
var useInput = (inputHandler, options = {}) => {
|
|
58057
58058
|
const { setRawMode, internal_exitOnCtrlC, internal_eventEmitter } = useStdinContext();
|
|
58058
58059
|
(0, import_react22.useEffect)(() => {
|
|
@@ -58132,7 +58133,7 @@ var useInput = (inputHandler, options = {}) => {
|
|
|
58132
58133
|
};
|
|
58133
58134
|
var use_input_default = useInput;
|
|
58134
58135
|
|
|
58135
|
-
//
|
|
58136
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-paste.js
|
|
58136
58137
|
var import_react23 = __toESM(require_react(), 1);
|
|
58137
58138
|
var usePaste = (handler, options = {}) => {
|
|
58138
58139
|
const { setRawMode, setBracketedPasteMode, internal_eventEmitter } = useStdinContext();
|
|
@@ -58164,33 +58165,33 @@ var usePaste = (handler, options = {}) => {
|
|
|
58164
58165
|
};
|
|
58165
58166
|
var use_paste_default = usePaste;
|
|
58166
58167
|
|
|
58167
|
-
//
|
|
58168
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-app.js
|
|
58168
58169
|
var import_react24 = __toESM(require_react(), 1);
|
|
58169
58170
|
|
|
58170
|
-
//
|
|
58171
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-stdout.js
|
|
58171
58172
|
var import_react25 = __toESM(require_react(), 1);
|
|
58172
58173
|
var useStdout = () => (0, import_react25.useContext)(StdoutContext_default);
|
|
58173
58174
|
var use_stdout_default = useStdout;
|
|
58174
58175
|
|
|
58175
|
-
//
|
|
58176
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-stderr.js
|
|
58176
58177
|
var import_react26 = __toESM(require_react(), 1);
|
|
58177
58178
|
|
|
58178
|
-
//
|
|
58179
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-focus.js
|
|
58179
58180
|
var import_react27 = __toESM(require_react(), 1);
|
|
58180
58181
|
|
|
58181
|
-
//
|
|
58182
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-focus-manager.js
|
|
58182
58183
|
var import_react28 = __toESM(require_react(), 1);
|
|
58183
58184
|
|
|
58184
|
-
//
|
|
58185
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js
|
|
58185
58186
|
var import_react29 = __toESM(require_react(), 1);
|
|
58186
58187
|
|
|
58187
|
-
//
|
|
58188
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-cursor.js
|
|
58188
58189
|
var import_react30 = __toESM(require_react(), 1);
|
|
58189
58190
|
|
|
58190
|
-
//
|
|
58191
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-animation.js
|
|
58191
58192
|
var import_react31 = __toESM(require_react(), 1);
|
|
58192
58193
|
|
|
58193
|
-
//
|
|
58194
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-window-size.js
|
|
58194
58195
|
var import_react32 = __toESM(require_react(), 1);
|
|
58195
58196
|
var useWindowSize = () => {
|
|
58196
58197
|
const { stdout } = use_stdout_default();
|
|
@@ -58208,10 +58209,10 @@ var useWindowSize = () => {
|
|
|
58208
58209
|
};
|
|
58209
58210
|
var use_window_size_default = useWindowSize;
|
|
58210
58211
|
|
|
58211
|
-
//
|
|
58212
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/hooks/use-box-metrics.js
|
|
58212
58213
|
var import_react33 = __toESM(require_react(), 1);
|
|
58213
58214
|
|
|
58214
|
-
//
|
|
58215
|
+
// node_modules/.pnpm/ink@7.1.1_@types+react@19.2.18_react@19.2.8/node_modules/ink/build/measure-element.js
|
|
58215
58216
|
var measureElement = (node2) => {
|
|
58216
58217
|
const { yogaNode } = node2;
|
|
58217
58218
|
if (!yogaNode) {
|
|
@@ -58236,10 +58237,10 @@ var measureElement = (node2) => {
|
|
|
58236
58237
|
};
|
|
58237
58238
|
var measure_element_default = measureElement;
|
|
58238
58239
|
|
|
58239
|
-
//
|
|
58240
|
+
// packages/tui/tui-render/src/index.ts
|
|
58240
58241
|
var import_react40 = __toESM(require_react(), 1);
|
|
58241
58242
|
|
|
58242
|
-
//
|
|
58243
|
+
// packages/tui/tui-render/src/content.ts
|
|
58243
58244
|
var GRAPHEME = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
58244
58245
|
function firstGrapheme(text4) {
|
|
58245
58246
|
for (const part of GRAPHEME.segment(text4)) return part.segment;
|
|
@@ -58314,7 +58315,7 @@ function wrapDisplayLines(text4, maxCols) {
|
|
|
58314
58315
|
return out;
|
|
58315
58316
|
}
|
|
58316
58317
|
|
|
58317
|
-
//
|
|
58318
|
+
// packages/tui/tui-render/src/terminal-capabilities.ts
|
|
58318
58319
|
var ESC_TIMEOUT_MS = 40;
|
|
58319
58320
|
function detectColorSupport(env3) {
|
|
58320
58321
|
if (env3.NO_COLOR !== void 0) return "none";
|
|
@@ -58377,7 +58378,7 @@ function sanitizeOscPayload(text4, limit = 80, titleSuffix) {
|
|
|
58377
58378
|
return codePoints.slice(0, limit).join("");
|
|
58378
58379
|
}
|
|
58379
58380
|
|
|
58380
|
-
//
|
|
58381
|
+
// packages/tui/tui-render/src/theme.ts
|
|
58381
58382
|
var THEME_LEVELS = {
|
|
58382
58383
|
truecolor: {
|
|
58383
58384
|
bg: "#151618",
|
|
@@ -58576,7 +58577,7 @@ var BACKGROUND_TOKENS = /* @__PURE__ */ new Set([
|
|
|
58576
58577
|
"codeBg"
|
|
58577
58578
|
]);
|
|
58578
58579
|
|
|
58579
|
-
//
|
|
58580
|
+
// packages/tui/tui-render/src/brand.ts
|
|
58580
58581
|
var BRAND_HALF_BLOCK = [
|
|
58581
58582
|
" \u2584\u2584\u2584\u2584\u2584 \u2588\u2584 ",
|
|
58582
58583
|
" \u2584\u2584\u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2584\u2584",
|
|
@@ -58709,7 +58710,7 @@ var BRAND_PLAIN_WORDMARK = "DeepSeek";
|
|
|
58709
58710
|
var BRAND_HOME_LINE = "\u6709\u4EC0\u4E48\u53EF\u4EE5\u5E2E\u5FD9\u7684";
|
|
58710
58711
|
var BRAND_APP_TITLE = "DeepSeek \xB7 deepseek-tui";
|
|
58711
58712
|
|
|
58712
|
-
//
|
|
58713
|
+
// packages/tui/tui-render/src/app-shell.tsx
|
|
58713
58714
|
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
58714
58715
|
var TITLE_BAR_ELLIPSIS = "\u2026";
|
|
58715
58716
|
function fitDisplayWidth(text4, maxCols) {
|
|
@@ -58784,10 +58785,10 @@ function AppShell({ title, badge, children, status, input }) {
|
|
|
58784
58785
|
] });
|
|
58785
58786
|
}
|
|
58786
58787
|
|
|
58787
|
-
//
|
|
58788
|
+
// packages/tui/tui-render/src/stream-view.tsx
|
|
58788
58789
|
var import_react37 = __toESM(require_react(), 1);
|
|
58789
58790
|
|
|
58790
|
-
//
|
|
58791
|
+
// packages/tui/tui-render/src/hyperlink.ts
|
|
58791
58792
|
import { execSync } from "node:child_process";
|
|
58792
58793
|
var hyperlinks = false;
|
|
58793
58794
|
function probeTmuxHyperlinks(exec3 = execSync) {
|
|
@@ -58844,7 +58845,7 @@ function linkNeedsUrlSuffix(visible, href) {
|
|
|
58844
58845
|
return visible !== href && visible !== comparable;
|
|
58845
58846
|
}
|
|
58846
58847
|
|
|
58847
|
-
//
|
|
58848
|
+
// packages/llm/token-meter/src/cache-hit.ts
|
|
58848
58849
|
function roundedPercentUnits(cacheReadTokens, denominator, decimalPlaces) {
|
|
58849
58850
|
const unitsPerPercent = decimalPlaces === 0 ? 1 : 10;
|
|
58850
58851
|
const scale = unitsPerPercent * 100;
|
|
@@ -58895,7 +58896,7 @@ function formatCacheHitPercent(cacheReadTokens, promptTokens, decimalPlaces = 0)
|
|
|
58895
58896
|
return `99.${"9".repeat(distinguishingPlaces - 1)}${10 - roundedLoss}`;
|
|
58896
58897
|
}
|
|
58897
58898
|
|
|
58898
|
-
//
|
|
58899
|
+
// packages/llm/token-meter/src/turn-usage.ts
|
|
58899
58900
|
function isCount(value) {
|
|
58900
58901
|
return typeof value === "number" && Number.isSafeInteger(value) && value >= 0;
|
|
58901
58902
|
}
|
|
@@ -59076,7 +59077,7 @@ function deriveTurnTokenUsage(events) {
|
|
|
59076
59077
|
return invalid || !sawEnd || state.kind !== "idle" ? void 0 : aggregateAttempts(attempts);
|
|
59077
59078
|
}
|
|
59078
59079
|
|
|
59079
|
-
//
|
|
59080
|
+
// packages/tui/tui-render/src/turn-tail.ts
|
|
59080
59081
|
function formatTurnTailStats(view) {
|
|
59081
59082
|
const parts = [];
|
|
59082
59083
|
if (view.turnOrdinal !== void 0) parts.push(`turn ${String(view.turnOrdinal)}`);
|
|
@@ -59115,14 +59116,14 @@ function producedPathsForTurn(cards) {
|
|
|
59115
59116
|
return paths;
|
|
59116
59117
|
}
|
|
59117
59118
|
|
|
59118
|
-
//
|
|
59119
|
+
// packages/tui/tui-render/src/stream-view.tsx
|
|
59119
59120
|
import { pathToFileURL as pathToFileURL2 } from "node:url";
|
|
59120
59121
|
import { isAbsolute as isAbsolute3 } from "node:path";
|
|
59121
59122
|
|
|
59122
|
-
//
|
|
59123
|
+
// packages/tui/tui-render/src/markdown.tsx
|
|
59123
59124
|
var import_react34 = __toESM(require_react(), 1);
|
|
59124
59125
|
|
|
59125
|
-
//
|
|
59126
|
+
// node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
59126
59127
|
var emptyOptions = {};
|
|
59127
59128
|
function toString2(value, options) {
|
|
59128
59129
|
const settings = options || emptyOptions;
|
|
@@ -59159,7 +59160,7 @@ function node(value) {
|
|
|
59159
59160
|
return Boolean(value && typeof value === "object");
|
|
59160
59161
|
}
|
|
59161
59162
|
|
|
59162
|
-
//
|
|
59163
|
+
// node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
59163
59164
|
var characterEntities = {
|
|
59164
59165
|
AElig: "\xC6",
|
|
59165
59166
|
AMP: "&",
|
|
@@ -61288,13 +61289,13 @@ var characterEntities = {
|
|
|
61288
61289
|
zwnj: "\u200C"
|
|
61289
61290
|
};
|
|
61290
61291
|
|
|
61291
|
-
//
|
|
61292
|
+
// node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
61292
61293
|
var own = {}.hasOwnProperty;
|
|
61293
61294
|
function decodeNamedCharacterReference(value) {
|
|
61294
61295
|
return own.call(characterEntities, value) ? characterEntities[value] : false;
|
|
61295
61296
|
}
|
|
61296
61297
|
|
|
61297
|
-
//
|
|
61298
|
+
// node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
61298
61299
|
function splice(list2, start, remove, items) {
|
|
61299
61300
|
const end = list2.length;
|
|
61300
61301
|
let chunkStart = 0;
|
|
@@ -61328,7 +61329,7 @@ function push2(list2, items) {
|
|
|
61328
61329
|
return items;
|
|
61329
61330
|
}
|
|
61330
61331
|
|
|
61331
|
-
//
|
|
61332
|
+
// node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
61332
61333
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
61333
61334
|
function combineExtensions(extensions) {
|
|
61334
61335
|
const all2 = {};
|
|
@@ -61368,7 +61369,7 @@ function constructs(existing, list2) {
|
|
|
61368
61369
|
splice(existing, 0, 0, before);
|
|
61369
61370
|
}
|
|
61370
61371
|
|
|
61371
|
-
//
|
|
61372
|
+
// node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
61372
61373
|
function decodeNumericCharacterReference(value, base) {
|
|
61373
61374
|
const code2 = Number.parseInt(value, base);
|
|
61374
61375
|
if (
|
|
@@ -61386,12 +61387,12 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
61386
61387
|
return String.fromCodePoint(code2);
|
|
61387
61388
|
}
|
|
61388
61389
|
|
|
61389
|
-
//
|
|
61390
|
+
// node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
61390
61391
|
function normalizeIdentifier(value) {
|
|
61391
61392
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
61392
61393
|
}
|
|
61393
61394
|
|
|
61394
|
-
//
|
|
61395
|
+
// node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
61395
61396
|
var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
61396
61397
|
var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
61397
61398
|
var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -61423,7 +61424,7 @@ function regexCheck(regex2) {
|
|
|
61423
61424
|
}
|
|
61424
61425
|
}
|
|
61425
61426
|
|
|
61426
|
-
//
|
|
61427
|
+
// node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js
|
|
61427
61428
|
function factorySpace(effects, ok3, type, max) {
|
|
61428
61429
|
const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
|
|
61429
61430
|
let size = 0;
|
|
@@ -61445,7 +61446,7 @@ function factorySpace(effects, ok3, type, max) {
|
|
|
61445
61446
|
}
|
|
61446
61447
|
}
|
|
61447
61448
|
|
|
61448
|
-
//
|
|
61449
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
61449
61450
|
var content = {
|
|
61450
61451
|
tokenize: initializeContent
|
|
61451
61452
|
};
|
|
@@ -61495,7 +61496,7 @@ function initializeContent(effects) {
|
|
|
61495
61496
|
}
|
|
61496
61497
|
}
|
|
61497
61498
|
|
|
61498
|
-
//
|
|
61499
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
61499
61500
|
var document2 = {
|
|
61500
61501
|
tokenize: initializeDocument
|
|
61501
61502
|
};
|
|
@@ -61677,7 +61678,7 @@ function tokenizeContainer(effects, ok3, nok) {
|
|
|
61677
61678
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok3, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
61678
61679
|
}
|
|
61679
61680
|
|
|
61680
|
-
//
|
|
61681
|
+
// node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
61681
61682
|
function classifyCharacter(code2) {
|
|
61682
61683
|
if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2)) {
|
|
61683
61684
|
return 1;
|
|
@@ -61687,7 +61688,7 @@ function classifyCharacter(code2) {
|
|
|
61687
61688
|
}
|
|
61688
61689
|
}
|
|
61689
61690
|
|
|
61690
|
-
//
|
|
61691
|
+
// node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
61691
61692
|
function resolveAll(constructs2, events, context) {
|
|
61692
61693
|
const called = [];
|
|
61693
61694
|
let index2 = -1;
|
|
@@ -61701,7 +61702,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
61701
61702
|
return events;
|
|
61702
61703
|
}
|
|
61703
61704
|
|
|
61704
|
-
//
|
|
61705
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js
|
|
61705
61706
|
var attention = {
|
|
61706
61707
|
name: "attention",
|
|
61707
61708
|
resolveAll: resolveAllAttention,
|
|
@@ -61832,7 +61833,7 @@ function movePoint(point3, offset) {
|
|
|
61832
61833
|
point3._bufferIndex += offset;
|
|
61833
61834
|
}
|
|
61834
61835
|
|
|
61835
|
-
//
|
|
61836
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
61836
61837
|
var autolink = {
|
|
61837
61838
|
name: "autolink",
|
|
61838
61839
|
tokenize: tokenizeAutolink
|
|
@@ -61933,7 +61934,7 @@ function tokenizeAutolink(effects, ok3, nok) {
|
|
|
61933
61934
|
}
|
|
61934
61935
|
}
|
|
61935
61936
|
|
|
61936
|
-
//
|
|
61937
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
61937
61938
|
var blankLine = {
|
|
61938
61939
|
partial: true,
|
|
61939
61940
|
tokenize: tokenizeBlankLine
|
|
@@ -61948,7 +61949,7 @@ function tokenizeBlankLine(effects, ok3, nok) {
|
|
|
61948
61949
|
}
|
|
61949
61950
|
}
|
|
61950
61951
|
|
|
61951
|
-
//
|
|
61952
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
61952
61953
|
var blockQuote = {
|
|
61953
61954
|
continuation: {
|
|
61954
61955
|
tokenize: tokenizeBlockQuoteContinuation
|
|
@@ -62006,7 +62007,7 @@ function exit(effects) {
|
|
|
62006
62007
|
effects.exit("blockQuote");
|
|
62007
62008
|
}
|
|
62008
62009
|
|
|
62009
|
-
//
|
|
62010
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
62010
62011
|
var characterEscape = {
|
|
62011
62012
|
name: "characterEscape",
|
|
62012
62013
|
tokenize: tokenizeCharacterEscape
|
|
@@ -62032,7 +62033,7 @@ function tokenizeCharacterEscape(effects, ok3, nok) {
|
|
|
62032
62033
|
}
|
|
62033
62034
|
}
|
|
62034
62035
|
|
|
62035
|
-
//
|
|
62036
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
62036
62037
|
var characterReference = {
|
|
62037
62038
|
name: "characterReference",
|
|
62038
62039
|
tokenize: tokenizeCharacterReference
|
|
@@ -62097,7 +62098,7 @@ function tokenizeCharacterReference(effects, ok3, nok) {
|
|
|
62097
62098
|
}
|
|
62098
62099
|
}
|
|
62099
62100
|
|
|
62100
|
-
//
|
|
62101
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
62101
62102
|
var nonLazyContinuation = {
|
|
62102
62103
|
partial: true,
|
|
62103
62104
|
tokenize: tokenizeNonLazyContinuation
|
|
@@ -62280,7 +62281,7 @@ function tokenizeNonLazyContinuation(effects, ok3, nok) {
|
|
|
62280
62281
|
}
|
|
62281
62282
|
}
|
|
62282
62283
|
|
|
62283
|
-
//
|
|
62284
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
62284
62285
|
var codeIndented = {
|
|
62285
62286
|
name: "codeIndented",
|
|
62286
62287
|
tokenize: tokenizeCodeIndented
|
|
@@ -62344,7 +62345,7 @@ function tokenizeFurtherStart(effects, ok3, nok) {
|
|
|
62344
62345
|
}
|
|
62345
62346
|
}
|
|
62346
62347
|
|
|
62347
|
-
//
|
|
62348
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
62348
62349
|
var codeText = {
|
|
62349
62350
|
name: "codeText",
|
|
62350
62351
|
previous,
|
|
@@ -62459,7 +62460,7 @@ function tokenizeCodeText(effects, ok3, nok) {
|
|
|
62459
62460
|
}
|
|
62460
62461
|
}
|
|
62461
62462
|
|
|
62462
|
-
//
|
|
62463
|
+
// node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
62463
62464
|
var SpliceBuffer = class {
|
|
62464
62465
|
/**
|
|
62465
62466
|
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
@@ -62652,7 +62653,7 @@ function chunkedPush(list2, right) {
|
|
|
62652
62653
|
}
|
|
62653
62654
|
}
|
|
62654
62655
|
|
|
62655
|
-
//
|
|
62656
|
+
// node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
62656
62657
|
function subtokenize(eventsArray) {
|
|
62657
62658
|
const jumps = {};
|
|
62658
62659
|
let index2 = -1;
|
|
@@ -62805,7 +62806,7 @@ function subcontent(events, eventIndex) {
|
|
|
62805
62806
|
return gaps;
|
|
62806
62807
|
}
|
|
62807
62808
|
|
|
62808
|
-
//
|
|
62809
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js
|
|
62809
62810
|
var content2 = {
|
|
62810
62811
|
resolve: resolveContent,
|
|
62811
62812
|
tokenize: tokenizeContent
|
|
@@ -62876,7 +62877,7 @@ function tokenizeContinuation(effects, ok3, nok) {
|
|
|
62876
62877
|
}
|
|
62877
62878
|
}
|
|
62878
62879
|
|
|
62879
|
-
//
|
|
62880
|
+
// node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js
|
|
62880
62881
|
function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
|
|
62881
62882
|
const limit = max || Number.POSITIVE_INFINITY;
|
|
62882
62883
|
let balance = 0;
|
|
@@ -62968,7 +62969,7 @@ function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerT
|
|
|
62968
62969
|
}
|
|
62969
62970
|
}
|
|
62970
62971
|
|
|
62971
|
-
//
|
|
62972
|
+
// node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js
|
|
62972
62973
|
function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
|
|
62973
62974
|
const self = this;
|
|
62974
62975
|
let size = 0;
|
|
@@ -63029,7 +63030,7 @@ function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
|
|
|
63029
63030
|
}
|
|
63030
63031
|
}
|
|
63031
63032
|
|
|
63032
|
-
//
|
|
63033
|
+
// node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
63033
63034
|
function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
|
|
63034
63035
|
let marker;
|
|
63035
63036
|
return start;
|
|
@@ -63091,7 +63092,7 @@ function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
|
|
|
63091
63092
|
}
|
|
63092
63093
|
}
|
|
63093
63094
|
|
|
63094
|
-
//
|
|
63095
|
+
// node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
63095
63096
|
function factoryWhitespace(effects, ok3) {
|
|
63096
63097
|
let seen;
|
|
63097
63098
|
return start;
|
|
@@ -63110,7 +63111,7 @@ function factoryWhitespace(effects, ok3) {
|
|
|
63110
63111
|
}
|
|
63111
63112
|
}
|
|
63112
63113
|
|
|
63113
|
-
//
|
|
63114
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js
|
|
63114
63115
|
var definition = {
|
|
63115
63116
|
name: "definition",
|
|
63116
63117
|
tokenize: tokenizeDefinition
|
|
@@ -63196,7 +63197,7 @@ function tokenizeTitleBefore(effects, ok3, nok) {
|
|
|
63196
63197
|
}
|
|
63197
63198
|
}
|
|
63198
63199
|
|
|
63199
|
-
//
|
|
63200
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
63200
63201
|
var hardBreakEscape = {
|
|
63201
63202
|
name: "hardBreakEscape",
|
|
63202
63203
|
tokenize: tokenizeHardBreakEscape
|
|
@@ -63217,7 +63218,7 @@ function tokenizeHardBreakEscape(effects, ok3, nok) {
|
|
|
63217
63218
|
}
|
|
63218
63219
|
}
|
|
63219
63220
|
|
|
63220
|
-
//
|
|
63221
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
63221
63222
|
var headingAtx = {
|
|
63222
63223
|
name: "headingAtx",
|
|
63223
63224
|
resolve: resolveHeadingAtx,
|
|
@@ -63308,7 +63309,7 @@ function tokenizeHeadingAtx(effects, ok3, nok) {
|
|
|
63308
63309
|
}
|
|
63309
63310
|
}
|
|
63310
63311
|
|
|
63311
|
-
//
|
|
63312
|
+
// node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
63312
63313
|
var htmlBlockNames = [
|
|
63313
63314
|
"address",
|
|
63314
63315
|
"article",
|
|
@@ -63375,7 +63376,7 @@ var htmlBlockNames = [
|
|
|
63375
63376
|
];
|
|
63376
63377
|
var htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
63377
63378
|
|
|
63378
|
-
//
|
|
63379
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
63379
63380
|
var htmlFlow = {
|
|
63380
63381
|
concrete: true,
|
|
63381
63382
|
name: "htmlFlow",
|
|
@@ -63754,7 +63755,7 @@ function tokenizeBlankLineBefore(effects, ok3, nok) {
|
|
|
63754
63755
|
}
|
|
63755
63756
|
}
|
|
63756
63757
|
|
|
63757
|
-
//
|
|
63758
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
63758
63759
|
var htmlText = {
|
|
63759
63760
|
name: "htmlText",
|
|
63760
63761
|
tokenize: tokenizeHtmlText
|
|
@@ -64060,7 +64061,7 @@ function tokenizeHtmlText(effects, ok3, nok) {
|
|
|
64060
64061
|
}
|
|
64061
64062
|
}
|
|
64062
64063
|
|
|
64063
|
-
//
|
|
64064
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
64064
64065
|
var labelEnd = {
|
|
64065
64066
|
name: "labelEnd",
|
|
64066
64067
|
resolveAll: resolveAllLabelEnd,
|
|
@@ -64286,7 +64287,7 @@ function tokenizeReferenceCollapsed(effects, ok3, nok) {
|
|
|
64286
64287
|
}
|
|
64287
64288
|
}
|
|
64288
64289
|
|
|
64289
|
-
//
|
|
64290
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
64290
64291
|
var labelStartImage = {
|
|
64291
64292
|
name: "labelStartImage",
|
|
64292
64293
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -64317,7 +64318,7 @@ function tokenizeLabelStartImage(effects, ok3, nok) {
|
|
|
64317
64318
|
}
|
|
64318
64319
|
}
|
|
64319
64320
|
|
|
64320
|
-
//
|
|
64321
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
64321
64322
|
var labelStartLink = {
|
|
64322
64323
|
name: "labelStartLink",
|
|
64323
64324
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -64339,7 +64340,7 @@ function tokenizeLabelStartLink(effects, ok3, nok) {
|
|
|
64339
64340
|
}
|
|
64340
64341
|
}
|
|
64341
64342
|
|
|
64342
|
-
//
|
|
64343
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
64343
64344
|
var lineEnding = {
|
|
64344
64345
|
name: "lineEnding",
|
|
64345
64346
|
tokenize: tokenizeLineEnding
|
|
@@ -64354,7 +64355,7 @@ function tokenizeLineEnding(effects, ok3) {
|
|
|
64354
64355
|
}
|
|
64355
64356
|
}
|
|
64356
64357
|
|
|
64357
|
-
//
|
|
64358
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
64358
64359
|
var thematicBreak = {
|
|
64359
64360
|
name: "thematicBreak",
|
|
64360
64361
|
tokenize: tokenizeThematicBreak
|
|
@@ -64393,7 +64394,7 @@ function tokenizeThematicBreak(effects, ok3, nok) {
|
|
|
64393
64394
|
}
|
|
64394
64395
|
}
|
|
64395
64396
|
|
|
64396
|
-
//
|
|
64397
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js
|
|
64397
64398
|
var list = {
|
|
64398
64399
|
continuation: {
|
|
64399
64400
|
tokenize: tokenizeListContinuation
|
|
@@ -64523,7 +64524,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok3, nok) {
|
|
|
64523
64524
|
}
|
|
64524
64525
|
}
|
|
64525
64526
|
|
|
64526
|
-
//
|
|
64527
|
+
// node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
64527
64528
|
var setextUnderline = {
|
|
64528
64529
|
name: "setextUnderline",
|
|
64529
64530
|
resolveTo: resolveToSetextUnderline,
|
|
@@ -64615,7 +64616,7 @@ function tokenizeSetextUnderline(effects, ok3, nok) {
|
|
|
64615
64616
|
}
|
|
64616
64617
|
}
|
|
64617
64618
|
|
|
64618
|
-
//
|
|
64619
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
64619
64620
|
var flow = {
|
|
64620
64621
|
tokenize: initializeFlow
|
|
64621
64622
|
};
|
|
@@ -64653,7 +64654,7 @@ function initializeFlow(effects) {
|
|
|
64653
64654
|
}
|
|
64654
64655
|
}
|
|
64655
64656
|
|
|
64656
|
-
//
|
|
64657
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
|
|
64657
64658
|
var resolver = {
|
|
64658
64659
|
resolveAll: createResolver()
|
|
64659
64660
|
};
|
|
@@ -64792,7 +64793,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
64792
64793
|
return events;
|
|
64793
64794
|
}
|
|
64794
64795
|
|
|
64795
|
-
//
|
|
64796
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
64796
64797
|
var constructs_exports = {};
|
|
64797
64798
|
__export(constructs_exports, {
|
|
64798
64799
|
attentionMarkers: () => attentionMarkers,
|
|
@@ -64867,7 +64868,7 @@ var disable = {
|
|
|
64867
64868
|
null: []
|
|
64868
64869
|
};
|
|
64869
64870
|
|
|
64870
|
-
//
|
|
64871
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
|
|
64871
64872
|
function createTokenizer(parser, initialize, from2) {
|
|
64872
64873
|
let point3 = {
|
|
64873
64874
|
_bufferIndex: -1,
|
|
@@ -65190,7 +65191,7 @@ function serializeChunks(chunks, expandTabs2) {
|
|
|
65190
65191
|
return result.join("");
|
|
65191
65192
|
}
|
|
65192
65193
|
|
|
65193
|
-
//
|
|
65194
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
65194
65195
|
function parse3(options) {
|
|
65195
65196
|
const settings = options || {};
|
|
65196
65197
|
const constructs2 = (
|
|
@@ -65216,14 +65217,14 @@ function parse3(options) {
|
|
|
65216
65217
|
}
|
|
65217
65218
|
}
|
|
65218
65219
|
|
|
65219
|
-
//
|
|
65220
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
|
|
65220
65221
|
function postprocess(events) {
|
|
65221
65222
|
while (!subtokenize(events)) {
|
|
65222
65223
|
}
|
|
65223
65224
|
return events;
|
|
65224
65225
|
}
|
|
65225
65226
|
|
|
65226
|
-
//
|
|
65227
|
+
// node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
|
|
65227
65228
|
var search = /[\0\t\n\r]/g;
|
|
65228
65229
|
function preprocess2() {
|
|
65229
65230
|
let column = 1;
|
|
@@ -65302,7 +65303,7 @@ function preprocess2() {
|
|
|
65302
65303
|
}
|
|
65303
65304
|
}
|
|
65304
65305
|
|
|
65305
|
-
//
|
|
65306
|
+
// node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
65306
65307
|
var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
65307
65308
|
function decodeString(value) {
|
|
65308
65309
|
return value.replace(characterEscapeOrReference, decode3);
|
|
@@ -65320,7 +65321,7 @@ function decode3($0, $1, $2) {
|
|
|
65320
65321
|
return decodeNamedCharacterReference($2) || $0;
|
|
65321
65322
|
}
|
|
65322
65323
|
|
|
65323
|
-
//
|
|
65324
|
+
// node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
65324
65325
|
function stringifyPosition(value) {
|
|
65325
65326
|
if (!value || typeof value !== "object") {
|
|
65326
65327
|
return "";
|
|
@@ -65346,7 +65347,7 @@ function index(value) {
|
|
|
65346
65347
|
return value && typeof value === "number" ? value : 1;
|
|
65347
65348
|
}
|
|
65348
65349
|
|
|
65349
|
-
//
|
|
65350
|
+
// node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
|
|
65350
65351
|
var own2 = {}.hasOwnProperty;
|
|
65351
65352
|
function fromMarkdown(value, encoding, options) {
|
|
65352
65353
|
if (encoding && typeof encoding === "object") {
|
|
@@ -66055,7 +66056,7 @@ function defaultOnError(left, right) {
|
|
|
66055
66056
|
}
|
|
66056
66057
|
}
|
|
66057
66058
|
|
|
66058
|
-
//
|
|
66059
|
+
// node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js
|
|
66059
66060
|
function ccount(value, character) {
|
|
66060
66061
|
const source = String(value);
|
|
66061
66062
|
if (typeof character !== "string") {
|
|
@@ -66070,11 +66071,11 @@ function ccount(value, character) {
|
|
|
66070
66071
|
return count;
|
|
66071
66072
|
}
|
|
66072
66073
|
|
|
66073
|
-
//
|
|
66074
|
+
// node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js
|
|
66074
66075
|
function ok() {
|
|
66075
66076
|
}
|
|
66076
66077
|
|
|
66077
|
-
//
|
|
66078
|
+
// node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
66078
66079
|
function escapeStringRegexp(string6) {
|
|
66079
66080
|
if (typeof string6 !== "string") {
|
|
66080
66081
|
throw new TypeError("Expected a string");
|
|
@@ -66082,7 +66083,7 @@ function escapeStringRegexp(string6) {
|
|
|
66082
66083
|
return string6.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
66083
66084
|
}
|
|
66084
66085
|
|
|
66085
|
-
//
|
|
66086
|
+
// node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
|
|
66086
66087
|
var convert = (
|
|
66087
66088
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
66088
66089
|
/**
|
|
@@ -66181,12 +66182,12 @@ function looksLikeANode(value) {
|
|
|
66181
66182
|
return value !== null && typeof value === "object" && "type" in value;
|
|
66182
66183
|
}
|
|
66183
66184
|
|
|
66184
|
-
//
|
|
66185
|
+
// node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.node.js
|
|
66185
66186
|
function color(d) {
|
|
66186
66187
|
return "\x1B[33m" + d + "\x1B[39m";
|
|
66187
66188
|
}
|
|
66188
66189
|
|
|
66189
|
-
//
|
|
66190
|
+
// node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js
|
|
66190
66191
|
var empty = [];
|
|
66191
66192
|
var CONTINUE = true;
|
|
66192
66193
|
var EXIT = false;
|
|
@@ -66263,7 +66264,7 @@ function toResult(value) {
|
|
|
66263
66264
|
return value === null || value === void 0 ? empty : [value];
|
|
66264
66265
|
}
|
|
66265
66266
|
|
|
66266
|
-
//
|
|
66267
|
+
// node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js
|
|
66267
66268
|
function findAndReplace(tree, list2, options) {
|
|
66268
66269
|
const settings = options || {};
|
|
66269
66270
|
const ignored = convert(settings.ignore || []);
|
|
@@ -66368,7 +66369,7 @@ function toFunction(replace2) {
|
|
|
66368
66369
|
};
|
|
66369
66370
|
}
|
|
66370
66371
|
|
|
66371
|
-
//
|
|
66372
|
+
// node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
66372
66373
|
function gfmAutolinkLiteralFromMarkdown() {
|
|
66373
66374
|
return {
|
|
66374
66375
|
transforms: [transformGfmAutolinkLiterals],
|
|
@@ -66489,7 +66490,7 @@ function previous2(match, email3) {
|
|
|
66489
66490
|
(!email3 || code2 !== 47);
|
|
66490
66491
|
}
|
|
66491
66492
|
|
|
66492
|
-
//
|
|
66493
|
+
// node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
66493
66494
|
footnoteReference.peek = footnoteReferencePeek;
|
|
66494
66495
|
function enterFootnoteCallString() {
|
|
66495
66496
|
this.buffer();
|
|
@@ -66563,7 +66564,7 @@ function gfmFootnoteFromMarkdown() {
|
|
|
66563
66564
|
};
|
|
66564
66565
|
}
|
|
66565
66566
|
|
|
66566
|
-
//
|
|
66567
|
+
// node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
66567
66568
|
handleDelete.peek = peekDelete;
|
|
66568
66569
|
function gfmStrikethroughFromMarkdown() {
|
|
66569
66570
|
return {
|
|
@@ -66595,7 +66596,7 @@ function peekDelete() {
|
|
|
66595
66596
|
return "~";
|
|
66596
66597
|
}
|
|
66597
66598
|
|
|
66598
|
-
//
|
|
66599
|
+
// node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
66599
66600
|
function gfmTableFromMarkdown() {
|
|
66600
66601
|
return {
|
|
66601
66602
|
enter: {
|
|
@@ -66655,7 +66656,7 @@ function replace($0, $1) {
|
|
|
66655
66656
|
return $1 === "|" ? $1 : $0;
|
|
66656
66657
|
}
|
|
66657
66658
|
|
|
66658
|
-
//
|
|
66659
|
+
// node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
66659
66660
|
function gfmTaskListItemFromMarkdown() {
|
|
66660
66661
|
return {
|
|
66661
66662
|
exit: {
|
|
@@ -66702,7 +66703,7 @@ function exitParagraphWithTaskListItem(token) {
|
|
|
66702
66703
|
this.exit(token);
|
|
66703
66704
|
}
|
|
66704
66705
|
|
|
66705
|
-
//
|
|
66706
|
+
// node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
|
|
66706
66707
|
function gfmFromMarkdown() {
|
|
66707
66708
|
return [
|
|
66708
66709
|
gfmAutolinkLiteralFromMarkdown(),
|
|
@@ -66713,7 +66714,7 @@ function gfmFromMarkdown() {
|
|
|
66713
66714
|
];
|
|
66714
66715
|
}
|
|
66715
66716
|
|
|
66716
|
-
//
|
|
66717
|
+
// node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
66717
66718
|
var wwwPrefix = {
|
|
66718
66719
|
tokenize: tokenizeWwwPrefix,
|
|
66719
66720
|
partial: true
|
|
@@ -67055,7 +67056,7 @@ function previousUnbalanced(events) {
|
|
|
67055
67056
|
return result;
|
|
67056
67057
|
}
|
|
67057
67058
|
|
|
67058
|
-
//
|
|
67059
|
+
// node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
67059
67060
|
var indent = {
|
|
67060
67061
|
tokenize: tokenizeIndent2,
|
|
67061
67062
|
partial: true
|
|
@@ -67330,7 +67331,7 @@ function tokenizeIndent2(effects, ok3, nok) {
|
|
|
67330
67331
|
}
|
|
67331
67332
|
}
|
|
67332
67333
|
|
|
67333
|
-
//
|
|
67334
|
+
// node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
67334
67335
|
function gfmStrikethrough(options) {
|
|
67335
67336
|
const options_ = options || {};
|
|
67336
67337
|
let single = options_.singleTilde;
|
|
@@ -67424,7 +67425,7 @@ function gfmStrikethrough(options) {
|
|
|
67424
67425
|
}
|
|
67425
67426
|
}
|
|
67426
67427
|
|
|
67427
|
-
//
|
|
67428
|
+
// node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
67428
67429
|
var EditMap = class {
|
|
67429
67430
|
/**
|
|
67430
67431
|
* Create a new edit map.
|
|
@@ -67503,7 +67504,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
67503
67504
|
editMap.map.push([at, remove, add]);
|
|
67504
67505
|
}
|
|
67505
67506
|
|
|
67506
|
-
//
|
|
67507
|
+
// node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
67507
67508
|
function gfmTableAlign(events, index2) {
|
|
67508
67509
|
let inDelimiterRow = false;
|
|
67509
67510
|
const align = [];
|
|
@@ -67530,7 +67531,7 @@ function gfmTableAlign(events, index2) {
|
|
|
67530
67531
|
return align;
|
|
67531
67532
|
}
|
|
67532
67533
|
|
|
67533
|
-
//
|
|
67534
|
+
// node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
67534
67535
|
function gfmTable() {
|
|
67535
67536
|
return {
|
|
67536
67537
|
flow: {
|
|
@@ -67916,7 +67917,7 @@ function getPoint(events, index2) {
|
|
|
67916
67917
|
return event[1][side];
|
|
67917
67918
|
}
|
|
67918
67919
|
|
|
67919
|
-
//
|
|
67920
|
+
// node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
67920
67921
|
var tasklistCheck = {
|
|
67921
67922
|
name: "tasklistCheck",
|
|
67922
67923
|
tokenize: tokenizeTasklistCheck
|
|
@@ -67990,7 +67991,7 @@ function spaceThenNonSpace(effects, ok3, nok) {
|
|
|
67990
67991
|
}
|
|
67991
67992
|
}
|
|
67992
67993
|
|
|
67993
|
-
//
|
|
67994
|
+
// node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js
|
|
67994
67995
|
function gfm(options) {
|
|
67995
67996
|
return combineExtensions([
|
|
67996
67997
|
gfmAutolinkLiteral(),
|
|
@@ -68001,7 +68002,7 @@ function gfm(options) {
|
|
|
68001
68002
|
]);
|
|
68002
68003
|
}
|
|
68003
68004
|
|
|
68004
|
-
//
|
|
68005
|
+
// packages/tui/tui-render/src/markdown-parse.ts
|
|
68005
68006
|
var MARKDOWN_PARSE_DEFAULT_CACHE_LIMIT = 2e3;
|
|
68006
68007
|
var cache3 = /* @__PURE__ */ new Map();
|
|
68007
68008
|
var cacheLimit = MARKDOWN_PARSE_DEFAULT_CACHE_LIMIT;
|
|
@@ -68066,7 +68067,7 @@ function trimPartialClosingFence(root, source) {
|
|
|
68066
68067
|
node2.value = node2.value.slice(0, node2.value.length - lastLine.length).replace(/\n$/, "");
|
|
68067
68068
|
}
|
|
68068
68069
|
|
|
68069
|
-
//
|
|
68070
|
+
// packages/tui/tui-render/src/painted-line.ts
|
|
68070
68071
|
function paintLineFromRenderLine(line8, hyperlinks2 = hyperlinksEnabled()) {
|
|
68071
68072
|
if (line8.spans.length === 0) return paintRow([]);
|
|
68072
68073
|
const parts = [];
|
|
@@ -68090,7 +68091,7 @@ function paintLineFromRenderLine(line8, hyperlinks2 = hyperlinksEnabled()) {
|
|
|
68090
68091
|
return paintRow(parts);
|
|
68091
68092
|
}
|
|
68092
68093
|
|
|
68093
|
-
//
|
|
68094
|
+
// packages/tui/tui-render/src/markdown-projector.ts
|
|
68094
68095
|
var MARKDOWN_PROJECTOR_DEFAULT_CACHE_LIMIT = 2e3;
|
|
68095
68096
|
function plainTextMarkdownBlockRenderer() {
|
|
68096
68097
|
return PLAIN_TEXT_RENDERER;
|
|
@@ -68497,7 +68498,7 @@ function sameShape(previous3, current) {
|
|
|
68497
68498
|
return prev.start.offset === curr.start.offset && prev.end.offset === curr.end.offset;
|
|
68498
68499
|
}
|
|
68499
68500
|
|
|
68500
|
-
//
|
|
68501
|
+
// packages/tui/tui-render/src/table-layout.ts
|
|
68501
68502
|
var DEFAULT_WORD_CAP = 30;
|
|
68502
68503
|
var DEFAULT_COMPACT_MIN = 1;
|
|
68503
68504
|
var DEFAULT_NARRATIVE_MIN = 4;
|
|
@@ -68876,7 +68877,7 @@ function buildRecordLayout(headerCells, bodyCells, metrics, maxCols, indent2, di
|
|
|
68876
68877
|
};
|
|
68877
68878
|
}
|
|
68878
68879
|
|
|
68879
|
-
//
|
|
68880
|
+
// packages/tui/tui-render/src/markdown-render.ts
|
|
68880
68881
|
function makeBuffer() {
|
|
68881
68882
|
return { segments: [], cols: 0 };
|
|
68882
68883
|
}
|
|
@@ -69424,7 +69425,7 @@ function createStyledMarkdownBlockRenderer(options) {
|
|
|
69424
69425
|
};
|
|
69425
69426
|
}
|
|
69426
69427
|
|
|
69427
|
-
//
|
|
69428
|
+
// packages/tui/tui-render/src/table-scanner.ts
|
|
69428
69429
|
var FENCE_MIN = 3;
|
|
69429
69430
|
var DELIMITER_CELL_PATTERN = /^[\s:]*-{1,}[\s:]*$/;
|
|
69430
69431
|
var TableScanner = class {
|
|
@@ -69694,7 +69695,7 @@ function isDelimiterRow(cells) {
|
|
|
69694
69695
|
return true;
|
|
69695
69696
|
}
|
|
69696
69697
|
|
|
69697
|
-
//
|
|
69698
|
+
// packages/tui/tui-render/src/markdown.tsx
|
|
69698
69699
|
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
|
|
69699
69700
|
var MARKDOWN_CACHE_LIMIT = 2e3;
|
|
69700
69701
|
function paintedLineFromRenderLine(line8, hyperlinks2) {
|
|
@@ -69960,7 +69961,7 @@ function blockPositionRange(node2) {
|
|
|
69960
69961
|
return { start: position2.start.offset ?? -1, end: position2.end.offset ?? -1 };
|
|
69961
69962
|
}
|
|
69962
69963
|
|
|
69963
|
-
//
|
|
69964
|
+
// packages/tui/tui-render/src/reasoning.tsx
|
|
69964
69965
|
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
|
|
69965
69966
|
function formatSeconds(ms) {
|
|
69966
69967
|
return (ms / 1e3).toFixed(1);
|
|
@@ -69994,7 +69995,7 @@ function ReasoningBlock({
|
|
|
69994
69995
|
] });
|
|
69995
69996
|
}
|
|
69996
69997
|
|
|
69997
|
-
//
|
|
69998
|
+
// packages/tui/tui-render/src/row-source.ts
|
|
69998
69999
|
function indexedRows(length, read) {
|
|
69999
70000
|
const offset = (index2) => Math.min(length, Math.max(0, index2 < 0 ? length + Math.trunc(index2) : Math.trunc(index2)));
|
|
70000
70001
|
return Object.freeze({
|
|
@@ -70079,7 +70080,7 @@ var RowSequence = class {
|
|
|
70079
70080
|
}
|
|
70080
70081
|
};
|
|
70081
70082
|
|
|
70082
|
-
//
|
|
70083
|
+
// packages/tui/tui-render/src/ui-copy.ts
|
|
70083
70084
|
var zh = {
|
|
70084
70085
|
on: "\u5F00",
|
|
70085
70086
|
off: "\u5173",
|
|
@@ -70163,7 +70164,7 @@ function tuiCopy(key, locale = "zh-CN") {
|
|
|
70163
70164
|
return dictionaries[locale][key];
|
|
70164
70165
|
}
|
|
70165
70166
|
|
|
70166
|
-
//
|
|
70167
|
+
// packages/tui/tui-render/src/tool-body.ts
|
|
70167
70168
|
var graphemes = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
70168
70169
|
function textLines(text4, prefix = "") {
|
|
70169
70170
|
let length = 1;
|
|
@@ -70301,7 +70302,7 @@ function toolCardOriginalText(card, options) {
|
|
|
70301
70302
|
`;
|
|
70302
70303
|
}
|
|
70303
70304
|
|
|
70304
|
-
//
|
|
70305
|
+
// packages/tui/tui-render/src/tool-cards.ts
|
|
70305
70306
|
import { isAbsolute as isAbsolute2 } from "node:path";
|
|
70306
70307
|
import { pathToFileURL } from "node:url";
|
|
70307
70308
|
function toolCardDisplayStatus(card) {
|
|
@@ -70486,7 +70487,7 @@ function tokenizeCommandHeading(heading) {
|
|
|
70486
70487
|
return Object.freeze(tokens);
|
|
70487
70488
|
}
|
|
70488
70489
|
|
|
70489
|
-
//
|
|
70490
|
+
// packages/tui/tui-render/src/tool-rows.ts
|
|
70490
70491
|
var graphemes2 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
70491
70492
|
function truncateMiddleDisplay(text4, maxCols, leadingShare = 0.5) {
|
|
70492
70493
|
if (maxCols <= 0) return "";
|
|
@@ -70634,7 +70635,7 @@ var ToolRowCache = class {
|
|
|
70634
70635
|
}
|
|
70635
70636
|
};
|
|
70636
70637
|
|
|
70637
|
-
//
|
|
70638
|
+
// packages/tui/tui-render/src/render-policy.ts
|
|
70638
70639
|
var RENDER_POLICY_DEFAULT_STREAM_FRAME_INTERVAL_MS = 16;
|
|
70639
70640
|
var RENDER_POLICY_DEFAULT_STREAM_ENTRY_DEPTH = 64;
|
|
70640
70641
|
var RENDER_POLICY_DEFAULT_STREAM_EXIT_DEPTH = 32;
|
|
@@ -70685,7 +70686,7 @@ function renderPolicyDefaults() {
|
|
|
70685
70686
|
};
|
|
70686
70687
|
}
|
|
70687
70688
|
|
|
70688
|
-
//
|
|
70689
|
+
// packages/tui/tui-render/src/tool-card.tsx
|
|
70689
70690
|
var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
|
|
70690
70691
|
function ToolCard({ card, expanded = false, maxCols = 80, locale = "zh-CN", policy = toolPolicyDefaults() }) {
|
|
70691
70692
|
const cache4 = new ToolRowCache(policy);
|
|
@@ -70693,7 +70694,7 @@ function ToolCard({ card, expanded = false, maxCols = 80, locale = "zh-CN", poli
|
|
|
70693
70694
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Box_default, { flexDirection: "column", width: "100%", backgroundColor: inkColor("toolBg"), children: rows.map((line8, index2) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Text, { wrap: "truncate", children: paintLineFromRenderLine(line8, hyperlinksEnabled()) }, index2)) });
|
|
70694
70695
|
}
|
|
70695
70696
|
|
|
70696
|
-
//
|
|
70697
|
+
// packages/tui/tui-render/src/tool-presenter-cache.ts
|
|
70697
70698
|
var ToolPresenterCache = class {
|
|
70698
70699
|
/** @param capacity - maximum retained tool revisions, validated by the host. */
|
|
70699
70700
|
constructor(capacity) {
|
|
@@ -70727,7 +70728,7 @@ var ToolPresenterCache = class {
|
|
|
70727
70728
|
}
|
|
70728
70729
|
};
|
|
70729
70730
|
|
|
70730
|
-
//
|
|
70731
|
+
// packages/tui/tui-render/src/display-revision.ts
|
|
70731
70732
|
var DisplayRevisionIndex = class {
|
|
70732
70733
|
next = 0;
|
|
70733
70734
|
entries = /* @__PURE__ */ new WeakMap();
|
|
@@ -70746,7 +70747,7 @@ var DisplayRevisionIndex = class {
|
|
|
70746
70747
|
}
|
|
70747
70748
|
};
|
|
70748
70749
|
|
|
70749
|
-
//
|
|
70750
|
+
// packages/tui/tui-render/src/plain-rows.ts
|
|
70750
70751
|
var PlainTextRowCache = class {
|
|
70751
70752
|
/** @param policy - host-validated row and byte budgets for derived text. */
|
|
70752
70753
|
constructor(policy) {
|
|
@@ -70821,10 +70822,10 @@ var PlainTextRowCache = class {
|
|
|
70821
70822
|
}
|
|
70822
70823
|
};
|
|
70823
70824
|
|
|
70824
|
-
//
|
|
70825
|
+
// packages/tui/tui-render/src/pixel-fish-home.tsx
|
|
70825
70826
|
var import_react36 = __toESM(require_react(), 1);
|
|
70826
70827
|
|
|
70827
|
-
//
|
|
70828
|
+
// packages/tui/tui-render/src/duration-stats.ts
|
|
70828
70829
|
import { createHistogram } from "node:perf_hooks";
|
|
70829
70830
|
var DurationStats = class {
|
|
70830
70831
|
/** @param capacity - number of exact recent samples retained for diagnostics. */
|
|
@@ -70888,7 +70889,7 @@ var DurationStats = class {
|
|
|
70888
70889
|
}
|
|
70889
70890
|
};
|
|
70890
70891
|
|
|
70891
|
-
//
|
|
70892
|
+
// packages/tui/tui-render/src/frame-stats.ts
|
|
70892
70893
|
var import_react35 = __toESM(require_react(), 1);
|
|
70893
70894
|
var FRAME_STATS_CAPACITY = 120;
|
|
70894
70895
|
function createFrameProbe(now = () => performance.now(), capacity = FRAME_STATS_CAPACITY) {
|
|
@@ -70936,7 +70937,7 @@ function profilerOnRender(probe) {
|
|
|
70936
70937
|
};
|
|
70937
70938
|
}
|
|
70938
70939
|
|
|
70939
|
-
//
|
|
70940
|
+
// packages/tui/tui-render/src/pixel-fish-home.tsx
|
|
70940
70941
|
var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
|
|
70941
70942
|
var BRAND_FRAME_MS = 320;
|
|
70942
70943
|
var BRAND_ART_ROWS = BRAND_HALF_BLOCK.length;
|
|
@@ -71028,7 +71029,7 @@ function PixelFishHome({
|
|
|
71028
71029
|
return frameProbe === void 0 ? home : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(FrameProbe, { probe: frameProbe, children: home });
|
|
71029
71030
|
}
|
|
71030
71031
|
|
|
71031
|
-
//
|
|
71032
|
+
// packages/tui/tui-render/src/conversation-layout.ts
|
|
71032
71033
|
var WIDE_GUTTER_COLUMNS = 2;
|
|
71033
71034
|
var GUTTER_BREAKPOINT_COLUMNS = 40;
|
|
71034
71035
|
function conversationWidth(columns) {
|
|
@@ -71039,7 +71040,7 @@ function conversationLeft(columns, width) {
|
|
|
71039
71040
|
return Math.max(0, Math.ceil((columns - width) / 2));
|
|
71040
71041
|
}
|
|
71041
71042
|
|
|
71042
|
-
//
|
|
71043
|
+
// packages/tui/tui-render/src/transcript-viewport.ts
|
|
71043
71044
|
var EMPTY_TRANSCRIPT_VIEWPORT = Object.freeze({
|
|
71044
71045
|
follow: true,
|
|
71045
71046
|
offsetFromBottom: 0,
|
|
@@ -71239,7 +71240,7 @@ function physicalScrollRailGeometry(contentRows, viewportRows, offsetFromBottom)
|
|
|
71239
71240
|
return { rows, thumbStart: travel - fromBottom, thumbRows };
|
|
71240
71241
|
}
|
|
71241
71242
|
|
|
71242
|
-
//
|
|
71243
|
+
// packages/tui/tui-render/src/transcript-layout-cache.ts
|
|
71243
71244
|
var TranscriptLayoutCache = class {
|
|
71244
71245
|
scopeKey = "";
|
|
71245
71246
|
measured = /* @__PURE__ */ new Map();
|
|
@@ -71291,10 +71292,10 @@ var TranscriptLayoutCache = class {
|
|
|
71291
71292
|
}
|
|
71292
71293
|
};
|
|
71293
71294
|
|
|
71294
|
-
//
|
|
71295
|
+
// packages/tui/tui-render/src/mouse-io.ts
|
|
71295
71296
|
import { PassThrough as PassThrough2 } from "node:stream";
|
|
71296
71297
|
|
|
71297
|
-
//
|
|
71298
|
+
// packages/tui/tui-render/src/frame-metrics.ts
|
|
71298
71299
|
var FRAME_METRICS_CAPACITY = 120;
|
|
71299
71300
|
var PENDING_DELTA_INGRESS = /* @__PURE__ */ new WeakMap();
|
|
71300
71301
|
function markDeltaIngress(metrics, nowMs = performance.now()) {
|
|
@@ -71440,7 +71441,7 @@ function createFrameMetrics(now = () => performance.now(), capacity = FRAME_METR
|
|
|
71440
71441
|
};
|
|
71441
71442
|
}
|
|
71442
71443
|
|
|
71443
|
-
//
|
|
71444
|
+
// packages/tui/tui-render/src/frame-snapshot.ts
|
|
71444
71445
|
var publishedSnapshot;
|
|
71445
71446
|
function setVisibleFrameSnapshot(snapshot) {
|
|
71446
71447
|
publishedSnapshot = snapshot;
|
|
@@ -71511,7 +71512,7 @@ function diffVisibleFrameSnapshots(previous3, next) {
|
|
|
71511
71512
|
return { forced, changes, unchangedRows };
|
|
71512
71513
|
}
|
|
71513
71514
|
|
|
71514
|
-
//
|
|
71515
|
+
// packages/tui/tui-render/src/frame-fill.ts
|
|
71515
71516
|
var BG_OFF = "\x1B[49m";
|
|
71516
71517
|
var SGR_RESET = "\x1B[0m";
|
|
71517
71518
|
var ERASE_SCROLLBACK = "\x1B[3J";
|
|
@@ -71718,7 +71719,7 @@ function countWrittenCells(chunk) {
|
|
|
71718
71719
|
return printable.split("\n").reduce((cells, line8) => cells + displayWidth(line8), 0);
|
|
71719
71720
|
}
|
|
71720
71721
|
|
|
71721
|
-
//
|
|
71722
|
+
// packages/tui/tui-render/src/screen-atlas.ts
|
|
71722
71723
|
var GRAPHEME2 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
71723
71724
|
function paintSnapshotLine(line8) {
|
|
71724
71725
|
const parts = line8.spans.map((span) => {
|
|
@@ -72255,7 +72256,7 @@ function readCsi(text4, start) {
|
|
|
72255
72256
|
return void 0;
|
|
72256
72257
|
}
|
|
72257
72258
|
|
|
72258
|
-
//
|
|
72259
|
+
// packages/tui/tui-render/src/sgr-mouse.ts
|
|
72259
72260
|
var ENABLE_SGR_MOUSE = "\x1B[?1000h\x1B[?1002h\x1B[?1006h";
|
|
72260
72261
|
var DISABLE_SGR_MOUSE = "\x1B[?1006l\x1B[?1002l\x1B[?1000l";
|
|
72261
72262
|
var COMPLETE = /^\x1b\[<(\d+);(\d+);(\d+)([Mm])/;
|
|
@@ -72317,7 +72318,7 @@ function consumeMouseStdin(buffer) {
|
|
|
72317
72318
|
return { mouse, forward, rest: "" };
|
|
72318
72319
|
}
|
|
72319
72320
|
|
|
72320
|
-
//
|
|
72321
|
+
// packages/tui/tui-render/src/clipboard.ts
|
|
72321
72322
|
import { spawn } from "node:child_process";
|
|
72322
72323
|
var OSC52_MAX_CHARS = 1e5;
|
|
72323
72324
|
function encodeOsc52(text4) {
|
|
@@ -72349,7 +72350,7 @@ function copyText(text4, write, spawnFn = spawn, spec) {
|
|
|
72349
72350
|
}
|
|
72350
72351
|
}
|
|
72351
72352
|
|
|
72352
|
-
//
|
|
72353
|
+
// packages/tui/tui-render/src/open-url.ts
|
|
72353
72354
|
import { spawn as spawn2 } from "node:child_process";
|
|
72354
72355
|
function openerSpec(platform2, href) {
|
|
72355
72356
|
if (platform2 === "darwin") return { command: "open", args: [href] };
|
|
@@ -72371,7 +72372,7 @@ function openUrl(href, spawnFn = spawn2, platform2 = process.platform) {
|
|
|
72371
72372
|
}
|
|
72372
72373
|
}
|
|
72373
72374
|
|
|
72374
|
-
//
|
|
72375
|
+
// packages/tui/tui-render/src/mouse-io.ts
|
|
72375
72376
|
var scrollListener;
|
|
72376
72377
|
var railListener;
|
|
72377
72378
|
var railRegion;
|
|
@@ -72675,7 +72676,7 @@ function wrapStdin(raw, onMouse, wheelRows) {
|
|
|
72675
72676
|
};
|
|
72676
72677
|
}
|
|
72677
72678
|
|
|
72678
|
-
//
|
|
72679
|
+
// packages/tui/tui-render/src/block-rows.ts
|
|
72679
72680
|
function computeBlockRowsScopeKey(width, theme, fold, renderMode) {
|
|
72680
72681
|
return `${width}|${theme}|${fold.reasoning ? "r1" : "r0"}|${fold.tools ? "t1" : "t0"}|${renderMode}`;
|
|
72681
72682
|
}
|
|
@@ -73130,7 +73131,7 @@ function messageGapLines(width, startRowInBlock = 0) {
|
|
|
73130
73131
|
]);
|
|
73131
73132
|
}
|
|
73132
73133
|
|
|
73133
|
-
//
|
|
73134
|
+
// packages/tui/tui-render/src/physical-line.ts
|
|
73134
73135
|
var GRAPHEME_SEGMENTER2 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
73135
73136
|
function joinSpanText(spans) {
|
|
73136
73137
|
let joined = "";
|
|
@@ -73213,7 +73214,7 @@ function physicalLineByteSize(line8) {
|
|
|
73213
73214
|
return bytes;
|
|
73214
73215
|
}
|
|
73215
73216
|
|
|
73216
|
-
//
|
|
73217
|
+
// packages/tui/tui-render/src/transcript-line-store.ts
|
|
73217
73218
|
var DEFAULT_TRANSCRIPT_CACHE_MAX_BYTES = 4 * 1024 * 1024;
|
|
73218
73219
|
var MutableRevisionImpl = class {
|
|
73219
73220
|
blockId;
|
|
@@ -73579,7 +73580,7 @@ function createTranscriptRenderStore(config2) {
|
|
|
73579
73580
|
return new TranscriptRenderStoreImpl(config2);
|
|
73580
73581
|
}
|
|
73581
73582
|
|
|
73582
|
-
//
|
|
73583
|
+
// packages/tui/tui-render/src/scroll-scheduler.ts
|
|
73583
73584
|
var SCROLL_SCHEDULER_DEFAULT_FRAME_INTERVAL_MS = 16;
|
|
73584
73585
|
var SCROLL_SCHEDULER_DEFAULT_STEP_PER_FRAME = 1;
|
|
73585
73586
|
var SCROLL_SCHEDULER_DEFAULT_CATCH_UP_THRESHOLD = 10;
|
|
@@ -73656,7 +73657,7 @@ function createScrollScheduler(options = {}) {
|
|
|
73656
73657
|
};
|
|
73657
73658
|
}
|
|
73658
73659
|
|
|
73659
|
-
//
|
|
73660
|
+
// packages/tui/tui-render/src/stream-queue.ts
|
|
73660
73661
|
var STREAM_QUEUE_DEFAULT_SMOOTH_ROWS_PER_FRAME = 2;
|
|
73661
73662
|
var STREAM_QUEUE_DEFAULT_CATCH_UP_ROWS_PER_FRAME = 16;
|
|
73662
73663
|
var STREAM_QUEUE_DEFAULT_ENTRY_DEPTH = 64;
|
|
@@ -73757,7 +73758,7 @@ function createStreamQueue(options = {}) {
|
|
|
73757
73758
|
};
|
|
73758
73759
|
}
|
|
73759
73760
|
|
|
73760
|
-
//
|
|
73761
|
+
// packages/tui/tui-render/src/frame-arbiter.ts
|
|
73761
73762
|
var FRAME_ARBITER_DEFAULT_FRAME_INTERVAL_MS = 16;
|
|
73762
73763
|
function createFrameArbiter(options) {
|
|
73763
73764
|
const frameIntervalMs = options.frameIntervalMs ?? FRAME_ARBITER_DEFAULT_FRAME_INTERVAL_MS;
|
|
@@ -73870,7 +73871,7 @@ function createFrameArbiter(options) {
|
|
|
73870
73871
|
};
|
|
73871
73872
|
}
|
|
73872
73873
|
|
|
73873
|
-
//
|
|
73874
|
+
// packages/tui/tui-render/src/stream-view.tsx
|
|
73874
73875
|
var import_jsx_runtime6 = __toESM(require_jsx_runtime(), 1);
|
|
73875
73876
|
var ASSISTANT_PROSE_PREFIX_COLUMNS = displayWidth("\u25CF ");
|
|
73876
73877
|
var LIVE_DURATION_TICK_MS = 100;
|
|
@@ -75753,11 +75754,11 @@ function StreamView({
|
|
|
75753
75754
|
return transcriptViewport;
|
|
75754
75755
|
}
|
|
75755
75756
|
|
|
75756
|
-
//
|
|
75757
|
+
// packages/tui/tui-render/src/loop.tsx
|
|
75757
75758
|
import { homedir } from "node:os";
|
|
75758
75759
|
var import_react39 = __toESM(require_react(), 1);
|
|
75759
75760
|
|
|
75760
|
-
//
|
|
75761
|
+
// packages/tui/tui-render/src/session-pane.tsx
|
|
75761
75762
|
var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
|
|
75762
75763
|
var SESSION_ID_HINT_MIN_LENGTH = 8;
|
|
75763
75764
|
function compactSessionId(id) {
|
|
@@ -75860,7 +75861,7 @@ function SessionPane({
|
|
|
75860
75861
|
] });
|
|
75861
75862
|
}
|
|
75862
75863
|
|
|
75863
|
-
//
|
|
75864
|
+
// packages/tui/tui-render/src/search-pane.tsx
|
|
75864
75865
|
var import_jsx_runtime8 = __toESM(require_jsx_runtime(), 1);
|
|
75865
75866
|
var SEARCH_WINDOW = 30;
|
|
75866
75867
|
function SearchPane({
|
|
@@ -75895,7 +75896,7 @@ function SearchPane({
|
|
|
75895
75896
|
] });
|
|
75896
75897
|
}
|
|
75897
75898
|
|
|
75898
|
-
//
|
|
75899
|
+
// packages/tui/tui-render/src/model-pane.tsx
|
|
75899
75900
|
var import_jsx_runtime9 = __toESM(require_jsx_runtime(), 1);
|
|
75900
75901
|
var MODEL_WINDOW = 30;
|
|
75901
75902
|
function ModelPane({
|
|
@@ -75934,7 +75935,7 @@ function ModelPane({
|
|
|
75934
75935
|
] });
|
|
75935
75936
|
}
|
|
75936
75937
|
|
|
75937
|
-
//
|
|
75938
|
+
// packages/tui/tui-render/src/help-pane.tsx
|
|
75938
75939
|
var import_jsx_runtime10 = __toESM(require_jsx_runtime(), 1);
|
|
75939
75940
|
var HELP_WINDOW = 20;
|
|
75940
75941
|
function HelpPane({ lines, offset }) {
|
|
@@ -75952,7 +75953,7 @@ function HelpPane({ lines, offset }) {
|
|
|
75952
75953
|
] });
|
|
75953
75954
|
}
|
|
75954
75955
|
|
|
75955
|
-
//
|
|
75956
|
+
// packages/tui/tui-render/src/approval-pane.tsx
|
|
75956
75957
|
var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1);
|
|
75957
75958
|
var PROMPT_OPTIONS = "[Y] \u5141\u8BB8 \xB7 [n] \u62D2\u7EDD \xB7 [a] \u672C\u4F1A\u8BDD\u603B\u662F";
|
|
75958
75959
|
var DELIVERY_NEXT = "\u5F53\u524D\u5DE5\u5177\u672A\u6267\u884C \xB7 \u53EF\u91CD\u8BD5\u8BE5\u8F6E";
|
|
@@ -76005,7 +76006,7 @@ function ApprovalPane({
|
|
|
76005
76006
|
] }) });
|
|
76006
76007
|
}
|
|
76007
76008
|
|
|
76008
|
-
//
|
|
76009
|
+
// packages/tui/tui-render/src/permission-pane.tsx
|
|
76009
76010
|
var import_jsx_runtime12 = __toESM(require_jsx_runtime(), 1);
|
|
76010
76011
|
var TITLE = "\u6743\u9650\u9884\u8BBE";
|
|
76011
76012
|
var FOOTNOTE = "\u2191\u2193/jk \u9009\u62E9 \xB7 1-3 \u76F4\u8FBE \xB7 Enter \u5E94\u7528 \xB7 Esc \u5173\u95ED";
|
|
@@ -76061,7 +76062,7 @@ function PermissionPane({
|
|
|
76061
76062
|
] });
|
|
76062
76063
|
}
|
|
76063
76064
|
|
|
76064
|
-
//
|
|
76065
|
+
// packages/tui/tui-render/src/settings-pane.tsx
|
|
76065
76066
|
var import_jsx_runtime13 = __toESM(require_jsx_runtime(), 1);
|
|
76066
76067
|
var TITLE2 = "\u8BBE\u7F6E";
|
|
76067
76068
|
var ONBOARDING_TITLE = "\u9996\u6B21\u8BBE\u7F6E";
|
|
@@ -76150,7 +76151,7 @@ function SettingsPane({
|
|
|
76150
76151
|
] });
|
|
76151
76152
|
}
|
|
76152
76153
|
|
|
76153
|
-
//
|
|
76154
|
+
// packages/tui/tui-render/src/overlay-shell.tsx
|
|
76154
76155
|
var import_jsx_runtime14 = __toESM(require_jsx_runtime(), 1);
|
|
76155
76156
|
var EMPTY_OVERLAY_PANE = { open: false };
|
|
76156
76157
|
function line4(text4, token, bold = false) {
|
|
@@ -76174,7 +76175,7 @@ function OverlayShell({
|
|
|
76174
76175
|
] });
|
|
76175
76176
|
}
|
|
76176
76177
|
|
|
76177
|
-
//
|
|
76178
|
+
// packages/tui/tui-render/src/agent-hub-pane.tsx
|
|
76178
76179
|
var import_jsx_runtime15 = __toESM(require_jsx_runtime(), 1);
|
|
76179
76180
|
function formatTokens(value) {
|
|
76180
76181
|
const scaled = (next) => next >= 100 ? String(Math.round(next)) : String(Math.round(next * 10) / 10);
|
|
@@ -76286,7 +76287,7 @@ function AgentHubPane({
|
|
|
76286
76287
|
);
|
|
76287
76288
|
}
|
|
76288
76289
|
|
|
76289
|
-
//
|
|
76290
|
+
// packages/tui/tui-render/src/plan-directory-pane.tsx
|
|
76290
76291
|
var import_jsx_runtime16 = __toESM(require_jsx_runtime(), 1);
|
|
76291
76292
|
var TITLE3 = "\u8BA1\u5212";
|
|
76292
76293
|
var FOOTNOTE3 = "j/k \u9009\u62E9 \xB7 Enter \u5207\u6362 \xB7 Esc \u5173\u95ED";
|
|
@@ -76339,7 +76340,7 @@ function PlanDirectoryPane({
|
|
|
76339
76340
|
] });
|
|
76340
76341
|
}
|
|
76341
76342
|
|
|
76342
|
-
//
|
|
76343
|
+
// packages/tui/tui-render/src/plan-review-pane.tsx
|
|
76343
76344
|
var import_jsx_runtime17 = __toESM(require_jsx_runtime(), 1);
|
|
76344
76345
|
var TITLE4 = "\u8BA1\u5212\u8BC4\u5BA1";
|
|
76345
76346
|
var FOOTNOTE4 = "y \u6279\u51C6 \xB7 n \u7EE7\u7EED\u89C4\u5212 \xB7 Esc \u53D6\u6D88";
|
|
@@ -76373,7 +76374,7 @@ function PlanReviewPane({
|
|
|
76373
76374
|
] });
|
|
76374
76375
|
}
|
|
76375
76376
|
|
|
76376
|
-
//
|
|
76377
|
+
// packages/tui/tui-render/src/ask-user-pane.tsx
|
|
76377
76378
|
var import_jsx_runtime18 = __toESM(require_jsx_runtime(), 1);
|
|
76378
76379
|
var FOOTNOTE5 = "\u2191\u2193/jk \u79FB\u52A8 \xB7 1-9 \u9009\u62E9 \xB7 Enter \u4F5C\u7B54 \xB7 Esc \u53D6\u6D88\u63D0\u95EE";
|
|
76379
76380
|
var INVALID_TITLE = "\u2717 \u63D0\u95EE\u65E0\u6548";
|
|
@@ -76413,7 +76414,7 @@ function AskUserPane({
|
|
|
76413
76414
|
] });
|
|
76414
76415
|
}
|
|
76415
76416
|
|
|
76416
|
-
//
|
|
76417
|
+
// packages/tui/tui-render/src/timeline-view.tsx
|
|
76417
76418
|
var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1);
|
|
76418
76419
|
var FIRST_LINE_MAX = 120;
|
|
76419
76420
|
var TIMELINE_WINDOW = 60;
|
|
@@ -76452,10 +76453,10 @@ function firstLine(text4) {
|
|
|
76452
76453
|
return line8.length > FIRST_LINE_MAX ? `${line8.slice(0, FIRST_LINE_MAX)}\u2026` : line8;
|
|
76453
76454
|
}
|
|
76454
76455
|
|
|
76455
|
-
//
|
|
76456
|
+
// packages/tui/tui-render/src/input-bar.tsx
|
|
76456
76457
|
var import_react38 = __toESM(require_react(), 1);
|
|
76457
76458
|
|
|
76458
|
-
//
|
|
76459
|
+
// packages/tui/tui-render/src/composer-cursor.ts
|
|
76459
76460
|
var GRAPHEME3 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
76460
76461
|
function composerCursorPosition(text4, caretIndex) {
|
|
76461
76462
|
const clamped = Math.max(0, Math.min(caretIndex, text4.length));
|
|
@@ -76522,7 +76523,7 @@ function composerFrameAnchor(text4, caretIndex, options) {
|
|
|
76522
76523
|
};
|
|
76523
76524
|
}
|
|
76524
76525
|
|
|
76525
|
-
//
|
|
76526
|
+
// packages/tui/tui-render/src/composer-tokens.ts
|
|
76526
76527
|
var IMAGE_TOKEN = /^\[图片 #[1-9]\d*\]/u;
|
|
76527
76528
|
var COMMAND_TOKEN = /^\/[\p{L}\p{N}][\p{L}\p{N}._-]*/u;
|
|
76528
76529
|
var MENTION_TOKEN = /^@\S+/u;
|
|
@@ -76562,7 +76563,7 @@ function tokenizeComposer(text4) {
|
|
|
76562
76563
|
return Object.freeze(tokens);
|
|
76563
76564
|
}
|
|
76564
76565
|
|
|
76565
|
-
//
|
|
76566
|
+
// packages/tui/tui-render/src/input-bar.tsx
|
|
76566
76567
|
var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1);
|
|
76567
76568
|
var PROMPT_WIDTH = 2;
|
|
76568
76569
|
var COMPOSER_PLACEHOLDER = tuiCopy("inputHint");
|
|
@@ -76663,7 +76664,7 @@ function InputBar({
|
|
|
76663
76664
|
);
|
|
76664
76665
|
}
|
|
76665
76666
|
|
|
76666
|
-
//
|
|
76667
|
+
// packages/tui/tui-render/src/command-menu.tsx
|
|
76667
76668
|
var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1);
|
|
76668
76669
|
var COMMAND_MENU_WINDOW = 8;
|
|
76669
76670
|
var MARKER_COLS2 = 2;
|
|
@@ -76733,7 +76734,7 @@ function CommandMenu({
|
|
|
76733
76734
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { flexDirection: "column", alignItems: "center", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { flexDirection: "column", width, children: matches.map((item, index2) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Box_default, { width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Text, { children: paintRow(paletteRow(item, offset + index2 === clampedIndex, nameCols, width)) }) }, item.name)) }) });
|
|
76734
76735
|
}
|
|
76735
76736
|
|
|
76736
|
-
//
|
|
76737
|
+
// packages/tui/tui-render/src/mention.tsx
|
|
76737
76738
|
var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1);
|
|
76738
76739
|
var KIND_LABELS = {
|
|
76739
76740
|
file: "\u6587\u4EF6",
|
|
@@ -76794,7 +76795,7 @@ function Mention({
|
|
|
76794
76795
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Box_default, { flexDirection: "column", alignItems: "center", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Box_default, { flexDirection: "column", width, children: rows }) });
|
|
76795
76796
|
}
|
|
76796
76797
|
|
|
76797
|
-
//
|
|
76798
|
+
// packages/tui/tui-render/src/goal-footer.ts
|
|
76798
76799
|
function goalFooterHead(goal) {
|
|
76799
76800
|
return `\u76EE\u6807 ${goal.phase} ${goal.roundsStarted}/${goal.maxGoalRounds}`;
|
|
76800
76801
|
}
|
|
@@ -76806,7 +76807,7 @@ function goalFooterRuns(goal, maxObjectiveCols) {
|
|
|
76806
76807
|
};
|
|
76807
76808
|
}
|
|
76808
76809
|
|
|
76809
|
-
//
|
|
76810
|
+
// packages/tui/tui-render/src/adaptive-info-footer.ts
|
|
76810
76811
|
function segment(text4, token) {
|
|
76811
76812
|
return { runs: [{ text: text4, token }] };
|
|
76812
76813
|
}
|
|
@@ -77029,7 +77030,7 @@ function formatQuietStatusRow(view, columns) {
|
|
|
77029
77030
|
});
|
|
77030
77031
|
}
|
|
77031
77032
|
|
|
77032
|
-
//
|
|
77033
|
+
// packages/tui/tui-render/src/todo-hud.tsx
|
|
77033
77034
|
var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
|
|
77034
77035
|
var STATUS_PRESENTATION = {
|
|
77035
77036
|
pending: { glyph: "\xB7", word: "\u5F85\u529E", token: "fgDim" },
|
|
@@ -77058,7 +77059,7 @@ function TodoHud({
|
|
|
77058
77059
|
}) });
|
|
77059
77060
|
}
|
|
77060
77061
|
|
|
77061
|
-
//
|
|
77062
|
+
// packages/tui/tui-render/src/jobs-hud.tsx
|
|
77062
77063
|
var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
|
|
77063
77064
|
function JobsHud({
|
|
77064
77065
|
jobs,
|
|
@@ -77077,7 +77078,7 @@ function JobsHud({
|
|
|
77077
77078
|
}) });
|
|
77078
77079
|
}
|
|
77079
77080
|
|
|
77080
|
-
//
|
|
77081
|
+
// packages/tui/tui-render/src/workflow-hud.tsx
|
|
77081
77082
|
var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
|
|
77082
77083
|
function WorkflowHud({
|
|
77083
77084
|
run: run2,
|
|
@@ -77115,7 +77116,7 @@ function WorkflowHud({
|
|
|
77115
77116
|
return rows.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, { children: rows });
|
|
77116
77117
|
}
|
|
77117
77118
|
|
|
77118
|
-
//
|
|
77119
|
+
// packages/tui/tui-render/src/workflow-overlay.tsx
|
|
77119
77120
|
var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
|
|
77120
77121
|
var WORKFLOW_OVERLAY_WINDOW = 8;
|
|
77121
77122
|
var EMPTY_WORKFLOW_OVERLAY = { open: false, offset: 0 };
|
|
@@ -77150,7 +77151,7 @@ function WorkflowOverlay({
|
|
|
77150
77151
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(OverlayShell, { title: "\u5DE5\u4F5C\u6D41", footnote: "j/k \u6EDA\u52A8 \xB7 Esc \u5173\u95ED", children: rows });
|
|
77151
77152
|
}
|
|
77152
77153
|
|
|
77153
|
-
//
|
|
77154
|
+
// packages/tui/tui-render/src/workspace-pane.tsx
|
|
77154
77155
|
var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1);
|
|
77155
77156
|
var EMPTY_WORKSPACE_PANE = {
|
|
77156
77157
|
open: false,
|
|
@@ -77200,7 +77201,7 @@ function WorkspacePane({
|
|
|
77200
77201
|
);
|
|
77201
77202
|
}
|
|
77202
77203
|
|
|
77203
|
-
//
|
|
77204
|
+
// packages/tui/tui-render/src/feedback-pane.tsx
|
|
77204
77205
|
var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1);
|
|
77205
77206
|
var EMPTY_FEEDBACK_PANE = {
|
|
77206
77207
|
open: false,
|
|
@@ -77252,7 +77253,7 @@ function FeedbackPane({
|
|
|
77252
77253
|
);
|
|
77253
77254
|
}
|
|
77254
77255
|
|
|
77255
|
-
//
|
|
77256
|
+
// packages/tui/tui-render/src/keymap.ts
|
|
77256
77257
|
var KEYMAP = [
|
|
77257
77258
|
{ key: "return", action: "send" },
|
|
77258
77259
|
{ key: "return", shift: true, action: "newline" },
|
|
@@ -77289,7 +77290,7 @@ function toolDetailsKeyAction(key, info) {
|
|
|
77289
77290
|
return void 0;
|
|
77290
77291
|
}
|
|
77291
77292
|
|
|
77292
|
-
//
|
|
77293
|
+
// packages/tui/tui-render/src/tool-details-pane.tsx
|
|
77293
77294
|
var import_jsx_runtime29 = __toESM(require_jsx_runtime(), 1);
|
|
77294
77295
|
var EMPTY_TOOL_DETAILS_PANE = Object.freeze({
|
|
77295
77296
|
open: false,
|
|
@@ -77334,7 +77335,7 @@ function ToolDetailsPane({ state, columns, maxRows, pageRows, locale }) {
|
|
|
77334
77335
|
] });
|
|
77335
77336
|
}
|
|
77336
77337
|
|
|
77337
|
-
//
|
|
77338
|
+
// packages/tui/tui-render/src/queue-chip.tsx
|
|
77338
77339
|
var import_jsx_runtime30 = __toESM(require_jsx_runtime(), 1);
|
|
77339
77340
|
function queueChipText(count) {
|
|
77340
77341
|
return count <= 0 ? void 0 : `\u5F85\u53D1 ${String(count)} \xB7 \u2191 \u53D6\u51FA`;
|
|
@@ -77344,7 +77345,7 @@ function QueueChip({ count }) {
|
|
|
77344
77345
|
return text4 === void 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Text, { children: paintRow([styled(escapeContent(text4), "fg")]) });
|
|
77345
77346
|
}
|
|
77346
77347
|
|
|
77347
|
-
//
|
|
77348
|
+
// packages/tui/tui-render/src/loop.tsx
|
|
77348
77349
|
var CHORD_WINDOW_MS = 600;
|
|
77349
77350
|
function activeMentionQuery(text4) {
|
|
77350
77351
|
if (!text4.startsWith("@")) return void 0;
|
|
@@ -79418,7 +79419,7 @@ function TuiLoop({
|
|
|
79418
79419
|
});
|
|
79419
79420
|
}
|
|
79420
79421
|
|
|
79421
|
-
//
|
|
79422
|
+
// packages/tui/tui-render/src/react-timing.ts
|
|
79422
79423
|
import { performance as performance2, PerformanceObserver } from "node:perf_hooks";
|
|
79423
79424
|
function isReactTiming(entry) {
|
|
79424
79425
|
if (entry.entryType !== "measure" || !("detail" in entry)) return false;
|
|
@@ -79444,12 +79445,12 @@ function observeReactTiming() {
|
|
|
79444
79445
|
};
|
|
79445
79446
|
}
|
|
79446
79447
|
|
|
79447
|
-
//
|
|
79448
|
+
// packages/tui/tui-render/src/message-visibility.ts
|
|
79448
79449
|
function isHumanUserMessage(event) {
|
|
79449
79450
|
return event.type === "user/message" && event.data.source.kind === "user";
|
|
79450
79451
|
}
|
|
79451
79452
|
|
|
79452
|
-
//
|
|
79453
|
+
// packages/tui/tui-render/src/projection.ts
|
|
79453
79454
|
function lastFencedCode(text4) {
|
|
79454
79455
|
const lines = text4.split(/\r?\n/u);
|
|
79455
79456
|
let openingLength;
|
|
@@ -79766,7 +79767,7 @@ function createProjector() {
|
|
|
79766
79767
|
};
|
|
79767
79768
|
}
|
|
79768
79769
|
|
|
79769
|
-
//
|
|
79770
|
+
// packages/tui/tui-render/src/interaction-state.ts
|
|
79770
79771
|
function reduceInteraction(state, event) {
|
|
79771
79772
|
switch (state) {
|
|
79772
79773
|
case "idle":
|
|
@@ -79806,7 +79807,7 @@ function reduceInteraction(state, event) {
|
|
|
79806
79807
|
}
|
|
79807
79808
|
}
|
|
79808
79809
|
|
|
79809
|
-
//
|
|
79810
|
+
// packages/tui/tui-render/src/index.ts
|
|
79810
79811
|
function mountTuiRender(node2, options = {}) {
|
|
79811
79812
|
const env3 = options.env ?? process.env;
|
|
79812
79813
|
const policy = options.renderPolicy ?? renderPolicyDefaults();
|
|
@@ -79876,7 +79877,7 @@ function mountTuiLoop(controller, options) {
|
|
|
79876
79877
|
);
|
|
79877
79878
|
}
|
|
79878
79879
|
|
|
79879
|
-
//
|
|
79880
|
+
// packages/tui/tui/src/terminal-guard.ts
|
|
79880
79881
|
var NON_INTERACTIVE_MESSAGE = "deepseek-tui requires an interactive terminal\n";
|
|
79881
79882
|
var environment = {
|
|
79882
79883
|
isTTY: process.stdout.isTTY,
|
|
@@ -79888,7 +79889,7 @@ function assertInteractiveTerminal(env3 = environment, stderr = process.stderr,
|
|
|
79888
79889
|
exit3(0);
|
|
79889
79890
|
}
|
|
79890
79891
|
|
|
79891
|
-
//
|
|
79892
|
+
// packages/tui/tui/src/signal-semantics.ts
|
|
79892
79893
|
var SIGNAL_TABLE = {
|
|
79893
79894
|
/** First Ctrl+C stops the current generation; a second one confirms exit. */
|
|
79894
79895
|
SIGINT: "stop-generation",
|
|
@@ -79922,7 +79923,7 @@ function installSignalHooks(cleanup) {
|
|
|
79922
79923
|
};
|
|
79923
79924
|
}
|
|
79924
79925
|
|
|
79925
|
-
//
|
|
79926
|
+
// packages/tui/tui/src/export.ts
|
|
79926
79927
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
79927
79928
|
import { dirname as dirname2, resolve as resolve3 } from "node:path";
|
|
79928
79929
|
function timeHeaderOf(time3) {
|
|
@@ -80020,7 +80021,7 @@ async function exportSessionMarkdown(session, dir) {
|
|
|
80020
80021
|
return target;
|
|
80021
80022
|
}
|
|
80022
80023
|
|
|
80023
|
-
//
|
|
80024
|
+
// packages/tui/tui/src/settings-rows.ts
|
|
80024
80025
|
var LEADING_NAMESPACES = [
|
|
80025
80026
|
"tui",
|
|
80026
80027
|
"llm-deepseek",
|
|
@@ -80119,7 +80120,7 @@ function settingsRowsFromDescribe(descriptors, read) {
|
|
|
80119
80120
|
return [...ordered, ...rest];
|
|
80120
80121
|
}
|
|
80121
80122
|
|
|
80122
|
-
//
|
|
80123
|
+
// packages/tui/tui/src/index.ts
|
|
80123
80124
|
try {
|
|
80124
80125
|
if (typeof Session === "function" && !("events" in Session.prototype)) {
|
|
80125
80126
|
Object.defineProperty(Session.prototype, "events", {
|