nolo-cli 0.248.0-alpha.2 → 0.249.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-H72XB2UR.js → _executeModel-IJLWI2HH.js} +13 -13
- package/{agentDeleteCommand-4AFQNHDD.js → agentDeleteCommand-ULJLNEHW.js} +12 -12
- package/{agentEmailCommands-6FR6TBJM.js → agentEmailCommands-JATJHJJS.js} +13 -13
- package/{agentListCommands-IXKBP3W5.js → agentListCommands-HQ6YW7ZE.js} +2 -2
- package/{agentMachineCommands-KCTPKYZM.js → agentMachineCommands-U56PM7BR.js} +3 -3
- package/{agentRecordCommands-JG3TB55T.js → agentRecordCommands-35VKRYFY.js} +13 -13
- package/{agentRunCommand-ZUKU7SYB.js → agentRunCommand-MKM7DYNL.js} +13 -13
- package/{agentRuntimeLocal-LVXPQ7QA.js → agentRuntimeLocal-FIOWO47Y.js} +2 -2
- package/{agentSlice-6EPEKSJT.js → agentSlice-5NJEWRIO.js} +1 -1
- package/{appDeleteCommands-BESCJOQM.js → appDeleteCommands-NMU43D3Y.js} +2 -2
- package/{appDeployCommands-LPTR6IOX.js → appDeployCommands-ICYG4DB2.js} +2 -2
- package/{appDeployStatusCommands-BZ7KZ5RD.js → appDeployStatusCommands-QBK3FXPB.js} +2 -2
- package/{appGetCommands-EDWGJV4S.js → appGetCommands-C4ABVH3V.js} +2 -2
- package/{appListCommands-OPRWYPM6.js → appListCommands-RQIKFAX6.js} +2 -2
- package/{chunk-KABDRAUT.js → chunk-2XIREU2L.js} +2 -2
- package/{chunk-WZFQBO5N.js → chunk-2YV2QQND.js} +2 -2
- package/{chunk-XSZLVTD3.js → chunk-34ZQTND7.js} +2 -2
- package/{chunk-YMKSYLT7.js → chunk-4P5ZLADR.js} +2 -2
- package/{chunk-E2CYOBQS.js → chunk-4Q252GDP.js} +1 -1
- package/{chunk-2JWRKVDC.js → chunk-5JZ7FFOO.js} +77 -116
- package/{chunk-LDX32FHM.js → chunk-7DOVWWXO.js} +7 -7
- package/{chunk-Z7KE4K3H.js → chunk-7QZ2B7RL.js} +2 -1
- package/{chunk-3IQEZYPF.js → chunk-AK7V6IDG.js} +3 -3
- package/{chunk-LQ7WOIVV.js → chunk-EZ7Q2XPO.js} +2 -2
- package/{chunk-OY3XGLWR.js → chunk-H7TICFO4.js} +1 -1
- package/{chunk-KFGL66WO.js → chunk-KQSX5NJX.js} +6 -6
- package/{chunk-W2PX6LH4.js → chunk-M7M5QM3I.js} +3 -3
- package/{chunk-JT4HJLIL.js → chunk-OWLQL7CW.js} +3 -3
- package/{chunk-Y6DW3JTS.js → chunk-P5Q24OJZ.js} +2 -2
- package/{chunk-XNTZD4AE.js → chunk-PAWBC6HC.js} +2 -2
- package/{chunk-A6BALTVL.js → chunk-PO7FTSGP.js} +8 -8
- package/{chunk-IVY2CQBD.js → chunk-U4LYOYSA.js} +7 -7
- package/{chunk-VFXMN3QM.js → chunk-XFOZH7NP.js} +10 -10
- package/{chunk-7UVVLYKC.js → chunk-YK7OTNON.js} +1 -1
- package/{chunk-RMA5H7R5.js → chunk-YWPPXECC.js} +3 -3
- package/{cliLocalAgentRecordReader-MCQVRWBR.js → cliLocalAgentRecordReader-SA5LZVMI.js} +3 -3
- package/{commandRegistry-OXNZPSGC.js → commandRegistry-AFWOTN5H.js} +40 -40
- package/{contentThunks-RHE6A4AH.js → contentThunks-3XFPEGLX.js} +3 -3
- package/{createAgentAutomationAction-TZ2CN6BM.js → createAgentAutomationAction-YLP5IJ26.js} +3 -3
- package/{createDialogAction-4JC5EYQT.js → createDialogAction-LV2RAA4A.js} +4 -4
- package/{createPageAction-WQREAKL3.js → createPageAction-Q7WCMY4P.js} +4 -4
- package/{dialogCommands-KZTZLWPZ.js → dialogCommands-TFPF7PCC.js} +2 -2
- package/{dialogSlice-DI2DW4UP.js → dialogSlice-UPUUJMMH.js} +2 -2
- package/{docCreateCommands-26HJ5NAY.js → docCreateCommands-7MWOJKEE.js} +2 -2
- package/{docDeleteCommands-UAOHH5XK.js → docDeleteCommands-UO3DFGTF.js} +2 -2
- package/{docReadCommands-4ADG7YE6.js → docReadCommands-RTZXLDMJ.js} +2 -2
- package/{docStore-A4UDG56G.js → docStore-KETXRY6J.js} +1 -1
- package/{docUpdateCommands-OGFJZENF.js → docUpdateCommands-BPHMJPJX.js} +2 -2
- package/{handleSendMessageAction-RO647P4V.js → handleSendMessageAction-47XS4QHV.js} +9 -21
- package/{hostCredentialCreate-4CHXN6U5.js → hostCredentialCreate-ITXE4237.js} +13 -13
- package/index.js +3 -3
- package/{localRuntimeAdapter-UB3RWVUD.js → localRuntimeAdapter-FCU7BQAX.js} +12 -12
- package/{machineCommands-EMUNGUKT.js → machineCommands-B53U27WZ.js} +13 -13
- package/{machineWsRunDispatch-GL4IASSZ.js → machineWsRunDispatch-ZBA55H5E.js} +13 -13
- package/package.json +1 -1
- package/{projectArchive-ZRQPLQEI.js → projectArchive-GWJTAEK6.js} +4 -4
- package/{readlineWorkspace-IUUODHF4.js → readlineWorkspace-YFTXLYGM.js} +16 -16
- package/{runAgentClientLoop-HHKMRV4B.js → runAgentClientLoop-7GBH7I5H.js} +11 -11
- package/{spaceCommands-W5TAVFDT.js → spaceCommands-DQZJ6GLU.js} +2 -2
- package/{streamAgentChatTurn-URBDXKCY.js → streamAgentChatTurn-2QVGBCVC.js} +38 -16
- package/{tools-USMXBZZV.js → tools-TL5UMV3N.js} +7 -7
- package/{updateDialogTitleAction-LTDUWMHQ.js → updateDialogTitleAction-B3BLRMTZ.js} +3 -3
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
sendOpenAICompletionsRequest,
|
|
13
13
|
serializeAgentRunMessages,
|
|
14
14
|
updateTotalUsage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KQSX5NJX.js";
|
|
16
16
|
import "./chunk-JEXVIMYZ.js";
|
|
17
17
|
import {
|
|
18
18
|
inlineImageUrlsForCustomProvider,
|
|
19
19
|
prepareTools,
|
|
20
20
|
shouldInlineImageUrlsForAgent
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2XIREU2L.js";
|
|
22
22
|
import {
|
|
23
23
|
DirectApiKeyResolutionError,
|
|
24
24
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
sanitizeOutboundResponsesInput,
|
|
31
31
|
selectResponsesConversationState,
|
|
32
32
|
updateResponsesConversationState
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AK7V6IDG.js";
|
|
34
34
|
import "./chunk-HS7MLR74.js";
|
|
35
35
|
import {
|
|
36
36
|
selectMaxExecutionTime
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XFOZH7NP.js";
|
|
38
38
|
import {
|
|
39
39
|
isGptProModel,
|
|
40
40
|
isPlatformPaidAgentCall,
|
|
@@ -50,37 +50,38 @@ import {
|
|
|
50
50
|
buildDynamicContexts,
|
|
51
51
|
buildForegroundTurnAdmissionFetchInit,
|
|
52
52
|
buildStaticContexts,
|
|
53
|
+
clearGateTurn,
|
|
53
54
|
compressOldToolResults,
|
|
54
55
|
consumeAgentRunStream,
|
|
55
|
-
createTurnActionGateReceiver,
|
|
56
56
|
mergeAgentToolsWithRuntime,
|
|
57
57
|
mergeContexts,
|
|
58
58
|
projectDesktopToolUiContent,
|
|
59
|
+
pushGate,
|
|
59
60
|
resolveImageGenerationStreamingState,
|
|
60
61
|
resolveTurnToolContext,
|
|
61
62
|
targetForRunKind,
|
|
62
63
|
validateAccessAndBalance,
|
|
63
64
|
withRequestContextBlocks
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-5JZ7FFOO.js";
|
|
65
66
|
import {
|
|
66
67
|
resolveUserSkillRuntime
|
|
67
68
|
} from "./chunk-XSRSAU3O.js";
|
|
68
69
|
import {
|
|
69
70
|
performServerProxyFetchWithRetry
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-34ZQTND7.js";
|
|
71
72
|
import {
|
|
72
73
|
createSSEParser,
|
|
73
74
|
waitForAbortableDelay
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YWPPXECC.js";
|
|
75
76
|
import "./chunk-NF64D32W.js";
|
|
76
77
|
import "./chunk-UOUMPHS5.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-2YV2QQND.js";
|
|
78
79
|
import "./chunk-VF4K2QE6.js";
|
|
79
80
|
import "./chunk-OLGFIQN2.js";
|
|
80
81
|
import "./chunk-CD64YXRB.js";
|
|
81
82
|
import "./chunk-AGIM7IMJ.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-4P5ZLADR.js";
|
|
84
|
+
import "./chunk-H7TICFO4.js";
|
|
84
85
|
import {
|
|
85
86
|
addToolMessage,
|
|
86
87
|
addUserMessage,
|
|
@@ -102,11 +103,11 @@ import {
|
|
|
102
103
|
updateDialogSummaryAction,
|
|
103
104
|
updateTokens,
|
|
104
105
|
updateToolMessage
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-PO7FTSGP.js";
|
|
106
107
|
import "./chunk-TZXPT53C.js";
|
|
107
108
|
import "./chunk-BUDVRYES.js";
|
|
108
109
|
import "./chunk-523DITKR.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-OWLQL7CW.js";
|
|
110
111
|
import {
|
|
111
112
|
getCurrentSpaceId
|
|
112
113
|
} from "./chunk-FFFKAOJN.js";
|
|
@@ -191,7 +192,7 @@ import {
|
|
|
191
192
|
projectUserPartForModel
|
|
192
193
|
} from "./chunk-2FK2KZSL.js";
|
|
193
194
|
import "./chunk-56GBUMO5.js";
|
|
194
|
-
import "./chunk-
|
|
195
|
+
import "./chunk-7QZ2B7RL.js";
|
|
195
196
|
import "./chunk-ITBX27W6.js";
|
|
196
197
|
import "./chunk-KXOPLLFP.js";
|
|
197
198
|
import "./chunk-QJTZ76CP.js";
|
|
@@ -2060,7 +2061,27 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2060
2061
|
let loopKey = null;
|
|
2061
2062
|
let runtimeDialogKey = explicitDialogKey ?? null;
|
|
2062
2063
|
let turnPhaseTurnId = null;
|
|
2063
|
-
const
|
|
2064
|
+
const secretGateTurnId = createDialogMessageKeyAndId("secret-gate").messageId;
|
|
2065
|
+
const secretGateAnchors = /* @__PURE__ */ new Set();
|
|
2066
|
+
const receiveActionGate = (gate, target, dialogId) => {
|
|
2067
|
+
const secret = gate.kind === "input" && gate.payload?.action === "secret_request";
|
|
2068
|
+
if (!secret || target?.kind === "local") {
|
|
2069
|
+
pushGate(gate, target);
|
|
2070
|
+
return;
|
|
2071
|
+
}
|
|
2072
|
+
const { messageId, key } = createDialogMessageKeyAndId(dialogId);
|
|
2073
|
+
secretGateAnchors.add(messageId);
|
|
2074
|
+
pushGate(gate, target, { dialogId, turnId: secretGateTurnId, messageId });
|
|
2075
|
+
dispatch(messageStreaming({
|
|
2076
|
+
id: messageId,
|
|
2077
|
+
dbKey: key,
|
|
2078
|
+
dialogId,
|
|
2079
|
+
role: "tool",
|
|
2080
|
+
toolName: "secret-request",
|
|
2081
|
+
content: "",
|
|
2082
|
+
isStreaming: true
|
|
2083
|
+
}));
|
|
2084
|
+
};
|
|
2064
2085
|
const batchExecution = createUserBatchExecution(loopController.signal, () => !thunkApi.signal.aborted && (!turnPhaseTurnId || !runtimeDialogKey || getDialogRuntimeState(runtimeDialogKey).turnPhaseTurnId === turnPhaseTurnId));
|
|
2065
2086
|
const workMemoryUserMessageId = (dialogId, activeId) => {
|
|
2066
2087
|
if (!activeId) return void 0;
|
|
@@ -4103,7 +4124,8 @@ ${info.actionHint}` : streamError;
|
|
|
4103
4124
|
);
|
|
4104
4125
|
} finally {
|
|
4105
4126
|
batchExecution.dispose();
|
|
4106
|
-
|
|
4127
|
+
clearGateTurn(secretGateTurnId);
|
|
4128
|
+
for (const id of secretGateAnchors) dispatch(removeTransientMessage(id));
|
|
4107
4129
|
clearDialogTurnPhase({ dialogKey: runtimeDialogKey ?? void 0, turnId: turnPhaseTurnId ?? void 0 });
|
|
4108
4130
|
if (loopKey && runtimeDialogKey) {
|
|
4109
4131
|
dispatch(removeActiveController({ messageId: loopKey, dialogKey: runtimeDialogKey }));
|
|
@@ -8,27 +8,27 @@ import {
|
|
|
8
8
|
toolQueryFunc,
|
|
9
9
|
toolQueryFunctionSchema,
|
|
10
10
|
toolRegistry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XFOZH7NP.js";
|
|
12
12
|
import "./chunk-XCA4WHX5.js";
|
|
13
13
|
import "./chunk-AMWMV56B.js";
|
|
14
14
|
import "./chunk-MVOZ22RZ.js";
|
|
15
15
|
import "./chunk-WDWZPASX.js";
|
|
16
16
|
import "./chunk-OAZP4TSA.js";
|
|
17
17
|
import "./chunk-JFRJEPFI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-YWPPXECC.js";
|
|
19
19
|
import "./chunk-NF64D32W.js";
|
|
20
20
|
import "./chunk-UOUMPHS5.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2YV2QQND.js";
|
|
22
22
|
import "./chunk-VF4K2QE6.js";
|
|
23
23
|
import "./chunk-OLGFIQN2.js";
|
|
24
24
|
import "./chunk-CD64YXRB.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-4P5ZLADR.js";
|
|
26
|
+
import "./chunk-H7TICFO4.js";
|
|
27
|
+
import "./chunk-PO7FTSGP.js";
|
|
28
28
|
import "./chunk-TZXPT53C.js";
|
|
29
29
|
import "./chunk-BUDVRYES.js";
|
|
30
30
|
import "./chunk-523DITKR.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-OWLQL7CW.js";
|
|
32
32
|
import "./chunk-FFFKAOJN.js";
|
|
33
33
|
import "./chunk-BYXBJQAS.js";
|
|
34
34
|
import "./chunk-ARFCL53U.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-Z4PCXPUE.js";
|
|
4
4
|
import {
|
|
5
5
|
updateContentTitle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H7TICFO4.js";
|
|
7
7
|
import {
|
|
8
8
|
isAssistantToolStub,
|
|
9
9
|
selectAllMsgs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PO7FTSGP.js";
|
|
11
11
|
import "./chunk-TZXPT53C.js";
|
|
12
12
|
import {
|
|
13
13
|
require_format
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-523DITKR.js";
|
|
19
19
|
import {
|
|
20
20
|
runLlm
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OWLQL7CW.js";
|
|
22
22
|
import "./chunk-FFFKAOJN.js";
|
|
23
23
|
import "./chunk-BYXBJQAS.js";
|
|
24
24
|
import "./chunk-ARFCL53U.js";
|