replicas-engine 0.1.1244 → 0.1.1245
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-3QBTHLYA.js → asp-host-AUWG4TM5.js} +5 -5
- package/dist/src/{chunk-I27O3MHS.js → chunk-2VFSDNB4.js} +2 -2
- package/dist/src/{chunk-3VZEWLC4.js → chunk-B2IU3EA4.js} +2 -2
- package/dist/src/{chunk-XQ5WSXBS.js → chunk-BITFRIB7.js} +22 -19
- package/dist/src/{chunk-OAB342UB.js → chunk-G5LEEPN7.js} +2 -2
- package/dist/src/{chunk-5XM7CFGT.js → chunk-HJJ7VRXK.js} +3 -3
- package/dist/src/{chunk-RI5L7T76.js → chunk-KE2AWRDG.js} +6 -6
- package/dist/src/{chunk-D3LFCDCW.js → chunk-M3IIIYS7.js} +1 -1
- package/dist/src/{chunk-5HXCXUAQ.js → chunk-N4MLANHG.js} +1 -1
- package/dist/src/command-protection-hook.js +4 -4
- package/dist/src/headless-agent.js +4 -4
- package/dist/src/index.js +8 -8
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/subagent-mcp.js +1 -1
- package/package.json +1 -1
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
listRunningCodexModels,
|
|
9
9
|
restartCodexAspHost,
|
|
10
10
|
restartCodexAspHostIfRunning
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-KE2AWRDG.js";
|
|
12
|
+
import "./chunk-B2IU3EA4.js";
|
|
13
|
+
import "./chunk-HJJ7VRXK.js";
|
|
14
|
+
import "./chunk-N4MLANHG.js";
|
|
15
15
|
import "./chunk-UZSNFLDQ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BITFRIB7.js";
|
|
17
17
|
import "./chunk-VEQXQN22.js";
|
|
18
18
|
export {
|
|
19
19
|
CODEX_ULTRAFAST_SERVICE_TIER,
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
AspClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HJJ7VRXK.js";
|
|
7
7
|
import {
|
|
8
8
|
ASTER_BASE_URL,
|
|
9
9
|
ASTER_PROVIDER,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isRecord,
|
|
14
14
|
readOllamaAuthEnv,
|
|
15
15
|
readOpenAICompatibleAuthEnv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BITFRIB7.js";
|
|
17
17
|
|
|
18
18
|
// src/managers/codex-asp/notification-dispatch.ts
|
|
19
19
|
var TURN_STARTED_METHOD = "turn/started";
|
|
@@ -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-N4MLANHG.js";
|
|
8
8
|
import {
|
|
9
9
|
isRecord as isRecord2
|
|
10
10
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isValidAgentProvider,
|
|
19
19
|
parsePosixEnvFile,
|
|
20
20
|
readReplicasRuntimeEnv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BITFRIB7.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime-env-loader.ts
|
|
24
24
|
import { readFileSync } from "fs";
|
|
@@ -2549,7 +2549,7 @@ The CLI is the canonical surface. Chat transcripts that show \`DISPLAY=:99 xdoto
|
|
|
2549
2549
|
\`\`\`bash
|
|
2550
2550
|
# DO
|
|
2551
2551
|
replicas computer key Return
|
|
2552
|
-
replicas computer observe /tmp/state.
|
|
2552
|
+
replicas computer observe /tmp/state.jpg
|
|
2553
2553
|
|
|
2554
2554
|
# DON'T
|
|
2555
2555
|
DISPLAY=:99 xdotool key Return
|
|
@@ -2568,11 +2568,10 @@ replicas computer info
|
|
|
2568
2568
|
replicas computer launch chrome https://news.ycombinator.com
|
|
2569
2569
|
|
|
2570
2570
|
# 3) Capture the settled viewport and native accessibility tree together.
|
|
2571
|
-
replicas computer browser-state /tmp/state.
|
|
2571
|
+
replicas computer browser-state /tmp/state.jpg --full
|
|
2572
2572
|
|
|
2573
2573
|
# 4) Batch actions that use refs from the same state, then capture the semantic diff.
|
|
2574
2574
|
replicas computer browser-batch '[{"action":"fill","ref":17,"value":"hello"},{"action":"click","ref":42}]'
|
|
2575
|
-
replicas computer browser-state /tmp/after-click.png
|
|
2576
2575
|
|
|
2577
2576
|
# 5) (Optional) Record a screencap to share back.
|
|
2578
2577
|
replicas computer record start /tmp/demo.mp4 --fps 60
|
|
@@ -2594,34 +2593,39 @@ If invoked very early in the workspace lifecycle, \`info\` will poll briefly whi
|
|
|
2594
2593
|
Checks and repairs the desktop bridge, then prints which desktop services are running and the active preview URL (if any). Useful for debugging when a tool call seems to be doing nothing.
|
|
2595
2594
|
|
|
2596
2595
|
### \`replicas computer screenshot <path> [--raw] [--grid [px]]\`
|
|
2597
|
-
Captures the current desktop to
|
|
2596
|
+
Captures the current desktop to the given path. The extension picks the format; \`.jpg\` captures several times faster than \`.png\`.
|
|
2598
2597
|
|
|
2599
2598
|
Use \`--raw\` for a 1:1 desktop capture with no branding, padding, or rounded corners. Use \`--grid\` for the same 1:1 capture plus a coordinate grid; the optional value sets grid spacing in pixels and defaults to 100. Use the default branded screenshot only when you plan to share the image with \`replicas media upload\`.
|
|
2600
2599
|
|
|
2601
|
-
### \`replicas computer observe <path> [--
|
|
2600
|
+
### \`replicas computer observe <path> [--grid [px]] [--timeout MS] [--stable-ms MS] [--poll-ms MS]\`
|
|
2602
2601
|
Waits briefly for the screen to stop changing, saves a 1:1 screenshot, and prints JSON with screen dimensions, whether the screen stabilized, frame/change counts, mouse location, active window title, and visible window titles.
|
|
2603
2602
|
|
|
2604
|
-
Use this instead of hand-written \`sleep && screenshot\` loops after clicks, navigation, typing, or page loads.
|
|
2603
|
+
Use this instead of hand-written \`sleep && screenshot\` loops after clicks, navigation, typing, or page loads. It waits up to 3s for 600ms of visual stability. Use a \`.jpg\` path for the fastest capture. \`--grid\` overlays a coordinate grid.
|
|
2605
2604
|
|
|
2606
|
-
### \`replicas computer browser-state
|
|
2607
|
-
Waits
|
|
2605
|
+
### \`replicas computer browser-state [path] [--full] [--timeout MS] [--stable-ms MS]\`
|
|
2606
|
+
Waits until the selected Chrome page has been quiet for 500ms (immediately if it already has), then prints a compact native Chrome accessibility tree. Pass a path to also save a viewport screenshot in the same coordinate space. Nodes other than text have DOM-backed refs such as \`[ref=42] button "Save"\` or \`[ref=7] region "Done"\`; elements that only look clickable (a pointer cursor and no accessible role) appear as \`clickable\`. The tree includes accessible roles, names, values, states, visible bounds, and iframe content.
|
|
2608
2607
|
|
|
2609
2608
|
The first call returns a full tree. Later calls for the same target and document return semantic changes; navigation or reload forces a new full tree. Pass \`--full\` to reset the baseline. Refs are valid for the current document.
|
|
2610
2609
|
|
|
2610
|
+
Every browser action below (\`browser-click\`, \`browser-fill\`, \`browser-drag\`, \`browser-scroll\`, \`browser-key\`, \`browser-type\`, \`browser-batch\`) waits for the page to settle and ends its output with an \`observation\`: the same tree changes \`browser-state\` would print, including refs for new elements. Read it instead of calling \`browser-state\` again.
|
|
2611
|
+
|
|
2611
2612
|
### \`replicas computer browser [--snapshot]\`
|
|
2612
2613
|
Lists Chrome tabs. \`--snapshot\` returns the compatibility accessibility snapshot. Use \`browser-state\` for the primary action/observe loop.
|
|
2613
2614
|
|
|
2614
2615
|
### \`replicas computer browser-batch '<actions-json>'\`
|
|
2615
|
-
Runs up to 100 ordered browser actions through one Chrome session and stops at the first failure. Supported actions are \`click\`, \`fill\`, \`key\`, \`type\`, \`scroll\`, and \`wait\`. Prefer this when several actions use refs from the same
|
|
2616
|
+
Runs up to 100 ordered browser actions through one Chrome session and stops at the first failure. Supported actions are \`click\`, \`fill\`, \`drag\` (\`{"action":"drag","ref":3,"toRef":9}\`), \`key\`, \`type\`, \`scroll\`, and \`wait\`. Prefer this when several actions use refs from the same state; it avoids repeated process, tab-selection, and connection setup. The observation after the batch (or after a failure) carries the refs for the next step. Do not carry refs across navigation.
|
|
2616
2617
|
|
|
2617
2618
|
### \`replicas computer browser-click --ref ID [--button left|middle|right] [--double]\`
|
|
2618
2619
|
Scrolls the referenced node into view and sends trusted Chrome mouse input at its current visible bounds. Prefer refs from \`browser-state\`. \`browser-click <text> [--exact] [--index N]\` remains a fallback when no fresh ref is available.
|
|
2619
2620
|
|
|
2620
2621
|
### \`replicas computer browser-fill --ref ID <value>\`
|
|
2621
|
-
Focuses the referenced field, fills it with trusted Chrome input, and verifies the resulting value.
|
|
2622
|
+
Focuses the referenced field, fills it with trusted Chrome input, and verifies the resulting value. Selects take an option's value or label; range sliders and number, date, time and color inputs take their value directly (\`browser-fill --ref 12 75\` sets a slider to 75). \`browser-fill <field> <value> [--exact] [--index N]\` remains a text-matching fallback.
|
|
2623
|
+
|
|
2624
|
+
### \`replicas computer browser-drag --ref ID --to-ref ID\`
|
|
2625
|
+
Drags one element onto another with trusted mouse input, including HTML5 drag-and-drop. Both refs come from the latest state and should be visible together.
|
|
2622
2626
|
|
|
2623
|
-
### \`replicas computer browser-scroll <up|down|left|right> [--ref ID] [--amount PX]\`
|
|
2624
|
-
Sends trusted wheel input at a referenced element or the
|
|
2627
|
+
### \`replicas computer browser-scroll <up|down|left|right> [--ref ID] [--amount PX] [--until TEXT] [--timeout MS]\`
|
|
2628
|
+
Sends trusted wheel input at a referenced element. Without \`--ref\` it scrolls the page, or the largest visible scrollable panel when the page itself does not scroll. \`--until <text>\` keeps scrolling, letting lazy-loaded content arrive, until the text is on the page, then centers it; it fails if the content ends or \`--timeout\` (default 10000) passes first. Use it instead of scrolling in a loop.
|
|
2625
2629
|
|
|
2626
2630
|
### \`replicas computer browser-key <combo>\` / \`browser-type <text>\`
|
|
2627
2631
|
Sends trusted keyboard input to the focused element in the selected Chrome target. Prefer \`browser-fill\` when setting a known field value.
|
|
@@ -2679,28 +2683,27 @@ For Chrome, use the native accessibility state before interpreting pixels or gue
|
|
|
2679
2683
|
|
|
2680
2684
|
\`\`\`bash
|
|
2681
2685
|
replicas computer launch chrome https://example.com
|
|
2682
|
-
replicas computer browser-state
|
|
2686
|
+
replicas computer browser-state --full --target-id <page-id>
|
|
2683
2687
|
replicas computer browser-batch '[{"action":"fill","ref":17,"value":"hello"},{"action":"click","ref":23}]' --target-id <page-id>
|
|
2684
|
-
replicas computer browser-state /tmp/after.png --target-id <page-id>
|
|
2685
2688
|
\`\`\`
|
|
2686
2689
|
|
|
2687
|
-
|
|
2690
|
+
Batch ordered actions whose refs all come from the latest state, then read the observation the batch prints: it is the next semantic diff. A batch is fail-fast and validates each ref against the cached document. Split at navigation or whenever a later action depends on newly rendered refs. Pass a screenshot path to \`browser-state\` when the tree alone is ambiguous (icons, colors, canvas). Fall back to \`observe\` plus desktop coordinates for canvas content, browser chrome, non-Chrome apps, or controls missing from the accessibility tree.
|
|
2688
2691
|
|
|
2689
2692
|
### Typing into an address bar
|
|
2690
2693
|
\`\`\`bash
|
|
2691
2694
|
replicas computer launch chrome
|
|
2692
|
-
replicas computer observe /tmp/browser-open.
|
|
2695
|
+
replicas computer observe /tmp/browser-open.jpg
|
|
2693
2696
|
replicas computer key ctrl+l
|
|
2694
2697
|
replicas computer type "https://example.com"
|
|
2695
2698
|
replicas computer key Return
|
|
2696
|
-
replicas computer browser-state
|
|
2699
|
+
replicas computer browser-state --full
|
|
2697
2700
|
replicas computer browser-fill --ref 17 "replicas"
|
|
2698
2701
|
replicas computer browser-click --ref 23 --title "Example"
|
|
2699
2702
|
replicas computer browser-wait "Example Domain" --mode title --title "Example"
|
|
2700
2703
|
\`\`\`
|
|
2701
2704
|
|
|
2702
2705
|
### Coordinates from screenshots
|
|
2703
|
-
The display is 1920\xD71080 by default. For click planning, use \`observe\`, \`screenshot --raw\`, or \`screenshot --grid\`; those pixels map 1:1 to click coordinates. If the
|
|
2706
|
+
The display is 1920\xD71080 by default. For click planning, use \`observe\`, \`screenshot --raw\`, or \`screenshot --grid\`; those pixels map 1:1 to click coordinates. If the screenshot shows a button at pixel (520, 700), click \`replicas computer click 520 700\`. The default screenshot is branded for sharing and has padding around the desktop, so do not use it for coordinates.
|
|
2704
2707
|
|
|
2705
2708
|
Use percentages for broad, layout-relative targets when exact pixels are unnecessary: \`replicas computer click 50% 50%\` clicks the center of the screen, and \`replicas computer move 95% 5%\` moves near the top-right.
|
|
2706
2709
|
|
|
@@ -2725,7 +2728,7 @@ Then embed the printed \`\` lines in your chat reply and follow
|
|
|
2725
2728
|
- **"Computer-use daemon is unavailable"**: the package-managed systemd service did not start. Check \`systemctl status replicas-computer.service\` and its journal.
|
|
2726
2729
|
- **"Desktop services script missing"**: workspace image is older than this skill. Tell the user - nothing you can do from the CLI side.
|
|
2727
2730
|
- **\`xdotool ... failed: Can't open display\`**: Xvfb didn't come up. \`replicas computer status\` will show which service is dead and auto-repair the desktop bridge.
|
|
2728
|
-
- **Browser doesn't appear after \`launch chrome\`**: run \`replicas computer observe /tmp/state.
|
|
2731
|
+
- **Browser doesn't appear after \`launch chrome\`**: run \`replicas computer observe /tmp/state.jpg\`. Chrome cold-start on the virtual display takes ~500ms but bigger pages take longer.
|
|
2729
2732
|
- **Live preview shows static / black screen**: the browser may have crashed. \`replicas computer status\` should show no Chrome process - re-launch.
|
|
2730
2733
|
- **\`replicas computer info\` errors with "not registered"**: engine couldn't register the preview at startup (transient monolith error, or warming mode). Re-running the engine usually fixes it. Until it's registered, the Desktop tab will show a placeholder.
|
|
2731
2734
|
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
getOriginDefaultBranch,
|
|
6
6
|
monolithRequest,
|
|
7
7
|
runGitCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B2IU3EA4.js";
|
|
9
9
|
import {
|
|
10
10
|
extractCommandProtectionCommandText,
|
|
11
11
|
findCommandProtectionGitLookups,
|
|
12
12
|
findGitCommitSignals,
|
|
13
13
|
findPrMergeSignals,
|
|
14
14
|
parseCommandProtectionRequest
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BITFRIB7.js";
|
|
16
16
|
|
|
17
17
|
// src/services/command-protection-service.ts
|
|
18
18
|
import { readFile, stat } from "fs/promises";
|
|
@@ -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-N4MLANHG.js";
|
|
7
7
|
import {
|
|
8
8
|
isVersionBelow
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BITFRIB7.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/codex-agent-env.ts
|
|
12
12
|
function buildCodexAgentEnv(source = process.env) {
|
|
@@ -240,7 +240,7 @@ function getCodexModelProvider(method) {
|
|
|
240
240
|
if (method === "foundry") return "azure";
|
|
241
241
|
return method === "ollama" || method === "openai-compatible" ? "replicas_openai_compatible" : "openai";
|
|
242
242
|
}
|
|
243
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
243
|
+
var ENGINE_PACKAGE_VERSION = "0.1.1245";
|
|
244
244
|
var INITIALIZE_METHOD = "initialize";
|
|
245
245
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
246
246
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
resolveDiffBase,
|
|
11
11
|
runGitCommand,
|
|
12
12
|
setAgentCredentialSnapshot
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-B2IU3EA4.js";
|
|
14
14
|
import {
|
|
15
15
|
AppServerProcess,
|
|
16
16
|
buildCodexAgentEnv
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HJJ7VRXK.js";
|
|
18
18
|
import {
|
|
19
19
|
SUBPROCESS_MAX_BUFFER,
|
|
20
20
|
execFileAsync
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N4MLANHG.js";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
24
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
resolveOpenAICompatibleModelsUrl,
|
|
56
56
|
splitMothershipInstructions,
|
|
57
57
|
withTimeout
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-BITFRIB7.js";
|
|
59
59
|
|
|
60
60
|
// src/managers/codex-token-manager.ts
|
|
61
61
|
import { promises as fs } from "fs";
|
|
@@ -291,7 +291,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
291
291
|
await this.applyCredentialUpdate(++this.credentialGeneration, async () => {
|
|
292
292
|
await this.applyCredentialsResponse(data);
|
|
293
293
|
setAgentCredentialSnapshot("codex", data);
|
|
294
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
294
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-AUWG4TM5.js");
|
|
295
295
|
await restartCodexAspHostIfRunning2();
|
|
296
296
|
});
|
|
297
297
|
await this.start(true);
|
|
@@ -313,7 +313,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
313
313
|
const accountChanged = ENGINE_ENV.REPLICAS_AGENT_CREDENTIALS.codex?.credentialId !== data.credentialId;
|
|
314
314
|
await this.applyCredentialsResponse(data);
|
|
315
315
|
if (restartOnChange && (accountChanged || CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index]))) {
|
|
316
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
316
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-AUWG4TM5.js");
|
|
317
317
|
await restartCodexAspHostIfRunning2();
|
|
318
318
|
}
|
|
319
319
|
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-BITFRIB7.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/exec.ts
|
|
9
9
|
import { exec, execFile } from "child_process";
|
|
@@ -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-G5LEEPN7.js";
|
|
7
|
+
import "./chunk-B2IU3EA4.js";
|
|
8
|
+
import "./chunk-N4MLANHG.js";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
11
|
} from "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-BITFRIB7.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/command-protection-hook.ts
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
recoverCompletedTurn,
|
|
14
14
|
spawnMuseMsp,
|
|
15
15
|
startMuseSession
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2VFSDNB4.js";
|
|
17
17
|
import {
|
|
18
18
|
AppServerProcess,
|
|
19
19
|
buildCodexAgentEnv
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-HJJ7VRXK.js";
|
|
21
|
+
import "./chunk-N4MLANHG.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT,
|
|
24
24
|
OPENCODE_GO_PROVIDER,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
headlessAgentUsagePath,
|
|
29
29
|
isRecord,
|
|
30
30
|
withTimeout
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BITFRIB7.js";
|
|
32
32
|
import "./chunk-VEQXQN22.js";
|
|
33
33
|
|
|
34
34
|
// src/headless-agent.ts
|
package/dist/src/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
evaluateCommandProtection,
|
|
28
28
|
extractToolCommand,
|
|
29
29
|
reportCommandProtectionBlock
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-G5LEEPN7.js";
|
|
31
31
|
import {
|
|
32
32
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
33
33
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -64,10 +64,10 @@ import {
|
|
|
64
64
|
spawnMuseMsp,
|
|
65
65
|
startMuseSession,
|
|
66
66
|
uuidV7
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-2VFSDNB4.js";
|
|
68
68
|
import {
|
|
69
69
|
publishedPullRequestUrls
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-M3IIIYS7.js";
|
|
71
71
|
import {
|
|
72
72
|
ACCOUNT_RATE_LIMITS_READ_METHOD,
|
|
73
73
|
AsyncLock,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
timestampFromSeconds,
|
|
141
141
|
upsertCredentialFileLines,
|
|
142
142
|
writeSecureCredentialFile
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-KE2AWRDG.js";
|
|
144
144
|
import {
|
|
145
145
|
ENGINE_ENV,
|
|
146
146
|
monolithRequest,
|
|
@@ -149,15 +149,15 @@ import {
|
|
|
149
149
|
reloadEngineEnv,
|
|
150
150
|
resolveDiffBase,
|
|
151
151
|
setAgentCredentialSnapshot
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-B2IU3EA4.js";
|
|
153
153
|
import {
|
|
154
154
|
getCodexModelProvider
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-HJJ7VRXK.js";
|
|
156
156
|
import {
|
|
157
157
|
SUBPROCESS_MAX_BUFFER,
|
|
158
158
|
execAsync,
|
|
159
159
|
execFileAsync
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-N4MLANHG.js";
|
|
161
161
|
import {
|
|
162
162
|
isRecord as isRecord2
|
|
163
163
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -395,7 +395,7 @@ import {
|
|
|
395
395
|
workspaceTokenRequestSchema,
|
|
396
396
|
workspaceTokenResponseSchema,
|
|
397
397
|
wrapInTag
|
|
398
|
-
} from "./chunk-
|
|
398
|
+
} from "./chunk-BITFRIB7.js";
|
|
399
399
|
import {
|
|
400
400
|
cloneMcpConfig,
|
|
401
401
|
ensureCompatibilityImports,
|
|
@@ -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-M3IIIYS7.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-BITFRIB7.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