replicas-engine 0.1.744 → 0.1.746
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-FCGPBXUC.js → asp-host-6HRB6NJ5.js} +3 -2
- package/dist/src/chunk-5KSXSK7Y.js +47 -0
- package/dist/src/{chunk-XQM2BWLW.js → chunk-HNVRRGQU.js} +1 -1
- package/dist/src/chunk-NZRMKTVA.js +8028 -0
- package/dist/src/{chunk-PY7C2DWR.js → chunk-OEW4EEUM.js} +2 -2
- package/dist/src/chunk-SFWEF25L.js +34 -0
- package/dist/src/chunk-WYE7EXGQ.js +2258 -0
- package/dist/src/chunk-Y6VZZNT3.js +371 -0
- package/dist/src/command-protection-hook.js +1 -0
- package/dist/src/deepseek-command-protection-plugin.js +1 -0
- package/dist/src/headless-agent.js +2 -1
- package/dist/src/index.js +58210 -9414
- package/dist/src/mcp-panel-U4U3G7EU.js +916 -0
- package/dist/src/mcp-setup-panel-TSN2X3T7.js +603 -0
- package/dist/src/post-tool-pr-hook.js +1 -0
- package/dist/src/webapi-FTLM32C4.js +3779 -0
- package/package.json +6 -3
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
AppServerProcess,
|
|
9
9
|
buildCodexAgentEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HNVRRGQU.js";
|
|
11
11
|
import {
|
|
12
12
|
CODEX_AUTH_ENV_KEYS,
|
|
13
13
|
CODEX_AUTH_ENV_KEYS_BY_METHOD,
|
|
@@ -230,7 +230,7 @@ var CodexTokenManager = class extends BaseRefreshManager {
|
|
|
230
230
|
const data = await response.json();
|
|
231
231
|
await this.applyCredentialsResponse(data);
|
|
232
232
|
if (restartOnChange && CODEX_AUTH_ENV_KEYS.some((key, index) => process.env[key] !== previousEnv[index])) {
|
|
233
|
-
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-
|
|
233
|
+
const { restartCodexAspHostIfRunning: restartCodexAspHostIfRunning2 } = await import("./asp-host-6HRB6NJ5.js");
|
|
234
234
|
await restartCodexAspHostIfRunning2();
|
|
235
235
|
}
|
|
236
236
|
if (data.scope) {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
matchesKey
|
|
4
|
+
} from "./chunk-NZRMKTVA.js";
|
|
5
|
+
|
|
6
|
+
// ../node_modules/.bun/pi-mcp-adapter@2.32.1+04b0d7b0bc944965/node_modules/pi-mcp-adapter/panel-keys.ts
|
|
7
|
+
function configuredSaveKeys(keybindings) {
|
|
8
|
+
const explicit = keybindings?.getUserBindings?.()["mcp.panel.save"];
|
|
9
|
+
if (explicit !== void 0) return { keys: Array.isArray(explicit) ? explicit : [explicit], configured: true };
|
|
10
|
+
return { keys: [], configured: false };
|
|
11
|
+
}
|
|
12
|
+
function createPanelKeys(keybindings) {
|
|
13
|
+
const saveBinding = configuredSaveKeys(keybindings);
|
|
14
|
+
if (keybindings) {
|
|
15
|
+
return {
|
|
16
|
+
selectUp: (data) => keybindings.matches(data, "tui.select.up"),
|
|
17
|
+
selectDown: (data) => keybindings.matches(data, "tui.select.down"),
|
|
18
|
+
selectConfirm: (data) => keybindings.matches(data, "tui.select.confirm"),
|
|
19
|
+
save: (data) => saveBinding.keys.length > 0 ? saveBinding.keys.some((key) => matchesKey(data, key)) : !saveBinding.configured && matchesKey(data, "ctrl+s"),
|
|
20
|
+
saveLabel: () => saveBinding.keys[0] ?? (saveBinding.configured ? null : "ctrl+s")
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
selectUp: (data) => matchesKey(data, "up"),
|
|
25
|
+
selectDown: (data) => matchesKey(data, "down"),
|
|
26
|
+
selectConfirm: (data) => matchesKey(data, "return"),
|
|
27
|
+
save: (data) => matchesKey(data, "ctrl+s"),
|
|
28
|
+
saveLabel: () => "ctrl+s"
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export {
|
|
33
|
+
createPanelKeys
|
|
34
|
+
};
|