@kenkaiiii/gg-boss 4.3.160 → 4.3.162
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/{chunk-U7C44HGI.js → chunk-U3L3QW6X.js} +217 -159
- package/dist/{chunk-U7C44HGI.js.map → chunk-U3L3QW6X.js.map} +1 -1
- package/dist/cli.js +6 -6
- package/dist/cli.js.map +1 -1
- package/dist/{devtools-4TI4D7F2.js → devtools-526EIB4G.js} +5 -5
- package/dist/devtools-526EIB4G.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/dist/devtools-4TI4D7F2.js.map +0 -1
|
@@ -7348,21 +7348,21 @@ var require_cross_spawn = __commonJS({
|
|
|
7348
7348
|
var cp = __require("child_process");
|
|
7349
7349
|
var parse3 = require_parse();
|
|
7350
7350
|
var enoent = require_enoent();
|
|
7351
|
-
function
|
|
7351
|
+
function spawn10(command, args, options2) {
|
|
7352
7352
|
const parsed = parse3(command, args, options2);
|
|
7353
7353
|
const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
|
|
7354
7354
|
enoent.hookChildProcess(spawned, parsed);
|
|
7355
7355
|
return spawned;
|
|
7356
7356
|
}
|
|
7357
|
-
function
|
|
7357
|
+
function spawnSync3(command, args, options2) {
|
|
7358
7358
|
const parsed = parse3(command, args, options2);
|
|
7359
7359
|
const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
7360
7360
|
result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
|
|
7361
7361
|
return result;
|
|
7362
7362
|
}
|
|
7363
|
-
module.exports =
|
|
7364
|
-
module.exports.spawn =
|
|
7365
|
-
module.exports.sync =
|
|
7363
|
+
module.exports = spawn10;
|
|
7364
|
+
module.exports.spawn = spawn10;
|
|
7365
|
+
module.exports.sync = spawnSync3;
|
|
7366
7366
|
module.exports._parse = parse3;
|
|
7367
7367
|
module.exports._enoent = enoent;
|
|
7368
7368
|
}
|
|
@@ -65162,7 +65162,7 @@ init_esm_shims();
|
|
|
65162
65162
|
|
|
65163
65163
|
// ../ggcoder/dist/core/process-manager.js
|
|
65164
65164
|
init_esm_shims();
|
|
65165
|
-
import { spawn } from "child_process";
|
|
65165
|
+
import { spawn, spawnSync } from "child_process";
|
|
65166
65166
|
import fs from "fs";
|
|
65167
65167
|
import fsp from "fs/promises";
|
|
65168
65168
|
import path3 from "path";
|
|
@@ -65182,11 +65182,77 @@ function killProcessTree(pid) {
|
|
|
65182
65182
|
}
|
|
65183
65183
|
}
|
|
65184
65184
|
|
|
65185
|
+
// ../ggcoder/dist/tools/safe-env.js
|
|
65186
|
+
init_esm_shims();
|
|
65187
|
+
var ENV_ALLOWLIST = /* @__PURE__ */ new Set([
|
|
65188
|
+
"PATH",
|
|
65189
|
+
"HOME",
|
|
65190
|
+
"USER",
|
|
65191
|
+
"LOGNAME",
|
|
65192
|
+
"SHELL",
|
|
65193
|
+
"LANG",
|
|
65194
|
+
"LC_ALL",
|
|
65195
|
+
"LC_CTYPE",
|
|
65196
|
+
"TMPDIR",
|
|
65197
|
+
"XDG_CONFIG_HOME",
|
|
65198
|
+
"XDG_DATA_HOME",
|
|
65199
|
+
"XDG_CACHE_HOME",
|
|
65200
|
+
"XDG_RUNTIME_DIR",
|
|
65201
|
+
"EDITOR",
|
|
65202
|
+
"VISUAL",
|
|
65203
|
+
"PAGER",
|
|
65204
|
+
"CLICOLOR",
|
|
65205
|
+
"CLICOLOR_FORCE",
|
|
65206
|
+
"NO_COLOR",
|
|
65207
|
+
"FORCE_COLOR",
|
|
65208
|
+
// Development toolchains
|
|
65209
|
+
"NODE_PATH",
|
|
65210
|
+
"NVM_DIR",
|
|
65211
|
+
"NPM_CONFIG_PREFIX",
|
|
65212
|
+
"PNPM_HOME",
|
|
65213
|
+
"GOPATH",
|
|
65214
|
+
"GOROOT",
|
|
65215
|
+
"CARGO_HOME",
|
|
65216
|
+
"RUSTUP_HOME",
|
|
65217
|
+
"PYENV_ROOT",
|
|
65218
|
+
"VIRTUAL_ENV",
|
|
65219
|
+
"CONDA_DEFAULT_ENV",
|
|
65220
|
+
"CONDA_PREFIX",
|
|
65221
|
+
"JAVA_HOME",
|
|
65222
|
+
"ANDROID_HOME",
|
|
65223
|
+
"ANDROID_SDK_ROOT",
|
|
65224
|
+
"RUBY_VERSION",
|
|
65225
|
+
"GEM_HOME",
|
|
65226
|
+
"RBENV_ROOT"
|
|
65227
|
+
]);
|
|
65228
|
+
function getSafeToolEnv(sourceEnv = process.env) {
|
|
65229
|
+
const env2 = { TERM: "dumb", GG_CODER: "true" };
|
|
65230
|
+
for (const key of ENV_ALLOWLIST) {
|
|
65231
|
+
const value = sourceEnv[key];
|
|
65232
|
+
if (value)
|
|
65233
|
+
env2[key] = value;
|
|
65234
|
+
}
|
|
65235
|
+
return env2;
|
|
65236
|
+
}
|
|
65237
|
+
|
|
65185
65238
|
// ../ggcoder/dist/core/process-manager.js
|
|
65186
65239
|
var BG_DIR = path3.join(os2.homedir(), ".gg", "bg");
|
|
65240
|
+
function stopProcessTree(pid, ops = {}) {
|
|
65241
|
+
if ((ops.platform ?? process.platform) === "win32") {
|
|
65242
|
+
(ops.spawnSync ?? spawnSync)("taskkill", ["/pid", String(pid), "/T", "/F"], {
|
|
65243
|
+
stdio: "ignore"
|
|
65244
|
+
});
|
|
65245
|
+
return;
|
|
65246
|
+
}
|
|
65247
|
+
(ops.killProcessTree ?? killProcessTree)(pid);
|
|
65248
|
+
}
|
|
65187
65249
|
var ProcessManager = class {
|
|
65250
|
+
ops;
|
|
65188
65251
|
processes = /* @__PURE__ */ new Map();
|
|
65189
65252
|
children = /* @__PURE__ */ new Map();
|
|
65253
|
+
constructor(ops = {}) {
|
|
65254
|
+
this.ops = ops;
|
|
65255
|
+
}
|
|
65190
65256
|
async start(command, cwd2) {
|
|
65191
65257
|
await fsp.mkdir(BG_DIR, { recursive: true });
|
|
65192
65258
|
const id2 = crypto2.randomUUID().slice(0, 8);
|
|
@@ -65196,7 +65262,7 @@ var ProcessManager = class {
|
|
|
65196
65262
|
cwd: cwd2,
|
|
65197
65263
|
detached: true,
|
|
65198
65264
|
stdio: ["ignore", fd3, fd3],
|
|
65199
|
-
env:
|
|
65265
|
+
env: getSafeToolEnv()
|
|
65200
65266
|
});
|
|
65201
65267
|
fs.closeSync(fd3);
|
|
65202
65268
|
const pid = child.pid;
|
|
@@ -65255,10 +65321,10 @@ var ProcessManager = class {
|
|
|
65255
65321
|
return `Process ${id2} already exited (code ${proc.exitCode})`;
|
|
65256
65322
|
}
|
|
65257
65323
|
try {
|
|
65258
|
-
process.kill(-proc.pid, "SIGTERM");
|
|
65324
|
+
(this.ops.kill ?? process.kill)(-proc.pid, "SIGTERM");
|
|
65259
65325
|
} catch {
|
|
65260
65326
|
try {
|
|
65261
|
-
process.kill(proc.pid, "SIGTERM");
|
|
65327
|
+
(this.ops.kill ?? process.kill)(proc.pid, "SIGTERM");
|
|
65262
65328
|
} catch {
|
|
65263
65329
|
return `Process ${id2} already exited`;
|
|
65264
65330
|
}
|
|
@@ -65271,7 +65337,7 @@ var ProcessManager = class {
|
|
|
65271
65337
|
});
|
|
65272
65338
|
});
|
|
65273
65339
|
if (!exited) {
|
|
65274
|
-
|
|
65340
|
+
stopProcessTree(proc.pid, this.ops);
|
|
65275
65341
|
}
|
|
65276
65342
|
return `Process ${id2} stopped`;
|
|
65277
65343
|
}
|
|
@@ -65287,7 +65353,7 @@ var ProcessManager = class {
|
|
|
65287
65353
|
shutdownAll() {
|
|
65288
65354
|
for (const [id2, proc] of this.processes) {
|
|
65289
65355
|
if (this.children.has(id2)) {
|
|
65290
|
-
|
|
65356
|
+
stopProcessTree(proc.pid, this.ops);
|
|
65291
65357
|
proc.exitCode = proc.exitCode ?? 1;
|
|
65292
65358
|
this.children.delete(id2);
|
|
65293
65359
|
}
|
|
@@ -66826,55 +66892,6 @@ ${failures.length} ${noun} skipped \u2014 re-issue ONLY these (the rest are alre
|
|
|
66826
66892
|
init_esm_shims();
|
|
66827
66893
|
var DEFAULT_TIMEOUT = 12e4;
|
|
66828
66894
|
var MAX_OUTPUT_BYTES = 10 * 1024 * 1024;
|
|
66829
|
-
var ENV_ALLOWLIST = /* @__PURE__ */ new Set([
|
|
66830
|
-
"PATH",
|
|
66831
|
-
"HOME",
|
|
66832
|
-
"USER",
|
|
66833
|
-
"LOGNAME",
|
|
66834
|
-
"SHELL",
|
|
66835
|
-
"LANG",
|
|
66836
|
-
"LC_ALL",
|
|
66837
|
-
"LC_CTYPE",
|
|
66838
|
-
"TMPDIR",
|
|
66839
|
-
"XDG_CONFIG_HOME",
|
|
66840
|
-
"XDG_DATA_HOME",
|
|
66841
|
-
"XDG_CACHE_HOME",
|
|
66842
|
-
"XDG_RUNTIME_DIR",
|
|
66843
|
-
"EDITOR",
|
|
66844
|
-
"VISUAL",
|
|
66845
|
-
"PAGER",
|
|
66846
|
-
"CLICOLOR",
|
|
66847
|
-
"CLICOLOR_FORCE",
|
|
66848
|
-
"NO_COLOR",
|
|
66849
|
-
"FORCE_COLOR",
|
|
66850
|
-
// Development toolchains
|
|
66851
|
-
"NODE_PATH",
|
|
66852
|
-
"NVM_DIR",
|
|
66853
|
-
"NPM_CONFIG_PREFIX",
|
|
66854
|
-
"PNPM_HOME",
|
|
66855
|
-
"GOPATH",
|
|
66856
|
-
"GOROOT",
|
|
66857
|
-
"CARGO_HOME",
|
|
66858
|
-
"RUSTUP_HOME",
|
|
66859
|
-
"PYENV_ROOT",
|
|
66860
|
-
"VIRTUAL_ENV",
|
|
66861
|
-
"CONDA_DEFAULT_ENV",
|
|
66862
|
-
"CONDA_PREFIX",
|
|
66863
|
-
"JAVA_HOME",
|
|
66864
|
-
"ANDROID_HOME",
|
|
66865
|
-
"ANDROID_SDK_ROOT",
|
|
66866
|
-
"RUBY_VERSION",
|
|
66867
|
-
"GEM_HOME",
|
|
66868
|
-
"RBENV_ROOT"
|
|
66869
|
-
]);
|
|
66870
|
-
function getSafeEnv() {
|
|
66871
|
-
const env2 = { TERM: "dumb", GG_CODER: "true" };
|
|
66872
|
-
for (const key of ENV_ALLOWLIST) {
|
|
66873
|
-
if (process.env[key])
|
|
66874
|
-
env2[key] = process.env[key];
|
|
66875
|
-
}
|
|
66876
|
-
return env2;
|
|
66877
|
-
}
|
|
66878
66895
|
var BashParams = external_exports.object({
|
|
66879
66896
|
command: external_exports.string().describe("The bash command to execute"),
|
|
66880
66897
|
timeout: external_exports.number().int().min(1e3).optional().describe("Timeout in milliseconds (default: 120000)"),
|
|
@@ -66904,7 +66921,7 @@ Use task_output with id="${result.id}" to read output.`;
|
|
|
66904
66921
|
cwd: cwd2,
|
|
66905
66922
|
detached: true,
|
|
66906
66923
|
stdio: ["ignore", "pipe", "pipe"],
|
|
66907
|
-
env:
|
|
66924
|
+
env: getSafeToolEnv()
|
|
66908
66925
|
});
|
|
66909
66926
|
const chunks = [];
|
|
66910
66927
|
let totalBytes = 0;
|
|
@@ -67043,6 +67060,7 @@ var GrepParams = external_exports.object({
|
|
|
67043
67060
|
var DEFAULT_MAX_RESULTS = 50;
|
|
67044
67061
|
var MAX_LINE_LENGTH = 500;
|
|
67045
67062
|
var MAX_FILE_SIZE = 10 * 1024 * 1024;
|
|
67063
|
+
var MAX_CANDIDATE_FILES = 1e4;
|
|
67046
67064
|
function createGrepTool(cwd2, ops = localOperations) {
|
|
67047
67065
|
return {
|
|
67048
67066
|
name: "grep",
|
|
@@ -67071,12 +67089,22 @@ function createGrepTool(cwd2, ops = localOperations) {
|
|
|
67071
67089
|
onlyFiles: true,
|
|
67072
67090
|
ignore: ["**/node_modules/**", "**/.git/**"],
|
|
67073
67091
|
suppressErrors: true,
|
|
67074
|
-
followSymbolicLinks: false
|
|
67092
|
+
followSymbolicLinks: false,
|
|
67093
|
+
objectMode: true,
|
|
67094
|
+
stats: false
|
|
67075
67095
|
});
|
|
67076
67096
|
const results = [];
|
|
67077
|
-
|
|
67097
|
+
let scannedCandidates = 0;
|
|
67098
|
+
let candidateLimitHit = false;
|
|
67099
|
+
for (const item of entries) {
|
|
67078
67100
|
if (results.length >= maxResults)
|
|
67079
67101
|
break;
|
|
67102
|
+
if (scannedCandidates >= MAX_CANDIDATE_FILES) {
|
|
67103
|
+
candidateLimitHit = true;
|
|
67104
|
+
break;
|
|
67105
|
+
}
|
|
67106
|
+
scannedCandidates += 1;
|
|
67107
|
+
const entry = typeof item === "string" ? item : item.path;
|
|
67080
67108
|
const ext = path11.extname(entry).toLowerCase();
|
|
67081
67109
|
if (BINARY_EXTENSIONS.has(ext))
|
|
67082
67110
|
continue;
|
|
@@ -67084,7 +67112,7 @@ function createGrepTool(cwd2, ops = localOperations) {
|
|
|
67084
67112
|
const fileResults = await searchFile(filePath, regex2, cwd2, maxResults - results.length, ops);
|
|
67085
67113
|
results.push(...fileResults);
|
|
67086
67114
|
}
|
|
67087
|
-
return formatResults(results, maxResults);
|
|
67115
|
+
return formatResults(results, maxResults, candidateLimitHit);
|
|
67088
67116
|
}
|
|
67089
67117
|
};
|
|
67090
67118
|
}
|
|
@@ -67129,9 +67157,10 @@ async function searchFile(filePath, regex2, cwd2, maxResults, ops) {
|
|
|
67129
67157
|
}
|
|
67130
67158
|
return results;
|
|
67131
67159
|
}
|
|
67132
|
-
function formatResults(results, maxResults) {
|
|
67133
|
-
if (results.length === 0)
|
|
67134
|
-
return "No matches found.";
|
|
67160
|
+
function formatResults(results, maxResults, candidateLimitHit = false) {
|
|
67161
|
+
if (results.length === 0) {
|
|
67162
|
+
return candidateLimitHit ? `No matches found. [Stopped after scanning ${MAX_CANDIDATE_FILES} candidate files]` : "No matches found.";
|
|
67163
|
+
}
|
|
67135
67164
|
let output = results.join("\n");
|
|
67136
67165
|
if (results.length >= maxResults) {
|
|
67137
67166
|
output += `
|
|
@@ -67141,6 +67170,10 @@ function formatResults(results, maxResults) {
|
|
|
67141
67170
|
output += `
|
|
67142
67171
|
|
|
67143
67172
|
${results.length} match(es) found`;
|
|
67173
|
+
}
|
|
67174
|
+
if (candidateLimitHit) {
|
|
67175
|
+
output += `
|
|
67176
|
+
[Stopped after scanning ${MAX_CANDIDATE_FILES} candidate files]`;
|
|
67144
67177
|
}
|
|
67145
67178
|
return output;
|
|
67146
67179
|
}
|
|
@@ -67606,8 +67639,19 @@ function createWebFetchTool() {
|
|
|
67606
67639
|
"User-Agent": "Mozilla/5.0 (compatible; GGCoder/1.0)",
|
|
67607
67640
|
Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
|
67608
67641
|
},
|
|
67642
|
+
redirect: "manual",
|
|
67609
67643
|
signal: AbortSignal.timeout(3e4)
|
|
67610
67644
|
});
|
|
67645
|
+
if (response.status >= 300 && response.status < 400) {
|
|
67646
|
+
const location = response.headers.get("location");
|
|
67647
|
+
if (!location)
|
|
67648
|
+
return `Error: HTTP ${response.status} redirect without Location header`;
|
|
67649
|
+
const redirectUrl = new URL(location, args.url).toString();
|
|
67650
|
+
if (isBlockedUrl(redirectUrl)) {
|
|
67651
|
+
return "Error: Redirect blocked \u2014 target URL is private/internal or unsupported.";
|
|
67652
|
+
}
|
|
67653
|
+
return `Error: Redirects are not followed automatically. Safe redirect target: ${redirectUrl}`;
|
|
67654
|
+
}
|
|
67611
67655
|
if (!response.ok) {
|
|
67612
67656
|
return `Error: HTTP ${response.status} ${response.statusText}`;
|
|
67613
67657
|
}
|
|
@@ -80412,6 +80456,8 @@ function unquoteGitPath(filePath) {
|
|
|
80412
80456
|
}
|
|
80413
80457
|
}
|
|
80414
80458
|
async function listCandidateFiles(cwd2) {
|
|
80459
|
+
if (isUnboundedRepoMapRoot(cwd2))
|
|
80460
|
+
return [];
|
|
80415
80461
|
const ignorePatterns = await loadGitignore2(cwd2);
|
|
80416
80462
|
const ig = (0, import_ignore.default)().add(ignorePatterns);
|
|
80417
80463
|
const entries = await (0, import_fast_glob.default)("**/*", {
|
|
@@ -80424,6 +80470,11 @@ async function listCandidateFiles(cwd2) {
|
|
|
80424
80470
|
});
|
|
80425
80471
|
return entries.filter((entry) => !BINARY_EXTENSIONS2.has(path27.extname(entry).toLowerCase())).filter((entry) => !ig.ignores(entry)).sort((a, b) => a.localeCompare(b));
|
|
80426
80472
|
}
|
|
80473
|
+
function isUnboundedRepoMapRoot(cwd2) {
|
|
80474
|
+
const resolvedCwd = path27.resolve(cwd2);
|
|
80475
|
+
const home = process.env.HOME;
|
|
80476
|
+
return resolvedCwd === path27.parse(resolvedCwd).root || !!home && resolvedCwd === path27.resolve(home);
|
|
80477
|
+
}
|
|
80427
80478
|
async function loadGitignore2(cwd2) {
|
|
80428
80479
|
const content = await fs26.readFile(path27.join(cwd2, ".gitignore"), "utf-8").catch(() => "");
|
|
80429
80480
|
return content.split("\n").map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#"));
|
|
@@ -80477,7 +80528,7 @@ function extractSignatures(content, maxSignatures) {
|
|
|
80477
80528
|
return unique(signatures).slice(0, maxSignatures);
|
|
80478
80529
|
}
|
|
80479
80530
|
function stripTemplateLiterals(content) {
|
|
80480
|
-
return content.replace(/`(?:\\.|[
|
|
80531
|
+
return content.replace(/`(?:\\.|[^`\\])*`/gs, "``");
|
|
80481
80532
|
}
|
|
80482
80533
|
function unique(values) {
|
|
80483
80534
|
return [...new Set(values.filter((value) => value.length > 0))];
|
|
@@ -81604,15 +81655,15 @@ import readline2 from "readline";
|
|
|
81604
81655
|
init_esm_shims();
|
|
81605
81656
|
var import_react75 = __toESM(require_react(), 1);
|
|
81606
81657
|
|
|
81607
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
81658
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/index.js
|
|
81608
81659
|
init_esm_shims();
|
|
81609
81660
|
|
|
81610
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
81661
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render.js
|
|
81611
81662
|
init_esm_shims();
|
|
81612
81663
|
import { Stream as Stream3 } from "stream";
|
|
81613
81664
|
import process14 from "process";
|
|
81614
81665
|
|
|
81615
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
81666
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/ink.js
|
|
81616
81667
|
init_esm_shims();
|
|
81617
81668
|
var import_react16 = __toESM(require_react(), 1);
|
|
81618
81669
|
import process13 from "process";
|
|
@@ -81989,7 +82040,7 @@ function autoBind(self, { include, exclude } = {}) {
|
|
|
81989
82040
|
return self;
|
|
81990
82041
|
}
|
|
81991
82042
|
|
|
81992
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
82043
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/ink.js
|
|
81993
82044
|
var import_signal_exit2 = __toESM(require_signal_exit(), 1);
|
|
81994
82045
|
|
|
81995
82046
|
// ../../node_modules/.pnpm/patch-console@2.0.0/node_modules/patch-console/dist/index.js
|
|
@@ -82039,7 +82090,7 @@ var patchConsole = (callback) => {
|
|
|
82039
82090
|
};
|
|
82040
82091
|
var dist_default = patchConsole;
|
|
82041
82092
|
|
|
82042
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
82093
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/ink.js
|
|
82043
82094
|
var import_constants4 = __toESM(require_constants(), 1);
|
|
82044
82095
|
|
|
82045
82096
|
// ../../node_modules/.pnpm/yoga-layout@3.2.1/node_modules/yoga-layout/dist/src/index.js
|
|
@@ -84322,7 +84373,7 @@ function wrapAnsi(string4, columns, options2) {
|
|
|
84322
84373
|
return String(string4).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs(line), columns, options2)).join("\n");
|
|
84323
84374
|
}
|
|
84324
84375
|
|
|
84325
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84376
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/utils.js
|
|
84326
84377
|
init_esm_shims();
|
|
84327
84378
|
|
|
84328
84379
|
// ../../node_modules/.pnpm/terminal-size@4.0.1/node_modules/terminal-size/index.js
|
|
@@ -84432,7 +84483,7 @@ var resize = () => {
|
|
|
84432
84483
|
}
|
|
84433
84484
|
};
|
|
84434
84485
|
|
|
84435
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84486
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/utils.js
|
|
84436
84487
|
var getWindowSize = (stdout) => {
|
|
84437
84488
|
const { columns, rows } = stdout;
|
|
84438
84489
|
if (columns && rows) {
|
|
@@ -84445,7 +84496,7 @@ var getWindowSize = (stdout) => {
|
|
|
84445
84496
|
};
|
|
84446
84497
|
};
|
|
84447
84498
|
|
|
84448
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84499
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/reconciler.js
|
|
84449
84500
|
init_esm_shims();
|
|
84450
84501
|
var import_react_reconciler = __toESM(require_react_reconciler(), 1);
|
|
84451
84502
|
var import_constants3 = __toESM(require_constants(), 1);
|
|
@@ -84453,10 +84504,10 @@ var Scheduler = __toESM(require_scheduler(), 1);
|
|
|
84453
84504
|
import process6 from "process";
|
|
84454
84505
|
var import_react = __toESM(require_react(), 1);
|
|
84455
84506
|
|
|
84456
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84507
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/dom.js
|
|
84457
84508
|
init_esm_shims();
|
|
84458
84509
|
|
|
84459
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84510
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/measure-text.js
|
|
84460
84511
|
init_esm_shims();
|
|
84461
84512
|
|
|
84462
84513
|
// ../../node_modules/.pnpm/widest-line@6.0.0/node_modules/widest-line/index.js
|
|
@@ -84597,7 +84648,7 @@ function widestLine(string4) {
|
|
|
84597
84648
|
return lineWidth;
|
|
84598
84649
|
}
|
|
84599
84650
|
|
|
84600
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84651
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/measure-text.js
|
|
84601
84652
|
var cache = /* @__PURE__ */ new Map();
|
|
84602
84653
|
var measureText = (text) => {
|
|
84603
84654
|
if (text.length === 0) {
|
|
@@ -84618,7 +84669,7 @@ var measureText = (text) => {
|
|
|
84618
84669
|
};
|
|
84619
84670
|
var measure_text_default = measureText;
|
|
84620
84671
|
|
|
84621
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
84672
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/wrap-text.js
|
|
84622
84673
|
init_esm_shims();
|
|
84623
84674
|
|
|
84624
84675
|
// ../../node_modules/.pnpm/cli-truncate@6.0.0/node_modules/cli-truncate/index.js
|
|
@@ -85601,7 +85652,7 @@ function cliTruncate(text, columns, options2 = {}) {
|
|
|
85601
85652
|
throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${position}`);
|
|
85602
85653
|
}
|
|
85603
85654
|
|
|
85604
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
85655
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/wrap-text.js
|
|
85605
85656
|
var cache2 = {};
|
|
85606
85657
|
var wrapText = (text, maxWidth, wrapType) => {
|
|
85607
85658
|
const cacheKey = text + String(maxWidth) + String(wrapType);
|
|
@@ -85638,13 +85689,13 @@ var wrapText = (text, maxWidth, wrapType) => {
|
|
|
85638
85689
|
};
|
|
85639
85690
|
var wrap_text_default = wrapText;
|
|
85640
85691
|
|
|
85641
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
85692
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/squash-text-nodes.js
|
|
85642
85693
|
init_esm_shims();
|
|
85643
85694
|
|
|
85644
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
85695
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/sanitize-ansi.js
|
|
85645
85696
|
init_esm_shims();
|
|
85646
85697
|
|
|
85647
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
85698
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/ansi-tokenizer.js
|
|
85648
85699
|
init_esm_shims();
|
|
85649
85700
|
var bellCharacter = "\x07";
|
|
85650
85701
|
var escapeCharacter = "\x1B";
|
|
@@ -85952,7 +86003,7 @@ var tokenizeAnsi2 = (text) => {
|
|
|
85952
86003
|
return tokens;
|
|
85953
86004
|
};
|
|
85954
86005
|
|
|
85955
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86006
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/sanitize-ansi.js
|
|
85956
86007
|
var sgrParametersRegex = /^[\d:;]*$/;
|
|
85957
86008
|
var sanitizeAnsi = (text) => {
|
|
85958
86009
|
if (!hasAnsiControlCharacters(text)) {
|
|
@@ -85972,7 +86023,7 @@ var sanitizeAnsi = (text) => {
|
|
|
85972
86023
|
};
|
|
85973
86024
|
var sanitize_ansi_default = sanitizeAnsi;
|
|
85974
86025
|
|
|
85975
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86026
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/squash-text-nodes.js
|
|
85976
86027
|
var squashTextNodes = (node) => {
|
|
85977
86028
|
let text = "";
|
|
85978
86029
|
for (let index = 0; index < node.childNodes.length; index++) {
|
|
@@ -85997,7 +86048,7 @@ var squashTextNodes = (node) => {
|
|
|
85997
86048
|
};
|
|
85998
86049
|
var squash_text_nodes_default = squashTextNodes;
|
|
85999
86050
|
|
|
86000
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86051
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/dom.js
|
|
86001
86052
|
var createNode = (nodeName) => {
|
|
86002
86053
|
const node = {
|
|
86003
86054
|
nodeName,
|
|
@@ -86121,7 +86172,7 @@ var emitLayoutListeners = (rootNode) => {
|
|
|
86121
86172
|
}
|
|
86122
86173
|
};
|
|
86123
86174
|
|
|
86124
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86175
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/styles.js
|
|
86125
86176
|
init_esm_shims();
|
|
86126
86177
|
var positionEdges = [
|
|
86127
86178
|
["top", src_default.EDGE_TOP],
|
|
@@ -86409,7 +86460,7 @@ var styles2 = (node, style = {}, currentStyle = style) => {
|
|
|
86409
86460
|
};
|
|
86410
86461
|
var styles_default = styles2;
|
|
86411
86462
|
|
|
86412
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86463
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/reconciler.js
|
|
86413
86464
|
if (process6.env["DEV"] === "true") {
|
|
86414
86465
|
let isDevtoolsInstalled = false;
|
|
86415
86466
|
try {
|
|
@@ -86418,7 +86469,7 @@ if (process6.env["DEV"] === "true") {
|
|
|
86418
86469
|
} catch {
|
|
86419
86470
|
}
|
|
86420
86471
|
if (isDevtoolsInstalled) {
|
|
86421
|
-
await import("./devtools-
|
|
86472
|
+
await import("./devtools-526EIB4G.js");
|
|
86422
86473
|
}
|
|
86423
86474
|
}
|
|
86424
86475
|
var diff = (before, after) => {
|
|
@@ -86690,10 +86741,10 @@ var reconciler_default = (0, import_react_reconciler.default)({
|
|
|
86690
86741
|
rendererVersion: packageInfo.version
|
|
86691
86742
|
});
|
|
86692
86743
|
|
|
86693
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86744
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/renderer.js
|
|
86694
86745
|
init_esm_shims();
|
|
86695
86746
|
|
|
86696
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86747
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render-node-to-output.js
|
|
86697
86748
|
init_esm_shims();
|
|
86698
86749
|
|
|
86699
86750
|
// ../../node_modules/.pnpm/indent-string@5.0.0/node_modules/indent-string/index.js
|
|
@@ -86730,14 +86781,14 @@ function indentString(string4, count = 1, options2 = {}) {
|
|
|
86730
86781
|
return string4.replace(regex2, indent.repeat(count));
|
|
86731
86782
|
}
|
|
86732
86783
|
|
|
86733
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86784
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/get-max-width.js
|
|
86734
86785
|
init_esm_shims();
|
|
86735
86786
|
var getMaxWidth = (yogaNode) => {
|
|
86736
86787
|
return yogaNode.getComputedWidth() - yogaNode.getComputedPadding(src_default.EDGE_LEFT) - yogaNode.getComputedPadding(src_default.EDGE_RIGHT) - yogaNode.getComputedBorder(src_default.EDGE_LEFT) - yogaNode.getComputedBorder(src_default.EDGE_RIGHT);
|
|
86737
86788
|
};
|
|
86738
86789
|
var get_max_width_default = getMaxWidth;
|
|
86739
86790
|
|
|
86740
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86791
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render-border.js
|
|
86741
86792
|
init_esm_shims();
|
|
86742
86793
|
|
|
86743
86794
|
// ../../node_modules/.pnpm/cli-boxes@4.0.1/node_modules/cli-boxes/index.js
|
|
@@ -86830,7 +86881,7 @@ var boxes_default = {
|
|
|
86830
86881
|
// ../../node_modules/.pnpm/cli-boxes@4.0.1/node_modules/cli-boxes/index.js
|
|
86831
86882
|
var cli_boxes_default = boxes_default;
|
|
86832
86883
|
|
|
86833
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86884
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/colorize.js
|
|
86834
86885
|
init_esm_shims();
|
|
86835
86886
|
var rgbRegex = /^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/;
|
|
86836
86887
|
var ansiRegex2 = /^ansi256\(\s?(\d+)\s?\)$/;
|
|
@@ -86873,7 +86924,7 @@ var colorize = (str2, color, type) => {
|
|
|
86873
86924
|
};
|
|
86874
86925
|
var colorize_default = colorize;
|
|
86875
86926
|
|
|
86876
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86927
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render-border.js
|
|
86877
86928
|
var stylePiece = (segment, fg2, bg, dim) => {
|
|
86878
86929
|
let styled = colorize_default(segment, fg2, "foreground");
|
|
86879
86930
|
styled = colorize_default(styled, bg, "background");
|
|
@@ -86944,7 +86995,7 @@ var renderBorder = (x, y, node, output) => {
|
|
|
86944
86995
|
};
|
|
86945
86996
|
var render_border_default = renderBorder;
|
|
86946
86997
|
|
|
86947
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
86998
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render-background.js
|
|
86948
86999
|
init_esm_shims();
|
|
86949
87000
|
var renderBackground = (x, y, node, output) => {
|
|
86950
87001
|
if (!node.style.backgroundColor) {
|
|
@@ -86968,7 +87019,7 @@ var renderBackground = (x, y, node, output) => {
|
|
|
86968
87019
|
};
|
|
86969
87020
|
var render_background_default = renderBackground;
|
|
86970
87021
|
|
|
86971
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87022
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render-node-to-output.js
|
|
86972
87023
|
var applyPaddingToText = (node, text) => {
|
|
86973
87024
|
const yogaNode = node.childNodes[0]?.yogaNode;
|
|
86974
87025
|
if (yogaNode) {
|
|
@@ -87076,7 +87127,7 @@ var renderNodeToOutput = (node, output, options2) => {
|
|
|
87076
87127
|
};
|
|
87077
87128
|
var render_node_to_output_default = renderNodeToOutput;
|
|
87078
87129
|
|
|
87079
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87130
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/output.js
|
|
87080
87131
|
init_esm_shims();
|
|
87081
87132
|
|
|
87082
87133
|
// ../../node_modules/.pnpm/@alcalzone+ansi-tokenize@0.3.0/node_modules/@alcalzone/ansi-tokenize/build/index.js
|
|
@@ -87393,7 +87444,7 @@ function tokenize4(str2, endChar = Number.POSITIVE_INFINITY) {
|
|
|
87393
87444
|
return ret;
|
|
87394
87445
|
}
|
|
87395
87446
|
|
|
87396
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87447
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/output.js
|
|
87397
87448
|
var OutputCaches = class {
|
|
87398
87449
|
widths = /* @__PURE__ */ new Map();
|
|
87399
87450
|
blockWidths = /* @__PURE__ */ new Map();
|
|
@@ -87581,7 +87632,7 @@ var Output = class {
|
|
|
87581
87632
|
}
|
|
87582
87633
|
};
|
|
87583
87634
|
|
|
87584
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87635
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/renderer.js
|
|
87585
87636
|
var renderer = (node, isScreenReaderEnabled) => {
|
|
87586
87637
|
if (node.yogaNode) {
|
|
87587
87638
|
if (isScreenReaderEnabled) {
|
|
@@ -87637,7 +87688,7 @@ var renderer = (node, isScreenReaderEnabled) => {
|
|
|
87637
87688
|
};
|
|
87638
87689
|
var renderer_default = renderer;
|
|
87639
87690
|
|
|
87640
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87691
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/cursor-helpers.js
|
|
87641
87692
|
init_esm_shims();
|
|
87642
87693
|
var showCursorEscape = "\x1B[?25h";
|
|
87643
87694
|
var hideCursorEscape = "\x1B[?25l";
|
|
@@ -87669,7 +87720,7 @@ var buildReturnToBottomPrefix = (cursorWasShown, previousLineCount, previousCurs
|
|
|
87669
87720
|
return hideCursorEscape + buildReturnToBottom(previousLineCount, previousCursorPosition);
|
|
87670
87721
|
};
|
|
87671
87722
|
|
|
87672
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87723
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/log-update.js
|
|
87673
87724
|
init_esm_shims();
|
|
87674
87725
|
|
|
87675
87726
|
// ../../node_modules/.pnpm/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
@@ -87718,7 +87769,7 @@ cliCursor.toggle = (force, writableStream) => {
|
|
|
87718
87769
|
};
|
|
87719
87770
|
var cli_cursor_default = cliCursor;
|
|
87720
87771
|
|
|
87721
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
87772
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/log-update.js
|
|
87722
87773
|
var visibleLineCount = (lines, str2) => str2.endsWith("\n") ? lines.length - 1 : lines.length;
|
|
87723
87774
|
var createStandard = (stream2, { showCursor = false } = {}) => {
|
|
87724
87775
|
let previousLineCount = 0;
|
|
@@ -87948,7 +87999,7 @@ var create2 = (stream2, { showCursor = false, incremental = false } = {}) => {
|
|
|
87948
87999
|
var logUpdate = { create: create2 };
|
|
87949
88000
|
var log_update_default = logUpdate;
|
|
87950
88001
|
|
|
87951
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88002
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/write-synchronized.js
|
|
87952
88003
|
init_esm_shims();
|
|
87953
88004
|
var bsu = "\x1B[?2026h";
|
|
87954
88005
|
var esu = "\x1B[?2026l";
|
|
@@ -87956,18 +88007,18 @@ function shouldSynchronize(stream2, interactive) {
|
|
|
87956
88007
|
return "isTTY" in stream2 && stream2.isTTY && (interactive ?? !is_in_ci_default);
|
|
87957
88008
|
}
|
|
87958
88009
|
|
|
87959
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88010
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/instances.js
|
|
87960
88011
|
init_esm_shims();
|
|
87961
88012
|
var instances = /* @__PURE__ */ new WeakMap();
|
|
87962
88013
|
var instances_default = instances;
|
|
87963
88014
|
|
|
87964
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88015
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/App.js
|
|
87965
88016
|
init_esm_shims();
|
|
87966
88017
|
var import_react15 = __toESM(require_react(), 1);
|
|
87967
88018
|
import { EventEmitter as EventEmitter2 } from "events";
|
|
87968
88019
|
import process12 from "process";
|
|
87969
88020
|
|
|
87970
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88021
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/input-parser.js
|
|
87971
88022
|
init_esm_shims();
|
|
87972
88023
|
var escape2 = "\x1B";
|
|
87973
88024
|
var pasteStart = "\x1B[200~";
|
|
@@ -88153,7 +88204,7 @@ var createInputParser = () => {
|
|
|
88153
88204
|
};
|
|
88154
88205
|
};
|
|
88155
88206
|
|
|
88156
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88207
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/AppContext.js
|
|
88157
88208
|
init_esm_shims();
|
|
88158
88209
|
var import_react2 = __toESM(require_react(), 1);
|
|
88159
88210
|
var defaultValue = {
|
|
@@ -88166,7 +88217,7 @@ var AppContext = (0, import_react2.createContext)(defaultValue);
|
|
|
88166
88217
|
AppContext.displayName = "InternalAppContext";
|
|
88167
88218
|
var AppContext_default = AppContext;
|
|
88168
88219
|
|
|
88169
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88220
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/StdinContext.js
|
|
88170
88221
|
init_esm_shims();
|
|
88171
88222
|
var import_react3 = __toESM(require_react(), 1);
|
|
88172
88223
|
import { EventEmitter } from "events";
|
|
@@ -88186,7 +88237,7 @@ var StdinContext = (0, import_react3.createContext)({
|
|
|
88186
88237
|
StdinContext.displayName = "InternalStdinContext";
|
|
88187
88238
|
var StdinContext_default = StdinContext;
|
|
88188
88239
|
|
|
88189
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88240
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/StdoutContext.js
|
|
88190
88241
|
init_esm_shims();
|
|
88191
88242
|
var import_react4 = __toESM(require_react(), 1);
|
|
88192
88243
|
import process10 from "process";
|
|
@@ -88198,7 +88249,7 @@ var StdoutContext = (0, import_react4.createContext)({
|
|
|
88198
88249
|
StdoutContext.displayName = "InternalStdoutContext";
|
|
88199
88250
|
var StdoutContext_default = StdoutContext;
|
|
88200
88251
|
|
|
88201
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88252
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/StderrContext.js
|
|
88202
88253
|
init_esm_shims();
|
|
88203
88254
|
var import_react5 = __toESM(require_react(), 1);
|
|
88204
88255
|
import process11 from "process";
|
|
@@ -88210,7 +88261,7 @@ var StderrContext = (0, import_react5.createContext)({
|
|
|
88210
88261
|
StderrContext.displayName = "InternalStderrContext";
|
|
88211
88262
|
var StderrContext_default = StderrContext;
|
|
88212
88263
|
|
|
88213
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88264
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/FocusContext.js
|
|
88214
88265
|
init_esm_shims();
|
|
88215
88266
|
var import_react6 = __toESM(require_react(), 1);
|
|
88216
88267
|
var FocusContext = (0, import_react6.createContext)({
|
|
@@ -88237,7 +88288,7 @@ var FocusContext = (0, import_react6.createContext)({
|
|
|
88237
88288
|
FocusContext.displayName = "InternalFocusContext";
|
|
88238
88289
|
var FocusContext_default = FocusContext;
|
|
88239
88290
|
|
|
88240
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88291
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/AnimationContext.js
|
|
88241
88292
|
init_esm_shims();
|
|
88242
88293
|
var import_react7 = __toESM(require_react(), 1);
|
|
88243
88294
|
var animationContext = (0, import_react7.createContext)({
|
|
@@ -88253,7 +88304,7 @@ var animationContext = (0, import_react7.createContext)({
|
|
|
88253
88304
|
animationContext.displayName = "InternalAnimationContext";
|
|
88254
88305
|
var AnimationContext_default = animationContext;
|
|
88255
88306
|
|
|
88256
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88307
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/CursorContext.js
|
|
88257
88308
|
init_esm_shims();
|
|
88258
88309
|
var import_react8 = __toESM(require_react(), 1);
|
|
88259
88310
|
var CursorContext = (0, import_react8.createContext)({
|
|
@@ -88263,11 +88314,11 @@ var CursorContext = (0, import_react8.createContext)({
|
|
|
88263
88314
|
CursorContext.displayName = "InternalCursorContext";
|
|
88264
88315
|
var CursorContext_default = CursorContext;
|
|
88265
88316
|
|
|
88266
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88317
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/ErrorBoundary.js
|
|
88267
88318
|
init_esm_shims();
|
|
88268
88319
|
var import_react14 = __toESM(require_react(), 1);
|
|
88269
88320
|
|
|
88270
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88321
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/ErrorOverview.js
|
|
88271
88322
|
init_esm_shims();
|
|
88272
88323
|
var import_react13 = __toESM(require_react(), 1);
|
|
88273
88324
|
var import_stack_utils = __toESM(require_stack_utils(), 1);
|
|
@@ -88310,23 +88361,23 @@ var codeExcerpt = (source, line, options2 = {}) => {
|
|
|
88310
88361
|
};
|
|
88311
88362
|
var dist_default3 = codeExcerpt;
|
|
88312
88363
|
|
|
88313
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88364
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Box.js
|
|
88314
88365
|
init_esm_shims();
|
|
88315
88366
|
var import_react11 = __toESM(require_react(), 1);
|
|
88316
88367
|
|
|
88317
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88368
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/AccessibilityContext.js
|
|
88318
88369
|
init_esm_shims();
|
|
88319
88370
|
var import_react9 = __toESM(require_react(), 1);
|
|
88320
88371
|
var accessibilityContext = (0, import_react9.createContext)({
|
|
88321
88372
|
isScreenReaderEnabled: false
|
|
88322
88373
|
});
|
|
88323
88374
|
|
|
88324
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88375
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/BackgroundContext.js
|
|
88325
88376
|
init_esm_shims();
|
|
88326
88377
|
var import_react10 = __toESM(require_react(), 1);
|
|
88327
88378
|
var backgroundContext = (0, import_react10.createContext)(void 0);
|
|
88328
88379
|
|
|
88329
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88380
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Box.js
|
|
88330
88381
|
var Box = (0, import_react11.forwardRef)(({ children, backgroundColor, "aria-label": ariaLabel, "aria-hidden": ariaHidden, "aria-role": role, "aria-state": ariaState, ...style }, ref) => {
|
|
88331
88382
|
const { isScreenReaderEnabled } = (0, import_react11.useContext)(accessibilityContext);
|
|
88332
88383
|
const label = ariaLabel ? import_react11.default.createElement("ink-text", null, ariaLabel) : void 0;
|
|
@@ -88354,7 +88405,7 @@ var Box = (0, import_react11.forwardRef)(({ children, backgroundColor, "aria-lab
|
|
|
88354
88405
|
Box.displayName = "Box";
|
|
88355
88406
|
var Box_default = Box;
|
|
88356
88407
|
|
|
88357
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88408
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Text.js
|
|
88358
88409
|
init_esm_shims();
|
|
88359
88410
|
var import_react12 = __toESM(require_react(), 1);
|
|
88360
88411
|
function Text({ color, backgroundColor, dimColor = false, bold = false, italic = false, underline = false, strikethrough = false, inverse = false, wrap = "wrap", children, "aria-label": ariaLabel, "aria-hidden": ariaHidden = false }) {
|
|
@@ -88398,7 +88449,7 @@ function Text({ color, backgroundColor, dimColor = false, bold = false, italic =
|
|
|
88398
88449
|
return import_react12.default.createElement("ink-text", { style: { flexGrow: 0, flexShrink: 1, flexDirection: "row", textWrap: wrap }, internal_transform: transform2 }, childrenOrAriaLabel);
|
|
88399
88450
|
}
|
|
88400
88451
|
|
|
88401
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88452
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/ErrorOverview.js
|
|
88402
88453
|
var cleanupPath = (path37) => {
|
|
88403
88454
|
return path37?.replace(`file://${cwd()}/`, "");
|
|
88404
88455
|
};
|
|
@@ -88507,7 +88558,7 @@ function ErrorOverview({ error: error51 }) {
|
|
|
88507
88558
|
);
|
|
88508
88559
|
}
|
|
88509
88560
|
|
|
88510
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88561
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/ErrorBoundary.js
|
|
88511
88562
|
var ErrorBoundary = class extends import_react14.PureComponent {
|
|
88512
88563
|
static displayName = "InternalErrorBoundary";
|
|
88513
88564
|
static getDerivedStateFromError(error51) {
|
|
@@ -88527,7 +88578,7 @@ var ErrorBoundary = class extends import_react14.PureComponent {
|
|
|
88527
88578
|
}
|
|
88528
88579
|
};
|
|
88529
88580
|
|
|
88530
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
88581
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/App.js
|
|
88531
88582
|
var tab = " ";
|
|
88532
88583
|
var shiftTab = "\x1B[Z";
|
|
88533
88584
|
var escape3 = "\x1B";
|
|
@@ -88997,7 +89048,7 @@ function App({ children, stdin, stdout, stderr, writeToStdout, writeToStderr, ex
|
|
|
88997
89048
|
App.displayName = "InternalApp";
|
|
88998
89049
|
var App_default = App;
|
|
88999
89050
|
|
|
89000
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89051
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/kitty-keyboard.js
|
|
89001
89052
|
init_esm_shims();
|
|
89002
89053
|
var kittyFlags = {
|
|
89003
89054
|
disambiguateEscapeCodes: 1,
|
|
@@ -89024,7 +89075,7 @@ var kittyModifiers = {
|
|
|
89024
89075
|
numLock: 128
|
|
89025
89076
|
};
|
|
89026
89077
|
|
|
89027
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89078
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/ink.js
|
|
89028
89079
|
var noop4 = () => {
|
|
89029
89080
|
};
|
|
89030
89081
|
var textEncoder = new TextEncoder();
|
|
@@ -89621,7 +89672,7 @@ var Ink = class {
|
|
|
89621
89672
|
if (sync) {
|
|
89622
89673
|
this.options.stdout.write(bsu);
|
|
89623
89674
|
}
|
|
89624
|
-
this.options.stdout.write(base_exports.
|
|
89675
|
+
this.options.stdout.write(base_exports.eraseScreen + base_exports.cursorTo(0, 0) + this.fullStaticOutput + output);
|
|
89625
89676
|
this.lastOutput = output;
|
|
89626
89677
|
this.lastOutputToRender = outputToRender;
|
|
89627
89678
|
this.lastOutputHeight = outputHeight;
|
|
@@ -89706,7 +89757,7 @@ var Ink = class {
|
|
|
89706
89757
|
}
|
|
89707
89758
|
};
|
|
89708
89759
|
|
|
89709
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89760
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render.js
|
|
89710
89761
|
var render = (node, options2) => {
|
|
89711
89762
|
const inkOptions = {
|
|
89712
89763
|
stdout: process14.stdout,
|
|
@@ -89757,11 +89808,11 @@ var getInstance = (stdout, createInstance) => {
|
|
|
89757
89808
|
return instance;
|
|
89758
89809
|
};
|
|
89759
89810
|
|
|
89760
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89811
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/render-to-string.js
|
|
89761
89812
|
init_esm_shims();
|
|
89762
89813
|
var import_constants5 = __toESM(require_constants(), 1);
|
|
89763
89814
|
|
|
89764
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89815
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Static.js
|
|
89765
89816
|
init_esm_shims();
|
|
89766
89817
|
var import_react17 = __toESM(require_react(), 1);
|
|
89767
89818
|
function Static(props) {
|
|
@@ -89784,23 +89835,23 @@ function Static(props) {
|
|
|
89784
89835
|
return import_react17.default.createElement("ink-box", { internal_static: true, style }, children);
|
|
89785
89836
|
}
|
|
89786
89837
|
|
|
89787
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89838
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Transform.js
|
|
89788
89839
|
init_esm_shims();
|
|
89789
89840
|
var import_react18 = __toESM(require_react(), 1);
|
|
89790
89841
|
|
|
89791
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89842
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Newline.js
|
|
89792
89843
|
init_esm_shims();
|
|
89793
89844
|
var import_react19 = __toESM(require_react(), 1);
|
|
89794
89845
|
|
|
89795
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89846
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/components/Spacer.js
|
|
89796
89847
|
init_esm_shims();
|
|
89797
89848
|
var import_react20 = __toESM(require_react(), 1);
|
|
89798
89849
|
|
|
89799
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89850
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-input.js
|
|
89800
89851
|
init_esm_shims();
|
|
89801
89852
|
var import_react22 = __toESM(require_react(), 1);
|
|
89802
89853
|
|
|
89803
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
89854
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/parse-keypress.js
|
|
89804
89855
|
init_esm_shims();
|
|
89805
89856
|
var textDecoder = new TextDecoder();
|
|
89806
89857
|
var metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/;
|
|
@@ -90233,14 +90284,14 @@ var parseKeypress = (s = "") => {
|
|
|
90233
90284
|
};
|
|
90234
90285
|
var parse_keypress_default = parseKeypress;
|
|
90235
90286
|
|
|
90236
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90287
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-stdin.js
|
|
90237
90288
|
init_esm_shims();
|
|
90238
90289
|
var import_react21 = __toESM(require_react(), 1);
|
|
90239
90290
|
var useStdin = () => (0, import_react21.useContext)(StdinContext_default);
|
|
90240
90291
|
var useStdinContext = () => (0, import_react21.useContext)(StdinContext_default);
|
|
90241
90292
|
var use_stdin_default = useStdin;
|
|
90242
90293
|
|
|
90243
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90294
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-input.js
|
|
90244
90295
|
var useInput = (inputHandler, options2 = {}) => {
|
|
90245
90296
|
const { setRawMode, internal_exitOnCtrlC, internal_eventEmitter } = useStdinContext();
|
|
90246
90297
|
(0, import_react22.useEffect)(() => {
|
|
@@ -90320,55 +90371,55 @@ var useInput = (inputHandler, options2 = {}) => {
|
|
|
90320
90371
|
};
|
|
90321
90372
|
var use_input_default = useInput;
|
|
90322
90373
|
|
|
90323
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90374
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-paste.js
|
|
90324
90375
|
init_esm_shims();
|
|
90325
90376
|
var import_react23 = __toESM(require_react(), 1);
|
|
90326
90377
|
|
|
90327
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90378
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-app.js
|
|
90328
90379
|
init_esm_shims();
|
|
90329
90380
|
var import_react24 = __toESM(require_react(), 1);
|
|
90330
90381
|
var useApp = () => (0, import_react24.useContext)(AppContext_default);
|
|
90331
90382
|
var use_app_default = useApp;
|
|
90332
90383
|
|
|
90333
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90384
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-stdout.js
|
|
90334
90385
|
init_esm_shims();
|
|
90335
90386
|
var import_react25 = __toESM(require_react(), 1);
|
|
90336
90387
|
var useStdout = () => (0, import_react25.useContext)(StdoutContext_default);
|
|
90337
90388
|
var use_stdout_default = useStdout;
|
|
90338
90389
|
|
|
90339
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90390
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-stderr.js
|
|
90340
90391
|
init_esm_shims();
|
|
90341
90392
|
var import_react26 = __toESM(require_react(), 1);
|
|
90342
90393
|
|
|
90343
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90394
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-focus.js
|
|
90344
90395
|
init_esm_shims();
|
|
90345
90396
|
var import_react27 = __toESM(require_react(), 1);
|
|
90346
90397
|
|
|
90347
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90398
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-focus-manager.js
|
|
90348
90399
|
init_esm_shims();
|
|
90349
90400
|
var import_react28 = __toESM(require_react(), 1);
|
|
90350
90401
|
|
|
90351
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90402
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js
|
|
90352
90403
|
init_esm_shims();
|
|
90353
90404
|
var import_react29 = __toESM(require_react(), 1);
|
|
90354
90405
|
|
|
90355
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90406
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-cursor.js
|
|
90356
90407
|
init_esm_shims();
|
|
90357
90408
|
var import_react30 = __toESM(require_react(), 1);
|
|
90358
90409
|
|
|
90359
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90410
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-animation.js
|
|
90360
90411
|
init_esm_shims();
|
|
90361
90412
|
var import_react31 = __toESM(require_react(), 1);
|
|
90362
90413
|
|
|
90363
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90414
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-window-size.js
|
|
90364
90415
|
init_esm_shims();
|
|
90365
90416
|
var import_react32 = __toESM(require_react(), 1);
|
|
90366
90417
|
|
|
90367
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90418
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/hooks/use-box-metrics.js
|
|
90368
90419
|
init_esm_shims();
|
|
90369
90420
|
var import_react33 = __toESM(require_react(), 1);
|
|
90370
90421
|
|
|
90371
|
-
// ../../node_modules/.pnpm/ink@7.0.
|
|
90422
|
+
// ../../node_modules/.pnpm/ink@7.0.2_patch_hash=c093b542a6016d76c2dd97256fc9c48e09eb7aaf9b0b0f637ec683d2d5fe70b5_@types+react@19.2.14_react@19.2.5/node_modules/ink/build/measure-element.js
|
|
90372
90423
|
init_esm_shims();
|
|
90373
90424
|
var measureElement = (node) => ({
|
|
90374
90425
|
width: node.yogaNode?.getComputedWidth() ?? 0,
|
|
@@ -90539,7 +90590,7 @@ var taskBarStore = createStore({
|
|
|
90539
90590
|
import { createHash as createHash4 } from "crypto";
|
|
90540
90591
|
import { readFileSync as readFileSync6, writeFileSync as writeFileSync3 } from "fs";
|
|
90541
90592
|
import { homedir as homedir6 } from "os";
|
|
90542
|
-
import { join as
|
|
90593
|
+
import { join as join9 } from "path";
|
|
90543
90594
|
|
|
90544
90595
|
// ../ggcoder/dist/utils/sound.js
|
|
90545
90596
|
init_esm_shims();
|
|
@@ -96559,7 +96610,7 @@ var SIDE_BY_SIDE_MIN5 = LOGO_WIDTH4 + GAP5.length + 20;
|
|
|
96559
96610
|
init_esm_shims();
|
|
96560
96611
|
var import_jsx_runtime31 = __toESM(require_jsx_runtime(), 1);
|
|
96561
96612
|
var import_react70 = __toESM(require_react(), 1);
|
|
96562
|
-
import { spawnSync } from "child_process";
|
|
96613
|
+
import { spawnSync as spawnSync2 } from "child_process";
|
|
96563
96614
|
import { createRequire } from "module";
|
|
96564
96615
|
var GAP6 = " ";
|
|
96565
96616
|
var LOGO_WIDTH5 = 11;
|
|
@@ -96618,13 +96669,20 @@ var HISTORY_PATH = path31.join(os10.homedir(), ".gg", "setup-history.json");
|
|
|
96618
96669
|
// ../ggcoder/dist/ui/live-item-flush.js
|
|
96619
96670
|
init_esm_shims();
|
|
96620
96671
|
|
|
96621
|
-
// ../ggcoder/dist/core/goal-
|
|
96672
|
+
// ../ggcoder/dist/core/goal-verifier.js
|
|
96622
96673
|
init_esm_shims();
|
|
96623
96674
|
import { spawn as spawn7 } from "child_process";
|
|
96675
|
+
import { mkdir as mkdir4, writeFile as writeFile4 } from "fs/promises";
|
|
96676
|
+
import { join as join7 } from "path";
|
|
96677
|
+
var DEFAULT_GOAL_VERIFIER_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
96678
|
+
|
|
96679
|
+
// ../ggcoder/dist/core/goal-worker.js
|
|
96680
|
+
init_esm_shims();
|
|
96681
|
+
import { spawn as spawn8 } from "child_process";
|
|
96624
96682
|
import { createInterface as createInterface3 } from "readline";
|
|
96625
96683
|
import { createWriteStream, existsSync as existsSync6 } from "fs";
|
|
96626
|
-
import { mkdir as
|
|
96627
|
-
import { join as
|
|
96684
|
+
import { mkdir as mkdir5 } from "fs/promises";
|
|
96685
|
+
import { join as join8 } from "path";
|
|
96628
96686
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
96629
96687
|
|
|
96630
96688
|
// ../ggcoder/dist/ui/goal-events.js
|
|
@@ -98522,7 +98580,7 @@ function createTaskTools(deps) {
|
|
|
98522
98580
|
|
|
98523
98581
|
// src/audio.ts
|
|
98524
98582
|
init_esm_shims();
|
|
98525
|
-
import { spawn as
|
|
98583
|
+
import { spawn as spawn9, execFileSync as execFileSync3 } from "child_process";
|
|
98526
98584
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
98527
98585
|
import path35 from "path";
|
|
98528
98586
|
import fs35 from "fs";
|
|
@@ -98597,7 +98655,7 @@ function trySpawn(cmd, args) {
|
|
|
98597
98655
|
return new Promise((resolve4) => {
|
|
98598
98656
|
let resolved = false;
|
|
98599
98657
|
try {
|
|
98600
|
-
const child =
|
|
98658
|
+
const child = spawn9(cmd, args, {
|
|
98601
98659
|
detached: true,
|
|
98602
98660
|
stdio: "ignore"
|
|
98603
98661
|
});
|
|
@@ -98656,7 +98714,7 @@ async function tryPlayOnWindowsHost(file2) {
|
|
|
98656
98714
|
return new Promise((resolve4) => {
|
|
98657
98715
|
let resolved2 = false;
|
|
98658
98716
|
try {
|
|
98659
|
-
const child =
|
|
98717
|
+
const child = spawn9(
|
|
98660
98718
|
"powershell.exe",
|
|
98661
98719
|
["-NoProfile", "-WindowStyle", "Hidden", "-Command", script],
|
|
98662
98720
|
{
|
|
@@ -99801,4 +99859,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
99801
99859
|
* LICENSE file in the root directory of this source tree.
|
|
99802
99860
|
*)
|
|
99803
99861
|
*/
|
|
99804
|
-
//# sourceMappingURL=chunk-
|
|
99862
|
+
//# sourceMappingURL=chunk-U3L3QW6X.js.map
|