nolo-cli 0.30.1 → 0.31.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.
- package/{_executeModel-FYUR7PQU.js → _executeModel-K47XKKPU.js} +32 -31
- package/{action-FENWPT3C.js → action-HI3VRQLP.js} +7 -7
- package/{addContentAction-Z5S5ZQ7I.js → addContentAction-NCURJ6PK.js} +6 -6
- package/{addDialogAgentAction-VUNVD2XR.js → addDialogAgentAction-RCY4ECF4.js} +5 -5
- package/{agentDeleteCommand-HHP47ZB2.js → agentDeleteCommand-7BBZCONG.js} +26 -25
- package/{agentEmailCommands-H6KRDTQW.js → agentEmailCommands-D6FAT5HM.js} +38 -37
- package/{agentListCommands-GNVFOTB4.js → agentListCommands-YPNNMGSJ.js} +28 -27
- package/{agentMachineCommands-4HJHI26F.js → agentMachineCommands-VYRVSKUC.js} +26 -25
- package/{agentRecordCommands-W6ITUONM.js → agentRecordCommands-4J52H5NK.js} +37 -36
- package/{agentRunCommand-VDLU4VKR.js → agentRunCommand-LH4RA6FA.js} +38 -37
- package/{agentRunControl-AKBN2366.js → agentRunControl-SCIVRZWX.js} +9 -1
- package/{agentRuntimeLocal-3X3ZTFT2.js → agentRuntimeLocal-G7GK545E.js} +23 -22
- package/{agentSlice-5HYCSSTE.js → agentSlice-4ZLEPC3M.js} +6 -6
- package/{appDeleteCommands-WFUF34TE.js → appDeleteCommands-AOZED7QJ.js} +27 -26
- package/{appDeployCommands-J2EAE53G.js → appDeployCommands-XJY27BDS.js} +27 -26
- package/{appDeployStatusCommands-RLXDEHTV.js → appDeployStatusCommands-HKZYAPB2.js} +27 -26
- package/{appGetCommands-ZGV3CKCM.js → appGetCommands-VXJLPRYI.js} +27 -26
- package/{appListCommands-3VRX3EJI.js → appListCommands-3LU6AB4G.js} +27 -26
- package/{authCommand-RR5LAYSW.js → authCommand-3GQR43KB.js} +5 -5
- package/{chunk-ZFTCLBEX.js → chunk-2IJAKBK2.js} +3 -1
- package/chunk-2K4NDPT5.js +1524 -0
- package/{chunk-6QP7LEI6.js → chunk-2MSOY7A5.js} +49 -33
- package/{chunk-3IPBZISR.js → chunk-2YT3KLHX.js} +1 -1
- package/{chunk-GABCPUMC.js → chunk-3IU7WEJD.js} +1 -1
- package/{chunk-Q24P6TUS.js → chunk-43EPBPZ2.js} +1 -1
- package/{chunk-5NPAOURO.js → chunk-4URO6HMS.js} +1 -1
- package/{chunk-S342XWCB.js → chunk-5EDVWWE3.js} +1 -1
- package/{chunk-CTLXD6HB.js → chunk-5JQRISUS.js} +3 -3
- package/{chunk-4ZMTXQFB.js → chunk-5MVFYKBL.js} +5 -5
- package/{chunk-R5V5G73M.js → chunk-5RDLGLAP.js} +0 -1
- package/{chunk-4SAV7BD7.js → chunk-7KNERA53.js} +53 -15
- package/{chunk-XORE26Z4.js → chunk-7S54ZGF6.js} +2 -2
- package/{chunk-IZ3CBMD5.js → chunk-ATK5WJOA.js} +4 -4
- package/chunk-BGTUGS3T.js +702 -0
- package/{chunk-YX26YZL4.js → chunk-C3NYMZTQ.js} +16 -14
- package/{chunk-R2JHVPHL.js → chunk-CPUZW54L.js} +4 -4
- package/{chunk-PJY5AH5A.js → chunk-DPR66GY6.js} +1 -1
- package/{chunk-3Z6SPX5X.js → chunk-E2CFIWQR.js} +31 -23
- package/{chunk-PACNSC37.js → chunk-E3APEOIM.js} +1 -1
- package/{chunk-7QW64TCG.js → chunk-EATVNXFX.js} +7 -7
- package/{chunk-G5JHHUAK.js → chunk-F3MP7CP6.js} +1 -1
- package/{chunk-YK2QRWTO.js → chunk-FLYQAMF4.js} +3 -3
- package/{chunk-446VANPP.js → chunk-G5GVZAXF.js} +4 -4
- package/{chunk-KH3JS4D5.js → chunk-H6COXALE.js} +78 -27
- package/{chunk-MNUJETMH.js → chunk-K76HYM3O.js} +1 -1
- package/{chunk-DKRT67FG.js → chunk-KGEVMUMI.js} +3 -3
- package/{chunk-A4JDTA5T.js → chunk-LAXMH7JY.js} +6 -6
- package/{chunk-TAS3THIF.js → chunk-LBEWOWVL.js} +4 -4
- package/{chunk-72NVMKWA.js → chunk-NEGMZP6Q.js} +1 -1
- package/{chunk-QDNVDGLN.js → chunk-NMK2JHKM.js} +9 -7
- package/{chunk-JRI2BRJY.js → chunk-OT2AXEQD.js} +26 -5
- package/{chunk-LWP3HB56.js → chunk-PTHDLIRB.js} +1 -1
- package/{chunk-V5BWE46D.js → chunk-Q6L3O67D.js} +2 -2
- package/{chunk-LWYIHJKD.js → chunk-QHWPAW5M.js} +2 -2
- package/{chunk-KWCLUYGQ.js → chunk-QL6ELRVS.js} +1 -1
- package/chunk-RJ7KLCWY.js +5134 -0
- package/{chunk-WJD5RNVB.js → chunk-SFWZUTCI.js} +1 -1
- package/{chunk-WTPC3XD4.js → chunk-UDA3ZYLW.js} +1 -1
- package/{chunk-YLADSPDU.js → chunk-V54H24CQ.js} +2 -2
- package/{chunk-F3A5IZSX.js → chunk-WEID4JLC.js} +2 -2
- package/{chunk-IUA36RS4.js → chunk-WMH2G6XJ.js} +58 -124
- package/{chunk-4PWB7JRR.js → chunk-XFG3BAKN.js} +1 -0
- package/chunk-XGJ75KN2.js +7889 -0
- package/{chunk-2TZP235J.js → chunk-XPML3KYZ.js} +6 -6
- package/{chunk-2NYIVLAY.js → chunk-YHGHADBQ.js} +2 -2
- package/{chunk-MV6UZXZU.js → chunk-YJZGAAVX.js} +14 -12
- package/{chunk-BOL2D2JW.js → chunk-ZJ2WITOO.js} +2 -2
- package/{chunk-DWQNDGO7.js → chunk-ZJH3LKEW.js} +2 -2
- package/{createAgentAutomationAction-EKABYSSA.js → createAgentAutomationAction-AECD5YCU.js} +13 -12
- package/{createDialogAction-HLP6TV4H.js → createDialogAction-MZUC37CA.js} +14 -13
- package/{createPageAction-4NEEWW6S.js → createPageAction-KRTBWM2S.js} +13 -12
- package/{db-IPCJ43PW.js → db-6DPSJ6WT.js} +4 -2
- package/{dbSlice-OBV7VFCF.js → dbSlice-BBL3PEVW.js} +5 -5
- package/{deleteFile-AC45HYSM.js → deleteFile-RJTEPOT4.js} +3 -3
- package/{dialogCommands-XB3ZNSP3.js → dialogCommands-RFADXVV6.js} +27 -26
- package/{dialogSlice-4IWM2WIY.js → dialogSlice-EWNZ2HFD.js} +12 -12
- package/{docCreateCommands-QSPTTAN7.js → docCreateCommands-ZHX6SX5M.js} +26 -25
- package/{docDeleteCommands-2E6JZXCP.js → docDeleteCommands-3EEM7ITO.js} +27 -26
- package/{docReadCommands-N2DQVLLT.js → docReadCommands-JOMLMZTC.js} +26 -25
- package/{docStore-PFZCPHPC.js → docStore-YKTKKH3N.js} +14 -13
- package/{docUpdateCommands-53KFSYEP.js → docUpdateCommands-PGAYLKLC.js} +26 -25
- package/{getPricing-67TQVKFV.js → getPricing-QO5TYNCK.js} +2 -2
- package/{handleSendMessageAction-4IYJTQAL.js → handleSendMessageAction-VX4CGWAJ.js} +12 -12
- package/index.js +63 -63
- package/{localDialogRead-P72W2U2R.js → localDialogRead-3DBXVYXS.js} +1 -1
- package/{machineCommands-CR34SD5W.js → machineCommands-A2WFB37F.js} +36 -35
- package/{machineWsRunDispatch-G4O3NQ3I.js → machineWsRunDispatch-E5R54UWZ.js} +36 -35
- package/package.json +1 -1
- package/{read-QK7ZRX6G.js → read-64OQDO3I.js} +3 -3
- package/{readDocTool-EYDMVRBL.js → readDocTool-MXM3T6PE.js} +1 -1
- package/{readlineWorkspace-UAF5D7TC.js → readlineWorkspace-S4A6UYVJ.js} +125 -79
- package/{removeDialogAgentAction-TBW3UZJW.js → removeDialogAgentAction-NEKVAMSH.js} +7 -7
- package/{runAgentClientLoop-R5WNOWHI.js → runAgentClientLoop-C6IIUQ36.js} +27 -26
- package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-WTOHQDIV.js} +6 -6
- package/{setPrimaryDialogAgentAction-FQ5R3EFJ.js → setPrimaryDialogAgentAction-LDJOYC4F.js} +7 -7
- package/{settingSlice-JKKV2T7O.js → settingSlice-4M37TN7V.js} +6 -6
- package/{skillDiscovery-I3QRA7NE.js → skillDiscovery-Y3HALY2U.js} +3 -3
- package/{spaceCommands-RZN5K5ND.js → spaceCommands-SKCMLOC6.js} +210 -28
- package/{spaceSlice-3BVGRL3V.js → spaceSlice-6VOPELQN.js} +13 -12
- package/{streamAgentChatTurn-RVOJZ2HO.js → streamAgentChatTurn-623CNKWF.js} +35 -32
- package/{switchDialogAgentAction-QQGVE4SL.js → switchDialogAgentAction-XVWGKR2Z.js} +5 -5
- package/{tableCommands-PRJNWN6Q.js → tableCommands-RJZ3V4TF.js} +1 -1
- package/{tools-QAKUH2P6.js → tools-IN4B36PN.js} +21 -20
- package/{tuiSummaryLlmCaller-YQBN5IMG.js → tuiSummaryLlmCaller-SRZ4QQUP.js} +19 -5
- package/{updateDialogTitleAction-4O5PZVQR.js → updateDialogTitleAction-4ABIVEYY.js} +18 -16
- package/chunk-EIQDGAAE.js +0 -5083
- package/chunk-O6YCGBJB.js +0 -16338
- package/chunk-OB6FBSH3.js +0 -47
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
loadFileFromIndexedDb,
|
|
3
3
|
removeAction,
|
|
4
4
|
saveFileToIndexedDb
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZJ2WITOO.js";
|
|
6
6
|
import {
|
|
7
7
|
readAction,
|
|
8
8
|
readRequestManager,
|
|
9
9
|
resolveAgentReadServers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZJH3LKEW.js";
|
|
11
11
|
import {
|
|
12
12
|
asyncThunkCreator,
|
|
13
13
|
buildCreateSlice,
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
shouldReplaceLocalWithRemoteRecord,
|
|
28
28
|
shouldReplicateLocalRecord,
|
|
29
29
|
uploadToCurrentServer
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2IJAKBK2.js";
|
|
31
31
|
import {
|
|
32
32
|
fetchFromClientDb,
|
|
33
33
|
fetchFromServer,
|
|
34
34
|
logger,
|
|
35
35
|
normalizeTimeFields
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5RDLGLAP.js";
|
|
37
37
|
import {
|
|
38
38
|
API_ENDPOINTS
|
|
39
39
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -704,7 +704,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
704
704
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
705
705
|
read: create.asyncThunk(
|
|
706
706
|
async (payload, thunkApi) => {
|
|
707
|
-
const { readAction: readAction2 } = await import("./read-
|
|
707
|
+
const { readAction: readAction2 } = await import("./read-64OQDO3I.js");
|
|
708
708
|
return readAction2(payload, thunkApi);
|
|
709
709
|
},
|
|
710
710
|
{
|
|
@@ -778,7 +778,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
778
778
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
779
779
|
share: create.asyncThunk(
|
|
780
780
|
async (config, thunkApi) => {
|
|
781
|
-
const { shareResourceAction } = await import("./action-
|
|
781
|
+
const { shareResourceAction } = await import("./action-HI3VRQLP.js");
|
|
782
782
|
return shareResourceAction(config, thunkApi);
|
|
783
783
|
}
|
|
784
784
|
),
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3IU7WEJD.js";
|
|
11
11
|
import {
|
|
12
12
|
buildDialogAttachmentPlan,
|
|
13
13
|
extractFileContentIds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RJ7KLCWY.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-A7GB5UGH.js";
|
|
26
26
|
import {
|
|
27
27
|
parsePositiveFiniteNumberOrFallback
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G5GVZAXF.js";
|
|
29
29
|
import {
|
|
30
30
|
asRecordOrEmpty
|
|
31
31
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -625,7 +625,7 @@ async function tryHttpDialogCandidates(args) {
|
|
|
625
625
|
throw Object.assign(new Error("All HTTP dialog reads failed"), { attempts });
|
|
626
626
|
}
|
|
627
627
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
628
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
628
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-3DBXVYXS.js")).readDialogFromLocalDb;
|
|
629
629
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
630
630
|
return {
|
|
631
631
|
...result,
|
|
@@ -3,24 +3,26 @@ import {
|
|
|
3
3
|
} from "./chunk-D34RI6NI.js";
|
|
4
4
|
import {
|
|
5
5
|
wrapHistoricalSummaryWithReplayGuard
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XFG3BAKN.js";
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XPML3KYZ.js";
|
|
11
11
|
import {
|
|
12
12
|
slateToSimplifiedMarkdown
|
|
13
13
|
} from "./chunk-SWYMCHM7.js";
|
|
14
14
|
import {
|
|
15
|
-
estimateTokenCount,
|
|
16
15
|
fetchAndCacheMessages
|
|
17
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RJ7KLCWY.js";
|
|
17
|
+
import {
|
|
18
|
+
estimateTokenCount
|
|
19
|
+
} from "./chunk-BGTUGS3T.js";
|
|
18
20
|
import {
|
|
19
21
|
createSpaceKey
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-V54H24CQ.js";
|
|
21
23
|
import {
|
|
22
24
|
read
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LAXMH7JY.js";
|
|
24
26
|
import {
|
|
25
27
|
asTrimmedLowercaseString
|
|
26
28
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -29,7 +31,7 @@ import {
|
|
|
29
31
|
} from "./chunk-TOW4E763.js";
|
|
30
32
|
import {
|
|
31
33
|
getRuntimeServerContext
|
|
32
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2IJAKBK2.js";
|
|
33
35
|
import {
|
|
34
36
|
extractCategorizedMentions
|
|
35
37
|
} from "./chunk-VP4WJWKW.js";
|
|
@@ -2,11 +2,13 @@ import {
|
|
|
2
2
|
buildBuiltinObjectSkillReference
|
|
3
3
|
} from "./chunk-DCDL3GC4.js";
|
|
4
4
|
import {
|
|
5
|
-
addContentToSpace
|
|
5
|
+
addContentToSpace
|
|
6
|
+
} from "./chunk-XGJ75KN2.js";
|
|
7
|
+
import {
|
|
6
8
|
prepareAndPersistMessage,
|
|
7
9
|
uiAskChoiceFunc,
|
|
8
10
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RJ7KLCWY.js";
|
|
10
12
|
import {
|
|
11
13
|
require_date_fns
|
|
12
14
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -21,16 +23,16 @@ import {
|
|
|
21
23
|
removeCachedEntity,
|
|
22
24
|
upsertSSREntity,
|
|
23
25
|
write
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LAXMH7JY.js";
|
|
25
27
|
import {
|
|
26
28
|
extractCustomId
|
|
27
29
|
} from "./chunk-TOW4E763.js";
|
|
28
30
|
import {
|
|
29
31
|
selectIdentityUserId
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2IJAKBK2.js";
|
|
31
33
|
import {
|
|
32
34
|
isDevelopment
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5RDLGLAP.js";
|
|
34
36
|
import {
|
|
35
37
|
createAgentKey,
|
|
36
38
|
createDialogKey,
|
|
@@ -787,6 +789,9 @@ var createDialogAction = async (args, thunkApi) => {
|
|
|
787
789
|
let referenceKeys;
|
|
788
790
|
let inheritedFromDialogKey;
|
|
789
791
|
let inheritedFromDialogTitle;
|
|
792
|
+
let inheritedSummary;
|
|
793
|
+
let inheritedSummarizedBeforeId;
|
|
794
|
+
let inheritedCompressionCount;
|
|
790
795
|
if (inheritFromDialogKey) {
|
|
791
796
|
inheritedFromDialogKey = inheritFromDialogKey;
|
|
792
797
|
const sourceDialog = await dispatch(
|
|
@@ -809,6 +814,18 @@ var createDialogAction = async (args, thunkApi) => {
|
|
|
809
814
|
if (Array.isArray(candidate) && candidate.every((key) => typeof key === "string")) {
|
|
810
815
|
referenceKeys = candidate;
|
|
811
816
|
}
|
|
817
|
+
const sourceSummary = sourceDialog.summary;
|
|
818
|
+
if (typeof sourceSummary === "string" && sourceSummary.trim()) {
|
|
819
|
+
inheritedSummary = sourceSummary.trim();
|
|
820
|
+
}
|
|
821
|
+
const sourceSummarizedBeforeId = sourceDialog.summarizedBeforeId;
|
|
822
|
+
if (typeof sourceSummarizedBeforeId === "string" && sourceSummarizedBeforeId.trim()) {
|
|
823
|
+
inheritedSummarizedBeforeId = sourceSummarizedBeforeId.trim();
|
|
824
|
+
}
|
|
825
|
+
const sourceCompressionCount = sourceDialog.compressionCount;
|
|
826
|
+
if (typeof sourceCompressionCount === "number") {
|
|
827
|
+
inheritedCompressionCount = sourceCompressionCount;
|
|
828
|
+
}
|
|
812
829
|
}
|
|
813
830
|
}
|
|
814
831
|
const dialogData = {
|
|
@@ -825,6 +842,10 @@ var createDialogAction = async (args, thunkApi) => {
|
|
|
825
842
|
...spaceId && { spaceId },
|
|
826
843
|
category,
|
|
827
844
|
referenceKeys,
|
|
845
|
+
// 压缩状态继承
|
|
846
|
+
...inheritedSummary && { summary: inheritedSummary },
|
|
847
|
+
...inheritedSummarizedBeforeId && { summarizedBeforeId: inheritedSummarizedBeforeId },
|
|
848
|
+
...inheritedCompressionCount !== void 0 && { compressionCount: inheritedCompressionCount },
|
|
828
849
|
...args.extraReferences && args.extraReferences.length > 0 && { extraReferences: args.extraReferences },
|
|
829
850
|
...inheritedFromDialogKey && { inheritedFromDialogKey },
|
|
830
851
|
...inheritedFromDialogTitle && { inheritedFromDialogTitle },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YJZGAAVX.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NMK2JHKM.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E2CFIWQR.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
6
|
} from "./chunk-WFHXMLHZ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentRecordFromHybridStore,
|
|
13
13
|
sanitizeAgentRecordForCliOutput,
|
|
14
14
|
writeAgentRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K76HYM3O.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCliAgentKeyInput
|
|
18
18
|
} from "./chunk-K6QEHQZ3.js";
|