pointcode 0.1.2 → 0.1.4
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/cli.mjs +598 -560
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -109163,6 +109163,10 @@ function isModelFamilyAlias(model) {
|
|
|
109163
109163
|
var MODEL_ALIASES, MODEL_FAMILY_ALIASES;
|
|
109164
109164
|
var init_aliases = __esm(() => {
|
|
109165
109165
|
MODEL_ALIASES = [
|
|
109166
|
+
"qwen",
|
|
109167
|
+
"deepseek",
|
|
109168
|
+
"glm",
|
|
109169
|
+
"mimo",
|
|
109166
109170
|
"sonnet",
|
|
109167
109171
|
"opus",
|
|
109168
109172
|
"haiku",
|
|
@@ -109173,7 +109177,15 @@ var init_aliases = __esm(() => {
|
|
|
109173
109177
|
"codexplan",
|
|
109174
109178
|
"codexspark"
|
|
109175
109179
|
];
|
|
109176
|
-
MODEL_FAMILY_ALIASES = [
|
|
109180
|
+
MODEL_FAMILY_ALIASES = [
|
|
109181
|
+
"qwen",
|
|
109182
|
+
"deepseek",
|
|
109183
|
+
"glm",
|
|
109184
|
+
"mimo",
|
|
109185
|
+
"sonnet",
|
|
109186
|
+
"opus",
|
|
109187
|
+
"haiku"
|
|
109188
|
+
];
|
|
109177
109189
|
});
|
|
109178
109190
|
|
|
109179
109191
|
// src/utils/model/modelAllowlist.ts
|
|
@@ -109427,7 +109439,7 @@ function getDefaultMainLoopModelSetting() {
|
|
|
109427
109439
|
return process.env.GEMINI_MODEL || "gemini-2.0-flash";
|
|
109428
109440
|
}
|
|
109429
109441
|
if (getAPIProvider() === "openai") {
|
|
109430
|
-
return process.env.OPENAI_MODEL || "
|
|
109442
|
+
return process.env.OPENAI_MODEL || "qwen3.5-plus";
|
|
109431
109443
|
}
|
|
109432
109444
|
if (process.env.USER_TYPE === "ant") {
|
|
109433
109445
|
return getAntModelOverrideConfig()?.defaultModel ?? getDefaultOpusModel() + "[1m]";
|
|
@@ -109438,7 +109450,7 @@ function getDefaultMainLoopModelSetting() {
|
|
|
109438
109450
|
if (isTeamPremiumSubscriber()) {
|
|
109439
109451
|
return getDefaultOpusModel() + (isOpus1mMergeEnabled() ? "[1m]" : "");
|
|
109440
109452
|
}
|
|
109441
|
-
return
|
|
109453
|
+
return "qwen3.5-plus";
|
|
109442
109454
|
}
|
|
109443
109455
|
function getDefaultMainLoopModel() {
|
|
109444
109456
|
return parseUserSpecifiedModel(getDefaultMainLoopModelSetting());
|
|
@@ -109497,13 +109509,10 @@ function getCanonicalName(fullModelName) {
|
|
|
109497
109509
|
return firstPartyNameToCanonical(resolveOverriddenModel(fullModelName));
|
|
109498
109510
|
}
|
|
109499
109511
|
function getClaudeAiUserDefaultModelDescription(fastMode = false) {
|
|
109500
|
-
if (
|
|
109501
|
-
|
|
109502
|
-
return `Opus 4.6 with 1M context · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`;
|
|
109503
|
-
}
|
|
109504
|
-
return `Opus 4.6 · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`;
|
|
109512
|
+
if (fastMode) {
|
|
109513
|
+
return "Qwen 3.5 Plus · Recommended default";
|
|
109505
109514
|
}
|
|
109506
|
-
return "
|
|
109515
|
+
return "Qwen 3.5 Plus · Recommended default";
|
|
109507
109516
|
}
|
|
109508
109517
|
function renderDefaultModelSetting(setting) {
|
|
109509
109518
|
if (setting === "opusplan") {
|
|
@@ -109631,6 +109640,14 @@ function parseUserSpecifiedModel(modelInput) {
|
|
|
109631
109640
|
const modelString = has1mTag ? normalizedModel.replace(/\[1m]$/i, "").trim() : normalizedModel;
|
|
109632
109641
|
if (isModelAlias(modelString)) {
|
|
109633
109642
|
switch (modelString) {
|
|
109643
|
+
case "qwen":
|
|
109644
|
+
return "qwen3.5-plus" + (has1mTag ? "[1m]" : "");
|
|
109645
|
+
case "deepseek":
|
|
109646
|
+
return "deepseek-chat" + (has1mTag ? "[1m]" : "");
|
|
109647
|
+
case "glm":
|
|
109648
|
+
return "glm-5" + (has1mTag ? "[1m]" : "");
|
|
109649
|
+
case "mimo":
|
|
109650
|
+
return "mimo-v2-pro" + (has1mTag ? "[1m]" : "");
|
|
109634
109651
|
case "codexplan":
|
|
109635
109652
|
return modelInputTrimmed;
|
|
109636
109653
|
case "codexspark":
|
|
@@ -123088,7 +123105,7 @@ var init_metadata = __esm(() => {
|
|
|
123088
123105
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
123089
123106
|
version: "99.0.0",
|
|
123090
123107
|
versionBase: getVersionBase(),
|
|
123091
|
-
buildTime: "2026-04-
|
|
123108
|
+
buildTime: "2026-04-02T16:31:04.646Z",
|
|
123092
123109
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
123093
123110
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
123094
123111
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -349972,6 +349989,59 @@ function getKnownModelOption(model) {
|
|
|
349972
349989
|
};
|
|
349973
349990
|
}
|
|
349974
349991
|
function getModelOptions(fastMode = false) {
|
|
349992
|
+
const pointCodeOptions = [
|
|
349993
|
+
{
|
|
349994
|
+
value: null,
|
|
349995
|
+
label: "Default (recommended)",
|
|
349996
|
+
description: "Use the default model (currently qwen3.5-plus)"
|
|
349997
|
+
},
|
|
349998
|
+
{
|
|
349999
|
+
value: "qwen3.5-plus",
|
|
350000
|
+
label: "Qwen 3.5 Plus",
|
|
350001
|
+
description: "Tongyi Qwen · balanced quality and speed"
|
|
350002
|
+
},
|
|
350003
|
+
{
|
|
350004
|
+
value: "qwen3.5-flash",
|
|
350005
|
+
label: "Qwen 3.5 Flash",
|
|
350006
|
+
description: "Tongyi Qwen · fastest for quick tasks"
|
|
350007
|
+
},
|
|
350008
|
+
{
|
|
350009
|
+
value: "deepseek-chat",
|
|
350010
|
+
label: "DeepSeek Chat",
|
|
350011
|
+
description: "DeepSeek general model"
|
|
350012
|
+
},
|
|
350013
|
+
{
|
|
350014
|
+
value: "deepseek-reasoner",
|
|
350015
|
+
label: "DeepSeek Reasoner",
|
|
350016
|
+
description: "DeepSeek reasoning-focused model"
|
|
350017
|
+
},
|
|
350018
|
+
{
|
|
350019
|
+
value: "glm-5",
|
|
350020
|
+
label: "GLM-5",
|
|
350021
|
+
description: "Zhipu GLM flagship model"
|
|
350022
|
+
},
|
|
350023
|
+
{
|
|
350024
|
+
value: "glm-5-turbo",
|
|
350025
|
+
label: "GLM-5 Turbo",
|
|
350026
|
+
description: "Zhipu GLM fast model"
|
|
350027
|
+
},
|
|
350028
|
+
{
|
|
350029
|
+
value: "mimo-v2-pro",
|
|
350030
|
+
label: "MiMo V2 Pro",
|
|
350031
|
+
description: "Xiaomi MiMo high capability model"
|
|
350032
|
+
},
|
|
350033
|
+
{
|
|
350034
|
+
value: "mimo-v2-flash",
|
|
350035
|
+
label: "MiMo V2 Flash",
|
|
350036
|
+
description: "Xiaomi MiMo fast model"
|
|
350037
|
+
},
|
|
350038
|
+
{
|
|
350039
|
+
value: "opus",
|
|
350040
|
+
label: "Opus",
|
|
350041
|
+
description: "Anthropic Opus for complex reasoning"
|
|
350042
|
+
}
|
|
350043
|
+
];
|
|
350044
|
+
return filterModelOptionsByAllowlist(pointCodeOptions);
|
|
349975
350045
|
if (getAPIProvider() === "openai") {
|
|
349976
350046
|
const presetOptions = getOpenAIPresetOptions();
|
|
349977
350047
|
const remoteOptions = getCachedOpenAIModelOptions(presetOptions);
|
|
@@ -364117,7 +364187,7 @@ function getAnthropicEnvMetadata() {
|
|
|
364117
364187
|
function getBuildAgeMinutes() {
|
|
364118
364188
|
if (false)
|
|
364119
364189
|
;
|
|
364120
|
-
const buildTime = new Date("2026-04-
|
|
364190
|
+
const buildTime = new Date("2026-04-02T16:31:04.646Z").getTime();
|
|
364121
364191
|
if (isNaN(buildTime))
|
|
364122
364192
|
return;
|
|
364123
364193
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -392204,7 +392274,7 @@ function ModelPicker(t0) {
|
|
|
392204
392274
|
} else {
|
|
392205
392275
|
t15 = $2[41];
|
|
392206
392276
|
}
|
|
392207
|
-
const t16 = headerText ?? "Switch between
|
|
392277
|
+
const t16 = headerText ?? "Switch between PointCode models. Applies to this session and future PointCode sessions. For other/previous model names, specify with --model.";
|
|
392208
392278
|
let t17;
|
|
392209
392279
|
if ($2[42] !== t16) {
|
|
392210
392280
|
t17 = /* @__PURE__ */ jsx_dev_runtime172.jsxDEV(ThemedText, {
|
|
@@ -428413,7 +428483,7 @@ function getRecentActivitySync() {
|
|
|
428413
428483
|
return cachedActivity;
|
|
428414
428484
|
}
|
|
428415
428485
|
function getLogoDisplayData() {
|
|
428416
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
428486
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.4" ?? "99.0.0";
|
|
428417
428487
|
const serverUrl = getDirectConnectServerUrl();
|
|
428418
428488
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
428419
428489
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -429843,7 +429913,7 @@ function Opus1mMergeNotice() {
|
|
|
429843
429913
|
dimColor: true,
|
|
429844
429914
|
children: [
|
|
429845
429915
|
" ",
|
|
429846
|
-
"
|
|
429916
|
+
"世界模型不是世界本身,而是我们与未知达成和解的方式。"
|
|
429847
429917
|
]
|
|
429848
429918
|
}, undefined, true, undefined, this)
|
|
429849
429919
|
]
|
|
@@ -450922,6 +450992,7 @@ function AgentDetail(t0) {
|
|
|
450922
450992
|
t1 = $2[1];
|
|
450923
450993
|
}
|
|
450924
450994
|
const filePath = t1;
|
|
450995
|
+
const displayFilePath = filePath.replace(".claude", ".point");
|
|
450925
450996
|
let t2;
|
|
450926
450997
|
if ($2[2] !== agent.agentType) {
|
|
450927
450998
|
t2 = getAgentColor(agent.agentType);
|
|
@@ -450989,12 +451060,12 @@ function AgentDetail(t0) {
|
|
|
450989
451060
|
const t7 = 0;
|
|
450990
451061
|
const t8 = true;
|
|
450991
451062
|
let t9;
|
|
450992
|
-
if ($2[7] !==
|
|
451063
|
+
if ($2[7] !== displayFilePath) {
|
|
450993
451064
|
t9 = /* @__PURE__ */ jsx_dev_runtime313.jsxDEV(ThemedText, {
|
|
450994
451065
|
dimColor: true,
|
|
450995
|
-
children:
|
|
451066
|
+
children: displayFilePath
|
|
450996
451067
|
}, undefined, false, undefined, this);
|
|
450997
|
-
$2[7] =
|
|
451068
|
+
$2[7] = displayFilePath;
|
|
450998
451069
|
$2[8] = t9;
|
|
450999
451070
|
} else {
|
|
451000
451071
|
t9 = $2[8];
|
|
@@ -451007,7 +451078,7 @@ function AgentDetail(t0) {
|
|
|
451007
451078
|
bold: true,
|
|
451008
451079
|
children: "Description"
|
|
451009
451080
|
}, undefined, false, undefined, this),
|
|
451010
|
-
" (tells
|
|
451081
|
+
" (tells Point when to use this agent):"
|
|
451011
451082
|
]
|
|
451012
451083
|
}, undefined, true, undefined, this);
|
|
451013
451084
|
$2[9] = t10;
|
|
@@ -453723,7 +453794,7 @@ function ConfirmStep(t0) {
|
|
|
453723
453794
|
t242,
|
|
453724
453795
|
":",
|
|
453725
453796
|
" ",
|
|
453726
|
-
t252
|
|
453797
|
+
t252.replace(".claude", ".point")
|
|
453727
453798
|
]
|
|
453728
453799
|
}, undefined, true, undefined, this);
|
|
453729
453800
|
$2[42] = t252;
|
|
@@ -453803,7 +453874,7 @@ function ConfirmStep(t0) {
|
|
|
453803
453874
|
bold: true,
|
|
453804
453875
|
children: "Description"
|
|
453805
453876
|
}, undefined, false, undefined, this),
|
|
453806
|
-
" (tells
|
|
453877
|
+
" (tells Point when to use this agent):"
|
|
453807
453878
|
]
|
|
453808
453879
|
}, undefined, true, undefined, this)
|
|
453809
453880
|
}, undefined, false, undefined, this);
|
|
@@ -454442,7 +454513,7 @@ var init_generateAgent = __esm(() => {
|
|
|
454442
454513
|
init_slowOperations();
|
|
454443
454514
|
AGENT_CREATION_SYSTEM_PROMPT = `You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.
|
|
454444
454515
|
|
|
454445
|
-
**Important Context**: You may have access to project-specific instructions from
|
|
454516
|
+
**Important Context**: You may have access to project-specific instructions from POINT.md files and other context that may include coding standards, project structure, and custom requirements. Consider this context when creating agents to ensure they align with the project's established patterns and practices.
|
|
454446
454517
|
|
|
454447
454518
|
When a user describes what they want an agent to do, you will:
|
|
454448
454519
|
|
|
@@ -454456,7 +454527,7 @@ When a user describes what they want an agent to do, you will:
|
|
|
454456
454527
|
- Anticipates edge cases and provides guidance for handling them
|
|
454457
454528
|
- Incorporates any specific requirements or preferences mentioned by the user
|
|
454458
454529
|
- Defines output format expectations when relevant
|
|
454459
|
-
|
|
454530
|
+
- Aligns with project-specific coding standards and patterns from POINT.md
|
|
454460
454531
|
|
|
454461
454532
|
4. **Optimize for Performance**: Include:
|
|
454462
454533
|
- Decision-making frameworks appropriate to the domain
|
|
@@ -454707,7 +454778,7 @@ function LocationStep() {
|
|
|
454707
454778
|
let t0;
|
|
454708
454779
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454709
454780
|
t0 = {
|
|
454710
|
-
label: "Project (.
|
|
454781
|
+
label: "Project (.point/agents/)",
|
|
454711
454782
|
value: "projectSettings"
|
|
454712
454783
|
};
|
|
454713
454784
|
$2[0] = t0;
|
|
@@ -454717,7 +454788,7 @@ function LocationStep() {
|
|
|
454717
454788
|
let t1;
|
|
454718
454789
|
if ($2[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454719
454790
|
t1 = [t0, {
|
|
454720
|
-
label: "Personal (~/.
|
|
454791
|
+
label: "Personal (~/.point/agents/)",
|
|
454721
454792
|
value: "userSettings"
|
|
454722
454793
|
}];
|
|
454723
454794
|
$2[1] = t1;
|
|
@@ -454828,28 +454899,28 @@ function MemoryStep() {
|
|
|
454828
454899
|
let t1;
|
|
454829
454900
|
if ($2[1] !== isUserScope) {
|
|
454830
454901
|
t1 = isUserScope ? [{
|
|
454831
|
-
label: "User scope (~/.
|
|
454902
|
+
label: "User scope (~/.point/agent-memory/) (Recommended)",
|
|
454832
454903
|
value: "user"
|
|
454833
454904
|
}, {
|
|
454834
454905
|
label: "None (no persistent memory)",
|
|
454835
454906
|
value: "none"
|
|
454836
454907
|
}, {
|
|
454837
|
-
label: "Project scope (.
|
|
454908
|
+
label: "Project scope (.point/agent-memory/)",
|
|
454838
454909
|
value: "project"
|
|
454839
454910
|
}, {
|
|
454840
|
-
label: "Local scope (.
|
|
454911
|
+
label: "Local scope (.point/agent-memory-local/)",
|
|
454841
454912
|
value: "local"
|
|
454842
454913
|
}] : [{
|
|
454843
|
-
label: "Project scope (.
|
|
454914
|
+
label: "Project scope (.point/agent-memory/) (Recommended)",
|
|
454844
454915
|
value: "project"
|
|
454845
454916
|
}, {
|
|
454846
454917
|
label: "None (no persistent memory)",
|
|
454847
454918
|
value: "none"
|
|
454848
454919
|
}, {
|
|
454849
|
-
label: "User scope (~/.
|
|
454920
|
+
label: "User scope (~/.point/agent-memory/)",
|
|
454850
454921
|
value: "user"
|
|
454851
454922
|
}, {
|
|
454852
|
-
label: "Local scope (.
|
|
454923
|
+
label: "Local scope (.point/agent-memory-local/)",
|
|
454853
454924
|
value: "local"
|
|
454854
454925
|
}];
|
|
454855
454926
|
$2[1] = isUserScope;
|
|
@@ -458212,7 +458283,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
458212
458283
|
var call54 = async () => {
|
|
458213
458284
|
return {
|
|
458214
458285
|
type: "text",
|
|
458215
|
-
value: `${"99.0.0"} (built ${"2026-04-
|
|
458286
|
+
value: `${"99.0.0"} (built ${"2026-04-02T16:31:04.646Z"})`
|
|
458216
458287
|
};
|
|
458217
458288
|
}, version2, version_default;
|
|
458218
458289
|
var init_version = __esm(() => {
|
|
@@ -461232,6 +461303,31 @@ var exports_model2 = {};
|
|
|
461232
461303
|
__export(exports_model2, {
|
|
461233
461304
|
call: () => call61
|
|
461234
461305
|
});
|
|
461306
|
+
async function saveModelApiKey(value, onDone) {
|
|
461307
|
+
if (getAPIProvider() === "openai") {
|
|
461308
|
+
const profile = saveOpenAIProviderProfile({
|
|
461309
|
+
OPENAI_BASE_URL: process.env.OPENAI_BASE_URL,
|
|
461310
|
+
OPENAI_MODEL: process.env.OPENAI_MODEL,
|
|
461311
|
+
OPENAI_API_KEY: value
|
|
461312
|
+
});
|
|
461313
|
+
applyProviderProfileToProcessEnv(profile);
|
|
461314
|
+
onDone("API key saved. You can now run /model to choose a model and start using PointCode.", {
|
|
461315
|
+
display: "system"
|
|
461316
|
+
});
|
|
461317
|
+
return;
|
|
461318
|
+
}
|
|
461319
|
+
try {
|
|
461320
|
+
await saveApiKey(value);
|
|
461321
|
+
process.env.ANTHROPIC_API_KEY = value;
|
|
461322
|
+
onDone("API key saved. You can now run /model to choose a model and start using PointCode.", {
|
|
461323
|
+
display: "system"
|
|
461324
|
+
});
|
|
461325
|
+
} catch (error42) {
|
|
461326
|
+
onDone(`Failed to save API key: ${error42.message}`, {
|
|
461327
|
+
display: "system"
|
|
461328
|
+
});
|
|
461329
|
+
}
|
|
461330
|
+
}
|
|
461235
461331
|
function EnterApiKeyAndSave({
|
|
461236
461332
|
onDone
|
|
461237
461333
|
}) {
|
|
@@ -461245,21 +461341,7 @@ function EnterApiKeyAndSave({
|
|
|
461245
461341
|
setErrorText("API key cannot be empty.");
|
|
461246
461342
|
return;
|
|
461247
461343
|
}
|
|
461248
|
-
|
|
461249
|
-
onDone("Current provider is not OpenAI-compatible. Run /provider set <provider_id> first, then /model key <api_key>.", {
|
|
461250
|
-
display: "system"
|
|
461251
|
-
});
|
|
461252
|
-
return;
|
|
461253
|
-
}
|
|
461254
|
-
const profile = saveOpenAIProviderProfile({
|
|
461255
|
-
OPENAI_BASE_URL: process.env.OPENAI_BASE_URL,
|
|
461256
|
-
OPENAI_MODEL: process.env.OPENAI_MODEL,
|
|
461257
|
-
OPENAI_API_KEY: value
|
|
461258
|
-
});
|
|
461259
|
-
applyProviderProfileToProcessEnv(profile);
|
|
461260
|
-
onDone("API key saved. You can now run /model to choose a model and start using PointCode.", {
|
|
461261
|
-
display: "system"
|
|
461262
|
-
});
|
|
461344
|
+
saveModelApiKey(value, onDone);
|
|
461263
461345
|
}
|
|
461264
461346
|
return /* @__PURE__ */ jsx_dev_runtime352.jsxDEV(ThemedBox_default, {
|
|
461265
461347
|
flexDirection: "column",
|
|
@@ -461312,7 +461394,6 @@ function EnterApiKeyAndSave({
|
|
|
461312
461394
|
}, undefined, true, undefined, this);
|
|
461313
461395
|
}
|
|
461314
461396
|
function ModelPickerWrapper(t0) {
|
|
461315
|
-
const $2 = import_react_compiler_runtime272.c(18);
|
|
461316
461397
|
const {
|
|
461317
461398
|
onDone
|
|
461318
461399
|
} = t0;
|
|
@@ -461320,120 +461401,91 @@ function ModelPickerWrapper(t0) {
|
|
|
461320
461401
|
const mainLoopModelForSession = useAppState(_temp272);
|
|
461321
461402
|
const isFastMode = useAppState(_temp346);
|
|
461322
461403
|
const setAppState = useSetAppState();
|
|
461323
|
-
|
|
461324
|
-
|
|
461325
|
-
|
|
461326
|
-
|
|
461327
|
-
|
|
461328
|
-
|
|
461329
|
-
|
|
461330
|
-
|
|
461404
|
+
const [pendingSelection, setPendingSelection] = import_react194.useState(null);
|
|
461405
|
+
function applyModelAndClose(model, effort, includeKeySavedPrefix = false) {
|
|
461406
|
+
setAppState((prev) => ({
|
|
461407
|
+
...prev,
|
|
461408
|
+
mainLoopModel: model,
|
|
461409
|
+
mainLoopModelForSession: null
|
|
461410
|
+
}));
|
|
461411
|
+
let message = `${includeKeySavedPrefix ? "API key saved. " : ""}Set model to ${source_default.bold(renderModelLabel(model))}`;
|
|
461412
|
+
if (effort !== undefined) {
|
|
461413
|
+
message = message + ` with ${source_default.bold(effort)} effort`;
|
|
461414
|
+
}
|
|
461415
|
+
let wasFastModeToggledOn = undefined;
|
|
461416
|
+
if (isFastModeEnabled()) {
|
|
461417
|
+
clearFastModeCooldown();
|
|
461418
|
+
if (!isFastModeSupportedByModel(model) && isFastMode) {
|
|
461419
|
+
setAppState(_temp435);
|
|
461420
|
+
wasFastModeToggledOn = false;
|
|
461421
|
+
} else if (isFastModeSupportedByModel(model) && isFastModeAvailable() && isFastMode) {
|
|
461422
|
+
message = message + " · Fast mode ON";
|
|
461423
|
+
wasFastModeToggledOn = true;
|
|
461424
|
+
}
|
|
461425
|
+
}
|
|
461426
|
+
if (isBilledAsExtraUsage(model, wasFastModeToggledOn === true, isOpus1mMergeEnabled())) {
|
|
461427
|
+
message = message + " · Billed as extra usage";
|
|
461428
|
+
}
|
|
461429
|
+
if (wasFastModeToggledOn === false) {
|
|
461430
|
+
message = message + " · Fast mode OFF";
|
|
461431
|
+
}
|
|
461432
|
+
onDone(message);
|
|
461433
|
+
}
|
|
461434
|
+
function handleCancel() {
|
|
461435
|
+
logEvent("tengu_model_command_menu", {
|
|
461436
|
+
action: "cancel"
|
|
461437
|
+
});
|
|
461438
|
+
const displayModel = renderModelLabel(mainLoopModel);
|
|
461439
|
+
onDone(`Kept model as ${source_default.bold(displayModel)}`, {
|
|
461440
|
+
display: "system"
|
|
461441
|
+
});
|
|
461442
|
+
}
|
|
461443
|
+
function handleSelect(model, effort) {
|
|
461444
|
+
logEvent("tengu_model_command_menu", {
|
|
461445
|
+
action: model,
|
|
461446
|
+
from_model: mainLoopModel,
|
|
461447
|
+
to_model: model
|
|
461448
|
+
});
|
|
461449
|
+
if (model === "__custom__") {
|
|
461450
|
+
onDone("Custom model placeholder selected. Run /model <model-name> (for example: /model qwen3.5-plus).", {
|
|
461331
461451
|
display: "system"
|
|
461332
461452
|
});
|
|
461333
|
-
|
|
461334
|
-
|
|
461335
|
-
|
|
461336
|
-
|
|
461337
|
-
|
|
461338
|
-
|
|
461339
|
-
|
|
461340
|
-
|
|
461341
|
-
|
|
461342
|
-
|
|
461343
|
-
t2 = function handleSelect2(model, effort) {
|
|
461344
|
-
logEvent("tengu_model_command_menu", {
|
|
461345
|
-
action: model,
|
|
461346
|
-
from_model: mainLoopModel,
|
|
461347
|
-
to_model: model
|
|
461453
|
+
return;
|
|
461454
|
+
}
|
|
461455
|
+
let selectedModel = model;
|
|
461456
|
+
if (selectedModel !== null && getAPIProvider() === "openai") {
|
|
461457
|
+
selectedModel = switchOpenAIModel(selectedModel);
|
|
461458
|
+
}
|
|
461459
|
+
if (selectedModel !== null) {
|
|
461460
|
+
setPendingSelection({
|
|
461461
|
+
model: selectedModel,
|
|
461462
|
+
effort
|
|
461348
461463
|
});
|
|
461349
|
-
|
|
461350
|
-
|
|
461351
|
-
|
|
461352
|
-
|
|
461353
|
-
|
|
461354
|
-
|
|
461355
|
-
|
|
461356
|
-
|
|
461357
|
-
|
|
461358
|
-
|
|
461359
|
-
|
|
461360
|
-
return;
|
|
461361
|
-
}
|
|
461362
|
-
if (model !== null && getAPIProvider() === "openai") {
|
|
461363
|
-
const actualModel = switchOpenAIModel(model);
|
|
461364
|
-
model = actualModel;
|
|
461365
|
-
}
|
|
461366
|
-
setAppState((prev) => ({
|
|
461367
|
-
...prev,
|
|
461368
|
-
mainLoopModel: model,
|
|
461369
|
-
mainLoopModelForSession: null
|
|
461370
|
-
}));
|
|
461371
|
-
let message = `Set model to ${source_default.bold(renderModelLabel(model))}`;
|
|
461372
|
-
if (effort !== undefined) {
|
|
461373
|
-
message = message + ` with ${source_default.bold(effort)} effort`;
|
|
461374
|
-
}
|
|
461375
|
-
let wasFastModeToggledOn = undefined;
|
|
461376
|
-
if (isFastModeEnabled()) {
|
|
461377
|
-
clearFastModeCooldown();
|
|
461378
|
-
if (!isFastModeSupportedByModel(model) && isFastMode) {
|
|
461379
|
-
setAppState(_temp435);
|
|
461380
|
-
wasFastModeToggledOn = false;
|
|
461381
|
-
} else {
|
|
461382
|
-
if (isFastModeSupportedByModel(model) && isFastModeAvailable() && isFastMode) {
|
|
461383
|
-
message = message + " · Fast mode ON";
|
|
461384
|
-
wasFastModeToggledOn = true;
|
|
461385
|
-
}
|
|
461464
|
+
return;
|
|
461465
|
+
}
|
|
461466
|
+
applyModelAndClose(selectedModel, effort);
|
|
461467
|
+
}
|
|
461468
|
+
const showFastModeNotice = isFastModeEnabled() && isFastMode && isFastModeSupportedByModel(mainLoopModel) && isFastModeAvailable();
|
|
461469
|
+
if (pendingSelection) {
|
|
461470
|
+
return /* @__PURE__ */ jsx_dev_runtime352.jsxDEV(EnterApiKeyAndSave, {
|
|
461471
|
+
onDone: (result, options2) => {
|
|
461472
|
+
if (!result || !result.startsWith("API key saved")) {
|
|
461473
|
+
onDone(result, options2);
|
|
461474
|
+
return;
|
|
461386
461475
|
}
|
|
461476
|
+
applyModelAndClose(pendingSelection.model, pendingSelection.effort, true);
|
|
461387
461477
|
}
|
|
461388
|
-
if (isBilledAsExtraUsage(model, wasFastModeToggledOn === true, isOpus1mMergeEnabled())) {
|
|
461389
|
-
message = message + " · Billed as extra usage";
|
|
461390
|
-
}
|
|
461391
|
-
if (wasFastModeToggledOn === false) {
|
|
461392
|
-
message = message + " · Fast mode OFF";
|
|
461393
|
-
}
|
|
461394
|
-
onDone(message);
|
|
461395
|
-
};
|
|
461396
|
-
$2[3] = isFastMode;
|
|
461397
|
-
$2[4] = mainLoopModel;
|
|
461398
|
-
$2[5] = onDone;
|
|
461399
|
-
$2[6] = setAppState;
|
|
461400
|
-
$2[7] = t2;
|
|
461401
|
-
} else {
|
|
461402
|
-
t2 = $2[7];
|
|
461403
|
-
}
|
|
461404
|
-
const handleSelect = t2;
|
|
461405
|
-
let t3;
|
|
461406
|
-
if ($2[8] !== isFastMode || $2[9] !== mainLoopModel) {
|
|
461407
|
-
t3 = isFastModeEnabled() && isFastMode && isFastModeSupportedByModel(mainLoopModel) && isFastModeAvailable();
|
|
461408
|
-
$2[8] = isFastMode;
|
|
461409
|
-
$2[9] = mainLoopModel;
|
|
461410
|
-
$2[10] = t3;
|
|
461411
|
-
} else {
|
|
461412
|
-
t3 = $2[10];
|
|
461413
|
-
}
|
|
461414
|
-
const pickerHeaderText = getMissingOpenAIKeyTip() ? "OpenAI API key is missing. Run /model key <api_key>, then run /model again." : undefined;
|
|
461415
|
-
let t4;
|
|
461416
|
-
if ($2[11] !== handleCancel || $2[12] !== handleSelect || $2[13] !== mainLoopModel || $2[14] !== mainLoopModelForSession || $2[15] !== t3 || $2[16] !== pickerHeaderText) {
|
|
461417
|
-
t4 = /* @__PURE__ */ jsx_dev_runtime352.jsxDEV(ModelPicker, {
|
|
461418
|
-
initial: mainLoopModel,
|
|
461419
|
-
sessionModel: mainLoopModelForSession,
|
|
461420
|
-
onSelect: handleSelect,
|
|
461421
|
-
onCancel: handleCancel,
|
|
461422
|
-
isStandaloneCommand: true,
|
|
461423
|
-
showFastModeNotice: t3,
|
|
461424
|
-
headerText: pickerHeaderText
|
|
461425
461478
|
}, undefined, false, undefined, this);
|
|
461426
|
-
$2[11] = handleCancel;
|
|
461427
|
-
$2[12] = handleSelect;
|
|
461428
|
-
$2[13] = mainLoopModel;
|
|
461429
|
-
$2[14] = mainLoopModelForSession;
|
|
461430
|
-
$2[15] = t3;
|
|
461431
|
-
$2[16] = pickerHeaderText;
|
|
461432
|
-
$2[17] = t4;
|
|
461433
|
-
} else {
|
|
461434
|
-
t4 = $2[17];
|
|
461435
461479
|
}
|
|
461436
|
-
return
|
|
461480
|
+
return /* @__PURE__ */ jsx_dev_runtime352.jsxDEV(ModelPicker, {
|
|
461481
|
+
initial: mainLoopModel,
|
|
461482
|
+
sessionModel: mainLoopModelForSession,
|
|
461483
|
+
onSelect: handleSelect,
|
|
461484
|
+
onCancel: handleCancel,
|
|
461485
|
+
isStandaloneCommand: true,
|
|
461486
|
+
showFastModeNotice,
|
|
461487
|
+
headerText: "Select a model. After selection, enter an API key to confirm."
|
|
461488
|
+
}, undefined, false, undefined, this);
|
|
461437
461489
|
}
|
|
461438
461490
|
function _temp435(prev_0) {
|
|
461439
461491
|
return {
|
|
@@ -461613,7 +461665,7 @@ function renderModelLabel(model) {
|
|
|
461613
461665
|
const rendered = renderDefaultModelSetting(model ?? getDefaultMainLoopModelSetting());
|
|
461614
461666
|
return model === null ? `${rendered} (default)` : rendered;
|
|
461615
461667
|
}
|
|
461616
|
-
var
|
|
461668
|
+
var React110, import_react194, jsx_dev_runtime352, call61 = async (onDone, _context, args) => {
|
|
461617
461669
|
args = args?.trim() || "";
|
|
461618
461670
|
const missingOpenAIKeyTip = getMissingOpenAIKeyTip();
|
|
461619
461671
|
if (!args && missingOpenAIKeyTip) {
|
|
@@ -461621,7 +461673,7 @@ var import_react_compiler_runtime272, React110, import_react194, jsx_dev_runtime
|
|
|
461621
461673
|
onDone
|
|
461622
461674
|
}, undefined, false, undefined, this);
|
|
461623
461675
|
}
|
|
461624
|
-
if (
|
|
461676
|
+
if (args.toLowerCase().startsWith("sk-")) {
|
|
461625
461677
|
args = `key ${args}`;
|
|
461626
461678
|
}
|
|
461627
461679
|
if (args.toLowerCase() === "key") {
|
|
@@ -461637,21 +461689,7 @@ var import_react_compiler_runtime272, React110, import_react194, jsx_dev_runtime
|
|
|
461637
461689
|
});
|
|
461638
461690
|
return;
|
|
461639
461691
|
}
|
|
461640
|
-
|
|
461641
|
-
onDone("Current provider is not OpenAI-compatible. Run /provider set <provider_id> first, then /model key <api_key>.", {
|
|
461642
|
-
display: "system"
|
|
461643
|
-
});
|
|
461644
|
-
return;
|
|
461645
|
-
}
|
|
461646
|
-
const profile = saveOpenAIProviderProfile({
|
|
461647
|
-
OPENAI_BASE_URL: process.env.OPENAI_BASE_URL,
|
|
461648
|
-
OPENAI_MODEL: process.env.OPENAI_MODEL,
|
|
461649
|
-
OPENAI_API_KEY: apiKey
|
|
461650
|
-
});
|
|
461651
|
-
applyProviderProfileToProcessEnv(profile);
|
|
461652
|
-
onDone("API key saved. You can now run /model to choose a model and start using PointCode.", {
|
|
461653
|
-
display: "system"
|
|
461654
|
-
});
|
|
461692
|
+
await saveModelApiKey(apiKey, onDone);
|
|
461655
461693
|
return;
|
|
461656
461694
|
}
|
|
461657
461695
|
if (COMMON_INFO_ARGS.includes(args)) {
|
|
@@ -461698,8 +461736,8 @@ var init_model2 = __esm(() => {
|
|
|
461698
461736
|
init_providers();
|
|
461699
461737
|
init_modelAllowlist();
|
|
461700
461738
|
init_validateModel();
|
|
461739
|
+
init_auth2();
|
|
461701
461740
|
init_providerSetup();
|
|
461702
|
-
import_react_compiler_runtime272 = __toESM(require_dist4(), 1);
|
|
461703
461741
|
React110 = __toESM(require_react(), 1);
|
|
461704
461742
|
import_react194 = __toESM(require_react(), 1);
|
|
461705
461743
|
jsx_dev_runtime352 = __toESM(require_jsx_dev_runtime(), 1);
|
|
@@ -461730,7 +461768,7 @@ __export(exports_tag, {
|
|
|
461730
461768
|
call: () => call62
|
|
461731
461769
|
});
|
|
461732
461770
|
function ConfirmRemoveTag(t0) {
|
|
461733
|
-
const $2 =
|
|
461771
|
+
const $2 = import_react_compiler_runtime272.c(11);
|
|
461734
461772
|
const {
|
|
461735
461773
|
tagName,
|
|
461736
461774
|
onConfirm,
|
|
@@ -461805,7 +461843,7 @@ function ConfirmRemoveTag(t0) {
|
|
|
461805
461843
|
return t6;
|
|
461806
461844
|
}
|
|
461807
461845
|
function ToggleTagAndClose(t0) {
|
|
461808
|
-
const $2 =
|
|
461846
|
+
const $2 = import_react_compiler_runtime272.c(17);
|
|
461809
461847
|
const {
|
|
461810
461848
|
tagName,
|
|
461811
461849
|
onDone
|
|
@@ -461918,7 +461956,7 @@ function ToggleTagAndClose(t0) {
|
|
|
461918
461956
|
return null;
|
|
461919
461957
|
}
|
|
461920
461958
|
function ShowHelp(t0) {
|
|
461921
|
-
const $2 =
|
|
461959
|
+
const $2 = import_react_compiler_runtime272.c(3);
|
|
461922
461960
|
const {
|
|
461923
461961
|
onDone
|
|
461924
461962
|
} = t0;
|
|
@@ -461968,7 +462006,7 @@ async function call62(onDone, _context, args) {
|
|
|
461968
462006
|
onDone
|
|
461969
462007
|
}, undefined, false, undefined, this);
|
|
461970
462008
|
}
|
|
461971
|
-
var
|
|
462009
|
+
var import_react_compiler_runtime272, React111, jsx_dev_runtime353;
|
|
461972
462010
|
var init_tag = __esm(() => {
|
|
461973
462011
|
init_source();
|
|
461974
462012
|
init_state();
|
|
@@ -461978,7 +462016,7 @@ var init_tag = __esm(() => {
|
|
|
461978
462016
|
init_ink2();
|
|
461979
462017
|
init_analytics();
|
|
461980
462018
|
init_sessionStorage();
|
|
461981
|
-
|
|
462019
|
+
import_react_compiler_runtime272 = __toESM(require_dist4(), 1);
|
|
461982
462020
|
React111 = __toESM(require_react(), 1);
|
|
461983
462021
|
jsx_dev_runtime353 = __toESM(require_jsx_dev_runtime(), 1);
|
|
461984
462022
|
});
|
|
@@ -462281,7 +462319,7 @@ var init_environmentSelection = __esm(() => {
|
|
|
462281
462319
|
|
|
462282
462320
|
// src/components/RemoteEnvironmentDialog.tsx
|
|
462283
462321
|
function RemoteEnvironmentDialog(t0) {
|
|
462284
|
-
const $2 =
|
|
462322
|
+
const $2 = import_react_compiler_runtime273.c(27);
|
|
462285
462323
|
const {
|
|
462286
462324
|
onDone
|
|
462287
462325
|
} = t0;
|
|
@@ -462481,7 +462519,7 @@ function RemoteEnvironmentDialog(t0) {
|
|
|
462481
462519
|
return t5;
|
|
462482
462520
|
}
|
|
462483
462521
|
function EnvironmentLabel(t0) {
|
|
462484
|
-
const $2 =
|
|
462522
|
+
const $2 = import_react_compiler_runtime273.c(7);
|
|
462485
462523
|
const {
|
|
462486
462524
|
environment
|
|
462487
462525
|
} = t0;
|
|
@@ -462531,7 +462569,7 @@ function EnvironmentLabel(t0) {
|
|
|
462531
462569
|
return t3;
|
|
462532
462570
|
}
|
|
462533
462571
|
function SingleEnvironmentContent(t0) {
|
|
462534
|
-
const $2 =
|
|
462572
|
+
const $2 = import_react_compiler_runtime273.c(6);
|
|
462535
462573
|
const {
|
|
462536
462574
|
environment,
|
|
462537
462575
|
onDone
|
|
@@ -462573,7 +462611,7 @@ function SingleEnvironmentContent(t0) {
|
|
|
462573
462611
|
return t3;
|
|
462574
462612
|
}
|
|
462575
462613
|
function MultipleEnvironmentsContent(t0) {
|
|
462576
|
-
const $2 =
|
|
462614
|
+
const $2 = import_react_compiler_runtime273.c(18);
|
|
462577
462615
|
const {
|
|
462578
462616
|
environments,
|
|
462579
462617
|
selectedEnvironment,
|
|
@@ -462711,7 +462749,7 @@ function _temp161(env4) {
|
|
|
462711
462749
|
value: env4.environment_id
|
|
462712
462750
|
};
|
|
462713
462751
|
}
|
|
462714
|
-
var
|
|
462752
|
+
var import_react_compiler_runtime273, import_react195, jsx_dev_runtime354, DIALOG_TITLE = "Select Remote Environment", SETUP_HINT = `Configure environments at: https://claude.ai/code`;
|
|
462715
462753
|
var init_RemoteEnvironmentDialog = __esm(() => {
|
|
462716
462754
|
init_source();
|
|
462717
462755
|
init_figures();
|
|
@@ -462728,7 +462766,7 @@ var init_RemoteEnvironmentDialog = __esm(() => {
|
|
|
462728
462766
|
init_Dialog();
|
|
462729
462767
|
init_KeyboardShortcutHint();
|
|
462730
462768
|
init_LoadingState();
|
|
462731
|
-
|
|
462769
|
+
import_react_compiler_runtime273 = __toESM(require_dist4(), 1);
|
|
462732
462770
|
import_react195 = __toESM(require_react(), 1);
|
|
462733
462771
|
jsx_dev_runtime354 = __toESM(require_jsx_dev_runtime(), 1);
|
|
462734
462772
|
});
|
|
@@ -462834,7 +462872,7 @@ __export(exports_rate_limit_options, {
|
|
|
462834
462872
|
call: () => call67
|
|
462835
462873
|
});
|
|
462836
462874
|
function RateLimitOptionsMenu(t0) {
|
|
462837
|
-
const $2 =
|
|
462875
|
+
const $2 = import_react_compiler_runtime274.c(25);
|
|
462838
462876
|
const {
|
|
462839
462877
|
onDone,
|
|
462840
462878
|
context: context7
|
|
@@ -463031,7 +463069,7 @@ async function call67(onDone, context7) {
|
|
|
463031
463069
|
context: context7
|
|
463032
463070
|
}, undefined, false, undefined, this);
|
|
463033
463071
|
}
|
|
463034
|
-
var
|
|
463072
|
+
var import_react_compiler_runtime274, import_react196, jsx_dev_runtime357;
|
|
463035
463073
|
var init_rate_limit_options = __esm(() => {
|
|
463036
463074
|
init_select();
|
|
463037
463075
|
init_Dialog();
|
|
@@ -463044,7 +463082,7 @@ var init_rate_limit_options = __esm(() => {
|
|
|
463044
463082
|
init_extra_usage2();
|
|
463045
463083
|
init_upgrade2();
|
|
463046
463084
|
init_upgrade();
|
|
463047
|
-
|
|
463085
|
+
import_react_compiler_runtime274 = __toESM(require_dist4(), 1);
|
|
463048
463086
|
import_react196 = __toESM(require_react(), 1);
|
|
463049
463087
|
jsx_dev_runtime357 = __toESM(require_jsx_dev_runtime(), 1);
|
|
463050
463088
|
});
|
|
@@ -463214,7 +463252,7 @@ function _temp163(s) {
|
|
|
463214
463252
|
return s.effortValue;
|
|
463215
463253
|
}
|
|
463216
463254
|
function ApplyEffortAndClose(t0) {
|
|
463217
|
-
const $2 =
|
|
463255
|
+
const $2 = import_react_compiler_runtime275.c(6);
|
|
463218
463256
|
const {
|
|
463219
463257
|
result,
|
|
463220
463258
|
onDone
|
|
@@ -463274,14 +463312,14 @@ Effort levels:
|
|
|
463274
463312
|
onDone
|
|
463275
463313
|
}, undefined, false, undefined, this);
|
|
463276
463314
|
}
|
|
463277
|
-
var
|
|
463315
|
+
var import_react_compiler_runtime275, React113, jsx_dev_runtime358, COMMON_HELP_ARGS2;
|
|
463278
463316
|
var init_effort2 = __esm(() => {
|
|
463279
463317
|
init_useMainLoopModel();
|
|
463280
463318
|
init_analytics();
|
|
463281
463319
|
init_AppState();
|
|
463282
463320
|
init_effort();
|
|
463283
463321
|
init_settings2();
|
|
463284
|
-
|
|
463322
|
+
import_react_compiler_runtime275 = __toESM(require_dist4(), 1);
|
|
463285
463323
|
React113 = __toESM(require_react(), 1);
|
|
463286
463324
|
jsx_dev_runtime358 = __toESM(require_jsx_dev_runtime(), 1);
|
|
463287
463325
|
COMMON_HELP_ARGS2 = ["help", "-h", "--help"];
|
|
@@ -464694,7 +464732,7 @@ function createAllTimeStatsPromise() {
|
|
|
464694
464732
|
});
|
|
464695
464733
|
}
|
|
464696
464734
|
function Stats(t0) {
|
|
464697
|
-
const $2 =
|
|
464735
|
+
const $2 = import_react_compiler_runtime276.c(4);
|
|
464698
464736
|
const {
|
|
464699
464737
|
onClose
|
|
464700
464738
|
} = t0;
|
|
@@ -464738,7 +464776,7 @@ function Stats(t0) {
|
|
|
464738
464776
|
return t3;
|
|
464739
464777
|
}
|
|
464740
464778
|
function StatsContent(t0) {
|
|
464741
|
-
const $2 =
|
|
464779
|
+
const $2 = import_react_compiler_runtime276.c(34);
|
|
464742
464780
|
const {
|
|
464743
464781
|
allTimePromise,
|
|
464744
464782
|
onClose
|
|
@@ -464998,7 +465036,7 @@ function _temp165(prev_0) {
|
|
|
464998
465036
|
return prev_0 === "Overview" ? "Models" : "Overview";
|
|
464999
465037
|
}
|
|
465000
465038
|
function DateRangeSelector(t0) {
|
|
465001
|
-
const $2 =
|
|
465039
|
+
const $2 = import_react_compiler_runtime276.c(9);
|
|
465002
465040
|
const {
|
|
465003
465041
|
dateRange,
|
|
465004
465042
|
isLoading
|
|
@@ -465430,7 +465468,7 @@ function generateFunFactoid(stats, totalTokens) {
|
|
|
465430
465468
|
return factoids[randomIndex];
|
|
465431
465469
|
}
|
|
465432
465470
|
function ModelsTab(t0) {
|
|
465433
|
-
const $2 =
|
|
465471
|
+
const $2 = import_react_compiler_runtime276.c(15);
|
|
465434
465472
|
const {
|
|
465435
465473
|
stats,
|
|
465436
465474
|
dateRange,
|
|
@@ -465635,7 +465673,7 @@ function _temp718(t0, t1) {
|
|
|
465635
465673
|
return b.inputTokens + b.outputTokens - (a2.inputTokens + a2.outputTokens);
|
|
465636
465674
|
}
|
|
465637
465675
|
function ModelEntry(t0) {
|
|
465638
|
-
const $2 =
|
|
465676
|
+
const $2 = import_react_compiler_runtime276.c(21);
|
|
465639
465677
|
const {
|
|
465640
465678
|
model,
|
|
465641
465679
|
usage,
|
|
@@ -465946,7 +465984,7 @@ function renderModelsToAnsi(stats) {
|
|
|
465946
465984
|
}
|
|
465947
465985
|
return lines;
|
|
465948
465986
|
}
|
|
465949
|
-
var
|
|
465987
|
+
var import_react_compiler_runtime276, import_react197, jsx_dev_runtime359, DATE_RANGE_LABELS, DATE_RANGE_ORDER, BOOK_COMPARISONS, TIME_COMPARISONS;
|
|
465950
465988
|
var init_Stats = __esm(() => {
|
|
465951
465989
|
init_asciichart();
|
|
465952
465990
|
init_source();
|
|
@@ -465967,7 +466005,7 @@ var init_Stats = __esm(() => {
|
|
|
465967
466005
|
init_Pane();
|
|
465968
466006
|
init_Tabs();
|
|
465969
466007
|
init_Spinner2();
|
|
465970
|
-
|
|
466008
|
+
import_react_compiler_runtime276 = __toESM(require_dist4(), 1);
|
|
465971
466009
|
import_react197 = __toESM(require_react(), 1);
|
|
465972
466010
|
jsx_dev_runtime359 = __toESM(require_jsx_dev_runtime(), 1);
|
|
465973
466011
|
DATE_RANGE_LABELS = {
|
|
@@ -483866,7 +483904,7 @@ __export(exports_InvalidConfigDialog, {
|
|
|
483866
483904
|
showInvalidConfigDialog: () => showInvalidConfigDialog
|
|
483867
483905
|
});
|
|
483868
483906
|
function InvalidConfigDialog(t0) {
|
|
483869
|
-
const $2 =
|
|
483907
|
+
const $2 = import_react_compiler_runtime277.c(19);
|
|
483870
483908
|
const {
|
|
483871
483909
|
filePath,
|
|
483872
483910
|
errorDescription,
|
|
@@ -484028,7 +484066,7 @@ async function showInvalidConfigDialog({
|
|
|
484028
484066
|
}, undefined, false, undefined, this), renderOptions);
|
|
484029
484067
|
});
|
|
484030
484068
|
}
|
|
484031
|
-
var
|
|
484069
|
+
var import_react_compiler_runtime277, jsx_dev_runtime361, SAFE_ERROR_THEME_NAME = "dark";
|
|
484032
484070
|
var init_InvalidConfigDialog = __esm(() => {
|
|
484033
484071
|
init_ink2();
|
|
484034
484072
|
init_KeybindingProviderSetup();
|
|
@@ -484037,7 +484075,7 @@ var init_InvalidConfigDialog = __esm(() => {
|
|
|
484037
484075
|
init_slowOperations();
|
|
484038
484076
|
init_CustomSelect();
|
|
484039
484077
|
init_Dialog();
|
|
484040
|
-
|
|
484078
|
+
import_react_compiler_runtime277 = __toESM(require_dist4(), 1);
|
|
484041
484079
|
jsx_dev_runtime361 = __toESM(require_jsx_dev_runtime(), 1);
|
|
484042
484080
|
});
|
|
484043
484081
|
|
|
@@ -484230,7 +484268,7 @@ var init_init2 = __esm(() => {
|
|
|
484230
484268
|
|
|
484231
484269
|
// src/context/fpsMetrics.tsx
|
|
484232
484270
|
function FpsMetricsProvider(t0) {
|
|
484233
|
-
const $2 =
|
|
484271
|
+
const $2 = import_react_compiler_runtime278.c(3);
|
|
484234
484272
|
const {
|
|
484235
484273
|
getFpsMetrics,
|
|
484236
484274
|
children
|
|
@@ -484252,9 +484290,9 @@ function FpsMetricsProvider(t0) {
|
|
|
484252
484290
|
function useFpsMetrics() {
|
|
484253
484291
|
return import_react198.useContext(FpsMetricsContext);
|
|
484254
484292
|
}
|
|
484255
|
-
var
|
|
484293
|
+
var import_react_compiler_runtime278, import_react198, jsx_dev_runtime362, FpsMetricsContext;
|
|
484256
484294
|
var init_fpsMetrics = __esm(() => {
|
|
484257
|
-
|
|
484295
|
+
import_react_compiler_runtime278 = __toESM(require_dist4(), 1);
|
|
484258
484296
|
import_react198 = __toESM(require_react(), 1);
|
|
484259
484297
|
jsx_dev_runtime362 = __toESM(require_jsx_dev_runtime(), 1);
|
|
484260
484298
|
FpsMetricsContext = import_react198.createContext(undefined);
|
|
@@ -484341,7 +484379,7 @@ function createStatsStore() {
|
|
|
484341
484379
|
};
|
|
484342
484380
|
}
|
|
484343
484381
|
function StatsProvider(t0) {
|
|
484344
|
-
const $2 =
|
|
484382
|
+
const $2 = import_react_compiler_runtime279.c(7);
|
|
484345
484383
|
const {
|
|
484346
484384
|
store: externalStore,
|
|
484347
484385
|
children
|
|
@@ -484396,10 +484434,10 @@ function StatsProvider(t0) {
|
|
|
484396
484434
|
}
|
|
484397
484435
|
return t4;
|
|
484398
484436
|
}
|
|
484399
|
-
var
|
|
484437
|
+
var import_react_compiler_runtime279, import_react199, jsx_dev_runtime363, RESERVOIR_SIZE = 1024, StatsContext;
|
|
484400
484438
|
var init_stats4 = __esm(() => {
|
|
484401
484439
|
init_config2();
|
|
484402
|
-
|
|
484440
|
+
import_react_compiler_runtime279 = __toESM(require_dist4(), 1);
|
|
484403
484441
|
import_react199 = __toESM(require_react(), 1);
|
|
484404
484442
|
jsx_dev_runtime363 = __toESM(require_jsx_dev_runtime(), 1);
|
|
484405
484443
|
StatsContext = import_react199.createContext(null);
|
|
@@ -484547,7 +484585,7 @@ __export(exports_App, {
|
|
|
484547
484585
|
App: () => App2
|
|
484548
484586
|
});
|
|
484549
484587
|
function App2(t0) {
|
|
484550
|
-
const $2 =
|
|
484588
|
+
const $2 = import_react_compiler_runtime280.c(9);
|
|
484551
484589
|
const {
|
|
484552
484590
|
getFpsMetrics,
|
|
484553
484591
|
stats: stats2,
|
|
@@ -484593,13 +484631,13 @@ function App2(t0) {
|
|
|
484593
484631
|
}
|
|
484594
484632
|
return t3;
|
|
484595
484633
|
}
|
|
484596
|
-
var
|
|
484634
|
+
var import_react_compiler_runtime280, jsx_dev_runtime364;
|
|
484597
484635
|
var init_App2 = __esm(() => {
|
|
484598
484636
|
init_fpsMetrics();
|
|
484599
484637
|
init_stats4();
|
|
484600
484638
|
init_AppState();
|
|
484601
484639
|
init_onChangeAppState();
|
|
484602
|
-
|
|
484640
|
+
import_react_compiler_runtime280 = __toESM(require_dist4(), 1);
|
|
484603
484641
|
jsx_dev_runtime364 = __toESM(require_jsx_dev_runtime(), 1);
|
|
484604
484642
|
});
|
|
484605
484643
|
|
|
@@ -484631,7 +484669,7 @@ var init_use_search_highlight = __esm(() => {
|
|
|
484631
484669
|
|
|
484632
484670
|
// src/components/CostThresholdDialog.tsx
|
|
484633
484671
|
function CostThresholdDialog(t0) {
|
|
484634
|
-
const $2 =
|
|
484672
|
+
const $2 = import_react_compiler_runtime281.c(7);
|
|
484635
484673
|
const {
|
|
484636
484674
|
onDone
|
|
484637
484675
|
} = t0;
|
|
@@ -484691,18 +484729,18 @@ function CostThresholdDialog(t0) {
|
|
|
484691
484729
|
}
|
|
484692
484730
|
return t4;
|
|
484693
484731
|
}
|
|
484694
|
-
var
|
|
484732
|
+
var import_react_compiler_runtime281, jsx_dev_runtime365;
|
|
484695
484733
|
var init_CostThresholdDialog = __esm(() => {
|
|
484696
484734
|
init_ink2();
|
|
484697
484735
|
init_CustomSelect();
|
|
484698
484736
|
init_Dialog();
|
|
484699
|
-
|
|
484737
|
+
import_react_compiler_runtime281 = __toESM(require_dist4(), 1);
|
|
484700
484738
|
jsx_dev_runtime365 = __toESM(require_jsx_dev_runtime(), 1);
|
|
484701
484739
|
});
|
|
484702
484740
|
|
|
484703
484741
|
// src/components/IdleReturnDialog.tsx
|
|
484704
484742
|
function IdleReturnDialog(t0) {
|
|
484705
|
-
const $2 =
|
|
484743
|
+
const $2 = import_react_compiler_runtime282.c(16);
|
|
484706
484744
|
const {
|
|
484707
484745
|
idleMinutes,
|
|
484708
484746
|
totalInputTokens,
|
|
@@ -484821,13 +484859,13 @@ function formatIdleDuration(minutes) {
|
|
|
484821
484859
|
}
|
|
484822
484860
|
return `${hours}h ${remainingMinutes}m`;
|
|
484823
484861
|
}
|
|
484824
|
-
var
|
|
484862
|
+
var import_react_compiler_runtime282, jsx_dev_runtime366;
|
|
484825
484863
|
var init_IdleReturnDialog = __esm(() => {
|
|
484826
484864
|
init_ink2();
|
|
484827
484865
|
init_format();
|
|
484828
484866
|
init_CustomSelect();
|
|
484829
484867
|
init_Dialog();
|
|
484830
|
-
|
|
484868
|
+
import_react_compiler_runtime282 = __toESM(require_dist4(), 1);
|
|
484831
484869
|
jsx_dev_runtime366 = __toESM(require_jsx_dev_runtime(), 1);
|
|
484832
484870
|
});
|
|
484833
484871
|
|
|
@@ -484986,7 +485024,7 @@ var init_QueryGuard = () => {};
|
|
|
484986
485024
|
|
|
484987
485025
|
// src/components/permissions/WorkerBadge.tsx
|
|
484988
485026
|
function WorkerBadge(t0) {
|
|
484989
|
-
const $2 =
|
|
485027
|
+
const $2 = import_react_compiler_runtime283.c(7);
|
|
484990
485028
|
const {
|
|
484991
485029
|
name,
|
|
484992
485030
|
color: color3
|
|
@@ -485036,18 +485074,18 @@ function WorkerBadge(t0) {
|
|
|
485036
485074
|
}
|
|
485037
485075
|
return t3;
|
|
485038
485076
|
}
|
|
485039
|
-
var
|
|
485077
|
+
var import_react_compiler_runtime283, jsx_dev_runtime367;
|
|
485040
485078
|
var init_WorkerBadge = __esm(() => {
|
|
485041
485079
|
init_figures2();
|
|
485042
485080
|
init_ink2();
|
|
485043
485081
|
init_ink3();
|
|
485044
|
-
|
|
485082
|
+
import_react_compiler_runtime283 = __toESM(require_dist4(), 1);
|
|
485045
485083
|
jsx_dev_runtime367 = __toESM(require_jsx_dev_runtime(), 1);
|
|
485046
485084
|
});
|
|
485047
485085
|
|
|
485048
485086
|
// src/components/permissions/WorkerPendingPermission.tsx
|
|
485049
485087
|
function WorkerPendingPermission(t0) {
|
|
485050
|
-
const $2 =
|
|
485088
|
+
const $2 = import_react_compiler_runtime284.c(15);
|
|
485051
485089
|
const {
|
|
485052
485090
|
toolName,
|
|
485053
485091
|
description
|
|
@@ -485198,13 +485236,13 @@ function WorkerPendingPermission(t0) {
|
|
|
485198
485236
|
}
|
|
485199
485237
|
return t11;
|
|
485200
485238
|
}
|
|
485201
|
-
var
|
|
485239
|
+
var import_react_compiler_runtime284, jsx_dev_runtime368;
|
|
485202
485240
|
var init_WorkerPendingPermission = __esm(() => {
|
|
485203
485241
|
init_ink2();
|
|
485204
485242
|
init_teammate();
|
|
485205
485243
|
init_Spinner2();
|
|
485206
485244
|
init_WorkerBadge();
|
|
485207
|
-
|
|
485245
|
+
import_react_compiler_runtime284 = __toESM(require_dist4(), 1);
|
|
485208
485246
|
jsx_dev_runtime368 = __toESM(require_jsx_dev_runtime(), 1);
|
|
485209
485247
|
});
|
|
485210
485248
|
|
|
@@ -485897,7 +485935,7 @@ function getRestoreOptionConversationText(option) {
|
|
|
485897
485935
|
}
|
|
485898
485936
|
}
|
|
485899
485937
|
function RestoreOptionDescription(t0) {
|
|
485900
|
-
const $2 =
|
|
485938
|
+
const $2 = import_react_compiler_runtime285.c(11);
|
|
485901
485939
|
const {
|
|
485902
485940
|
selectedRestoreOption,
|
|
485903
485941
|
canRestoreCode,
|
|
@@ -485956,7 +485994,7 @@ function RestoreOptionDescription(t0) {
|
|
|
485956
485994
|
return t4;
|
|
485957
485995
|
}
|
|
485958
485996
|
function RestoreCodeConfirmation(t0) {
|
|
485959
|
-
const $2 =
|
|
485997
|
+
const $2 = import_react_compiler_runtime285.c(14);
|
|
485960
485998
|
const {
|
|
485961
485999
|
diffStatsForRestore
|
|
485962
486000
|
} = t0;
|
|
@@ -486056,7 +486094,7 @@ function RestoreCodeConfirmation(t0) {
|
|
|
486056
486094
|
return t2;
|
|
486057
486095
|
}
|
|
486058
486096
|
function DiffStatsText(t0) {
|
|
486059
|
-
const $2 =
|
|
486097
|
+
const $2 = import_react_compiler_runtime285.c(7);
|
|
486060
486098
|
const {
|
|
486061
486099
|
diffStats
|
|
486062
486100
|
} = t0;
|
|
@@ -486109,7 +486147,7 @@ function DiffStatsText(t0) {
|
|
|
486109
486147
|
return t3;
|
|
486110
486148
|
}
|
|
486111
486149
|
function UserMessageOption(t0) {
|
|
486112
|
-
const $2 =
|
|
486150
|
+
const $2 = import_react_compiler_runtime285.c(31);
|
|
486113
486151
|
const {
|
|
486114
486152
|
userMessage,
|
|
486115
486153
|
color: color3,
|
|
@@ -486417,7 +486455,7 @@ function messagesAfterAreOnlySynthetic(messages, fromIndex) {
|
|
|
486417
486455
|
}
|
|
486418
486456
|
return true;
|
|
486419
486457
|
}
|
|
486420
|
-
var
|
|
486458
|
+
var import_react_compiler_runtime285, import_react203, jsx_dev_runtime370, MAX_VISIBLE_MESSAGES = 7;
|
|
486421
486459
|
var init_MessageSelector = __esm(() => {
|
|
486422
486460
|
init_figures();
|
|
486423
486461
|
init_analytics();
|
|
@@ -486435,7 +486473,7 @@ var init_MessageSelector = __esm(() => {
|
|
|
486435
486473
|
init_xml();
|
|
486436
486474
|
init_format();
|
|
486437
486475
|
init_Divider();
|
|
486438
|
-
|
|
486476
|
+
import_react_compiler_runtime285 = __toESM(require_dist4(), 1);
|
|
486439
486477
|
import_react203 = __toESM(require_react(), 1);
|
|
486440
486478
|
jsx_dev_runtime370 = __toESM(require_jsx_dev_runtime(), 1);
|
|
486441
486479
|
});
|
|
@@ -486507,7 +486545,7 @@ var init_useNotifyAfterTimeout = __esm(() => {
|
|
|
486507
486545
|
|
|
486508
486546
|
// src/components/permissions/AskUserQuestionPermissionRequest/PreviewBox.tsx
|
|
486509
486547
|
function PreviewBox(props) {
|
|
486510
|
-
const $2 =
|
|
486548
|
+
const $2 = import_react_compiler_runtime286.c(4);
|
|
486511
486549
|
const settings = useSettings();
|
|
486512
486550
|
if (settings.syntaxHighlightingDisabled) {
|
|
486513
486551
|
let t02;
|
|
@@ -486542,7 +486580,7 @@ function PreviewBox(props) {
|
|
|
486542
486580
|
return t0;
|
|
486543
486581
|
}
|
|
486544
486582
|
function PreviewBoxWithHighlight(props) {
|
|
486545
|
-
const $2 =
|
|
486583
|
+
const $2 = import_react_compiler_runtime286.c(4);
|
|
486546
486584
|
let t0;
|
|
486547
486585
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
486548
486586
|
t0 = getCliHighlightPromise();
|
|
@@ -486566,7 +486604,7 @@ function PreviewBoxWithHighlight(props) {
|
|
|
486566
486604
|
return t1;
|
|
486567
486605
|
}
|
|
486568
486606
|
function PreviewBoxBody(t0) {
|
|
486569
|
-
const $2 =
|
|
486607
|
+
const $2 = import_react_compiler_runtime286.c(34);
|
|
486570
486608
|
const {
|
|
486571
486609
|
content,
|
|
486572
486610
|
maxLines,
|
|
@@ -486750,7 +486788,7 @@ function PreviewBoxBody(t0) {
|
|
|
486750
486788
|
function _temp166(line) {
|
|
486751
486789
|
return stringWidth(line);
|
|
486752
486790
|
}
|
|
486753
|
-
var
|
|
486791
|
+
var import_react_compiler_runtime286, import_react206, jsx_dev_runtime371, BOX_CHARS;
|
|
486754
486792
|
var init_PreviewBox = __esm(() => {
|
|
486755
486793
|
init_useSettings();
|
|
486756
486794
|
init_useTerminalSize();
|
|
@@ -486759,7 +486797,7 @@ var init_PreviewBox = __esm(() => {
|
|
|
486759
486797
|
init_cliHighlight();
|
|
486760
486798
|
init_markdown();
|
|
486761
486799
|
init_sliceAnsi();
|
|
486762
|
-
|
|
486800
|
+
import_react_compiler_runtime286 = __toESM(require_dist4(), 1);
|
|
486763
486801
|
import_react206 = __toESM(require_react(), 1);
|
|
486764
486802
|
jsx_dev_runtime371 = __toESM(require_jsx_dev_runtime(), 1);
|
|
486765
486803
|
BOX_CHARS = {
|
|
@@ -486776,7 +486814,7 @@ var init_PreviewBox = __esm(() => {
|
|
|
486776
486814
|
|
|
486777
486815
|
// src/components/permissions/AskUserQuestionPermissionRequest/QuestionNavigationBar.tsx
|
|
486778
486816
|
function QuestionNavigationBar(t0) {
|
|
486779
|
-
const $2 =
|
|
486817
|
+
const $2 = import_react_compiler_runtime287.c(39);
|
|
486780
486818
|
const {
|
|
486781
486819
|
questions,
|
|
486782
486820
|
currentQuestionIndex,
|
|
@@ -486996,14 +487034,14 @@ function _temp273(header_0) {
|
|
|
486996
487034
|
function _temp167(q_0, index_0) {
|
|
486997
487035
|
return q_0?.header || `Q${index_0 + 1}`;
|
|
486998
487036
|
}
|
|
486999
|
-
var
|
|
487037
|
+
var import_react_compiler_runtime287, jsx_dev_runtime372;
|
|
487000
487038
|
var init_QuestionNavigationBar = __esm(() => {
|
|
487001
487039
|
init_figures();
|
|
487002
487040
|
init_useTerminalSize();
|
|
487003
487041
|
init_stringWidth();
|
|
487004
487042
|
init_ink2();
|
|
487005
487043
|
init_format();
|
|
487006
|
-
|
|
487044
|
+
import_react_compiler_runtime287 = __toESM(require_dist4(), 1);
|
|
487007
487045
|
jsx_dev_runtime372 = __toESM(require_jsx_dev_runtime(), 1);
|
|
487008
487046
|
});
|
|
487009
487047
|
|
|
@@ -487399,7 +487437,7 @@ var init_PreviewQuestionView = __esm(() => {
|
|
|
487399
487437
|
|
|
487400
487438
|
// src/components/permissions/AskUserQuestionPermissionRequest/QuestionView.tsx
|
|
487401
487439
|
function QuestionView(t0) {
|
|
487402
|
-
const $2 =
|
|
487440
|
+
const $2 = import_react_compiler_runtime288.c(114);
|
|
487403
487441
|
const {
|
|
487404
487442
|
question,
|
|
487405
487443
|
questions,
|
|
@@ -487995,7 +488033,7 @@ function _temp274(opt) {
|
|
|
487995
488033
|
function _temp168(s) {
|
|
487996
488034
|
return s.toolPermissionContext.mode;
|
|
487997
488035
|
}
|
|
487998
|
-
var
|
|
488036
|
+
var import_react_compiler_runtime288, import_react208, jsx_dev_runtime374;
|
|
487999
488037
|
var init_QuestionView = __esm(() => {
|
|
488000
488038
|
init_figures();
|
|
488001
488039
|
init_ink2();
|
|
@@ -488009,7 +488047,7 @@ var init_QuestionView = __esm(() => {
|
|
|
488009
488047
|
init_PermissionRequestTitle();
|
|
488010
488048
|
init_PreviewQuestionView();
|
|
488011
488049
|
init_QuestionNavigationBar();
|
|
488012
|
-
|
|
488050
|
+
import_react_compiler_runtime288 = __toESM(require_dist4(), 1);
|
|
488013
488051
|
import_react208 = __toESM(require_react(), 1);
|
|
488014
488052
|
jsx_dev_runtime374 = __toESM(require_jsx_dev_runtime(), 1);
|
|
488015
488053
|
});
|
|
@@ -488051,7 +488089,7 @@ ${reason.reason}` : ".";
|
|
|
488051
488089
|
}
|
|
488052
488090
|
}
|
|
488053
488091
|
function PermissionRuleExplanation(t0) {
|
|
488054
|
-
const $2 =
|
|
488092
|
+
const $2 = import_react_compiler_runtime289.c(11);
|
|
488055
488093
|
const {
|
|
488056
488094
|
permissionResult,
|
|
488057
488095
|
toolType
|
|
@@ -488120,20 +488158,20 @@ function PermissionRuleExplanation(t0) {
|
|
|
488120
488158
|
function _temp169(s) {
|
|
488121
488159
|
return s.toolPermissionContext.mode;
|
|
488122
488160
|
}
|
|
488123
|
-
var
|
|
488161
|
+
var import_react_compiler_runtime289, jsx_dev_runtime375;
|
|
488124
488162
|
var init_PermissionRuleExplanation = __esm(() => {
|
|
488125
488163
|
init_source();
|
|
488126
488164
|
init_ink2();
|
|
488127
488165
|
init_AppState();
|
|
488128
488166
|
init_permissionRuleParser();
|
|
488129
488167
|
init_ThemedText();
|
|
488130
|
-
|
|
488168
|
+
import_react_compiler_runtime289 = __toESM(require_dist4(), 1);
|
|
488131
488169
|
jsx_dev_runtime375 = __toESM(require_jsx_dev_runtime(), 1);
|
|
488132
488170
|
});
|
|
488133
488171
|
|
|
488134
488172
|
// src/components/permissions/AskUserQuestionPermissionRequest/SubmitQuestionsView.tsx
|
|
488135
488173
|
function SubmitQuestionsView(t0) {
|
|
488136
|
-
const $2 =
|
|
488174
|
+
const $2 = import_react_compiler_runtime290.c(27);
|
|
488137
488175
|
const {
|
|
488138
488176
|
questions,
|
|
488139
488177
|
currentQuestionIndex,
|
|
@@ -488341,7 +488379,7 @@ function SubmitQuestionsView(t0) {
|
|
|
488341
488379
|
}
|
|
488342
488380
|
return t12;
|
|
488343
488381
|
}
|
|
488344
|
-
var
|
|
488382
|
+
var import_react_compiler_runtime290, jsx_dev_runtime376;
|
|
488345
488383
|
var init_SubmitQuestionsView = __esm(() => {
|
|
488346
488384
|
init_figures();
|
|
488347
488385
|
init_ink2();
|
|
@@ -488350,7 +488388,7 @@ var init_SubmitQuestionsView = __esm(() => {
|
|
|
488350
488388
|
init_PermissionRequestTitle();
|
|
488351
488389
|
init_PermissionRuleExplanation();
|
|
488352
488390
|
init_QuestionNavigationBar();
|
|
488353
|
-
|
|
488391
|
+
import_react_compiler_runtime290 = __toESM(require_dist4(), 1);
|
|
488354
488392
|
jsx_dev_runtime376 = __toESM(require_jsx_dev_runtime(), 1);
|
|
488355
488393
|
});
|
|
488356
488394
|
|
|
@@ -488459,7 +488497,7 @@ var init_use_multiple_choice_state = __esm(() => {
|
|
|
488459
488497
|
|
|
488460
488498
|
// src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx
|
|
488461
488499
|
function AskUserQuestionPermissionRequest(props) {
|
|
488462
|
-
const $2 =
|
|
488500
|
+
const $2 = import_react_compiler_runtime291.c(4);
|
|
488463
488501
|
const settings = useSettings();
|
|
488464
488502
|
if (settings.syntaxHighlightingDisabled) {
|
|
488465
488503
|
let t02;
|
|
@@ -488494,7 +488532,7 @@ function AskUserQuestionPermissionRequest(props) {
|
|
|
488494
488532
|
return t0;
|
|
488495
488533
|
}
|
|
488496
488534
|
function AskUserQuestionWithHighlight(props) {
|
|
488497
|
-
const $2 =
|
|
488535
|
+
const $2 = import_react_compiler_runtime291.c(4);
|
|
488498
488536
|
let t0;
|
|
488499
488537
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
488500
488538
|
t0 = getCliHighlightPromise();
|
|
@@ -488518,7 +488556,7 @@ function AskUserQuestionWithHighlight(props) {
|
|
|
488518
488556
|
return t1;
|
|
488519
488557
|
}
|
|
488520
488558
|
function AskUserQuestionPermissionRequestBody(t0) {
|
|
488521
|
-
const $2 =
|
|
488559
|
+
const $2 = import_react_compiler_runtime291.c(115);
|
|
488522
488560
|
const {
|
|
488523
488561
|
toolUseConfirm,
|
|
488524
488562
|
onDone,
|
|
@@ -489131,7 +489169,7 @@ async function convertImagesToBlocks(images) {
|
|
|
489131
489169
|
return resized.block;
|
|
489132
489170
|
}));
|
|
489133
489171
|
}
|
|
489134
|
-
var
|
|
489172
|
+
var import_react_compiler_runtime291, import_react210, jsx_dev_runtime377, MIN_CONTENT_HEIGHT = 12, MIN_CONTENT_WIDTH = 40, CONTENT_CHROME_OVERHEAD = 15;
|
|
489135
489173
|
var init_AskUserQuestionPermissionRequest = __esm(() => {
|
|
489136
489174
|
init_useSettings();
|
|
489137
489175
|
init_useTerminalSize();
|
|
@@ -489151,7 +489189,7 @@ var init_AskUserQuestionPermissionRequest = __esm(() => {
|
|
|
489151
489189
|
init_QuestionView();
|
|
489152
489190
|
init_SubmitQuestionsView();
|
|
489153
489191
|
init_use_multiple_choice_state();
|
|
489154
|
-
|
|
489192
|
+
import_react_compiler_runtime291 = __toESM(require_dist4(), 1);
|
|
489155
489193
|
import_react210 = __toESM(require_react(), 1);
|
|
489156
489194
|
jsx_dev_runtime377 = __toESM(require_jsx_dev_runtime(), 1);
|
|
489157
489195
|
});
|
|
@@ -489940,7 +489978,7 @@ function decisionReasonDisplayString(decisionReason) {
|
|
|
489940
489978
|
}
|
|
489941
489979
|
}
|
|
489942
489980
|
function PermissionDecisionInfoItem(t0) {
|
|
489943
|
-
const $2 =
|
|
489981
|
+
const $2 = import_react_compiler_runtime292.c(10);
|
|
489944
489982
|
const {
|
|
489945
489983
|
title,
|
|
489946
489984
|
decisionReason
|
|
@@ -490041,7 +490079,7 @@ function PermissionDecisionInfoItem(t0) {
|
|
|
490041
490079
|
return t4;
|
|
490042
490080
|
}
|
|
490043
490081
|
function SuggestedRules(t0) {
|
|
490044
|
-
const $2 =
|
|
490082
|
+
const $2 = import_react_compiler_runtime292.c(18);
|
|
490045
490083
|
const {
|
|
490046
490084
|
suggestions
|
|
490047
490085
|
} = t0;
|
|
@@ -490153,7 +490191,7 @@ function extractMode(updates) {
|
|
|
490153
490191
|
return update?.type === "setMode" ? update.mode : undefined;
|
|
490154
490192
|
}
|
|
490155
490193
|
function SuggestionDisplay(t0) {
|
|
490156
|
-
const $2 =
|
|
490194
|
+
const $2 = import_react_compiler_runtime292.c(22);
|
|
490157
490195
|
const {
|
|
490158
490196
|
suggestions,
|
|
490159
490197
|
width
|
|
@@ -490397,7 +490435,7 @@ function _temp276(rule, index) {
|
|
|
490397
490435
|
}, index, true, undefined, this);
|
|
490398
490436
|
}
|
|
490399
490437
|
function PermissionDecisionDebugInfo(t0) {
|
|
490400
|
-
const $2 =
|
|
490438
|
+
const $2 = import_react_compiler_runtime292.c(25);
|
|
490401
490439
|
const {
|
|
490402
490440
|
permissionResult,
|
|
490403
490441
|
toolName
|
|
@@ -490612,7 +490650,7 @@ function _temp527(u_1, i3) {
|
|
|
490612
490650
|
function _temp438(s) {
|
|
490613
490651
|
return s.toolPermissionContext;
|
|
490614
490652
|
}
|
|
490615
|
-
var
|
|
490653
|
+
var import_react_compiler_runtime292, jsx_dev_runtime378;
|
|
490616
490654
|
var init_PermissionDecisionDebugInfo = __esm(() => {
|
|
490617
490655
|
init_source();
|
|
490618
490656
|
init_figures();
|
|
@@ -490624,7 +490662,7 @@ var init_PermissionDecisionDebugInfo = __esm(() => {
|
|
|
490624
490662
|
init_shadowedRuleDetection();
|
|
490625
490663
|
init_sandbox_adapter();
|
|
490626
490664
|
init_constants2();
|
|
490627
|
-
|
|
490665
|
+
import_react_compiler_runtime292 = __toESM(require_dist4(), 1);
|
|
490628
490666
|
jsx_dev_runtime378 = __toESM(require_jsx_dev_runtime(), 1);
|
|
490629
490667
|
});
|
|
490630
490668
|
|
|
@@ -490792,7 +490830,7 @@ var init_permissionExplainer = __esm(() => {
|
|
|
490792
490830
|
|
|
490793
490831
|
// src/components/permissions/PermissionExplanation.tsx
|
|
490794
490832
|
function ShimmerLoadingText() {
|
|
490795
|
-
const $2 =
|
|
490833
|
+
const $2 = import_react_compiler_runtime293.c(7);
|
|
490796
490834
|
const [ref, glimmerIndex] = useShimmerAnimation("responding", LOADING_MESSAGE, false);
|
|
490797
490835
|
let t0;
|
|
490798
490836
|
if ($2[0] !== glimmerIndex) {
|
|
@@ -490862,7 +490900,7 @@ function createExplanationPromise(props) {
|
|
|
490862
490900
|
}).catch(() => null);
|
|
490863
490901
|
}
|
|
490864
490902
|
function usePermissionExplainerUI(props) {
|
|
490865
|
-
const $2 =
|
|
490903
|
+
const $2 = import_react_compiler_runtime293.c(9);
|
|
490866
490904
|
let t0;
|
|
490867
490905
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
490868
490906
|
t0 = isPermissionExplainerEnabled();
|
|
@@ -490921,7 +490959,7 @@ function _temp173(v) {
|
|
|
490921
490959
|
return !v;
|
|
490922
490960
|
}
|
|
490923
490961
|
function ExplanationResult(t0) {
|
|
490924
|
-
const $2 =
|
|
490962
|
+
const $2 = import_react_compiler_runtime293.c(21);
|
|
490925
490963
|
const {
|
|
490926
490964
|
promise: promise3
|
|
490927
490965
|
} = t0;
|
|
@@ -491047,7 +491085,7 @@ function ExplanationResult(t0) {
|
|
|
491047
491085
|
return t8;
|
|
491048
491086
|
}
|
|
491049
491087
|
function PermissionExplainerContent(t0) {
|
|
491050
|
-
const $2 =
|
|
491088
|
+
const $2 = import_react_compiler_runtime293.c(3);
|
|
491051
491089
|
const {
|
|
491052
491090
|
visible,
|
|
491053
491091
|
promise: promise3
|
|
@@ -491080,7 +491118,7 @@ function PermissionExplainerContent(t0) {
|
|
|
491080
491118
|
}
|
|
491081
491119
|
return t2;
|
|
491082
491120
|
}
|
|
491083
|
-
var
|
|
491121
|
+
var import_react_compiler_runtime293, import_react212, jsx_dev_runtime379, LOADING_MESSAGE = "Loading explanation…";
|
|
491084
491122
|
var init_PermissionExplanation = __esm(() => {
|
|
491085
491123
|
init_ink2();
|
|
491086
491124
|
init_useKeybinding();
|
|
@@ -491088,14 +491126,14 @@ var init_PermissionExplanation = __esm(() => {
|
|
|
491088
491126
|
init_permissionExplainer();
|
|
491089
491127
|
init_ShimmerChar();
|
|
491090
491128
|
init_useShimmerAnimation();
|
|
491091
|
-
|
|
491129
|
+
import_react_compiler_runtime293 = __toESM(require_dist4(), 1);
|
|
491092
491130
|
import_react212 = __toESM(require_react(), 1);
|
|
491093
491131
|
jsx_dev_runtime379 = __toESM(require_jsx_dev_runtime(), 1);
|
|
491094
491132
|
});
|
|
491095
491133
|
|
|
491096
491134
|
// src/components/FileEditToolDiff.tsx
|
|
491097
491135
|
function FileEditToolDiff(props) {
|
|
491098
|
-
const $2 =
|
|
491136
|
+
const $2 = import_react_compiler_runtime294.c(7);
|
|
491099
491137
|
let t0;
|
|
491100
491138
|
if ($2[0] !== props.edits || $2[1] !== props.file_path) {
|
|
491101
491139
|
t0 = () => loadDiffData(props.file_path, props.edits);
|
|
@@ -491133,7 +491171,7 @@ function FileEditToolDiff(props) {
|
|
|
491133
491171
|
return t2;
|
|
491134
491172
|
}
|
|
491135
491173
|
function DiffBody(t0) {
|
|
491136
|
-
const $2 =
|
|
491174
|
+
const $2 = import_react_compiler_runtime294.c(6);
|
|
491137
491175
|
const {
|
|
491138
491176
|
promise: promise3,
|
|
491139
491177
|
file_path
|
|
@@ -491170,7 +491208,7 @@ function DiffBody(t0) {
|
|
|
491170
491208
|
return t1;
|
|
491171
491209
|
}
|
|
491172
491210
|
function DiffFrame(t0) {
|
|
491173
|
-
const $2 =
|
|
491211
|
+
const $2 = import_react_compiler_runtime294.c(5);
|
|
491174
491212
|
const {
|
|
491175
491213
|
children,
|
|
491176
491214
|
placeholder
|
|
@@ -491276,7 +491314,7 @@ function normalizeEdit(fileContent, edit2) {
|
|
|
491276
491314
|
new_string: actualNew
|
|
491277
491315
|
};
|
|
491278
491316
|
}
|
|
491279
|
-
var
|
|
491317
|
+
var import_react_compiler_runtime294, import_react213, jsx_dev_runtime380;
|
|
491280
491318
|
var init_FileEditToolDiff = __esm(() => {
|
|
491281
491319
|
init_useTerminalSize();
|
|
491282
491320
|
init_ink2();
|
|
@@ -491286,7 +491324,7 @@ var init_FileEditToolDiff = __esm(() => {
|
|
|
491286
491324
|
init_readEditContext();
|
|
491287
491325
|
init_stringUtils();
|
|
491288
491326
|
init_StructuredDiffList();
|
|
491289
|
-
|
|
491327
|
+
import_react_compiler_runtime294 = __toESM(require_dist4(), 1);
|
|
491290
491328
|
import_react213 = __toESM(require_react(), 1);
|
|
491291
491329
|
jsx_dev_runtime380 = __toESM(require_jsx_dev_runtime(), 1);
|
|
491292
491330
|
});
|
|
@@ -491488,7 +491526,7 @@ var init_useDiffInIDE = __esm(() => {
|
|
|
491488
491526
|
// src/components/ShowInIDEPrompt.tsx
|
|
491489
491527
|
import { basename as basename45, relative as relative27 } from "path";
|
|
491490
491528
|
function ShowInIDEPrompt(t0) {
|
|
491491
|
-
const $2 =
|
|
491529
|
+
const $2 = import_react_compiler_runtime295.c(36);
|
|
491492
491530
|
const {
|
|
491493
491531
|
onChange,
|
|
491494
491532
|
options: options2,
|
|
@@ -491691,14 +491729,14 @@ function ShowInIDEPrompt(t0) {
|
|
|
491691
491729
|
}
|
|
491692
491730
|
return t13;
|
|
491693
491731
|
}
|
|
491694
|
-
var
|
|
491732
|
+
var import_react_compiler_runtime295, jsx_dev_runtime381;
|
|
491695
491733
|
var init_ShowInIDEPrompt = __esm(() => {
|
|
491696
491734
|
init_ink2();
|
|
491697
491735
|
init_cwd2();
|
|
491698
491736
|
init_ide();
|
|
491699
491737
|
init_CustomSelect();
|
|
491700
491738
|
init_Pane();
|
|
491701
|
-
|
|
491739
|
+
import_react_compiler_runtime295 = __toESM(require_dist4(), 1);
|
|
491702
491740
|
jsx_dev_runtime381 = __toESM(require_jsx_dev_runtime(), 1);
|
|
491703
491741
|
});
|
|
491704
491742
|
|
|
@@ -492287,7 +492325,7 @@ var init_FilePermissionDialog = __esm(() => {
|
|
|
492287
492325
|
// src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsx
|
|
492288
492326
|
import { basename as basename47, relative as relative29 } from "path";
|
|
492289
492327
|
function SedEditPermissionRequest(t0) {
|
|
492290
|
-
const $2 =
|
|
492328
|
+
const $2 = import_react_compiler_runtime296.c(9);
|
|
492291
492329
|
let props;
|
|
492292
492330
|
let sedInfo;
|
|
492293
492331
|
if ($2[0] !== t0) {
|
|
@@ -492354,7 +492392,7 @@ function _temp175(e) {
|
|
|
492354
492392
|
};
|
|
492355
492393
|
}
|
|
492356
492394
|
function SedEditPermissionRequestInner(t0) {
|
|
492357
|
-
const $2 =
|
|
492395
|
+
const $2 = import_react_compiler_runtime296.c(35);
|
|
492358
492396
|
let contentPromise;
|
|
492359
492397
|
let props;
|
|
492360
492398
|
let sedInfo;
|
|
@@ -492533,7 +492571,7 @@ function SedEditPermissionRequestInner(t0) {
|
|
|
492533
492571
|
}
|
|
492534
492572
|
return t13;
|
|
492535
492573
|
}
|
|
492536
|
-
var
|
|
492574
|
+
var import_react_compiler_runtime296, import_react217, jsx_dev_runtime384;
|
|
492537
492575
|
var init_SedEditPermissionRequest = __esm(() => {
|
|
492538
492576
|
init_FileEditToolDiff();
|
|
492539
492577
|
init_cwd2();
|
|
@@ -492544,7 +492582,7 @@ var init_SedEditPermissionRequest = __esm(() => {
|
|
|
492544
492582
|
init_BashTool();
|
|
492545
492583
|
init_sedEditParser();
|
|
492546
492584
|
init_FilePermissionDialog();
|
|
492547
|
-
|
|
492585
|
+
import_react_compiler_runtime296 = __toESM(require_dist4(), 1);
|
|
492548
492586
|
import_react217 = __toESM(require_react(), 1);
|
|
492549
492587
|
jsx_dev_runtime384 = __toESM(require_jsx_dev_runtime(), 1);
|
|
492550
492588
|
});
|
|
@@ -492986,7 +493024,7 @@ var init_bashToolUseOptions = __esm(() => {
|
|
|
492986
493024
|
|
|
492987
493025
|
// src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx
|
|
492988
493026
|
function BashPermissionRequest(props) {
|
|
492989
|
-
const $2 =
|
|
493027
|
+
const $2 = import_react_compiler_runtime297.c(21);
|
|
492990
493028
|
const {
|
|
492991
493029
|
toolUseConfirm,
|
|
492992
493030
|
toolUseContext,
|
|
@@ -493372,7 +493410,7 @@ function BashPermissionRequestInner({
|
|
|
493372
493410
|
]
|
|
493373
493411
|
}, undefined, true, undefined, this);
|
|
493374
493412
|
}
|
|
493375
|
-
var
|
|
493413
|
+
var import_react_compiler_runtime297, import_react219, jsx_dev_runtime386;
|
|
493376
493414
|
var init_BashPermissionRequest = __esm(() => {
|
|
493377
493415
|
init_ink2();
|
|
493378
493416
|
init_useKeybinding();
|
|
@@ -493400,14 +493438,14 @@ var init_BashPermissionRequest = __esm(() => {
|
|
|
493400
493438
|
init_useShellPermissionFeedback();
|
|
493401
493439
|
init_utils12();
|
|
493402
493440
|
init_bashToolUseOptions();
|
|
493403
|
-
|
|
493441
|
+
import_react_compiler_runtime297 = __toESM(require_dist4(), 1);
|
|
493404
493442
|
import_react219 = __toESM(require_react(), 1);
|
|
493405
493443
|
jsx_dev_runtime386 = __toESM(require_jsx_dev_runtime(), 1);
|
|
493406
493444
|
});
|
|
493407
493445
|
|
|
493408
493446
|
// src/components/permissions/EnterPlanModePermissionRequest/EnterPlanModePermissionRequest.tsx
|
|
493409
493447
|
function EnterPlanModePermissionRequest(t0) {
|
|
493410
|
-
const $2 =
|
|
493448
|
+
const $2 = import_react_compiler_runtime298.c(18);
|
|
493411
493449
|
const {
|
|
493412
493450
|
toolUseConfirm,
|
|
493413
493451
|
onDone,
|
|
@@ -493572,7 +493610,7 @@ function EnterPlanModePermissionRequest(t0) {
|
|
|
493572
493610
|
function _temp176(s) {
|
|
493573
493611
|
return s.toolPermissionContext.mode;
|
|
493574
493612
|
}
|
|
493575
|
-
var
|
|
493613
|
+
var import_react_compiler_runtime298, jsx_dev_runtime387;
|
|
493576
493614
|
var init_EnterPlanModePermissionRequest = __esm(() => {
|
|
493577
493615
|
init_state();
|
|
493578
493616
|
init_ink2();
|
|
@@ -493581,7 +493619,7 @@ var init_EnterPlanModePermissionRequest = __esm(() => {
|
|
|
493581
493619
|
init_planModeV2();
|
|
493582
493620
|
init_CustomSelect();
|
|
493583
493621
|
init_PermissionDialog();
|
|
493584
|
-
|
|
493622
|
+
import_react_compiler_runtime298 = __toESM(require_dist4(), 1);
|
|
493585
493623
|
jsx_dev_runtime387 = __toESM(require_jsx_dev_runtime(), 1);
|
|
493586
493624
|
});
|
|
493587
493625
|
|
|
@@ -494317,7 +494355,7 @@ var init_ExitPlanModePermissionRequest = __esm(() => {
|
|
|
494317
494355
|
|
|
494318
494356
|
// src/components/permissions/PermissionPrompt.tsx
|
|
494319
494357
|
function PermissionPrompt(t0) {
|
|
494320
|
-
const $2 =
|
|
494358
|
+
const $2 = import_react_compiler_runtime299.c(54);
|
|
494321
494359
|
const {
|
|
494322
494360
|
options: options2,
|
|
494323
494361
|
onSelect,
|
|
@@ -494632,14 +494670,14 @@ function _temp177(prev) {
|
|
|
494632
494670
|
}
|
|
494633
494671
|
};
|
|
494634
494672
|
}
|
|
494635
|
-
var
|
|
494673
|
+
var import_react_compiler_runtime299, import_react221, jsx_dev_runtime389, DEFAULT_PLACEHOLDERS;
|
|
494636
494674
|
var init_PermissionPrompt = __esm(() => {
|
|
494637
494675
|
init_ink2();
|
|
494638
494676
|
init_useKeybinding();
|
|
494639
494677
|
init_analytics();
|
|
494640
494678
|
init_AppState();
|
|
494641
494679
|
init_select();
|
|
494642
|
-
|
|
494680
|
+
import_react_compiler_runtime299 = __toESM(require_dist4(), 1);
|
|
494643
494681
|
import_react221 = __toESM(require_react(), 1);
|
|
494644
494682
|
jsx_dev_runtime389 = __toESM(require_jsx_dev_runtime(), 1);
|
|
494645
494683
|
DEFAULT_PLACEHOLDERS = {
|
|
@@ -494650,7 +494688,7 @@ var init_PermissionPrompt = __esm(() => {
|
|
|
494650
494688
|
|
|
494651
494689
|
// src/components/permissions/FallbackPermissionRequest.tsx
|
|
494652
494690
|
function FallbackPermissionRequest(t0) {
|
|
494653
|
-
const $2 =
|
|
494691
|
+
const $2 = import_react_compiler_runtime300.c(58);
|
|
494654
494692
|
const {
|
|
494655
494693
|
toolUseConfirm,
|
|
494656
494694
|
onDone,
|
|
@@ -495021,7 +495059,7 @@ function FallbackPermissionRequest(t0) {
|
|
|
495021
495059
|
}
|
|
495022
495060
|
return t20;
|
|
495023
495061
|
}
|
|
495024
|
-
var
|
|
495062
|
+
var import_react_compiler_runtime300, jsx_dev_runtime390;
|
|
495025
495063
|
var init_FallbackPermissionRequest = __esm(() => {
|
|
495026
495064
|
init_state();
|
|
495027
495065
|
init_ink2();
|
|
@@ -495034,7 +495072,7 @@ var init_FallbackPermissionRequest = __esm(() => {
|
|
|
495034
495072
|
init_PermissionDialog();
|
|
495035
495073
|
init_PermissionPrompt();
|
|
495036
495074
|
init_PermissionRuleExplanation();
|
|
495037
|
-
|
|
495075
|
+
import_react_compiler_runtime300 = __toESM(require_dist4(), 1);
|
|
495038
495076
|
jsx_dev_runtime390 = __toESM(require_jsx_dev_runtime(), 1);
|
|
495039
495077
|
});
|
|
495040
495078
|
|
|
@@ -495056,7 +495094,7 @@ function createSingleEditDiffConfig(filePath, oldString, newString, replaceAll)
|
|
|
495056
495094
|
// src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx
|
|
495057
495095
|
import { basename as basename49, relative as relative30 } from "path";
|
|
495058
495096
|
function FileEditPermissionRequest(props) {
|
|
495059
|
-
const $2 =
|
|
495097
|
+
const $2 = import_react_compiler_runtime301.c(51);
|
|
495060
495098
|
const parseInput = _temp178;
|
|
495061
495099
|
let T0;
|
|
495062
495100
|
let T1;
|
|
@@ -495236,14 +495274,14 @@ function FileEditPermissionRequest(props) {
|
|
|
495236
495274
|
function _temp178(input) {
|
|
495237
495275
|
return FileEditTool.inputSchema.parse(input);
|
|
495238
495276
|
}
|
|
495239
|
-
var
|
|
495277
|
+
var import_react_compiler_runtime301, jsx_dev_runtime391, ideDiffSupport;
|
|
495240
495278
|
var init_FileEditPermissionRequest = __esm(() => {
|
|
495241
495279
|
init_FileEditToolDiff();
|
|
495242
495280
|
init_cwd2();
|
|
495243
495281
|
init_ink2();
|
|
495244
495282
|
init_FileEditTool();
|
|
495245
495283
|
init_FilePermissionDialog();
|
|
495246
|
-
|
|
495284
|
+
import_react_compiler_runtime301 = __toESM(require_dist4(), 1);
|
|
495247
495285
|
jsx_dev_runtime391 = __toESM(require_jsx_dev_runtime(), 1);
|
|
495248
495286
|
ideDiffSupport = {
|
|
495249
495287
|
getConfig: (input) => createSingleEditDiffConfig(input.file_path, input.old_string, input.new_string, input.replace_all),
|
|
@@ -495275,7 +495313,7 @@ function pathFromToolUse(toolUseConfirm) {
|
|
|
495275
495313
|
return null;
|
|
495276
495314
|
}
|
|
495277
495315
|
function FilesystemPermissionRequest(t0) {
|
|
495278
|
-
const $2 =
|
|
495316
|
+
const $2 = import_react_compiler_runtime302.c(30);
|
|
495279
495317
|
const {
|
|
495280
495318
|
toolUseConfirm,
|
|
495281
495319
|
onDone,
|
|
@@ -495401,18 +495439,18 @@ function FilesystemPermissionRequest(t0) {
|
|
|
495401
495439
|
function _temp179(input) {
|
|
495402
495440
|
return input;
|
|
495403
495441
|
}
|
|
495404
|
-
var
|
|
495442
|
+
var import_react_compiler_runtime302, jsx_dev_runtime392;
|
|
495405
495443
|
var init_FilesystemPermissionRequest = __esm(() => {
|
|
495406
495444
|
init_ink2();
|
|
495407
495445
|
init_FallbackPermissionRequest();
|
|
495408
495446
|
init_FilePermissionDialog();
|
|
495409
|
-
|
|
495447
|
+
import_react_compiler_runtime302 = __toESM(require_dist4(), 1);
|
|
495410
495448
|
jsx_dev_runtime392 = __toESM(require_jsx_dev_runtime(), 1);
|
|
495411
495449
|
});
|
|
495412
495450
|
|
|
495413
495451
|
// src/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsx
|
|
495414
495452
|
function FileWriteToolDiff(t0) {
|
|
495415
|
-
const $2 =
|
|
495453
|
+
const $2 = import_react_compiler_runtime303.c(15);
|
|
495416
495454
|
const {
|
|
495417
495455
|
file_path,
|
|
495418
495456
|
content,
|
|
@@ -495512,21 +495550,21 @@ function _temp180(i3) {
|
|
|
495512
495550
|
}, undefined, false, undefined, this)
|
|
495513
495551
|
}, `ellipsis-${i3}`, false, undefined, this);
|
|
495514
495552
|
}
|
|
495515
|
-
var
|
|
495553
|
+
var import_react_compiler_runtime303, jsx_dev_runtime393;
|
|
495516
495554
|
var init_FileWriteToolDiff = __esm(() => {
|
|
495517
495555
|
init_useTerminalSize();
|
|
495518
495556
|
init_ink2();
|
|
495519
495557
|
init_diff2();
|
|
495520
495558
|
init_HighlightedCode();
|
|
495521
495559
|
init_StructuredDiff();
|
|
495522
|
-
|
|
495560
|
+
import_react_compiler_runtime303 = __toESM(require_dist4(), 1);
|
|
495523
495561
|
jsx_dev_runtime393 = __toESM(require_jsx_dev_runtime(), 1);
|
|
495524
495562
|
});
|
|
495525
495563
|
|
|
495526
495564
|
// src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsx
|
|
495527
495565
|
import { basename as basename50, relative as relative31 } from "path";
|
|
495528
495566
|
function FileWritePermissionRequest(props) {
|
|
495529
|
-
const $2 =
|
|
495567
|
+
const $2 = import_react_compiler_runtime304.c(30);
|
|
495530
495568
|
const parseInput = _temp181;
|
|
495531
495569
|
let t0;
|
|
495532
495570
|
if ($2[0] !== props.toolUseConfirm.input) {
|
|
@@ -495677,7 +495715,7 @@ function FileWritePermissionRequest(props) {
|
|
|
495677
495715
|
function _temp181(input) {
|
|
495678
495716
|
return FileWriteTool.inputSchema.parse(input);
|
|
495679
495717
|
}
|
|
495680
|
-
var
|
|
495718
|
+
var import_react_compiler_runtime304, jsx_dev_runtime394, ideDiffSupport2;
|
|
495681
495719
|
var init_FileWritePermissionRequest = __esm(() => {
|
|
495682
495720
|
init_ink2();
|
|
495683
495721
|
init_FileWriteTool();
|
|
@@ -495686,7 +495724,7 @@ var init_FileWritePermissionRequest = __esm(() => {
|
|
|
495686
495724
|
init_fileRead();
|
|
495687
495725
|
init_FilePermissionDialog();
|
|
495688
495726
|
init_FileWriteToolDiff();
|
|
495689
|
-
|
|
495727
|
+
import_react_compiler_runtime304 = __toESM(require_dist4(), 1);
|
|
495690
495728
|
jsx_dev_runtime394 = __toESM(require_jsx_dev_runtime(), 1);
|
|
495691
495729
|
ideDiffSupport2 = {
|
|
495692
495730
|
getConfig: (input) => {
|
|
@@ -495716,7 +495754,7 @@ var init_FileWritePermissionRequest = __esm(() => {
|
|
|
495716
495754
|
// src/components/permissions/NotebookEditPermissionRequest/NotebookEditToolDiff.tsx
|
|
495717
495755
|
import { relative as relative32 } from "path";
|
|
495718
495756
|
function NotebookEditToolDiff(props) {
|
|
495719
|
-
const $2 =
|
|
495757
|
+
const $2 = import_react_compiler_runtime305.c(5);
|
|
495720
495758
|
let t0;
|
|
495721
495759
|
if ($2[0] !== props.notebook_path) {
|
|
495722
495760
|
t0 = getFsImplementation().readFile(props.notebook_path, {
|
|
@@ -495752,7 +495790,7 @@ function _temp183(content) {
|
|
|
495752
495790
|
return safeParseJSON(content);
|
|
495753
495791
|
}
|
|
495754
495792
|
function NotebookEditToolDiffInner(t0) {
|
|
495755
|
-
const $2 =
|
|
495793
|
+
const $2 = import_react_compiler_runtime305.c(34);
|
|
495756
495794
|
const {
|
|
495757
495795
|
notebook_path,
|
|
495758
495796
|
cell_id,
|
|
@@ -495980,7 +496018,7 @@ function _temp351(i3) {
|
|
|
495980
496018
|
}, undefined, false, undefined, this)
|
|
495981
496019
|
}, `ellipsis-${i3}`, false, undefined, this);
|
|
495982
496020
|
}
|
|
495983
|
-
var
|
|
496021
|
+
var import_react_compiler_runtime305, import_react222, jsx_dev_runtime395;
|
|
495984
496022
|
var init_NotebookEditToolDiff = __esm(() => {
|
|
495985
496023
|
init_ink2();
|
|
495986
496024
|
init_cwd2();
|
|
@@ -495990,7 +496028,7 @@ var init_NotebookEditToolDiff = __esm(() => {
|
|
|
495990
496028
|
init_notebook();
|
|
495991
496029
|
init_HighlightedCode();
|
|
495992
496030
|
init_StructuredDiff();
|
|
495993
|
-
|
|
496031
|
+
import_react_compiler_runtime305 = __toESM(require_dist4(), 1);
|
|
495994
496032
|
import_react222 = __toESM(require_react(), 1);
|
|
495995
496033
|
jsx_dev_runtime395 = __toESM(require_jsx_dev_runtime(), 1);
|
|
495996
496034
|
});
|
|
@@ -495998,7 +496036,7 @@ var init_NotebookEditToolDiff = __esm(() => {
|
|
|
495998
496036
|
// src/components/permissions/NotebookEditPermissionRequest/NotebookEditPermissionRequest.tsx
|
|
495999
496037
|
import { basename as basename51 } from "path";
|
|
496000
496038
|
function NotebookEditPermissionRequest(props) {
|
|
496001
|
-
const $2 =
|
|
496039
|
+
const $2 = import_react_compiler_runtime306.c(52);
|
|
496002
496040
|
const parseInput = _temp185;
|
|
496003
496041
|
let T0;
|
|
496004
496042
|
let T1;
|
|
@@ -496183,14 +496221,14 @@ function _temp185(input) {
|
|
|
496183
496221
|
}
|
|
496184
496222
|
return result.data;
|
|
496185
496223
|
}
|
|
496186
|
-
var
|
|
496224
|
+
var import_react_compiler_runtime306, jsx_dev_runtime396;
|
|
496187
496225
|
var init_NotebookEditPermissionRequest = __esm(() => {
|
|
496188
496226
|
init_ink2();
|
|
496189
496227
|
init_NotebookEditTool();
|
|
496190
496228
|
init_log3();
|
|
496191
496229
|
init_FilePermissionDialog();
|
|
496192
496230
|
init_NotebookEditToolDiff();
|
|
496193
|
-
|
|
496231
|
+
import_react_compiler_runtime306 = __toESM(require_dist4(), 1);
|
|
496194
496232
|
jsx_dev_runtime396 = __toESM(require_jsx_dev_runtime(), 1);
|
|
496195
496233
|
});
|
|
496196
496234
|
|
|
@@ -496745,7 +496783,7 @@ var init_PowerShellPermissionRequest = __esm(() => {
|
|
|
496745
496783
|
|
|
496746
496784
|
// src/components/permissions/SkillPermissionRequest/SkillPermissionRequest.tsx
|
|
496747
496785
|
function SkillPermissionRequest(props) {
|
|
496748
|
-
const $2 =
|
|
496786
|
+
const $2 = import_react_compiler_runtime307.c(51);
|
|
496749
496787
|
const {
|
|
496750
496788
|
toolUseConfirm,
|
|
496751
496789
|
onDone,
|
|
@@ -497153,7 +497191,7 @@ function _temp186(input) {
|
|
|
497153
497191
|
}
|
|
497154
497192
|
return result.data.skill;
|
|
497155
497193
|
}
|
|
497156
|
-
var
|
|
497194
|
+
var import_react_compiler_runtime307, jsx_dev_runtime398;
|
|
497157
497195
|
var init_SkillPermissionRequest = __esm(() => {
|
|
497158
497196
|
init_log3();
|
|
497159
497197
|
init_state();
|
|
@@ -497167,7 +497205,7 @@ var init_SkillPermissionRequest = __esm(() => {
|
|
|
497167
497205
|
init_PermissionDialog();
|
|
497168
497206
|
init_PermissionPrompt();
|
|
497169
497207
|
init_PermissionRuleExplanation();
|
|
497170
|
-
|
|
497208
|
+
import_react_compiler_runtime307 = __toESM(require_dist4(), 1);
|
|
497171
497209
|
jsx_dev_runtime398 = __toESM(require_jsx_dev_runtime(), 1);
|
|
497172
497210
|
});
|
|
497173
497211
|
|
|
@@ -497188,7 +497226,7 @@ function inputToPermissionRuleContent(input) {
|
|
|
497188
497226
|
}
|
|
497189
497227
|
}
|
|
497190
497228
|
function WebFetchPermissionRequest(t0) {
|
|
497191
|
-
const $2 =
|
|
497229
|
+
const $2 = import_react_compiler_runtime308.c(41);
|
|
497192
497230
|
const {
|
|
497193
497231
|
toolUseConfirm,
|
|
497194
497232
|
onDone,
|
|
@@ -497461,7 +497499,7 @@ function WebFetchPermissionRequest(t0) {
|
|
|
497461
497499
|
}
|
|
497462
497500
|
return t15;
|
|
497463
497501
|
}
|
|
497464
|
-
var
|
|
497502
|
+
var import_react_compiler_runtime308, jsx_dev_runtime399;
|
|
497465
497503
|
var init_WebFetchPermissionRequest = __esm(() => {
|
|
497466
497504
|
init_ink2();
|
|
497467
497505
|
init_WebFetchTool();
|
|
@@ -497471,7 +497509,7 @@ var init_WebFetchPermissionRequest = __esm(() => {
|
|
|
497471
497509
|
init_PermissionDialog();
|
|
497472
497510
|
init_PermissionRuleExplanation();
|
|
497473
497511
|
init_utils12();
|
|
497474
|
-
|
|
497512
|
+
import_react_compiler_runtime308 = __toESM(require_dist4(), 1);
|
|
497475
497513
|
jsx_dev_runtime399 = __toESM(require_jsx_dev_runtime(), 1);
|
|
497476
497514
|
});
|
|
497477
497515
|
|
|
@@ -497527,7 +497565,7 @@ function getNotificationMessage(toolUseConfirm) {
|
|
|
497527
497565
|
return `PointCode needs your permission to use ${toolName}`;
|
|
497528
497566
|
}
|
|
497529
497567
|
function PermissionRequest(t0) {
|
|
497530
|
-
const $2 =
|
|
497568
|
+
const $2 = import_react_compiler_runtime309.c(18);
|
|
497531
497569
|
const {
|
|
497532
497570
|
toolUseConfirm,
|
|
497533
497571
|
toolUseContext,
|
|
@@ -497605,7 +497643,7 @@ function PermissionRequest(t0) {
|
|
|
497605
497643
|
}
|
|
497606
497644
|
return t5;
|
|
497607
497645
|
}
|
|
497608
|
-
var
|
|
497646
|
+
var import_react_compiler_runtime309, jsx_dev_runtime400, ReviewArtifactTool = null, ReviewArtifactPermissionRequest = null, WorkflowTool2 = null, WorkflowPermissionRequest = null, MonitorTool2 = null, MonitorPermissionRequest = null;
|
|
497609
497647
|
var init_PermissionRequest = __esm(() => {
|
|
497610
497648
|
init_EnterPlanModeTool();
|
|
497611
497649
|
init_ExitPlanModeV2Tool();
|
|
@@ -497634,7 +497672,7 @@ var init_PermissionRequest = __esm(() => {
|
|
|
497634
497672
|
init_PowerShellPermissionRequest();
|
|
497635
497673
|
init_SkillPermissionRequest();
|
|
497636
497674
|
init_WebFetchPermissionRequest();
|
|
497637
|
-
|
|
497675
|
+
import_react_compiler_runtime309 = __toESM(require_dist4(), 1);
|
|
497638
497676
|
jsx_dev_runtime400 = __toESM(require_jsx_dev_runtime(), 1);
|
|
497639
497677
|
});
|
|
497640
497678
|
|
|
@@ -497884,7 +497922,7 @@ function resetTypeahead(ta) {
|
|
|
497884
497922
|
ta.timer = undefined;
|
|
497885
497923
|
}
|
|
497886
497924
|
function ResolvingSpinner() {
|
|
497887
|
-
const $2 =
|
|
497925
|
+
const $2 = import_react_compiler_runtime310.c(4);
|
|
497888
497926
|
const [frame, setFrame] = import_react224.useState(0);
|
|
497889
497927
|
let t0;
|
|
497890
497928
|
let t1;
|
|
@@ -497948,7 +497986,7 @@ function formatDateDisplay(isoValue, schema) {
|
|
|
497948
497986
|
}
|
|
497949
497987
|
}
|
|
497950
497988
|
function ElicitationDialog(t0) {
|
|
497951
|
-
const $2 =
|
|
497989
|
+
const $2 = import_react_compiler_runtime310.c(7);
|
|
497952
497990
|
const {
|
|
497953
497991
|
event,
|
|
497954
497992
|
onResponse,
|
|
@@ -499190,7 +499228,7 @@ ${message}`,
|
|
|
499190
499228
|
}, undefined, true, undefined, this)
|
|
499191
499229
|
}, undefined, false, undefined, this);
|
|
499192
499230
|
}
|
|
499193
|
-
var
|
|
499231
|
+
var import_react_compiler_runtime310, import_react224, jsx_dev_runtime401, isTextField = (s) => ["string", "number", "integer"].includes(s.type), RESOLVING_SPINNER_CHARS = "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏", advanceSpinnerFrame = (f) => (f + 1) % RESOLVING_SPINNER_CHARS.length;
|
|
499194
499232
|
var init_ElicitationDialog = __esm(() => {
|
|
499195
499233
|
init_figures();
|
|
499196
499234
|
init_overlayContext();
|
|
@@ -499206,14 +499244,14 @@ var init_ElicitationDialog = __esm(() => {
|
|
|
499206
499244
|
init_Dialog();
|
|
499207
499245
|
init_KeyboardShortcutHint();
|
|
499208
499246
|
init_TextInput();
|
|
499209
|
-
|
|
499247
|
+
import_react_compiler_runtime310 = __toESM(require_dist4(), 1);
|
|
499210
499248
|
import_react224 = __toESM(require_react(), 1);
|
|
499211
499249
|
jsx_dev_runtime401 = __toESM(require_jsx_dev_runtime(), 1);
|
|
499212
499250
|
});
|
|
499213
499251
|
|
|
499214
499252
|
// src/components/hooks/PromptDialog.tsx
|
|
499215
499253
|
function PromptDialog(t0) {
|
|
499216
|
-
const $2 =
|
|
499254
|
+
const $2 = import_react_compiler_runtime311.c(15);
|
|
499217
499255
|
const {
|
|
499218
499256
|
title,
|
|
499219
499257
|
toolInputSummary,
|
|
@@ -499302,13 +499340,13 @@ function _temp187(opt) {
|
|
|
499302
499340
|
description: opt.description
|
|
499303
499341
|
};
|
|
499304
499342
|
}
|
|
499305
|
-
var
|
|
499343
|
+
var import_react_compiler_runtime311, jsx_dev_runtime402;
|
|
499306
499344
|
var init_PromptDialog = __esm(() => {
|
|
499307
499345
|
init_ink2();
|
|
499308
499346
|
init_useKeybinding();
|
|
499309
499347
|
init_select();
|
|
499310
499348
|
init_PermissionDialog();
|
|
499311
|
-
|
|
499349
|
+
import_react_compiler_runtime311 = __toESM(require_dist4(), 1);
|
|
499312
499350
|
jsx_dev_runtime402 = __toESM(require_jsx_dev_runtime(), 1);
|
|
499313
499351
|
});
|
|
499314
499352
|
|
|
@@ -499383,7 +499421,7 @@ function companionReservedColumns(terminalColumns, speaking) {
|
|
|
499383
499421
|
const bubble = speaking && !isFullscreenActive() ? BUBBLE_WIDTH : 0;
|
|
499384
499422
|
return spriteColWidth(nameWidth) + SPRITE_PADDING_X + bubble;
|
|
499385
499423
|
}
|
|
499386
|
-
var
|
|
499424
|
+
var import_react_compiler_runtime312, import_react227, jsx_dev_runtime403, H2, PET_HEARTS, MIN_COLS_FOR_FULL_SPRITE = 100, SPRITE_BODY_WIDTH = 12, NAME_ROW_PAD = 2, SPRITE_PADDING_X = 2, BUBBLE_WIDTH = 36;
|
|
499387
499425
|
var init_CompanionSprite = __esm(() => {
|
|
499388
499426
|
init_figures();
|
|
499389
499427
|
init_useTerminalSize();
|
|
@@ -499395,7 +499433,7 @@ var init_CompanionSprite = __esm(() => {
|
|
|
499395
499433
|
init_companion();
|
|
499396
499434
|
init_sprites();
|
|
499397
499435
|
init_types4();
|
|
499398
|
-
|
|
499436
|
+
import_react_compiler_runtime312 = __toESM(require_dist4(), 1);
|
|
499399
499437
|
import_react227 = __toESM(require_react(), 1);
|
|
499400
499438
|
jsx_dev_runtime403 = __toESM(require_jsx_dev_runtime(), 1);
|
|
499401
499439
|
H2 = figures_default.heart;
|
|
@@ -499410,7 +499448,7 @@ function isBuddyTeaserWindow() {
|
|
|
499410
499448
|
return d.getFullYear() === 2026 && d.getMonth() === 3 && d.getDate() <= 7;
|
|
499411
499449
|
}
|
|
499412
499450
|
function RainbowText2(t0) {
|
|
499413
|
-
const $2 =
|
|
499451
|
+
const $2 = import_react_compiler_runtime313.c(2);
|
|
499414
499452
|
const {
|
|
499415
499453
|
text
|
|
499416
499454
|
} = t0;
|
|
@@ -499433,7 +499471,7 @@ function _temp188(ch2, i3) {
|
|
|
499433
499471
|
}, i3, false, undefined, this);
|
|
499434
499472
|
}
|
|
499435
499473
|
function useBuddyNotification() {
|
|
499436
|
-
const $2 =
|
|
499474
|
+
const $2 = import_react_compiler_runtime313.c(4);
|
|
499437
499475
|
const {
|
|
499438
499476
|
addNotification,
|
|
499439
499477
|
removeNotification
|
|
@@ -499484,13 +499522,13 @@ function findBuddyTriggerPositions(text) {
|
|
|
499484
499522
|
}
|
|
499485
499523
|
return triggers;
|
|
499486
499524
|
}
|
|
499487
|
-
var
|
|
499525
|
+
var import_react_compiler_runtime313, import_react228, jsx_dev_runtime404;
|
|
499488
499526
|
var init_useBuddyNotification = __esm(() => {
|
|
499489
499527
|
init_notifications();
|
|
499490
499528
|
init_ink2();
|
|
499491
499529
|
init_config2();
|
|
499492
499530
|
init_thinking();
|
|
499493
|
-
|
|
499531
|
+
import_react_compiler_runtime313 = __toESM(require_dist4(), 1);
|
|
499494
499532
|
import_react228 = __toESM(require_react(), 1);
|
|
499495
499533
|
jsx_dev_runtime404 = __toESM(require_jsx_dev_runtime(), 1);
|
|
499496
499534
|
});
|
|
@@ -499907,7 +499945,7 @@ var init_NativeAutoUpdater = __esm(() => {
|
|
|
499907
499945
|
|
|
499908
499946
|
// src/components/PackageManagerAutoUpdater.tsx
|
|
499909
499947
|
function PackageManagerAutoUpdater(t0) {
|
|
499910
|
-
const $2 =
|
|
499948
|
+
const $2 = import_react_compiler_runtime314.c(10);
|
|
499911
499949
|
const {
|
|
499912
499950
|
verbose
|
|
499913
499951
|
} = t0;
|
|
@@ -500011,7 +500049,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
500011
500049
|
}
|
|
500012
500050
|
return t6;
|
|
500013
500051
|
}
|
|
500014
|
-
var
|
|
500052
|
+
var import_react_compiler_runtime314, React134, import_react234, jsx_dev_runtime407;
|
|
500015
500053
|
var init_PackageManagerAutoUpdater = __esm(() => {
|
|
500016
500054
|
init_dist();
|
|
500017
500055
|
init_ink2();
|
|
@@ -500020,7 +500058,7 @@ var init_PackageManagerAutoUpdater = __esm(() => {
|
|
|
500020
500058
|
init_debug();
|
|
500021
500059
|
init_packageManagers();
|
|
500022
500060
|
init_settings2();
|
|
500023
|
-
|
|
500061
|
+
import_react_compiler_runtime314 = __toESM(require_dist4(), 1);
|
|
500024
500062
|
React134 = __toESM(require_react(), 1);
|
|
500025
500063
|
import_react234 = __toESM(require_react(), 1);
|
|
500026
500064
|
jsx_dev_runtime407 = __toESM(require_jsx_dev_runtime(), 1);
|
|
@@ -500028,7 +500066,7 @@ var init_PackageManagerAutoUpdater = __esm(() => {
|
|
|
500028
500066
|
|
|
500029
500067
|
// src/components/AutoUpdaterWrapper.tsx
|
|
500030
500068
|
function AutoUpdaterWrapper(t0) {
|
|
500031
|
-
const $2 =
|
|
500069
|
+
const $2 = import_react_compiler_runtime315.c(17);
|
|
500032
500070
|
const {
|
|
500033
500071
|
isUpdating,
|
|
500034
500072
|
onChangeIsUpdating,
|
|
@@ -500110,7 +500148,7 @@ function AutoUpdaterWrapper(t0) {
|
|
|
500110
500148
|
}
|
|
500111
500149
|
return t3;
|
|
500112
500150
|
}
|
|
500113
|
-
var
|
|
500151
|
+
var import_react_compiler_runtime315, React135, jsx_dev_runtime408;
|
|
500114
500152
|
var init_AutoUpdaterWrapper = __esm(() => {
|
|
500115
500153
|
init_config2();
|
|
500116
500154
|
init_debug();
|
|
@@ -500118,7 +500156,7 @@ var init_AutoUpdaterWrapper = __esm(() => {
|
|
|
500118
500156
|
init_AutoUpdater();
|
|
500119
500157
|
init_NativeAutoUpdater();
|
|
500120
500158
|
init_PackageManagerAutoUpdater();
|
|
500121
|
-
|
|
500159
|
+
import_react_compiler_runtime315 = __toESM(require_dist4(), 1);
|
|
500122
500160
|
React135 = __toESM(require_react(), 1);
|
|
500123
500161
|
jsx_dev_runtime408 = __toESM(require_jsx_dev_runtime(), 1);
|
|
500124
500162
|
});
|
|
@@ -500126,7 +500164,7 @@ var init_AutoUpdaterWrapper = __esm(() => {
|
|
|
500126
500164
|
// src/components/IdeStatusIndicator.tsx
|
|
500127
500165
|
import { basename as basename52 } from "path";
|
|
500128
500166
|
function IdeStatusIndicator(t0) {
|
|
500129
|
-
const $2 =
|
|
500167
|
+
const $2 = import_react_compiler_runtime316.c(7);
|
|
500130
500168
|
const {
|
|
500131
500169
|
ideSelection,
|
|
500132
500170
|
mcpClients
|
|
@@ -500188,11 +500226,11 @@ function IdeStatusIndicator(t0) {
|
|
|
500188
500226
|
return t2;
|
|
500189
500227
|
}
|
|
500190
500228
|
}
|
|
500191
|
-
var
|
|
500229
|
+
var import_react_compiler_runtime316, jsx_dev_runtime409;
|
|
500192
500230
|
var init_IdeStatusIndicator = __esm(() => {
|
|
500193
500231
|
init_useIdeConnectionStatus();
|
|
500194
500232
|
init_ink2();
|
|
500195
|
-
|
|
500233
|
+
import_react_compiler_runtime316 = __toESM(require_dist4(), 1);
|
|
500196
500234
|
jsx_dev_runtime409 = __toESM(require_jsx_dev_runtime(), 1);
|
|
500197
500235
|
});
|
|
500198
500236
|
|
|
@@ -500268,7 +500306,7 @@ var init_compactWarningHook = __esm(() => {
|
|
|
500268
500306
|
|
|
500269
500307
|
// src/components/TokenWarning.tsx
|
|
500270
500308
|
function TokenWarning(t0) {
|
|
500271
|
-
const $2 =
|
|
500309
|
+
const $2 = import_react_compiler_runtime317.c(13);
|
|
500272
500310
|
const {
|
|
500273
500311
|
tokenUsage,
|
|
500274
500312
|
model
|
|
@@ -500350,21 +500388,21 @@ function TokenWarning(t0) {
|
|
|
500350
500388
|
}
|
|
500351
500389
|
return t4;
|
|
500352
500390
|
}
|
|
500353
|
-
var
|
|
500391
|
+
var import_react_compiler_runtime317, import_react237, jsx_dev_runtime411;
|
|
500354
500392
|
var init_TokenWarning = __esm(() => {
|
|
500355
500393
|
init_ink2();
|
|
500356
500394
|
init_growthbook();
|
|
500357
500395
|
init_autoCompact();
|
|
500358
500396
|
init_compactWarningHook();
|
|
500359
500397
|
init_contextWindowUpgradeCheck();
|
|
500360
|
-
|
|
500398
|
+
import_react_compiler_runtime317 = __toESM(require_dist4(), 1);
|
|
500361
500399
|
import_react237 = __toESM(require_react(), 1);
|
|
500362
500400
|
jsx_dev_runtime411 = __toESM(require_jsx_dev_runtime(), 1);
|
|
500363
500401
|
});
|
|
500364
500402
|
|
|
500365
500403
|
// src/components/PromptInput/SandboxPromptFooterHint.tsx
|
|
500366
500404
|
function SandboxPromptFooterHint() {
|
|
500367
|
-
const $2 =
|
|
500405
|
+
const $2 = import_react_compiler_runtime318.c(6);
|
|
500368
500406
|
const [recentViolationCount, setRecentViolationCount] = import_react238.useState(0);
|
|
500369
500407
|
const timerRef = import_react238.useRef(null);
|
|
500370
500408
|
const detailsShortcut = useShortcutDisplay("app:toggleTranscript", "Global", "ctrl+o");
|
|
@@ -500437,19 +500475,19 @@ function SandboxPromptFooterHint() {
|
|
|
500437
500475
|
}
|
|
500438
500476
|
return t3;
|
|
500439
500477
|
}
|
|
500440
|
-
var
|
|
500478
|
+
var import_react_compiler_runtime318, import_react238, jsx_dev_runtime412;
|
|
500441
500479
|
var init_SandboxPromptFooterHint = __esm(() => {
|
|
500442
500480
|
init_ink2();
|
|
500443
500481
|
init_useShortcutDisplay();
|
|
500444
500482
|
init_sandbox_adapter();
|
|
500445
|
-
|
|
500483
|
+
import_react_compiler_runtime318 = __toESM(require_dist4(), 1);
|
|
500446
500484
|
import_react238 = __toESM(require_react(), 1);
|
|
500447
500485
|
jsx_dev_runtime412 = __toESM(require_jsx_dev_runtime(), 1);
|
|
500448
500486
|
});
|
|
500449
500487
|
|
|
500450
500488
|
// src/components/PromptInput/Notifications.tsx
|
|
500451
500489
|
function Notifications(t0) {
|
|
500452
|
-
const $2 =
|
|
500490
|
+
const $2 = import_react_compiler_runtime319.c(34);
|
|
500453
500491
|
const {
|
|
500454
500492
|
apiKeyStatus,
|
|
500455
500493
|
autoUpdaterResult,
|
|
@@ -500761,7 +500799,7 @@ function NotificationContent({
|
|
|
500761
500799
|
]
|
|
500762
500800
|
}, undefined, true, undefined, this);
|
|
500763
500801
|
}
|
|
500764
|
-
var
|
|
500802
|
+
var import_react_compiler_runtime319, import_react239, jsx_dev_runtime413, FOOTER_TEMPORARY_STATUS_TIMEOUT = 5000;
|
|
500765
500803
|
var init_Notifications = __esm(() => {
|
|
500766
500804
|
init_notifications();
|
|
500767
500805
|
init_analytics();
|
|
@@ -500788,7 +500826,7 @@ var init_Notifications = __esm(() => {
|
|
|
500788
500826
|
init_SentryErrorBoundary();
|
|
500789
500827
|
init_TokenWarning();
|
|
500790
500828
|
init_SandboxPromptFooterHint();
|
|
500791
|
-
|
|
500829
|
+
import_react_compiler_runtime319 = __toESM(require_dist4(), 1);
|
|
500792
500830
|
import_react239 = __toESM(require_react(), 1);
|
|
500793
500831
|
jsx_dev_runtime413 = __toESM(require_jsx_dev_runtime(), 1);
|
|
500794
500832
|
});
|
|
@@ -504566,14 +504604,14 @@ var init_keyword = __esm(() => {
|
|
|
504566
504604
|
});
|
|
504567
504605
|
|
|
504568
504606
|
// src/components/AutoModeOptInDialog.tsx
|
|
504569
|
-
var
|
|
504607
|
+
var import_react_compiler_runtime320, import_react245, jsx_dev_runtime416;
|
|
504570
504608
|
var init_AutoModeOptInDialog = __esm(() => {
|
|
504571
504609
|
init_analytics();
|
|
504572
504610
|
init_ink2();
|
|
504573
504611
|
init_settings2();
|
|
504574
504612
|
init_CustomSelect();
|
|
504575
504613
|
init_Dialog();
|
|
504576
|
-
|
|
504614
|
+
import_react_compiler_runtime320 = __toESM(require_dist4(), 1);
|
|
504577
504615
|
import_react245 = __toESM(require_react(), 1);
|
|
504578
504616
|
jsx_dev_runtime416 = __toESM(require_jsx_dev_runtime(), 1);
|
|
504579
504617
|
});
|
|
@@ -504581,7 +504619,7 @@ var init_AutoModeOptInDialog = __esm(() => {
|
|
|
504581
504619
|
// src/components/BridgeDialog.tsx
|
|
504582
504620
|
import { basename as basename54 } from "path";
|
|
504583
504621
|
function BridgeDialog(t0) {
|
|
504584
|
-
const $2 =
|
|
504622
|
+
const $2 = import_react_compiler_runtime321.c(87);
|
|
504585
504623
|
const {
|
|
504586
504624
|
onDone
|
|
504587
504625
|
} = t0;
|
|
@@ -505025,7 +505063,7 @@ function _temp279(s_0) {
|
|
|
505025
505063
|
function _temp190(s) {
|
|
505026
505064
|
return s.replBridgeConnected;
|
|
505027
505065
|
}
|
|
505028
|
-
var
|
|
505066
|
+
var import_react_compiler_runtime321, import_react246, jsx_dev_runtime417;
|
|
505029
505067
|
var init_BridgeDialog = __esm(() => {
|
|
505030
505068
|
init_server();
|
|
505031
505069
|
init_state();
|
|
@@ -505038,7 +505076,7 @@ var init_BridgeDialog = __esm(() => {
|
|
|
505038
505076
|
init_config2();
|
|
505039
505077
|
init_git();
|
|
505040
505078
|
init_Dialog();
|
|
505041
|
-
|
|
505079
|
+
import_react_compiler_runtime321 = __toESM(require_dist4(), 1);
|
|
505042
505080
|
import_react246 = __toESM(require_react(), 1);
|
|
505043
505081
|
jsx_dev_runtime417 = __toESM(require_jsx_dev_runtime(), 1);
|
|
505044
505082
|
});
|
|
@@ -505056,7 +505094,7 @@ function useCoordinatorTaskCount() {
|
|
|
505056
505094
|
function _temp191(s) {
|
|
505057
505095
|
return s.tasks;
|
|
505058
505096
|
}
|
|
505059
|
-
var
|
|
505097
|
+
var import_react_compiler_runtime322, React138, jsx_dev_runtime418;
|
|
505060
505098
|
var init_CoordinatorAgentStatus = __esm(() => {
|
|
505061
505099
|
init_figures2();
|
|
505062
505100
|
init_useTerminalSize();
|
|
@@ -505068,7 +505106,7 @@ var init_CoordinatorAgentStatus = __esm(() => {
|
|
|
505068
505106
|
init_format();
|
|
505069
505107
|
init_framework();
|
|
505070
505108
|
init_taskStatusUtils();
|
|
505071
|
-
|
|
505109
|
+
import_react_compiler_runtime322 = __toESM(require_dist4(), 1);
|
|
505072
505110
|
React138 = __toESM(require_react(), 1);
|
|
505073
505111
|
jsx_dev_runtime418 = __toESM(require_jsx_dev_runtime(), 1);
|
|
505074
505112
|
});
|
|
@@ -505081,7 +505119,7 @@ var init_highlightMatch = __esm(() => {
|
|
|
505081
505119
|
});
|
|
505082
505120
|
|
|
505083
505121
|
// src/components/design-system/FuzzyPicker.tsx
|
|
505084
|
-
var
|
|
505122
|
+
var import_react_compiler_runtime323, import_react247, jsx_dev_runtime420;
|
|
505085
505123
|
var init_FuzzyPicker = __esm(() => {
|
|
505086
505124
|
init_useSearchInput();
|
|
505087
505125
|
init_useTerminalSize();
|
|
@@ -505092,13 +505130,13 @@ var init_FuzzyPicker = __esm(() => {
|
|
|
505092
505130
|
init_KeyboardShortcutHint();
|
|
505093
505131
|
init_ListItem();
|
|
505094
505132
|
init_Pane();
|
|
505095
|
-
|
|
505133
|
+
import_react_compiler_runtime323 = __toESM(require_dist4(), 1);
|
|
505096
505134
|
import_react247 = __toESM(require_react(), 1);
|
|
505097
505135
|
jsx_dev_runtime420 = __toESM(require_jsx_dev_runtime(), 1);
|
|
505098
505136
|
});
|
|
505099
505137
|
|
|
505100
505138
|
// src/components/GlobalSearchDialog.tsx
|
|
505101
|
-
var
|
|
505139
|
+
var import_react_compiler_runtime324, import_react248, jsx_dev_runtime421;
|
|
505102
505140
|
var init_GlobalSearchDialog = __esm(() => {
|
|
505103
505141
|
init_overlayContext();
|
|
505104
505142
|
init_useTerminalSize();
|
|
@@ -505113,7 +505151,7 @@ var init_GlobalSearchDialog = __esm(() => {
|
|
|
505113
505151
|
init_ripgrep();
|
|
505114
505152
|
init_FuzzyPicker();
|
|
505115
505153
|
init_LoadingState();
|
|
505116
|
-
|
|
505154
|
+
import_react_compiler_runtime324 = __toESM(require_dist4(), 1);
|
|
505117
505155
|
import_react248 = __toESM(require_react(), 1);
|
|
505118
505156
|
jsx_dev_runtime421 = __toESM(require_jsx_dev_runtime(), 1);
|
|
505119
505157
|
});
|
|
@@ -505135,7 +505173,7 @@ var init_HistorySearchDialog = __esm(() => {
|
|
|
505135
505173
|
});
|
|
505136
505174
|
|
|
505137
505175
|
// src/components/QuickOpenDialog.tsx
|
|
505138
|
-
var
|
|
505176
|
+
var import_react_compiler_runtime325, import_react250, jsx_dev_runtime423;
|
|
505139
505177
|
var init_QuickOpenDialog = __esm(() => {
|
|
505140
505178
|
init_overlayContext();
|
|
505141
505179
|
init_fileSuggestions();
|
|
@@ -505149,14 +505187,14 @@ var init_QuickOpenDialog = __esm(() => {
|
|
|
505149
505187
|
init_readFileInRange();
|
|
505150
505188
|
init_FuzzyPicker();
|
|
505151
505189
|
init_LoadingState();
|
|
505152
|
-
|
|
505190
|
+
import_react_compiler_runtime325 = __toESM(require_dist4(), 1);
|
|
505153
505191
|
import_react250 = __toESM(require_react(), 1);
|
|
505154
505192
|
jsx_dev_runtime423 = __toESM(require_jsx_dev_runtime(), 1);
|
|
505155
505193
|
});
|
|
505156
505194
|
|
|
505157
505195
|
// src/components/ThinkingToggle.tsx
|
|
505158
505196
|
function ThinkingToggle(t0) {
|
|
505159
|
-
const $2 =
|
|
505197
|
+
const $2 = import_react_compiler_runtime326.c(27);
|
|
505160
505198
|
const {
|
|
505161
505199
|
currentValue,
|
|
505162
505200
|
onSelect,
|
|
@@ -505377,7 +505415,7 @@ function ThinkingToggle(t0) {
|
|
|
505377
505415
|
return t11;
|
|
505378
505416
|
}
|
|
505379
505417
|
function _temp192() {}
|
|
505380
|
-
var
|
|
505418
|
+
var import_react_compiler_runtime326, import_react251, jsx_dev_runtime424;
|
|
505381
505419
|
var init_ThinkingToggle = __esm(() => {
|
|
505382
505420
|
init_useExitOnCtrlCDWithKeybindings();
|
|
505383
505421
|
init_ink2();
|
|
@@ -505387,7 +505425,7 @@ var init_ThinkingToggle = __esm(() => {
|
|
|
505387
505425
|
init_Byline();
|
|
505388
505426
|
init_KeyboardShortcutHint();
|
|
505389
505427
|
init_Pane();
|
|
505390
|
-
|
|
505428
|
+
import_react_compiler_runtime326 = __toESM(require_dist4(), 1);
|
|
505391
505429
|
import_react251 = __toESM(require_react(), 1);
|
|
505392
505430
|
jsx_dev_runtime424 = __toESM(require_jsx_dev_runtime(), 1);
|
|
505393
505431
|
});
|
|
@@ -505585,7 +505623,7 @@ function TeamsDialog({
|
|
|
505585
505623
|
return null;
|
|
505586
505624
|
}
|
|
505587
505625
|
function TeamDetailView(t0) {
|
|
505588
|
-
const $2 =
|
|
505626
|
+
const $2 = import_react_compiler_runtime327.c(13);
|
|
505589
505627
|
const {
|
|
505590
505628
|
teamName,
|
|
505591
505629
|
teammates,
|
|
@@ -505672,7 +505710,7 @@ function TeamDetailView(t0) {
|
|
|
505672
505710
|
return t5;
|
|
505673
505711
|
}
|
|
505674
505712
|
function TeammateListItem(t0) {
|
|
505675
|
-
const $2 =
|
|
505713
|
+
const $2 = import_react_compiler_runtime327.c(21);
|
|
505676
505714
|
const {
|
|
505677
505715
|
teammate,
|
|
505678
505716
|
isSelected
|
|
@@ -505777,7 +505815,7 @@ function TeammateListItem(t0) {
|
|
|
505777
505815
|
return t8;
|
|
505778
505816
|
}
|
|
505779
505817
|
function TeammateDetailView(t0) {
|
|
505780
|
-
const $2 =
|
|
505818
|
+
const $2 = import_react_compiler_runtime327.c(39);
|
|
505781
505819
|
const {
|
|
505782
505820
|
teammate,
|
|
505783
505821
|
teamName,
|
|
@@ -506135,7 +506173,7 @@ function cycleAllTeammateModes(teammates, teamName, isBypassAvailable) {
|
|
|
506135
506173
|
}
|
|
506136
506174
|
logForDebugging2(`[TeamsDialog] Sent mode change to all ${teammates.length} teammates: ${targetMode}`);
|
|
506137
506175
|
}
|
|
506138
|
-
var
|
|
506176
|
+
var import_react_compiler_runtime327, import_react252, jsx_dev_runtime425;
|
|
506139
506177
|
var init_TeamsDialog = __esm(() => {
|
|
506140
506178
|
init_figures();
|
|
506141
506179
|
init_dist();
|
|
@@ -506161,7 +506199,7 @@ var init_TeamsDialog = __esm(() => {
|
|
|
506161
506199
|
init_teammateMailbox();
|
|
506162
506200
|
init_Dialog();
|
|
506163
506201
|
init_ThemedText();
|
|
506164
|
-
|
|
506202
|
+
import_react_compiler_runtime327 = __toESM(require_dist4(), 1);
|
|
506165
506203
|
import_react252 = __toESM(require_react(), 1);
|
|
506166
506204
|
jsx_dev_runtime425 = __toESM(require_jsx_dev_runtime(), 1);
|
|
506167
506205
|
});
|
|
@@ -507260,7 +507298,7 @@ var init_useVimInput = __esm(() => {
|
|
|
507260
507298
|
|
|
507261
507299
|
// src/components/VimTextInput.tsx
|
|
507262
507300
|
function VimTextInput(props) {
|
|
507263
|
-
const $2 =
|
|
507301
|
+
const $2 = import_react_compiler_runtime328.c(38);
|
|
507264
507302
|
const [theme2] = useTheme();
|
|
507265
507303
|
const isTerminalFocused = useTerminalFocus();
|
|
507266
507304
|
useClipboardImageHint(isTerminalFocused, !!props.onImagePaste);
|
|
@@ -507394,14 +507432,14 @@ function VimTextInput(props) {
|
|
|
507394
507432
|
function _temp194(text) {
|
|
507395
507433
|
return text;
|
|
507396
507434
|
}
|
|
507397
|
-
var
|
|
507435
|
+
var import_react_compiler_runtime328, import_react254, jsx_dev_runtime426;
|
|
507398
507436
|
var init_VimTextInput = __esm(() => {
|
|
507399
507437
|
init_source();
|
|
507400
507438
|
init_useClipboardImageHint();
|
|
507401
507439
|
init_useVimInput();
|
|
507402
507440
|
init_ink2();
|
|
507403
507441
|
init_BaseTextInput();
|
|
507404
|
-
|
|
507442
|
+
import_react_compiler_runtime328 = __toESM(require_dist4(), 1);
|
|
507405
507443
|
import_react254 = __toESM(require_react(), 1);
|
|
507406
507444
|
jsx_dev_runtime426 = __toESM(require_jsx_dev_runtime(), 1);
|
|
507407
507445
|
});
|
|
@@ -507751,7 +507789,7 @@ function calculateHorizontalScrollWindow(itemWidths, availableWidth, arrowWidth,
|
|
|
507751
507789
|
|
|
507752
507790
|
// src/components/tasks/BackgroundTaskStatus.tsx
|
|
507753
507791
|
function BackgroundTaskStatus(t0) {
|
|
507754
|
-
const $2 =
|
|
507792
|
+
const $2 = import_react_compiler_runtime329.c(48);
|
|
507755
507793
|
const {
|
|
507756
507794
|
tasksSelected,
|
|
507757
507795
|
isViewingTeammate,
|
|
@@ -508064,7 +508102,7 @@ function _temp195(s) {
|
|
|
508064
508102
|
return s.tasks;
|
|
508065
508103
|
}
|
|
508066
508104
|
function AgentPill(t0) {
|
|
508067
|
-
const $2 =
|
|
508105
|
+
const $2 = import_react_compiler_runtime329.c(19);
|
|
508068
508106
|
const {
|
|
508069
508107
|
name,
|
|
508070
508108
|
color: color3,
|
|
@@ -508196,7 +508234,7 @@ function AgentPill(t0) {
|
|
|
508196
508234
|
return t3;
|
|
508197
508235
|
}
|
|
508198
508236
|
function SummaryPill(t0) {
|
|
508199
|
-
const $2 =
|
|
508237
|
+
const $2 = import_react_compiler_runtime329.c(8);
|
|
508200
508238
|
const {
|
|
508201
508239
|
selected,
|
|
508202
508240
|
onClick,
|
|
@@ -508256,7 +508294,7 @@ function getAgentThemeColor(colorName) {
|
|
|
508256
508294
|
}
|
|
508257
508295
|
return;
|
|
508258
508296
|
}
|
|
508259
|
-
var
|
|
508297
|
+
var import_react_compiler_runtime329, React141, import_react256, jsx_dev_runtime428;
|
|
508260
508298
|
var init_BackgroundTaskStatus = __esm(() => {
|
|
508261
508299
|
init_figures();
|
|
508262
508300
|
init_useTerminalSize();
|
|
@@ -508269,7 +508307,7 @@ var init_BackgroundTaskStatus = __esm(() => {
|
|
|
508269
508307
|
init_agentColorManager();
|
|
508270
508308
|
init_KeyboardShortcutHint();
|
|
508271
508309
|
init_taskStatusUtils();
|
|
508272
|
-
|
|
508310
|
+
import_react_compiler_runtime329 = __toESM(require_dist4(), 1);
|
|
508273
508311
|
React141 = __toESM(require_react(), 1);
|
|
508274
508312
|
import_react256 = __toESM(require_react(), 1);
|
|
508275
508313
|
jsx_dev_runtime428 = __toESM(require_jsx_dev_runtime(), 1);
|
|
@@ -508277,7 +508315,7 @@ var init_BackgroundTaskStatus = __esm(() => {
|
|
|
508277
508315
|
|
|
508278
508316
|
// src/components/teams/TeamStatus.tsx
|
|
508279
508317
|
function TeamStatus(t0) {
|
|
508280
|
-
const $2 =
|
|
508318
|
+
const $2 = import_react_compiler_runtime330.c(14);
|
|
508281
508319
|
const {
|
|
508282
508320
|
teamsSelected,
|
|
508283
508321
|
showHint
|
|
@@ -508367,17 +508405,17 @@ function _temp282(t) {
|
|
|
508367
508405
|
function _temp196(s) {
|
|
508368
508406
|
return s.teamContext;
|
|
508369
508407
|
}
|
|
508370
|
-
var
|
|
508408
|
+
var import_react_compiler_runtime330, jsx_dev_runtime429;
|
|
508371
508409
|
var init_TeamStatus = __esm(() => {
|
|
508372
508410
|
init_ink2();
|
|
508373
508411
|
init_AppState();
|
|
508374
|
-
|
|
508412
|
+
import_react_compiler_runtime330 = __toESM(require_dist4(), 1);
|
|
508375
508413
|
jsx_dev_runtime429 = __toESM(require_jsx_dev_runtime(), 1);
|
|
508376
508414
|
});
|
|
508377
508415
|
|
|
508378
508416
|
// src/components/PromptInput/HistorySearchInput.tsx
|
|
508379
508417
|
function HistorySearchInput(t0) {
|
|
508380
|
-
const $2 =
|
|
508418
|
+
const $2 = import_react_compiler_runtime331.c(9);
|
|
508381
508419
|
const {
|
|
508382
508420
|
value,
|
|
508383
508421
|
onChange,
|
|
@@ -508434,12 +508472,12 @@ function HistorySearchInput(t0) {
|
|
|
508434
508472
|
return t5;
|
|
508435
508473
|
}
|
|
508436
508474
|
function _temp197() {}
|
|
508437
|
-
var
|
|
508475
|
+
var import_react_compiler_runtime331, jsx_dev_runtime430, HistorySearchInput_default;
|
|
508438
508476
|
var init_HistorySearchInput = __esm(() => {
|
|
508439
508477
|
init_stringWidth();
|
|
508440
508478
|
init_ink2();
|
|
508441
508479
|
init_TextInput();
|
|
508442
|
-
|
|
508480
|
+
import_react_compiler_runtime331 = __toESM(require_dist4(), 1);
|
|
508443
508481
|
jsx_dev_runtime430 = __toESM(require_jsx_dev_runtime(), 1);
|
|
508444
508482
|
HistorySearchInput_default = HistorySearchInput;
|
|
508445
508483
|
});
|
|
@@ -508580,18 +508618,18 @@ var init_usePrStatus = __esm(() => {
|
|
|
508580
508618
|
});
|
|
508581
508619
|
|
|
508582
508620
|
// src/components/PromptInput/VoiceIndicator.tsx
|
|
508583
|
-
var
|
|
508621
|
+
var import_react_compiler_runtime332, jsx_dev_runtime431;
|
|
508584
508622
|
var init_VoiceIndicator = __esm(() => {
|
|
508585
508623
|
init_useSettings();
|
|
508586
508624
|
init_ink2();
|
|
508587
508625
|
init_utils5();
|
|
508588
|
-
|
|
508626
|
+
import_react_compiler_runtime332 = __toESM(require_dist4(), 1);
|
|
508589
508627
|
jsx_dev_runtime431 = __toESM(require_jsx_dev_runtime(), 1);
|
|
508590
508628
|
});
|
|
508591
508629
|
|
|
508592
508630
|
// src/components/PromptInput/PromptInputFooterLeftSide.tsx
|
|
508593
508631
|
function PromptInputFooterLeftSide(t0) {
|
|
508594
|
-
const $2 =
|
|
508632
|
+
const $2 = import_react_compiler_runtime333.c(27);
|
|
508595
508633
|
const {
|
|
508596
508634
|
exitMessage,
|
|
508597
508635
|
vimMode,
|
|
@@ -508994,7 +509032,7 @@ function getSpinnerHintParts(isLoading, escShortcut, todosShortcut, killAgentsSh
|
|
|
508994
509032
|
function isPrStatusEnabled() {
|
|
508995
509033
|
return getGlobalConfig().prStatusFooterEnabled ?? true;
|
|
508996
509034
|
}
|
|
508997
|
-
var
|
|
509035
|
+
var import_react_compiler_runtime333, import_react258, jsx_dev_runtime432, proactiveModule3 = null, NO_OP_SUBSCRIBE = (_cb) => () => {}, NULL = () => null;
|
|
508998
509036
|
var init_PromptInputFooterLeftSide = __esm(() => {
|
|
508999
509037
|
init_ink2();
|
|
509000
509038
|
init_figures();
|
|
@@ -509026,7 +509064,7 @@ var init_PromptInputFooterLeftSide = __esm(() => {
|
|
|
509026
509064
|
init_config2();
|
|
509027
509065
|
init_platform2();
|
|
509028
509066
|
init_PrBadge();
|
|
509029
|
-
|
|
509067
|
+
import_react_compiler_runtime333 = __toESM(require_dist4(), 1);
|
|
509030
509068
|
import_react258 = __toESM(require_react(), 1);
|
|
509031
509069
|
jsx_dev_runtime432 = __toESM(require_jsx_dev_runtime(), 1);
|
|
509032
509070
|
});
|
|
@@ -509243,7 +509281,7 @@ function getTeammateThemeColor() {
|
|
|
509243
509281
|
return;
|
|
509244
509282
|
}
|
|
509245
509283
|
function PromptChar(t0) {
|
|
509246
|
-
const $2 =
|
|
509284
|
+
const $2 = import_react_compiler_runtime334.c(3);
|
|
509247
509285
|
const {
|
|
509248
509286
|
isLoading,
|
|
509249
509287
|
themeColor
|
|
@@ -509269,7 +509307,7 @@ function PromptChar(t0) {
|
|
|
509269
509307
|
return t1;
|
|
509270
509308
|
}
|
|
509271
509309
|
function PromptInputModeIndicator(t0) {
|
|
509272
|
-
const $2 =
|
|
509310
|
+
const $2 = import_react_compiler_runtime334.c(6);
|
|
509273
509311
|
const {
|
|
509274
509312
|
mode,
|
|
509275
509313
|
isLoading,
|
|
@@ -509314,14 +509352,14 @@ function PromptInputModeIndicator(t0) {
|
|
|
509314
509352
|
}
|
|
509315
509353
|
return t2;
|
|
509316
509354
|
}
|
|
509317
|
-
var
|
|
509355
|
+
var import_react_compiler_runtime334, jsx_dev_runtime434;
|
|
509318
509356
|
var init_PromptInputModeIndicator = __esm(() => {
|
|
509319
509357
|
init_figures();
|
|
509320
509358
|
init_ink2();
|
|
509321
509359
|
init_agentColorManager();
|
|
509322
509360
|
init_teammate();
|
|
509323
509361
|
init_agentSwarmsEnabled();
|
|
509324
|
-
|
|
509362
|
+
import_react_compiler_runtime334 = __toESM(require_dist4(), 1);
|
|
509325
509363
|
jsx_dev_runtime434 = __toESM(require_jsx_dev_runtime(), 1);
|
|
509326
509364
|
});
|
|
509327
509365
|
|
|
@@ -509422,7 +509460,7 @@ var init_PromptInputQueuedCommands = __esm(() => {
|
|
|
509422
509460
|
|
|
509423
509461
|
// src/components/PromptInput/PromptInputStashNotice.tsx
|
|
509424
509462
|
function PromptInputStashNotice(t0) {
|
|
509425
|
-
const $2 =
|
|
509463
|
+
const $2 = import_react_compiler_runtime335.c(1);
|
|
509426
509464
|
const {
|
|
509427
509465
|
hasStash
|
|
509428
509466
|
} = t0;
|
|
@@ -509447,11 +509485,11 @@ function PromptInputStashNotice(t0) {
|
|
|
509447
509485
|
}
|
|
509448
509486
|
return t1;
|
|
509449
509487
|
}
|
|
509450
|
-
var
|
|
509488
|
+
var import_react_compiler_runtime335, jsx_dev_runtime436;
|
|
509451
509489
|
var init_PromptInputStashNotice = __esm(() => {
|
|
509452
509490
|
init_figures();
|
|
509453
509491
|
init_ink2();
|
|
509454
|
-
|
|
509492
|
+
import_react_compiler_runtime335 = __toESM(require_dist4(), 1);
|
|
509455
509493
|
jsx_dev_runtime436 = __toESM(require_jsx_dev_runtime(), 1);
|
|
509456
509494
|
});
|
|
509457
509495
|
|
|
@@ -513354,7 +513392,7 @@ var init_useDebouncedDigitInput = __esm(() => {
|
|
|
513354
513392
|
|
|
513355
513393
|
// src/components/FeedbackSurvey/FeedbackSurveyView.tsx
|
|
513356
513394
|
function FeedbackSurveyView(t0) {
|
|
513357
|
-
const $2 =
|
|
513395
|
+
const $2 = import_react_compiler_runtime336.c(15);
|
|
513358
513396
|
const {
|
|
513359
513397
|
onSelect,
|
|
513360
513398
|
inputValue,
|
|
@@ -513508,11 +513546,11 @@ function FeedbackSurveyView(t0) {
|
|
|
513508
513546
|
}
|
|
513509
513547
|
return t10;
|
|
513510
513548
|
}
|
|
513511
|
-
var
|
|
513549
|
+
var import_react_compiler_runtime336, jsx_dev_runtime438, RESPONSE_INPUTS, inputToResponse, isValidResponseInput = (input) => RESPONSE_INPUTS.includes(input), DEFAULT_MESSAGE = "How is Claude doing this session? (optional)";
|
|
513512
513550
|
var init_FeedbackSurveyView = __esm(() => {
|
|
513513
513551
|
init_ink2();
|
|
513514
513552
|
init_useDebouncedDigitInput();
|
|
513515
|
-
|
|
513553
|
+
import_react_compiler_runtime336 = __toESM(require_dist4(), 1);
|
|
513516
513554
|
jsx_dev_runtime438 = __toESM(require_jsx_dev_runtime(), 1);
|
|
513517
513555
|
RESPONSE_INPUTS = ["0", "1", "2", "3"];
|
|
513518
513556
|
inputToResponse = {
|
|
@@ -513524,13 +513562,13 @@ var init_FeedbackSurveyView = __esm(() => {
|
|
|
513524
513562
|
});
|
|
513525
513563
|
|
|
513526
513564
|
// src/components/SkillImprovementSurvey.tsx
|
|
513527
|
-
var
|
|
513565
|
+
var import_react_compiler_runtime337, import_react270, jsx_dev_runtime439;
|
|
513528
513566
|
var init_SkillImprovementSurvey = __esm(() => {
|
|
513529
513567
|
init_figures2();
|
|
513530
513568
|
init_ink2();
|
|
513531
513569
|
init_stringUtils();
|
|
513532
513570
|
init_FeedbackSurveyView();
|
|
513533
|
-
|
|
513571
|
+
import_react_compiler_runtime337 = __toESM(require_dist4(), 1);
|
|
513534
513572
|
import_react270 = __toESM(require_react(), 1);
|
|
513535
513573
|
jsx_dev_runtime439 = __toESM(require_jsx_dev_runtime(), 1);
|
|
513536
513574
|
});
|
|
@@ -514560,7 +514598,7 @@ var init_useGlobalKeybindings = __esm(() => {
|
|
|
514560
514598
|
|
|
514561
514599
|
// src/hooks/useCommandKeybindings.tsx
|
|
514562
514600
|
function CommandKeybindingHandlers(t0) {
|
|
514563
|
-
const $2 =
|
|
514601
|
+
const $2 = import_react_compiler_runtime338.c(8);
|
|
514564
514602
|
const {
|
|
514565
514603
|
onSubmit,
|
|
514566
514604
|
isActive: t1
|
|
@@ -514630,12 +514668,12 @@ function CommandKeybindingHandlers(t0) {
|
|
|
514630
514668
|
useKeybindings(handlers, t4);
|
|
514631
514669
|
return null;
|
|
514632
514670
|
}
|
|
514633
|
-
var
|
|
514671
|
+
var import_react_compiler_runtime338, NOOP_HELPERS;
|
|
514634
514672
|
var init_useCommandKeybindings = __esm(() => {
|
|
514635
514673
|
init_overlayContext();
|
|
514636
514674
|
init_KeybindingContext();
|
|
514637
514675
|
init_useKeybinding();
|
|
514638
|
-
|
|
514676
|
+
import_react_compiler_runtime338 = __toESM(require_dist4(), 1);
|
|
514639
514677
|
NOOP_HELPERS = {
|
|
514640
514678
|
setCursorOffset: () => {},
|
|
514641
514679
|
clearBuffer: () => {},
|
|
@@ -515622,7 +515660,7 @@ var init_swarmWorkerHandler = __esm(() => {
|
|
|
515622
515660
|
|
|
515623
515661
|
// src/hooks/useCanUseTool.tsx
|
|
515624
515662
|
function useCanUseTool(setToolUseConfirmQueue, setToolPermissionContext) {
|
|
515625
|
-
const $2 =
|
|
515663
|
+
const $2 = import_react_compiler_runtime339.c(3);
|
|
515626
515664
|
let t0;
|
|
515627
515665
|
if ($2[0] !== setToolPermissionContext || $2[1] !== setToolUseConfirmQueue) {
|
|
515628
515666
|
t0 = async (tool, input, toolUseContext, assistantMessage, toolUseID, forceDecision) => new Promise((resolve39) => {
|
|
@@ -515732,7 +515770,7 @@ function useCanUseTool(setToolUseConfirmQueue, setToolPermissionContext) {
|
|
|
515732
515770
|
}
|
|
515733
515771
|
return t0;
|
|
515734
515772
|
}
|
|
515735
|
-
var
|
|
515773
|
+
var import_react_compiler_runtime339, jsx_dev_runtime440, useCanUseTool_default;
|
|
515736
515774
|
var init_useCanUseTool = __esm(() => {
|
|
515737
515775
|
init_sdk();
|
|
515738
515776
|
init_ink2();
|
|
@@ -515748,7 +515786,7 @@ var init_useCanUseTool = __esm(() => {
|
|
|
515748
515786
|
init_swarmWorkerHandler();
|
|
515749
515787
|
init_PermissionContext();
|
|
515750
515788
|
init_permissionLogging();
|
|
515751
|
-
|
|
515789
|
+
import_react_compiler_runtime339 = __toESM(require_dist4(), 1);
|
|
515752
515790
|
jsx_dev_runtime440 = __toESM(require_jsx_dev_runtime(), 1);
|
|
515753
515791
|
useCanUseTool_default = useCanUseTool;
|
|
515754
515792
|
});
|
|
@@ -515824,7 +515862,7 @@ var init_processTextPrompt = __esm(() => {
|
|
|
515824
515862
|
|
|
515825
515863
|
// src/components/BashModeProgress.tsx
|
|
515826
515864
|
function BashModeProgress(t0) {
|
|
515827
|
-
const $2 =
|
|
515865
|
+
const $2 = import_react_compiler_runtime340.c(8);
|
|
515828
515866
|
const {
|
|
515829
515867
|
input,
|
|
515830
515868
|
progress,
|
|
@@ -515882,13 +515920,13 @@ function BashModeProgress(t0) {
|
|
|
515882
515920
|
}
|
|
515883
515921
|
return t4;
|
|
515884
515922
|
}
|
|
515885
|
-
var
|
|
515923
|
+
var import_react_compiler_runtime340, jsx_dev_runtime441;
|
|
515886
515924
|
var init_BashModeProgress = __esm(() => {
|
|
515887
515925
|
init_ink2();
|
|
515888
515926
|
init_BashTool();
|
|
515889
515927
|
init_UserBashInputMessage();
|
|
515890
515928
|
init_ShellProgressMessage();
|
|
515891
|
-
|
|
515929
|
+
import_react_compiler_runtime340 = __toESM(require_dist4(), 1);
|
|
515892
515930
|
jsx_dev_runtime441 = __toESM(require_jsx_dev_runtime(), 1);
|
|
515893
515931
|
});
|
|
515894
515932
|
|
|
@@ -517182,7 +517220,7 @@ var init_useManagePlugins = __esm(() => {
|
|
|
517182
517220
|
|
|
517183
517221
|
// src/components/TeammateViewHeader.tsx
|
|
517184
517222
|
function TeammateViewHeader() {
|
|
517185
|
-
const $2 =
|
|
517223
|
+
const $2 = import_react_compiler_runtime341.c(14);
|
|
517186
517224
|
const viewedTeammate = useAppState(_temp198);
|
|
517187
517225
|
if (!viewedTeammate) {
|
|
517188
517226
|
return null;
|
|
@@ -517285,7 +517323,7 @@ function TeammateViewHeader() {
|
|
|
517285
517323
|
function _temp198(s) {
|
|
517286
517324
|
return getViewedTeammateTask(s);
|
|
517287
517325
|
}
|
|
517288
|
-
var
|
|
517326
|
+
var import_react_compiler_runtime341, jsx_dev_runtime443;
|
|
517289
517327
|
var init_TeammateViewHeader = __esm(() => {
|
|
517290
517328
|
init_ink2();
|
|
517291
517329
|
init_AppState();
|
|
@@ -517293,7 +517331,7 @@ var init_TeammateViewHeader = __esm(() => {
|
|
|
517293
517331
|
init_ink3();
|
|
517294
517332
|
init_KeyboardShortcutHint();
|
|
517295
517333
|
init_OffscreenFreeze();
|
|
517296
|
-
|
|
517334
|
+
import_react_compiler_runtime341 = __toESM(require_dist4(), 1);
|
|
517297
517335
|
jsx_dev_runtime443 = __toESM(require_jsx_dev_runtime(), 1);
|
|
517298
517336
|
});
|
|
517299
517337
|
|
|
@@ -518322,7 +518360,7 @@ var init_useTaskListWatcher = __esm(() => {
|
|
|
518322
518360
|
|
|
518323
518361
|
// src/hooks/useIDEIntegration.tsx
|
|
518324
518362
|
function useIDEIntegration(t0) {
|
|
518325
|
-
const $2 =
|
|
518363
|
+
const $2 = import_react_compiler_runtime342.c(7);
|
|
518326
518364
|
const {
|
|
518327
518365
|
autoConnectIdeFlag,
|
|
518328
518366
|
ideToInstallExtension,
|
|
@@ -518376,18 +518414,18 @@ function useIDEIntegration(t0) {
|
|
|
518376
518414
|
}
|
|
518377
518415
|
import_react290.useEffect(t1, t2);
|
|
518378
518416
|
}
|
|
518379
|
-
var
|
|
518417
|
+
var import_react_compiler_runtime342, import_react290;
|
|
518380
518418
|
var init_useIDEIntegration = __esm(() => {
|
|
518381
518419
|
init_config2();
|
|
518382
518420
|
init_envUtils();
|
|
518383
518421
|
init_ide();
|
|
518384
|
-
|
|
518422
|
+
import_react_compiler_runtime342 = __toESM(require_dist4(), 1);
|
|
518385
518423
|
import_react290 = __toESM(require_react(), 1);
|
|
518386
518424
|
});
|
|
518387
518425
|
|
|
518388
518426
|
// src/components/SessionBackgroundHint.tsx
|
|
518389
518427
|
function SessionBackgroundHint(t0) {
|
|
518390
|
-
const $2 =
|
|
518428
|
+
const $2 = import_react_compiler_runtime343.c(10);
|
|
518391
518429
|
const {
|
|
518392
518430
|
onBackgroundSession,
|
|
518393
518431
|
isLoading
|
|
@@ -518476,7 +518514,7 @@ function _temp283(c6) {
|
|
|
518476
518514
|
};
|
|
518477
518515
|
}
|
|
518478
518516
|
function _temp199() {}
|
|
518479
|
-
var
|
|
518517
|
+
var import_react_compiler_runtime343, import_react291, jsx_dev_runtime444;
|
|
518480
518518
|
var init_SessionBackgroundHint = __esm(() => {
|
|
518481
518519
|
init_useDoublePress();
|
|
518482
518520
|
init_ink2();
|
|
@@ -518488,7 +518526,7 @@ var init_SessionBackgroundHint = __esm(() => {
|
|
|
518488
518526
|
init_env();
|
|
518489
518527
|
init_envUtils();
|
|
518490
518528
|
init_KeyboardShortcutHint();
|
|
518491
|
-
|
|
518529
|
+
import_react_compiler_runtime343 = __toESM(require_dist4(), 1);
|
|
518492
518530
|
import_react291 = __toESM(require_react(), 1);
|
|
518493
518531
|
jsx_dev_runtime444 = __toESM(require_jsx_dev_runtime(), 1);
|
|
518494
518532
|
});
|
|
@@ -518620,7 +518658,7 @@ var init_useSessionBackgrounding = __esm(() => {
|
|
|
518620
518658
|
|
|
518621
518659
|
// src/components/EffortCallout.tsx
|
|
518622
518660
|
function EffortCallout(t0) {
|
|
518623
|
-
const $2 =
|
|
518661
|
+
const $2 = import_react_compiler_runtime344.c(18);
|
|
518624
518662
|
const {
|
|
518625
518663
|
model,
|
|
518626
518664
|
onDone
|
|
@@ -518816,7 +518854,7 @@ function _temp200() {
|
|
|
518816
518854
|
markV2Dismissed();
|
|
518817
518855
|
}
|
|
518818
518856
|
function EffortIndicatorSymbol(t0) {
|
|
518819
|
-
const $2 =
|
|
518857
|
+
const $2 = import_react_compiler_runtime344.c(4);
|
|
518820
518858
|
const {
|
|
518821
518859
|
level
|
|
518822
518860
|
} = t0;
|
|
@@ -518842,7 +518880,7 @@ function EffortIndicatorSymbol(t0) {
|
|
|
518842
518880
|
return t2;
|
|
518843
518881
|
}
|
|
518844
518882
|
function EffortOptionLabel(t0) {
|
|
518845
|
-
const $2 =
|
|
518883
|
+
const $2 = import_react_compiler_runtime344.c(5);
|
|
518846
518884
|
const {
|
|
518847
518885
|
level,
|
|
518848
518886
|
text
|
|
@@ -518909,7 +518947,7 @@ function markV2Dismissed() {
|
|
|
518909
518947
|
};
|
|
518910
518948
|
});
|
|
518911
518949
|
}
|
|
518912
|
-
var
|
|
518950
|
+
var import_react_compiler_runtime344, import_react293, jsx_dev_runtime445, AUTO_DISMISS_MS = 30000;
|
|
518913
518951
|
var init_EffortCallout = __esm(() => {
|
|
518914
518952
|
init_ink2();
|
|
518915
518953
|
init_auth2();
|
|
@@ -518920,7 +518958,7 @@ var init_EffortCallout = __esm(() => {
|
|
|
518920
518958
|
init_select();
|
|
518921
518959
|
init_EffortIndicator();
|
|
518922
518960
|
init_PermissionDialog();
|
|
518923
|
-
|
|
518961
|
+
import_react_compiler_runtime344 = __toESM(require_dist4(), 1);
|
|
518924
518962
|
import_react293 = __toESM(require_react(), 1);
|
|
518925
518963
|
jsx_dev_runtime445 = __toESM(require_jsx_dev_runtime(), 1);
|
|
518926
518964
|
});
|
|
@@ -519621,7 +519659,7 @@ function hasMessageAfterBoundary(messages, boundaryUuid) {
|
|
|
519621
519659
|
return false;
|
|
519622
519660
|
}
|
|
519623
519661
|
function usePostCompactSurvey(messages, isLoading, t0, t1) {
|
|
519624
|
-
const $2 =
|
|
519662
|
+
const $2 = import_react_compiler_runtime345.c(23);
|
|
519625
519663
|
const hasActivePrompt = t0 === undefined ? false : t0;
|
|
519626
519664
|
let t2;
|
|
519627
519665
|
if ($2[0] !== t1) {
|
|
@@ -519794,7 +519832,7 @@ function _temp201(appearanceId) {
|
|
|
519794
519832
|
survey_type: "post_compact"
|
|
519795
519833
|
});
|
|
519796
519834
|
}
|
|
519797
|
-
var
|
|
519835
|
+
var import_react_compiler_runtime345, import_react299, HIDE_THANKS_AFTER_MS2 = 3000, POST_COMPACT_SURVEY_GATE = "tengu_post_compact_survey", SURVEY_PROBABILITY2 = 0.2;
|
|
519798
519836
|
var init_usePostCompactSurvey = __esm(() => {
|
|
519799
519837
|
init_config();
|
|
519800
519838
|
init_growthbook();
|
|
@@ -519804,13 +519842,13 @@ var init_usePostCompactSurvey = __esm(() => {
|
|
|
519804
519842
|
init_messages3();
|
|
519805
519843
|
init_events();
|
|
519806
519844
|
init_useSurveyState();
|
|
519807
|
-
|
|
519845
|
+
import_react_compiler_runtime345 = __toESM(require_dist4(), 1);
|
|
519808
519846
|
import_react299 = __toESM(require_react(), 1);
|
|
519809
519847
|
});
|
|
519810
519848
|
|
|
519811
519849
|
// src/components/FeedbackSurvey/TranscriptSharePrompt.tsx
|
|
519812
519850
|
function TranscriptSharePrompt(t0) {
|
|
519813
|
-
const $2 =
|
|
519851
|
+
const $2 = import_react_compiler_runtime346.c(11);
|
|
519814
519852
|
const {
|
|
519815
519853
|
onSelect,
|
|
519816
519854
|
inputValue,
|
|
@@ -519944,12 +519982,12 @@ function TranscriptSharePrompt(t0) {
|
|
|
519944
519982
|
}
|
|
519945
519983
|
return t7;
|
|
519946
519984
|
}
|
|
519947
|
-
var
|
|
519985
|
+
var import_react_compiler_runtime346, jsx_dev_runtime447, RESPONSE_INPUTS2, inputToResponse2, isValidResponseInput2 = (input) => RESPONSE_INPUTS2.includes(input);
|
|
519948
519986
|
var init_TranscriptSharePrompt = __esm(() => {
|
|
519949
519987
|
init_figures2();
|
|
519950
519988
|
init_ink2();
|
|
519951
519989
|
init_useDebouncedDigitInput();
|
|
519952
|
-
|
|
519990
|
+
import_react_compiler_runtime346 = __toESM(require_dist4(), 1);
|
|
519953
519991
|
jsx_dev_runtime447 = __toESM(require_jsx_dev_runtime(), 1);
|
|
519954
519992
|
RESPONSE_INPUTS2 = ["1", "2", "3"];
|
|
519955
519993
|
inputToResponse2 = {
|
|
@@ -519961,7 +519999,7 @@ var init_TranscriptSharePrompt = __esm(() => {
|
|
|
519961
519999
|
|
|
519962
520000
|
// src/components/FeedbackSurvey/FeedbackSurvey.tsx
|
|
519963
520001
|
function FeedbackSurvey(t0) {
|
|
519964
|
-
const $2 =
|
|
520002
|
+
const $2 = import_react_compiler_runtime347.c(16);
|
|
519965
520003
|
const {
|
|
519966
520004
|
state: state2,
|
|
519967
520005
|
lastResponse,
|
|
@@ -520077,7 +520115,7 @@ function FeedbackSurvey(t0) {
|
|
|
520077
520115
|
return t1;
|
|
520078
520116
|
}
|
|
520079
520117
|
function FeedbackSurveyThanks(t0) {
|
|
520080
|
-
const $2 =
|
|
520118
|
+
const $2 = import_react_compiler_runtime347.c(12);
|
|
520081
520119
|
const {
|
|
520082
520120
|
lastResponse,
|
|
520083
520121
|
inputValue,
|
|
@@ -520171,14 +520209,14 @@ function FeedbackSurveyThanks(t0) {
|
|
|
520171
520209
|
}
|
|
520172
520210
|
return t5;
|
|
520173
520211
|
}
|
|
520174
|
-
var
|
|
520212
|
+
var import_react_compiler_runtime347, jsx_dev_runtime448, isFollowUpDigit = (char) => char === "1";
|
|
520175
520213
|
var init_FeedbackSurvey = __esm(() => {
|
|
520176
520214
|
init_analytics();
|
|
520177
520215
|
init_ink2();
|
|
520178
520216
|
init_FeedbackSurveyView();
|
|
520179
520217
|
init_TranscriptSharePrompt();
|
|
520180
520218
|
init_useDebouncedDigitInput();
|
|
520181
|
-
|
|
520219
|
+
import_react_compiler_runtime347 = __toESM(require_dist4(), 1);
|
|
520182
520220
|
jsx_dev_runtime448 = __toESM(require_jsx_dev_runtime(), 1);
|
|
520183
520221
|
});
|
|
520184
520222
|
|
|
@@ -520635,7 +520673,7 @@ var init_useOfficialMarketplaceNotification = __esm(() => {
|
|
|
520635
520673
|
|
|
520636
520674
|
// src/hooks/usePromptsFromClaudeInChrome.tsx
|
|
520637
520675
|
function usePromptsFromClaudeInChrome(mcpClients, toolPermissionMode) {
|
|
520638
|
-
const $2 =
|
|
520676
|
+
const $2 = import_react_compiler_runtime348.c(6);
|
|
520639
520677
|
import_react302.useRef(undefined);
|
|
520640
520678
|
let t0;
|
|
520641
520679
|
if ($2[0] !== mcpClients) {
|
|
@@ -520674,12 +520712,12 @@ function _temp205() {}
|
|
|
520674
520712
|
function findChromeClient(clients) {
|
|
520675
520713
|
return clients.find((client3) => client3.type === "connected" && client3.name === CLAUDE_IN_CHROME_MCP_SERVER_NAME);
|
|
520676
520714
|
}
|
|
520677
|
-
var
|
|
520715
|
+
var import_react_compiler_runtime348, import_react302, ClaudeInChromePromptNotificationSchema;
|
|
520678
520716
|
var init_usePromptsFromClaudeInChrome = __esm(() => {
|
|
520679
520717
|
init_v4();
|
|
520680
520718
|
init_client7();
|
|
520681
520719
|
init_common2();
|
|
520682
|
-
|
|
520720
|
+
import_react_compiler_runtime348 = __toESM(require_dist4(), 1);
|
|
520683
520721
|
import_react302 = __toESM(require_react(), 1);
|
|
520684
520722
|
ClaudeInChromePromptNotificationSchema = lazySchema(() => exports_external.object({
|
|
520685
520723
|
method: exports_external.literal("notifications/message"),
|
|
@@ -520736,7 +520774,7 @@ function shouldShowDesktopUpsellStartup() {
|
|
|
520736
520774
|
return true;
|
|
520737
520775
|
}
|
|
520738
520776
|
function DesktopUpsellStartup(t0) {
|
|
520739
|
-
const $2 =
|
|
520777
|
+
const $2 = import_react_compiler_runtime349.c(14);
|
|
520740
520778
|
const {
|
|
520741
520779
|
onDone
|
|
520742
520780
|
} = t0;
|
|
@@ -520888,7 +520926,7 @@ function _temp206() {
|
|
|
520888
520926
|
seen_count: newCount
|
|
520889
520927
|
});
|
|
520890
520928
|
}
|
|
520891
|
-
var
|
|
520929
|
+
var import_react_compiler_runtime349, import_react303, jsx_dev_runtime451, DESKTOP_UPSELL_DEFAULT;
|
|
520892
520930
|
var init_DesktopUpsellStartup = __esm(() => {
|
|
520893
520931
|
init_ink2();
|
|
520894
520932
|
init_growthbook();
|
|
@@ -520897,7 +520935,7 @@ var init_DesktopUpsellStartup = __esm(() => {
|
|
|
520897
520935
|
init_select();
|
|
520898
520936
|
init_DesktopHandoff();
|
|
520899
520937
|
init_PermissionDialog();
|
|
520900
|
-
|
|
520938
|
+
import_react_compiler_runtime349 = __toESM(require_dist4(), 1);
|
|
520901
520939
|
import_react303 = __toESM(require_react(), 1);
|
|
520902
520940
|
jsx_dev_runtime451 = __toESM(require_jsx_dev_runtime(), 1);
|
|
520903
520941
|
DESKTOP_UPSELL_DEFAULT = {
|
|
@@ -522410,7 +522448,7 @@ var init_useFileHistorySnapshotInit = __esm(() => {
|
|
|
522410
522448
|
|
|
522411
522449
|
// src/components/permissions/SandboxPermissionRequest.tsx
|
|
522412
522450
|
function SandboxPermissionRequest(t0) {
|
|
522413
|
-
const $2 =
|
|
522451
|
+
const $2 = import_react_compiler_runtime350.c(22);
|
|
522414
522452
|
const {
|
|
522415
522453
|
hostPattern: t1,
|
|
522416
522454
|
onUserResponse
|
|
@@ -522607,13 +522645,13 @@ function SandboxPermissionRequest(t0) {
|
|
|
522607
522645
|
}
|
|
522608
522646
|
return t13;
|
|
522609
522647
|
}
|
|
522610
|
-
var
|
|
522648
|
+
var import_react_compiler_runtime350, jsx_dev_runtime452;
|
|
522611
522649
|
var init_SandboxPermissionRequest = __esm(() => {
|
|
522612
522650
|
init_ink2();
|
|
522613
522651
|
init_sandbox_adapter();
|
|
522614
522652
|
init_select();
|
|
522615
522653
|
init_PermissionDialog();
|
|
522616
|
-
|
|
522654
|
+
import_react_compiler_runtime350 = __toESM(require_dist4(), 1);
|
|
522617
522655
|
jsx_dev_runtime452 = __toESM(require_jsx_dev_runtime(), 1);
|
|
522618
522656
|
});
|
|
522619
522657
|
|
|
@@ -522626,7 +522664,7 @@ function formatTime(date6) {
|
|
|
522626
522664
|
return `${h2}:${m}:${s}${ampm}`;
|
|
522627
522665
|
}
|
|
522628
522666
|
function SandboxViolationExpandedView() {
|
|
522629
|
-
const $2 =
|
|
522667
|
+
const $2 = import_react_compiler_runtime351.c(15);
|
|
522630
522668
|
let t0;
|
|
522631
522669
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
522632
522670
|
t0 = [];
|
|
@@ -522746,19 +522784,19 @@ function _temp207(v, i3) {
|
|
|
522746
522784
|
}, undefined, true, undefined, this)
|
|
522747
522785
|
}, `${v.timestamp.getTime()}-${i3}`, false, undefined, this);
|
|
522748
522786
|
}
|
|
522749
|
-
var
|
|
522787
|
+
var import_react_compiler_runtime351, import_react305, jsx_dev_runtime453;
|
|
522750
522788
|
var init_SandboxViolationExpandedView = __esm(() => {
|
|
522751
522789
|
init_ink2();
|
|
522752
522790
|
init_sandbox_adapter();
|
|
522753
522791
|
init_platform2();
|
|
522754
|
-
|
|
522792
|
+
import_react_compiler_runtime351 = __toESM(require_dist4(), 1);
|
|
522755
522793
|
import_react305 = __toESM(require_react(), 1);
|
|
522756
522794
|
jsx_dev_runtime453 = __toESM(require_jsx_dev_runtime(), 1);
|
|
522757
522795
|
});
|
|
522758
522796
|
|
|
522759
522797
|
// src/hooks/notifs/useMcpConnectivityStatus.tsx
|
|
522760
522798
|
function useMcpConnectivityStatus(t0) {
|
|
522761
|
-
const $2 =
|
|
522799
|
+
const $2 = import_react_compiler_runtime352.c(4);
|
|
522762
522800
|
const {
|
|
522763
522801
|
mcpClients: t1
|
|
522764
522802
|
} = t0;
|
|
@@ -522903,13 +522941,13 @@ function _temp287(client_0) {
|
|
|
522903
522941
|
function _temp208(client3) {
|
|
522904
522942
|
return client3.type === "failed" && client3.config.type !== "sse-ide" && client3.config.type !== "ws-ide" && client3.config.type !== "claudeai-proxy";
|
|
522905
522943
|
}
|
|
522906
|
-
var
|
|
522944
|
+
var import_react_compiler_runtime352, import_react306, jsx_dev_runtime454, EMPTY_MCP_CLIENTS;
|
|
522907
522945
|
var init_useMcpConnectivityStatus = __esm(() => {
|
|
522908
522946
|
init_notifications();
|
|
522909
522947
|
init_state();
|
|
522910
522948
|
init_ink2();
|
|
522911
522949
|
init_claudeai();
|
|
522912
|
-
|
|
522950
|
+
import_react_compiler_runtime352 = __toESM(require_dist4(), 1);
|
|
522913
522951
|
import_react306 = __toESM(require_react(), 1);
|
|
522914
522952
|
jsx_dev_runtime454 = __toESM(require_jsx_dev_runtime(), 1);
|
|
522915
522953
|
EMPTY_MCP_CLIENTS = [];
|
|
@@ -522958,7 +522996,7 @@ var init_useAutoModeUnavailableNotification = __esm(() => {
|
|
|
522958
522996
|
|
|
522959
522997
|
// src/hooks/notifs/useLspInitializationNotification.tsx
|
|
522960
522998
|
function useLspInitializationNotification() {
|
|
522961
|
-
const $2 =
|
|
522999
|
+
const $2 = import_react_compiler_runtime353.c(10);
|
|
522962
523000
|
const {
|
|
522963
523001
|
addNotification
|
|
522964
523002
|
} = useNotifications();
|
|
@@ -523093,7 +523131,7 @@ function _temp288(e) {
|
|
|
523093
523131
|
function _temp209() {
|
|
523094
523132
|
return isEnvTruthy("true");
|
|
523095
523133
|
}
|
|
523096
|
-
var
|
|
523134
|
+
var import_react_compiler_runtime353, React149, jsx_dev_runtime455, LSP_POLL_INTERVAL_MS = 5000;
|
|
523097
523135
|
var init_useLspInitializationNotification = __esm(() => {
|
|
523098
523136
|
init_dist();
|
|
523099
523137
|
init_state();
|
|
@@ -523103,7 +523141,7 @@ var init_useLspInitializationNotification = __esm(() => {
|
|
|
523103
523141
|
init_AppState();
|
|
523104
523142
|
init_debug();
|
|
523105
523143
|
init_envUtils();
|
|
523106
|
-
|
|
523144
|
+
import_react_compiler_runtime353 = __toESM(require_dist4(), 1);
|
|
523107
523145
|
React149 = __toESM(require_react(), 1);
|
|
523108
523146
|
jsx_dev_runtime455 = __toESM(require_jsx_dev_runtime(), 1);
|
|
523109
523147
|
});
|
|
@@ -523316,7 +523354,7 @@ var init_lspRecommendation = __esm(() => {
|
|
|
523316
523354
|
|
|
523317
523355
|
// src/hooks/usePluginRecommendationBase.tsx
|
|
523318
523356
|
function usePluginRecommendationBase() {
|
|
523319
|
-
const $2 =
|
|
523357
|
+
const $2 = import_react_compiler_runtime354.c(6);
|
|
523320
523358
|
const [recommendation, setRecommendation] = React150.useState(null);
|
|
523321
523359
|
const isCheckingRef = React150.useRef(false);
|
|
523322
523360
|
let t0;
|
|
@@ -523406,14 +523444,14 @@ async function installPluginAndNotify(pluginId, pluginName, keyPrefix, addNotifi
|
|
|
523406
523444
|
});
|
|
523407
523445
|
}
|
|
523408
523446
|
}
|
|
523409
|
-
var
|
|
523447
|
+
var import_react_compiler_runtime354, React150, jsx_dev_runtime456;
|
|
523410
523448
|
var init_usePluginRecommendationBase = __esm(() => {
|
|
523411
523449
|
init_figures();
|
|
523412
523450
|
init_state();
|
|
523413
523451
|
init_ink2();
|
|
523414
523452
|
init_log3();
|
|
523415
523453
|
init_marketplaceManager();
|
|
523416
|
-
|
|
523454
|
+
import_react_compiler_runtime354 = __toESM(require_dist4(), 1);
|
|
523417
523455
|
React150 = __toESM(require_react(), 1);
|
|
523418
523456
|
jsx_dev_runtime456 = __toESM(require_jsx_dev_runtime(), 1);
|
|
523419
523457
|
});
|
|
@@ -523421,7 +523459,7 @@ var init_usePluginRecommendationBase = __esm(() => {
|
|
|
523421
523459
|
// src/hooks/useLspPluginRecommendation.tsx
|
|
523422
523460
|
import { extname as extname16, join as join144 } from "path";
|
|
523423
523461
|
function useLspPluginRecommendation() {
|
|
523424
|
-
const $2 =
|
|
523462
|
+
const $2 = import_react_compiler_runtime355.c(12);
|
|
523425
523463
|
const trackedFiles = useAppState(_temp224);
|
|
523426
523464
|
const {
|
|
523427
523465
|
addNotification
|
|
@@ -523569,7 +523607,7 @@ function _temp289(current) {
|
|
|
523569
523607
|
function _temp224(s) {
|
|
523570
523608
|
return s.fileHistory.trackedFiles;
|
|
523571
523609
|
}
|
|
523572
|
-
var
|
|
523610
|
+
var import_react_compiler_runtime355, React151, TIMEOUT_THRESHOLD_MS = 28000;
|
|
523573
523611
|
var init_useLspPluginRecommendation = __esm(() => {
|
|
523574
523612
|
init_state();
|
|
523575
523613
|
init_notifications();
|
|
@@ -523581,7 +523619,7 @@ var init_useLspPluginRecommendation = __esm(() => {
|
|
|
523581
523619
|
init_pluginInstallationHelpers();
|
|
523582
523620
|
init_settings2();
|
|
523583
523621
|
init_usePluginRecommendationBase();
|
|
523584
|
-
|
|
523622
|
+
import_react_compiler_runtime355 = __toESM(require_dist4(), 1);
|
|
523585
523623
|
React151 = __toESM(require_react(), 1);
|
|
523586
523624
|
});
|
|
523587
523625
|
|
|
@@ -523720,7 +523758,7 @@ var init_LspRecommendationMenu = __esm(() => {
|
|
|
523720
523758
|
|
|
523721
523759
|
// src/hooks/useClaudeCodeHintRecommendation.tsx
|
|
523722
523760
|
function useClaudeCodeHintRecommendation() {
|
|
523723
|
-
const $2 =
|
|
523761
|
+
const $2 = import_react_compiler_runtime356.c(11);
|
|
523724
523762
|
const pendingHint2 = React153.useSyncExternalStore(subscribeToPendingHint, getPendingHintSnapshot);
|
|
523725
523763
|
const {
|
|
523726
523764
|
addNotification
|
|
@@ -523823,7 +523861,7 @@ function useClaudeCodeHintRecommendation() {
|
|
|
523823
523861
|
}
|
|
523824
523862
|
return t3;
|
|
523825
523863
|
}
|
|
523826
|
-
var
|
|
523864
|
+
var import_react_compiler_runtime356, React153;
|
|
523827
523865
|
var init_useClaudeCodeHintRecommendation = __esm(() => {
|
|
523828
523866
|
init_notifications();
|
|
523829
523867
|
init_analytics();
|
|
@@ -523832,7 +523870,7 @@ var init_useClaudeCodeHintRecommendation = __esm(() => {
|
|
|
523832
523870
|
init_hintRecommendation();
|
|
523833
523871
|
init_pluginInstallationHelpers();
|
|
523834
523872
|
init_usePluginRecommendationBase();
|
|
523835
|
-
|
|
523873
|
+
import_react_compiler_runtime356 = __toESM(require_dist4(), 1);
|
|
523836
523874
|
React153 = __toESM(require_react(), 1);
|
|
523837
523875
|
});
|
|
523838
523876
|
|
|
@@ -523963,7 +524001,7 @@ var init_PluginHintMenu = __esm(() => {
|
|
|
523963
524001
|
|
|
523964
524002
|
// src/hooks/notifs/usePluginInstallationStatus.tsx
|
|
523965
524003
|
function usePluginInstallationStatus() {
|
|
523966
|
-
const $2 =
|
|
524004
|
+
const $2 = import_react_compiler_runtime357.c(20);
|
|
523967
524005
|
const {
|
|
523968
524006
|
addNotification
|
|
523969
524007
|
} = useNotifications();
|
|
@@ -524096,7 +524134,7 @@ function _temp290(m) {
|
|
|
524096
524134
|
function _temp234(s) {
|
|
524097
524135
|
return s.plugins.installationStatus;
|
|
524098
524136
|
}
|
|
524099
|
-
var
|
|
524137
|
+
var import_react_compiler_runtime357, import_react308, jsx_dev_runtime459;
|
|
524100
524138
|
var init_usePluginInstallationStatus = __esm(() => {
|
|
524101
524139
|
init_state();
|
|
524102
524140
|
init_notifications();
|
|
@@ -524104,14 +524142,14 @@ var init_usePluginInstallationStatus = __esm(() => {
|
|
|
524104
524142
|
init_AppState();
|
|
524105
524143
|
init_debug();
|
|
524106
524144
|
init_stringUtils();
|
|
524107
|
-
|
|
524145
|
+
import_react_compiler_runtime357 = __toESM(require_dist4(), 1);
|
|
524108
524146
|
import_react308 = __toESM(require_react(), 1);
|
|
524109
524147
|
jsx_dev_runtime459 = __toESM(require_jsx_dev_runtime(), 1);
|
|
524110
524148
|
});
|
|
524111
524149
|
|
|
524112
524150
|
// src/hooks/notifs/usePluginAutoupdateNotification.tsx
|
|
524113
524151
|
function usePluginAutoupdateNotification() {
|
|
524114
|
-
const $2 =
|
|
524152
|
+
const $2 = import_react_compiler_runtime358.c(7);
|
|
524115
524153
|
const {
|
|
524116
524154
|
addNotification
|
|
524117
524155
|
} = useNotifications();
|
|
@@ -524195,14 +524233,14 @@ function _temp244(id) {
|
|
|
524195
524233
|
const atIndex = id.indexOf("@");
|
|
524196
524234
|
return atIndex > 0 ? id.substring(0, atIndex) : id;
|
|
524197
524235
|
}
|
|
524198
|
-
var
|
|
524236
|
+
var import_react_compiler_runtime358, import_react309, jsx_dev_runtime460;
|
|
524199
524237
|
var init_usePluginAutoupdateNotification = __esm(() => {
|
|
524200
524238
|
init_state();
|
|
524201
524239
|
init_notifications();
|
|
524202
524240
|
init_ink2();
|
|
524203
524241
|
init_debug();
|
|
524204
524242
|
init_pluginAutoupdate();
|
|
524205
|
-
|
|
524243
|
+
import_react_compiler_runtime358 = __toESM(require_dist4(), 1);
|
|
524206
524244
|
import_react309 = __toESM(require_react(), 1);
|
|
524207
524245
|
jsx_dev_runtime460 = __toESM(require_jsx_dev_runtime(), 1);
|
|
524208
524246
|
});
|
|
@@ -524486,7 +524524,7 @@ var init_performStartupChecks = __esm(() => {
|
|
|
524486
524524
|
|
|
524487
524525
|
// src/components/AwsAuthStatusBox.tsx
|
|
524488
524526
|
function AwsAuthStatusBox() {
|
|
524489
|
-
const $2 =
|
|
524527
|
+
const $2 = import_react_compiler_runtime359.c(11);
|
|
524490
524528
|
let t0;
|
|
524491
524529
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
524492
524530
|
t0 = AwsAuthStatusManager.getInstance().getStatus();
|
|
@@ -524599,11 +524637,11 @@ function _temp254(line, index) {
|
|
|
524599
524637
|
]
|
|
524600
524638
|
}, index, true, undefined, this);
|
|
524601
524639
|
}
|
|
524602
|
-
var
|
|
524640
|
+
var import_react_compiler_runtime359, import_react310, jsx_dev_runtime461, URL_RE;
|
|
524603
524641
|
var init_AwsAuthStatusBox = __esm(() => {
|
|
524604
524642
|
init_ink2();
|
|
524605
524643
|
init_awsAuthStatusManager();
|
|
524606
|
-
|
|
524644
|
+
import_react_compiler_runtime359 = __toESM(require_dist4(), 1);
|
|
524607
524645
|
import_react310 = __toESM(require_react(), 1);
|
|
524608
524646
|
jsx_dev_runtime461 = __toESM(require_jsx_dev_runtime(), 1);
|
|
524609
524647
|
URL_RE = /https?:\/\/\S+/;
|
|
@@ -524611,7 +524649,7 @@ var init_AwsAuthStatusBox = __esm(() => {
|
|
|
524611
524649
|
|
|
524612
524650
|
// src/hooks/notifs/useRateLimitWarningNotification.tsx
|
|
524613
524651
|
function useRateLimitWarningNotification(model) {
|
|
524614
|
-
const $2 =
|
|
524652
|
+
const $2 = import_react_compiler_runtime360.c(17);
|
|
524615
524653
|
const {
|
|
524616
524654
|
addNotification
|
|
524617
524655
|
} = useNotifications();
|
|
@@ -524718,7 +524756,7 @@ function useRateLimitWarningNotification(model) {
|
|
|
524718
524756
|
}
|
|
524719
524757
|
import_react311.useEffect(t6, t7);
|
|
524720
524758
|
}
|
|
524721
|
-
var
|
|
524759
|
+
var import_react_compiler_runtime360, import_react311, jsx_dev_runtime462;
|
|
524722
524760
|
var init_useRateLimitWarningNotification = __esm(() => {
|
|
524723
524761
|
init_notifications();
|
|
524724
524762
|
init_ink2();
|
|
@@ -524727,7 +524765,7 @@ var init_useRateLimitWarningNotification = __esm(() => {
|
|
|
524727
524765
|
init_auth2();
|
|
524728
524766
|
init_billing();
|
|
524729
524767
|
init_state();
|
|
524730
|
-
|
|
524768
|
+
import_react_compiler_runtime360 = __toESM(require_dist4(), 1);
|
|
524731
524769
|
import_react311 = __toESM(require_react(), 1);
|
|
524732
524770
|
jsx_dev_runtime462 = __toESM(require_jsx_dev_runtime(), 1);
|
|
524733
524771
|
});
|
|
@@ -524795,7 +524833,7 @@ var init_deprecation = __esm(() => {
|
|
|
524795
524833
|
|
|
524796
524834
|
// src/hooks/notifs/useDeprecationWarningNotification.tsx
|
|
524797
524835
|
function useDeprecationWarningNotification(model) {
|
|
524798
|
-
const $2 =
|
|
524836
|
+
const $2 = import_react_compiler_runtime361.c(4);
|
|
524799
524837
|
const {
|
|
524800
524838
|
addNotification
|
|
524801
524839
|
} = useNotifications();
|
|
@@ -524832,12 +524870,12 @@ function useDeprecationWarningNotification(model) {
|
|
|
524832
524870
|
}
|
|
524833
524871
|
import_react312.useEffect(t0, t1);
|
|
524834
524872
|
}
|
|
524835
|
-
var
|
|
524873
|
+
var import_react_compiler_runtime361, import_react312;
|
|
524836
524874
|
var init_useDeprecationWarningNotification = __esm(() => {
|
|
524837
524875
|
init_notifications();
|
|
524838
524876
|
init_deprecation();
|
|
524839
524877
|
init_state();
|
|
524840
|
-
|
|
524878
|
+
import_react_compiler_runtime361 = __toESM(require_dist4(), 1);
|
|
524841
524879
|
import_react312 = __toESM(require_react(), 1);
|
|
524842
524880
|
});
|
|
524843
524881
|
|
|
@@ -524870,7 +524908,7 @@ var init_useNpmDeprecationNotification = __esm(() => {
|
|
|
524870
524908
|
|
|
524871
524909
|
// src/hooks/notifs/useIDEStatusIndicator.tsx
|
|
524872
524910
|
function useIDEStatusIndicator(t0) {
|
|
524873
|
-
const $2 =
|
|
524911
|
+
const $2 = import_react_compiler_runtime362.c(26);
|
|
524874
524912
|
const {
|
|
524875
524913
|
ideSelection,
|
|
524876
524914
|
mcpClients,
|
|
@@ -525047,7 +525085,7 @@ function _temp293(current) {
|
|
|
525047
525085
|
ideHintShownCount: (current.ideHintShownCount ?? 0) + 1
|
|
525048
525086
|
};
|
|
525049
525087
|
}
|
|
525050
|
-
var
|
|
525088
|
+
var import_react_compiler_runtime362, import_react313, jsx_dev_runtime463, MAX_IDE_HINT_SHOW_COUNT = 5;
|
|
525051
525089
|
var init_useIDEStatusIndicator = __esm(() => {
|
|
525052
525090
|
init_notifications();
|
|
525053
525091
|
init_ink2();
|
|
@@ -525055,7 +525093,7 @@ var init_useIDEStatusIndicator = __esm(() => {
|
|
|
525055
525093
|
init_ide();
|
|
525056
525094
|
init_state();
|
|
525057
525095
|
init_useIdeConnectionStatus();
|
|
525058
|
-
|
|
525096
|
+
import_react_compiler_runtime362 = __toESM(require_dist4(), 1);
|
|
525059
525097
|
import_react313 = __toESM(require_react(), 1);
|
|
525060
525098
|
jsx_dev_runtime463 = __toESM(require_jsx_dev_runtime(), 1);
|
|
525061
525099
|
});
|
|
@@ -525243,7 +525281,7 @@ var init_useTeammateShutdownNotification = __esm(() => {
|
|
|
525243
525281
|
|
|
525244
525282
|
// src/hooks/notifs/useFastModeNotification.tsx
|
|
525245
525283
|
function useFastModeNotification() {
|
|
525246
|
-
const $2 =
|
|
525284
|
+
const $2 = import_react_compiler_runtime363.c(13);
|
|
525247
525285
|
const {
|
|
525248
525286
|
addNotification
|
|
525249
525287
|
} = useNotifications();
|
|
@@ -525392,20 +525430,20 @@ function getCooldownMessage(reason, resetIn) {
|
|
|
525392
525430
|
return `Fast limit reached and temporarily disabled · resets in ${resetIn}`;
|
|
525393
525431
|
}
|
|
525394
525432
|
}
|
|
525395
|
-
var
|
|
525433
|
+
var import_react_compiler_runtime363, import_react315, COOLDOWN_STARTED_KEY = "fast-mode-cooldown-started", COOLDOWN_EXPIRED_KEY = "fast-mode-cooldown-expired", ORG_CHANGED_KEY = "fast-mode-org-changed", OVERAGE_REJECTED_KEY = "fast-mode-overage-rejected";
|
|
525396
525434
|
var init_useFastModeNotification = __esm(() => {
|
|
525397
525435
|
init_notifications();
|
|
525398
525436
|
init_AppState();
|
|
525399
525437
|
init_fastMode();
|
|
525400
525438
|
init_format();
|
|
525401
525439
|
init_state();
|
|
525402
|
-
|
|
525440
|
+
import_react_compiler_runtime363 = __toESM(require_dist4(), 1);
|
|
525403
525441
|
import_react315 = __toESM(require_react(), 1);
|
|
525404
525442
|
});
|
|
525405
525443
|
|
|
525406
525444
|
// src/utils/autoRunIssue.tsx
|
|
525407
525445
|
function AutoRunIssueNotification(t0) {
|
|
525408
|
-
const $2 =
|
|
525446
|
+
const $2 = import_react_compiler_runtime364.c(8);
|
|
525409
525447
|
const {
|
|
525410
525448
|
onRun,
|
|
525411
525449
|
onCancel,
|
|
@@ -525524,12 +525562,12 @@ function getAutoRunIssueReasonText(reason) {
|
|
|
525524
525562
|
return "Unknown reason";
|
|
525525
525563
|
}
|
|
525526
525564
|
}
|
|
525527
|
-
var
|
|
525565
|
+
var import_react_compiler_runtime364, import_react316, jsx_dev_runtime465;
|
|
525528
525566
|
var init_autoRunIssue = __esm(() => {
|
|
525529
525567
|
init_KeyboardShortcutHint();
|
|
525530
525568
|
init_ink2();
|
|
525531
525569
|
init_useKeybinding();
|
|
525532
|
-
|
|
525570
|
+
import_react_compiler_runtime364 = __toESM(require_dist4(), 1);
|
|
525533
525571
|
import_react316 = __toESM(require_react(), 1);
|
|
525534
525572
|
jsx_dev_runtime465 = __toESM(require_jsx_dev_runtime(), 1);
|
|
525535
525573
|
});
|
|
@@ -525643,18 +525681,18 @@ var init_useIssueFlagBanner = __esm(() => {
|
|
|
525643
525681
|
});
|
|
525644
525682
|
|
|
525645
525683
|
// src/components/DevBar.tsx
|
|
525646
|
-
var
|
|
525684
|
+
var import_react_compiler_runtime365, import_react318, jsx_dev_runtime466;
|
|
525647
525685
|
var init_DevBar = __esm(() => {
|
|
525648
525686
|
init_state();
|
|
525649
525687
|
init_ink2();
|
|
525650
|
-
|
|
525688
|
+
import_react_compiler_runtime365 = __toESM(require_dist4(), 1);
|
|
525651
525689
|
import_react318 = __toESM(require_react(), 1);
|
|
525652
525690
|
jsx_dev_runtime466 = __toESM(require_jsx_dev_runtime(), 1);
|
|
525653
525691
|
});
|
|
525654
525692
|
|
|
525655
525693
|
// src/ink/components/AlternateScreen.tsx
|
|
525656
525694
|
function AlternateScreen(t0) {
|
|
525657
|
-
const $2 =
|
|
525695
|
+
const $2 = import_react_compiler_runtime366.c(7);
|
|
525658
525696
|
const {
|
|
525659
525697
|
children,
|
|
525660
525698
|
mouseTracking: t1
|
|
@@ -525706,14 +525744,14 @@ function AlternateScreen(t0) {
|
|
|
525706
525744
|
}
|
|
525707
525745
|
return t5;
|
|
525708
525746
|
}
|
|
525709
|
-
var
|
|
525747
|
+
var import_react_compiler_runtime366, import_react319, jsx_dev_runtime467;
|
|
525710
525748
|
var init_AlternateScreen = __esm(() => {
|
|
525711
525749
|
init_instances();
|
|
525712
525750
|
init_dec();
|
|
525713
525751
|
init_useTerminalNotification();
|
|
525714
525752
|
init_Box();
|
|
525715
525753
|
init_TerminalSizeContext();
|
|
525716
|
-
|
|
525754
|
+
import_react_compiler_runtime366 = __toESM(require_dist4(), 1);
|
|
525717
525755
|
import_react319 = __toESM(require_react(), 1);
|
|
525718
525756
|
jsx_dev_runtime467 = __toESM(require_jsx_dev_runtime(), 1);
|
|
525719
525757
|
});
|
|
@@ -526353,7 +526391,7 @@ import { tmpdir as tmpdir11 } from "os";
|
|
|
526353
526391
|
import { writeFile as writeFile44 } from "fs/promises";
|
|
526354
526392
|
import { randomUUID as randomUUID47 } from "crypto";
|
|
526355
526393
|
function TranscriptModeFooter(t0) {
|
|
526356
|
-
const $2 =
|
|
526394
|
+
const $2 = import_react_compiler_runtime367.c(9);
|
|
526357
526395
|
const {
|
|
526358
526396
|
showAllInTranscript,
|
|
526359
526397
|
virtualScroll,
|
|
@@ -526550,7 +526588,7 @@ function TranscriptSearchBar({
|
|
|
526550
526588
|
}, undefined, true, undefined, this);
|
|
526551
526589
|
}
|
|
526552
526590
|
function AnimatedTerminalTitle(t0) {
|
|
526553
|
-
const $2 =
|
|
526591
|
+
const $2 = import_react_compiler_runtime367.c(6);
|
|
526554
526592
|
const {
|
|
526555
526593
|
isAnimating,
|
|
526556
526594
|
title,
|
|
@@ -529683,7 +529721,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
529683
529721
|
}
|
|
529684
529722
|
return mainReturn;
|
|
529685
529723
|
}
|
|
529686
|
-
var
|
|
529724
|
+
var import_react_compiler_runtime367, React159, import_react322, jsx_dev_runtime468, useFrustrationDetection = () => ({
|
|
529687
529725
|
state: "closed",
|
|
529688
529726
|
handleTranscriptSelect: () => {}
|
|
529689
529727
|
}), useAntOrgWarningNotification = () => {}, getCoordinatorUserContext = () => ({}), proactiveModule5 = null, PROACTIVE_NO_OP_SUBSCRIBE = (_cb) => () => {}, PROACTIVE_FALSE = () => false, SUGGEST_BG_PR_NOOP = (_p, _n) => false, EMPTY_MCP_CLIENTS2, HISTORY_STUB, RECENT_SCROLL_REPIN_WINDOW_MS = 3000, TITLE_ANIMATION_FRAMES, TITLE_STATIC_PREFIX = "✳", TITLE_ANIMATION_INTERVAL_MS = 960;
|
|
@@ -529889,7 +529927,7 @@ var init_REPL = __esm(() => {
|
|
|
529889
529927
|
init_messageActions();
|
|
529890
529928
|
init_osc();
|
|
529891
529929
|
init_attachments2();
|
|
529892
|
-
|
|
529930
|
+
import_react_compiler_runtime367 = __toESM(require_dist4(), 1);
|
|
529893
529931
|
React159 = __toESM(require_react(), 1);
|
|
529894
529932
|
import_react322 = __toESM(require_react(), 1);
|
|
529895
529933
|
jsx_dev_runtime468 = __toESM(require_jsx_dev_runtime(), 1);
|
|
@@ -530075,7 +530113,7 @@ var init_warningHandler = __esm(() => {
|
|
|
530075
530113
|
|
|
530076
530114
|
// src/components/MCPServerDialogCopy.tsx
|
|
530077
530115
|
function MCPServerDialogCopy() {
|
|
530078
|
-
const $2 =
|
|
530116
|
+
const $2 = import_react_compiler_runtime368.c(1);
|
|
530079
530117
|
let t0;
|
|
530080
530118
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
530081
530119
|
t0 = /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(ThemedText, {
|
|
@@ -530095,16 +530133,16 @@ function MCPServerDialogCopy() {
|
|
|
530095
530133
|
}
|
|
530096
530134
|
return t0;
|
|
530097
530135
|
}
|
|
530098
|
-
var
|
|
530136
|
+
var import_react_compiler_runtime368, jsx_dev_runtime470;
|
|
530099
530137
|
var init_MCPServerDialogCopy = __esm(() => {
|
|
530100
530138
|
init_ink2();
|
|
530101
|
-
|
|
530139
|
+
import_react_compiler_runtime368 = __toESM(require_dist4(), 1);
|
|
530102
530140
|
jsx_dev_runtime470 = __toESM(require_jsx_dev_runtime(), 1);
|
|
530103
530141
|
});
|
|
530104
530142
|
|
|
530105
530143
|
// src/components/MCPServerApprovalDialog.tsx
|
|
530106
530144
|
function MCPServerApprovalDialog(t0) {
|
|
530107
|
-
const $2 =
|
|
530145
|
+
const $2 = import_react_compiler_runtime369.c(13);
|
|
530108
530146
|
const {
|
|
530109
530147
|
serverName,
|
|
530110
530148
|
onDone
|
|
@@ -530217,20 +530255,20 @@ function MCPServerApprovalDialog(t0) {
|
|
|
530217
530255
|
}
|
|
530218
530256
|
return t7;
|
|
530219
530257
|
}
|
|
530220
|
-
var
|
|
530258
|
+
var import_react_compiler_runtime369, jsx_dev_runtime471;
|
|
530221
530259
|
var init_MCPServerApprovalDialog = __esm(() => {
|
|
530222
530260
|
init_analytics();
|
|
530223
530261
|
init_settings2();
|
|
530224
530262
|
init_CustomSelect();
|
|
530225
530263
|
init_Dialog();
|
|
530226
530264
|
init_MCPServerDialogCopy();
|
|
530227
|
-
|
|
530265
|
+
import_react_compiler_runtime369 = __toESM(require_dist4(), 1);
|
|
530228
530266
|
jsx_dev_runtime471 = __toESM(require_jsx_dev_runtime(), 1);
|
|
530229
530267
|
});
|
|
530230
530268
|
|
|
530231
530269
|
// src/components/MCPServerMultiselectDialog.tsx
|
|
530232
530270
|
function MCPServerMultiselectDialog(t0) {
|
|
530233
|
-
const $2 =
|
|
530271
|
+
const $2 = import_react_compiler_runtime370.c(21);
|
|
530234
530272
|
const {
|
|
530235
530273
|
serverNames,
|
|
530236
530274
|
onDone
|
|
@@ -530390,7 +530428,7 @@ function _temp302(server_0) {
|
|
|
530390
530428
|
value: server_0
|
|
530391
530429
|
};
|
|
530392
530430
|
}
|
|
530393
|
-
var
|
|
530431
|
+
var import_react_compiler_runtime370, jsx_dev_runtime472;
|
|
530394
530432
|
var init_MCPServerMultiselectDialog = __esm(() => {
|
|
530395
530433
|
init_partition();
|
|
530396
530434
|
init_analytics();
|
|
@@ -530402,7 +530440,7 @@ var init_MCPServerMultiselectDialog = __esm(() => {
|
|
|
530402
530440
|
init_Dialog();
|
|
530403
530441
|
init_KeyboardShortcutHint();
|
|
530404
530442
|
init_MCPServerDialogCopy();
|
|
530405
|
-
|
|
530443
|
+
import_react_compiler_runtime370 = __toESM(require_dist4(), 1);
|
|
530406
530444
|
jsx_dev_runtime472 = __toESM(require_jsx_dev_runtime(), 1);
|
|
530407
530445
|
});
|
|
530408
530446
|
|
|
@@ -530659,7 +530697,7 @@ async function checkProviderEndpoint() {
|
|
|
530659
530697
|
}
|
|
530660
530698
|
}
|
|
530661
530699
|
function PreflightStep(t0) {
|
|
530662
|
-
const $2 =
|
|
530700
|
+
const $2 = import_react_compiler_runtime371.c(12);
|
|
530663
530701
|
const {
|
|
530664
530702
|
onSuccess
|
|
530665
530703
|
} = t0;
|
|
@@ -530733,13 +530771,13 @@ function PreflightStep(t0) {
|
|
|
530733
530771
|
}
|
|
530734
530772
|
return t6;
|
|
530735
530773
|
}
|
|
530736
|
-
var
|
|
530774
|
+
var import_react_compiler_runtime371, import_react324, jsx_dev_runtime474;
|
|
530737
530775
|
var init_preflightChecks = __esm(() => {
|
|
530738
530776
|
init_Spinner2();
|
|
530739
530777
|
init_useTimeout();
|
|
530740
530778
|
init_ink2();
|
|
530741
530779
|
init_providerConfig2();
|
|
530742
|
-
|
|
530780
|
+
import_react_compiler_runtime371 = __toESM(require_dist4(), 1);
|
|
530743
530781
|
import_react324 = __toESM(require_react(), 1);
|
|
530744
530782
|
jsx_dev_runtime474 = __toESM(require_jsx_dev_runtime(), 1);
|
|
530745
530783
|
});
|
|
@@ -530750,7 +530788,7 @@ __export(exports_ApproveApiKey, {
|
|
|
530750
530788
|
ApproveApiKey: () => ApproveApiKey
|
|
530751
530789
|
});
|
|
530752
530790
|
function ApproveApiKey(t0) {
|
|
530753
|
-
const $2 =
|
|
530791
|
+
const $2 = import_react_compiler_runtime372.c(17);
|
|
530754
530792
|
const {
|
|
530755
530793
|
customApiKeyTruncated,
|
|
530756
530794
|
onDone
|
|
@@ -530899,19 +530937,19 @@ function ApproveApiKey(t0) {
|
|
|
530899
530937
|
}
|
|
530900
530938
|
return t9;
|
|
530901
530939
|
}
|
|
530902
|
-
var
|
|
530940
|
+
var import_react_compiler_runtime372, jsx_dev_runtime475;
|
|
530903
530941
|
var init_ApproveApiKey = __esm(() => {
|
|
530904
530942
|
init_ink2();
|
|
530905
530943
|
init_config2();
|
|
530906
530944
|
init_CustomSelect();
|
|
530907
530945
|
init_Dialog();
|
|
530908
|
-
|
|
530946
|
+
import_react_compiler_runtime372 = __toESM(require_dist4(), 1);
|
|
530909
530947
|
jsx_dev_runtime475 = __toESM(require_jsx_dev_runtime(), 1);
|
|
530910
530948
|
});
|
|
530911
530949
|
|
|
530912
530950
|
// src/components/LogoV2/WelcomeV2.tsx
|
|
530913
530951
|
function WelcomeV2() {
|
|
530914
|
-
const $2 =
|
|
530952
|
+
const $2 = import_react_compiler_runtime373.c(35);
|
|
530915
530953
|
const [theme2] = useTheme();
|
|
530916
530954
|
if (env3.terminal === "Apple_Terminal") {
|
|
530917
530955
|
let t02;
|
|
@@ -530951,7 +530989,7 @@ function WelcomeV2() {
|
|
|
530951
530989
|
dimColor: true,
|
|
530952
530990
|
children: [
|
|
530953
530991
|
"v",
|
|
530954
|
-
"0.1.
|
|
530992
|
+
"0.1.4",
|
|
530955
530993
|
" "
|
|
530956
530994
|
]
|
|
530957
530995
|
}, undefined, true, undefined, this)
|
|
@@ -531151,7 +531189,7 @@ function WelcomeV2() {
|
|
|
531151
531189
|
dimColor: true,
|
|
531152
531190
|
children: [
|
|
531153
531191
|
"v",
|
|
531154
|
-
"0.1.
|
|
531192
|
+
"0.1.4",
|
|
531155
531193
|
" "
|
|
531156
531194
|
]
|
|
531157
531195
|
}, undefined, true, undefined, this)
|
|
@@ -531350,7 +531388,7 @@ function WelcomeV2() {
|
|
|
531350
531388
|
return t16;
|
|
531351
531389
|
}
|
|
531352
531390
|
function AppleTerminalWelcomeV2(t0) {
|
|
531353
|
-
const $2 =
|
|
531391
|
+
const $2 = import_react_compiler_runtime373.c(44);
|
|
531354
531392
|
const {
|
|
531355
531393
|
theme: theme2,
|
|
531356
531394
|
welcomeMessage
|
|
@@ -531377,7 +531415,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
531377
531415
|
dimColor: true,
|
|
531378
531416
|
children: [
|
|
531379
531417
|
"v",
|
|
531380
|
-
"0.1.
|
|
531418
|
+
"0.1.4",
|
|
531381
531419
|
" "
|
|
531382
531420
|
]
|
|
531383
531421
|
}, undefined, true, undefined, this);
|
|
@@ -531631,7 +531669,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
531631
531669
|
dimColor: true,
|
|
531632
531670
|
children: [
|
|
531633
531671
|
"v",
|
|
531634
|
-
"0.1.
|
|
531672
|
+
"0.1.4",
|
|
531635
531673
|
" "
|
|
531636
531674
|
]
|
|
531637
531675
|
}, undefined, true, undefined, this);
|
|
@@ -531881,17 +531919,17 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
531881
531919
|
}
|
|
531882
531920
|
return t19;
|
|
531883
531921
|
}
|
|
531884
|
-
var
|
|
531922
|
+
var import_react_compiler_runtime373, jsx_dev_runtime476, WELCOME_V2_WIDTH = 58;
|
|
531885
531923
|
var init_WelcomeV2 = __esm(() => {
|
|
531886
531924
|
init_ink2();
|
|
531887
531925
|
init_env();
|
|
531888
|
-
|
|
531926
|
+
import_react_compiler_runtime373 = __toESM(require_dist4(), 1);
|
|
531889
531927
|
jsx_dev_runtime476 = __toESM(require_jsx_dev_runtime(), 1);
|
|
531890
531928
|
});
|
|
531891
531929
|
|
|
531892
531930
|
// src/components/ui/OrderedListItem.tsx
|
|
531893
531931
|
function OrderedListItem(t0) {
|
|
531894
|
-
const $2 =
|
|
531932
|
+
const $2 = import_react_compiler_runtime374.c(7);
|
|
531895
531933
|
const {
|
|
531896
531934
|
children
|
|
531897
531935
|
} = t0;
|
|
@@ -531937,10 +531975,10 @@ function OrderedListItem(t0) {
|
|
|
531937
531975
|
}
|
|
531938
531976
|
return t3;
|
|
531939
531977
|
}
|
|
531940
|
-
var
|
|
531978
|
+
var import_react_compiler_runtime374, import_react325, jsx_dev_runtime477, OrderedListItemContext;
|
|
531941
531979
|
var init_OrderedListItem = __esm(() => {
|
|
531942
531980
|
init_ink2();
|
|
531943
|
-
|
|
531981
|
+
import_react_compiler_runtime374 = __toESM(require_dist4(), 1);
|
|
531944
531982
|
import_react325 = __toESM(require_react(), 1);
|
|
531945
531983
|
jsx_dev_runtime477 = __toESM(require_jsx_dev_runtime(), 1);
|
|
531946
531984
|
OrderedListItemContext = import_react325.createContext({
|
|
@@ -531950,7 +531988,7 @@ var init_OrderedListItem = __esm(() => {
|
|
|
531950
531988
|
|
|
531951
531989
|
// src/components/ui/OrderedList.tsx
|
|
531952
531990
|
function OrderedListComponent(t0) {
|
|
531953
|
-
const $2 =
|
|
531991
|
+
const $2 = import_react_compiler_runtime375.c(9);
|
|
531954
531992
|
const {
|
|
531955
531993
|
children
|
|
531956
531994
|
} = t0;
|
|
@@ -532014,11 +532052,11 @@ function OrderedListComponent(t0) {
|
|
|
532014
532052
|
}
|
|
532015
532053
|
return t2;
|
|
532016
532054
|
}
|
|
532017
|
-
var
|
|
532055
|
+
var import_react_compiler_runtime375, import_react326, jsx_dev_runtime478, OrderedListContext, OrderedList;
|
|
532018
532056
|
var init_OrderedList = __esm(() => {
|
|
532019
532057
|
init_ink2();
|
|
532020
532058
|
init_OrderedListItem();
|
|
532021
|
-
|
|
532059
|
+
import_react_compiler_runtime375 = __toESM(require_dist4(), 1);
|
|
532022
532060
|
import_react326 = __toESM(require_react(), 1);
|
|
532023
532061
|
jsx_dev_runtime478 = __toESM(require_jsx_dev_runtime(), 1);
|
|
532024
532062
|
OrderedListContext = import_react326.createContext({
|
|
@@ -532292,7 +532330,7 @@ function Onboarding({
|
|
|
532292
532330
|
}, undefined, true, undefined, this);
|
|
532293
532331
|
}
|
|
532294
532332
|
function SkippableStep(t0) {
|
|
532295
|
-
const $2 =
|
|
532333
|
+
const $2 = import_react_compiler_runtime376.c(4);
|
|
532296
532334
|
const {
|
|
532297
532335
|
skip,
|
|
532298
532336
|
onSkip,
|
|
@@ -532321,7 +532359,7 @@ function SkippableStep(t0) {
|
|
|
532321
532359
|
}
|
|
532322
532360
|
return children;
|
|
532323
532361
|
}
|
|
532324
|
-
var
|
|
532362
|
+
var import_react_compiler_runtime376, import_react327, jsx_dev_runtime479;
|
|
532325
532363
|
var init_Onboarding = __esm(() => {
|
|
532326
532364
|
init_analytics();
|
|
532327
532365
|
init_terminalSetup();
|
|
@@ -532340,7 +532378,7 @@ var init_Onboarding = __esm(() => {
|
|
|
532340
532378
|
init_PressEnterToContinue();
|
|
532341
532379
|
init_ThemePicker();
|
|
532342
532380
|
init_OrderedList();
|
|
532343
|
-
|
|
532381
|
+
import_react_compiler_runtime376 = __toESM(require_dist4(), 1);
|
|
532344
532382
|
import_react327 = __toESM(require_react(), 1);
|
|
532345
532383
|
jsx_dev_runtime479 = __toESM(require_jsx_dev_runtime(), 1);
|
|
532346
532384
|
});
|
|
@@ -532484,7 +532522,7 @@ __export(exports_TrustDialog, {
|
|
|
532484
532522
|
});
|
|
532485
532523
|
import { homedir as homedir38 } from "os";
|
|
532486
532524
|
function TrustDialog(t0) {
|
|
532487
|
-
const $2 =
|
|
532525
|
+
const $2 = import_react_compiler_runtime377.c(33);
|
|
532488
532526
|
const {
|
|
532489
532527
|
onDone,
|
|
532490
532528
|
commands
|
|
@@ -532799,7 +532837,7 @@ function _temp2101(command8) {
|
|
|
532799
532837
|
function _temp303(tool) {
|
|
532800
532838
|
return tool === BASH_TOOL_NAME || tool.startsWith(BASH_TOOL_NAME + "(");
|
|
532801
532839
|
}
|
|
532802
|
-
var
|
|
532840
|
+
var import_react_compiler_runtime377, import_react328, jsx_dev_runtime480;
|
|
532803
532841
|
var init_TrustDialog = __esm(() => {
|
|
532804
532842
|
init_analytics();
|
|
532805
532843
|
init_state();
|
|
@@ -532814,7 +532852,7 @@ var init_TrustDialog = __esm(() => {
|
|
|
532814
532852
|
init_CustomSelect();
|
|
532815
532853
|
init_PermissionDialog();
|
|
532816
532854
|
init_utils13();
|
|
532817
|
-
|
|
532855
|
+
import_react_compiler_runtime377 = __toESM(require_dist4(), 1);
|
|
532818
532856
|
import_react328 = __toESM(require_react(), 1);
|
|
532819
532857
|
jsx_dev_runtime480 = __toESM(require_jsx_dev_runtime(), 1);
|
|
532820
532858
|
});
|
|
@@ -533263,7 +533301,7 @@ __export(exports_BypassPermissionsModeDialog, {
|
|
|
533263
533301
|
BypassPermissionsModeDialog: () => BypassPermissionsModeDialog
|
|
533264
533302
|
});
|
|
533265
533303
|
function BypassPermissionsModeDialog(t0) {
|
|
533266
|
-
const $2 =
|
|
533304
|
+
const $2 = import_react_compiler_runtime378.c(7);
|
|
533267
533305
|
const {
|
|
533268
533306
|
onAccept
|
|
533269
533307
|
} = t0;
|
|
@@ -533365,7 +533403,7 @@ function _temp2102() {
|
|
|
533365
533403
|
function _temp304() {
|
|
533366
533404
|
logEvent("tengu_bypass_permissions_mode_dialog_shown", {});
|
|
533367
533405
|
}
|
|
533368
|
-
var
|
|
533406
|
+
var import_react_compiler_runtime378, import_react330, jsx_dev_runtime482;
|
|
533369
533407
|
var init_BypassPermissionsModeDialog = __esm(() => {
|
|
533370
533408
|
init_analytics();
|
|
533371
533409
|
init_ink2();
|
|
@@ -533373,7 +533411,7 @@ var init_BypassPermissionsModeDialog = __esm(() => {
|
|
|
533373
533411
|
init_settings2();
|
|
533374
533412
|
init_CustomSelect();
|
|
533375
533413
|
init_Dialog();
|
|
533376
|
-
|
|
533414
|
+
import_react_compiler_runtime378 = __toESM(require_dist4(), 1);
|
|
533377
533415
|
import_react330 = __toESM(require_react(), 1);
|
|
533378
533416
|
jsx_dev_runtime482 = __toESM(require_jsx_dev_runtime(), 1);
|
|
533379
533417
|
});
|
|
@@ -533384,7 +533422,7 @@ __export(exports_ClaudeInChromeOnboarding, {
|
|
|
533384
533422
|
ClaudeInChromeOnboarding: () => ClaudeInChromeOnboarding
|
|
533385
533423
|
});
|
|
533386
533424
|
function ClaudeInChromeOnboarding(t0) {
|
|
533387
|
-
const $2 =
|
|
533425
|
+
const $2 = import_react_compiler_runtime379.c(20);
|
|
533388
533426
|
const {
|
|
533389
533427
|
onDone
|
|
533390
533428
|
} = t0;
|
|
@@ -533550,14 +533588,14 @@ function _temp305(current) {
|
|
|
533550
533588
|
hasCompletedClaudeInChromeOnboarding: true
|
|
533551
533589
|
};
|
|
533552
533590
|
}
|
|
533553
|
-
var
|
|
533591
|
+
var import_react_compiler_runtime379, import_react331, jsx_dev_runtime483, CHROME_EXTENSION_URL2 = "https://claude.ai/chrome", CHROME_PERMISSIONS_URL2 = "https://clau.de/chrome/permissions";
|
|
533554
533592
|
var init_ClaudeInChromeOnboarding = __esm(() => {
|
|
533555
533593
|
init_analytics();
|
|
533556
533594
|
init_ink2();
|
|
533557
533595
|
init_setup2();
|
|
533558
533596
|
init_config2();
|
|
533559
533597
|
init_Dialog();
|
|
533560
|
-
|
|
533598
|
+
import_react_compiler_runtime379 = __toESM(require_dist4(), 1);
|
|
533561
533599
|
import_react331 = __toESM(require_react(), 1);
|
|
533562
533600
|
jsx_dev_runtime483 = __toESM(require_jsx_dev_runtime(), 1);
|
|
533563
533601
|
});
|
|
@@ -533823,7 +533861,7 @@ __export(exports_InvalidSettingsDialog, {
|
|
|
533823
533861
|
InvalidSettingsDialog: () => InvalidSettingsDialog
|
|
533824
533862
|
});
|
|
533825
533863
|
function InvalidSettingsDialog(t0) {
|
|
533826
|
-
const $2 =
|
|
533864
|
+
const $2 = import_react_compiler_runtime380.c(13);
|
|
533827
533865
|
const {
|
|
533828
533866
|
settingsErrors,
|
|
533829
533867
|
onContinue,
|
|
@@ -533910,19 +533948,19 @@ function InvalidSettingsDialog(t0) {
|
|
|
533910
533948
|
}
|
|
533911
533949
|
return t6;
|
|
533912
533950
|
}
|
|
533913
|
-
var
|
|
533951
|
+
var import_react_compiler_runtime380, jsx_dev_runtime485;
|
|
533914
533952
|
var init_InvalidSettingsDialog = __esm(() => {
|
|
533915
533953
|
init_ink2();
|
|
533916
533954
|
init_CustomSelect();
|
|
533917
533955
|
init_Dialog();
|
|
533918
533956
|
init_ValidationErrorsList();
|
|
533919
|
-
|
|
533957
|
+
import_react_compiler_runtime380 = __toESM(require_dist4(), 1);
|
|
533920
533958
|
jsx_dev_runtime485 = __toESM(require_jsx_dev_runtime(), 1);
|
|
533921
533959
|
});
|
|
533922
533960
|
|
|
533923
533961
|
// src/hooks/useTeleportResume.tsx
|
|
533924
533962
|
function useTeleportResume(source) {
|
|
533925
|
-
const $2 =
|
|
533963
|
+
const $2 = import_react_compiler_runtime381.c(8);
|
|
533926
533964
|
const [isResuming, setIsResuming] = import_react332.useState(false);
|
|
533927
533965
|
const [error42, setError] = import_react332.useState(null);
|
|
533928
533966
|
const [selectedSession, setSelectedSession] = import_react332.useState(null);
|
|
@@ -533990,13 +534028,13 @@ function useTeleportResume(source) {
|
|
|
533990
534028
|
}
|
|
533991
534029
|
return t2;
|
|
533992
534030
|
}
|
|
533993
|
-
var
|
|
534031
|
+
var import_react_compiler_runtime381, import_react332;
|
|
533994
534032
|
var init_useTeleportResume = __esm(() => {
|
|
533995
534033
|
init_state();
|
|
533996
534034
|
init_analytics();
|
|
533997
534035
|
init_errors();
|
|
533998
534036
|
init_teleport();
|
|
533999
|
-
|
|
534037
|
+
import_react_compiler_runtime381 = __toESM(require_dist4(), 1);
|
|
534000
534038
|
import_react332 = __toESM(require_react(), 1);
|
|
534001
534039
|
});
|
|
534002
534040
|
|
|
@@ -534370,7 +534408,7 @@ __export(exports_TeleportResumeWrapper, {
|
|
|
534370
534408
|
TeleportResumeWrapper: () => TeleportResumeWrapper
|
|
534371
534409
|
});
|
|
534372
534410
|
function TeleportResumeWrapper(t0) {
|
|
534373
|
-
const $2 =
|
|
534411
|
+
const $2 = import_react_compiler_runtime382.c(25);
|
|
534374
534412
|
const {
|
|
534375
534413
|
onComplete,
|
|
534376
534414
|
onCancel,
|
|
@@ -534568,7 +534606,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
534568
534606
|
}
|
|
534569
534607
|
return t8;
|
|
534570
534608
|
}
|
|
534571
|
-
var
|
|
534609
|
+
var import_react_compiler_runtime382, import_react334, jsx_dev_runtime487;
|
|
534572
534610
|
var init_TeleportResumeWrapper = __esm(() => {
|
|
534573
534611
|
init_analytics();
|
|
534574
534612
|
init_useTeleportResume();
|
|
@@ -534576,7 +534614,7 @@ var init_TeleportResumeWrapper = __esm(() => {
|
|
|
534576
534614
|
init_useKeybinding();
|
|
534577
534615
|
init_ResumeTask();
|
|
534578
534616
|
init_Spinner2();
|
|
534579
|
-
|
|
534617
|
+
import_react_compiler_runtime382 = __toESM(require_dist4(), 1);
|
|
534580
534618
|
import_react334 = __toESM(require_react(), 1);
|
|
534581
534619
|
jsx_dev_runtime487 = __toESM(require_jsx_dev_runtime(), 1);
|
|
534582
534620
|
});
|
|
@@ -534587,7 +534625,7 @@ __export(exports_TeleportRepoMismatchDialog, {
|
|
|
534587
534625
|
TeleportRepoMismatchDialog: () => TeleportRepoMismatchDialog
|
|
534588
534626
|
});
|
|
534589
534627
|
function TeleportRepoMismatchDialog(t0) {
|
|
534590
|
-
const $2 =
|
|
534628
|
+
const $2 = import_react_compiler_runtime383.c(18);
|
|
534591
534629
|
const {
|
|
534592
534630
|
targetRepo,
|
|
534593
534631
|
initialPaths,
|
|
@@ -534738,7 +534776,7 @@ function _temp306(path23) {
|
|
|
534738
534776
|
value: path23
|
|
534739
534777
|
};
|
|
534740
534778
|
}
|
|
534741
|
-
var
|
|
534779
|
+
var import_react_compiler_runtime383, import_react335, jsx_dev_runtime488;
|
|
534742
534780
|
var init_TeleportRepoMismatchDialog = __esm(() => {
|
|
534743
534781
|
init_ink2();
|
|
534744
534782
|
init_file();
|
|
@@ -534746,7 +534784,7 @@ var init_TeleportRepoMismatchDialog = __esm(() => {
|
|
|
534746
534784
|
init_CustomSelect();
|
|
534747
534785
|
init_Dialog();
|
|
534748
534786
|
init_Spinner2();
|
|
534749
|
-
|
|
534787
|
+
import_react_compiler_runtime383 = __toESM(require_dist4(), 1);
|
|
534750
534788
|
import_react335 = __toESM(require_react(), 1);
|
|
534751
534789
|
jsx_dev_runtime488 = __toESM(require_jsx_dev_runtime(), 1);
|
|
534752
534790
|
});
|
|
@@ -535010,7 +535048,7 @@ function ResumeConversation({
|
|
|
535010
535048
|
}, undefined, false, undefined, this);
|
|
535011
535049
|
}
|
|
535012
535050
|
function NoConversationsMessage() {
|
|
535013
|
-
const $2 =
|
|
535051
|
+
const $2 = import_react_compiler_runtime384.c(2);
|
|
535014
535052
|
let t0;
|
|
535015
535053
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
535016
535054
|
t0 = {
|
|
@@ -535045,7 +535083,7 @@ function _temp307() {
|
|
|
535045
535083
|
process.exit(1);
|
|
535046
535084
|
}
|
|
535047
535085
|
function CrossProjectMessage(t0) {
|
|
535048
|
-
const $2 =
|
|
535086
|
+
const $2 = import_react_compiler_runtime384.c(8);
|
|
535049
535087
|
const {
|
|
535050
535088
|
command: command8
|
|
535051
535089
|
} = t0;
|
|
@@ -535129,7 +535167,7 @@ function _temp359() {
|
|
|
535129
535167
|
function _temp2103() {
|
|
535130
535168
|
process.exit(0);
|
|
535131
535169
|
}
|
|
535132
|
-
var
|
|
535170
|
+
var import_react_compiler_runtime384, import_react336, jsx_dev_runtime489;
|
|
535133
535171
|
var init_ResumeConversation = __esm(() => {
|
|
535134
535172
|
init_useTerminalSize();
|
|
535135
535173
|
init_state();
|
|
@@ -535152,7 +535190,7 @@ var init_ResumeConversation = __esm(() => {
|
|
|
535152
535190
|
init_sessionRestore();
|
|
535153
535191
|
init_sessionStorage();
|
|
535154
535192
|
init_REPL();
|
|
535155
|
-
|
|
535193
|
+
import_react_compiler_runtime384 = __toESM(require_dist4(), 1);
|
|
535156
535194
|
import_react336 = __toESM(require_react(), 1);
|
|
535157
535195
|
jsx_dev_runtime489 = __toESM(require_jsx_dev_runtime(), 1);
|
|
535158
535196
|
});
|
|
@@ -547333,7 +547371,7 @@ __export(exports_TeleportProgress, {
|
|
|
547333
547371
|
TeleportProgress: () => TeleportProgress
|
|
547334
547372
|
});
|
|
547335
547373
|
function TeleportProgress(t0) {
|
|
547336
|
-
const $2 =
|
|
547374
|
+
const $2 = import_react_compiler_runtime385.c(16);
|
|
547337
547375
|
const {
|
|
547338
547376
|
currentStep,
|
|
547339
547377
|
sessionId
|
|
@@ -547486,13 +547524,13 @@ async function teleportWithProgress(root2, sessionId) {
|
|
|
547486
547524
|
branchName
|
|
547487
547525
|
};
|
|
547488
547526
|
}
|
|
547489
|
-
var
|
|
547527
|
+
var import_react_compiler_runtime385, import_react337, jsx_dev_runtime491, SPINNER_FRAMES3, STEPS;
|
|
547490
547528
|
var init_TeleportProgress = __esm(() => {
|
|
547491
547529
|
init_figures();
|
|
547492
547530
|
init_ink2();
|
|
547493
547531
|
init_AppState();
|
|
547494
547532
|
init_teleport();
|
|
547495
|
-
|
|
547533
|
+
import_react_compiler_runtime385 = __toESM(require_dist4(), 1);
|
|
547496
547534
|
import_react337 = __toESM(require_react(), 1);
|
|
547497
547535
|
jsx_dev_runtime491 = __toESM(require_jsx_dev_runtime(), 1);
|
|
547498
547536
|
SPINNER_FRAMES3 = ["◐", "◓", "◑", "◒"];
|
|
@@ -547513,7 +547551,7 @@ var init_TeleportProgress = __esm(() => {
|
|
|
547513
547551
|
|
|
547514
547552
|
// src/components/MCPServerDesktopImportDialog.tsx
|
|
547515
547553
|
function MCPServerDesktopImportDialog(t0) {
|
|
547516
|
-
const $2 =
|
|
547554
|
+
const $2 = import_react_compiler_runtime386.c(36);
|
|
547517
547555
|
const {
|
|
547518
547556
|
servers,
|
|
547519
547557
|
scope,
|
|
@@ -547749,7 +547787,7 @@ No servers were imported.`);
|
|
|
547749
547787
|
}
|
|
547750
547788
|
return t18;
|
|
547751
547789
|
}
|
|
547752
|
-
var
|
|
547790
|
+
var import_react_compiler_runtime386, import_react338, jsx_dev_runtime492;
|
|
547753
547791
|
var init_MCPServerDesktopImportDialog = __esm(() => {
|
|
547754
547792
|
init_gracefulShutdown();
|
|
547755
547793
|
init_ink2();
|
|
@@ -547760,7 +547798,7 @@ var init_MCPServerDesktopImportDialog = __esm(() => {
|
|
|
547760
547798
|
init_Byline();
|
|
547761
547799
|
init_Dialog();
|
|
547762
547800
|
init_KeyboardShortcutHint();
|
|
547763
|
-
|
|
547801
|
+
import_react_compiler_runtime386 = __toESM(require_dist4(), 1);
|
|
547764
547802
|
import_react338 = __toESM(require_react(), 1);
|
|
547765
547803
|
jsx_dev_runtime492 = __toESM(require_jsx_dev_runtime(), 1);
|
|
547766
547804
|
});
|
|
@@ -549276,7 +549314,7 @@ function getInstallationPath2() {
|
|
|
549276
549314
|
return "~/.local/bin/claude";
|
|
549277
549315
|
}
|
|
549278
549316
|
function SetupNotes(t0) {
|
|
549279
|
-
const $2 =
|
|
549317
|
+
const $2 = import_react_compiler_runtime387.c(5);
|
|
549280
549318
|
const {
|
|
549281
549319
|
messages
|
|
549282
549320
|
} = t0;
|
|
@@ -549581,7 +549619,7 @@ function Install({
|
|
|
549581
549619
|
]
|
|
549582
549620
|
}, undefined, true, undefined, this);
|
|
549583
549621
|
}
|
|
549584
|
-
var
|
|
549622
|
+
var import_react_compiler_runtime387, import_react339, jsx_dev_runtime494, install;
|
|
549585
549623
|
var init_install = __esm(() => {
|
|
549586
549624
|
init_analytics();
|
|
549587
549625
|
init_StatusIcon();
|
|
@@ -549591,7 +549629,7 @@ var init_install = __esm(() => {
|
|
|
549591
549629
|
init_errors();
|
|
549592
549630
|
init_nativeInstaller();
|
|
549593
549631
|
init_settings2();
|
|
549594
|
-
|
|
549632
|
+
import_react_compiler_runtime387 = __toESM(require_dist4(), 1);
|
|
549595
549633
|
import_react339 = __toESM(require_react(), 1);
|
|
549596
549634
|
jsx_dev_runtime494 = __toESM(require_jsx_dev_runtime(), 1);
|
|
549597
549635
|
install = {
|
|
@@ -549669,7 +549707,7 @@ async function setupTokenHandler(root2) {
|
|
|
549669
549707
|
process.exit(0);
|
|
549670
549708
|
}
|
|
549671
549709
|
function DoctorWithPlugins(t0) {
|
|
549672
|
-
const $2 =
|
|
549710
|
+
const $2 = import_react_compiler_runtime388.c(2);
|
|
549673
549711
|
const {
|
|
549674
549712
|
onDone
|
|
549675
549713
|
} = t0;
|
|
@@ -549729,7 +549767,7 @@ async function installHandler(target, options2) {
|
|
|
549729
549767
|
}, {}, args);
|
|
549730
549768
|
});
|
|
549731
549769
|
}
|
|
549732
|
-
var
|
|
549770
|
+
var import_react_compiler_runtime388, import_react340, jsx_dev_runtime495, DoctorLazy;
|
|
549733
549771
|
var init_util4 = __esm(() => {
|
|
549734
549772
|
init_WelcomeV2();
|
|
549735
549773
|
init_useManagePlugins();
|
|
@@ -549740,7 +549778,7 @@ var init_util4 = __esm(() => {
|
|
|
549740
549778
|
init_AppState();
|
|
549741
549779
|
init_onChangeAppState();
|
|
549742
549780
|
init_auth2();
|
|
549743
|
-
|
|
549781
|
+
import_react_compiler_runtime388 = __toESM(require_dist4(), 1);
|
|
549744
549782
|
import_react340 = __toESM(require_react(), 1);
|
|
549745
549783
|
jsx_dev_runtime495 = __toESM(require_jsx_dev_runtime(), 1);
|
|
549746
549784
|
DoctorLazy = import_react340.default.lazy(() => Promise.resolve().then(() => (init_Doctor(), exports_Doctor)).then((m) => ({
|
|
@@ -552121,7 +552159,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
552121
552159
|
pendingHookMessages
|
|
552122
552160
|
}, renderAndRun);
|
|
552123
552161
|
}
|
|
552124
|
-
}).version("0.1.
|
|
552162
|
+
}).version("0.1.4 (Open Claude)", "-v, --version", "Output the version number");
|
|
552125
552163
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
552126
552164
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
552127
552165
|
if (canUserConfigureAdvisor()) {
|
|
@@ -552680,7 +552718,7 @@ function validateProviderEnvOrExit() {
|
|
|
552680
552718
|
async function main2() {
|
|
552681
552719
|
const args = process.argv.slice(2);
|
|
552682
552720
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
552683
|
-
console.log(`${"0.1.
|
|
552721
|
+
console.log(`${"0.1.4"} (PointCode)`);
|
|
552684
552722
|
return;
|
|
552685
552723
|
}
|
|
552686
552724
|
validateProviderEnvOrExit();
|
|
@@ -552767,4 +552805,4 @@ async function main2() {
|
|
|
552767
552805
|
}
|
|
552768
552806
|
main2();
|
|
552769
552807
|
|
|
552770
|
-
//# debugId=
|
|
552808
|
+
//# debugId=8E8ABDC9A8B939B064756E2164756E21
|