replicas-engine 0.1.1730 → 0.1.1732
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/src/{asp-host-K3ISVMG6.js → asp-host-JR4YE7KY.js} +6 -6
- package/dist/src/{chunk-BUJZF6CI.js → chunk-32R2DKC6.js} +2 -2
- package/dist/src/{chunk-2HQP6MMR.js → chunk-CC7Z6VSS.js} +1 -1
- package/dist/src/{chunk-KBE3MXTD.js → chunk-H4RTGHD4.js} +8 -8
- package/dist/src/{chunk-OW37FXFJ.js → chunk-O23RKS4X.js} +1 -1
- package/dist/src/{chunk-O2BDFDEA.js → chunk-PUMH4TJK.js} +1 -1
- package/dist/src/{chunk-VHY4DMEA.js → chunk-QUEALEEB.js} +2 -2
- package/dist/src/{chunk-LIX74B2Y.js → chunk-RT3MWDFG.js} +2 -2
- package/dist/src/{chunk-J6MIIMDU.js → chunk-TAIQDQNL.js} +180 -109
- package/dist/src/{chunk-ITJRSUSN.js → chunk-TFWTKR5Q.js} +1 -1
- package/dist/src/{chunk-PIZ63O3B.js → chunk-TQFW3EVP.js} +3 -3
- package/dist/src/codemode-mcp.js +3 -3
- package/dist/src/command-protection-hook.js +4 -4
- package/dist/src/headless-agent.js +4 -4
- package/dist/src/index.js +10 -10
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/subagent-mcp.js +1 -1
- package/package.json +1 -1
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
listCodexModelsForDetails,
|
|
9
9
|
restartCodexAspHost,
|
|
10
10
|
restartCodexAspHostIfRunning
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-H4RTGHD4.js";
|
|
12
|
+
import "./chunk-CC7Z6VSS.js";
|
|
13
|
+
import "./chunk-32R2DKC6.js";
|
|
14
|
+
import "./chunk-TQFW3EVP.js";
|
|
15
|
+
import "./chunk-PUMH4TJK.js";
|
|
16
16
|
import "./chunk-UZSNFLDQ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TAIQDQNL.js";
|
|
18
18
|
import "./chunk-VEQXQN22.js";
|
|
19
19
|
export {
|
|
20
20
|
CODEX_ULTRAFAST_SERVICE_TIER,
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
SUBPROCESS_MAX_BUFFER,
|
|
6
6
|
execFileAsync
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PUMH4TJK.js";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
10
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
provisionedDeviceSchema,
|
|
22
22
|
readReplicasRuntimeEnv,
|
|
23
23
|
serializePosixEnvFile
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TAIQDQNL.js";
|
|
25
25
|
|
|
26
26
|
// src/runtime-env-loader.ts
|
|
27
27
|
import { readFileSync } from "fs";
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
SUBAGENT_MCP_TOOL_NAMES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TAIQDQNL.js";
|
|
7
7
|
|
|
8
8
|
// src/managers/subagent-mcp-config.ts
|
|
9
9
|
import { existsSync } from "fs";
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
subagentCodexMcpConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CC7Z6VSS.js";
|
|
7
7
|
import {
|
|
8
8
|
ENGINE_ENV,
|
|
9
9
|
UNQUOTED_PATHS_CONFIG,
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
resolveDiffBase,
|
|
16
16
|
runGitCommand,
|
|
17
17
|
setAgentCredentialSnapshot
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-32R2DKC6.js";
|
|
19
19
|
import {
|
|
20
20
|
AppServerProcess,
|
|
21
21
|
buildCodexAgentEnv
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TQFW3EVP.js";
|
|
23
23
|
import {
|
|
24
24
|
SUBPROCESS_MAX_BUFFER,
|
|
25
25
|
execFileAsync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PUMH4TJK.js";
|
|
27
27
|
import {
|
|
28
28
|
isRecord
|
|
29
29
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
shrunkImageSize,
|
|
69
69
|
splitManagerInstructions,
|
|
70
70
|
withTimeout
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-TAIQDQNL.js";
|
|
72
72
|
|
|
73
73
|
// src/managers/codex-token-manager.ts
|
|
74
74
|
import { promises as fs } from "fs";
|
|
@@ -340,7 +340,7 @@ async function withdrawAgentLogin(provider, { envKeys, files }) {
|
|
|
340
340
|
{ ...persisted.values, REPLICAS_AGENT_CREDENTIALS: JSON.stringify(remaining) },
|
|
341
341
|
/* @__PURE__ */ new Set([...persisted.unsetKeys, ...envKeys])
|
|
342
342
|
));
|
|
343
|
-
if (provider === "codex") await (await import("./asp-host-
|
|
343
|
+
if (provider === "codex") await (await import("./asp-host-JR4YE7KY.js")).restartCodexAspHostIfRunning();
|
|
344
344
|
return true;
|
|
345
345
|
}
|
|
346
346
|
|
|
@@ -498,7 +498,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
498
498
|
await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
|
|
499
499
|
await this.applyCredentialsResponse(data);
|
|
500
500
|
setAgentCredentialSnapshot("codex", data);
|
|
501
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
501
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-JR4YE7KY.js");
|
|
502
502
|
await restartCodexAspHostIfRunning2();
|
|
503
503
|
});
|
|
504
504
|
await this.start(true);
|
|
@@ -524,7 +524,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
524
524
|
const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
|
|
525
525
|
await this.applyCredentialsResponse(data);
|
|
526
526
|
if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
|
|
527
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
527
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-JR4YE7KY.js");
|
|
528
528
|
await restartCodexAspHostIfRunning2();
|
|
529
529
|
}
|
|
530
530
|
setAgentCredentialSnapshot("codex", data);
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
HOOK_EXEC_MAX_BUFFER_BYTES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TAIQDQNL.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/exec.ts
|
|
9
9
|
import { exec, execFile } from "child_process";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-XCFPXSY4.js";
|
|
7
7
|
import {
|
|
8
8
|
AspClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TQFW3EVP.js";
|
|
10
10
|
import {
|
|
11
11
|
ASTER_BASE_URL,
|
|
12
12
|
ASTER_PROVIDER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isRecord,
|
|
19
19
|
readOllamaAuthEnv,
|
|
20
20
|
readOpenAICompatibleAuthEnv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TAIQDQNL.js";
|
|
22
22
|
|
|
23
23
|
// src/managers/codex-asp/notification-dispatch.ts
|
|
24
24
|
var TURN_STARTED_METHOD = "turn/started";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ENGINE_ENV,
|
|
6
6
|
monolithRequest,
|
|
7
7
|
runGitCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-32R2DKC6.js";
|
|
9
9
|
import {
|
|
10
10
|
COMMAND_PROTECTION_MAX_MESSAGE_FILE_BYTES,
|
|
11
11
|
COMMAND_PROTECTION_REPO_GIT_ARGS,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
parseCommandProtectionRequest,
|
|
19
19
|
toCommandProtectionRepoState,
|
|
20
20
|
withRetry
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TAIQDQNL.js";
|
|
22
22
|
|
|
23
23
|
// src/services/command-protection-service.ts
|
|
24
24
|
import { readFile, stat } from "fs/promises";
|
|
@@ -1116,17 +1116,17 @@ var require_luxon = __commonJS({
|
|
|
1116
1116
|
constructor(dt, intl, opts) {
|
|
1117
1117
|
this.opts = opts;
|
|
1118
1118
|
this.originalZone = void 0;
|
|
1119
|
-
let
|
|
1119
|
+
let z49 = void 0;
|
|
1120
1120
|
if (this.opts.timeZone) {
|
|
1121
1121
|
this.dt = dt;
|
|
1122
1122
|
} else if (dt.zone.type === "fixed") {
|
|
1123
1123
|
const gmtOffset = -1 * (dt.offset / 60);
|
|
1124
1124
|
const offsetZ = gmtOffset >= 0 ? `Etc/GMT+${gmtOffset}` : `Etc/GMT${gmtOffset}`;
|
|
1125
1125
|
if (dt.offset !== 0 && IANAZone.create(offsetZ).valid) {
|
|
1126
|
-
|
|
1126
|
+
z49 = offsetZ;
|
|
1127
1127
|
this.dt = dt;
|
|
1128
1128
|
} else {
|
|
1129
|
-
|
|
1129
|
+
z49 = "UTC";
|
|
1130
1130
|
this.dt = dt.offset === 0 ? dt : dt.setZone("UTC").plus({
|
|
1131
1131
|
minutes: dt.offset
|
|
1132
1132
|
});
|
|
@@ -1136,9 +1136,9 @@ var require_luxon = __commonJS({
|
|
|
1136
1136
|
this.dt = dt;
|
|
1137
1137
|
} else if (dt.zone.type === "iana") {
|
|
1138
1138
|
this.dt = dt;
|
|
1139
|
-
|
|
1139
|
+
z49 = dt.zone.name;
|
|
1140
1140
|
} else {
|
|
1141
|
-
|
|
1141
|
+
z49 = "UTC";
|
|
1142
1142
|
this.dt = dt.setZone("UTC").plus({
|
|
1143
1143
|
minutes: dt.offset
|
|
1144
1144
|
});
|
|
@@ -1147,7 +1147,7 @@ var require_luxon = __commonJS({
|
|
|
1147
1147
|
const intlOpts = {
|
|
1148
1148
|
...this.opts
|
|
1149
1149
|
};
|
|
1150
|
-
intlOpts.timeZone = intlOpts.timeZone ||
|
|
1150
|
+
intlOpts.timeZone = intlOpts.timeZone || z49;
|
|
1151
1151
|
this.dtf = getCachedDTF(intl, intlOpts);
|
|
1152
1152
|
}
|
|
1153
1153
|
format() {
|
|
@@ -9519,6 +9519,7 @@ var plain = {
|
|
|
9519
9519
|
teal: "#14b8a6",
|
|
9520
9520
|
lime: "#84cc16"
|
|
9521
9521
|
};
|
|
9522
|
+
var THEME_PREFERENCES = ["system", "light", "dark"];
|
|
9522
9523
|
var PALETTE_PRESETS = {
|
|
9523
9524
|
dark: ["default", "slate", "stone", "black", "high-contrast"],
|
|
9524
9525
|
light: ["default", "slate", "stone", "neutral", "high-contrast"]
|
|
@@ -9620,6 +9621,14 @@ var mix = (from, to, amount) => {
|
|
|
9620
9621
|
const target = channels(to);
|
|
9621
9622
|
return `#${channels(from).map((channel, index) => Math.round(channel + (target[index] - channel) * amount).toString(16).padStart(2, "0")).join("")}`;
|
|
9622
9623
|
};
|
|
9624
|
+
var linearChannels = (hex) => channels(hex).map((channel) => channel / 255).map((channel) => channel <= 0.04045 ? channel / 12.92 : ((channel + 0.055) / 1.055) ** 2.4);
|
|
9625
|
+
var luminance = (hex) => {
|
|
9626
|
+
const [r, g, b] = linearChannels(hex);
|
|
9627
|
+
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
|
|
9628
|
+
};
|
|
9629
|
+
var isHex = (value) => typeof value === "string" && /^#[0-9a-f]{6}$/i.test(value);
|
|
9630
|
+
var isCustomTheme = (value) => isRecord(value) && [value.background, value.foreground, value.accent].every(isHex);
|
|
9631
|
+
var customMode = ({ background, foreground }) => luminance(background) < luminance(foreground) ? "dark" : "light";
|
|
9623
9632
|
var DEFAULT_THEME = {
|
|
9624
9633
|
palette: "default",
|
|
9625
9634
|
accent: "green",
|
|
@@ -15266,9 +15275,10 @@ replicas theme set --theme dark --color-theme slate
|
|
|
15266
15275
|
replicas theme set --accent purple
|
|
15267
15276
|
replicas theme set --accent ff5500
|
|
15268
15277
|
replicas theme set --code 0d1117,e6ecf4,ff5500
|
|
15278
|
+
replicas theme publish --name "Ocean" --code 0b1622,e6f0f8,f2b94b --wallpaper ./ocean.webp --effect dither
|
|
15269
15279
|
\`\`\`
|
|
15270
15280
|
|
|
15271
|
-
A color theme always goes with \`--theme light\` or \`--theme dark\`. An accent is a preset name or any hex color. A theme code is three hex colors: background, text, accent. Write hex colors without the \`#\`, which the shell reads as a comment. \`replicas theme set --help\`
|
|
15281
|
+
A color theme always goes with \`--theme light\` or \`--theme dark\`. An accent is a preset name or any hex color. A theme code is three hex colors: background, text, accent. Write hex colors without the \`#\`, which the shell reads as a comment. \`replicas theme set --help\` and \`replicas theme publish --help\` list the options. For a look the presets don't cover, choose the three colors yourself and pass them as \`--code\`; the text has to read clearly on the background, or it is refused. \`replicas theme publish\` publishes to the Replicas gallery under the workspace writer's account (with optional \`--description\`, \`--wallpaper\`, \`--effect\`, and font flags).
|
|
15272
15282
|
|
|
15273
15283
|
It changes the theme of the one person who has written in this workspace, and prints their email. You cannot pick someone else. When several people have written here, or nobody has yet (a workspace started by an automation, another agent, the API or the CLI, until its person sends a message in it), it refuses: tell them they can change their own under **Themes** in the account menu. A workspace created before this command existed answers \`unknown command\`: say the same.
|
|
15274
15284
|
|
|
@@ -15681,6 +15691,10 @@ var ALERT_SOUND_FAMILIES = {
|
|
|
15681
15691
|
wood: ["ready", "pluck", "knock", "bloom", "steps"]
|
|
15682
15692
|
};
|
|
15683
15693
|
var ALERT_SOUNDS = [...ALERT_SOUND_FAMILIES.glass, ...ALERT_SOUND_FAMILIES.wood];
|
|
15694
|
+
var CHAT_TEXT_SIZES = ["small", "default", "large", "larger"];
|
|
15695
|
+
var APP_FONTS = ["inter", "system", "atkinson", "geist", "ibm-plex-sans", "source-sans", "lexend"];
|
|
15696
|
+
var CODE_FONTS = ["geist-mono", "system", "atkinson-mono", "jetbrains-mono", "fira-code", "source-code-pro", "ibm-plex-mono"];
|
|
15697
|
+
var WALLPAPER_EFFECTS = ["soft", "duotone", "dither", "none"];
|
|
15684
15698
|
var WALLPAPER_VIDEO_MAX_BYTES = 16 * 1024 * 1024;
|
|
15685
15699
|
var PUSH_WHEN_ACTIVE_COPY = {
|
|
15686
15700
|
wait: `Wait ${PUSH_HOLD_MINUTES} minutes`,
|
|
@@ -20245,7 +20259,7 @@ function toolCallMessage(id, name, args, timestamp2, result) {
|
|
|
20245
20259
|
return null;
|
|
20246
20260
|
}
|
|
20247
20261
|
})() : null;
|
|
20248
|
-
return { id, type: "subagent", toolUseId: id, description: typeof args.title === "string" ? args.title : "Replicas subagent", prompt: typeof args.prompt === "string" ? args.prompt : "", subagentType: "replicas", model: typeof args.model === "string" ? args.model : void 0, receiverThreadIds: isRecord(spawned) && typeof spawned.agentId === "string" ? [spawned.agentId] : void 0, status: result?.isError ? "failed" : "in_progress", nestedEvents: [], timestamp: timestamp2 };
|
|
20262
|
+
return { id, type: "subagent", toolUseId: id, description: typeof args.title === "string" ? args.title : "Replicas subagent", prompt: typeof args.prompt === "string" ? args.prompt : "", subagentType: "replicas", model: isRecord(spawned) && typeof spawned.model === "string" ? spawned.model : typeof args.model === "string" ? args.model : void 0, receiverThreadIds: isRecord(spawned) && typeof spawned.agentId === "string" ? [spawned.agentId] : void 0, status: result?.isError ? "failed" : "in_progress", nestedEvents: [], timestamp: timestamp2 };
|
|
20249
20263
|
}
|
|
20250
20264
|
return createCallDisplayMessage({ id, server: "replicas", tool: name, input: args, output: result?.output, status, timestamp: timestamp2 });
|
|
20251
20265
|
}
|
|
@@ -21980,7 +21994,7 @@ async function withRetry(label, fn, options) {
|
|
|
21980
21994
|
}
|
|
21981
21995
|
|
|
21982
21996
|
// ../shared/src/tensorlake.ts
|
|
21983
|
-
var TENSORLAKE_IMAGE_NAME = "replicas-sandbox-2026-11-22-
|
|
21997
|
+
var TENSORLAKE_IMAGE_NAME = "replicas-sandbox-2026-11-22-v8496";
|
|
21984
21998
|
var TENSORLAKE_DISK_MB = 100 * 1024;
|
|
21985
21999
|
|
|
21986
22000
|
// ../shared/src/egress.ts
|
|
@@ -23424,8 +23438,65 @@ var webAuthRedeemResponseSchema = z41.object({
|
|
|
23424
23438
|
});
|
|
23425
23439
|
|
|
23426
23440
|
// ../shared/src/routes/themes.ts
|
|
23441
|
+
import { z as z43 } from "zod";
|
|
23442
|
+
|
|
23443
|
+
// ../shared/src/routes/marketplace.ts
|
|
23427
23444
|
import { z as z42 } from "zod";
|
|
23428
|
-
var
|
|
23445
|
+
var MARKETPLACE_NAME_MAX_LENGTH = 40;
|
|
23446
|
+
var MARKETPLACE_DESCRIPTION_MAX_LENGTH = 200;
|
|
23447
|
+
var MARKETPLACE_REPORT_MAX_LENGTH = 500;
|
|
23448
|
+
var themeColorsSchema = z42.object({
|
|
23449
|
+
palette: z42.custom((value) => PALETTES.some((palette) => palette === value)),
|
|
23450
|
+
accent: z42.custom((value) => ACCENTS.some((accent) => accent === value)),
|
|
23451
|
+
custom: z42.custom(isCustomTheme)
|
|
23452
|
+
});
|
|
23453
|
+
var wallpaperSchema = z42.object({ key: z42.string(), effect: z42.enum(WALLPAPER_EFFECTS) });
|
|
23454
|
+
function themeModes({ palette, custom }) {
|
|
23455
|
+
return palette === "custom" ? [customMode(custom)] : ["light", "dark"].filter((mode) => PALETTE_PRESETS[mode].some((name) => name === palette));
|
|
23456
|
+
}
|
|
23457
|
+
function themeMode(colors, mode) {
|
|
23458
|
+
const modes = themeModes(colors);
|
|
23459
|
+
if (modes.length === 1) return modes[0];
|
|
23460
|
+
return mode ?? "system";
|
|
23461
|
+
}
|
|
23462
|
+
var themeSettingsShape = {
|
|
23463
|
+
colors: themeColorsSchema,
|
|
23464
|
+
mode: z42.enum(THEME_PREFERENCES),
|
|
23465
|
+
chat_text_size: z42.enum(CHAT_TEXT_SIZES),
|
|
23466
|
+
app_font: z42.enum(APP_FONTS),
|
|
23467
|
+
code_font: z42.enum(CODE_FONTS)
|
|
23468
|
+
};
|
|
23469
|
+
var themeContentSchema = z42.object({
|
|
23470
|
+
...themeSettingsShape,
|
|
23471
|
+
mode: themeSettingsShape.mode.optional(),
|
|
23472
|
+
chat_text_size: themeSettingsShape.chat_text_size.default(DEFAULT_USER_PREFERENCES.chat_text_size),
|
|
23473
|
+
app_font: themeSettingsShape.app_font.default(DEFAULT_USER_PREFERENCES.app_font),
|
|
23474
|
+
code_font: themeSettingsShape.code_font.default(DEFAULT_USER_PREFERENCES.code_font),
|
|
23475
|
+
wallpaper: wallpaperSchema.nullable()
|
|
23476
|
+
}).transform((content) => ({ ...content, mode: themeMode(content.colors, content.mode) }));
|
|
23477
|
+
var publishBase = {
|
|
23478
|
+
name: z42.string().trim().min(1).max(MARKETPLACE_NAME_MAX_LENGTH),
|
|
23479
|
+
description: z42.string().trim().max(MARKETPLACE_DESCRIPTION_MAX_LENGTH).nullable()
|
|
23480
|
+
};
|
|
23481
|
+
var themeFields = { ...publishBase, ...themeSettingsShape, wallpaper: z42.object({ key: z42.string().nullable(), effect: z42.enum(WALLPAPER_EFFECTS) }).nullable() };
|
|
23482
|
+
var updateMarketplaceThemeSchema = z42.object(themeFields);
|
|
23483
|
+
var publishMarketplaceItemSchema = z42.discriminatedUnion("kind", [
|
|
23484
|
+
z42.object({ kind: z42.literal("theme"), ...themeFields }),
|
|
23485
|
+
z42.object({ kind: z42.literal("avatar"), ...publishBase, workspace_id: z42.string().uuid() })
|
|
23486
|
+
]);
|
|
23487
|
+
var reportMarketplaceItemSchema = z42.object({ reason: z42.string().trim().min(1).max(MARKETPLACE_REPORT_MAX_LENGTH) });
|
|
23488
|
+
var adminUpdateMarketplaceItemSchema = z42.object({ hidden: z42.boolean() });
|
|
23489
|
+
|
|
23490
|
+
// ../shared/src/routes/themes.ts
|
|
23491
|
+
var updateThemeRequestSchema = z43.object({ theme: z43.string(), palette: z43.string(), accent: z43.string(), code: z43.string() }).partial();
|
|
23492
|
+
var publishThemeRequestSchema = updateThemeRequestSchema.extend({
|
|
23493
|
+
name: z43.string().trim().min(1).max(MARKETPLACE_NAME_MAX_LENGTH),
|
|
23494
|
+
description: z43.string().trim().max(MARKETPLACE_DESCRIPTION_MAX_LENGTH).nullable().optional(),
|
|
23495
|
+
effect: z43.enum(WALLPAPER_EFFECTS).optional(),
|
|
23496
|
+
app_font: z43.enum(APP_FONTS).optional(),
|
|
23497
|
+
code_font: z43.enum(CODE_FONTS).optional(),
|
|
23498
|
+
chat_text_size: z43.enum(CHAT_TEXT_SIZES).optional()
|
|
23499
|
+
});
|
|
23429
23500
|
|
|
23430
23501
|
// ../shared/src/routes/client-state.ts
|
|
23431
23502
|
var MAX_CLIENT_STATE_REQUEST_BYTES = 5 * 1024 * 1024;
|
|
@@ -23451,107 +23522,107 @@ var promptHistoryClientStateKey = orgUserClientStateKey(PROMPT_HISTORY_CLIENT_ST
|
|
|
23451
23522
|
var workspaceSearchOpensClientStateKey = orgUserClientStateKey(WORKSPACE_SEARCH_OPENS_CLIENT_STATE_KEY_PREFIX);
|
|
23452
23523
|
|
|
23453
23524
|
// ../shared/src/routes/workspace-events.ts
|
|
23454
|
-
import { z as
|
|
23525
|
+
import { z as z45 } from "zod";
|
|
23455
23526
|
|
|
23456
23527
|
// ../shared/src/routes/presence.ts
|
|
23457
|
-
import { z as
|
|
23458
|
-
var presenceStatusSchema =
|
|
23459
|
-
var presenceLocationSchema =
|
|
23460
|
-
workspaceId:
|
|
23528
|
+
import { z as z44 } from "zod";
|
|
23529
|
+
var presenceStatusSchema = z44.enum(["online", "typing"]);
|
|
23530
|
+
var presenceLocationSchema = z44.object({
|
|
23531
|
+
workspaceId: z44.string().optional()
|
|
23461
23532
|
});
|
|
23462
|
-
var presenceEntrySchema =
|
|
23463
|
-
userId:
|
|
23533
|
+
var presenceEntrySchema = z44.object({
|
|
23534
|
+
userId: z44.string(),
|
|
23464
23535
|
status: presenceStatusSchema,
|
|
23465
23536
|
location: presenceLocationSchema,
|
|
23466
|
-
ts:
|
|
23537
|
+
ts: z44.string()
|
|
23467
23538
|
});
|
|
23468
|
-
var updatePresenceRequestSchema =
|
|
23539
|
+
var updatePresenceRequestSchema = z44.object({
|
|
23469
23540
|
status: presenceStatusSchema,
|
|
23470
23541
|
location: presenceLocationSchema.optional()
|
|
23471
23542
|
});
|
|
23472
23543
|
|
|
23473
23544
|
// ../shared/src/routes/workspace-events.ts
|
|
23474
|
-
var workspaceTurnCompletionSchema =
|
|
23475
|
-
workspaceName:
|
|
23476
|
-
completedAt:
|
|
23477
|
-
processing:
|
|
23478
|
-
pullRequestFeedback:
|
|
23479
|
-
attention:
|
|
23545
|
+
var workspaceTurnCompletionSchema = z45.object({
|
|
23546
|
+
workspaceName: z45.string(),
|
|
23547
|
+
completedAt: z45.string(),
|
|
23548
|
+
processing: z45.boolean().optional(),
|
|
23549
|
+
pullRequestFeedback: z45.boolean().optional(),
|
|
23550
|
+
attention: z45.object({ reason: z45.enum(CHAT_ATTENTION_REASONS), userId: z45.string() }).optional()
|
|
23480
23551
|
});
|
|
23481
|
-
var inputRequestRaisedSchema =
|
|
23482
|
-
var workspaceEventSchemaByType =
|
|
23483
|
-
|
|
23484
|
-
type:
|
|
23485
|
-
workspaceId:
|
|
23486
|
-
accessChangedFor:
|
|
23487
|
-
accessChangedForOrg:
|
|
23488
|
-
workspace:
|
|
23489
|
-
name:
|
|
23552
|
+
var inputRequestRaisedSchema = z45.object({ reason: z45.enum(INPUT_REQUEST_REASONS), userId: z45.string(), chatId: z45.string(), since: z45.string() });
|
|
23553
|
+
var workspaceEventSchemaByType = z45.discriminatedUnion("type", [
|
|
23554
|
+
z45.object({
|
|
23555
|
+
type: z45.literal("workspace.changed"),
|
|
23556
|
+
workspaceId: z45.string(),
|
|
23557
|
+
accessChangedFor: z45.string().optional(),
|
|
23558
|
+
accessChangedForOrg: z45.literal(true).optional(),
|
|
23559
|
+
workspace: z45.object({ status: z45.enum(WORKSPACE_STATUSES), last_activity_at: z45.string().nullable() }).optional(),
|
|
23560
|
+
name: z45.string().optional(),
|
|
23490
23561
|
completion: workspaceTurnCompletionSchema.optional(),
|
|
23491
|
-
ts:
|
|
23562
|
+
ts: z45.string()
|
|
23492
23563
|
}),
|
|
23493
|
-
|
|
23494
|
-
type:
|
|
23495
|
-
workspaceId:
|
|
23496
|
-
chatId:
|
|
23497
|
-
ts:
|
|
23564
|
+
z45.object({
|
|
23565
|
+
type: z45.literal("workspace.chat.changed"),
|
|
23566
|
+
workspaceId: z45.string(),
|
|
23567
|
+
chatId: z45.string(),
|
|
23568
|
+
ts: z45.string()
|
|
23498
23569
|
}),
|
|
23499
|
-
|
|
23500
|
-
type:
|
|
23501
|
-
workspaceId:
|
|
23502
|
-
chatId:
|
|
23503
|
-
afterCursor:
|
|
23504
|
-
processing:
|
|
23505
|
-
ts:
|
|
23570
|
+
z45.object({
|
|
23571
|
+
type: z45.literal("workspace.chat.advanced"),
|
|
23572
|
+
workspaceId: z45.string(),
|
|
23573
|
+
chatId: z45.string(),
|
|
23574
|
+
afterCursor: z45.string().optional(),
|
|
23575
|
+
processing: z45.boolean(),
|
|
23576
|
+
ts: z45.string()
|
|
23506
23577
|
}),
|
|
23507
|
-
|
|
23508
|
-
type:
|
|
23509
|
-
workspaceId:
|
|
23510
|
-
ts:
|
|
23578
|
+
z45.object({
|
|
23579
|
+
type: z45.literal("mobile-testing.changed"),
|
|
23580
|
+
workspaceId: z45.string(),
|
|
23581
|
+
ts: z45.string()
|
|
23511
23582
|
}),
|
|
23512
|
-
|
|
23513
|
-
type:
|
|
23514
|
-
workspaceId:
|
|
23515
|
-
ts:
|
|
23583
|
+
z45.object({
|
|
23584
|
+
type: z45.literal("variable-request.changed"),
|
|
23585
|
+
workspaceId: z45.string(),
|
|
23586
|
+
ts: z45.string()
|
|
23516
23587
|
}),
|
|
23517
|
-
|
|
23518
|
-
type:
|
|
23519
|
-
workspaceId:
|
|
23520
|
-
ts:
|
|
23588
|
+
z45.object({
|
|
23589
|
+
type: z45.literal("local-control-request.changed"),
|
|
23590
|
+
workspaceId: z45.string(),
|
|
23591
|
+
ts: z45.string()
|
|
23521
23592
|
}),
|
|
23522
|
-
|
|
23523
|
-
type:
|
|
23524
|
-
prUrl:
|
|
23525
|
-
ts:
|
|
23593
|
+
z45.object({
|
|
23594
|
+
type: z45.literal("pull-request.changed"),
|
|
23595
|
+
prUrl: z45.string(),
|
|
23596
|
+
ts: z45.string()
|
|
23526
23597
|
}),
|
|
23527
|
-
|
|
23528
|
-
type:
|
|
23529
|
-
workspaceId:
|
|
23530
|
-
subagent:
|
|
23531
|
-
ts:
|
|
23598
|
+
z45.object({
|
|
23599
|
+
type: z45.enum(["manager.subagent.changed", "mothership.subagent.changed"]),
|
|
23600
|
+
workspaceId: z45.string(),
|
|
23601
|
+
subagent: z45.object({ id: z45.string(), name: z45.string(), prUrl: z45.string().nullable() }),
|
|
23602
|
+
ts: z45.string()
|
|
23532
23603
|
}),
|
|
23533
|
-
|
|
23534
|
-
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
type:
|
|
23538
|
-
workspaceId:
|
|
23539
|
-
workspaceName:
|
|
23540
|
-
sharedWithUserId:
|
|
23541
|
-
sharedByName:
|
|
23542
|
-
ts:
|
|
23604
|
+
z45.object({ type: z45.enum(["manager.board.changed", "mothership.board.changed"]), workspaceId: z45.string(), ts: z45.string() }),
|
|
23605
|
+
z45.object({ type: z45.literal("issues.synced"), syncId: z45.number(), ts: z45.string() }),
|
|
23606
|
+
z45.object({ type: z45.literal("needs-you.changed"), workspaceId: z45.string().nullable(), userId: z45.string().optional(), request: inputRequestRaisedSchema.optional(), ts: z45.string() }),
|
|
23607
|
+
z45.object({
|
|
23608
|
+
type: z45.literal("workspace.shared"),
|
|
23609
|
+
workspaceId: z45.string(),
|
|
23610
|
+
workspaceName: z45.string(),
|
|
23611
|
+
sharedWithUserId: z45.string(),
|
|
23612
|
+
sharedByName: z45.string(),
|
|
23613
|
+
ts: z45.string()
|
|
23543
23614
|
}),
|
|
23544
|
-
|
|
23615
|
+
z45.object({ type: z45.literal("client-state.changed"), userId: z45.string(), keys: z45.array(z45.string()), ts: z45.string() })
|
|
23545
23616
|
]);
|
|
23546
|
-
var workspaceChangedEventSchema =
|
|
23617
|
+
var workspaceChangedEventSchema = z45.union([
|
|
23547
23618
|
workspaceEventSchemaByType,
|
|
23548
|
-
|
|
23549
|
-
|
|
23619
|
+
z45.object({ type: z45.literal("presence.changed"), userId: z45.string(), entry: presenceEntrySchema.nullable(), ts: z45.string() }),
|
|
23620
|
+
z45.object({ type: z45.literal("presence.changed"), ts: z45.string() })
|
|
23550
23621
|
]);
|
|
23551
23622
|
|
|
23552
23623
|
// ../shared/src/routes/review-messages.ts
|
|
23553
|
-
import { z as
|
|
23554
|
-
var sendPullRequestReviewMessageRequestSchema =
|
|
23624
|
+
import { z as z46 } from "zod";
|
|
23625
|
+
var sendPullRequestReviewMessageRequestSchema = z46.object({
|
|
23555
23626
|
...sendChatMessageRequestSchema.pick({
|
|
23556
23627
|
message: true,
|
|
23557
23628
|
messageId: true,
|
|
@@ -23564,8 +23635,8 @@ var sendPullRequestReviewMessageRequestSchema = z45.object({
|
|
|
23564
23635
|
ultrafastMode: true
|
|
23565
23636
|
}).shape,
|
|
23566
23637
|
/** Starts a new chat instead of continuing the PR's review chat. The provider only applies to a new chat. */
|
|
23567
|
-
newChat:
|
|
23568
|
-
provider:
|
|
23638
|
+
newChat: z46.boolean().optional(),
|
|
23639
|
+
provider: z46.enum(VALID_AGENT_PROVIDERS).optional()
|
|
23569
23640
|
});
|
|
23570
23641
|
|
|
23571
23642
|
// ../shared/src/audit-log.ts
|
|
@@ -24287,40 +24358,40 @@ function isSkillRegistryManifest(value) {
|
|
|
24287
24358
|
}
|
|
24288
24359
|
|
|
24289
24360
|
// ../shared/src/routes/variable-requests.ts
|
|
24290
|
-
import { z as
|
|
24361
|
+
import { z as z47 } from "zod";
|
|
24291
24362
|
var VARIABLE_REQUEST_WAIT = { defaultMs: 10 * 6e4, maxMs: 30 * 6e4, pollMs: 3e3, waiterStaleMs: 15e3 };
|
|
24292
24363
|
var VARIABLE_REQUEST_DESTINATIONS = ["environment", "workspace"];
|
|
24293
|
-
var requestedVariableSchema =
|
|
24294
|
-
key:
|
|
24295
|
-
required:
|
|
24296
|
-
replace:
|
|
24364
|
+
var requestedVariableSchema = z47.object({
|
|
24365
|
+
key: z47.string().regex(VARIABLE_KEY_RE, "must be a valid environment variable name").max(ENVIRONMENT_SETUP_LIMITS.variableKeyChars),
|
|
24366
|
+
required: z47.boolean(),
|
|
24367
|
+
replace: z47.boolean().optional()
|
|
24297
24368
|
});
|
|
24298
|
-
var requestedVariablesSchema =
|
|
24299
|
-
var createVariableRequestSchema =
|
|
24369
|
+
var requestedVariablesSchema = z47.array(requestedVariableSchema).min(1, "must not be empty").max(ENVIRONMENT_SETUP_LIMITS.variables).refine((variables) => new Set(variables.map((variable) => variable.key)).size === variables.length, "must have unique keys");
|
|
24370
|
+
var createVariableRequestSchema = z47.object({
|
|
24300
24371
|
variables: requestedVariablesSchema,
|
|
24301
|
-
reason:
|
|
24302
|
-
wait:
|
|
24372
|
+
reason: z47.string().trim().max(500).nullish().transform((value) => value || null),
|
|
24373
|
+
wait: z47.boolean().default(true)
|
|
24303
24374
|
});
|
|
24304
|
-
var respondVariableRequestSchema =
|
|
24305
|
-
|
|
24306
|
-
action:
|
|
24307
|
-
destination:
|
|
24375
|
+
var respondVariableRequestSchema = z47.discriminatedUnion("action", [
|
|
24376
|
+
z47.object({
|
|
24377
|
+
action: z47.literal("provide"),
|
|
24378
|
+
destination: z47.enum(VARIABLE_REQUEST_DESTINATIONS),
|
|
24308
24379
|
/** Defaults to the workspace's environment, so older clients keep saving there. */
|
|
24309
|
-
environment_ids:
|
|
24310
|
-
overwrite:
|
|
24311
|
-
values:
|
|
24380
|
+
environment_ids: z47.array(z47.string().uuid()).optional(),
|
|
24381
|
+
overwrite: z47.boolean().optional(),
|
|
24382
|
+
values: z47.record(z47.string().regex(VARIABLE_KEY_RE), z47.string())
|
|
24312
24383
|
}),
|
|
24313
|
-
|
|
24384
|
+
z47.object({ action: z47.literal("skip") })
|
|
24314
24385
|
]);
|
|
24315
24386
|
|
|
24316
24387
|
// ../shared/src/routes/local-control-requests.ts
|
|
24317
|
-
import { z as
|
|
24318
|
-
var createLocalControlRequestSchema =
|
|
24319
|
-
reason:
|
|
24320
|
-
wait:
|
|
24388
|
+
import { z as z48 } from "zod";
|
|
24389
|
+
var createLocalControlRequestSchema = z48.object({
|
|
24390
|
+
reason: z48.string().trim().max(500).optional().transform((value) => value || null),
|
|
24391
|
+
wait: z48.boolean().default(true)
|
|
24321
24392
|
});
|
|
24322
|
-
var respondLocalControlRequestSchema =
|
|
24323
|
-
var setLocalControlSchema =
|
|
24393
|
+
var respondLocalControlRequestSchema = z48.object({ action: z48.enum(["allow", "dismiss"]) });
|
|
24394
|
+
var setLocalControlSchema = z48.object({ enabled: z48.boolean() });
|
|
24324
24395
|
|
|
24325
24396
|
export {
|
|
24326
24397
|
ENGINE_SEND_MESSAGE_FAILED_ERROR,
|
|
@@ -3,10 +3,10 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
execFileAsync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PUMH4TJK.js";
|
|
7
7
|
import {
|
|
8
8
|
isVersionBelow
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TAIQDQNL.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/codex-agent-env.ts
|
|
12
12
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -244,7 +244,7 @@ function getCodexModelProvider(method) {
|
|
|
244
244
|
if (method === "foundry") return "azure";
|
|
245
245
|
return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
|
|
246
246
|
}
|
|
247
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
247
|
+
var ENGINE_PACKAGE_VERSION = "0.1.1732";
|
|
248
248
|
var INITIALIZE_METHOD = "initialize";
|
|
249
249
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
250
250
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
package/dist/src/codemode-mcp.js
CHANGED
|
@@ -4,15 +4,15 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
getManagedPiMcpServers,
|
|
6
6
|
managedMcpServerProcess
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O23RKS4X.js";
|
|
8
8
|
import "./chunk-XCFPXSY4.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CC7Z6VSS.js";
|
|
10
10
|
import {
|
|
11
11
|
isRecord
|
|
12
12
|
} from "./chunk-UZSNFLDQ.js";
|
|
13
13
|
import {
|
|
14
14
|
rankToolsByQuery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TAIQDQNL.js";
|
|
16
16
|
import "./chunk-VEQXQN22.js";
|
|
17
17
|
|
|
18
18
|
// src/codemode-mcp.ts
|
|
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
evaluateCommandProtection
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RT3MWDFG.js";
|
|
7
|
+
import "./chunk-32R2DKC6.js";
|
|
8
|
+
import "./chunk-PUMH4TJK.js";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
11
|
} from "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TAIQDQNL.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/command-protection-hook.ts
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
spawnMuseMsp,
|
|
19
19
|
startGeminiSession,
|
|
20
20
|
startMuseSession
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QUEALEEB.js";
|
|
22
22
|
import "./chunk-XCFPXSY4.js";
|
|
23
23
|
import {
|
|
24
24
|
AppServerProcess,
|
|
25
25
|
buildCodexAgentEnv
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-TQFW3EVP.js";
|
|
27
|
+
import "./chunk-PUMH4TJK.js";
|
|
28
28
|
import {
|
|
29
29
|
AGENT,
|
|
30
30
|
OPENCODE_GO_PROVIDER,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
headlessAgentUsagePath,
|
|
35
35
|
isRecord,
|
|
36
36
|
withTimeout
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TAIQDQNL.js";
|
|
38
38
|
import "./chunk-VEQXQN22.js";
|
|
39
39
|
|
|
40
40
|
// src/headless-agent.ts
|
package/dist/src/index.js
CHANGED
|
@@ -90,12 +90,12 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
getManagedPiMcpServers,
|
|
92
92
|
managedMcpServerProcess
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-O23RKS4X.js";
|
|
94
94
|
import {
|
|
95
95
|
evaluateCommandProtection,
|
|
96
96
|
extractToolCommand,
|
|
97
97
|
reportCommandProtectionBlock
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-RT3MWDFG.js";
|
|
99
99
|
import {
|
|
100
100
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
101
101
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
startMuseSession,
|
|
136
136
|
thinkingVariant,
|
|
137
137
|
uuidV7
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-QUEALEEB.js";
|
|
139
139
|
import {
|
|
140
140
|
GEMINI_AUTH_PATH,
|
|
141
141
|
GEMINI_CLI_PATH,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
} from "./chunk-XCFPXSY4.js";
|
|
146
146
|
import {
|
|
147
147
|
publishedPullRequestUrls
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-TFWTKR5Q.js";
|
|
149
149
|
import {
|
|
150
150
|
ACCOUNT_RATE_LIMITS_READ_METHOD,
|
|
151
151
|
AsyncLock,
|
|
@@ -225,12 +225,12 @@ import {
|
|
|
225
225
|
upsertCredentialFileLines,
|
|
226
226
|
withdrawAgentLogin,
|
|
227
227
|
writeSecureCredentialFile
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-H4RTGHD4.js";
|
|
229
229
|
import {
|
|
230
230
|
SUBAGENT_MCP_TOOL_TIMEOUT_MS,
|
|
231
231
|
engineScriptProcess,
|
|
232
232
|
subagentMcpProcessConfig
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-CC7Z6VSS.js";
|
|
234
234
|
import {
|
|
235
235
|
ENGINE_ENV,
|
|
236
236
|
UNQUOTED_PATHS_CONFIG,
|
|
@@ -241,18 +241,18 @@ import {
|
|
|
241
241
|
resolveDiffBase,
|
|
242
242
|
setAgentCredentialSnapshot,
|
|
243
243
|
setLinearSessionId
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-32R2DKC6.js";
|
|
245
245
|
import {
|
|
246
246
|
AspRequestTimeoutError,
|
|
247
247
|
AspResponseError,
|
|
248
248
|
buildCodexAgentEnv,
|
|
249
249
|
getCodexModelProvider
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-TQFW3EVP.js";
|
|
251
251
|
import {
|
|
252
252
|
SUBPROCESS_MAX_BUFFER,
|
|
253
253
|
execAsync,
|
|
254
254
|
execFileAsync
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-PUMH4TJK.js";
|
|
256
256
|
import {
|
|
257
257
|
isRecord
|
|
258
258
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -556,7 +556,7 @@ import {
|
|
|
556
556
|
workspaceTokenRequestSchema,
|
|
557
557
|
workspaceTokenResponseSchema,
|
|
558
558
|
wrapInTag
|
|
559
|
-
} from "./chunk-
|
|
559
|
+
} from "./chunk-TAIQDQNL.js";
|
|
560
560
|
import {
|
|
561
561
|
__commonJS,
|
|
562
562
|
__export,
|
|
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
publishedPullRequestUrls
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TFWTKR5Q.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
9
|
} from "./chunk-UZSNFLDQ.js";
|
|
10
10
|
import {
|
|
11
11
|
shouldRefreshPullRequests
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TAIQDQNL.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/services/post-tool-pr-notifier.ts
|
package/dist/src/subagent-mcp.js
CHANGED