nolo-cli 0.204.0-alpha.2 → 0.205.0-alpha.1
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-ZUESBV6T.js → _executeModel-Y4Y6NSF2.js} +16 -16
- package/{agentDeleteCommand-INOBZ3HP.js → agentDeleteCommand-QDQJ3HRU.js} +22 -22
- package/{agentEmailCommands-J6UTZBJC.js → agentEmailCommands-CMMDVTMB.js} +24 -24
- package/{agentListCommands-6344UIVZ.js → agentListCommands-YVUCTMRI.js} +13 -13
- package/{agentMachineCommands-TE6IRTIB.js → agentMachineCommands-AHMFIF7U.js} +10 -10
- package/{agentProviderCommands-MEFUIECN.js → agentProviderCommands-SKW4L6NN.js} +2 -2
- package/{agentRecordCommands-34MHHVFX.js → agentRecordCommands-G6RARTFX.js} +22 -22
- package/{agentRunCommand-7OMDQBRA.js → agentRunCommand-G7IJ23OW.js} +23 -23
- package/{agentRuntimeLocal-EO6WCTF2.js → agentRuntimeLocal-7Q72MXKN.js} +8 -8
- package/{agentSlice-HUFGX25R.js → agentSlice-ZRGNTU3K.js} +1 -1
- package/{appDeleteCommands-3DCLKVYC.js → appDeleteCommands-ZUKOQOIM.js} +12 -12
- package/{appDeployCommands-X3MUBDOP.js → appDeployCommands-G5YC3DKA.js} +12 -12
- package/{appDeployStatusCommands-PXC3EHHS.js → appDeployStatusCommands-EMOTU2NU.js} +12 -12
- package/{appGetCommands-ETPPE6H7.js → appGetCommands-N3D2EBDM.js} +12 -12
- package/{appListCommands-OFIDLALN.js → appListCommands-DGSGMKJL.js} +12 -12
- package/{authCommand-KPTIANH2.js → authCommand-NZC3H2EN.js} +62 -8
- package/{chromeOpsCommands-O4J346EQ.js → chromeOpsCommands-ECVS6CAO.js} +1 -1
- package/{chunk-VXZ4YYNK.js → chunk-2U2DMUGG.js} +52 -37
- package/{chunk-266E37EL.js → chunk-354R5A62.js} +3 -3
- package/{chunk-33W4IFUU.js → chunk-5MXA4LWL.js} +1 -1
- package/{chunk-E4KACSRR.js → chunk-5OV4MVQK.js} +2 -2
- package/{chunk-IK6AAUGM.js → chunk-6AMR3AE6.js} +2 -2
- package/{chunk-QUJ3IHEK.js → chunk-767YOSGT.js} +2 -2
- package/{chunk-CJ37ZMCQ.js → chunk-7C45ONOU.js} +1 -1
- package/{chunk-BC4UX4EZ.js → chunk-7COVU5SP.js} +2 -2
- package/{chunk-CQHMBWZH.js → chunk-7NMNKOW5.js} +1 -1
- package/{chunk-EPJFGQYO.js → chunk-7T5TLIY4.js} +1 -1
- package/{chunk-SEEXRWNB.js → chunk-ACMRWLRR.js} +26 -20
- package/{chunk-BER2RSTL.js → chunk-DTLSKEXN.js} +2 -2
- package/{chunk-G7RFM5QA.js → chunk-EDSRC2JN.js} +2 -2
- package/{chunk-YR4MRACW.js → chunk-F6MQO3YY.js} +3 -3
- package/{chunk-IZLXIV5L.js → chunk-HSZ2YEPR.js} +1 -1
- package/{chunk-VCFU3BO5.js → chunk-JASKVAYJ.js} +2 -2
- package/{chunk-6I7ZP7KJ.js → chunk-JBWLZ3CB.js} +2 -2
- package/{chunk-UMIQZ7PX.js → chunk-JTLREMIA.js} +3 -3
- package/{chunk-M43VXSMX.js → chunk-JX2QFYIA.js} +2 -2
- package/{chunk-HNO2SEYI.js → chunk-KJCSY4TW.js} +8 -8
- package/{chunk-4KPB3KWX.js → chunk-LTI5T3A6.js} +309 -82
- package/{chunk-3MXJWFLO.js → chunk-MFUGGMIS.js} +1 -1
- package/{chunk-MZXWSY4E.js → chunk-MNWKNN6V.js} +1 -1
- package/{chunk-H7HWWNJB.js → chunk-PJILX6KS.js} +1 -1
- package/{chunk-E4LYPSYM.js → chunk-PPCUXO3E.js} +12 -0
- package/{chunk-NGJWYWCF.js → chunk-QEHXPNCZ.js} +5 -5
- package/{chunk-SXMTSDFS.js → chunk-RMLFNM3J.js} +2 -2
- package/{chunk-JH7KMNGT.js → chunk-RQDGDKFL.js} +1 -1
- package/{chunk-YPYNRTWB.js → chunk-SH52SBSW.js} +4 -4
- package/{chunk-DQ7PCRZ6.js → chunk-T6CHEJ27.js} +4 -4
- package/{chunk-6KWPMJ5C.js → chunk-TYKUYQDP.js} +6 -6
- package/{chunk-77GDSGRM.js → chunk-UETRBTZ2.js} +29 -12
- package/{chunk-SZXJVQ7L.js → chunk-VT3MVIIU.js} +7 -7
- package/{chunk-P4YLK2OD.js → chunk-XNOILBHV.js} +1 -1
- package/{chunk-VEUSD6OF.js → chunk-YF4ZRVP3.js} +5 -1
- package/{chunk-JL3YTCPQ.js → chunk-YHT3ZONH.js} +2 -2
- package/{chunk-NTLJGRAT.js → chunk-YT65GYRP.js} +1 -1
- package/{chunk-KCYY5F2P.js → chunk-ZIEPLFWS.js} +2 -2
- package/{commandRegistry-XBZJWVTJ.js → commandRegistry-HTURFH3S.js} +59 -59
- package/{contentThunks-V5NBNTC5.js → contentThunks-DYUKG2UT.js} +3 -3
- package/{cooldownCommands-BLRMLW7Q.js → cooldownCommands-WGVSKMU4.js} +1 -1
- package/{createAgentAutomationAction-4TXJ366P.js → createAgentAutomationAction-Y4BMH7SM.js} +3 -3
- package/{createDialogAction-4SPT75DB.js → createDialogAction-RY47EJA7.js} +4 -4
- package/{createPageAction-D4GMHUPC.js → createPageAction-RLV5IWBB.js} +3 -3
- package/{dialogCommands-6RRP5KUH.js → dialogCommands-UR3JECOS.js} +12 -12
- package/{dialogSlice-IGPTWSPB.js → dialogSlice-X23NSXGM.js} +2 -2
- package/{docCreateCommands-7ODYDGRL.js → docCreateCommands-AM3RDP6K.js} +11 -11
- package/{docDeleteCommands-OEIRM3CC.js → docDeleteCommands-KCRF23RY.js} +12 -12
- package/{docReadCommands-W56GNAWP.js → docReadCommands-M4SZAVQR.js} +11 -11
- package/{docStore-HEAGW26W.js → docStore-OCOEV524.js} +1 -1
- package/{docUpdateCommands-33Q3SEG7.js → docUpdateCommands-XU6NSHXX.js} +11 -11
- package/{handleSendMessageAction-R2E7VYHQ.js → handleSendMessageAction-JYLG2PGY.js} +10 -10
- package/index.js +7 -7
- package/{localRuntimeAdapter-J5GD66XZ.js → localRuntimeAdapter-GQCC7EJL.js} +20 -20
- package/{machineCommands-AT7B4LFO.js → machineCommands-SYG2QENB.js} +21 -21
- package/{machineWsRunDispatch-CRDELH46.js → machineWsRunDispatch-HJWCU2XA.js} +21 -21
- package/package.json +1 -1
- package/{providerPresetApply-HBBUUVJD.js → providerPresetApply-EQESXT6X.js} +1 -1
- package/{providerRegistry-5LK2NXYE.js → providerRegistry-PZ56P43E.js} +1 -1
- package/{readlineWorkspace-FPHZGNZP.js → readlineWorkspace-457FDLML.js} +28 -28
- package/{runAgentClientLoop-6AAA5HNQ.js → runAgentClientLoop-O6XYZPOG.js} +14 -14
- package/{secretCommands-S2DDPIQ4.js → secretCommands-RLIO3QK5.js} +1 -1
- package/{spaceCommands-LPKHBCPU.js → spaceCommands-SVGAP4C2.js} +10 -10
- package/{streamAgentChatTurn-WNNXYOLC.js → streamAgentChatTurn-VWPG52FR.js} +18 -18
- package/{tools-QLURHFLS.js → tools-WFCFBL74.js} +9 -9
- package/{tuiSummaryLlmCaller-73QO3HAD.js → tuiSummaryLlmCaller-CEIZAKUV.js} +4 -4
- package/{updateCommands-LEJRRVBB.js → updateCommands-N7K7TEU4.js} +3 -3
- package/{updateDialogTitleAction-5UVS3ADT.js → updateDialogTitleAction-ZBQOKKO4.js} +3 -3
- package/{windowsSelfUpdate-LSSQLXVS.js → windowsSelfUpdate-SVJKL6VH.js} +2 -2
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEVIN_CONNECT_URL,
|
|
3
3
|
parseSseDataLineJson,
|
|
4
4
|
parseSseDataLineObject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JASKVAYJ.js";
|
|
6
6
|
import {
|
|
7
7
|
applyChatCompletionDelta,
|
|
8
8
|
applyResponsesToolEvent,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7NMNKOW5.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-HNUWUO75.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
hasImageInRuntimeMessages,
|
|
31
31
|
stripImagePartsFromMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MNWKNN6V.js";
|
|
33
33
|
import {
|
|
34
34
|
clipToolText,
|
|
35
35
|
resolveHistoricalToolContentCap,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
resolveAgentImageInputSupport,
|
|
40
40
|
resolveToolImagePolicy
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-JBWLZ3CB.js";
|
|
42
42
|
import {
|
|
43
43
|
applyShapingCounts,
|
|
44
44
|
attachProjectionFacts,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
hashStablePrefixContent,
|
|
74
74
|
resolveResponseGuidelines,
|
|
75
75
|
resolveToolGuidedSections
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-6AMR3AE6.js";
|
|
77
77
|
import {
|
|
78
78
|
classifyUnparsableToolArgs,
|
|
79
79
|
collectStablePromptPrefix,
|
|
@@ -16060,7 +16060,7 @@ function buildTaskStopTool() {
|
|
|
16060
16060
|
type: "function",
|
|
16061
16061
|
function: {
|
|
16062
16062
|
name: "taskStop",
|
|
16063
|
-
description: 'Stop a background task: SIGTERM to its process group, then SIGKILL if it is still alive after a short grace window. Returns {outcome, status, signal, escalated}: outcome "stopped" with status "stopped" on success, or outcome "not-stoppable" (already finished, or a foreground command that is not a background task) or "not-found". Never reports success without signalling.',
|
|
16063
|
+
description: 'Stop a background task: SIGTERM to its process group, then SIGKILL if it is still alive after a short grace window. Returns {outcome, status, signal, escalated}: outcome "stopped" with status "stopped" on success, or outcome "not-stoppable" (already finished, or a foreground command that is not a background task) or "not-found". Never reports success without signalling. Note: taskId is the handle returned by launchProcess or a detached execShell result (e.g. "ptask-..."). To stop an agent run, use controlAgentRun(action: "stop", runId: "...") instead; do not pass runId or empty strings to taskStop.',
|
|
16064
16064
|
parameters: {
|
|
16065
16065
|
type: "object",
|
|
16066
16066
|
properties: {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MFUGGMIS.js";
|
|
13
13
|
import {
|
|
14
14
|
parsePositiveFiniteNumberOrFallback
|
|
15
15
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
readDbRecord,
|
|
21
21
|
resolveAgentRecordFromHybridStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7C45ONOU.js";
|
|
23
23
|
import {
|
|
24
24
|
INSTABOX_RUN_CONFIG_ENV,
|
|
25
25
|
createCliLocalRuntimeAdapter,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveFileWriteGateEnabled,
|
|
39
39
|
resolveLocalUserId,
|
|
40
40
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2U2DMUGG.js";
|
|
42
42
|
import {
|
|
43
43
|
clearCredentialAvailability,
|
|
44
44
|
readEffectiveCredentialEntry,
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
} from "./chunk-BMQ2MJUK.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ACMRWLRR.js";
|
|
76
76
|
import {
|
|
77
77
|
isTransientFetchError
|
|
78
78
|
} from "./chunk-KFHREHUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ZIEPLFWS.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-EDSRC2JN.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
estimateMessagesTokens,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
resolveAgentContextWindow,
|
|
97
97
|
resolveOccupancy,
|
|
98
98
|
resolveOccupancyWindow
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-KJCSY4TW.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliAuthorityBrokerProtocolError,
|
|
102
102
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -116,10 +116,10 @@ import {
|
|
|
116
116
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
117
117
|
LOCAL_TURN_ABORTED_CODE,
|
|
118
118
|
readActionGate
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-TYKUYQDP.js";
|
|
120
120
|
import {
|
|
121
121
|
resolveAgentRuntimeConfigFromRecord
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-MNWKNN6V.js";
|
|
123
123
|
import {
|
|
124
124
|
createThinkParserState,
|
|
125
125
|
flushThinkParser,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
} from "./chunk-M2EJHDJP.js";
|
|
179
179
|
import {
|
|
180
180
|
isAntigravityOAuthAgent
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-YF4ZRVP3.js";
|
|
182
182
|
import {
|
|
183
183
|
createRunActivityTracker,
|
|
184
184
|
createShellApprovalChild,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
t,
|
|
231
231
|
toolLabel,
|
|
232
232
|
toolLabelVariants
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-PPCUXO3E.js";
|
|
234
234
|
import {
|
|
235
235
|
createMemoryKey
|
|
236
236
|
} from "./chunk-ECX3NKRD.js";
|
|
@@ -11412,7 +11412,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11412
11412
|
|
|
11413
11413
|
// packages/cli/client/agentRun.ts
|
|
11414
11414
|
async function loadRunLocalAgentTurn() {
|
|
11415
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11415
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-7Q72MXKN.js");
|
|
11416
11416
|
return runLocalAgentTurn;
|
|
11417
11417
|
}
|
|
11418
11418
|
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();
|
|
@@ -11774,6 +11774,23 @@ function buildAuthFailure(ctx) {
|
|
|
11774
11774
|
\xB7 Start the connector on this machine: \`nolo connect --daemon\` (\`nolo machine status\` shows whether it is online and connected to the same server)
|
|
11775
11775
|
\xB7 Force a fully local run with --local (needs a local credential for this agent), or run on the server: --server
|
|
11776
11776
|
Detail: ${ctx.message} ${NO_FALLBACK} ${SERVER_FALLBACK_HINT}
|
|
11777
|
+
`;
|
|
11778
|
+
}
|
|
11779
|
+
if (ctx.status === 403 && ctx.message.includes("owner-required proxy failed") && /"code"\s*:\s*"owner_oauth_unavailable"/i.test(ctx.message)) {
|
|
11780
|
+
return `${RUN_UNAVAILABLE_PREFIX} (${ctx.where} returned HTTP ${ctx.status}, the agent owner's OAuth credential is unavailable on the server \u2014 \u5206\u4EAB\u8005\uFF08agent \u6240\u6709\u8005\uFF09\u7684 OAuth \u51ED\u636E\u5728\u670D\u52A1\u7AEF\u4E0D\u53EF\u7528; owner_oauth_unavailable).
|
|
11781
|
+
\xB7 Ask the agent owner to run \`nolo auth <provider> --sync-to-server\` (or re-authenticate) / \u8BF7 owner \u6267\u884C \`nolo auth <provider> --sync-to-server\`\uFF08\u6216\u91CD\u65B0\u6388\u6743\uFF09
|
|
11782
|
+
\xB7 Re-logging in on your local machine will not resolve this (the credential belongs to the agent owner, not this machine) / \u4F60\u672C\u673A\u91CD\u65B0\u767B\u5F55\u4E0D\u4F1A\u89E3\u51B3
|
|
11783
|
+
\xB7 Running with --server will not bypass this (server runs also require the owner's credential) / --server \u4E5F\u7ED5\u4E0D\u8FC7\uFF08\u670D\u52A1\u7AEF\u8DEF\u5F84\u540C\u6837\u8981\u7528 owner \u51ED\u636E\uFF09
|
|
11784
|
+
Detail: ${ctx.message} ${NO_FALLBACK} ${SERVER_FALLBACK_HINT}
|
|
11785
|
+
`;
|
|
11786
|
+
}
|
|
11787
|
+
if ((ctx.status === 403 || ctx.status === 401) && ctx.message.includes("owner-required proxy failed") && /"code"\s*:\s*"(?:owner_grant_denied|owner_grant_revoked)"/i.test(ctx.message)) {
|
|
11788
|
+
const codeMatch = /"code"\s*:\s*"(owner_grant_(?:denied|revoked))"/i.exec(ctx.message);
|
|
11789
|
+
const code = codeMatch ? codeMatch[1].toLowerCase() : "owner_grant_denied";
|
|
11790
|
+
return `${RUN_UNAVAILABLE_PREFIX} (${ctx.where} returned HTTP ${ctx.status}, no valid grant for this agent \u2014 \u4F60\u5BF9\u8FD9\u4E2A agent \u6CA1\u6709\u6709\u6548\u6388\u6743\uFF08\u5206\u4EAB\u672A\u751F\u6548\u6216\u5DF2\u88AB\u64A4\u9500\uFF09; ${code}).
|
|
11791
|
+
\xB7 Ask the agent owner to re-share or grant access to this agent / \u8BF7\u8054\u7CFB owner \u91CD\u65B0\u5206\u4EAB\u6216\u6388\u6743
|
|
11792
|
+
\xB7 Re-logging in on your local machine will not resolve this (the grant must come from the agent owner) / \u4F60\u672C\u673A\u91CD\u65B0\u767B\u5F55\u4E0D\u4F1A\u89E3\u51B3
|
|
11793
|
+
Detail: ${ctx.message} ${NO_FALLBACK} ${SERVER_FALLBACK_HINT}
|
|
11777
11794
|
`;
|
|
11778
11795
|
}
|
|
11779
11796
|
return `${RUN_UNAVAILABLE_PREFIX} (${ctx.where} returned HTTP ${ctx.status}, auth rejected). Detail: ${ctx.message} ${NO_FALLBACK} ${fix}, ${SERVER_FALLBACK_HINT}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7COVU5SP.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SH52SBSW.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ACMRWLRR.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DTLSKEXN.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZIEPLFWS.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
toast,
|
|
47
47
|
toolResultNeedsUserConfirmation,
|
|
48
48
|
updateToolMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-KJCSY4TW.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-F6MQO3YY.js";
|
|
53
53
|
import {
|
|
54
54
|
addActiveController,
|
|
55
55
|
getActiveDialogKey,
|
|
@@ -50,7 +50,11 @@ var ANTIGRAVITY_SCOPES = [
|
|
|
50
50
|
"https://www.googleapis.com/auth/userinfo.email",
|
|
51
51
|
"https://www.googleapis.com/auth/userinfo.profile",
|
|
52
52
|
"https://www.googleapis.com/auth/cclog",
|
|
53
|
-
"https://www.googleapis.com/auth/experimentsandconfigs"
|
|
53
|
+
"https://www.googleapis.com/auth/experimentsandconfigs",
|
|
54
|
+
// Antigravity 的「附加模型」(Claude / GPT-OSS 经其代理)需要这个 scope;
|
|
55
|
+
// 对齐 oh-my-pi 的 google-antigravity 授权范围。只影响**新登录**:老凭据没有它
|
|
56
|
+
// 也能继续用 Gemini,不强制重新授权。
|
|
57
|
+
"https://www.googleapis.com/auth/aicode"
|
|
54
58
|
];
|
|
55
59
|
var ANTIGRAVITY_ACCESS_TOKEN_CLIENT_SKEW_MS = 5 * 60 * 1e3;
|
|
56
60
|
var ANTIGRAVITY_TOKEN_REQUEST_TIMEOUT_MS = 3e4;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireTokenUser
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YT65GYRP.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveServerUrl
|
|
6
6
|
} from "./chunk-WACI5I6V.js";
|
|
7
7
|
import {
|
|
8
8
|
t
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PPCUXO3E.js";
|
|
10
10
|
|
|
11
11
|
// packages/cli/cliApiClient.ts
|
|
12
12
|
var CliApiError = class extends Error {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-RXUKDHS5.js";
|
|
17
17
|
import {
|
|
18
18
|
fetchAndCacheTableRows
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HSZ2YEPR.js";
|
|
20
20
|
import {
|
|
21
21
|
createSpaceKey
|
|
22
22
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -783,7 +783,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
783
783
|
if (!executionInput) {
|
|
784
784
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
785
785
|
}
|
|
786
|
-
const { findToolExecutor } = await import("./tools-
|
|
786
|
+
const { findToolExecutor } = await import("./tools-WFCFBL74.js");
|
|
787
787
|
const { executor } = findToolExecutor(run.toolName);
|
|
788
788
|
toolRunStarted({
|
|
789
789
|
id: run.id,
|