replicas-engine 0.1.1023 → 0.1.1025
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-LNQ6477C.js → asp-host-HCKPHEGE.js} +5 -5
- package/dist/src/{chunk-6PFWQN6N.js → chunk-4O34RLV4.js} +6 -6
- package/dist/src/{chunk-IFF7ILWV.js → chunk-6QJUSUYT.js} +1 -1
- package/dist/src/{chunk-7LHSRAKC.js → chunk-A6ZTEZQC.js} +3 -3
- package/dist/src/{chunk-46VEUNV3.js → chunk-ABTNJPOU.js} +3 -3
- package/dist/src/{chunk-LBEKAKM7.js → chunk-C5YKZO4K.js} +1 -1
- package/dist/src/{chunk-EARIHQMZ.js → chunk-MH345B4U.js} +572 -543
- package/dist/src/{chunk-C457AN4B.js → chunk-TGJ5XL4O.js} +1 -1
- package/dist/src/command-protection-hook.js +4 -4
- package/dist/src/headless-agent.js +3 -3
- package/dist/src/index.js +7 -20
- package/dist/src/post-tool-pr-hook.js +2 -2
- package/dist/src/subagent-mcp.js +1 -1
- package/package.json +1 -1
|
@@ -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-A6ZTEZQC.js";
|
|
7
|
+
import "./chunk-6QJUSUYT.js";
|
|
8
|
+
import "./chunk-C5YKZO4K.js";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
11
|
} from "./chunk-UZSNFLDQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-MH345B4U.js";
|
|
13
13
|
import "./chunk-VEQXQN22.js";
|
|
14
14
|
|
|
15
15
|
// src/command-protection-hook.ts
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
AppServerProcess,
|
|
9
9
|
buildCodexAgentEnv
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-ABTNJPOU.js";
|
|
11
|
+
import "./chunk-C5YKZO4K.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT,
|
|
14
14
|
headlessAgentRequestSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MH345B4U.js";
|
|
16
16
|
import "./chunk-VEQXQN22.js";
|
|
17
17
|
|
|
18
18
|
// src/headless-agent.ts
|
package/dist/src/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
reportCommandProtectionBlock,
|
|
33
33
|
resolveDiffBase,
|
|
34
34
|
runGitCommand
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-A6ZTEZQC.js";
|
|
36
36
|
import {
|
|
37
37
|
ACCOUNT_RATE_LIMITS_UPDATED_METHOD,
|
|
38
38
|
AGENT_MESSAGE_DELTA_METHOD,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-P73LGPQO.js";
|
|
58
58
|
import {
|
|
59
59
|
publishedPullRequestUrls
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-TGJ5XL4O.js";
|
|
61
61
|
import {
|
|
62
62
|
BaseRefreshManager,
|
|
63
63
|
CodexAspAuthMethodChangedError,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
refreshDelayMs,
|
|
72
72
|
restartCodexAspHost,
|
|
73
73
|
routineRefreshRequest
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-4O34RLV4.js";
|
|
75
75
|
import {
|
|
76
76
|
ENGINE_ENV,
|
|
77
77
|
monolithRequest,
|
|
@@ -79,16 +79,16 @@ import {
|
|
|
79
79
|
readRuntimeEnvFile,
|
|
80
80
|
reloadEngineEnv,
|
|
81
81
|
setAgentCredentialSnapshot
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-6QJUSUYT.js";
|
|
83
83
|
import {
|
|
84
84
|
AspClient,
|
|
85
85
|
getCodexModelProvider
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-ABTNJPOU.js";
|
|
87
87
|
import {
|
|
88
88
|
SUBPROCESS_MAX_BUFFER,
|
|
89
89
|
execAsync,
|
|
90
90
|
execFileAsync
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-C5YKZO4K.js";
|
|
92
92
|
import {
|
|
93
93
|
isRecord as isRecord2
|
|
94
94
|
} from "./chunk-UZSNFLDQ.js";
|
|
@@ -124,7 +124,6 @@ import {
|
|
|
124
124
|
CURSOR_CONNECTION_STATUS_EVENT_TYPE,
|
|
125
125
|
CodexHistoryEventFolder,
|
|
126
126
|
DEFAULT_ASTER_MODEL,
|
|
127
|
-
DEFAULT_CHAT_TITLES,
|
|
128
127
|
DEFAULT_CLAUDE_MODEL,
|
|
129
128
|
DEFAULT_CODEX_MODEL,
|
|
130
129
|
DEFAULT_CURSOR_MODEL,
|
|
@@ -176,7 +175,6 @@ import {
|
|
|
176
175
|
TOKEN_USAGE_PATH,
|
|
177
176
|
TaskAccumulator,
|
|
178
177
|
USER_MESSAGE_ID_PAYLOAD_KEY,
|
|
179
|
-
VALID_AGENT_PROVIDERS,
|
|
180
178
|
WORKSPACE_IDENTITY_AUDIENCE,
|
|
181
179
|
agentCredentialSnapshotSchema,
|
|
182
180
|
agentQuotaExhaustedPayloadSchema,
|
|
@@ -319,7 +317,7 @@ import {
|
|
|
319
317
|
workspaceTokenRequestSchema,
|
|
320
318
|
workspaceTokenResponseSchema,
|
|
321
319
|
wrapInTag
|
|
322
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-MH345B4U.js";
|
|
323
321
|
import {
|
|
324
322
|
cloneMcpConfig,
|
|
325
323
|
ensureCompatibilityImports,
|
|
@@ -60676,17 +60674,6 @@ var ChatService = class {
|
|
|
60676
60674
|
const runtime = this.createRuntimeChat(chat);
|
|
60677
60675
|
this.chats.set(chat.id, runtime);
|
|
60678
60676
|
}
|
|
60679
|
-
for (const provider of VALID_AGENT_PROVIDERS) {
|
|
60680
|
-
const hasDefault = [...this.chats.values()].some(
|
|
60681
|
-
(c) => c.persisted.provider === provider && isDefaultChat(c.persisted)
|
|
60682
|
-
);
|
|
60683
|
-
if (!hasDefault) {
|
|
60684
|
-
await this.createChat({
|
|
60685
|
-
provider,
|
|
60686
|
-
title: DEFAULT_CHAT_TITLES[provider]
|
|
60687
|
-
});
|
|
60688
|
-
}
|
|
60689
|
-
}
|
|
60690
60677
|
}
|
|
60691
60678
|
listChats(includeChildren = false) {
|
|
60692
60679
|
return Array.from(this.chats.values()).filter((chat) => !chat.persisted.deletedAt && (includeChildren || chat.persisted.parentChatId === null)).map((chat) => this.toSummary(chat)).sort((a, b) => b.updatedAt.localeCompare(a.updatedAt));
|
|
@@ -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-TGJ5XL4O.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-MH345B4U.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