nolo-cli 0.108.0-alpha.1 → 0.109.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-GTYLDSJW.js → _executeModel-OXVCJ2BM.js} +14 -14
- package/{agentDeleteCommand-OWYHN6D6.js → agentDeleteCommand-QJAHAZ4T.js} +7 -6
- package/{agentEmailCommands-C6J2KUL2.js → agentEmailCommands-3SCPUF33.js} +20 -19
- package/{agentListCommands-B2V4YAC4.js → agentListCommands-QXGSCIV4.js} +9 -8
- package/{agentMachineCommands-UDEXV472.js → agentMachineCommands-E4NUTGI6.js} +7 -6
- package/{agentProviderCommands-GNPTL5XR.js → agentProviderCommands-X3UNW77C.js} +1 -1
- package/{agentRecordCommands-XBVDEYVC.js → agentRecordCommands-OMWI6OH5.js} +19 -18
- package/{agentRunCommand-V6RTNFRH.js → agentRunCommand-GMSUBYF6.js} +19 -18
- package/{agentRuntimeLocal-KCMC2TBD.js → agentRuntimeLocal-7MO5IJV6.js} +5 -4
- package/{agentSlice-TNH7BSUC.js → agentSlice-5H7MTCE7.js} +1 -1
- package/{appDeleteCommands-JEPA3EWE.js → appDeleteCommands-UQ5YMNLP.js} +8 -7
- package/{appDeployCommands-UTB76XFM.js → appDeployCommands-QX6BL5XL.js} +8 -7
- package/{appDeployStatusCommands-LGHF2SBD.js → appDeployStatusCommands-QHQVLR3J.js} +8 -7
- package/{appGetCommands-PX2BFHOB.js → appGetCommands-GY4NGSF4.js} +8 -7
- package/{appListCommands-BSMPTWKC.js → appListCommands-IZCYPSKI.js} +8 -7
- package/{authCommand-YW42YZA4.js → authCommand-HGP2XTKC.js} +99 -7
- package/{builtinSkillRegistry-FUAVTRVZ.js → builtinSkillRegistry-Q2VVY3SC.js} +2 -2
- package/{chatQueueReduxAdapter-XMFWRG3P.js → chatQueueReduxAdapter-LO7EUBKJ.js} +2 -2
- package/{chunk-PQFHGD77.js → chunk-2OASQKU2.js} +1 -1
- package/{chunk-QQWJUHSL.js → chunk-3OD2OTTR.js} +1 -1
- package/{chunk-EEGDMATE.js → chunk-AODJ7WSF.js} +3 -3
- package/{chunk-7U6P3PHS.js → chunk-APB6ES6B.js} +1 -1
- package/{chunk-TYYSADX4.js → chunk-CQ5TTXPU.js} +5 -5
- package/{chunk-62CATUYY.js → chunk-DGE5HEGA.js} +13 -770
- package/{chunk-R7RHOSZU.js → chunk-DNAF7JC6.js} +26 -22
- package/chunk-FV3JEYR3.js +870 -0
- package/{chunk-DHDMC6FO.js → chunk-GIVFXPWK.js} +2 -0
- package/chunk-GMZLP5DV.js +82 -0
- package/{chunk-UZGQNTVW.js → chunk-GNCCNNZD.js} +3 -1
- package/{chunk-GO3Z72MT.js → chunk-H4AHY5BU.js} +3 -80
- package/{chunk-QWL5QZGU.js → chunk-HLKK4S6U.js} +2 -2
- package/{chunk-AG2AZ6GX.js → chunk-HQTMPHIS.js} +118 -14
- package/{chunk-NA35QHCF.js → chunk-HSSRGGXJ.js} +1 -1
- package/{chunk-RRM7AJ3M.js → chunk-HWGNS46C.js} +3 -3
- package/{chunk-GEPUP7OO.js → chunk-IQPFGYO3.js} +1 -1
- package/{chunk-XT35TTFG.js → chunk-KZJP33ZK.js} +1 -1
- package/{chunk-BVGTK7MR.js → chunk-L6LNO27F.js} +42 -29
- package/{chunk-GPCZ7UXG.js → chunk-LJ5VW2UJ.js} +1 -1
- package/{chunk-JRQFUXY7.js → chunk-LVIFM7VW.js} +1 -1
- package/{chunk-AEOE4Z6Q.js → chunk-LWKP7AWH.js} +1 -1
- package/{chunk-PVZT43MU.js → chunk-LXATDEM7.js} +3 -3
- package/{chunk-CSC3CU4K.js → chunk-PBF2K4ER.js} +3 -3
- package/{chunk-ETI2NYVF.js → chunk-PHXD6JTX.js} +1 -1
- package/{chunk-L7OXGGBN.js → chunk-QHYC7W2Y.js} +2 -2
- package/{chunk-RRPWH4LX.js → chunk-QPPZN3AA.js} +3 -3
- package/{chunk-KQ4ONNQD.js → chunk-QU7KDSZX.js} +1 -1
- package/{chunk-DUK4OQNO.js → chunk-TJOYV65D.js} +5 -5
- package/{chunk-TWQWYIMJ.js → chunk-XA6KE2HD.js} +8 -8
- package/{chunk-53HEEOTT.js → chunk-Z5625XML.js} +1 -1
- package/{contentThunks-3Z6NAUW6.js → contentThunks-L4UB5RXR.js} +3 -3
- package/{createAgentAutomationAction-OBH7GPW5.js → createAgentAutomationAction-FOXQWOJQ.js} +3 -3
- package/{createDialogAction-7XW3RX2A.js → createDialogAction-YRAHHXWR.js} +5 -5
- package/{createPageAction-JJ7UUTWC.js → createPageAction-MVFMLE3N.js} +3 -3
- package/{dialogCommands-H7FPUYUQ.js → dialogCommands-HSLLNN4Y.js} +8 -7
- package/{dialogSlice-6Z2BPC3T.js → dialogSlice-VI4GR4PA.js} +2 -2
- package/{docCreateCommands-WRG2JLGM.js → docCreateCommands-I2Y4IR2O.js} +7 -6
- package/{docDeleteCommands-SHWJIBJS.js → docDeleteCommands-TLRPJXQ6.js} +8 -7
- package/{docReadCommands-WJN3WT6O.js → docReadCommands-6AKGK2LU.js} +7 -6
- package/{docStore-7WUS6XXX.js → docStore-X75VCYIF.js} +1 -1
- package/{docUpdateCommands-IE32IL6O.js → docUpdateCommands-54AZTMMH.js} +7 -6
- package/{handleSendMessageAction-GUBOMCGM.js → handleSendMessageAction-E3B2YV3N.js} +2 -2
- package/index.js +51 -51
- package/{machineCommands-KSN4COGR.js → machineCommands-MGVJGN3N.js} +18 -17
- package/{machineWsRunDispatch-AAG6PDBY.js → machineWsRunDispatch-AHRZCOIG.js} +18 -17
- package/package.json +1 -1
- package/{providerPresetApply-FG6NZ57W.js → providerPresetApply-XI3WUPTI.js} +2 -2
- package/{providerRegistry-757OWH3O.js → providerRegistry-KEPWWGXD.js} +2 -2
- package/{readlineWorkspace-HO62DKCG.js → readlineWorkspace-2G3MDALM.js} +22 -21
- package/{runAgentClientLoop-JLRJIF3F.js → runAgentClientLoop-O4EDXPBJ.js} +12 -12
- package/{spaceCommands-5GLCWZPO.js → spaceCommands-ESJCQ5UY.js} +7 -6
- package/{streamAgentChatTurn-DZ3PP7ZH.js → streamAgentChatTurn-OBSA4Z6K.js} +15 -13
- package/{tools-XA4ZWLH4.js → tools-XBU2MRGG.js} +10 -10
- package/{tuiSummaryLlmCaller-OHHFTHMG.js → tuiSummaryLlmCaller-UFGFOIIW.js} +2 -1
- package/{updateDialogTitleAction-VWZT4J6J.js → updateDialogTitleAction-DATQ2KIC.js} +3 -3
- package/chunk-Q5FJJ6XI.js +0 -103
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolveLocalUserId,
|
|
31
31
|
t,
|
|
32
32
|
toolLabel
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-L6LNO27F.js";
|
|
34
34
|
import {
|
|
35
35
|
createRunActivityTracker,
|
|
36
36
|
popSingleQueueMessage,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
readDbRecord,
|
|
53
53
|
resolveAgentRecordFromHybridStore
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LWKP7AWH.js";
|
|
55
55
|
import {
|
|
56
56
|
isLocalCliAgentKey
|
|
57
57
|
} from "./chunk-SV5IJK6K.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-LTRXGFMS.js";
|
|
65
65
|
import {
|
|
66
66
|
formatAgentListCard
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-HQTMPHIS.js";
|
|
68
68
|
import {
|
|
69
69
|
isTransientFetchError
|
|
70
70
|
} from "./chunk-5UTFL4QJ.js";
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-QPPZN3AA.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
parseUiAskChoiceContent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-XA6KE2HD.js";
|
|
96
96
|
import {
|
|
97
97
|
isOAuthApiKeyRef
|
|
98
98
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
116
116
|
LOCAL_TURN_ABORTED_CODE,
|
|
117
117
|
readActionGate
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-DGE5HEGA.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
121
|
} from "./chunk-4MK3I7Y4.js";
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
} from "./chunk-FDTR4QJ6.js";
|
|
134
134
|
import {
|
|
135
135
|
isAntigravityOAuthAgent
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-GNCCNNZD.js";
|
|
137
137
|
import {
|
|
138
138
|
resolveClientVersion
|
|
139
139
|
} from "./chunk-6OZ36FXI.js";
|
|
@@ -10459,7 +10459,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10459
10459
|
// packages/cli/client/agentRun.ts
|
|
10460
10460
|
import { ulid as ulid2 } from "ulid";
|
|
10461
10461
|
async function loadRunLocalAgentTurn() {
|
|
10462
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10462
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-7MO5IJV6.js");
|
|
10463
10463
|
return runLocalAgentTurn;
|
|
10464
10464
|
}
|
|
10465
10465
|
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();
|
|
@@ -10788,19 +10788,21 @@ function buildAuthFailure(ctx) {
|
|
|
10788
10788
|
const fix = platformNoToken ? `This install is not logged in \u2014 run \`nolo login\`, or set AUTH_TOKEN / NOLO_SERVER` : ctx.where === "server chat proxy" ? `Check the agent's provider/api-key settings on nolo.chat` : `Fix the local credential/config and retry`;
|
|
10789
10789
|
const { url: validationUrl, text: validationText } = extractGoogleValidationLink(ctx.message);
|
|
10790
10790
|
const validationLabel = validationText || "Verify your account";
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
${formatCliHyperlink(
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10798
|
-
|
|
10799
|
-
|
|
10800
|
-
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
10791
|
+
if (validationUrl) {
|
|
10792
|
+
const linkLine = `
|
|
10793
|
+
${formatCliHyperlink(validationUrl, validationLabel)}`;
|
|
10794
|
+
const rawLine = resolveCliHyperlinkEnabled() ? `
|
|
10795
|
+
\u70B9\u4E0D\u4E86\u5C31\u590D\u5236\u8FD9\u884C: ${validationUrl}` : "";
|
|
10796
|
+
const verifyHint = `
|
|
10797
|
+
\u24D8 \u60F3\u4E00\u952E\u6253\u5F00\uFF1F\u8DD1 \`nolo auth antigravity --verify\` \u2014\u2014 \u5B83\u4F1A\u7528\u672C\u5730\u51ED\u8BC1\u62FF\u5230\u5F53\u524D\u9A8C\u8BC1\u94FE\u63A5\u5E76\u76F4\u63A5\u62C9\u8D77\u6D4F\u89C8\u5668\u3002`;
|
|
10798
|
+
const retryLine = `
|
|
10799
|
+
\u9A8C\u8BC1\u5B8C\u6210\u540E\u76F4\u63A5\u91CD\u8BD5\u521A\u624D\u7684\u547D\u4EE4\u5373\u53EF\uFF0Ctoken \u4E0D\u7528\u91CD\u65B0\u767B\u5F55\u3002`;
|
|
10800
|
+
return `${RUN_UNAVAILABLE_PREFIX} (${ctx.where} returned HTTP ${ctx.status}: Google requires a one-time account verification \u2014 your credential is fine).
|
|
10801
|
+
Open this link in a browser signed into ${ctx.credentialAccountId ? `\`${ctx.credentialAccountId}\`` : "the Google account behind this credential"}:${linkLine}${rawLine}${verifyHint}${retryLine}
|
|
10802
|
+
Detail: ${ctx.message} ${NO_FALLBACK} Use --server to run on the server explicitly.
|
|
10803
|
+
`;
|
|
10804
|
+
}
|
|
10805
|
+
return `${RUN_UNAVAILABLE_PREFIX} (${ctx.where} returned HTTP ${ctx.status}, auth rejected). Detail: ${ctx.message} ${NO_FALLBACK} ${fix}, ${SERVER_FALLBACK_HINT}.
|
|
10804
10806
|
`;
|
|
10805
10807
|
}
|
|
10806
10808
|
function isAuthNoTokenBody(message) {
|
|
@@ -10843,6 +10845,7 @@ var FAILURE_BUILDERS = {
|
|
|
10843
10845
|
upstream: buildUpstreamFailure
|
|
10844
10846
|
};
|
|
10845
10847
|
function describeLocalRunFailure(message, rawError) {
|
|
10848
|
+
const credentialAccountId = rawError && typeof rawError === "object" && typeof rawError.credentialAccountId === "string" ? rawError.credentialAccountId.trim() || void 0 : void 0;
|
|
10846
10849
|
if (rawError && typeof rawError === "object" && "code" in rawError && rawError.code === "PLATFORM_STREAM_INTERRUPTED") {
|
|
10847
10850
|
return "[nolo] The platform LLM stream was interrupted before the turn completed. Your conversation was preserved. Send another message to continue.\n";
|
|
10848
10851
|
}
|
|
@@ -10920,7 +10923,8 @@ function describeLocalRunFailure(message, rawError) {
|
|
|
10920
10923
|
status: cls.status,
|
|
10921
10924
|
...cls.statusInferred ? { statusInferred: true } : {},
|
|
10922
10925
|
...cls.quotaExhausted ? { quotaExhausted: true } : {},
|
|
10923
|
-
...cooldownUntil ? { cooldownUntil } : {}
|
|
10926
|
+
...cooldownUntil ? { cooldownUntil } : {},
|
|
10927
|
+
...credentialAccountId ? { credentialAccountId } : {}
|
|
10924
10928
|
};
|
|
10925
10929
|
return FAILURE_BUILDERS[cls.kind](ctx);
|
|
10926
10930
|
}
|