nolo-cli 0.248.0-alpha.2 → 0.249.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.
Files changed (62) hide show
  1. package/{_executeModel-H72XB2UR.js → _executeModel-IJLWI2HH.js} +13 -13
  2. package/{agentDeleteCommand-4AFQNHDD.js → agentDeleteCommand-ULJLNEHW.js} +12 -12
  3. package/{agentEmailCommands-6FR6TBJM.js → agentEmailCommands-JATJHJJS.js} +13 -13
  4. package/{agentListCommands-IXKBP3W5.js → agentListCommands-HQ6YW7ZE.js} +2 -2
  5. package/{agentMachineCommands-KCTPKYZM.js → agentMachineCommands-U56PM7BR.js} +3 -3
  6. package/{agentRecordCommands-JG3TB55T.js → agentRecordCommands-35VKRYFY.js} +13 -13
  7. package/{agentRunCommand-ZUKU7SYB.js → agentRunCommand-MKM7DYNL.js} +13 -13
  8. package/{agentRuntimeLocal-LVXPQ7QA.js → agentRuntimeLocal-FIOWO47Y.js} +2 -2
  9. package/{agentSlice-6EPEKSJT.js → agentSlice-5NJEWRIO.js} +1 -1
  10. package/{appDeleteCommands-BESCJOQM.js → appDeleteCommands-NMU43D3Y.js} +2 -2
  11. package/{appDeployCommands-LPTR6IOX.js → appDeployCommands-ICYG4DB2.js} +2 -2
  12. package/{appDeployStatusCommands-BZ7KZ5RD.js → appDeployStatusCommands-QBK3FXPB.js} +2 -2
  13. package/{appGetCommands-EDWGJV4S.js → appGetCommands-C4ABVH3V.js} +2 -2
  14. package/{appListCommands-OPRWYPM6.js → appListCommands-RQIKFAX6.js} +2 -2
  15. package/{chunk-KABDRAUT.js → chunk-2XIREU2L.js} +2 -2
  16. package/{chunk-WZFQBO5N.js → chunk-2YV2QQND.js} +2 -2
  17. package/{chunk-XSZLVTD3.js → chunk-34ZQTND7.js} +2 -2
  18. package/{chunk-YMKSYLT7.js → chunk-4P5ZLADR.js} +2 -2
  19. package/{chunk-E2CYOBQS.js → chunk-4Q252GDP.js} +1 -1
  20. package/{chunk-2JWRKVDC.js → chunk-5JZ7FFOO.js} +77 -116
  21. package/{chunk-LDX32FHM.js → chunk-7DOVWWXO.js} +7 -7
  22. package/{chunk-Z7KE4K3H.js → chunk-7QZ2B7RL.js} +2 -1
  23. package/{chunk-3IQEZYPF.js → chunk-AK7V6IDG.js} +3 -3
  24. package/{chunk-LQ7WOIVV.js → chunk-EZ7Q2XPO.js} +2 -2
  25. package/{chunk-OY3XGLWR.js → chunk-H7TICFO4.js} +1 -1
  26. package/{chunk-KFGL66WO.js → chunk-KQSX5NJX.js} +6 -6
  27. package/{chunk-W2PX6LH4.js → chunk-M7M5QM3I.js} +3 -3
  28. package/{chunk-JT4HJLIL.js → chunk-OWLQL7CW.js} +3 -3
  29. package/{chunk-Y6DW3JTS.js → chunk-P5Q24OJZ.js} +2 -2
  30. package/{chunk-XNTZD4AE.js → chunk-PAWBC6HC.js} +2 -2
  31. package/{chunk-A6BALTVL.js → chunk-PO7FTSGP.js} +8 -8
  32. package/{chunk-IVY2CQBD.js → chunk-U4LYOYSA.js} +7 -7
  33. package/{chunk-VFXMN3QM.js → chunk-XFOZH7NP.js} +10 -10
  34. package/{chunk-7UVVLYKC.js → chunk-YK7OTNON.js} +1 -1
  35. package/{chunk-RMA5H7R5.js → chunk-YWPPXECC.js} +3 -3
  36. package/{cliLocalAgentRecordReader-MCQVRWBR.js → cliLocalAgentRecordReader-SA5LZVMI.js} +3 -3
  37. package/{commandRegistry-OXNZPSGC.js → commandRegistry-AFWOTN5H.js} +40 -40
  38. package/{contentThunks-RHE6A4AH.js → contentThunks-3XFPEGLX.js} +3 -3
  39. package/{createAgentAutomationAction-TZ2CN6BM.js → createAgentAutomationAction-YLP5IJ26.js} +3 -3
  40. package/{createDialogAction-4JC5EYQT.js → createDialogAction-LV2RAA4A.js} +4 -4
  41. package/{createPageAction-WQREAKL3.js → createPageAction-Q7WCMY4P.js} +4 -4
  42. package/{dialogCommands-KZTZLWPZ.js → dialogCommands-TFPF7PCC.js} +2 -2
  43. package/{dialogSlice-DI2DW4UP.js → dialogSlice-UPUUJMMH.js} +2 -2
  44. package/{docCreateCommands-26HJ5NAY.js → docCreateCommands-7MWOJKEE.js} +2 -2
  45. package/{docDeleteCommands-UAOHH5XK.js → docDeleteCommands-UO3DFGTF.js} +2 -2
  46. package/{docReadCommands-4ADG7YE6.js → docReadCommands-RTZXLDMJ.js} +2 -2
  47. package/{docStore-A4UDG56G.js → docStore-KETXRY6J.js} +1 -1
  48. package/{docUpdateCommands-OGFJZENF.js → docUpdateCommands-BPHMJPJX.js} +2 -2
  49. package/{handleSendMessageAction-RO647P4V.js → handleSendMessageAction-47XS4QHV.js} +9 -21
  50. package/{hostCredentialCreate-4CHXN6U5.js → hostCredentialCreate-ITXE4237.js} +13 -13
  51. package/index.js +3 -3
  52. package/{localRuntimeAdapter-UB3RWVUD.js → localRuntimeAdapter-FCU7BQAX.js} +12 -12
  53. package/{machineCommands-EMUNGUKT.js → machineCommands-B53U27WZ.js} +13 -13
  54. package/{machineWsRunDispatch-GL4IASSZ.js → machineWsRunDispatch-ZBA55H5E.js} +13 -13
  55. package/package.json +1 -1
  56. package/{projectArchive-ZRQPLQEI.js → projectArchive-GWJTAEK6.js} +4 -4
  57. package/{readlineWorkspace-IUUODHF4.js → readlineWorkspace-YFTXLYGM.js} +16 -16
  58. package/{runAgentClientLoop-HHKMRV4B.js → runAgentClientLoop-7GBH7I5H.js} +11 -11
  59. package/{spaceCommands-W5TAVFDT.js → spaceCommands-DQZJ6GLU.js} +2 -2
  60. package/{streamAgentChatTurn-URBDXKCY.js → streamAgentChatTurn-2QVGBCVC.js} +38 -16
  61. package/{tools-USMXBZZV.js → tools-TL5UMV3N.js} +7 -7
  62. 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-KFGL66WO.js";
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-KABDRAUT.js";
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-3IQEZYPF.js";
33
+ } from "./chunk-AK7V6IDG.js";
34
34
  import "./chunk-HS7MLR74.js";
35
35
  import {
36
36
  selectMaxExecutionTime
37
- } from "./chunk-VFXMN3QM.js";
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-2JWRKVDC.js";
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-XSZLVTD3.js";
71
+ } from "./chunk-34ZQTND7.js";
71
72
  import {
72
73
  createSSEParser,
73
74
  waitForAbortableDelay
74
- } from "./chunk-RMA5H7R5.js";
75
+ } from "./chunk-YWPPXECC.js";
75
76
  import "./chunk-NF64D32W.js";
76
77
  import "./chunk-UOUMPHS5.js";
77
- import "./chunk-WZFQBO5N.js";
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-YMKSYLT7.js";
83
- import "./chunk-OY3XGLWR.js";
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-A6BALTVL.js";
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-JT4HJLIL.js";
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-Z7KE4K3H.js";
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 { receiveActionGate, clearActionGates } = createTurnActionGateReceiver(dispatch);
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
- clearActionGates();
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-VFXMN3QM.js";
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-RMA5H7R5.js";
18
+ import "./chunk-YWPPXECC.js";
19
19
  import "./chunk-NF64D32W.js";
20
20
  import "./chunk-UOUMPHS5.js";
21
- import "./chunk-WZFQBO5N.js";
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-YMKSYLT7.js";
26
- import "./chunk-OY3XGLWR.js";
27
- import "./chunk-A6BALTVL.js";
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-JT4HJLIL.js";
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-OY3XGLWR.js";
6
+ } from "./chunk-H7TICFO4.js";
7
7
  import {
8
8
  isAssistantToolStub,
9
9
  selectAllMsgs
10
- } from "./chunk-A6BALTVL.js";
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-JT4HJLIL.js";
21
+ } from "./chunk-OWLQL7CW.js";
22
22
  import "./chunk-FFFKAOJN.js";
23
23
  import "./chunk-BYXBJQAS.js";
24
24
  import "./chunk-ARFCL53U.js";