nolo-cli 0.82.0-alpha.6 → 0.83.0-alpha.2
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/{_executeModel-225YRU52.js → _executeModel-TRYFRXDJ.js} +12 -12
- package/{agentDeleteCommand-ZJNQGVR2.js → agentDeleteCommand-YZ74ZWP5.js} +2 -1
- package/{agentEmailCommands-VLVWFWX2.js → agentEmailCommands-RMTYKFBY.js} +13 -12
- package/{agentListCommands-GHQGLAUU.js → agentListCommands-5WZ7MGH4.js} +2 -1
- package/{agentMachineCommands-QDXYENZJ.js → agentMachineCommands-U7QFPT5D.js} +3 -2
- package/{agentRecordCommands-AQFYM5HS.js → agentRecordCommands-RJRU2YVT.js} +13 -12
- package/{agentRunCommand-YSCD65HH.js → agentRunCommand-ZXEAWYLV.js} +13 -12
- package/{agentRuntimeLocal-ZOHB7OOO.js → agentRuntimeLocal-PQEIUOJU.js} +2 -1
- package/{agentSlice-O2SBU5TK.js → agentSlice-Q5XOM2PN.js} +1 -1
- package/{appDeleteCommands-PRT6K5N2.js → appDeleteCommands-UVLHOLVH.js} +2 -1
- package/{appDeployCommands-63ZONFAN.js → appDeployCommands-NTKUPWIJ.js} +2 -1
- package/{appDeployStatusCommands-AFAYCVR3.js → appDeployStatusCommands-SXJHAM6D.js} +2 -1
- package/{appGetCommands-TNZDZE36.js → appGetCommands-MAV3RF4X.js} +2 -1
- package/{appListCommands-IA4SPG2X.js → appListCommands-7HWANPQU.js} +2 -1
- package/{authCommand-EVGFLAHO.js → authCommand-7N2G6MXP.js} +78 -3
- package/{chatQueueReduxAdapter-4SM3DAWX.js → chatQueueReduxAdapter-WICMMQZT.js} +2 -2
- package/{chunk-HHLTFENG.js → chunk-2OVE3GVB.js} +327 -20
- package/{chunk-LSZXYE64.js → chunk-3447FUKM.js} +45 -7
- package/{chunk-NJ6WLAPS.js → chunk-5BVAAVIF.js} +1 -1
- package/{chunk-73IOJLK2.js → chunk-5G3IP3R6.js} +3 -3
- package/{chunk-YSKEOTPH.js → chunk-5Q5LYRJH.js} +10 -10
- package/{chunk-Q46HQOW3.js → chunk-6RUOYAPM.js} +3 -3
- package/{chunk-SO7B7NW3.js → chunk-BHXK3KPV.js} +8 -8
- package/{chunk-6SD5OPQ4.js → chunk-BNQK6UPC.js} +3 -3
- package/{chunk-YXLXHIT2.js → chunk-EH7BNTCR.js} +1 -1
- package/chunk-FMODTASJ.js +109 -0
- package/{chunk-MYU3MJCF.js → chunk-GCJ3IS5M.js} +0 -1
- package/{chunk-FP27MNSX.js → chunk-JPVNC5B2.js} +2 -2
- package/{chunk-4UW2LDVA.js → chunk-JZYXSXMZ.js} +5 -5
- package/{chunk-EM6MPSEI.js → chunk-LKSDMMY2.js} +16 -4
- package/{chunk-A3NNC2LA.js → chunk-LLJM5TW2.js} +6 -6
- package/{chunk-5LSS6MFZ.js → chunk-LZIMZZYT.js} +1 -1
- package/{chunk-3W2JJOH3.js → chunk-N5KGQ5AD.js} +2 -2
- package/{chunk-3IT2PFHL.js → chunk-NB5SIWC4.js} +1 -1
- package/{codingSkills-E6KSDNSJ.js → codingSkills-7S6523WH.js} +2 -2
- package/{contentThunks-ENAVF2YU.js → contentThunks-A2ZG3SW6.js} +3 -3
- package/{createAgentAutomationAction-CH6BYC7K.js → createAgentAutomationAction-QFQQPG35.js} +3 -3
- package/{createDialogAction-23UDOXSO.js → createDialogAction-WI73R5EQ.js} +5 -5
- package/{createPageAction-J6AEMLHK.js → createPageAction-XN237WPJ.js} +3 -3
- package/{dialogCommands-BJJGCCQR.js → dialogCommands-LWKIIWKC.js} +2 -1
- package/{dialogSlice-F7RD6PUY.js → dialogSlice-56G4Q4RU.js} +2 -2
- package/{docCreateCommands-53GB2FU3.js → docCreateCommands-FC5IRW2I.js} +2 -1
- package/{docDeleteCommands-TAW5JEBU.js → docDeleteCommands-GUGLMPIP.js} +2 -1
- package/{docReadCommands-F5N7N5E3.js → docReadCommands-JVMVMNQZ.js} +2 -1
- package/{docStore-WX4YBGXC.js → docStore-PZSZWXX3.js} +1 -1
- package/{docUpdateCommands-YQ7TRT35.js → docUpdateCommands-XZRIQPK4.js} +2 -1
- package/{handleSendMessageAction-CW4LULIR.js → handleSendMessageAction-MHKC4R3Q.js} +2 -2
- package/index.js +50 -46
- package/{machineCommands-FIYWY5EU.js → machineCommands-KSTY7PYK.js} +13 -12
- package/{machineWsRunDispatch-KQ4OFFNR.js → machineWsRunDispatch-MG6KR26V.js} +13 -12
- package/package.json +1 -1
- package/{readlineWorkspace-QYI6BRNA.js → readlineWorkspace-FG4NFANI.js} +13 -12
- package/{runAgentClientLoop-GZ5VUGAW.js → runAgentClientLoop-U3GEPCQI.js} +10 -10
- package/{spaceCommands-IYMIXCMC.js → spaceCommands-CB6SU7KK.js} +2 -1
- package/{streamAgentChatTurn-EAXIUJTK.js → streamAgentChatTurn-DAGDJH3L.js} +11 -11
- package/{tools-QWQOW6J4.js → tools-73VPBNX3.js} +8 -8
- package/{updateDialogTitleAction-2HCE2M7S.js → updateDialogTitleAction-RFQONESQ.js} +3 -3
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runLlm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6RUOYAPM.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
19
|
} from "./chunk-BJCWNHVU.js";
|
|
@@ -17126,7 +17126,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17126
17126
|
runtimeOptions: args.runtimeOptions
|
|
17127
17127
|
});
|
|
17128
17128
|
if (agentKeyToUse) {
|
|
17129
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17129
|
+
const { streamAgentChatTurn } = await import("./agentSlice-Q5XOM2PN.js");
|
|
17130
17130
|
await dispatch(
|
|
17131
17131
|
streamAgentChatTurn({
|
|
17132
17132
|
agentKey: agentKeyToUse,
|
|
@@ -18259,7 +18259,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18259
18259
|
}
|
|
18260
18260
|
if (isCurrentDialog) {
|
|
18261
18261
|
await thunkApi.dispatch(resetMsgs());
|
|
18262
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18262
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-56G4Q4RU.js");
|
|
18263
18263
|
dispatch(clearPendingAttachments2());
|
|
18264
18264
|
}
|
|
18265
18265
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18267,15 +18267,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18267
18267
|
|
|
18268
18268
|
// packages/chat/dialog/dialogSlice.ts
|
|
18269
18269
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18270
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18270
|
+
const { createDialogAction } = await import("./createDialogAction-WI73R5EQ.js");
|
|
18271
18271
|
return createDialogAction(args, thunkApi);
|
|
18272
18272
|
};
|
|
18273
18273
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18274
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18274
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-QFQQPG35.js");
|
|
18275
18275
|
return createAgentAutomationAction(args, thunkApi);
|
|
18276
18276
|
};
|
|
18277
18277
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18278
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18278
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-RFQONESQ.js");
|
|
18279
18279
|
return updateDialogTitleAction(args, thunkApi);
|
|
18280
18280
|
};
|
|
18281
18281
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -18299,7 +18299,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
18299
18299
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18300
18300
|
};
|
|
18301
18301
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18302
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18302
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-MHKC4R3Q.js");
|
|
18303
18303
|
return handleSendMessageAction(args, thunkApi);
|
|
18304
18304
|
};
|
|
18305
18305
|
function clearDialogState() {
|
|
@@ -18312,7 +18312,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18312
18312
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18313
18313
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18314
18314
|
try {
|
|
18315
|
-
const { createDocState } = await import("./docStore-
|
|
18315
|
+
const { createDocState } = await import("./docStore-PZSZWXX3.js");
|
|
18316
18316
|
const pageKey = await createDocState(
|
|
18317
18317
|
{ slateData, title },
|
|
18318
18318
|
{ dispatch, getState }
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LZIMZZYT.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BHXK3KPV.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
12
12
|
import {
|
|
13
13
|
TOOL_PACKS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GCJ3IS5M.js";
|
|
15
15
|
import {
|
|
16
16
|
buildSkillDocMarkdown
|
|
17
17
|
} from "./chunk-AETZ7AD6.js";
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// packages/agent-runtime/devinOAuth.ts
|
|
2
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
3
|
+
import { homedir } from "node:os";
|
|
4
|
+
import { join } from "node:path";
|
|
5
|
+
var DEVIN_CONNECT_URL = "https://server.codeium.com/exa.api_server_pb.ApiServerService/GetChatMessage";
|
|
6
|
+
function buildDevinAuthUrl(orgId) {
|
|
7
|
+
const cleanOrg = orgId?.trim();
|
|
8
|
+
if (cleanOrg) {
|
|
9
|
+
return `https://app.devin.ai/org/${encodeURIComponent(cleanOrg)}/settings/keys`;
|
|
10
|
+
}
|
|
11
|
+
return "https://app.devin.ai/settings/keys";
|
|
12
|
+
}
|
|
13
|
+
function extractDevinToken(input) {
|
|
14
|
+
const raw = input?.trim();
|
|
15
|
+
if (!raw) return null;
|
|
16
|
+
if (/^https?:\/\//i.test(raw)) {
|
|
17
|
+
try {
|
|
18
|
+
const url = new URL(raw);
|
|
19
|
+
const queryToken = url.searchParams.get("token") || url.searchParams.get("access_token") || url.searchParams.get("auth_token");
|
|
20
|
+
if (queryToken?.trim()) return queryToken.trim();
|
|
21
|
+
if (url.hash) {
|
|
22
|
+
const hashParams = new URLSearchParams(url.hash.replace(/^#/, ""));
|
|
23
|
+
const hashToken = hashParams.get("token") || hashParams.get("access_token") || hashParams.get("auth_token");
|
|
24
|
+
if (hashToken?.trim()) return hashToken.trim();
|
|
25
|
+
}
|
|
26
|
+
} catch {
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return raw || null;
|
|
30
|
+
}
|
|
31
|
+
function parseDevinCredentialsToml(content) {
|
|
32
|
+
for (const line of content.split(/\r?\n/)) {
|
|
33
|
+
const cogMatch = line.match(/(cog_[A-Za-z0-9_-]+)/);
|
|
34
|
+
if (cogMatch?.[1]) {
|
|
35
|
+
return cogMatch[1].trim();
|
|
36
|
+
}
|
|
37
|
+
const match = line.match(
|
|
38
|
+
/^\s*(?:windsurf_api_key|devin_api_key|api_key|api_token|token)\s*=\s*"([^"]+)"\s*$/i
|
|
39
|
+
);
|
|
40
|
+
if (match?.[1]) {
|
|
41
|
+
return match[1].trim();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
function detectLocalDevinCredentials(options) {
|
|
47
|
+
const baseHome = options?.homeDir || homedir();
|
|
48
|
+
const xdgData = process.env.XDG_DATA_HOME;
|
|
49
|
+
const candidateCliPaths = [
|
|
50
|
+
xdgData ? join(xdgData, "devin", "credentials.toml") : null,
|
|
51
|
+
join(baseHome, ".local", "share", "devin", "credentials.toml"),
|
|
52
|
+
process.env.APPDATA ? join(process.env.APPDATA, "devin", "credentials.toml") : null
|
|
53
|
+
].filter((p) => Boolean(p));
|
|
54
|
+
for (const credPath of candidateCliPaths) {
|
|
55
|
+
if (existsSync(credPath)) {
|
|
56
|
+
try {
|
|
57
|
+
const content = readFileSync(credPath, "utf-8");
|
|
58
|
+
const token = parseDevinCredentialsToml(content);
|
|
59
|
+
if (token) {
|
|
60
|
+
return {
|
|
61
|
+
found: true,
|
|
62
|
+
token,
|
|
63
|
+
source: "devin-cli",
|
|
64
|
+
sourcePath: credPath
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const codeiumPath = join(baseHome, ".codeium", "config.json");
|
|
72
|
+
if (existsSync(codeiumPath)) {
|
|
73
|
+
try {
|
|
74
|
+
const parsed = JSON.parse(readFileSync(codeiumPath, "utf-8"));
|
|
75
|
+
const token = parsed.apiKey || parsed.api_key;
|
|
76
|
+
if (token?.trim()) {
|
|
77
|
+
return {
|
|
78
|
+
found: true,
|
|
79
|
+
token: token.trim(),
|
|
80
|
+
source: "codeium-config",
|
|
81
|
+
sourcePath: codeiumPath
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
} catch {
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return { found: false };
|
|
88
|
+
}
|
|
89
|
+
function buildDevinOAuthCredential(token, now = Date.now()) {
|
|
90
|
+
return {
|
|
91
|
+
provider: "devin",
|
|
92
|
+
accessToken: token.trim(),
|
|
93
|
+
obtainedAt: now
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function isDevinOAuthAgent(agent) {
|
|
97
|
+
const ref = agent.apiKeyRef?.trim().toLowerCase();
|
|
98
|
+
const prov = agent.provider?.trim().toLowerCase();
|
|
99
|
+
return ref === "devin" || prov === "devin";
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export {
|
|
103
|
+
DEVIN_CONNECT_URL,
|
|
104
|
+
buildDevinAuthUrl,
|
|
105
|
+
extractDevinToken,
|
|
106
|
+
detectLocalDevinCredentials,
|
|
107
|
+
buildDevinOAuthCredential,
|
|
108
|
+
isDevinOAuthAgent
|
|
109
|
+
};
|
|
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
326
326
|
).unwrap();
|
|
327
327
|
if (dbSpaceId) {
|
|
328
328
|
try {
|
|
329
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
329
|
+
const { updateContentTitle } = await import("./contentThunks-A2ZG3SW6.js");
|
|
330
330
|
await dispatch(
|
|
331
331
|
updateContentTitle({
|
|
332
332
|
spaceId: dbSpaceId,
|
|
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async function createDocState(args, thunkApi) {
|
|
368
|
-
const { createPageAction } = await import("./createPageAction-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-XN237WPJ.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N5KGQ5AD.js";
|
|
9
9
|
import {
|
|
10
10
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
11
11
|
buildInvalidToolCallSelfHealResult,
|
|
12
12
|
parseToolCallArguments,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LKSDMMY2.js";
|
|
16
16
|
import {
|
|
17
17
|
createSSEParser,
|
|
18
18
|
createToolRunId,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolRunSetPending,
|
|
24
24
|
toolRunStarted,
|
|
25
25
|
toolRunSucceeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5Q5LYRJH.js";
|
|
27
27
|
import {
|
|
28
28
|
getPublicImageAgentMode
|
|
29
29
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BHXK3KPV.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6RUOYAPM.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable,
|
|
10
10
|
resolveBuiltinSkillPage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5Q5LYRJH.js";
|
|
12
12
|
import {
|
|
13
13
|
isGatewayHttpStatus
|
|
14
14
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,18 +29,18 @@ import {
|
|
|
29
29
|
} from "./chunk-MEYIRKDN.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BHXK3KPV.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldUseServerProxy
|
|
35
35
|
} from "./chunk-YYLHWIW6.js";
|
|
36
36
|
import {
|
|
37
37
|
fetchServerSyncedCredential
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6RUOYAPM.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
42
42
|
resolveSkillGraphFromRoots
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NB5SIWC4.js";
|
|
44
44
|
import {
|
|
45
45
|
buildIdentityBlock,
|
|
46
46
|
buildRuntimeGuidanceBlocks,
|
|
@@ -367,10 +367,12 @@ function isResponsesConversationStateRejection(status, responseBody) {
|
|
|
367
367
|
// packages/agent-runtime/agentCallPlan.ts
|
|
368
368
|
var CODEX_RESPONSES_URL = "https://chatgpt.com/backend-api/codex/responses";
|
|
369
369
|
var CURSOR_AGENT_URL = "https://api2.cursor.sh/agent.v1.AgentService/Run";
|
|
370
|
+
var DEVIN_CONNECT_URL = "https://server.codeium.com/exa.api_server_pb.ApiServerService/GetChatMessage";
|
|
370
371
|
function resolveClientWire(plan) {
|
|
371
372
|
if (plan.upstreamWire === "gemini-cca") return "chat.completions";
|
|
372
373
|
if (plan.upstreamWire === "anthropic-messages") return "chat.completions";
|
|
373
374
|
if (plan.upstreamWire === "cursor-connect") return "chat.completions";
|
|
375
|
+
if (plan.upstreamWire === "devin-connect") return "chat.completions";
|
|
374
376
|
if (plan.upstreamWire === "responses" && plan.authMethod.kind === "oauth" && plan.authMethod.ref === "chatgpt") {
|
|
375
377
|
return "chat.completions";
|
|
376
378
|
}
|
|
@@ -450,6 +452,16 @@ function resolveAgentCallPlan(agentConfig, _env) {
|
|
|
450
452
|
vendor: provider || "cursor"
|
|
451
453
|
};
|
|
452
454
|
}
|
|
455
|
+
if (apiKeyRef === "devin" || provider === "devin") {
|
|
456
|
+
return {
|
|
457
|
+
authMethod: { kind: "oauth", ref: "devin" },
|
|
458
|
+
transport: "server-proxy",
|
|
459
|
+
upstreamWire: "devin-connect",
|
|
460
|
+
endpoint: DEVIN_CONNECT_URL,
|
|
461
|
+
requiredHeaders: ["connect-protocol-version"],
|
|
462
|
+
vendor: provider || "devin"
|
|
463
|
+
};
|
|
464
|
+
}
|
|
453
465
|
if (agentConfig.cliProvider || agentConfig.apiSource === "cli" || provider === "cli") {
|
|
454
466
|
return {
|
|
455
467
|
authMethod: { kind: "cli", provider: agentConfig.cliProvider || provider || "codex" },
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3447FUKM.js";
|
|
31
31
|
import {
|
|
32
32
|
createRunActivityTracker,
|
|
33
33
|
popSingleQueueMessage,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-LTRXGFMS.js";
|
|
64
64
|
import {
|
|
65
65
|
formatAgentListCard
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5Q5LYRJH.js";
|
|
67
67
|
import {
|
|
68
68
|
isTransientFetchError
|
|
69
69
|
} from "./chunk-5XTOKQLW.js";
|
|
@@ -84,11 +84,11 @@ import {
|
|
|
84
84
|
chooseMemoryOwners,
|
|
85
85
|
loadMemoryCandidatesFromDb,
|
|
86
86
|
resolveAgentMemoryPolicy
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-BNQK6UPC.js";
|
|
88
88
|
import {
|
|
89
89
|
API_REPORTED_COST_MULTIPLIER,
|
|
90
90
|
parseUiAskChoiceContent
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-BHXK3KPV.js";
|
|
92
92
|
import {
|
|
93
93
|
isOAuthApiKeyRef
|
|
94
94
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
112
112
|
LOCAL_TURN_ABORTED_CODE,
|
|
113
113
|
readActionGate
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-2OVE3GVB.js";
|
|
115
115
|
import {
|
|
116
116
|
resolveAgentRuntimeConfigFromRecord
|
|
117
117
|
} from "./chunk-KIS76A2P.js";
|
|
@@ -10413,7 +10413,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10413
10413
|
// packages/cli/client/agentRun.ts
|
|
10414
10414
|
import { ulid } from "ulid";
|
|
10415
10415
|
async function loadRunLocalAgentTurn() {
|
|
10416
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10416
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-PQEIUOJU.js");
|
|
10417
10417
|
return runLocalAgentTurn;
|
|
10418
10418
|
}
|
|
10419
10419
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
compileCodingEffectiveTools,
|
|
18
18
|
resolveCodingBuiltinSlug,
|
|
19
19
|
resolveCodingEffectiveTools
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-NB5SIWC4.js";
|
|
21
|
+
import "./chunk-GCJ3IS5M.js";
|
|
22
22
|
import "./chunk-AETZ7AD6.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
24
|
import "./chunk-O6OSWFZQ.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
updateContentPinned,
|
|
8
8
|
updateContentTitle,
|
|
9
9
|
uploadAndAddFileToSpace
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LZIMZZYT.js";
|
|
11
11
|
import "./chunk-ZJ7UHBJS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-BHXK3KPV.js";
|
|
13
13
|
import "./chunk-EVBFYPDC.js";
|
|
14
14
|
import "./chunk-HQUORJTM.js";
|
|
15
15
|
import "./chunk-YYLHWIW6.js";
|
|
16
16
|
import "./chunk-AGGIDPCZ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-6RUOYAPM.js";
|
|
18
18
|
import "./chunk-BJCWNHVU.js";
|
|
19
19
|
import "./chunk-5RGU3J7P.js";
|
|
20
20
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LZIMZZYT.js";
|
|
4
4
|
import "./chunk-ZJ7UHBJS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-BHXK3KPV.js";
|
|
6
6
|
import "./chunk-EVBFYPDC.js";
|
|
7
7
|
import "./chunk-HQUORJTM.js";
|
|
8
8
|
import "./chunk-YYLHWIW6.js";
|
|
9
9
|
import "./chunk-AGGIDPCZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6RUOYAPM.js";
|
|
11
11
|
import "./chunk-BJCWNHVU.js";
|
|
12
12
|
import "./chunk-5RGU3J7P.js";
|
|
13
13
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-BNQK6UPC.js";
|
|
5
|
+
import "./chunk-LZIMZZYT.js";
|
|
6
6
|
import "./chunk-ZJ7UHBJS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-BHXK3KPV.js";
|
|
8
8
|
import "./chunk-EVBFYPDC.js";
|
|
9
9
|
import "./chunk-HQUORJTM.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-6RUOYAPM.js";
|
|
13
13
|
import "./chunk-BJCWNHVU.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import "./chunk-6YTOJY35.js";
|
|
16
16
|
import "./chunk-M76ECQRD.js";
|
|
17
17
|
import "./chunk-YDH3FDFQ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-GCJ3IS5M.js";
|
|
19
19
|
import "./chunk-AETZ7AD6.js";
|
|
20
20
|
import "./chunk-KHCLMKZZ.js";
|
|
21
21
|
import "./chunk-DSRXPQWA.js";
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
client_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LZIMZZYT.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentSpaceId
|
|
20
20
|
} from "./chunk-ZJ7UHBJS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-BHXK3KPV.js";
|
|
22
22
|
import "./chunk-EVBFYPDC.js";
|
|
23
23
|
import "./chunk-HQUORJTM.js";
|
|
24
24
|
import "./chunk-YYLHWIW6.js";
|
|
25
25
|
import "./chunk-AGGIDPCZ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6RUOYAPM.js";
|
|
27
27
|
import "./chunk-BJCWNHVU.js";
|
|
28
28
|
import "./chunk-5RGU3J7P.js";
|
|
29
29
|
import "./chunk-6YTOJY35.js";
|
|
@@ -23,9 +23,10 @@ import "./chunk-KQHGZWSV.js";
|
|
|
23
23
|
import "./chunk-HQUORJTM.js";
|
|
24
24
|
import "./chunk-URMS4XY2.js";
|
|
25
25
|
import "./chunk-GLKOYSRU.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-2OVE3GVB.js";
|
|
27
27
|
import "./chunk-ZNFJWEN4.js";
|
|
28
28
|
import "./chunk-QC5LGHYP.js";
|
|
29
|
+
import "./chunk-FMODTASJ.js";
|
|
29
30
|
import "./chunk-KIS76A2P.js";
|
|
30
31
|
import "./chunk-CQ3WA2NE.js";
|
|
31
32
|
import "./chunk-N7J63Q6C.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BHXK3KPV.js";
|
|
24
24
|
import "./chunk-EVBFYPDC.js";
|
|
25
25
|
import "./chunk-HQUORJTM.js";
|
|
26
26
|
import "./chunk-YYLHWIW6.js";
|
|
27
27
|
import "./chunk-AGGIDPCZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-6RUOYAPM.js";
|
|
29
29
|
import "./chunk-BJCWNHVU.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveDialogAgentId
|
|
@@ -28,9 +28,10 @@ import "./chunk-SPAQ4PVV.js";
|
|
|
28
28
|
import "./chunk-VF4K2QE6.js";
|
|
29
29
|
import "./chunk-AETZ7AD6.js";
|
|
30
30
|
import "./chunk-KHCLMKZZ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-2OVE3GVB.js";
|
|
32
32
|
import "./chunk-ZNFJWEN4.js";
|
|
33
33
|
import "./chunk-QC5LGHYP.js";
|
|
34
|
+
import "./chunk-FMODTASJ.js";
|
|
34
35
|
import "./chunk-KIS76A2P.js";
|
|
35
36
|
import "./chunk-CQ3WA2NE.js";
|
|
36
37
|
import "./chunk-N7J63Q6C.js";
|
|
@@ -21,9 +21,10 @@ import "./chunk-KQHGZWSV.js";
|
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
22
|
import "./chunk-AETZ7AD6.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-2OVE3GVB.js";
|
|
25
25
|
import "./chunk-ZNFJWEN4.js";
|
|
26
26
|
import "./chunk-QC5LGHYP.js";
|
|
27
|
+
import "./chunk-FMODTASJ.js";
|
|
27
28
|
import "./chunk-KIS76A2P.js";
|
|
28
29
|
import "./chunk-CQ3WA2NE.js";
|
|
29
30
|
import "./chunk-N7J63Q6C.js";
|
|
@@ -16,9 +16,10 @@ import "./chunk-SPAQ4PVV.js";
|
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
17
|
import "./chunk-AETZ7AD6.js";
|
|
18
18
|
import "./chunk-KHCLMKZZ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-2OVE3GVB.js";
|
|
20
20
|
import "./chunk-ZNFJWEN4.js";
|
|
21
21
|
import "./chunk-QC5LGHYP.js";
|
|
22
|
+
import "./chunk-FMODTASJ.js";
|
|
22
23
|
import "./chunk-KIS76A2P.js";
|
|
23
24
|
import "./chunk-CQ3WA2NE.js";
|
|
24
25
|
import "./chunk-N7J63Q6C.js";
|
|
@@ -30,9 +30,10 @@ import {
|
|
|
30
30
|
resolvePageSkillMetadata
|
|
31
31
|
} from "./chunk-AETZ7AD6.js";
|
|
32
32
|
import "./chunk-KHCLMKZZ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-2OVE3GVB.js";
|
|
34
34
|
import "./chunk-ZNFJWEN4.js";
|
|
35
35
|
import "./chunk-QC5LGHYP.js";
|
|
36
|
+
import "./chunk-FMODTASJ.js";
|
|
36
37
|
import "./chunk-KIS76A2P.js";
|
|
37
38
|
import "./chunk-CQ3WA2NE.js";
|
|
38
39
|
import "./chunk-N7J63Q6C.js";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
prepareAndPersistUserMessage,
|
|
7
7
|
resolveHandleSendMessageContext,
|
|
8
8
|
selectAllMsgs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BHXK3KPV.js";
|
|
10
10
|
import "./chunk-EVBFYPDC.js";
|
|
11
11
|
import "./chunk-HQUORJTM.js";
|
|
12
12
|
import "./chunk-YYLHWIW6.js";
|
|
13
13
|
import "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
streamAgentChatTurn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6RUOYAPM.js";
|
|
17
17
|
import "./chunk-BJCWNHVU.js";
|
|
18
18
|
import "./chunk-5RGU3J7P.js";
|
|
19
19
|
import {
|