nolo-cli 0.97.5 → 0.97.7
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-GWED52PB.js → _executeModel-RMLQFUCS.js} +69 -67
- package/action-PNPQLJHG.js +20 -0
- package/{addContentAction-B2DRF7P6.js → addContentAction-DX6T34JR.js} +13 -12
- package/{addDialogAgentAction-T3I7IXPK.js → addDialogAgentAction-6SGG37BF.js} +17 -16
- package/{agentDeleteCommand-FH462XO5.js → agentDeleteCommand-76VXVM3N.js} +40 -39
- package/{agentEmailCommands-6UNG6QKI.js → agentEmailCommands-FQKGKT55.js} +79 -77
- package/{agentListCommands-7QQZXKMN.js → agentListCommands-62NGDFOS.js} +50 -49
- package/{agentMachineCommands-DCBE3CPT.js → agentMachineCommands-ROITVU5E.js} +38 -37
- package/{agentProviderCommands-EMZCM6VA.js → agentProviderCommands-SG535ZMY.js} +1 -1
- package/{agentPullCommand-HF4A42D4.js → agentPullCommand-5DOL6RGF.js} +1 -1
- package/{agentRecordCommands-TNOVFCQ3.js → agentRecordCommands-ILR67636.js} +73 -71
- package/{agentRunCommand-PAUTLE6D.js → agentRunCommand-6HJG3XVZ.js} +76 -74
- package/{agentRunControl-2TTTUTSW.js → agentRunControl-3HWA2LLQ.js} +2 -2
- package/{agentRuntimeLocal-AY6YNUAL.js → agentRuntimeLocal-EZPUCRMS.js} +35 -34
- package/{agentSlice-FRLSN5HD.js → agentSlice-NBGKMMMR.js} +15 -14
- package/{appDeleteCommands-DFA4W66A.js → appDeleteCommands-7WLUFWPE.js} +35 -34
- package/{appDeployCommands-RDTG2IGP.js → appDeployCommands-NK22AMAW.js} +35 -34
- package/{appDeployStatusCommands-43XL5KEM.js → appDeployStatusCommands-PIWSMQET.js} +35 -34
- package/{appGetCommands-AKEAHGIG.js → appGetCommands-J3H6IHUT.js} +35 -34
- package/{appListCommands-F2H37K7K.js → appListCommands-CF4NYHRY.js} +35 -34
- package/{authCommand-2YPMMIJN.js → authCommand-T6UO5KPG.js} +20 -20
- package/{authCommands-FFDS4FVX.js → authCommands-KTIUCVVG.js} +4 -4
- package/{builtinSkillRegistry-CALVIJTX.js → builtinSkillRegistry-MAR5LPAC.js} +7 -6
- package/{chunk-EKS2APRJ.js → chunk-2TYM4V33.js} +2 -2
- package/{chunk-O26PCYLS.js → chunk-2WJ57RJA.js} +6 -6
- package/{chunk-C53ZG23R.js → chunk-4XYBLM4D.js} +4 -4
- package/{chunk-ZOVKKMF6.js → chunk-74D5HEDI.js} +1 -1
- package/{chunk-R5VLGKMK.js → chunk-7FL7ZUZV.js} +15 -15
- package/{chunk-XVLDUNF7.js → chunk-7H327KC7.js} +4 -4
- package/{chunk-UQNS32WZ.js → chunk-7MTCBOOS.js} +1 -1
- package/{chunk-PQ3B6KI6.js → chunk-A2Q6RMPJ.js} +92 -92
- package/chunk-A4SQRTZ6.js +15 -0
- package/chunk-AGIM7IMJ.js +147 -0
- package/{chunk-7WCQEMPB.js → chunk-ANRWQGOV.js} +27 -27
- package/{chunk-5UTFL4QJ.js → chunk-AOTBKDRK.js} +7 -0
- package/{chunk-4HXY5QQG.js → chunk-APVTZ66V.js} +1 -1
- package/{chunk-OTEMQQZI.js → chunk-BFWQ65IZ.js} +1 -1
- package/{chunk-4J3Q2KJL.js → chunk-BI2L6M54.js} +10 -8
- package/{chunk-6D2JFXLY.js → chunk-BZ7NPA6G.js} +0 -2
- package/{chunk-DDBBIUXZ.js → chunk-CLXLSAYP.js} +20 -20
- package/{chunk-TU5NE4U3.js → chunk-CV366NXM.js} +7 -7
- package/{chunk-KLMW4NNN.js → chunk-DBOMSOYX.js} +1 -1
- package/{chunk-AWF3WO5R.js → chunk-DHA6B3LS.js} +7 -7
- package/{chunk-7AEF6ZXP.js → chunk-DPPI7DJM.js} +7 -7
- package/chunk-DZ7R5V3Y.js +164 -0
- package/{chunk-I3QNET24.js → chunk-E3YWHWCR.js} +20 -1
- package/{chunk-Z4CSIXYP.js → chunk-ELIMCKNX.js} +5 -5
- package/{chunk-CTUQJVQM.js → chunk-EMQZSES6.js} +1 -1
- package/{chunk-RSEEDUMS.js → chunk-EPCAQM3U.js} +2 -2
- package/{chunk-3R7EAVTC.js → chunk-FN5VI6YP.js} +38 -38
- package/{chunk-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
- package/{chunk-DCLMZ5TX.js → chunk-HP57OUJO.js} +5 -5
- package/{chunk-SEZZCP3H.js → chunk-INI6OVJN.js} +27 -27
- package/{chunk-WILHZY7K.js → chunk-JNXHAQPJ.js} +4 -4
- package/{chunk-AZRHIN5B.js → chunk-K6U4NKFJ.js} +1 -1
- package/{chunk-34TW5T2M.js → chunk-LHQTN33D.js} +1 -1
- package/{chunk-HYZIYH2H.js → chunk-NVRC52JS.js} +22 -20
- package/chunk-NWENLDMM.js +42 -0
- package/{chunk-YXXI6MJ2.js → chunk-ONPQQSBX.js} +56 -60
- package/{chunk-P6GMCCAT.js → chunk-OW4APERY.js} +1 -1
- package/{chunk-RJK4MLDC.js → chunk-OXEHLZNH.js} +18 -20
- package/{chunk-VN45QM57.js → chunk-OYDJFF7H.js} +76 -76
- package/{chunk-DSSTTEKI.js → chunk-PQ6BKMXB.js} +2 -2
- package/{chunk-QMX4FNL4.js → chunk-QMXFJJAT.js} +84 -84
- package/{chunk-QJC7X767.js → chunk-RJYTVNWD.js} +1 -1
- package/{chunk-CPUFH46E.js → chunk-ROFPWC4X.js} +12 -12
- package/{chunk-IAESIMK7.js → chunk-RX4HD4H7.js} +8 -8
- package/{chunk-VVXRRZXE.js → chunk-SESH42J6.js} +3 -3
- package/{chunk-DAWDCRIG.js → chunk-TAWF7YAW.js} +1 -1
- package/{chunk-VFWN2MLE.js → chunk-TLM3NM4J.js} +170 -153
- package/{chunk-ZYWQNCBN.js → chunk-TVCAR26G.js} +1 -1
- package/{chunk-APMUYAPK.js → chunk-U3C3IA32.js} +1 -1
- package/chunk-UJXNKP5V.js +760 -0
- package/{chunk-O2OWEFII.js → chunk-VCAQFMVN.js} +1 -1
- package/{chunk-KCDUTE5V.js → chunk-VEYL5MO5.js} +4 -4
- package/{chunk-WIWM4FE3.js → chunk-VY6VFGKR.js} +7 -746
- package/{chunk-XAYSAKSS.js → chunk-VZZUQTBR.js} +2 -2
- package/{chunk-CU3QB4HW.js → chunk-W72ISAKC.js} +3 -3
- package/{chunk-QKUMVP3O.js → chunk-WCGC6S77.js} +4 -4
- package/{chunk-QDSINZM3.js → chunk-WJ3B6FX6.js} +1 -14
- package/{chunk-6ZWMH6TJ.js → chunk-WS2VEVHS.js} +4 -5
- package/{chunk-7CHC4W22.js → chunk-XBIYSBSG.js} +5 -5
- package/{chunk-NR4IWY23.js → chunk-ZTPPACAL.js} +40 -260
- package/{commandRegistry-PUSRUY6V.js → commandRegistry-MGVPQ4UY.js} +70 -70
- package/{contentThunks-JFPH7ZGN.js → contentThunks-XEUK52F5.js} +32 -32
- package/{createAgentAutomationAction-AYUD3TVG.js → createAgentAutomationAction-UETPHR7A.js} +35 -35
- package/{createDialogAction-5EJGAQL5.js → createDialogAction-ARPAWCJP.js} +36 -35
- package/{createPageAction-OJVJJSAD.js → createPageAction-OQX7YUWI.js} +43 -42
- package/{dbSlice-DQ32LYTJ.js → dbSlice-BUB77DHH.js} +12 -11
- package/{deleteFile-NX6QHCWZ.js → deleteFile-HG4BF3CS.js} +8 -7
- package/{dialogCommands-TQ2EYOO3.js → dialogCommands-CNXJGME5.js} +38 -38
- package/{dialogSlice-L5SA2HCW.js → dialogSlice-5S2XYAP4.js} +31 -31
- package/{docCreateCommands-YGTVED6F.js → docCreateCommands-U2TEDZHS.js} +34 -33
- package/{docDeleteCommands-Y2K6UBU5.js → docDeleteCommands-K4ME6F6S.js} +35 -34
- package/{docReadCommands-JSJTTCVY.js → docReadCommands-ZUAVR3HH.js} +34 -33
- package/{docStore-DAAP4WFC.js → docStore-4JNBG74K.js} +13 -12
- package/{docUpdateCommands-X2ZC37D3.js → docUpdateCommands-UKEOVRTF.js} +34 -33
- package/{fetchMessages-67MEFPZR.js → fetchMessages-N2BW2L62.js} +4 -4
- package/getPricing-NMMFT3YI.js +1 -1
- package/{handleSendMessageAction-NCZABULQ.js → handleSendMessageAction-57V3SMMC.js} +37 -37
- package/index.js +3 -3
- package/{localDialogRead-EBRS242U.js → localDialogRead-3FHUPYAR.js} +1 -1
- package/{localRuntimeDb-3LRMNLCM.js → localRuntimeDb-AXJREE2T.js} +1 -1
- package/{machineCommands-GRIO3LQG.js → machineCommands-PIBIQ756.js} +79 -77
- package/{machineWsRunDispatch-65IU4CLA.js → machineWsRunDispatch-32U6CJYK.js} +71 -69
- package/{memberThunks-5ZXPR63F.js → memberThunks-LEUNURN2.js} +21 -19
- package/package.json +1 -1
- package/{providerPresetApply-76AVU3HD.js → providerPresetApply-76AHT34P.js} +4 -4
- package/{providerRegistry-Z62NC45X.js → providerRegistry-6HAQAQXB.js} +4 -4
- package/{read-EPTJRAEF.js → read-TBK4DFHP.js} +8 -7
- package/{readDocTool-W4NDXNEX.js → readDocTool-TJFCZ3ND.js} +1 -1
- package/{readlineWorkspace-6F27WVAV.js → readlineWorkspace-NP2MQKHV.js} +327 -110
- package/{removeDialogAgentAction-BVAWQKXE.js → removeDialogAgentAction-CT5HGRZH.js} +20 -22
- package/{runAgentClientLoop-CKC7RYAK.js → runAgentClientLoop-M3NMQENV.js} +65 -63
- package/{runtimeDoctorCommands-3USD722U.js → runtimeDoctorCommands-EQJA4MGD.js} +2 -2
- package/{setDialogExtraReferencesAction-LYY45IAD.js → setDialogExtraReferencesAction-JOENKFTX.js} +14 -13
- package/{setPrimaryDialogAgentAction-73IL7DLU.js → setPrimaryDialogAgentAction-MHWOGXP3.js} +20 -22
- package/{chunk-SONWNI3L.js → settingThunks-KLPZNA6L.js} +104 -921
- package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
- package/{spaceCommands-JZO2QK77.js → spaceCommands-ZESRWSTC.js} +36 -35
- package/{streamAgentChatTurn-4PBF5RK5.js → streamAgentChatTurn-RWFCST5Y.js} +110 -108
- package/{switchDialogAgentAction-UUXDSQ6X.js → switchDialogAgentAction-JHA4JEYA.js} +14 -13
- package/{tableCommands-G7RV3RU3.js → tableCommands-6U4BMLRR.js} +7 -7
- package/{toolApiClient-INIQCPGY.js → toolApiClient-EJT6TMFG.js} +4 -4
- package/{tools-BQ375D2L.js → tools-6AKBF274.js} +53 -51
- package/{tuiSummaryLlmCaller-74NRRLVW.js → tuiSummaryLlmCaller-QUCBFGZK.js} +18 -17
- package/{updateDialogTitleAction-DTREH6RR.js → updateDialogTitleAction-43H4O3QO.js} +39 -39
- package/action-GI44T4DR.js +0 -31
- package/browser-image-compression-MFDTD7K6.js +0 -1763
- package/chatQueueReduxAdapter-B3PSJ3GC.js +0 -187
- package/chunk-MEYIRKDN.js +0 -8967
- package/chunk-Y5GCAMGP.js +0 -9
- package/chunk-YPREESF4.js +0 -225
- package/settingSlice-Q6EKL7EQ.js +0 -204
- package/syncMapping-N6RGXGBW.js +0 -437
- package/{chunk-6PHKBY2Q.js → chunk-4YSOUKUR.js} +8 -8
- package/{chunk-S5XGT6GB.js → chunk-UA324D4O.js} +3 -3
- package/{chunk-MX574M24.js → chunk-V4UYSDTH.js} +3 -3
- package/{chunk-ESRMFY7G.js → chunk-XFUBXRVI.js} +5 -5
- package/{localRuntimeAuthority-5W6IJRAD.js → localRuntimeAuthority-AENMRPGX.js} +5 -5
|
@@ -2,24 +2,15 @@ import {
|
|
|
2
2
|
loadFileFromIndexedDb,
|
|
3
3
|
removeAction,
|
|
4
4
|
saveFileToIndexedDb
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
fileKey,
|
|
8
|
-
getFileIdFromKey,
|
|
9
|
-
ulid
|
|
10
|
-
} from "./chunk-3AH7LNUB.js";
|
|
5
|
+
} from "./chunk-XBIYSBSG.js";
|
|
11
6
|
import {
|
|
12
7
|
readAction,
|
|
13
8
|
readRequestManager,
|
|
14
9
|
resolveAgentReadServers
|
|
15
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RX4HD4H7.js";
|
|
16
11
|
import {
|
|
17
|
-
asyncThunkCreator,
|
|
18
|
-
buildCreateSlice,
|
|
19
12
|
compareRemoteRecordsByComparableTime,
|
|
20
|
-
createEntityAdapter,
|
|
21
13
|
getRuntimeServerContext,
|
|
22
|
-
noloDeleteRequest,
|
|
23
14
|
pickBestSettledRemoteRecord,
|
|
24
15
|
planAuthorityReadServers,
|
|
25
16
|
resolveAuthorityReplicationServers,
|
|
@@ -32,19 +23,30 @@ import {
|
|
|
32
23
|
shouldReplaceLocalWithRemoteRecord,
|
|
33
24
|
shouldReplicateLocalRecord,
|
|
34
25
|
uploadToCurrentServer
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import {
|
|
37
|
-
fetchFromClientDb,
|
|
38
|
-
fetchFromServer,
|
|
39
|
-
logger,
|
|
40
|
-
normalizeTimeFields
|
|
41
|
-
} from "./chunk-QOKAKDPE.js";
|
|
26
|
+
} from "./chunk-UJXNKP5V.js";
|
|
42
27
|
import {
|
|
43
28
|
isTombstoneRecord
|
|
44
29
|
} from "./chunk-GBRG75BQ.js";
|
|
45
30
|
import {
|
|
46
31
|
isRecord
|
|
47
32
|
} from "./chunk-KUG52IAP.js";
|
|
33
|
+
import {
|
|
34
|
+
fileKey,
|
|
35
|
+
getFileIdFromKey,
|
|
36
|
+
ulid
|
|
37
|
+
} from "./chunk-3AH7LNUB.js";
|
|
38
|
+
import {
|
|
39
|
+
asyncThunkCreator,
|
|
40
|
+
buildCreateSlice,
|
|
41
|
+
createEntityAdapter,
|
|
42
|
+
noloDeleteRequest
|
|
43
|
+
} from "./chunk-VY6VFGKR.js";
|
|
44
|
+
import {
|
|
45
|
+
fetchFromClientDb,
|
|
46
|
+
fetchFromServer,
|
|
47
|
+
logger,
|
|
48
|
+
normalizeTimeFields
|
|
49
|
+
} from "./chunk-HIM3FCLF.js";
|
|
48
50
|
import {
|
|
49
51
|
API_ENDPOINTS
|
|
50
52
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -712,7 +714,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
712
714
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
713
715
|
read: create.asyncThunk(
|
|
714
716
|
async (payload, thunkApi) => {
|
|
715
|
-
const { readAction: readAction2 } = await import("./read-
|
|
717
|
+
const { readAction: readAction2 } = await import("./read-TBK4DFHP.js");
|
|
716
718
|
return readAction2(payload, thunkApi);
|
|
717
719
|
},
|
|
718
720
|
{
|
|
@@ -786,7 +788,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
786
788
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
787
789
|
share: create.asyncThunk(
|
|
788
790
|
async (config, thunkApi) => {
|
|
789
|
-
const { shareResourceAction } = await import("./action-
|
|
791
|
+
const { shareResourceAction } = await import("./action-PNPQLJHG.js");
|
|
790
792
|
return shareResourceAction(config, thunkApi);
|
|
791
793
|
}
|
|
792
794
|
),
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createSelector
|
|
3
|
+
} from "./chunk-VY6VFGKR.js";
|
|
4
|
+
import {
|
|
5
|
+
getAllServers,
|
|
6
|
+
getIsDesktopApp
|
|
7
|
+
} from "./chunk-HIM3FCLF.js";
|
|
8
|
+
import {
|
|
9
|
+
SERVERS
|
|
10
|
+
} from "./chunk-LCBAMY2M.js";
|
|
11
|
+
import {
|
|
12
|
+
isLocalServerUrl
|
|
13
|
+
} from "./chunk-4SN6J65J.js";
|
|
14
|
+
|
|
15
|
+
// packages/app/settings/serverSelectors.ts
|
|
16
|
+
var resolveDesktopSafeServer = (value) => {
|
|
17
|
+
if (!getIsDesktopApp()) return value || SERVERS.MAIN;
|
|
18
|
+
return isLocalServerUrl(value) ? SERVERS.MAIN : value || SERVERS.MAIN;
|
|
19
|
+
};
|
|
20
|
+
var selectSettings = (state) => state.settings;
|
|
21
|
+
var selectCurrentServer = createSelector(
|
|
22
|
+
[selectSettings],
|
|
23
|
+
(settings) => resolveDesktopSafeServer(settings.currentServer)
|
|
24
|
+
);
|
|
25
|
+
var selectSyncServers = createSelector(
|
|
26
|
+
[selectSettings],
|
|
27
|
+
(settings) => (settings.syncServers || []).filter(
|
|
28
|
+
(server) => !getIsDesktopApp() || !isLocalServerUrl(server)
|
|
29
|
+
)
|
|
30
|
+
);
|
|
31
|
+
var selectRemoteServer = selectCurrentServer;
|
|
32
|
+
var selectRemoteSyncServers = selectSyncServers;
|
|
33
|
+
var selectRemoteServers = createSelector(
|
|
34
|
+
[selectRemoteServer, selectRemoteSyncServers],
|
|
35
|
+
(currentServer, syncServers) => getAllServers(currentServer, syncServers)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
selectCurrentServer,
|
|
40
|
+
selectSyncServers,
|
|
41
|
+
selectRemoteServers
|
|
42
|
+
};
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
t,
|
|
29
29
|
toolLabel,
|
|
30
30
|
toolLabelVariants
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OYDJFF7H.js";
|
|
32
32
|
import {
|
|
33
33
|
clearCredentialAvailability,
|
|
34
34
|
readCredentialEntry,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-62IL3KQV.js";
|
|
37
37
|
import {
|
|
38
38
|
getReadableCliDb
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EMQZSES6.js";
|
|
40
40
|
import {
|
|
41
41
|
_appendEntityBatch,
|
|
42
42
|
_appendEvidenceBatch,
|
|
@@ -51,52 +51,49 @@ import {
|
|
|
51
51
|
loadMemoryVNextCatalog,
|
|
52
52
|
putMemoryEvidenceVNext
|
|
53
53
|
} from "./chunk-TY3TIUJK.js";
|
|
54
|
-
import {
|
|
55
|
-
resolveMachineId
|
|
56
|
-
} from "./chunk-ESHYE7WU.js";
|
|
57
54
|
import {
|
|
58
55
|
readDbRecord,
|
|
59
56
|
resolveAgentRecordFromHybridStore
|
|
60
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-VZZUQTBR.js";
|
|
61
58
|
import {
|
|
62
59
|
isLocalCliAgentKey
|
|
63
60
|
} from "./chunk-SV5IJK6K.js";
|
|
64
|
-
import {
|
|
65
|
-
extractGoogleValidationLink
|
|
66
|
-
} from "./chunk-BMQ2MJUK.js";
|
|
67
|
-
import {
|
|
68
|
-
createRunActivityTracker,
|
|
69
|
-
popSingleQueueMessage,
|
|
70
|
-
readRunRecord,
|
|
71
|
-
resolveRunQueuePath,
|
|
72
|
-
settleRunTerminalAuthoritatively,
|
|
73
|
-
spawnLocalBackgroundRun
|
|
74
|
-
} from "./chunk-APMUYAPK.js";
|
|
75
|
-
import {
|
|
76
|
-
isCliAuthorityBrokerProtocolError,
|
|
77
|
-
isCliAuthorityBrokerTimeoutError,
|
|
78
|
-
isCliAuthorityBrokerUnavailableError
|
|
79
|
-
} from "./chunk-EXAJ6DCR.js";
|
|
80
|
-
import {
|
|
81
|
-
getDefaultCliLocalRuntimeDb
|
|
82
|
-
} from "./chunk-ZOVKKMF6.js";
|
|
83
61
|
import {
|
|
84
62
|
CliProviderQuotaError
|
|
85
63
|
} from "./chunk-MP64VFGD.js";
|
|
64
|
+
import {
|
|
65
|
+
resolveMachineId
|
|
66
|
+
} from "./chunk-ESHYE7WU.js";
|
|
86
67
|
import {
|
|
87
68
|
applyModelLayerOverride,
|
|
88
69
|
buildModelLayerOverride
|
|
89
70
|
} from "./chunk-LTRXGFMS.js";
|
|
90
|
-
import {
|
|
91
|
-
formatAgentListCard
|
|
92
|
-
} from "./chunk-VFWN2MLE.js";
|
|
93
71
|
import {
|
|
94
72
|
isGatewayHttpStatus
|
|
95
73
|
} from "./chunk-NF64D32W.js";
|
|
96
74
|
import {
|
|
97
|
-
isTransientFetchError
|
|
98
|
-
|
|
75
|
+
isTransientFetchError,
|
|
76
|
+
parsePositiveFiniteNumberOrFallback
|
|
77
|
+
} from "./chunk-AOTBKDRK.js";
|
|
78
|
+
import {
|
|
79
|
+
extractGoogleValidationLink
|
|
80
|
+
} from "./chunk-BMQ2MJUK.js";
|
|
81
|
+
import {
|
|
82
|
+
buildMemorySubjectsForAgent,
|
|
83
|
+
chooseMemoryOwners,
|
|
84
|
+
loadMemoryCandidatesFromDb,
|
|
85
|
+
resolveAgentMemoryPolicy
|
|
86
|
+
} from "./chunk-CLXLSAYP.js";
|
|
87
|
+
import {
|
|
88
|
+
createRunActivityTracker,
|
|
89
|
+
popSingleQueueMessage,
|
|
90
|
+
readRunRecord,
|
|
91
|
+
resolveRunQueuePath,
|
|
92
|
+
settleRunTerminalAuthoritatively,
|
|
93
|
+
spawnLocalBackgroundRun
|
|
94
|
+
} from "./chunk-U3C3IA32.js";
|
|
99
95
|
import {
|
|
96
|
+
formatAgentListCard,
|
|
100
97
|
formatFinishedRunCard,
|
|
101
98
|
formatListRunsCard,
|
|
102
99
|
formatNotFoundRunCard,
|
|
@@ -104,17 +101,19 @@ import {
|
|
|
104
101
|
formatStatusRunCard,
|
|
105
102
|
formatStopRunCard,
|
|
106
103
|
isAgentRunTerminalStatus
|
|
107
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-E3YWHWCR.js";
|
|
108
105
|
import {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
isCliAuthorityBrokerProtocolError,
|
|
107
|
+
isCliAuthorityBrokerTimeoutError,
|
|
108
|
+
isCliAuthorityBrokerUnavailableError
|
|
109
|
+
} from "./chunk-EXAJ6DCR.js";
|
|
110
|
+
import {
|
|
111
|
+
getDefaultCliLocalRuntimeDb
|
|
112
|
+
} from "./chunk-74D5HEDI.js";
|
|
114
113
|
import {
|
|
115
114
|
API_REPORTED_COST_MULTIPLIER,
|
|
116
115
|
parseUiAskChoiceContent
|
|
117
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-QMXFJJAT.js";
|
|
118
117
|
import {
|
|
119
118
|
isOAuthApiKeyRef
|
|
120
119
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -129,10 +128,10 @@ import {
|
|
|
129
128
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
130
129
|
LOCAL_TURN_ABORTED_CODE,
|
|
131
130
|
readActionGate
|
|
132
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ANRWQGOV.js";
|
|
133
132
|
import {
|
|
134
133
|
resolveAgentRuntimeConfigFromRecord
|
|
135
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-4XYBLM4D.js";
|
|
136
135
|
import {
|
|
137
136
|
createThinkParserState,
|
|
138
137
|
flushThinkParser,
|
|
@@ -146,29 +145,17 @@ import {
|
|
|
146
145
|
resolveCooldownGate,
|
|
147
146
|
resolveCredentialKeyWithFallback
|
|
148
147
|
} from "./chunk-H6A6X4EK.js";
|
|
149
|
-
import {
|
|
150
|
-
isAntigravityOAuthAgent
|
|
151
|
-
} from "./chunk-S5XGT6GB.js";
|
|
152
|
-
import {
|
|
153
|
-
resolveClientVersion
|
|
154
|
-
} from "./chunk-27ONFIEY.js";
|
|
155
148
|
import {
|
|
156
149
|
DEFAULT_CONTEXT_WINDOW,
|
|
157
150
|
getModelContextWindow,
|
|
158
151
|
normalizeUsage
|
|
159
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-JNXHAQPJ.js";
|
|
160
153
|
import {
|
|
161
154
|
clipCompactText
|
|
162
155
|
} from "./chunk-5MMAK75Q.js";
|
|
163
156
|
import {
|
|
164
157
|
compactWhitespace
|
|
165
158
|
} from "./chunk-DWLEOOGR.js";
|
|
166
|
-
import {
|
|
167
|
-
toErrorMessage
|
|
168
|
-
} from "./chunk-HNMXYYJR.js";
|
|
169
|
-
import {
|
|
170
|
-
findModelConfig
|
|
171
|
-
} from "./chunk-3BXNTXYI.js";
|
|
172
159
|
import {
|
|
173
160
|
buildAgentsMdLayer,
|
|
174
161
|
buildMemoryOverlayLayer,
|
|
@@ -176,6 +163,18 @@ import {
|
|
|
176
163
|
partitionScopedBlocks,
|
|
177
164
|
renderTurnContextBlocksWithScope
|
|
178
165
|
} from "./chunk-HDLLCBRF.js";
|
|
166
|
+
import {
|
|
167
|
+
isAntigravityOAuthAgent
|
|
168
|
+
} from "./chunk-UA324D4O.js";
|
|
169
|
+
import {
|
|
170
|
+
resolveClientVersion
|
|
171
|
+
} from "./chunk-27ONFIEY.js";
|
|
172
|
+
import {
|
|
173
|
+
findModelConfig
|
|
174
|
+
} from "./chunk-3BXNTXYI.js";
|
|
175
|
+
import {
|
|
176
|
+
toErrorMessage
|
|
177
|
+
} from "./chunk-HNMXYYJR.js";
|
|
179
178
|
import {
|
|
180
179
|
getLogger,
|
|
181
180
|
normalizeError
|
|
@@ -192,13 +191,6 @@ import {
|
|
|
192
191
|
NOLO_CLIENT_VERSION_HEADER,
|
|
193
192
|
buildClientVersionUpgradeMessage
|
|
194
193
|
} from "./chunk-Y3PMXGLH.js";
|
|
195
|
-
import {
|
|
196
|
-
parsePositiveFiniteNumberOrFallback
|
|
197
|
-
} from "./chunk-Y5GCAMGP.js";
|
|
198
|
-
import {
|
|
199
|
-
createMemoryKey,
|
|
200
|
-
ulid
|
|
201
|
-
} from "./chunk-3AH7LNUB.js";
|
|
202
194
|
import {
|
|
203
195
|
asTrimmedLowercaseString
|
|
204
196
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -210,6 +202,10 @@ import {
|
|
|
210
202
|
import {
|
|
211
203
|
parsePublicAgentId
|
|
212
204
|
} from "./chunk-M2EJHDJP.js";
|
|
205
|
+
import {
|
|
206
|
+
createMemoryKey,
|
|
207
|
+
ulid
|
|
208
|
+
} from "./chunk-3AH7LNUB.js";
|
|
213
209
|
import {
|
|
214
210
|
asTrimmedString
|
|
215
211
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -10726,7 +10722,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10726
10722
|
// packages/cli/client/agentRun.ts
|
|
10727
10723
|
import { ulid as ulid2 } from "ulid";
|
|
10728
10724
|
async function loadRunLocalAgentTurn() {
|
|
10729
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10725
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-EZPUCRMS.js");
|
|
10730
10726
|
return runLocalAgentTurn;
|
|
10731
10727
|
}
|
|
10732
10728
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -7,7 +7,15 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RJYTVNWD.js";
|
|
11
|
+
import {
|
|
12
|
+
fetchWithTransientRetry,
|
|
13
|
+
parsePositiveFiniteNumberOrFallback
|
|
14
|
+
} from "./chunk-AOTBKDRK.js";
|
|
15
|
+
import {
|
|
16
|
+
DRAIN_EXHAUSTED_USER_MESSAGE,
|
|
17
|
+
isDrainExhaustedResponse
|
|
18
|
+
} from "./chunk-3L2WKC3W.js";
|
|
11
19
|
import {
|
|
12
20
|
isLevelLockError
|
|
13
21
|
} from "./chunk-URMS4XY2.js";
|
|
@@ -15,13 +23,6 @@ import {
|
|
|
15
23
|
resolveLocalDialogDbCandidates,
|
|
16
24
|
resolveServerDbPath
|
|
17
25
|
} from "./chunk-GLKOYSRU.js";
|
|
18
|
-
import {
|
|
19
|
-
fetchWithTransientRetry
|
|
20
|
-
} from "./chunk-5UTFL4QJ.js";
|
|
21
|
-
import {
|
|
22
|
-
DRAIN_EXHAUSTED_USER_MESSAGE,
|
|
23
|
-
isDrainExhaustedResponse
|
|
24
|
-
} from "./chunk-3L2WKC3W.js";
|
|
25
26
|
import {
|
|
26
27
|
buildDialogAttachmentPlan,
|
|
27
28
|
extractFileContentIds
|
|
@@ -30,7 +31,10 @@ import {
|
|
|
30
31
|
boundSummaryText,
|
|
31
32
|
buildDialogReadEnvelope,
|
|
32
33
|
projectDialogReadForAgent
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4YSOUKUR.js";
|
|
35
|
+
import {
|
|
36
|
+
asRecordOrEmpty
|
|
37
|
+
} from "./chunk-KX6YBIHG.js";
|
|
34
38
|
import {
|
|
35
39
|
toErrorMessage
|
|
36
40
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -43,24 +47,18 @@ import {
|
|
|
43
47
|
resolveServerUrl
|
|
44
48
|
} from "./chunk-A7GB5UGH.js";
|
|
45
49
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import {
|
|
49
|
-
asRecordOrEmpty
|
|
50
|
-
} from "./chunk-KX6YBIHG.js";
|
|
50
|
+
isRecord
|
|
51
|
+
} from "./chunk-KUG52IAP.js";
|
|
51
52
|
import {
|
|
52
53
|
asNonEmptyStringArray,
|
|
53
54
|
asTrimmedNonEmptyStringArray
|
|
54
55
|
} from "./chunk-3AH7LNUB.js";
|
|
55
56
|
import {
|
|
56
57
|
createClientLogger
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-HIM3FCLF.js";
|
|
58
59
|
import {
|
|
59
60
|
isLevelNotFoundError
|
|
60
61
|
} from "./chunk-OW765XBU.js";
|
|
61
|
-
import {
|
|
62
|
-
isRecord
|
|
63
|
-
} from "./chunk-KUG52IAP.js";
|
|
64
62
|
import {
|
|
65
63
|
asTrimmedString
|
|
66
64
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -725,7 +723,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
|
|
|
725
723
|
return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
|
|
726
724
|
}
|
|
727
725
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
728
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
726
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-3FHUPYAR.js")).readDialogFromLocalDb;
|
|
729
727
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
730
728
|
return {
|
|
731
729
|
...result,
|
|
@@ -742,7 +740,7 @@ async function readLocalDialogAtDbPathDefault(args) {
|
|
|
742
740
|
const [{ Level }, { safeJsonEncoding }, { fetchMessages }] = await Promise.all([
|
|
743
741
|
import("./levelLazyShim-GZBKODGI.js"),
|
|
744
742
|
import("./serverStoreFactory-YMXDF4NI.js"),
|
|
745
|
-
import("./fetchMessages-
|
|
743
|
+
import("./fetchMessages-N2BW2L62.js")
|
|
746
744
|
]);
|
|
747
745
|
const db = new Level(args.dbPath, {
|
|
748
746
|
valueEncoding: safeJsonEncoding,
|