@yukino.js/yukino 0.0.2 → 0.0.3-dev
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/README.md +34 -27
- package/dist/{acp-GPESP7MI.js → acp-J6EPN6TP.js} +6 -6
- package/dist/{agent-MPSZKLGX.js → agent-LA65FOAB.js} +1 -1
- package/dist/{anthropic-D7RVWNCE.js → anthropic-YP6DY2F3.js} +1 -1
- package/dist/{chunk-UPNNYP7M.js → chunk-2UNWKNDU.js} +1 -1
- package/dist/{chunk-IXRJQ6NU.js → chunk-675L7SRF.js} +96 -96
- package/dist/{chunk-RC3MYRC3.js → chunk-7CVY4FXY.js} +1 -1
- package/dist/{chunk-MY5FSQD6.js → chunk-CT773IEX.js} +3 -3
- package/dist/{chunk-Z2OKAF7A.js → chunk-JEOQXHOX.js} +24 -24
- package/dist/chunk-M5H5EYXN.js +5 -0
- package/dist/{chunk-SAJCBGHL.js → chunk-P77AEADG.js} +1 -1
- package/dist/{chunk-XO7ITAWR.js → chunk-Y6COQ5UY.js} +1 -1
- package/dist/{chunk-RCXKUD3Y.js → chunk-ZQP5DTJA.js} +1 -1
- package/dist/{esm-ZTIYTMTS.js → esm-NCEEJIH3.js} +3 -3
- package/dist/lib/{agent-H42OYQUH.js → agent-KDWPLLAV.js} +3 -3
- package/dist/lib/{anthropic-GTRJZUG3.js → anthropic-OJALXK4E.js} +2 -2
- package/dist/lib/{chunk-UOQV7CZM.js → chunk-2DEH6DOX.js} +1 -1
- package/dist/lib/{chunk-OMEH2HQI.js → chunk-77FSPN6Y.js} +8 -8
- package/dist/lib/{chunk-AR6FQWXI.js → chunk-7G4AI2PP.js} +1 -1
- package/dist/lib/{chunk-PY2WWTDH.js → chunk-SS7OJYHN.js} +15 -6
- package/dist/lib/{chunk-AEGITC5R.js → chunk-WOMWIFSN.js} +2 -2
- package/dist/lib/{chunk-MDX24JQ5.js → chunk-ZF52ER22.js} +1 -1
- package/dist/lib/index.d.ts +52 -43
- package/dist/lib/index.js +52 -43
- package/dist/lib/{openai-UQC5X2TR.js → openai-FB7BBZVN.js} +2 -2
- package/dist/lib/{permissions-Q4FBU5VD.js → permissions-BZRN4RES.js} +1 -1
- package/dist/lib/{providers-UA4VT5HA.js → providers-7ZGRBCQ4.js} +1 -1
- package/dist/main.js +223 -217
- package/dist/{openai-AEXTBM62.js → openai-2FE77NB2.js} +1 -1
- package/dist/{permissions-VCDMNX3L.js → permissions-R7P7RWZU.js} +1 -1
- package/dist/{providers-JRGWHWTS.js → providers-EZFC2EPW.js} +1 -1
- package/dist/{server-SAJ7FDJQ.js → server-54LNMGWU.js} +1 -1
- package/package.json +16 -8
- package/postinstall.mjs +80 -0
- package/dist/chunk-7UAMH7BZ.js +0 -5
package/dist/lib/index.js
CHANGED
|
@@ -42,23 +42,23 @@ import {
|
|
|
42
42
|
spillDir,
|
|
43
43
|
telemetry_exports,
|
|
44
44
|
tool_result_exports
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-77FSPN6Y.js";
|
|
46
46
|
import {
|
|
47
47
|
version,
|
|
48
48
|
version_exports
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WOMWIFSN.js";
|
|
50
50
|
import {
|
|
51
51
|
anthropic_exports,
|
|
52
52
|
decideAndApply,
|
|
53
53
|
strategy_exports
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-7G4AI2PP.js";
|
|
55
55
|
import {
|
|
56
56
|
SKIP_DIRS,
|
|
57
57
|
types_exports
|
|
58
58
|
} from "./chunk-F2YJG72O.js";
|
|
59
59
|
import {
|
|
60
60
|
openai_exports
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2DEH6DOX.js";
|
|
62
62
|
import {
|
|
63
63
|
DEFAULT_CONTEXT_WINDOW,
|
|
64
64
|
DEFAULT_MAX_OUTPUT_TOKENS,
|
|
@@ -76,12 +76,12 @@ import {
|
|
|
76
76
|
isValidThinkingLevel,
|
|
77
77
|
loadConfig,
|
|
78
78
|
withProjectMcpServers
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-SS7OJYHN.js";
|
|
80
80
|
import {
|
|
81
81
|
PermissionChecker,
|
|
82
82
|
isSafeCommand,
|
|
83
83
|
permissions_exports
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZF52ER22.js";
|
|
85
85
|
import {
|
|
86
86
|
MCPToolWrapper,
|
|
87
87
|
MCP_TOOL_PREFIX,
|
|
@@ -912,7 +912,7 @@ function commandName(base, full) {
|
|
|
912
912
|
const rel = full.slice(base.length + 1).replace(/\.md$/, "");
|
|
913
913
|
return rel.split(/[/\\]/).map((p) => p.toLowerCase().replace(/ /g, "-")).join(":");
|
|
914
914
|
}
|
|
915
|
-
var YamlFrontmatterSchema = z.
|
|
915
|
+
var YamlFrontmatterSchema = z.looseObject({
|
|
916
916
|
description: z.string().optional(),
|
|
917
917
|
"argument-hint": z.string().optional(),
|
|
918
918
|
aliases: z.array(z.string()).optional()
|
|
@@ -971,6 +971,7 @@ ${args}`;
|
|
|
971
971
|
var provider_login_exports = {};
|
|
972
972
|
__export(provider_login_exports, {
|
|
973
973
|
ProviderLoginSchema: () => ProviderLoginSchema,
|
|
974
|
+
persistDefaultProvider: () => persistDefaultProvider,
|
|
974
975
|
persistThinkingLevel: () => persistThinkingLevel,
|
|
975
976
|
saveProvider: () => saveProvider
|
|
976
977
|
});
|
|
@@ -1089,6 +1090,14 @@ function persistThinkingLevel(baseUrl, level) {
|
|
|
1089
1090
|
}
|
|
1090
1091
|
writeConfigAtomic(path, { ...config, providers });
|
|
1091
1092
|
}
|
|
1093
|
+
function persistDefaultProvider(index) {
|
|
1094
|
+
const path = globalConfigPath();
|
|
1095
|
+
const config = readConfigRaw(path);
|
|
1096
|
+
if (config.default_provider === index) {
|
|
1097
|
+
return;
|
|
1098
|
+
}
|
|
1099
|
+
writeConfigAtomic(path, { ...config, default_provider: index });
|
|
1100
|
+
}
|
|
1092
1101
|
|
|
1093
1102
|
// src/hooks/index.ts
|
|
1094
1103
|
var hooks_exports = {};
|
|
@@ -1455,21 +1464,21 @@ __export(client_exports, {
|
|
|
1455
1464
|
async function createClient(config, systemPrompt) {
|
|
1456
1465
|
switch (config.protocol) {
|
|
1457
1466
|
case "anthropic": {
|
|
1458
|
-
const { AnthropicClient } = await import("./anthropic-
|
|
1467
|
+
const { AnthropicClient } = await import("./anthropic-OJALXK4E.js");
|
|
1459
1468
|
return registerLlmClient(new AnthropicClient(config, systemPrompt), {
|
|
1460
1469
|
model: config.model,
|
|
1461
1470
|
protocol: config.protocol
|
|
1462
1471
|
});
|
|
1463
1472
|
}
|
|
1464
1473
|
case "openai": {
|
|
1465
|
-
const { OpenAIClient } = await import("./openai-
|
|
1474
|
+
const { OpenAIClient } = await import("./openai-FB7BBZVN.js");
|
|
1466
1475
|
return registerLlmClient(new OpenAIClient(config, systemPrompt), {
|
|
1467
1476
|
model: config.model,
|
|
1468
1477
|
protocol: config.protocol
|
|
1469
1478
|
});
|
|
1470
1479
|
}
|
|
1471
1480
|
case "openai-compat": {
|
|
1472
|
-
const { OpenAICompatClient } = await import("./openai-
|
|
1481
|
+
const { OpenAICompatClient } = await import("./openai-FB7BBZVN.js");
|
|
1473
1482
|
return registerLlmClient(new OpenAICompatClient(config, systemPrompt), {
|
|
1474
1483
|
model: config.model,
|
|
1475
1484
|
protocol: config.protocol
|
|
@@ -3208,7 +3217,7 @@ function formatFileSize(bytes) {
|
|
|
3208
3217
|
}
|
|
3209
3218
|
return `${(bytes / 1024 / 1024).toFixed(1)}MB`;
|
|
3210
3219
|
}
|
|
3211
|
-
var SelectedMemoriesSchema = z3.
|
|
3220
|
+
var SelectedMemoriesSchema = z3.looseObject({
|
|
3212
3221
|
selected_memories: z3.array(z3.string())
|
|
3213
3222
|
});
|
|
3214
3223
|
var SELECT_MEMORIES_SYSTEM_PROMPT = `# Task
|
|
@@ -6691,7 +6700,7 @@ import {
|
|
|
6691
6700
|
import { join as join14 } from "path";
|
|
6692
6701
|
import z6, { safeParse } from "zod";
|
|
6693
6702
|
var log20 = createChildLogger({ module: "teams" });
|
|
6694
|
-
var FileMailMessageSchema = z6.
|
|
6703
|
+
var FileMailMessageSchema = z6.looseObject({
|
|
6695
6704
|
from: z6.string(),
|
|
6696
6705
|
text: z6.string(),
|
|
6697
6706
|
timestamp: z6.string(),
|
|
@@ -6893,17 +6902,17 @@ __export(progress_exports, {
|
|
|
6893
6902
|
summarizeActivities: () => summarizeActivities
|
|
6894
6903
|
});
|
|
6895
6904
|
import { z as z7 } from "zod";
|
|
6896
|
-
var ToolActivitySchema = z7.
|
|
6905
|
+
var ToolActivitySchema = z7.looseObject({
|
|
6897
6906
|
toolName: z7.string(),
|
|
6898
6907
|
input: z7.record(z7.string(), z7.unknown()),
|
|
6899
6908
|
activityDescription: z7.string()
|
|
6900
6909
|
// e.g. "Reading src/foo.ts"
|
|
6901
6910
|
});
|
|
6902
|
-
var ActiveToolSchema = z7.
|
|
6911
|
+
var ActiveToolSchema = z7.looseObject({
|
|
6903
6912
|
toolId: z7.string(),
|
|
6904
6913
|
toolName: z7.string()
|
|
6905
6914
|
});
|
|
6906
|
-
var AgentProgressSchema = z7.
|
|
6915
|
+
var AgentProgressSchema = z7.looseObject({
|
|
6907
6916
|
toolUseCount: z7.number(),
|
|
6908
6917
|
turnCount: z7.number(),
|
|
6909
6918
|
tokenCount: z7.number(),
|
|
@@ -6912,7 +6921,7 @@ var AgentProgressSchema = z7.object({
|
|
|
6912
6921
|
recentActivities: z7.array(ToolActivitySchema)
|
|
6913
6922
|
// circular buffer, max 5
|
|
6914
6923
|
});
|
|
6915
|
-
var TeammateUIStateSchema = z7.
|
|
6924
|
+
var TeammateUIStateSchema = z7.looseObject({
|
|
6916
6925
|
name: z7.string(),
|
|
6917
6926
|
teamName: z7.string(),
|
|
6918
6927
|
status: z7.enum(["running", "idle", "completed", "failed", "stopped"]),
|
|
@@ -7012,7 +7021,7 @@ __export(shared_task_exports, {
|
|
|
7012
7021
|
import { readFileSync as readFileSync11, writeFileSync as writeFileSync7, mkdirSync as mkdirSync7, existsSync as existsSync12 } from "fs";
|
|
7013
7022
|
import { dirname as dirname6 } from "path";
|
|
7014
7023
|
import z8, { parse as parse5 } from "zod";
|
|
7015
|
-
var SerializedTaskSchema = z8.
|
|
7024
|
+
var SerializedTaskSchema = z8.looseObject({
|
|
7016
7025
|
id: z8.string(),
|
|
7017
7026
|
title: z8.string(),
|
|
7018
7027
|
description: z8.string().default(""),
|
|
@@ -7022,7 +7031,7 @@ var SerializedTaskSchema = z8.object({
|
|
|
7022
7031
|
blocked_by: z8.array(z8.string()).default([]),
|
|
7023
7032
|
created_by: z8.string().default("")
|
|
7024
7033
|
});
|
|
7025
|
-
var StoreDataSchema = z8.
|
|
7034
|
+
var StoreDataSchema = z8.looseObject({
|
|
7026
7035
|
next_id: z8.number().int().positive().default(1),
|
|
7027
7036
|
tasks: z8.array(SerializedTaskSchema).default([])
|
|
7028
7037
|
});
|
|
@@ -7168,7 +7177,7 @@ import {
|
|
|
7168
7177
|
import { homedir as homedir9 } from "os";
|
|
7169
7178
|
import { dirname as dirname7, join as join15 } from "path";
|
|
7170
7179
|
import z9 from "zod";
|
|
7171
|
-
var TeamMemberEntrySchema = z9.
|
|
7180
|
+
var TeamMemberEntrySchema = z9.looseObject({
|
|
7172
7181
|
agentId: z9.string(),
|
|
7173
7182
|
name: z9.string(),
|
|
7174
7183
|
agentType: z9.string().optional(),
|
|
@@ -7178,7 +7187,7 @@ var TeamMemberEntrySchema = z9.object({
|
|
|
7178
7187
|
backendType: z9.string().optional(),
|
|
7179
7188
|
isActive: z9.boolean().optional()
|
|
7180
7189
|
});
|
|
7181
|
-
var TeamFileSchema = z9.
|
|
7190
|
+
var TeamFileSchema = z9.looseObject({
|
|
7182
7191
|
name: z9.string(),
|
|
7183
7192
|
description: z9.string().optional(),
|
|
7184
7193
|
createdAt: z9.number(),
|
|
@@ -7235,17 +7244,17 @@ import { mkdirSync as mkdirSync9, readFileSync as readFileSync13, writeFileSync
|
|
|
7235
7244
|
import { join as join16 } from "path";
|
|
7236
7245
|
import z10, { parse as parse6 } from "zod";
|
|
7237
7246
|
var log21 = createChildLogger({ module: "teams" });
|
|
7238
|
-
var TranscriptToolUseSchema = z10.
|
|
7247
|
+
var TranscriptToolUseSchema = z10.looseObject({
|
|
7239
7248
|
tool_use_id: z10.string(),
|
|
7240
7249
|
tool_name: z10.string(),
|
|
7241
7250
|
arguments: z10.record(z10.string(), z10.unknown())
|
|
7242
7251
|
});
|
|
7243
|
-
var TranscriptToolResultSchema = z10.
|
|
7252
|
+
var TranscriptToolResultSchema = z10.looseObject({
|
|
7244
7253
|
tool_use_id: z10.string(),
|
|
7245
7254
|
content: z10.string(),
|
|
7246
7255
|
is_error: z10.boolean().optional()
|
|
7247
7256
|
});
|
|
7248
|
-
var TranscriptEntrySchema = z10.
|
|
7257
|
+
var TranscriptEntrySchema = z10.looseObject({
|
|
7249
7258
|
role: z10.string(),
|
|
7250
7259
|
content: z10.string().optional(),
|
|
7251
7260
|
tool_uses: z10.array(TranscriptToolUseSchema).optional(),
|
|
@@ -8191,7 +8200,7 @@ var TaskUpdateTool = class {
|
|
|
8191
8200
|
return { output: `Updated task #${taskId} status`, isError: false };
|
|
8192
8201
|
}
|
|
8193
8202
|
};
|
|
8194
|
-
var TaskUpdateArgsSchema = z12.
|
|
8203
|
+
var TaskUpdateArgsSchema = z12.looseObject({
|
|
8195
8204
|
taskId: z12.string(),
|
|
8196
8205
|
subject: z12.string().optional(),
|
|
8197
8206
|
description: z12.string().optional(),
|
|
@@ -8311,7 +8320,7 @@ __export(ask_user_exports, {
|
|
|
8311
8320
|
AskUserQuestionTool: () => AskUserQuestionTool
|
|
8312
8321
|
});
|
|
8313
8322
|
import { safeParseAsync as safeParseAsync2, z as z13 } from "zod";
|
|
8314
|
-
var QuestionOptionSchema = z13.
|
|
8323
|
+
var QuestionOptionSchema = z13.looseObject({
|
|
8315
8324
|
label: z13.string(),
|
|
8316
8325
|
description: z13.string().optional()
|
|
8317
8326
|
});
|
|
@@ -8402,7 +8411,7 @@ var AskUserQuestionTool = class {
|
|
|
8402
8411
|
data: argsData,
|
|
8403
8412
|
error
|
|
8404
8413
|
} = await safeParseAsync2(
|
|
8405
|
-
z13.
|
|
8414
|
+
z13.looseObject({ questions: z13.array(QuestionSchema) }),
|
|
8406
8415
|
args
|
|
8407
8416
|
);
|
|
8408
8417
|
if (!success) {
|
|
@@ -9758,7 +9767,7 @@ var CoordinateSchema = z14.tuple([
|
|
|
9758
9767
|
z14.number().int().nonnegative(),
|
|
9759
9768
|
z14.number().int().nonnegative()
|
|
9760
9769
|
]);
|
|
9761
|
-
var PathPointSchema = z14.
|
|
9770
|
+
var PathPointSchema = z14.looseObject({
|
|
9762
9771
|
x: z14.number().int().nonnegative(),
|
|
9763
9772
|
y: z14.number().int().nonnegative()
|
|
9764
9773
|
});
|
|
@@ -9774,7 +9783,7 @@ var OPENAI_ACTION_TYPES = [
|
|
|
9774
9783
|
"wait"
|
|
9775
9784
|
];
|
|
9776
9785
|
var MAX_BATCH_ACTIONS = 100;
|
|
9777
|
-
var OpenAIActionSchema = z14.
|
|
9786
|
+
var OpenAIActionSchema = z14.looseObject({
|
|
9778
9787
|
type: z14.enum(OPENAI_ACTION_TYPES),
|
|
9779
9788
|
button: z14.enum(["left", "right", "wheel", "back", "forward"]).optional(),
|
|
9780
9789
|
x: z14.number().int().nonnegative().optional(),
|
|
@@ -9785,12 +9794,12 @@ var OpenAIActionSchema = z14.object({
|
|
|
9785
9794
|
scrollY: z14.number().optional(),
|
|
9786
9795
|
text: z14.string().max(1e4).optional()
|
|
9787
9796
|
});
|
|
9788
|
-
var SafetyCheckSchema = z14.
|
|
9797
|
+
var SafetyCheckSchema = z14.looseObject({
|
|
9789
9798
|
id: z14.string().min(1),
|
|
9790
9799
|
code: z14.string().optional(),
|
|
9791
9800
|
message: z14.string().optional()
|
|
9792
9801
|
});
|
|
9793
|
-
var ComputerUseInputSchema = z14.
|
|
9802
|
+
var ComputerUseInputSchema = z14.looseObject({
|
|
9794
9803
|
action: z14.enum(ACTIONS).optional(),
|
|
9795
9804
|
actions: z14.array(OpenAIActionSchema).min(1).max(MAX_BATCH_ACTIONS).optional(),
|
|
9796
9805
|
pendingSafetyChecks: z14.array(SafetyCheckSchema).optional(),
|
|
@@ -11548,18 +11557,18 @@ var ToolSearchTool = class {
|
|
|
11548
11557
|
|
|
11549
11558
|
// src/remote/server.ts
|
|
11550
11559
|
var log26 = createChildLogger({ module: "remote" });
|
|
11551
|
-
var WsInboundSchema = z15.
|
|
11560
|
+
var WsInboundSchema = z15.looseObject({
|
|
11552
11561
|
type: z15.string(),
|
|
11553
11562
|
data: z15.unknown()
|
|
11554
11563
|
});
|
|
11555
|
-
var UserMessageSchema = z15.
|
|
11564
|
+
var UserMessageSchema = z15.looseObject({
|
|
11556
11565
|
content: z15.string()
|
|
11557
11566
|
});
|
|
11558
|
-
var PermissionResponseSchema = z15.
|
|
11567
|
+
var PermissionResponseSchema = z15.looseObject({
|
|
11559
11568
|
id: z15.string(),
|
|
11560
11569
|
response: z15.enum(["allow", "deny", "allowAlways"])
|
|
11561
11570
|
});
|
|
11562
|
-
var AskUserResponseSchema = z15.
|
|
11571
|
+
var AskUserResponseSchema = z15.looseObject({
|
|
11563
11572
|
id: z15.string(),
|
|
11564
11573
|
answers: z15.record(z15.string(), z15.string())
|
|
11565
11574
|
});
|
|
@@ -11756,8 +11765,8 @@ async function createRemoteAgent(opts) {
|
|
|
11756
11765
|
if (!client) {
|
|
11757
11766
|
throw new Error("no llm client (provider not initialized)");
|
|
11758
11767
|
}
|
|
11759
|
-
const { PermissionChecker: PC } = await import("./permissions-
|
|
11760
|
-
const { Agent: AgentClass } = await import("./agent-
|
|
11768
|
+
const { PermissionChecker: PC } = await import("./permissions-BZRN4RES.js");
|
|
11769
|
+
const { Agent: AgentClass } = await import("./agent-KDWPLLAV.js");
|
|
11761
11770
|
const subConv = new ConversationManager();
|
|
11762
11771
|
subConv.addUserMessage(prompt);
|
|
11763
11772
|
const taskManager = new TaskManager();
|
|
@@ -14465,7 +14474,7 @@ var CodeReviewMemberSchema = z16.object({
|
|
|
14465
14474
|
expertise: z16.array(z16.string()),
|
|
14466
14475
|
active: z16.boolean()
|
|
14467
14476
|
});
|
|
14468
|
-
var CodeReviewTeamSchema = z16.
|
|
14477
|
+
var CodeReviewTeamSchema = z16.looseObject({
|
|
14469
14478
|
name: z16.string(),
|
|
14470
14479
|
members: z16.array(CodeReviewMemberSchema),
|
|
14471
14480
|
createdAt: z16.string(),
|
|
@@ -14649,7 +14658,7 @@ import { readFileSync as readFileSync18, writeFileSync as writeFileSync12, mkdir
|
|
|
14649
14658
|
import { join as join23, dirname as dirname9 } from "path";
|
|
14650
14659
|
import { safeParse as safeParse3, z as z17 } from "zod";
|
|
14651
14660
|
var log31 = createChildLogger({ module: "commands" });
|
|
14652
|
-
var UsageEntrySchema = z17.
|
|
14661
|
+
var UsageEntrySchema = z17.looseObject({
|
|
14653
14662
|
usageCount: z17.coerce.number(),
|
|
14654
14663
|
lastUsedAt: z17.coerce.number()
|
|
14655
14664
|
});
|
|
@@ -14794,12 +14803,12 @@ import { z as z19 } from "zod";
|
|
|
14794
14803
|
var DISCOVERY_TIMEOUT_MS = 5e3;
|
|
14795
14804
|
var MAX_MODEL_PAGES = 10;
|
|
14796
14805
|
var HttpUrlSchema = z19.url();
|
|
14797
|
-
var ModelSchema = z19.
|
|
14806
|
+
var ModelSchema = z19.looseObject({
|
|
14798
14807
|
id: z19.string().trim().min(1),
|
|
14799
14808
|
display_name: z19.string().optional(),
|
|
14800
14809
|
name: z19.string().optional()
|
|
14801
14810
|
});
|
|
14802
|
-
var ModelListSchema = z19.
|
|
14811
|
+
var ModelListSchema = z19.looseObject({
|
|
14803
14812
|
data: z19.array(ModelSchema),
|
|
14804
14813
|
has_more: z19.boolean().optional(),
|
|
14805
14814
|
last_id: z19.string().trim().min(1).nullable().optional()
|
|
@@ -15213,7 +15222,7 @@ import { homedir as homedir10 } from "os";
|
|
|
15213
15222
|
import { join as join26, resolve as resolve11, sep as sep2 } from "path";
|
|
15214
15223
|
import { z as z20 } from "zod";
|
|
15215
15224
|
var log34 = createChildLogger({ module: "vscode" });
|
|
15216
|
-
var LockfileSchema = z20.
|
|
15225
|
+
var LockfileSchema = z20.looseObject({
|
|
15217
15226
|
workspaceFolders: z20.array(z20.string()).optional(),
|
|
15218
15227
|
pid: z20.number().optional(),
|
|
15219
15228
|
ideName: z20.string().optional(),
|
|
@@ -15379,9 +15388,9 @@ var WebSocketTransport = class {
|
|
|
15379
15388
|
|
|
15380
15389
|
// src/vscode/ide-client.ts
|
|
15381
15390
|
var log35 = createChildLogger({ module: "vscode" });
|
|
15382
|
-
var AtMentionedSchema = z21.
|
|
15391
|
+
var AtMentionedSchema = z21.looseObject({
|
|
15383
15392
|
method: z21.literal("at_mentioned"),
|
|
15384
|
-
params: z21.
|
|
15393
|
+
params: z21.looseObject({
|
|
15385
15394
|
filePath: z21.string(),
|
|
15386
15395
|
lineStart: z21.number().optional(),
|
|
15387
15396
|
lineEnd: z21.number().optional()
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
OpenAICompatClient,
|
|
4
4
|
buildChatCompletionMessages,
|
|
5
5
|
buildOpenAIInput
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2DEH6DOX.js";
|
|
7
|
+
import "./chunk-SS7OJYHN.js";
|
|
8
8
|
import "./chunk-7SU77J32.js";
|
|
9
9
|
import "./chunk-MLKGABMK.js";
|
|
10
10
|
export {
|