nolo-cli 0.28.0 → 0.29.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-SUMILI7E.js → _executeModel-TN7FW73L.js} +21 -21
- package/{action-5MNAXR5B.js → action-6BM26ZYM.js} +4 -4
- package/{addContentAction-UNSYTVTB.js → addContentAction-HLTFX56O.js} +3 -3
- package/{addDialogAgentAction-LJGNP2AO.js → addDialogAgentAction-Q2TYWDO6.js} +2 -2
- package/{agentDeleteCommand-GEHAXWM6.js → agentDeleteCommand-VP4VLCMG.js} +10 -10
- package/{agentEmailCommands-PQXAKGK2.js → agentEmailCommands-N32KWVCX.js} +24 -24
- package/{agentListCommands-V2IIWNTX.js → agentListCommands-MXITEBUS.js} +12 -12
- package/{agentMachineCommands-Y47CABE2.js → agentMachineCommands-47Y2XEZZ.js} +10 -10
- package/{agentRecordCommands-UYUJUT4K.js → agentRecordCommands-AK6ZRJLD.js} +24 -24
- package/{agentRunCommand-3P6CCJQK.js → agentRunCommand-24SNVDNC.js} +24 -24
- package/{agentRuntimeLocal-ZALQDCZ3.js → agentRuntimeLocal-VI3NHLDU.js} +7 -7
- package/{agentSlice-LH2YKWE7.js → agentSlice-D666DABC.js} +3 -3
- package/{appDeleteCommands-XELAKISE.js → appDeleteCommands-SF2V6QYZ.js} +11 -11
- package/{appDeployCommands-PFHVHXJ3.js → appDeployCommands-3EPVR545.js} +11 -11
- package/{appDeployStatusCommands-RULB3DGE.js → appDeployStatusCommands-O65Y747J.js} +11 -11
- package/{appGetCommands-A3NLQ2U5.js → appGetCommands-AHDOF4SS.js} +11 -11
- package/{appListCommands-NQLJ7RHY.js → appListCommands-Y7YCXODU.js} +11 -11
- package/{chunk-XMAELUQW.js → chunk-2AX4ZWSG.js} +21 -21
- package/{chunk-7IX2Z2IF.js → chunk-33K2M3AU.js} +2 -2
- package/{chunk-54VHTARN.js → chunk-3LJ4RSSF.js} +1 -1
- package/{chunk-D36OKPFG.js → chunk-4MCHUZUI.js} +1 -1
- package/{chunk-IVMPWUAR.js → chunk-7CP4UOUV.js} +2 -2
- package/{chunk-I6RJGORZ.js → chunk-BOPFLKHA.js} +1 -1
- package/{chunk-7OYY7W4W.js → chunk-BPZSJH5X.js} +3 -3
- package/{chunk-OXLLFZNF.js → chunk-DBUNOYLF.js} +1 -1
- package/{chunk-S6KVFOUG.js → chunk-ENUJPSZN.js} +2 -2
- package/{chunk-D5D3XTWF.js → chunk-F7S2SH5C.js} +58 -20
- package/{chunk-MSXDPLDQ.js → chunk-FVY6KI5A.js} +1 -1
- package/{chunk-E4XWECLB.js → chunk-GFVFYNL7.js} +2 -2
- package/{chunk-4O2L6YR5.js → chunk-GVYU3EVI.js} +3 -3
- package/{chunk-7ZKK4F22.js → chunk-I5TJCJQP.js} +1 -1
- package/{chunk-ROJI6DRT.js → chunk-INWBJPQC.js} +2 -2
- package/{chunk-FON47ACC.js → chunk-JYSXE6LE.js} +3 -3
- package/{chunk-ATGTWONB.js → chunk-MHHYH3JA.js} +1 -1
- package/{chunk-SFFG3HJH.js → chunk-MUI34IA2.js} +4 -4
- package/{chunk-A6WDXLAG.js → chunk-P6TB7JIA.js} +158 -12
- package/{chunk-WCP5FDTF.js → chunk-PFTK5SEB.js} +21 -5
- package/{chunk-JQ3LNEMS.js → chunk-PMSG3OGF.js} +51 -4
- package/{chunk-QUXMWSCQ.js → chunk-RD6AOXQI.js} +22 -66
- package/{chunk-OMN2LILO.js → chunk-SNMJPH7J.js} +1 -1
- package/{chunk-UP7UFQOH.js → chunk-STOUEEBU.js} +1 -1
- package/{chunk-H7N2NOJF.js → chunk-STRCGEC6.js} +7 -4
- package/{chunk-HTLBU4ZY.js → chunk-WNENLKKI.js} +7 -7
- package/{chunk-MALVZUYL.js → chunk-WPRSBZYN.js} +1 -1
- package/{chunk-RRWRVIQU.js → chunk-XISENOC2.js} +1 -1
- package/{chunk-PASYOZYI.js → chunk-XMAMUPXU.js} +13 -11
- package/{chunk-BTA2CW6H.js → chunk-Y52E3TIS.js} +9 -9
- package/{chunk-MY54LNPC.js → chunk-YBHJZVWO.js} +3 -3
- package/{chunk-4UYKPT74.js → chunk-YRMUYZ5H.js} +2 -2
- package/{chunk-JMSCXQUG.js → chunk-Z3LLUGD5.js} +1 -1
- package/{createAgentAutomationAction-FAYQK5ME.js → createAgentAutomationAction-VK3N263U.js} +8 -8
- package/{createDialogAction-NDBK6IQG.js → createDialogAction-KWZ74S2G.js} +9 -9
- package/{createPageAction-CQTLV7FP.js → createPageAction-3CIZL5ZL.js} +8 -8
- package/{dbSlice-5BKDURDL.js → dbSlice-GOKRGQ47.js} +2 -2
- package/{dialogCommands-ZR42K2M5.js → dialogCommands-N4XKI6ZU.js} +11 -11
- package/{dialogSlice-ZLGEYKLO.js → dialogSlice-TKYB6VLO.js} +8 -8
- package/{docCreateCommands-2WXA3BCQ.js → docCreateCommands-DTDKANXX.js} +10 -10
- package/{docDeleteCommands-HSL7CD32.js → docDeleteCommands-U4NB6OHK.js} +11 -11
- package/{docReadCommands-YSPUU2DP.js → docReadCommands-SDVQM3BH.js} +10 -10
- package/{docStore-LJQIY2ZU.js → docStore-E5QAM75M.js} +9 -9
- package/{docUpdateCommands-EFYOIVM7.js → docUpdateCommands-O2O644FV.js} +10 -10
- package/{handleSendMessageAction-JL6GGVNW.js → handleSendMessageAction-7OVC2SVU.js} +8 -8
- package/index.js +40 -40
- package/{machineCommands-VAANUFNC.js → machineCommands-6GNFKAVC.js} +23 -23
- package/{machineWsRunDispatch-ABWV2WZO.js → machineWsRunDispatch-2DCHVG3U.js} +23 -23
- package/package.json +1 -1
- package/{read-F3L3T2WJ.js → read-A23NKT3O.js} +1 -1
- package/{readDocTool-FOHWVA4R.js → readDocTool-JAM5BI5Q.js} +1 -1
- package/{readlineWorkspace-GQI3XP5E.js → readlineWorkspace-KELDMUNZ.js} +27 -27
- package/{removeDialogAgentAction-QCFGIUIH.js → removeDialogAgentAction-K4HOWFHO.js} +4 -4
- package/{runAgentClientLoop-U632N2KO.js → runAgentClientLoop-R3S7YN6Z.js} +18 -18
- package/{setDialogExtraReferencesAction-DK4CKERU.js → setDialogExtraReferencesAction-JD7J7JM4.js} +3 -3
- package/{setPrimaryDialogAgentAction-SJSO6N27.js → setPrimaryDialogAgentAction-YWSA5XEU.js} +4 -4
- package/{settingSlice-XNM5AFPU.js → settingSlice-22GTX6CA.js} +3 -3
- package/{spaceCommands-DE6KNJIV.js → spaceCommands-WM6W3WMQ.js} +10 -10
- package/{spaceSlice-QTMWWQHQ.js → spaceSlice-RC2APBOD.js} +8 -8
- package/{streamAgentChatTurn-VU7BM3K3.js → streamAgentChatTurn-Q655CCVP.js} +77 -33
- package/{switchDialogAgentAction-4OAC6QRN.js → switchDialogAgentAction-6JKFBJVR.js} +2 -2
- package/{tools-LSIS6NY6.js → tools-A6MUIA3Q.js} +16 -16
- package/{updateDialogTitleAction-T77A54DE.js → updateDialogTitleAction-DQYY564Y.js} +8 -8
- package/{chunk-ATWUOTJP.js → chunk-NWT2WUCY.js} +1 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
deleteServerSyncedCredential,
|
|
14
14
|
runLlm
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MUI34IA2.js";
|
|
16
16
|
import {
|
|
17
17
|
isOAuthApiKeyRef
|
|
18
18
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-CWMSB67P.js";
|
|
22
22
|
import {
|
|
23
23
|
cleanupCliSessionForDialog
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-INWBJPQC.js";
|
|
25
25
|
import {
|
|
26
26
|
getActiveDialogAgentId,
|
|
27
27
|
getDialogAgentIds,
|
|
@@ -41,8 +41,9 @@ import {
|
|
|
41
41
|
normalizeAssistantContentBuffer,
|
|
42
42
|
planCompression,
|
|
43
43
|
resolveAutoExecutionProfile,
|
|
44
|
+
resolveBuiltinPlatformAgentRecord,
|
|
44
45
|
serializeMessageContent
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-PMSG3OGF.js";
|
|
46
47
|
import {
|
|
47
48
|
createFileCredentialBroker
|
|
48
49
|
} from "./chunk-5CS33IBL.js";
|
|
@@ -80,7 +81,7 @@ import {
|
|
|
80
81
|
selectRemoteServer,
|
|
81
82
|
selectRemoteServers,
|
|
82
83
|
selectRemoteSyncServers
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ENUJPSZN.js";
|
|
84
85
|
import {
|
|
85
86
|
asRecordOrEmpty
|
|
86
87
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -91,7 +92,7 @@ import {
|
|
|
91
92
|
createSpaceKey,
|
|
92
93
|
localSpaceAuthorityPatchStamp,
|
|
93
94
|
normalizeSpaceId
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-DBUNOYLF.js";
|
|
95
96
|
import {
|
|
96
97
|
patch,
|
|
97
98
|
read,
|
|
@@ -104,7 +105,7 @@ import {
|
|
|
104
105
|
uploadFileAction,
|
|
105
106
|
upsertSSREntity,
|
|
106
107
|
write
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-JYSXE6LE.js";
|
|
108
109
|
import {
|
|
109
110
|
DB_PREFIX,
|
|
110
111
|
SEPARATOR,
|
|
@@ -141,9 +142,8 @@ import {
|
|
|
141
142
|
asTrimmedLowercaseString
|
|
142
143
|
} from "./chunk-QSJ3HFEF.js";
|
|
143
144
|
import {
|
|
144
|
-
builtinRuntimeFallbackEntries,
|
|
145
145
|
readAction
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-NWT2WUCY.js";
|
|
147
147
|
import {
|
|
148
148
|
DEVICE_LOCAL_OWNER_ID,
|
|
149
149
|
asyncThunkCreator,
|
|
@@ -186,8 +186,7 @@ import {
|
|
|
186
186
|
} from "./chunk-U6VC4MU4.js";
|
|
187
187
|
import {
|
|
188
188
|
extractCustomId,
|
|
189
|
-
extractUserId
|
|
190
|
-
publicAgentKey
|
|
189
|
+
extractUserId
|
|
191
190
|
} from "./chunk-SLOGKB7M.js";
|
|
192
191
|
import {
|
|
193
192
|
isRecord
|
|
@@ -3804,47 +3803,6 @@ var buildPersonalizationDialogPolicyContext = () => [
|
|
|
3804
3803
|
"\u9664\u975E\u7528\u6237\u660E\u786E\u8981\u6C42\uFF0C\u5426\u5219\u4E0D\u8981\u521B\u5EFA\u6587\u6863\uFF0C\u4E0D\u8981\u521B\u5EFA\u6216\u4FEE\u6539\u4EFB\u4F55 agent\u3002"
|
|
3805
3804
|
].join("\n");
|
|
3806
3805
|
|
|
3807
|
-
// packages/agent-runtime/builtinPlatformAgentConfigs.ts
|
|
3808
|
-
function buildConfig(e) {
|
|
3809
|
-
const key = publicAgentKey(e.id);
|
|
3810
|
-
const rawRecord = {
|
|
3811
|
-
dbKey: key,
|
|
3812
|
-
isPublic: true,
|
|
3813
|
-
provider: e.provider,
|
|
3814
|
-
model: e.model,
|
|
3815
|
-
apiSource: e.apiSource ?? "platform",
|
|
3816
|
-
useServerProxy: e.useServerProxy ?? true
|
|
3817
|
-
};
|
|
3818
|
-
if (e.hasImageOutput) rawRecord.hasImageOutput = true;
|
|
3819
|
-
if (e.imageModel) rawRecord.imageModel = e.imageModel;
|
|
3820
|
-
if (e.imageWorkflow) rawRecord.imageWorkflow = e.imageWorkflow;
|
|
3821
|
-
if (e.imageConfig) rawRecord.imageConfig = e.imageConfig;
|
|
3822
|
-
return {
|
|
3823
|
-
key,
|
|
3824
|
-
name: e.name,
|
|
3825
|
-
provider: e.provider,
|
|
3826
|
-
model: e.model,
|
|
3827
|
-
apiSource: e.apiSource ?? "platform",
|
|
3828
|
-
useServerProxy: e.useServerProxy ?? true,
|
|
3829
|
-
rawRecord
|
|
3830
|
-
};
|
|
3831
|
-
}
|
|
3832
|
-
var BUILTIN_PLATFORM_AGENT_CONFIGS = Object.fromEntries(
|
|
3833
|
-
builtinRuntimeFallbackEntries().map((e) => [publicAgentKey(e.id), buildConfig(e)])
|
|
3834
|
-
);
|
|
3835
|
-
function resolveBuiltinPlatformAgentConfig(agentRef) {
|
|
3836
|
-
return BUILTIN_PLATFORM_AGENT_CONFIGS[agentRef] ?? null;
|
|
3837
|
-
}
|
|
3838
|
-
function resolveBuiltinPlatformAgentRecord(agentRef) {
|
|
3839
|
-
const config = resolveBuiltinPlatformAgentConfig(agentRef);
|
|
3840
|
-
if (!config) return null;
|
|
3841
|
-
return {
|
|
3842
|
-
...config.rawRecord,
|
|
3843
|
-
dbKey: agentRef,
|
|
3844
|
-
...config.name ? { name: config.name } : {}
|
|
3845
|
-
};
|
|
3846
|
-
}
|
|
3847
|
-
|
|
3848
3806
|
// packages/chat/dialog/dialogAgentPolicy.ts
|
|
3849
3807
|
var resolveDialogAgentMode = (dialog) => {
|
|
3850
3808
|
if (dialog?.agentMode === "auto") return "auto";
|
|
@@ -5609,7 +5567,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
5609
5567
|
runtimeOptions: args.runtimeOptions
|
|
5610
5568
|
});
|
|
5611
5569
|
if (agentKeyToUse) {
|
|
5612
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
5570
|
+
const { streamAgentChatTurn } = await import("./agentSlice-D666DABC.js");
|
|
5613
5571
|
await dispatch(
|
|
5614
5572
|
streamAgentChatTurn({
|
|
5615
5573
|
agentKey: agentKeyToUse,
|
|
@@ -8348,7 +8306,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
8348
8306
|
}
|
|
8349
8307
|
if (isCurrentDialog) {
|
|
8350
8308
|
await thunkApi.dispatch(resetMsgs());
|
|
8351
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
8309
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-TKYB6VLO.js");
|
|
8352
8310
|
dispatch(clearPendingAttachments2());
|
|
8353
8311
|
clearWorkflow();
|
|
8354
8312
|
}
|
|
@@ -8357,39 +8315,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
8357
8315
|
|
|
8358
8316
|
// packages/chat/dialog/dialogSlice.ts
|
|
8359
8317
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
8360
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
8318
|
+
const { createDialogAction } = await import("./createDialogAction-KWZ74S2G.js");
|
|
8361
8319
|
return createDialogAction(args, thunkApi);
|
|
8362
8320
|
};
|
|
8363
8321
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
8364
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
8322
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-VK3N263U.js");
|
|
8365
8323
|
return createAgentAutomationAction(args, thunkApi);
|
|
8366
8324
|
};
|
|
8367
8325
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
8368
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
8326
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-DQYY564Y.js");
|
|
8369
8327
|
return updateDialogTitleAction(args, thunkApi);
|
|
8370
8328
|
};
|
|
8371
8329
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
8372
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
8330
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-Q2TYWDO6.js");
|
|
8373
8331
|
return addDialogAgentAction(args, thunkApi);
|
|
8374
8332
|
};
|
|
8375
8333
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
8376
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
8334
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-K4HOWFHO.js");
|
|
8377
8335
|
return removeDialogAgentAction(args, thunkApi);
|
|
8378
8336
|
};
|
|
8379
8337
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
8380
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
8338
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-YWSA5XEU.js");
|
|
8381
8339
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
8382
8340
|
};
|
|
8383
8341
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
8384
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
8342
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-6JKFBJVR.js");
|
|
8385
8343
|
return switchDialogAgentAction(args, thunkApi);
|
|
8386
8344
|
};
|
|
8387
8345
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
8388
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
8346
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-JD7J7JM4.js");
|
|
8389
8347
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
8390
8348
|
};
|
|
8391
8349
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
8392
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
8350
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-7OVC2SVU.js");
|
|
8393
8351
|
return handleSendMessageAction(args, thunkApi);
|
|
8394
8352
|
};
|
|
8395
8353
|
function clearDialogState() {
|
|
@@ -8402,7 +8360,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
8402
8360
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
8403
8361
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
8404
8362
|
try {
|
|
8405
|
-
const { createDocState } = await import("./docStore-
|
|
8363
|
+
const { createDocState } = await import("./docStore-E5QAM75M.js");
|
|
8406
8364
|
const pageKey = await createDocState(
|
|
8407
8365
|
{ slateData, title },
|
|
8408
8366
|
{ dispatch, getState }
|
|
@@ -14653,7 +14611,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
14653
14611
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
14654
14612
|
const readSpace = async (dbKey) => {
|
|
14655
14613
|
try {
|
|
14656
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
14614
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-GOKRGQ47.js");
|
|
14657
14615
|
if (fresh) {
|
|
14658
14616
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
14659
14617
|
}
|
|
@@ -15336,8 +15294,6 @@ var selectViewMode = createSelector(
|
|
|
15336
15294
|
var spaceSlice_default = spaceSlice.reducer;
|
|
15337
15295
|
|
|
15338
15296
|
export {
|
|
15339
|
-
resolveBuiltinPlatformAgentConfig,
|
|
15340
|
-
resolveBuiltinPlatformAgentRecord,
|
|
15341
15297
|
instance,
|
|
15342
15298
|
initReactI18next,
|
|
15343
15299
|
i18nBaseConfig,
|
|
@@ -109,13 +109,16 @@ function toSafeAgentSummary(record, options) {
|
|
|
109
109
|
const nextAvailableAt = typeof record?.nextAvailableAt === "number" && Number.isFinite(record.nextAvailableAt) ? record.nextAvailableAt : void 0;
|
|
110
110
|
const currentUserId = options?.userId;
|
|
111
111
|
const isOwnedByRecord = Boolean(currentUserId) && (typeof record?.userId === "string" && record.userId === currentUserId || typeof record?.ownerId === "string" && record.ownerId === currentUserId);
|
|
112
|
-
const
|
|
113
|
-
const
|
|
112
|
+
const ownKeyPrefix = currentUserId ? `agent-${currentUserId}-` : "";
|
|
113
|
+
const ownedKey = ownKeyPrefix ? [record?.dbKey, record?.privateKey].find(
|
|
114
|
+
(key) => typeof key === "string" && key.startsWith(ownKeyPrefix)
|
|
115
|
+
) : void 0;
|
|
116
|
+
const isOwned = isOwnedByRecord || Boolean(ownedKey);
|
|
114
117
|
const isOAuth = isOAuthApiKeyRef(record?.apiKeyRef);
|
|
115
118
|
let agentKey;
|
|
116
|
-
if (
|
|
119
|
+
if (currentUserId) {
|
|
117
120
|
if (isOwned) {
|
|
118
|
-
agentKey =
|
|
121
|
+
agentKey = ownedKey ?? (id ? id.startsWith(ownKeyPrefix) ? id : `${ownKeyPrefix}${id}` : void 0);
|
|
119
122
|
} else if (publicKey) {
|
|
120
123
|
agentKey = publicKey;
|
|
121
124
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
fetchAndSerializeTable,
|
|
8
8
|
resolveBuiltinSkillPage,
|
|
9
9
|
waitForAbortableDelay
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2AX4ZWSG.js";
|
|
11
11
|
import {
|
|
12
12
|
createDrainExhaustedResponse,
|
|
13
13
|
isCoreDrainingBody,
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
} from "./chunk-RQSOAMPJ.js";
|
|
18
18
|
import {
|
|
19
19
|
slateToSimplifiedMarkdown
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BOPFLKHA.js";
|
|
21
21
|
import {
|
|
22
22
|
extractCategorizedMentions
|
|
23
23
|
} from "./chunk-VP4WJWKW.js";
|
|
24
24
|
import {
|
|
25
25
|
fetchAndCacheMessages
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RD6AOXQI.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchServerSyncedCredential
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MUI34IA2.js";
|
|
30
30
|
import {
|
|
31
31
|
shouldUseServerProxy
|
|
32
32
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-XS7UPVR7.js";
|
|
56
56
|
import {
|
|
57
57
|
estimateTokenCount
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PMSG3OGF.js";
|
|
59
59
|
import {
|
|
60
60
|
createFileCredentialBroker
|
|
61
61
|
} from "./chunk-5CS33IBL.js";
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
} from "./chunk-YTA2QOEE.js";
|
|
82
82
|
import {
|
|
83
83
|
createSpaceKey
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-DBUNOYLF.js";
|
|
85
85
|
import {
|
|
86
86
|
read
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-JYSXE6LE.js";
|
|
88
88
|
import {
|
|
89
89
|
asTrimmedLowercaseString
|
|
90
90
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-WX3ZOSTL.js";
|
|
8
8
|
import {
|
|
9
9
|
buildLocalAgentLookupKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-STOUEEBU.js";
|
|
11
11
|
import {
|
|
12
12
|
LOCAL_CODEX_AGENT_ID,
|
|
13
13
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
} from "./chunk-VHBWHNVT.js";
|
|
17
17
|
import {
|
|
18
18
|
inferCaptureIntent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3LJ4RSSF.js";
|
|
20
20
|
import {
|
|
21
21
|
inlineImageUrlsForCustomProvider,
|
|
22
22
|
prepareTools
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4MCHUZUI.js";
|
|
24
24
|
import {
|
|
25
25
|
getAntigravityUserAgent,
|
|
26
26
|
isAntigravityOAuthAgent,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
rememberMemoryFunctionSchema,
|
|
36
36
|
resolveAgentRequiredPackIds,
|
|
37
37
|
setTodoListFunc
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2AX4ZWSG.js";
|
|
39
39
|
import {
|
|
40
40
|
createDrainExhaustedResponse,
|
|
41
41
|
isCoreDrainingBody,
|
|
@@ -48,15 +48,14 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
applyTokenUsageToDayStats,
|
|
50
50
|
prepareTokenUsageData,
|
|
51
|
-
resolveBuiltinPlatformAgentConfig,
|
|
52
51
|
runKeyed
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-RD6AOXQI.js";
|
|
54
53
|
import {
|
|
55
54
|
BUILTIN_TITLE_LLM_CONFIG
|
|
56
55
|
} from "./chunk-XOIF2TNF.js";
|
|
57
56
|
import {
|
|
58
57
|
fetchServerSyncedCredential
|
|
59
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MUI34IA2.js";
|
|
60
59
|
import {
|
|
61
60
|
require_date_fns
|
|
62
61
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -90,7 +89,7 @@ import {
|
|
|
90
89
|
readOpenAiCompatibleSseCompletion,
|
|
91
90
|
resolveAgentNextAvailableAt,
|
|
92
91
|
resolveOpenAiCompatibleProviderConfig
|
|
93
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-33K2M3AU.js";
|
|
94
93
|
import {
|
|
95
94
|
buildPlatformChatCompletionRequest,
|
|
96
95
|
canUsePlatformChatProvider,
|
|
@@ -107,7 +106,7 @@ import {
|
|
|
107
106
|
import {
|
|
108
107
|
resolveHistoricalToolContentCap,
|
|
109
108
|
summarizeToolArguments
|
|
110
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-P6TB7JIA.js";
|
|
111
110
|
import {
|
|
112
111
|
convertMessagesToResponsesInput,
|
|
113
112
|
toResponsesTools
|
|
@@ -119,11 +118,14 @@ import {
|
|
|
119
118
|
buildNoloWorkspaceOpenAiTools,
|
|
120
119
|
parseNoloWorkspaceToolArguments,
|
|
121
120
|
resolveRuntimeToolSurfaceForAgent
|
|
122
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-PFTK5SEB.js";
|
|
123
122
|
import {
|
|
124
123
|
buildDialogFallbackTitleFromUserInput,
|
|
125
124
|
normalizeDialogTitle
|
|
126
125
|
} from "./chunk-2MBTWINN.js";
|
|
126
|
+
import {
|
|
127
|
+
resolveBuiltinPlatformAgentConfig
|
|
128
|
+
} from "./chunk-PMSG3OGF.js";
|
|
127
129
|
import {
|
|
128
130
|
clipCompactText
|
|
129
131
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -200,7 +202,7 @@ import {
|
|
|
200
202
|
} from "./chunk-QSJ3HFEF.js";
|
|
201
203
|
import {
|
|
202
204
|
isSystemBuiltinTrustedAgentKey
|
|
203
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-NWT2WUCY.js";
|
|
204
206
|
import {
|
|
205
207
|
isRecord
|
|
206
208
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4MCHUZUI.js";
|
|
9
9
|
import {
|
|
10
10
|
performFetchRequest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WNENLKKI.js";
|
|
12
12
|
import {
|
|
13
13
|
createSSEParser,
|
|
14
14
|
createToolRunId,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
toolRunSetPending,
|
|
20
20
|
toolRunStarted,
|
|
21
21
|
toolRunSucceeded
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2AX4ZWSG.js";
|
|
23
23
|
import {
|
|
24
24
|
getPublicImageAgentMode
|
|
25
25
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
messageStreaming,
|
|
30
30
|
selectCurrentSpaceId,
|
|
31
31
|
updateToolMessage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RD6AOXQI.js";
|
|
33
33
|
import {
|
|
34
34
|
streamAgentChatTurn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MUI34IA2.js";
|
|
36
36
|
import {
|
|
37
37
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-P6TB7JIA.js";
|
|
39
39
|
import {
|
|
40
40
|
accumulateToolCallDelta,
|
|
41
41
|
createThinkParserState,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-N7J63Q6C.js";
|
|
48
48
|
import {
|
|
49
49
|
getModelInfo
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PMSG3OGF.js";
|
|
51
51
|
import {
|
|
52
52
|
getApiEndpoint
|
|
53
53
|
} from "./chunk-GT3GG2H7.js";
|
|
@@ -61,10 +61,10 @@ import {
|
|
|
61
61
|
} from "./chunk-HNMXYYJR.js";
|
|
62
62
|
import {
|
|
63
63
|
selectCurrentServer
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ENUJPSZN.js";
|
|
65
65
|
import {
|
|
66
66
|
write
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-JYSXE6LE.js";
|
|
68
68
|
import {
|
|
69
69
|
createDialogMessageKeyAndId,
|
|
70
70
|
dialogMessageKey,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MHHYH3JA.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I5TJCJQP.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-STRCGEC6.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/agentListHelpers.ts
|
|
13
13
|
function parseAgentRecordId(privateKey, explicitId) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDbRecord,
|
|
3
3
|
writeAgentRecord
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I5TJCJQP.js";
|
|
5
5
|
import {
|
|
6
6
|
buildSkillSummaryMarker
|
|
7
7
|
} from "./chunk-VF4K2QE6.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-A7GB5UGH.js";
|
|
14
14
|
import {
|
|
15
15
|
createSpaceKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DBUNOYLF.js";
|
|
17
17
|
import {
|
|
18
18
|
asTrimmedLowercaseString
|
|
19
19
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RD6AOXQI.js";
|
|
4
4
|
import "./chunk-XOIF2TNF.js";
|
|
5
5
|
import "./chunk-MRC4Q34M.js";
|
|
6
6
|
import "./chunk-SIZQB7BD.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MUI34IA2.js";
|
|
8
8
|
import "./chunk-YYLHWIW6.js";
|
|
9
9
|
import "./chunk-CWMSB67P.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-INWBJPQC.js";
|
|
11
11
|
import "./chunk-5RGU3J7P.js";
|
|
12
12
|
import "./chunk-M76ECQRD.js";
|
|
13
13
|
import "./chunk-L65QKSVJ.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-PMSG3OGF.js";
|
|
15
15
|
import "./chunk-5MMAK75Q.js";
|
|
16
16
|
import "./chunk-5CS33IBL.js";
|
|
17
17
|
import "./chunk-JZPBVBIY.js";
|
|
@@ -22,14 +22,14 @@ import "./chunk-DWLEOOGR.js";
|
|
|
22
22
|
import "./chunk-HNMXYYJR.js";
|
|
23
23
|
import "./chunk-L3QFIBZG.js";
|
|
24
24
|
import "./chunk-YTA2QOEE.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ENUJPSZN.js";
|
|
26
26
|
import "./chunk-Y5GCAMGP.js";
|
|
27
27
|
import "./chunk-UZ6XXCVR.js";
|
|
28
28
|
import "./chunk-KX6YBIHG.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-DBUNOYLF.js";
|
|
30
30
|
import {
|
|
31
31
|
write
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JYSXE6LE.js";
|
|
33
33
|
import {
|
|
34
34
|
buildAgentAutomationOwnerIndexValue,
|
|
35
35
|
createAgentAutomationKey,
|
|
@@ -39,7 +39,7 @@ import "./chunk-WWC7I6TA.js";
|
|
|
39
39
|
import "./chunk-SKDNBYZK.js";
|
|
40
40
|
import "./chunk-I42VC5KR.js";
|
|
41
41
|
import "./chunk-QSJ3HFEF.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-NWT2WUCY.js";
|
|
43
43
|
import {
|
|
44
44
|
selectIdentityUserId
|
|
45
45
|
} from "./chunk-XMLRJUU5.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7CP4UOUV.js";
|
|
5
|
+
import "./chunk-RD6AOXQI.js";
|
|
6
6
|
import "./chunk-XOIF2TNF.js";
|
|
7
7
|
import "./chunk-MRC4Q34M.js";
|
|
8
8
|
import "./chunk-SIZQB7BD.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-MUI34IA2.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-CWMSB67P.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-INWBJPQC.js";
|
|
13
13
|
import "./chunk-5RGU3J7P.js";
|
|
14
14
|
import "./chunk-M76ECQRD.js";
|
|
15
15
|
import "./chunk-L65QKSVJ.js";
|
|
16
16
|
import "./chunk-CF7S2RYZ.js";
|
|
17
17
|
import "./chunk-ZWJOGMKH.js";
|
|
18
18
|
import "./chunk-WZSRQNQG.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-PMSG3OGF.js";
|
|
20
20
|
import "./chunk-5MMAK75Q.js";
|
|
21
21
|
import "./chunk-5CS33IBL.js";
|
|
22
22
|
import "./chunk-JZPBVBIY.js";
|
|
@@ -27,18 +27,18 @@ import "./chunk-DWLEOOGR.js";
|
|
|
27
27
|
import "./chunk-HNMXYYJR.js";
|
|
28
28
|
import "./chunk-L3QFIBZG.js";
|
|
29
29
|
import "./chunk-YTA2QOEE.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-ENUJPSZN.js";
|
|
31
31
|
import "./chunk-Y5GCAMGP.js";
|
|
32
32
|
import "./chunk-UZ6XXCVR.js";
|
|
33
33
|
import "./chunk-KX6YBIHG.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-DBUNOYLF.js";
|
|
35
|
+
import "./chunk-JYSXE6LE.js";
|
|
36
36
|
import "./chunk-NRY4GCKJ.js";
|
|
37
37
|
import "./chunk-WWC7I6TA.js";
|
|
38
38
|
import "./chunk-SKDNBYZK.js";
|
|
39
39
|
import "./chunk-I42VC5KR.js";
|
|
40
40
|
import "./chunk-QSJ3HFEF.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-NWT2WUCY.js";
|
|
42
42
|
import "./chunk-XMLRJUU5.js";
|
|
43
43
|
import "./chunk-R5V5G73M.js";
|
|
44
44
|
import "./chunk-GBRG75BQ.js";
|