nolo-cli 0.157.0-alpha.1 → 0.158.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-5WS2PA62.js → _executeModel-6BMU3URY.js} +35 -35
- package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
- package/{action-ZJYUBXFC.js → action-GPPJC5TI.js} +4 -4
- package/{addContentAction-TVHB4526.js → addContentAction-BI6RDRTQ.js} +7 -7
- package/{addDialogAgentAction-FDPBU6K6.js → addDialogAgentAction-4RJYUSIK.js} +6 -6
- package/{agentDeleteCommand-Q6M4F3U6.js → agentDeleteCommand-Q2XWGBC2.js} +42 -42
- package/{agentEmailCommands-FNH6FEHS.js → agentEmailCommands-XFBE2A3F.js} +44 -44
- package/{agentListCommands-JUNMFS6E.js → agentListCommands-OROMT4P3.js} +12 -12
- package/{agentMachineCommands-VNLDEKNT.js → agentMachineCommands-ULK5YKKJ.js} +11 -10
- package/{agentProviderCommands-X2HQE6HY.js → agentProviderCommands-MKG2OOEY.js} +2 -2
- package/{agentRecordCommands-47XXRVPI.js → agentRecordCommands-3VHBLS6P.js} +42 -42
- package/{agentRunCommand-QEXFJUXQ.js → agentRunCommand-LCIMEAQY.js} +44 -43
- package/{agentRuntimeLocal-O5GDAFTN.js → agentRuntimeLocal-NPJS2QDP.js} +5 -5
- package/{agentSlice-E3XS5FTQ.js → agentSlice-VRAPG6CH.js} +7 -7
- package/{appDeleteCommands-C2J5RQ3I.js → appDeleteCommands-AZ3KS4HK.js} +10 -10
- package/{appDeployCommands-3YRK7PSU.js → appDeployCommands-BTV22ICJ.js} +10 -10
- package/{appDeployStatusCommands-FPAX7MOK.js → appDeployStatusCommands-JSW3HPIW.js} +10 -10
- package/{appGetCommands-XAC2V766.js → appGetCommands-5KTTFIMV.js} +10 -10
- package/{appListCommands-ZJL2W5O7.js → appListCommands-3BJPAE2U.js} +10 -10
- package/{authCommand-J3XILHWW.js → authCommand-NIV3DKPF.js} +7 -287
- package/{authCommands-77CHYBGF.js → authCommands-AMNIAKEG.js} +2 -2
- package/{builtinSkillRegistry-A6VSPJEJ.js → builtinSkillRegistry-H3AY27TR.js} +1 -1
- package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
- package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
- package/{chunk-VSOWPETY.js → chunk-2BKUVRC5.js} +7 -7
- package/{chunk-Z6KQDSZW.js → chunk-2SGAI64X.js} +2 -2
- package/{chunk-KOB75UNU.js → chunk-2SOS7OSQ.js} +18 -2
- package/{chunk-C5VPAHIU.js → chunk-32ZKZET7.js} +1 -1
- package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
- package/{chunk-PEO24UB5.js → chunk-3TBHZPNG.js} +33 -6
- package/{chunk-YBNHPX4S.js → chunk-4RJJDA57.js} +1 -1
- package/{chunk-X5SUT4CN.js → chunk-4UOEOHY3.js} +6 -6
- package/{chunk-UUPR3TD7.js → chunk-7RF4O6AT.js} +1 -3
- package/{chunk-FPWT3RH2.js → chunk-AJ4V34SG.js} +10 -10
- package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
- package/{chunk-SKPPKHD3.js → chunk-BYQOCH75.js} +2 -2
- package/{chunk-UTIMX333.js → chunk-C3OK72G3.js} +1 -1
- package/{chunk-ZWG3C7VI.js → chunk-C6FY7HWI.js} +35 -0
- package/{chunk-RUNKPFM5.js → chunk-CDWHHLK5.js} +12 -8
- package/{chunk-ROPSATAB.js → chunk-CON6SI7N.js} +1 -1
- package/{chunk-4Z245KOA.js → chunk-DC3SZCRR.js} +6 -2
- package/{chunk-OH2M7WEU.js → chunk-EQGFFDNA.js} +3 -3
- package/{chunk-ANJTRG52.js → chunk-G2WP7VPD.js} +0 -37
- package/{chunk-7A4LJCDR.js → chunk-G476FQ7Q.js} +4 -4
- package/{chunk-DW7MGLMG.js → chunk-GAVUTXM5.js} +21 -17
- package/{chunk-PSJWPSKS.js → chunk-HB4XPBC7.js} +0 -32
- package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
- package/{chunk-EM3YOZJ4.js → chunk-ICRRXBRN.js} +3 -3
- package/{chunk-7KYVUFDG.js → chunk-IE5PXKVU.js} +1 -263
- package/{chunk-T6CBQ6BN.js → chunk-INFHX73M.js} +1 -1
- package/{chunk-CE7PIHQD.js → chunk-IRTOYSA2.js} +3 -3
- package/{chunk-WZ6OU4NX.js → chunk-J2ATF74A.js} +2 -2
- package/{chunk-TJ2VPCBE.js → chunk-JPJGMOIM.js} +2 -2
- package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
- package/{chunk-7GC3EKUG.js → chunk-KKKHAF3P.js} +2 -2
- package/{chunk-KX6LPG7W.js → chunk-KLA62VVE.js} +1 -1
- package/{chunk-TYND6RDQ.js → chunk-LV4LV2B4.js} +72 -1
- package/{chunk-TZTWMGE3.js → chunk-M2P3OGXZ.js} +3 -3
- package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
- package/{chunk-6MPAEODB.js → chunk-NDZOXXIM.js} +17 -3
- package/{chunk-MVJVF4ED.js → chunk-NKPAHRMA.js} +7 -6
- package/{chunk-ZD2BLOY6.js → chunk-O4ZERG3M.js} +3 -3
- package/{chunk-36OMEXXR.js → chunk-OON4OBWI.js} +1 -1
- package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
- package/{chunk-G47IPDOK.js → chunk-QPY264HO.js} +1 -1
- package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
- package/{chunk-EJU23ST5.js → chunk-S72LMV7T.js} +670 -627
- package/{chunk-D4OWHT5Y.js → chunk-SPKLALBU.js} +2 -2
- package/{chunk-FDT27L7S.js → chunk-UCLSOLX4.js} +7 -5
- package/{chunk-B2EGWZJG.js → chunk-UFYBYB26.js} +1 -1
- package/{chunk-3XZKV7QQ.js → chunk-US6MKPE7.js} +1 -1
- package/{chunk-VAZHH6FO.js → chunk-VDEVDGEM.js} +18 -12
- package/{chunk-HXHSTRGH.js → chunk-VYNMQ6HW.js} +0 -27
- package/{chunk-7BSQK2UC.js → chunk-WRCZXJ4N.js} +2 -2
- package/{chunk-H4KACZMG.js → chunk-WTFRBJT5.js} +261 -126
- package/{chunk-QDA4Y5O6.js → chunk-WXFZ4P6O.js} +18 -14
- package/chunk-Y5GCAMGP.js +9 -0
- package/{chunk-SCJD2PNK.js → chunk-YPG7TUQD.js} +3 -3
- package/{chunk-XFKZ3MCV.js → chunk-YTXQ2U2X.js} +221 -65
- package/{chunk-ZEHTARJA.js → chunk-ZBXIKCZ4.js} +38 -92
- package/{chunk-HKT6QXP3.js → chunk-ZEY4NJRE.js} +2 -2
- package/{chunk-HP6O6LTV.js → chunk-ZVQHBIWV.js} +6 -6
- package/{commandRegistry-OUBQIF62.js → commandRegistry-D6JTVYKG.js} +73 -81
- package/{contentThunks-B3FRQGP7.js → contentThunks-DYQO4CTI.js} +14 -13
- package/{createAgentAutomationAction-T2YFJ6MY.js → createAgentAutomationAction-LW26KIBP.js} +14 -13
- package/{createDialogAction-2NFGFBXW.js → createDialogAction-VLLBRD52.js} +15 -14
- package/{createPageAction-LDAVZDN7.js → createPageAction-PDACOLI6.js} +14 -13
- package/{dbSlice-5QGKMQLO.js → dbSlice-DC2J53RC.js} +6 -6
- package/{deleteFile-EW6QNRRT.js → deleteFile-KYWEMNFX.js} +4 -4
- package/{dialogCommands-ZLBEAQHE.js → dialogCommands-F3Y4KCPZ.js} +12 -11
- package/{dialogSlice-64S3J6CP.js → dialogSlice-ERMZYMS6.js} +13 -12
- package/{docCreateCommands-XOG5BBFQ.js → docCreateCommands-YMWZLW64.js} +8 -8
- package/{docDeleteCommands-NCW3BBRX.js → docDeleteCommands-6KJ3ESK4.js} +9 -9
- package/{docReadCommands-OT7X44Y3.js → docReadCommands-YQGFVLWI.js} +8 -8
- package/{docStore-NIP7OO4I.js → docStore-HXKI6W5D.js} +7 -7
- package/{docUpdateCommands-JW7OWW2J.js → docUpdateCommands-QLSGXUEX.js} +8 -8
- package/{handleSendMessageAction-TOKA7ED7.js → handleSendMessageAction-2XCOZPXY.js} +25 -24
- package/index.js +6 -6
- package/{localRuntimeAdapter-EQM6LFYC.js → localRuntimeAdapter-VOFUPXNF.js} +42 -40
- package/{machineCommands-WJ7FZ67T.js → machineCommands-IN5O7CIO.js} +46 -44
- package/{machineWsRunDispatch-BQT4DEA2.js → machineWsRunDispatch-TH3GMSR3.js} +41 -41
- package/{memberThunks-KRV5YXOB.js → memberThunks-2DWKLE6W.js} +7 -7
- package/package.json +1 -1
- package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
- package/{providerPresetApply-CRZFMQD5.js → providerPresetApply-GSJI4JBJ.js} +1 -1
- package/{providerRegistry-7IS43D3X.js → providerRegistry-TSSTPGWF.js} +1 -1
- package/{read-5KAZHHDM.js → read-L7QEJETH.js} +4 -4
- package/{readDocTool-5QO34OSX.js → readDocTool-QELXV2GW.js} +1 -1
- package/{readlineWorkspace-JHJSU5DS.js → readlineWorkspace-EIEQUTEZ.js} +317 -104
- package/{removeDialogAgentAction-6X63HMI3.js → removeDialogAgentAction-376XSUP2.js} +8 -8
- package/{runAgentClientLoop-5QIGEALK.js → runAgentClientLoop-3KHKKBZI.js} +39 -34
- package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
- package/{setDialogExtraReferencesAction-4MAYKKYW.js → setDialogExtraReferencesAction-QBDSH63D.js} +7 -7
- package/{setPrimaryDialogAgentAction-EGBAMREH.js → setPrimaryDialogAgentAction-537QFGW3.js} +8 -8
- package/settingThunks-4Z43ZSAT.js +923 -0
- package/{spaceCommands-ZWDPTURU.js → spaceCommands-T5Z4U7HP.js} +8 -8
- package/{streamAgentChatTurn-456DWXNY.js → streamAgentChatTurn-DMXXSEVX.js} +39 -39
- package/{switchDialogAgentAction-YBKTD6DO.js → switchDialogAgentAction-CSO6AKRL.js} +6 -6
- package/{tableCommands-U3QDY4L6.js → tableCommands-LBH3QPPO.js} +1 -1
- package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
- package/{tools-IWNXKK4Y.js → tools-RMT7NAMC.js} +29 -28
- package/{updateCommands-NQXAGFM7.js → updateCommands-LXZLG44Y.js} +2 -2
- package/{updateDialogTitleAction-SX53FZWO.js → updateDialogTitleAction-Z4WNUH6Y.js} +14 -13
- package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
- package/chunk-W4S6OTSC.js +0 -35
- package/settingThunks-FTDRZNSJ.js +0 -1371
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRuntimeServerContext,
|
|
3
3
|
scheduleDeleteReplication
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2SGAI64X.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchFromClientDb
|
|
7
7
|
} from "./chunk-6Q7UTJKR.js";
|
|
8
8
|
import {
|
|
9
9
|
selectIdentityToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PXYBUFDB.js";
|
|
11
11
|
import {
|
|
12
12
|
buildTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -7,15 +7,17 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QPY264HO.js";
|
|
11
|
+
import {
|
|
12
|
+
parsePositiveFiniteNumberOrFallback
|
|
13
|
+
} from "./chunk-Y5GCAMGP.js";
|
|
11
14
|
import {
|
|
12
15
|
fetchWithTransientRetry
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KFHREHUQ.js";
|
|
14
17
|
import {
|
|
15
18
|
DRAIN_EXHAUSTED_USER_MESSAGE,
|
|
16
|
-
isDrainExhaustedResponse
|
|
17
|
-
|
|
18
|
-
} from "./chunk-XPWGOTBQ.js";
|
|
19
|
+
isDrainExhaustedResponse
|
|
20
|
+
} from "./chunk-3L2WKC3W.js";
|
|
19
21
|
import {
|
|
20
22
|
buildDialogAttachmentPlan,
|
|
21
23
|
extractFileContentIds
|
|
@@ -206,7 +206,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
206
206
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
207
207
|
}
|
|
208
208
|
try {
|
|
209
|
-
const { readAction } = await import("./read-
|
|
209
|
+
const { readAction } = await import("./read-L7QEJETH.js");
|
|
210
210
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
211
211
|
if (!pageData) {
|
|
212
212
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
deleteDialog,
|
|
3
3
|
runtime_default,
|
|
4
4
|
toast
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WTFRBJT5.js";
|
|
6
6
|
import {
|
|
7
7
|
getCurrentSpaceId,
|
|
8
8
|
getCurrentSpaceIdRaw,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
addContentAction,
|
|
20
20
|
checkSpaceMembership,
|
|
21
21
|
localSpaceAuthorityPatchStamp
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M2P3OGXZ.js";
|
|
23
23
|
import {
|
|
24
24
|
createSpaceKey,
|
|
25
25
|
normalizeSpaceId
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
uploadFileAction,
|
|
33
33
|
upsertSSREntity,
|
|
34
34
|
write
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZVQHBIWV.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveFileCategory
|
|
38
38
|
} from "./chunk-3PVYUPXK.js";
|
|
@@ -43,16 +43,19 @@ import {
|
|
|
43
43
|
resolveReplicationServers,
|
|
44
44
|
scheduleDeleteReplication,
|
|
45
45
|
scheduleWriteReplication
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2SGAI64X.js";
|
|
47
47
|
import {
|
|
48
48
|
createAsyncThunk
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WRCZXJ4N.js";
|
|
50
|
+
import {
|
|
51
|
+
getIsDesktopApp
|
|
52
|
+
} from "./chunk-6Q7UTJKR.js";
|
|
50
53
|
import {
|
|
51
54
|
createClientLogger
|
|
52
55
|
} from "./chunk-QQ56R7KS.js";
|
|
53
56
|
import {
|
|
54
57
|
selectIdentityUserId
|
|
55
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PXYBUFDB.js";
|
|
56
59
|
import {
|
|
57
60
|
buildTombstoneRecord
|
|
58
61
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -4509,6 +4512,7 @@ var fetchTableRowsFromServer = async (server, tenantId, tableId, headers, fetchI
|
|
|
4509
4512
|
const res = await fetchImpl(`${server}/rpc/listTableRows`, {
|
|
4510
4513
|
method: "POST",
|
|
4511
4514
|
headers,
|
|
4515
|
+
credentials: "include",
|
|
4512
4516
|
body: JSON.stringify({
|
|
4513
4517
|
tenantId,
|
|
4514
4518
|
tableId,
|
|
@@ -4619,12 +4623,14 @@ var fetchAndCacheTableRows = async ({
|
|
|
4619
4623
|
const headers = {
|
|
4620
4624
|
"Content-Type": "application/json"
|
|
4621
4625
|
};
|
|
4622
|
-
if (token) {
|
|
4623
|
-
headers.Authorization = `Bearer ${token}`;
|
|
4626
|
+
if (typeof token === "string" && token.trim()) {
|
|
4627
|
+
headers.Authorization = `Bearer ${token.trim()}`;
|
|
4624
4628
|
}
|
|
4629
|
+
const isWebBrowser = typeof window !== "undefined" && !getIsDesktopApp();
|
|
4630
|
+
const serversToQuery = isWebBrowser && remoteServers.length > 0 ? [remoteServers[0]] : remoteServers;
|
|
4625
4631
|
const localRows = await loadLocalTableRows(db, tenantId, tableId);
|
|
4626
4632
|
const remoteResults = await Promise.allSettled(
|
|
4627
|
-
|
|
4633
|
+
serversToQuery.map(
|
|
4628
4634
|
(server) => fetchTableRowsFromServer(server, tenantId, tableId, headers, fetchImpl)
|
|
4629
4635
|
)
|
|
4630
4636
|
);
|
|
@@ -4637,7 +4643,7 @@ var fetchAndCacheTableRows = async ({
|
|
|
4637
4643
|
);
|
|
4638
4644
|
throw new Error(firstFailure?.reason?.message || "\u52A0\u8F7D\u8868\u884C\u5931\u8D25");
|
|
4639
4645
|
}
|
|
4640
|
-
const allRemoteSnapshotsComplete =
|
|
4646
|
+
const allRemoteSnapshotsComplete = serversToQuery.length > 0 && remoteResults.length === serversToQuery.length && fulfilledRemoteSnapshots.length === serversToQuery.length && fulfilledRemoteSnapshots.every((snapshot) => snapshot.complete);
|
|
4641
4647
|
const localRowsByKey = new Map(
|
|
4642
4648
|
localRows.filter((row) => typeof row?.dbKey === "string" && row.dbKey.length > 0).map((row) => [row.dbKey, row])
|
|
4643
4649
|
);
|
|
@@ -5822,11 +5828,11 @@ var ENTITY_DELETE_STRATEGIES = {
|
|
|
5822
5828
|
await dispatch(deleteTable({ dbKey: key })).unwrap();
|
|
5823
5829
|
},
|
|
5824
5830
|
file: async (key, { thunkAPI }) => {
|
|
5825
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
5831
|
+
const { deleteFileAction } = await import("./deleteFile-KYWEMNFX.js");
|
|
5826
5832
|
await deleteFileAction(key, thunkAPI);
|
|
5827
5833
|
},
|
|
5828
5834
|
image: async (key, { thunkAPI }) => {
|
|
5829
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
5835
|
+
const { deleteFileAction } = await import("./deleteFile-KYWEMNFX.js");
|
|
5830
5836
|
await deleteFileAction(key, thunkAPI);
|
|
5831
5837
|
},
|
|
5832
5838
|
agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
|
|
@@ -4,32 +4,6 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
normalizeServerOrigin
|
|
6
6
|
} from "./chunk-CF7PE763.js";
|
|
7
|
-
import {
|
|
8
|
-
asTrimmedLowercaseString
|
|
9
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
10
|
-
|
|
11
|
-
// packages/app/theme/fontPreference.ts
|
|
12
|
-
var FONT_PRESET_ALIASES = {
|
|
13
|
-
system: "system",
|
|
14
|
-
default: "system",
|
|
15
|
-
hei: "hei",
|
|
16
|
-
heiti: "hei",
|
|
17
|
-
sans: "hei",
|
|
18
|
-
song: "song",
|
|
19
|
-
songti: "song",
|
|
20
|
-
serif: "song",
|
|
21
|
-
kai: "kai",
|
|
22
|
-
kaiti: "kai",
|
|
23
|
-
"kai-ti": "kai",
|
|
24
|
-
"fang-song": "fang-song",
|
|
25
|
-
fangsong: "fang-song",
|
|
26
|
-
"fang song": "fang-song"
|
|
27
|
-
};
|
|
28
|
-
var normalizeFontPreset = (value) => {
|
|
29
|
-
const normalized = asTrimmedLowercaseString(value);
|
|
30
|
-
if (!Object.hasOwn(FONT_PRESET_ALIASES, normalized)) return void 0;
|
|
31
|
-
return FONT_PRESET_ALIASES[normalized];
|
|
32
|
-
};
|
|
33
7
|
|
|
34
8
|
// packages/ai/policy/types.ts
|
|
35
9
|
var DEFAULT_AGENT_BASE_POLICY = {
|
|
@@ -147,7 +121,6 @@ var normalizeAgentUpdateFieldList = (value, fallback = DEFAULT_AUTO_APPROVED_SEL
|
|
|
147
121
|
};
|
|
148
122
|
|
|
149
123
|
export {
|
|
150
|
-
normalizeFontPreset,
|
|
151
124
|
DEFAULT_AGENT_BASE_POLICY,
|
|
152
125
|
DEFAULT_USER_PREFERENCE_PROFILE,
|
|
153
126
|
AGENT_UPDATE_FIELD_NAMES,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectIdentityToken
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PXYBUFDB.js";
|
|
4
4
|
import {
|
|
5
5
|
isAbortError
|
|
6
6
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -996,7 +996,7 @@ function peek(draft, prop) {
|
|
|
996
996
|
return source[prop];
|
|
997
997
|
}
|
|
998
998
|
function isRelocatedBaseRef(state, prop, value) {
|
|
999
|
-
if (state.type_ !== 1 || !state.allIndicesReassigned_ ||
|
|
999
|
+
if (state.type_ !== 1 || !state.allIndicesReassigned_ || !isDraftable(value) || value[DRAFT_STATE]) {
|
|
1000
1000
|
return false;
|
|
1001
1001
|
}
|
|
1002
1002
|
return state.baseRefs_.has(value);
|