nolo-cli 0.228.0-alpha.1 → 0.228.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-WZKT6XEU.js → _executeModel-VYCHHZVT.js} +18 -16
- package/{agentDeleteCommand-PZWRHNXY.js → agentDeleteCommand-QWQKT54A.js} +24 -22
- package/{agentEmailCommands-QTKMEICX.js → agentEmailCommands-EISMBIRE.js} +24 -22
- package/{agentListCommands-GUGMORTK.js → agentListCommands-4WLG32IW.js} +23 -415
- package/{agentMachineCommands-7QGICJLM.js → agentMachineCommands-DC6NKWTU.js} +12 -11
- package/{agentRecordCommands-SLLADS5C.js → agentRecordCommands-IZYUVHME.js} +24 -22
- package/{agentRunCommand-OFQLOF5Y.js → agentRunCommand-QM7ETUTX.js} +25 -23
- package/{agentRuntimeLocal-TU4LA353.js → agentRuntimeLocal-HOXKWCYO.js} +9 -8
- package/{agentSlice-L4SBGWTB.js → agentSlice-UG76KEBH.js} +1 -1
- package/{appDeleteCommands-JWP3XPUA.js → appDeleteCommands-WWCC6WA5.js} +13 -12
- package/{appDeployCommands-6E4TQCWI.js → appDeployCommands-AU4IUN33.js} +13 -12
- package/{appDeployStatusCommands-ALU4SADG.js → appDeployStatusCommands-STUW7WXL.js} +13 -12
- package/{appGetCommands-JEY4L6L4.js → appGetCommands-BGTLIQ4K.js} +13 -12
- package/{appListCommands-PCAVHU7M.js → appListCommands-CUCPRUXW.js} +13 -12
- package/{authCommand-CGRIIOOV.js → authCommand-OZ2KTP4Z.js} +2 -2
- package/{chunk-JUSHVFNF.js → chunk-3QIYD3VM.js} +414 -342
- package/{chunk-H6L2NFHY.js → chunk-3VZLEKV2.js} +2 -2
- package/{chunk-3P54D2E4.js → chunk-42OKN2LI.js} +1 -1
- package/{chunk-EXJK7TQO.js → chunk-45CAVC35.js} +43 -288
- package/{chunk-SMJEXX2S.js → chunk-4QYJPWHH.js} +2 -2
- package/{chunk-Q3IVPFVO.js → chunk-5YMA6DDZ.js} +1 -1
- package/{chunk-R3NEQZ53.js → chunk-7BCG67EI.js} +8 -8
- package/{chunk-CYWNWA77.js → chunk-7FEP5USX.js} +6 -3
- package/{chunk-GACR7H6T.js → chunk-CNMY2XM6.js} +2 -2
- package/{chunk-STJ6LSQE.js → chunk-DLXMMTGM.js} +82 -21
- package/{chunk-MDZWUD3R.js → chunk-EGHP7KOY.js} +3 -3
- package/{chunk-AGYPUBFW.js → chunk-FPBJM2BW.js} +4 -1
- package/{chunk-IXG6YXQM.js → chunk-GAYNXB6T.js} +51 -40
- package/{chunk-XJPLSAPJ.js → chunk-HF7BLF3F.js} +2 -2
- package/{chunk-GYS5FUYR.js → chunk-HXB4VDGK.js} +1 -1
- package/{chunk-BNMPUQW6.js → chunk-JQZRSXS5.js} +23 -23
- package/{chunk-VSYTM22R.js → chunk-LYD6C7OU.js} +2 -2
- package/{chunk-QBZCGP34.js → chunk-M3OZRQNH.js} +1 -1
- package/{chunk-DDC6P6EH.js → chunk-MJI3UAXN.js} +34 -10
- package/{chunk-RYOLWYBK.js → chunk-MNEZUL5S.js} +16 -1
- package/{chunk-GOCSSER3.js → chunk-MZG5CETE.js} +2 -2
- package/{chunk-QCB42576.js → chunk-OJ45MEEI.js} +1 -1
- package/{chunk-UE2EVEYS.js → chunk-OTKSESZR.js} +2 -2
- package/{chunk-NHY322ZU.js → chunk-RRDRQOEC.js} +508 -2
- package/{chunk-2MCB7CD7.js → chunk-TCZ2VJZQ.js} +3 -3
- package/{chunk-D6YNCNM6.js → chunk-TQEKUOTI.js} +2 -2
- package/{chunk-2NPD3FTX.js → chunk-U2HBB7RS.js} +14 -14
- package/{chunk-AUAJTAFM.js → chunk-VQ5N5GSV.js} +1 -1
- package/{chunk-K67C2JUC.js → chunk-WCFFRBL5.js} +3 -3
- package/{chunk-GPOV42YM.js → chunk-WFDNADFX.js} +1 -1
- package/chunk-WFGNWWJI.js +326 -0
- package/{chunk-OYU2MA5S.js → chunk-X3E6EHJW.js} +9 -8
- package/{chunk-GUXZK7SE.js → chunk-XAG3FWBE.js} +11 -0
- package/{chunk-OG6MQOQG.js → chunk-XFXFPUO7.js} +2 -2
- package/{chunk-UWAIJOF2.js → chunk-XTJKU3Z4.js} +4 -4
- package/{chunk-IAAIUH64.js → chunk-YVFH2MFB.js} +3 -3
- package/{chunk-TGNIKIHR.js → chunk-ZEVQHCLM.js} +1 -1
- package/{cliLocalAgentRecordReader-M3F76NIP.js → cliLocalAgentRecordReader-H3HYQRRR.js} +11 -10
- package/{commandRegistry-ZLWHQVAI.js → commandRegistry-FVYPE2IN.js} +47 -47
- package/{contentThunks-4ZX2TO7C.js → contentThunks-GNFPG32S.js} +3 -3
- package/{createAgentAutomationAction-L4CYUZJG.js → createAgentAutomationAction-PB4QIFQ4.js} +3 -3
- package/{createDialogAction-QTU2R2Q3.js → createDialogAction-EVTOPY7A.js} +4 -4
- package/{createPageAction-F3GJTHW2.js → createPageAction-2UYF2IDZ.js} +4 -4
- package/{dialogCommands-NRLCOPJR.js → dialogCommands-6SZD4TYP.js} +13 -12
- package/{dialogSlice-P2S4LXQD.js → dialogSlice-5EQ2A6LY.js} +2 -2
- package/{docCreateCommands-YJRDA3RX.js → docCreateCommands-25E6PGN3.js} +12 -11
- package/{docDeleteCommands-A5QIHZNF.js → docDeleteCommands-F7ZVGEHW.js} +13 -12
- package/{docReadCommands-CF2LTMYH.js → docReadCommands-JY2E5XEN.js} +12 -11
- package/{docStore-6O7NYL6A.js → docStore-OKKIKLT3.js} +1 -1
- package/{docUpdateCommands-QRKV4ZXE.js → docUpdateCommands-OZ4CUSIQ.js} +12 -11
- package/{handleSendMessageAction-7IHLR37A.js → handleSendMessageAction-LNT7SZND.js} +12 -11
- package/{hostCredentialCreate-VNCQUAFT.js → hostCredentialCreate-XUU2CSHI.js} +24 -22
- package/index.js +3 -3
- package/{localRuntimeAdapter-FOWVNMIK.js → localRuntimeAdapter-IBSTMSX7.js} +23 -21
- package/{machineCommands-ZGC3J4JB.js → machineCommands-HSQHDHOT.js} +41 -24
- package/{machineWsRunDispatch-KK5U4M3G.js → machineWsRunDispatch-L6H7J66T.js} +24 -22
- package/package.json +1 -1
- package/{projectArchive-7ZDYBXAX.js → projectArchive-FQO654Z3.js} +4 -4
- package/{readlineWorkspace-YHT4SX2C.js → readlineWorkspace-7U272DSA.js} +36 -33
- package/{runAgentClientLoop-H4ED5V3K.js → runAgentClientLoop-AF4JQIJ7.js} +16 -14
- package/{skillDiscovery-I37M5KJC.js → skillDiscovery-BHHPCUHZ.js} +3 -3
- package/{spaceCommands-MEH3HJBC.js → spaceCommands-5VNWMDBE.js} +12 -11
- package/{streamAgentChatTurn-ZXPOXU33.js → streamAgentChatTurn-YSPEFY4K.js} +24 -21
- package/{tools-2MRWA2PP.js → tools-M35PTIFB.js} +11 -9
- package/{updateDialogTitleAction-RZ3KZSGQ.js → updateDialogTitleAction-IMIRJRQQ.js} +3 -3
- package/chunk-2WZXXAQD.js +0 -57
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OTKSESZR.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XTJKU3Z4.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GAYNXB6T.js";
|
|
22
22
|
import {
|
|
23
23
|
createSSEParser,
|
|
24
24
|
createToolRunId,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
toolRunSetPending,
|
|
28
28
|
toolRunStarted,
|
|
29
29
|
toolRunSucceeded
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HF7BLF3F.js";
|
|
31
31
|
import {
|
|
32
32
|
getCurrentSpaceId
|
|
33
33
|
} from "./chunk-547ENH5T.js";
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
toast,
|
|
39
39
|
toolResultNeedsUserConfirmation,
|
|
40
40
|
updateToolMessage
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7BCG67EI.js";
|
|
42
42
|
import {
|
|
43
43
|
streamAgentChatTurn
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-WCFFRBL5.js";
|
|
45
45
|
import {
|
|
46
46
|
addActiveController,
|
|
47
47
|
getActiveDialogKey,
|
|
@@ -91,6 +91,12 @@ import {
|
|
|
91
91
|
classifyGenerationError,
|
|
92
92
|
extractErrorDiagnostics
|
|
93
93
|
} from "./chunk-TLE77UJ5.js";
|
|
94
|
+
import {
|
|
95
|
+
LIST_AGENTS_OUTPUT_BUDGET,
|
|
96
|
+
isCompleteInstructionOutput,
|
|
97
|
+
sanitizeToolOutputText,
|
|
98
|
+
scrubSecrets
|
|
99
|
+
} from "./chunk-WFGNWWJI.js";
|
|
94
100
|
import {
|
|
95
101
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
96
102
|
} from "./chunk-QRGDJA4B.js";
|
|
@@ -130,6 +136,12 @@ import {
|
|
|
130
136
|
} from "./chunk-U67V476Y.js";
|
|
131
137
|
|
|
132
138
|
// packages/integrations/openai/filterAndCleanMessages.ts
|
|
139
|
+
function serializeAgentRunMessages(messages) {
|
|
140
|
+
return messages.map((message) => {
|
|
141
|
+
const metadata = message.tool_result_metadata;
|
|
142
|
+
return message.role === "tool" && isCompleteInstructionOutput(message.name, metadata, typeof message.content === "string" ? message.content : "") ? { ...message, tool_result_metadata: { projectInstruction: true } } : message;
|
|
143
|
+
});
|
|
144
|
+
}
|
|
133
145
|
var isValidMessagePart = (part) => {
|
|
134
146
|
if (!part || typeof part !== "object") return false;
|
|
135
147
|
if (part.type === "text") return typeof part.text === "string";
|
|
@@ -141,12 +153,19 @@ var isValidMessagePart = (part) => {
|
|
|
141
153
|
};
|
|
142
154
|
var extractContent = (msg) => {
|
|
143
155
|
if (msg.role === "tool") {
|
|
156
|
+
const budget = (msg.name ?? msg.toolName ?? msg.toolPayload?.toolName) === "listAgents" ? LIST_AGENTS_OUTPUT_BUDGET : void 0;
|
|
157
|
+
const metadata = msg.tool_result_metadata ?? msg.metadata;
|
|
144
158
|
const llmContext = asTrimmedString(msg.toolPayload?.llmContext);
|
|
145
|
-
if (
|
|
159
|
+
if (isCompleteInstructionOutput(extractName(msg), metadata, typeof msg.content === "string" ? msg.content : "")) {
|
|
160
|
+
const safe = scrubSecrets(sanitizeToolOutputText(llmContext || String(msg.content ?? ""))).cleaned;
|
|
161
|
+
if (isCompleteInstructionOutput(extractName(msg), metadata, safe)) return safe;
|
|
162
|
+
return clipHeadAndTail(safe, { toolCallId: extractToolCallId(msg) ?? void 0 }).content;
|
|
163
|
+
}
|
|
164
|
+
if (llmContext) return clipHeadAndTail(llmContext, { toolCallId: extractToolCallId(msg) ?? void 0, ...budget ? { maxTotalBytes: budget } : {} }).content;
|
|
146
165
|
const summary = asTrimmedString(msg.toolPayload?.summary);
|
|
147
|
-
if (summary) return clipHeadAndTail(summary, { toolCallId: extractToolCallId(msg) ?? void 0 }).content;
|
|
148
|
-
if (typeof msg.content === "string") return clipHeadAndTail(msg.content, { toolCallId: extractToolCallId(msg) ?? void 0 }).content;
|
|
149
|
-
if (msg.content != null) return clipHeadAndTail(JSON.stringify(msg.content), { toolCallId: extractToolCallId(msg) ?? void 0 }).content;
|
|
166
|
+
if (summary) return clipHeadAndTail(summary, { toolCallId: extractToolCallId(msg) ?? void 0, ...budget ? { maxTotalBytes: budget } : {} }).content;
|
|
167
|
+
if (typeof msg.content === "string") return clipHeadAndTail(msg.content, { toolCallId: extractToolCallId(msg) ?? void 0, ...budget ? { maxTotalBytes: budget } : {} }).content;
|
|
168
|
+
if (msg.content != null) return clipHeadAndTail(JSON.stringify(msg.content), { toolCallId: extractToolCallId(msg) ?? void 0, ...budget ? { maxTotalBytes: budget } : {} }).content;
|
|
150
169
|
return null;
|
|
151
170
|
}
|
|
152
171
|
if (typeof msg.content === "string") return msg.content;
|
|
@@ -232,6 +251,10 @@ var toOpenAIMessage = (rawMsg) => {
|
|
|
232
251
|
if (reasoningContent) cleaned.reasoning_content = reasoningContent;
|
|
233
252
|
}
|
|
234
253
|
if (role === "tool") {
|
|
254
|
+
const metadata = msg.tool_result_metadata ?? msg.metadata;
|
|
255
|
+
if (isCompleteInstructionOutput(name, metadata, typeof content === "string" ? content : "")) {
|
|
256
|
+
Object.defineProperty(cleaned, "tool_result_metadata", { value: metadata, enumerable: false });
|
|
257
|
+
}
|
|
235
258
|
const toolCallId = extractToolCallId(msg);
|
|
236
259
|
if (toolCallId) cleaned.tool_call_id = toolCallId;
|
|
237
260
|
if (!cleaned.tool_call_id) {
|
|
@@ -2096,6 +2119,7 @@ ${errorText}`
|
|
|
2096
2119
|
};
|
|
2097
2120
|
|
|
2098
2121
|
export {
|
|
2122
|
+
serializeAgentRunMessages,
|
|
2099
2123
|
filterAndCleanMessages,
|
|
2100
2124
|
persistToolMessages,
|
|
2101
2125
|
deliverHtmlArtifactToolResult,
|
|
@@ -686,7 +686,7 @@ ${AGENT_SELECTION_PRIORITY_GROUPS.map((group, index) => ` (${index + 1})
|
|
|
686
686
|
${MODEL_TIER_GUIDANCE}
|
|
687
687
|
\u56FE\u50CF\u6A21\u578B\u53EA\u7528\u4E8E\u56FE\u50CF\u4EFB\u52A1\uFF0C\u4E0D\u7528\u4E8E\u4EE3\u7801 / \u6587\u672C\u4EFB\u52A1\u3002
|
|
688
688
|
\u6A21\u578B\u6863\u4F4D\u53EA\u53D6\u5171\u4EAB\u4EBA\u5DE5\u6620\u5C04\uFF1B\u672A\u77E5\u6A21\u578B\u4FDD\u6301 unknown \u4E14\u4ECD\u53EF\u7528\uFF0C\u4E0D\u7531 LLM \u81EA\u5C01\u6863\u4F4D\uFF0C\u4E0D\u9ED8\u8BA4\u9876\u6863\u3001\u4E0D\u5411\u7528\u6237\u7D22\u8981\u5B9A\u6863\u3002
|
|
689
|
-
\u9886\u57DF\u5177\u4F53\u504F\u597D\
|
|
689
|
+
\u9886\u57DF\u5177\u4F53\u504F\u597D\u4EC5\u9002\u7528\u4E8E\u5BF9\u5E94 dimension\uFF1Adesign_frontend\uFF08\u8BBE\u8BA1 / \u524D\u7AEF\uFF09\u9886\u57DF\u5185\u9ED8\u8BA4\u6A21\u578B\u5BB6\u65CF\u504F\u597D\u4E3A Claude \u2192 Gemini \u2192 GPT\uFF1B\u6309\u4EFB\u52A1 difficulty \u4E0E\u5171\u4EAB\u4EBA\u5DE5\u6A21\u578B\u6863\u4F4D\u6620\u5C04\uFF0C\u5728\u504F\u597D\u5BB6\u65CF\u4E2D\u9009\u80DC\u4EFB\u7684\u5408\u9002\u6863\u4F4D\uFF0C\u5BB6\u65CF\u987A\u5E8F\u4E0D\u4EE3\u8868\u667A\u80FD\u6863\u4F4D\u6392\u540D\u3002general\uFF08\u901A\u7528\uFF09\u4E0D\u9002\u7528\u6B64\u5BB6\u65CF\u987A\u5E8F\uFF1Bwriting\uFF08\u5199\u4F5C\uFF09\u4ECD\u4E3A Gemini \u4F18\u5148\u4E8E\u5176\u4ED6\u6A21\u578B\u3002\u672A\u77E5\u6863\u4F4D\u4FDD\u6301 unknown\uFF0C\u4E0D\u63A8\u5B9A\u5BB6\u65CF\u5185\u80FD\u529B\u6392\u540D\u3002\u5176\u4F59\u6A21\u578B\u5728\u5BF9\u5E94\u7EF4\u5EA6\u672A\u77E5\uFF0C\u4E0D\u63A8\u5B9A\u5B8C\u6574\u6392\u540D\u3002
|
|
690
690
|
\u9886\u57DF\u504F\u597D\u53EF\u4F5C\u4E3A\u8DE8\u6863\u9009\u62E9\u7406\u7531\uFF0C\u4E0D\u8868\u793A\u4E0D\u80FD\u6362\u6863\uFF1B\u504F\u597D\u4E0D\u8986\u76D6\u771F\u5B9E\u80FD\u529B\u9650\u5236\u3001\u8D39\u7528\u6388\u6743\u3001\u4F5C\u8005\u56DE\u907F\u4E0E\u5F53\u6B21\u53EF\u7528\u6027\uFF0C\u4E0D\u5F97\u56E0\u4E3A\u300C\u8BBE\u8BA1\u4EFB\u52A1\u504F\u597D Opus\u300D\u5C31\u81EA\u52A8\u6D88\u8017\u5E73\u53F0\u79EF\u5206\u3002
|
|
691
691
|
\u5DE5\u5177\u4EC5\u8FD4\u56DE\u6863\u4F4D\u5DEE\u5F02\u63D0\u9192\u4E14\u7167\u5E38\u542F\u52A8\uFF08\u5DF2\u77E5\u8DE8\u6863\u987B\u5148\u6709 selectionReason\uFF09\uFF0C\u4E0D\u5F3A\u5236\u9009\u4EBA\u3001\u4E0D\u81EA\u52A8\u53D6\u6D88\u91CD\u6D3E\uFF1B\u6D3E\u53D1 Agent \u81EA\u884C\u7ED3\u5408\u9886\u57DF\u4F18\u52BF\u3001\u771F\u5B9E\u989D\u5EA6/\u7F51\u7EDC\u4E0E\u5019\u9009\u53EF\u7528\u6027\u3001\u7528\u6237\u6307\u5B9A\u4F5C\u5224\u65AD\u3002\u901F\u5EA6\u89C4\u5219\u7EDF\u4E00\u89C1\u5E38\u9A7B\u300C\u6D3E\u53D1\u9009\u4EBA \xB7 \u53EF\u7528\u6027\u4E0E\u901F\u5EA6\u300D\uFF0C\u4E0D\u5F97\u636E\u901F\u5EA6\u63A8\u5BFC\u6A21\u578B\u6863\u4F4D\u3002
|
|
692
692
|
- \u53EF\u7528\u6027\u8BC1\u636E\uFF1A\u533A\u5206\u5F53\u6B21\u771F\u5B9E\u5931\u8D25\u3001\u9002\u7528\u4E14\u4ECD\u6709\u6548\u7684 quota\u3001\u8FC7\u671F\u53C2\u8003\u548C\u672A\u77E5\u3002\u89C4\u5212\u5217\u8868\u4E0E\u63A8\u8350\u4E0D\u6309\u51B7\u5374\u786C\u8FC7\u6EE4\uFF1B\u901A\u7528\u6267\u884C\u53EF\u7528\u4E0A\u9762\u7684\u6709\u6548 quota \u89C4\u5219\uFF1Breview \u81EA\u8EAB\u515C\u5E95\u4ECD\u987B\u5176\u4ED6\u5408\u89C4\u5019\u9009\u7684\u5F53\u6B21\u9519\u8BEF\u8BC1\u636E\uFF0C\u4E0D\u7528 quota \u6807\u6CE8\u66FF\u4EE3\u3002
|
|
@@ -807,6 +807,9 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
807
807
|
compact: { type: "boolean", description: "Return compact projection retaining admission evidence while omitting verbose text." },
|
|
808
808
|
limit: { type: "number", description: "Maximum number of agents to return for pagination." },
|
|
809
809
|
offset: { type: "number", description: "Pagination offset." },
|
|
810
|
+
fragmentOffset: { type: "integer", description: "Recover an oversized candidate: start at 0, then use nextFragmentOffset, keeping offset and filters unchanged." },
|
|
811
|
+
fragmentAgentKey: stringToolParam("Exact agentKey returned by the oversized-candidate response."),
|
|
812
|
+
fragmentDigest: stringToolParam("SHA-256 digest returned by the first fragment; required for subsequent fragments."),
|
|
810
813
|
space: stringToolParam("Optional space id or URL.")
|
|
811
814
|
});
|
|
812
815
|
add("readAgent", "Read one agent's full config by exact agentKey returned by listAgents (agent-<userId>-<id> or agent-pub-<id>); do not use the display name.", {
|
|
@@ -1204,6 +1207,18 @@ function buildNoloWorkspaceCommandArgs(call) {
|
|
|
1204
1207
|
}
|
|
1205
1208
|
cliArgs.push("--offset", String(parsed));
|
|
1206
1209
|
}
|
|
1210
|
+
if (args.fragmentOffset !== void 0) {
|
|
1211
|
+
if (!Number.isSafeInteger(args.fragmentOffset) || args.fragmentOffset < 0) throw new Error("Invalid fragmentOffset");
|
|
1212
|
+
cliArgs.push("--fragment-offset", String(args.fragmentOffset));
|
|
1213
|
+
}
|
|
1214
|
+
if (args.fragmentAgentKey !== void 0) {
|
|
1215
|
+
if (typeof args.fragmentAgentKey !== "string" || !args.fragmentAgentKey.trim()) throw new Error("Invalid fragmentAgentKey");
|
|
1216
|
+
cliArgs.push("--fragment-agent-key", args.fragmentAgentKey);
|
|
1217
|
+
}
|
|
1218
|
+
if (args.fragmentDigest !== void 0) {
|
|
1219
|
+
if (typeof args.fragmentDigest !== "string" || !/^[a-f0-9]{64}$/.test(args.fragmentDigest)) throw new Error("Invalid fragmentDigest");
|
|
1220
|
+
cliArgs.push("--fragment-digest", args.fragmentDigest);
|
|
1221
|
+
}
|
|
1207
1222
|
cliArgs.push("--json", "--safe");
|
|
1208
1223
|
return cliArgs;
|
|
1209
1224
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EGHP7KOY.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7BCG67EI.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-S2NTVGA2.js";
|