nolo-cli 0.209.0-alpha.1 → 0.210.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.
Files changed (97) hide show
  1. package/{_executeModel-C4BBPBMI.js → _executeModel-VVQEOY3D.js} +26 -26
  2. package/{action-HNG2JKWK.js → action-U235TV4P.js} +3 -3
  3. package/{addContentAction-FEN3H2EE.js → addContentAction-7C76J7ST.js} +6 -6
  4. package/{addDialogAgentAction-DDA6S3WS.js → addDialogAgentAction-KTYANUEC.js} +5 -5
  5. package/{agentDeleteCommand-WUCCLXRY.js → agentDeleteCommand-WHRU6VDJ.js} +38 -38
  6. package/{agentEmailCommands-S3TIFYYC.js → agentEmailCommands-ALLHXPW3.js} +38 -38
  7. package/{agentListCommands-AZX2PX4F.js → agentListCommands-POKMEKMS.js} +10 -10
  8. package/{agentMachineCommands-YYYQWXPK.js → agentMachineCommands-WJLZLBPI.js} +8 -8
  9. package/{agentRecordCommands-KA42VBIY.js → agentRecordCommands-OULZW3KM.js} +35 -35
  10. package/{agentRunCommand-AKFBUJY5.js → agentRunCommand-ZNG4LGNQ.js} +40 -40
  11. package/{agentRuntimeLocal-YP5JION7.js → agentRuntimeLocal-YMUHFV5M.js} +7 -7
  12. package/{agentSlice-HFQKZPGI.js → agentSlice-WNGUIMQZ.js} +6 -6
  13. package/{appDeleteCommands-TGZMTUXA.js → appDeleteCommands-6MXPLAVF.js} +7 -7
  14. package/{appDeployCommands-527YN47H.js → appDeployCommands-ERRSVASW.js} +7 -7
  15. package/{appDeployStatusCommands-KUSAKEME.js → appDeployStatusCommands-ULICISLI.js} +7 -7
  16. package/{appGetCommands-5KUXJ4VE.js → appGetCommands-WYYYWROF.js} +7 -7
  17. package/{appListCommands-FJDBOSMG.js → appListCommands-DFCUCRCV.js} +7 -7
  18. package/{authCommand-AUP7FHGM.js → authCommand-ZJMWXFMA.js} +6 -6
  19. package/{chunk-GTQFLOYM.js → chunk-25M2K6OA.js} +2 -2
  20. package/{createPageAction-AO5OKX3T.js → chunk-3J3U3KXB.js} +9 -69
  21. package/{chunk-MOCY5LJI.js → chunk-4WCEC56C.js} +2 -2
  22. package/{chunk-UAOZTOFA.js → chunk-5ORJGHTL.js} +3 -3
  23. package/{chunk-ZKF7ZGN6.js → chunk-7IYBN7IA.js} +4 -4
  24. package/{chunk-IQ52JEVT.js → chunk-ADBWFYJD.js} +5 -5
  25. package/{chunk-HWZT5DKX.js → chunk-BSISWVB4.js} +1 -1
  26. package/chunk-C6KNNXWU.js +185 -0
  27. package/{chunk-QAYCF4CH.js → chunk-DQLB4NQ3.js} +2 -2
  28. package/{chunk-CTZ4O3XD.js → chunk-F6UUQOG6.js} +1 -1
  29. package/{chunk-WYKMOZTW.js → chunk-HD3WR3TD.js} +1 -1
  30. package/{chunk-RXUKDHS5.js → chunk-IIHY4ZAI.js} +1 -1
  31. package/{chunk-5P5RH265.js → chunk-JKW6LERJ.js} +12 -12
  32. package/{chunk-WYOJXAIC.js → chunk-LT3EAHJY.js} +33 -33
  33. package/{chunk-GWXL4KVM.js → chunk-M4NTDZG3.js} +30 -30
  34. package/{chunk-JBFZMJ4J.js → chunk-MBS6CTZB.js} +18 -18
  35. package/{chunk-BXLWFS62.js → chunk-NHQKWPLP.js} +20 -12
  36. package/{chunk-T3U2KQF4.js → chunk-NLT32XBZ.js} +3 -3
  37. package/{chunk-W4MOO6XC.js → chunk-NV572QM3.js} +9 -2
  38. package/{chunk-Z3MQYKRN.js → chunk-NXCGNS4N.js} +2 -2
  39. package/{chunk-B2WYM23T.js → chunk-OP7PTBAJ.js} +4 -4
  40. package/{chunk-6K2AKJAD.js → chunk-PAFTGNWA.js} +2 -2
  41. package/{chunk-GL7W7TTR.js → chunk-QQM464AL.js} +2 -2
  42. package/{chunk-SOEYACRP.js → chunk-RXCCWVA2.js} +2 -2
  43. package/{chunk-KULR4QDX.js → chunk-RYWO5AKN.js} +6 -6
  44. package/{chunk-V77PUU5T.js → chunk-SCYQJPGA.js} +1 -1
  45. package/{chunk-32GANJHJ.js → chunk-UCPAVEQB.js} +1 -1
  46. package/{chunk-OHYCQKPW.js → chunk-UMEGDH6A.js} +6 -6
  47. package/{chunk-TZFDJZLM.js → chunk-V3M6IXQI.js} +31 -31
  48. package/{chunk-W7DFYXGQ.js → chunk-WI6OGHXJ.js} +1 -1
  49. package/{chunk-GITM3OZS.js → chunk-YKFP6UGT.js} +20 -11
  50. package/{chunk-JYL7LFKD.js → chunk-YLTLB5A7.js} +3 -3
  51. package/{chunk-GHSXAOWH.js → chunk-ZN5AH4BY.js} +5 -5
  52. package/{chunk-2VDB25VM.js → chunk-ZOO3WJIE.js} +15 -15
  53. package/{commandRegistry-DYVXLHEI.js → commandRegistry-FI2IOQ3U.js} +58 -58
  54. package/{contentThunks-E4QWF36P.js → contentThunks-5LKNNDGY.js} +12 -12
  55. package/{createAgentAutomationAction-NS3WKF2O.js → createAgentAutomationAction-TI4QG4CY.js} +12 -12
  56. package/{createDialogAction-UG2SNRXX.js → createDialogAction-TJ3JKLO4.js} +13 -13
  57. package/createPageAction-GKXT6WEH.js +80 -0
  58. package/{dbSlice-JK7LWBDO.js → dbSlice-LPMZ2DGJ.js} +5 -5
  59. package/{deleteFile-CE24BROO.js → deleteFile-EPUQHKPA.js} +3 -3
  60. package/desktopFolderProjects-SFY5EZS3.js +45 -0
  61. package/{dialogCommands-T7KQMAQO.js → dialogCommands-IWPXIZ5P.js} +7 -7
  62. package/{dialogSlice-ZR5REV4T.js → dialogSlice-ZWNNS7GZ.js} +10 -10
  63. package/{docCreateCommands-L3ZCQ7XR.js → docCreateCommands-HFSPKJSI.js} +7 -7
  64. package/{docDeleteCommands-HUG57JRT.js → docDeleteCommands-CRL62POH.js} +7 -7
  65. package/{docReadCommands-BYMKBKNL.js → docReadCommands-QOTOX3XW.js} +7 -7
  66. package/{docStore-XWLUIDGI.js → docStore-WYLRB7ED.js} +6 -6
  67. package/{docUpdateCommands-JHJDZRII.js → docUpdateCommands-7BMH4MCA.js} +7 -7
  68. package/{handleSendMessageAction-OSA5S6SH.js → handleSendMessageAction-P27YP2DQ.js} +62 -25
  69. package/index.js +4 -4
  70. package/{localRuntimeAdapter-D3C4PG66.js → localRuntimeAdapter-GP6ZSSO3.js} +34 -34
  71. package/{machineCommands-MSY2I3CV.js → machineCommands-6Z6H4BFX.js} +39 -39
  72. package/{machineWsRunDispatch-JQQ35APL.js → machineWsRunDispatch-F2ZIXMYM.js} +35 -35
  73. package/{memberThunks-WT2KVRP4.js → memberThunks-YSEFJF47.js} +6 -6
  74. package/package.json +1 -1
  75. package/projectArchive-PIGEOX3D.js +121 -0
  76. package/{read-ILTT75DW.js → read-DIIQBOOO.js} +3 -3
  77. package/{readDocTool-374CFJYO.js → readDocTool-HXYGOEA7.js} +1 -1
  78. package/{readlineWorkspace-IPCX6XLM.js → readlineWorkspace-UG25G7KC.js} +53 -53
  79. package/{removeDialogAgentAction-UQFCQO6L.js → removeDialogAgentAction-ALJDUJ2E.js} +7 -7
  80. package/{runAgentClientLoop-Z63BHKC2.js → runAgentClientLoop-IO5F7TCZ.js} +24 -24
  81. package/{setDialogExtraReferencesAction-GBIT7WAG.js → setDialogExtraReferencesAction-O3SVMD5A.js} +6 -6
  82. package/{setPrimaryDialogAgentAction-23PMBXWD.js → setPrimaryDialogAgentAction-HE7RVFFF.js} +7 -7
  83. package/{settingThunks-SWYDFUYT.js → settingThunks-BWWJQG4L.js} +5 -5
  84. package/{skillDiscovery-BKLWW2EZ.js → skillDiscovery-XKHROSH2.js} +2 -2
  85. package/{spaceCommands-BKEULUSP.js → spaceCommands-UAELIFEI.js} +7 -7
  86. package/{streamAgentChatTurn-BCOVALCO.js → streamAgentChatTurn-VUKZQYJR.js} +68 -53
  87. package/{switchDialogAgentAction-O7WTPLKG.js → switchDialogAgentAction-3VZS7SOS.js} +5 -5
  88. package/{tableCommands-QYB64L5I.js → tableCommands-D7WR4QSM.js} +1 -1
  89. package/{tools-56LSBUVX.js → tools-VRXJAVYI.js} +21 -21
  90. package/{tuiSummaryLlmCaller-4QCQ2TIN.js → tuiSummaryLlmCaller-TGCHZLSW.js} +2 -2
  91. package/{updateDialogTitleAction-BFBSDYW2.js → updateDialogTitleAction-MULWCJCW.js} +12 -12
  92. package/{chunk-6Q7UTJKR.js → chunk-AGP3YSEC.js} +0 -0
  93. package/{chunk-SZ4ADZFT.js → chunk-LNYHAKBP.js} +3 -3
  94. package/{chunk-3QKILTO3.js → chunk-NTSRCTUX.js} +3 -3
  95. package/{chunk-3IBHFELR.js → chunk-TCTSYFDM.js} +3 -3
  96. package/{chunk-CMLBKYEI.js → chunk-ZRSNONOB.js} +0 -0
  97. package/{workloadLifecycle-JA75D6JR.js → workloadLifecycle-4BEQHMSD.js} +3 -3
@@ -11,9 +11,6 @@ import {
11
11
  getUserDataItemTimestamp,
12
12
  mergeAndDedupUserData
13
13
  } from "./chunk-OXME3PEE.js";
14
- import {
15
- markdownToSlate
16
- } from "./chunk-KSTEXKL6.js";
17
14
  import {
18
15
  addMemberSpace,
19
16
  applyFetchSpaceFulfilled,
@@ -25,7 +22,10 @@ import {
25
22
  setMembershipLoading,
26
23
  setMembershipRejected,
27
24
  updateMemberSpaceName
28
- } from "./chunk-Z3MQYKRN.js";
25
+ } from "./chunk-NXCGNS4N.js";
26
+ import {
27
+ markdownToSlate
28
+ } from "./chunk-KSTEXKL6.js";
29
29
  import {
30
30
  ToolResultError,
31
31
  clipMultilineText,
@@ -38,7 +38,7 @@ import {
38
38
  toolRunUpdated,
39
39
  uiCardFallback,
40
40
  waitForAbortableDelay
41
- } from "./chunk-KULR4QDX.js";
41
+ } from "./chunk-RYWO5AKN.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-NF64D32W.js";
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-I5PBXF7O.js";
56
56
  import {
57
57
  createDocState
58
- } from "./chunk-JYL7LFKD.js";
58
+ } from "./chunk-YLTLB5A7.js";
59
59
  import {
60
60
  ToolApiError,
61
61
  buildToolRequestHeaders,
@@ -70,7 +70,7 @@ import {
70
70
  readPageFunc,
71
71
  readPageFunctionSchema,
72
72
  resolvePageReadMarkdown
73
- } from "./chunk-WYKMOZTW.js";
73
+ } from "./chunk-HD3WR3TD.js";
74
74
  import {
75
75
  extractMentionsFromSlate
76
76
  } from "./chunk-AGIM7IMJ.js";
@@ -79,7 +79,7 @@ import {
79
79
  } from "./chunk-63W5N6P3.js";
80
80
  import {
81
81
  createDialogAction
82
- } from "./chunk-ZKF7ZGN6.js";
82
+ } from "./chunk-7IYBN7IA.js";
83
83
  import {
84
84
  DEFAULT_COLLAPSED_CATEGORIES,
85
85
  addContentToSpace,
@@ -96,17 +96,7 @@ import {
96
96
  updateContentCategory,
97
97
  updateContentTitle,
98
98
  writeStoredCollapsedCategories
99
- } from "./chunk-BXLWFS62.js";
100
- import {
101
- getCurrentSpaceId,
102
- getCurrentSpaceIdRaw,
103
- getCurrentSpaceRaw,
104
- getViewMode,
105
- setCurrentSpace,
106
- setCurrentSpaceBoth,
107
- setViewMode,
108
- updateCurrentSpaceIfMatch
109
- } from "./chunk-5XBUWM6I.js";
99
+ } from "./chunk-NHQKWPLP.js";
110
100
  import {
111
101
  buildDatabaseFileContentUrl,
112
102
  deleteDialog,
@@ -119,14 +109,24 @@ import {
119
109
  selectMsgById,
120
110
  uiAskChoiceFunc,
121
111
  uiAskChoiceFunctionSchema
122
- } from "./chunk-JBFZMJ4J.js";
112
+ } from "./chunk-MBS6CTZB.js";
123
113
  import {
124
114
  createAgent,
125
115
  deleteServerSyncedCredential,
126
116
  runLlm,
127
117
  streamAgentChatTurn,
128
118
  updateAgent
129
- } from "./chunk-IQ52JEVT.js";
119
+ } from "./chunk-ADBWFYJD.js";
120
+ import {
121
+ getCurrentSpaceId,
122
+ getCurrentSpaceIdRaw,
123
+ getCurrentSpaceRaw,
124
+ getViewMode,
125
+ setCurrentSpace,
126
+ setCurrentSpaceBoth,
127
+ setViewMode,
128
+ updateCurrentSpaceIfMatch
129
+ } from "./chunk-5XBUWM6I.js";
130
130
  import {
131
131
  buildMediaToolConfirmation,
132
132
  normalizeMediaConfirmExecutionRevision
@@ -135,7 +135,7 @@ import {
135
135
  UNCATEGORIZED_ID,
136
136
  addContentAction,
137
137
  checkSpaceMembership
138
- } from "./chunk-QAYCF4CH.js";
138
+ } from "./chunk-DQLB4NQ3.js";
139
139
  import {
140
140
  createSpaceKey,
141
141
  normalizeSpaceId
@@ -150,11 +150,11 @@ import {
150
150
  } from "./chunk-YDH3FDFQ.js";
151
151
  import {
152
152
  shareResourceAction
153
- } from "./chunk-GL7W7TTR.js";
153
+ } from "./chunk-QQM464AL.js";
154
154
  import {
155
155
  selectCurrentServer,
156
156
  selectSyncServers
157
- } from "./chunk-HWZT5DKX.js";
157
+ } from "./chunk-BSISWVB4.js";
158
158
  import {
159
159
  patch,
160
160
  read,
@@ -166,10 +166,10 @@ import {
166
166
  selectEntities,
167
167
  toTimestampMs,
168
168
  write
169
- } from "./chunk-OHYCQKPW.js";
169
+ } from "./chunk-UMEGDH6A.js";
170
170
  import {
171
171
  readAction
172
- } from "./chunk-6K2AKJAD.js";
172
+ } from "./chunk-PAFTGNWA.js";
173
173
  import {
174
174
  DEVICE_LOCAL_OWNER_ID,
175
175
  getRuntimeServerContext,
@@ -179,7 +179,7 @@ import {
179
179
  resolveEffectiveSpaceActorId,
180
180
  resolveRecordOwnerUserId,
181
181
  selectRuntimeSnapshot
182
- } from "./chunk-32GANJHJ.js";
182
+ } from "./chunk-UCPAVEQB.js";
183
183
  import {
184
184
  createAsyncThunk,
185
185
  noloWriteRequest
@@ -3898,7 +3898,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3898
3898
  const deletedDialogIds = [];
3899
3899
  const deletedDialogKeys = [];
3900
3900
  const failures = [];
3901
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-ZR5REV4T.js");
3901
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-ZWNNS7GZ.js");
3902
3902
  for (const target of targets) {
3903
3903
  try {
3904
3904
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4277,7 +4277,7 @@ var readSkillDocFunctionSchema = {
4277
4277
  }
4278
4278
  };
4279
4279
  async function readSkillDocFunc(args, thunkApi) {
4280
- const { buildReadDocResult } = await import("./readDocTool-374CFJYO.js");
4280
+ const { buildReadDocResult } = await import("./readDocTool-HXYGOEA7.js");
4281
4281
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4282
4282
  if (typeof id !== "string" || !id.trim()) {
4283
4283
  throw new Error("readSkillDoc requires id or doc.");
@@ -5090,7 +5090,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5090
5090
  const spaceKey = createSpaceKey.space(spaceId);
5091
5091
  const readSpace = async (dbKey) => {
5092
5092
  try {
5093
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-JK7LWBDO.js");
5093
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-LPMZ2DGJ.js");
5094
5094
  const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
5095
5095
  return await withTimeout(readPromise);
5096
5096
  } catch {
@@ -11738,7 +11738,7 @@ var selectUserIdFromState = (state2) => {
11738
11738
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
11739
11739
  async function addImageContentToSpace(input) {
11740
11740
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
11741
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-FEN3H2EE.js")).addContentAction;
11741
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-7C76J7ST.js")).addContentAction;
11742
11742
  await addContentAction2(
11743
11743
  {
11744
11744
  spaceId: input.spaceId,
@@ -18699,7 +18699,7 @@ async function updateDocFunc(args, thunkApi) {
18699
18699
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18700
18700
  };
18701
18701
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18702
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-XWLUIDGI.js");
18702
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-WYLRB7ED.js");
18703
18703
  if (getDocState().pageKey === id) {
18704
18704
  applyExternalDocUpdate({
18705
18705
  slateData: finalSlateData,
@@ -18724,7 +18724,7 @@ async function updateDocFunc(args, thunkApi) {
18724
18724
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
18725
18725
  async function dispatchSetSettings(thunkApi, changes) {
18726
18726
  const injectedSetSettings = thunkApi?.extra?.setSettings;
18727
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-SWYDFUYT.js")).setSettings;
18727
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-BWWJQG4L.js")).setSettings;
18728
18728
  await thunkApi.dispatch(setSettings(changes)).unwrap();
18729
18729
  }
18730
18730
  var updateUserPreferenceProfileFunctionSchema = {
@@ -1,3 +1,10 @@
1
+ import {
2
+ customNativeAuthHeaders,
3
+ detectDeclaredCustomNativeWire,
4
+ isCallerCancellation,
5
+ resolveCustomNativeApiKeyHeader,
6
+ resolveCustomNativeEndpoint
7
+ } from "./chunk-WOAZVUSN.js";
1
8
  import {
2
9
  adoptRequiredClaudeCodeVersion,
3
10
  anthropicRefresh,
@@ -30,12 +37,10 @@ import {
30
37
  NOLO_DEFAULT_AGENT_KEY
31
38
  } from "./chunk-NBTY7YJF.js";
32
39
  import {
33
- customNativeAuthHeaders,
34
- detectDeclaredCustomNativeWire,
35
- isCallerCancellation,
36
- resolveCustomNativeApiKeyHeader,
37
- resolveCustomNativeEndpoint
38
- } from "./chunk-WOAZVUSN.js";
40
+ CliProviderQuotaError,
41
+ executeCli,
42
+ executeCliStreaming
43
+ } from "./chunk-VL5KOY2C.js";
39
44
  import {
40
45
  isCursorOAuthAgent
41
46
  } from "./chunk-VIWDGTDA.js";
@@ -56,22 +61,13 @@ import {
56
61
  import {
57
62
  applyPublicAgentCatalogOverride
58
63
  } from "./chunk-RQ22OZD7.js";
59
- import {
60
- CliProviderQuotaError,
61
- executeCli,
62
- executeCliStreaming
63
- } from "./chunk-VL5KOY2C.js";
64
64
  import {
65
65
  buildCliPrompt
66
66
  } from "./chunk-ATNTHIZI.js";
67
- import {
68
- inferCaptureIntent,
69
- resolveUserSkillRuntime
70
- } from "./chunk-NEZGPBL7.js";
71
67
  import {
72
68
  inlineImageUrlsForCustomProvider,
73
69
  prepareTools
74
- } from "./chunk-GTQFLOYM.js";
70
+ } from "./chunk-25M2K6OA.js";
75
71
  import {
76
72
  getServerProviderSecret
77
73
  } from "./chunk-HS7MLR74.js";
@@ -93,7 +89,7 @@ import {
93
89
  resolveCliLocalRuntimeKeyCapability,
94
90
  resolveCliLocalSpawnDispatch,
95
91
  resolveStartAgentRunCwd
96
- } from "./chunk-WYOJXAIC.js";
92
+ } from "./chunk-LT3EAHJY.js";
97
93
  import {
98
94
  fetchWithTransientRetry,
99
95
  isTransientFetchError
@@ -102,6 +98,10 @@ import {
102
98
  deriveCredentialGroup,
103
99
  deriveCustomProviderCredentialGroup
104
100
  } from "./chunk-YXOBCDNW.js";
101
+ import {
102
+ inferCaptureIntent,
103
+ resolveUserSkillRuntime
104
+ } from "./chunk-NEZGPBL7.js";
105
105
  import {
106
106
  resolveAgentRequiredPackIds,
107
107
  resolveUserEnabledSkills
@@ -114,14 +114,14 @@ import {
114
114
  resolveBuiltinPlatformAgentConfig,
115
115
  runKeyed,
116
116
  validateAskChoiceInput
117
- } from "./chunk-JBFZMJ4J.js";
117
+ } from "./chunk-MBS6CTZB.js";
118
118
  import {
119
119
  BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
120
120
  BUILTIN_TITLE_LLM_CONFIG
121
121
  } from "./chunk-523DITKR.js";
122
122
  import {
123
123
  fetchServerSyncedCredential
124
- } from "./chunk-IQ52JEVT.js";
124
+ } from "./chunk-ADBWFYJD.js";
125
125
  import {
126
126
  getDefaultCliLocalRuntimeDb
127
127
  } from "./chunk-AZMYUSVF.js";
@@ -181,7 +181,7 @@ import {
181
181
  runExecShellGates,
182
182
  validateConfiguredRootExecutionLease,
183
183
  verifyOwnerRouteAck
184
- } from "./chunk-2VDB25VM.js";
184
+ } from "./chunk-ZOO3WJIE.js";
185
185
  import {
186
186
  accumulateGeminiChunks,
187
187
  buildGeminiGenerateContentRequest,
@@ -193,7 +193,7 @@ import {
193
193
  resolveAntigravityFinishReason,
194
194
  resolveGeminiModelQuirks,
195
195
  shouldUseGeminiNativeToolRoute
196
- } from "./chunk-3QKILTO3.js";
196
+ } from "./chunk-NTSRCTUX.js";
197
197
  import {
198
198
  PlatformStreamInterruptedError,
199
199
  buildPlatformChatCompletionRequest,
@@ -204,20 +204,14 @@ import {
204
204
  readPlatformChatSseCompletion,
205
205
  resolvePlatformChatProviderConfig,
206
206
  shouldUsePlatformChatProvider
207
- } from "./chunk-3IBHFELR.js";
207
+ } from "./chunk-TCTSYFDM.js";
208
208
  import {
209
209
  readSseDataValues,
210
210
  readSseFrames
211
211
  } from "./chunk-HNUWUO75.js";
212
212
  import {
213
213
  resolveAgentRuntimeConfigFromRecord
214
- } from "./chunk-SZ4ADZFT.js";
215
- import {
216
- resolveHistoricalToolContentCap
217
- } from "./chunk-2WZXXAQD.js";
218
- import {
219
- resolveToolImagePolicy
220
- } from "./chunk-DA7CTWT4.js";
214
+ } from "./chunk-LNYHAKBP.js";
221
215
  import {
222
216
  collectStablePromptPrefix,
223
217
  convertMessagesToResponsesInput,
@@ -248,6 +242,12 @@ import {
248
242
  resolveCooldownGate,
249
243
  resolveCredentialKeyWithFallback
250
244
  } from "./chunk-YUXQAVRD.js";
245
+ import {
246
+ resolveHistoricalToolContentCap
247
+ } from "./chunk-2WZXXAQD.js";
248
+ import {
249
+ resolveToolImagePolicy
250
+ } from "./chunk-DA7CTWT4.js";
251
251
  import {
252
252
  buildDialogFallbackTitleFromUserInput,
253
253
  normalizeDialogTitle
@@ -10053,7 +10053,7 @@ async function createLocalDockerWorkload(args) {
10053
10053
  }
10054
10054
  const createLifecycle = args.createLifecycle ?? (async () => {
10055
10055
  const [{ DockerWorkloadLifecycle, createDockerBindingAuthorizer }, accounts] = await Promise.all([
10056
- import("./workloadLifecycle-JA75D6JR.js"),
10056
+ import("./workloadLifecycle-4BEQHMSD.js"),
10057
10057
  import("./accountResolver-4LKIHEKL.js")
10058
10058
  ]);
10059
10059
  const resolveAccount = args.resolveAccount ?? accounts.createDockerAccountResolver({
@@ -11,19 +11,19 @@ import {
11
11
  } from "./chunk-523DITKR.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-IQ52JEVT.js";
14
+ } from "./chunk-ADBWFYJD.js";
15
15
  import {
16
16
  isMediaToolConfirmation
17
17
  } from "./chunk-QYPE3TS3.js";
18
18
  import {
19
19
  cleanupCliSessionForDialog
20
- } from "./chunk-T3U2KQF4.js";
20
+ } from "./chunk-NLT32XBZ.js";
21
21
  import {
22
22
  getApproxPricePerImage
23
23
  } from "./chunk-4JH2UMJR.js";
24
24
  import {
25
25
  addContentAction
26
- } from "./chunk-QAYCF4CH.js";
26
+ } from "./chunk-DQLB4NQ3.js";
27
27
  import {
28
28
  getActiveDialogAgentId,
29
29
  getDialogAgentIds,
@@ -61,12 +61,12 @@ import {
61
61
  selectById,
62
62
  upload,
63
63
  write
64
- } from "./chunk-OHYCQKPW.js";
64
+ } from "./chunk-UMEGDH6A.js";
65
65
  import {
66
66
  getRuntimeServerContext,
67
67
  parseOwnerUserIdFromDbKey,
68
68
  scheduleDeleteReplication
69
- } from "./chunk-32GANJHJ.js";
69
+ } from "./chunk-UCPAVEQB.js";
70
70
  import {
71
71
  asyncThunkCreator,
72
72
  buildCreateSlice,
@@ -11077,7 +11077,7 @@ var messageSlice = createSliceWithThunks({
11077
11077
  runtimeOptions: args.runtimeOptions
11078
11078
  });
11079
11079
  if (agentKeyToUse) {
11080
- const { streamAgentChatTurn } = await import("./agentSlice-HFQKZPGI.js");
11080
+ const { streamAgentChatTurn } = await import("./agentSlice-WNGUIMQZ.js");
11081
11081
  await dispatch(
11082
11082
  streamAgentChatTurn({
11083
11083
  agentKey: agentKeyToUse,
@@ -13829,7 +13829,7 @@ var deleteOwnedDialogAttachments = async (args) => {
13829
13829
  metadataReadFailures
13830
13830
  });
13831
13831
  if (!plan.deleteCandidates.length) return plan;
13832
- const { deleteFileAction } = await import("./deleteFile-CE24BROO.js");
13832
+ const { deleteFileAction } = await import("./deleteFile-EPUQHKPA.js");
13833
13833
  for (const candidate of plan.deleteCandidates) {
13834
13834
  if (candidate.fileDbKey) {
13835
13835
  await deleteFileAction(candidate.fileDbKey, args.thunkApi);
@@ -13891,7 +13891,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13891
13891
  }
13892
13892
  if (isCurrentDialog) {
13893
13893
  await thunkApi.dispatch(resetMsgs());
13894
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ZR5REV4T.js");
13894
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ZWNNS7GZ.js");
13895
13895
  dispatch(clearPendingAttachments2());
13896
13896
  }
13897
13897
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13899,39 +13899,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13899
13899
 
13900
13900
  // packages/chat/dialog/dialogSlice.ts
13901
13901
  var runCreateDialogAction = async (args, thunkApi) => {
13902
- const { createDialogAction } = await import("./createDialogAction-UG2SNRXX.js");
13902
+ const { createDialogAction } = await import("./createDialogAction-TJ3JKLO4.js");
13903
13903
  return createDialogAction(args, thunkApi);
13904
13904
  };
13905
13905
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13906
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-NS3WKF2O.js");
13906
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-TI4QG4CY.js");
13907
13907
  return createAgentAutomationAction(args, thunkApi);
13908
13908
  };
13909
13909
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13910
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-BFBSDYW2.js");
13910
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-MULWCJCW.js");
13911
13911
  return updateDialogTitleAction(args, thunkApi);
13912
13912
  };
13913
13913
  var runAddDialogAgentAction = async (args, thunkApi) => {
13914
- const { addDialogAgentAction } = await import("./addDialogAgentAction-DDA6S3WS.js");
13914
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-KTYANUEC.js");
13915
13915
  return addDialogAgentAction(args, thunkApi);
13916
13916
  };
13917
13917
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
13918
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-UQFCQO6L.js");
13918
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-ALJDUJ2E.js");
13919
13919
  return removeDialogAgentAction(args, thunkApi);
13920
13920
  };
13921
13921
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
13922
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-23PMBXWD.js");
13922
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-HE7RVFFF.js");
13923
13923
  return setPrimaryDialogAgentAction(args, thunkApi);
13924
13924
  };
13925
13925
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
13926
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-O7WTPLKG.js");
13926
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-3VZS7SOS.js");
13927
13927
  return switchDialogAgentAction(args, thunkApi);
13928
13928
  };
13929
13929
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13930
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-GBIT7WAG.js");
13930
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-O3SVMD5A.js");
13931
13931
  return setDialogExtraReferencesAction(args, thunkApi);
13932
13932
  };
13933
13933
  var runHandleSendMessageAction = async (args, thunkApi) => {
13934
- const { handleSendMessageAction } = await import("./handleSendMessageAction-OSA5S6SH.js");
13934
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-P27YP2DQ.js");
13935
13935
  return handleSendMessageAction(args, thunkApi);
13936
13936
  };
13937
13937
  function clearDialogState() {
@@ -13944,7 +13944,7 @@ var createPageAndAddReference = createAsyncThunk(
13944
13944
  async (payload, { dispatch, getState, rejectWithValue }) => {
13945
13945
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13946
13946
  try {
13947
- const { createDocState } = await import("./docStore-XWLUIDGI.js");
13947
+ const { createDocState } = await import("./docStore-WYLRB7ED.js");
13948
13948
  const pageKey = await createDocState(
13949
13949
  { slateData, title },
13950
13950
  { dispatch, getState }
@@ -1,19 +1,19 @@
1
+ import {
2
+ deleteDialog,
3
+ runtime_default,
4
+ toast
5
+ } from "./chunk-MBS6CTZB.js";
1
6
  import {
2
7
  getCurrentSpaceId,
3
8
  getCurrentSpaceIdRaw,
4
9
  updateCurrentSpaceIfMatch
5
10
  } from "./chunk-5XBUWM6I.js";
6
- import {
7
- deleteDialog,
8
- runtime_default,
9
- toast
10
- } from "./chunk-JBFZMJ4J.js";
11
11
  import {
12
12
  UNCATEGORIZED_ID,
13
13
  addContentAction,
14
14
  checkSpaceMembership,
15
15
  localSpaceAuthorityPatchStamp
16
- } from "./chunk-QAYCF4CH.js";
16
+ } from "./chunk-DQLB4NQ3.js";
17
17
  import {
18
18
  createSpaceKey,
19
19
  normalizeSpaceId
@@ -32,7 +32,7 @@ import {
32
32
  uploadFileAction,
33
33
  upsertSSREntity,
34
34
  write
35
- } from "./chunk-OHYCQKPW.js";
35
+ } from "./chunk-UMEGDH6A.js";
36
36
  import {
37
37
  resolveFileCategory
38
38
  } from "./chunk-3PVYUPXK.js";
@@ -43,13 +43,13 @@ import {
43
43
  resolveReplicationServers,
44
44
  scheduleDeleteReplication,
45
45
  scheduleWriteReplication
46
- } from "./chunk-32GANJHJ.js";
46
+ } from "./chunk-UCPAVEQB.js";
47
47
  import {
48
48
  createAsyncThunk
49
49
  } from "./chunk-X4F26D5K.js";
50
50
  import {
51
51
  getIsDesktopApp
52
- } from "./chunk-6Q7UTJKR.js";
52
+ } from "./chunk-AGP3YSEC.js";
53
53
  import {
54
54
  createClientLogger
55
55
  } from "./chunk-QQ56R7KS.js";
@@ -454,6 +454,13 @@ function addColumnOptionInMeta(meta, input, deps) {
454
454
 
455
455
  // packages/render/table/createTableAction.ts
456
456
  import { ulid as ulid2 } from "ulid";
457
+
458
+ // packages/create/space/resolveCreationSpaceId.ts
459
+ function resolveCreationSpaceId(customSpaceId, currentSpaceId) {
460
+ return (customSpaceId ?? currentSpaceId) || null;
461
+ }
462
+
463
+ // packages/render/table/createTableAction.ts
457
464
  var DEFAULT_COLUMNS = [
458
465
  {
459
466
  name: "title",
@@ -552,7 +559,7 @@ var createTableAction = async ({
552
559
  const state3 = getState();
553
560
  const userId = selectIdentityUserId(state3);
554
561
  if (!userId) throw new Error("User ID not found.");
555
- const spaceId = customSpaceId ?? getCurrentSpaceId();
562
+ const spaceId = resolveCreationSpaceId(customSpaceId, getCurrentSpaceId());
556
563
  const tableId = ulid2();
557
564
  const now = /* @__PURE__ */ new Date();
558
565
  const nowIso = formatISO(now);
@@ -1497,11 +1504,11 @@ var ENTITY_DELETE_STRATEGIES = {
1497
1504
  await dispatch(deleteTable({ dbKey: key })).unwrap();
1498
1505
  },
1499
1506
  file: async (key, { thunkAPI }) => {
1500
- const { deleteFileAction } = await import("./deleteFile-CE24BROO.js");
1507
+ const { deleteFileAction } = await import("./deleteFile-EPUQHKPA.js");
1501
1508
  await deleteFileAction(key, thunkAPI);
1502
1509
  },
1503
1510
  image: async (key, { thunkAPI }) => {
1504
- const { deleteFileAction } = await import("./deleteFile-CE24BROO.js");
1511
+ const { deleteFileAction } = await import("./deleteFile-EPUQHKPA.js");
1505
1512
  await deleteFileAction(key, thunkAPI);
1506
1513
  },
1507
1514
  agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
@@ -2663,6 +2670,7 @@ var updateContentCategory = createAsyncThunk(
2663
2670
 
2664
2671
  export {
2665
2672
  fetchAndCacheTableRows,
2673
+ resolveCreationSpaceId,
2666
2674
  getTableState,
2667
2675
  loadTableRows,
2668
2676
  addRow,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  selectCurrentServer
3
- } from "./chunk-HWZT5DKX.js";
3
+ } from "./chunk-BSISWVB4.js";
4
4
  import {
5
5
  patch
6
- } from "./chunk-OHYCQKPW.js";
6
+ } from "./chunk-UMEGDH6A.js";
7
7
  import {
8
8
  getIsDesktopApp
9
- } from "./chunk-6Q7UTJKR.js";
9
+ } from "./chunk-AGP3YSEC.js";
10
10
  import {
11
11
  selectIdentityToken
12
12
  } from "./chunk-PXYBUFDB.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-GHSXAOWH.js";
6
+ } from "./chunk-ZN5AH4BY.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-IQ52JEVT.js";
9
+ } from "./chunk-ADBWFYJD.js";
10
10
  import {
11
11
  buildSkillGuidancePromptBlock
12
12
  } from "./chunk-Y6M7KJOA.js";
@@ -262,6 +262,7 @@ ${contexts.userGlobalPrompt.trim()} ` : "";
262
262
  const memoryUseGuidanceSection = hasMemoryTools ? MEMORY_USE_GUIDANCE : "";
263
263
  const skillGuidanceSection = buildSkillGuidanceBlock(agentConfig);
264
264
  const referenceMaterialsSection = buildReferenceMaterialsBlock(contexts);
265
+ const requestContextBlocksSection = (contexts.requestContextBlocks ?? []).map((block) => typeof block === "string" ? block.trim() : "").filter((block) => block.length > 0).join("\n\n");
265
266
  const dialogSummarySection = contexts.dialogSummary?.trim() ? `--- \u5386\u53F2\u5BF9\u8BDD\u6458\u8981 ---
266
267
  ${wrapHistoricalSummaryWithReplayGuard(contexts.dialogSummary)}` : "";
267
268
  return compileContextLayers([
@@ -345,6 +346,12 @@ ${wrapHistoricalSummaryWithReplayGuard(contexts.dialogSummary)}` : "";
345
346
  { id: "space-context", owner: "runtime", cacheScope: "session", content: spaceContextSection },
346
347
  { id: "memory-use-guidance", owner: "platform", cacheScope: "session", content: memoryUseGuidanceSection },
347
348
  { id: "reference-materials", owner: "agent", cacheScope: "turn", content: referenceMaterialsSection },
349
+ {
350
+ id: "request-context-blocks",
351
+ owner: "runtime",
352
+ cacheScope: "turn",
353
+ content: requestContextBlocksSection
354
+ },
348
355
  { id: "memory-overlay", owner: "runtime", cacheScope: "turn", content: memoryOverlaySection },
349
356
  { id: "app-working-memory", owner: "runtime", cacheScope: "turn", content: appWorkingMemorySection },
350
357
  { id: "dialog-summary", owner: "runtime", cacheScope: "turn", content: dialogSummarySection },
@@ -11,11 +11,11 @@ import {
11
11
  } from "./chunk-YDH3FDFQ.js";
12
12
  import {
13
13
  toTimestampMs
14
- } from "./chunk-OHYCQKPW.js";
14
+ } from "./chunk-UMEGDH6A.js";
15
15
  import {
16
16
  fetchFromServer,
17
17
  getAllServers
18
- } from "./chunk-6Q7UTJKR.js";
18
+ } from "./chunk-AGP3YSEC.js";
19
19
  import {
20
20
  selectIdentityToken,
21
21
  selectIdentityUserId
@@ -4,6 +4,9 @@ import {
4
4
  runCloudflareOAuthLogin,
5
5
  upsertEnvVariable
6
6
  } from "./chunk-27E2CBBY.js";
7
+ import {
8
+ defaultOpenBrowser
9
+ } from "./chunk-XE4Q46FF.js";
7
10
  import {
8
11
  ANTHROPIC_OAUTH_AUTHORIZE_URL,
9
12
  ANTHROPIC_OAUTH_CALLBACK_PORT,
@@ -48,9 +51,6 @@ import {
48
51
  validateXAIEndpoint,
49
52
  xaiOAuthDiscovery
50
53
  } from "./chunk-SN5XE6GQ.js";
51
- import {
52
- defaultOpenBrowser
53
- } from "./chunk-XE4Q46FF.js";
54
54
  import {
55
55
  extractGoogleValidationLink
56
56
  } from "./chunk-BMQ2MJUK.js";
@@ -60,7 +60,7 @@ import {
60
60
  detectLocalDevinCredentials,
61
61
  extractDevinToken,
62
62
  fetchAntigravityCloudCodeCompletion
63
- } from "./chunk-3QKILTO3.js";
63
+ } from "./chunk-NTSRCTUX.js";
64
64
  import {
65
65
  createOAuthTokenStore,
66
66
  resolveFreshAccessToken
@@ -7,13 +7,13 @@ import {
7
7
  scheduleExistingRecordReplication,
8
8
  shouldReplaceLocalWithRemoteRecord,
9
9
  shouldReplicateLocalRecord
10
- } from "./chunk-32GANJHJ.js";
10
+ } from "./chunk-UCPAVEQB.js";
11
11
  import {
12
12
  fetchFromClientDb,
13
13
  fetchFromServer,
14
14
  isReadTimeoutError,
15
15
  logger
16
- } from "./chunk-6Q7UTJKR.js";
16
+ } from "./chunk-AGP3YSEC.js";
17
17
  import {
18
18
  shouldReplaceWithNextRecord
19
19
  } from "./chunk-D2MDMY2M.js";