nolo-cli 0.212.0-alpha.1 → 0.219.0
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/README.md +3 -2
- package/{_executeModel-KE6MBNUJ.js → _executeModel-WW57SJN4.js} +111 -82
- package/{accountResolver-4LKIHEKL.js → accountResolver-EK2S4PWF.js} +6 -6
- package/{action-DF5UYSJF.js → action-CK64LS6S.js} +12 -11
- package/{addContentAction-N2YC5IL3.js → addContentAction-EQXMFNPR.js} +18 -17
- package/{addDialogAgentAction-3NKVQCEC.js → addDialogAgentAction-RSDZDASD.js} +21 -20
- package/{agentDeleteCommand-NWK7VU4N.js → agentDeleteCommand-X2VWEKUA.js} +127 -118
- package/{agentEmailCommands-UZ4DHEX2.js → agentEmailCommands-6IE773VW.js} +132 -124
- package/{agentFavoriteCommands-EDK743YA.js → agentFavoriteCommands-2LKGKSUD.js} +7 -8
- package/{agentGrantCommands-RQWK2TEV.js → agentGrantCommands-QQV4N4JW.js} +5 -5
- package/{agentListCommands-HE7L2A6L.js → agentListCommands-5UNM7CGG.js} +196 -124
- package/{agentMachineCommands-6TE4MBMP.js → agentMachineCommands-EVWFKK6Q.js} +62 -53
- package/{agentProviderCommands-Q5O33MED.js → agentProviderCommands-ZCH37KAL.js} +5 -5
- package/{agentPullCommand-6EM3URVK.js → agentPullCommand-XN6ZPBUW.js} +7 -7
- package/agentRecordCommands-DX2WE6BH.js +176 -0
- package/agentRunCommand-KGOT2AFB.js +206 -0
- package/{agentRunControl-OI3LOENH.js → agentRunControl-QDFW5P2T.js} +30 -15
- package/{agentRuntimeLocal-HL526DNQ.js → agentRuntimeLocal-SD7U2EGY.js} +52 -45
- package/{agentSlice-TMYP2UEA.js → agentSlice-ACZGTZVW.js} +20 -19
- package/{appDeleteCommands-ZERW4AXY.js → appDeleteCommands-NE3NQQJL.js} +61 -52
- package/{appDeployCommands-DUWSMYHL.js → appDeployCommands-2BAHY522.js} +61 -52
- package/{appDeployStatusCommands-N2KIE4BF.js → appDeployStatusCommands-JTW6LZNC.js} +61 -52
- package/{appGetCommands-YVR4NPVY.js → appGetCommands-WKFEJO6A.js} +61 -52
- package/{appListCommands-JS6HOHZS.js → appListCommands-HNAZZLFX.js} +61 -52
- package/{authCommand-FE2C3ZUM.js → authCommand-4FDPL7WG.js} +29 -28
- package/{authCommands-HV3EAU3V.js → authCommands-GAJ3NIXO.js} +14 -13
- package/{builtinSkillRegistry-3YOIGEF6.js → builtinSkillRegistry-PXH7EGQB.js} +11 -13
- package/{chromeCommands-REEAH4SX.js → chromeCommands-G5UDKVSV.js} +3 -3
- package/{chromeOpsCommands-HEN5AX2J.js → chromeOpsCommands-YKX2QX3A.js} +20 -10
- package/chunk-2KTUDBG7.js +675 -0
- package/{chunk-TCZHTTUU.js → chunk-2OLYKYNY.js} +8 -8
- package/{chunk-PYRUW7XN.js → chunk-2VUZSVAS.js} +136 -54
- package/chunk-2YGBI2XB.js +30 -0
- package/chunk-2ZKFCIJJ.js +13 -0
- package/{chunk-3FOQHGHN.js → chunk-3ESU44FG.js} +4 -4
- package/{chunk-GNDJKC4B.js → chunk-3N4ASIP6.js} +29 -29
- package/{chunk-4KB6WQUL.js → chunk-4A2JIXR2.js} +1 -1
- package/{chunk-MYOH447Z.js → chunk-4JVNURX4.js} +1 -1
- package/{chunk-IJXYFTV7.js → chunk-4NMHE7CX.js} +20 -20
- package/{chunk-YDH3FDFQ.js → chunk-5FUN7EG4.js} +1 -1
- package/chunk-5OZC7R7Y.js +97 -0
- package/chunk-5R63B62U.js +364 -0
- package/{chunk-LKDF3ATR.js → chunk-5RKUPJYL.js} +1 -1
- package/{chunk-5AQR3DGV.js → chunk-652XYZGP.js} +80 -11
- package/{chunk-6OQUPIQF.js → chunk-65XXHYZ5.js} +4 -4
- package/{chunk-IF45XG7K.js → chunk-6D7NVU66.js} +40 -24
- package/{chunk-DM6UMOEL.js → chunk-6NKA6RKF.js} +2 -2
- package/{chunk-ZC3CMUKU.js → chunk-6OVNSQHN.js} +84 -2
- package/{chunk-H2TJUNCH.js → chunk-6RQFZCKH.js} +18 -18
- package/{chunk-OOF4UPC5.js → chunk-7UH3DGV6.js} +17 -159
- package/{chunk-M6RL5JCD.js → chunk-7WPAI5JJ.js} +14 -14
- package/{chunk-P5L7CXOC.js → chunk-7Z6EW7AH.js} +3 -2
- package/{chunk-3AKFVZ2I.js → chunk-AFHOCBSP.js} +3 -3
- package/{chunk-HPFCI4SK.js → chunk-AK5O76CC.js} +3 -3
- package/{chunk-Y63ZSOR6.js → chunk-AL3TYDIF.js} +1 -1
- package/{chunk-PJNFNEJE.js → chunk-AMEOV5VZ.js} +59 -13
- package/chunk-AVHRSJUH.js +1621 -0
- package/{chunk-IAPCBNEE.js → chunk-BGGHA5DV.js} +1 -1
- package/{chunk-NBTY7YJF.js → chunk-BR3GT6MR.js} +1 -0
- package/{chunk-7RFNTILS.js → chunk-BUDVRYES.js} +2 -2
- package/{chunk-D2MDMY2M.js → chunk-BV3FLP2L.js} +47 -1
- package/{chunk-25JZEIXN.js → chunk-C4VAR65S.js} +92 -150
- package/{chunk-AVTVGMDY.js → chunk-C4WTX5TU.js} +2 -2
- package/{chunk-F6UUQOG6.js → chunk-CKT6QUE2.js} +4 -4
- package/{chunk-6VLJ6YA7.js → chunk-CXDPIPZ4.js} +9 -9
- package/{secretCommands-4QS3HCA2.js → chunk-D726I5AZ.js} +191 -16
- package/{chunk-4KH4J3G5.js → chunk-DJSTBAOU.js} +19 -7
- package/chunk-DVQH4BTR.js +1137 -0
- package/{chunk-7OCO4TDT.js → chunk-EGXPAWLG.js} +1 -1
- package/chunk-EOWLBDY6.js +142 -0
- package/chunk-EUCFKKDM.js +247 -0
- package/chunk-EWQ3HGNZ.js +90 -0
- package/{chunk-NJR3WKVP.js → chunk-F3TQURKK.js} +281 -159
- package/{chunk-GSQNH63I.js → chunk-FIYSMXHY.js} +3 -19
- package/{chunk-KSTEXKL6.js → chunk-FJ23FZXF.js} +76 -31
- package/{chunk-NOMIGOST.js → chunk-FRSBYNWI.js} +116 -124
- package/{chunk-VZKUKCA6.js → chunk-FVZW66K4.js} +3676 -243
- package/{chunk-YUA6OAH5.js → chunk-G2EJ7NL4.js} +2 -2
- package/{chunk-OXME3PEE.js → chunk-GBWGPTA7.js} +2 -1
- package/{chunk-MMNYUVLW.js → chunk-GGKNJ42M.js} +11 -77
- package/{chunk-INSBKSBB.js → chunk-GIABSSWQ.js} +4 -4
- package/{chunk-EZFQ6XRV.js → chunk-GNHMRBYZ.js} +861 -59
- package/{chunk-IIQ6JGRI.js → chunk-GVGOEMNV.js} +2 -2
- package/{chunk-WXYLV624.js → chunk-H7R3365N.js} +4 -4
- package/chunk-HCJFGH6Y.js +1382 -0
- package/{chunk-YUXQAVRD.js → chunk-HOCHUZQ7.js} +257 -90
- package/{chunk-Y2WUYX4I.js → chunk-HXER7YJF.js} +4 -4
- package/{chunk-CTPXME7U.js → chunk-IWH5SOU4.js} +29 -6
- package/{chunk-INN4LTAJ.js → chunk-IWQAOW2X.js} +2 -2
- package/{chunk-RPQXPZZF.js → chunk-J6T25AJ6.js} +908 -13
- package/{chunk-KIM6CLW5.js → chunk-JC5XLWZK.js} +42 -15
- package/chunk-JVRQ6YVK.js +99 -0
- package/{chunk-ZRSNONOB.js → chunk-JWXITTQB.js} +8 -3
- package/{chunk-HIRC32DV.js → chunk-K5FNYHZC.js} +543 -29
- package/{chunk-RU4SD66C.js → chunk-KAVGK4ES.js} +30 -254
- package/{chunk-JNKSDZFS.js → chunk-KEN3N2TN.js} +310 -66
- package/{chunk-LEC5ALIN.js → chunk-KEPOVMF4.js} +1 -1
- package/{chunk-Y6ORVLSS.js → chunk-KN3HEZIQ.js} +1 -1
- package/{chunk-D5RCRX4A.js → chunk-KO63FPG3.js} +9415 -5169
- package/{chunk-OHNELDTO.js → chunk-KOXKKHFE.js} +11 -152
- package/{chunk-4VJAC32I.js → chunk-L5I543VB.js} +3 -2
- package/{chunk-SM3NSZJV.js → chunk-LE6LGAJE.js} +20 -1
- package/chunk-LKA64WH4.js +227 -0
- package/{chunk-VL5KOY2C.js → chunk-MK2Q7ZJD.js} +67 -5
- package/{chunk-22CIEBYO.js → chunk-MKQ2UTTX.js} +50 -48
- package/chunk-MOMR7NMG.js +226 -0
- package/{chunk-PDGKOTO7.js → chunk-N3J4VDGV.js} +33 -22
- package/{chunk-AZMYUSVF.js → chunk-N5Z2V73W.js} +1 -1
- package/{chunk-5RYBGBQH.js → chunk-N7HVLYOY.js} +14 -9
- package/{chunk-GPO7FCEZ.js → chunk-O2CYENYJ.js} +1331 -1725
- package/{chunk-3RQVYR4B.js → chunk-OB6DVWPF.js} +197 -65
- package/{chunk-HRMJUN5J.js → chunk-OGHP3CTL.js} +1 -1
- package/{chunk-XJWWBO34.js → chunk-OJKUU3LP.js} +5 -7
- package/{chunk-G7MLNNEX.js → chunk-OOF7XDZF.js} +5 -5
- package/{chunk-CJRONOYL.js → chunk-OXKUPBAQ.js} +19 -75
- package/{chunk-6XIE5ZGI.js → chunk-PDCV7P5W.js} +1 -1
- package/{chunk-UTV2AYEG.js → chunk-PFJNLBRU.js} +2 -2
- package/{chunk-CKAHAVMK.js → chunk-PPJYZRSQ.js} +40 -26
- package/chunk-PVZY6P3S.js +271 -0
- package/{chunk-ZL5RAEEB.js → chunk-Q6HOUF4O.js} +1 -1
- package/{chunk-QT6PKHYJ.js → chunk-Q7WP5RPC.js} +5 -5
- package/chunk-QHEN7NZ7.js +46 -0
- package/{chunk-JIT6FSXJ.js → chunk-QLFCTYRH.js} +3 -3
- package/{chunk-YGILMZ7N.js → chunk-QVBXJNZ2.js} +1 -1
- package/{chunk-YPD3VJZW.js → chunk-QWYFFHCJ.js} +20 -20
- package/{chunk-C6KNNXWU.js → chunk-RGQ4UUWZ.js} +25 -2
- package/{chunk-OWYYDMGJ.js → chunk-S2NTVGA2.js} +4 -2
- package/{chunk-YJMRHHGY.js → chunk-S7SB7L2I.js} +60 -30
- package/{chunk-W4S457LU.js → chunk-SASHAZ67.js} +41 -5
- package/{chunk-KC4XDTT3.js → chunk-SOF4OWDM.js} +6 -4
- package/{chunk-YWSEPJ7C.js → chunk-SRL56PI2.js} +3 -3
- package/{chunk-6NSSLV67.js → chunk-SYQR7FQS.js} +52 -50
- package/{chunk-JY5NGFFH.js → chunk-SYTHYBMI.js} +5 -5
- package/{chunk-CQ46IRNN.js → chunk-T3O6BLYU.js} +447 -203
- package/chunk-TLE77UJ5.js +230 -0
- package/{chunk-T43B7LB2.js → chunk-TRWT3EE3.js} +1 -1
- package/{chunk-FHU44LN3.js → chunk-TVFRV3UQ.js} +2179 -552
- package/{chunk-4VNS5WPM.js → chunk-U67V476Y.js} +1 -8
- package/{chunk-F7CI2ZC5.js → chunk-UAIHKQIA.js} +2 -1
- package/{chunk-LOEO7LRC.js → chunk-UJKTI5PG.js} +10 -7
- package/{chunk-UHJGXRJ4.js → chunk-UMRI2IRY.js} +3 -3
- package/{chunk-WPORQFYN.js → chunk-UVLYNWIE.js} +2 -2
- package/{chunk-YOIW77S2.js → chunk-UYOICCYG.js} +29 -19
- package/{chunk-GOO6G4PY.js → chunk-VALBGPM6.js} +106 -50
- package/{chunk-B7NJ3T4A.js → chunk-VHPAA6MT.js} +10 -10
- package/{chunk-4I7ERB7F.js → chunk-VREDDN25.js} +1 -1
- package/{chunk-SOHTHFV2.js → chunk-XFJ4ZPFC.js} +91 -132
- package/{chunk-TY3TIUJK.js → chunk-XI2BWJM5.js} +65 -0
- package/chunk-XWGDCWXY.js +526 -0
- package/{chunk-J5JTMQIA.js → chunk-YFLVRVYK.js} +1 -1
- package/{chunk-EYLGAEB4.js → chunk-YGMBIXCF.js} +132 -0
- package/chunk-YL3EFYL3.js +199 -0
- package/{chunk-MMA3LZ3W.js → chunk-YNIYE47Z.js} +1 -1
- package/chunk-YZMNK53S.js +68 -0
- package/{chunk-FY7F4Q6X.js → chunk-Z4PCXPUE.js} +2 -2
- package/{cliAgentConfigHelpers-WJBZQTLW.js → cliAgentConfigHelpers-PO3MVDME.js} +15 -16
- package/{cliAuthorityBrokerClient-PM3U6Q6J.js → cliAuthorityBrokerClient-XHH7MH2P.js} +1 -1
- package/{cliAuthorityStoreDriver-TKLXNNTG.js → cliAuthorityStoreDriver-6FE3BJNB.js} +1 -1
- package/{cliEnvHelpers-BVYTMUPJ.js → cliEnvHelpers-VPSJ4XWC.js} +3 -3
- package/{cliExecutor-BWBF2MTI.js → cliExecutor-4MAX3PZL.js} +2 -2
- package/cliLocalAgentRecordReader-Z7CH4K4R.js +90 -0
- package/{commandRegistry-VVMTPFAX.js → commandRegistry-SDSYBKMC.js} +106 -98
- package/{contentThunks-N52O67MI.js → contentThunks-G3TRPEAU.js} +47 -43
- package/{cooldownCommands-YXLWOXWR.js → cooldownCommands-X7P5M2V5.js} +5 -4
- package/{createAgentAutomationAction-ZC57YRSV.js → createAgentAutomationAction-KHA4MXUJ.js} +51 -49
- package/{createDialogAction-VQW5WDYX.js → createDialogAction-KWSBNAPJ.js} +46 -48
- package/{createPageAction-M5VDA7SC.js → createPageAction-HXKJ7OFG.js} +50 -48
- package/{cursorProvider-YGGNMVWX.js → cursorProvider-2RACMEMF.js} +1 -1
- package/{db-HUCI5R4G.js → db-CS4ZJQKV.js} +1 -1
- package/{dbSlice-HP7G4LX3.js → dbSlice-ZJPDIFER.js} +17 -16
- package/{deleteFile-7VQGLK2V.js → deleteFile-Q3YDB4ML.js} +9 -9
- package/{desktopFolderProjects-SFY5EZS3.js → desktopFolderProjects-4POAMVJN.js} +2 -2
- package/{dialogCommands-JHMR2N2Y.js → dialogCommands-6KQEBHSG.js} +64 -57
- package/dialogNotifyCommand-WIZFFEY3.js +36 -0
- package/{dialogSlice-GRSVGDTF.js → dialogSlice-HXPKFGRL.js} +42 -40
- package/{dialogUsageCommand-7KCPYGHG.js → dialogUsageCommand-HTVPR2CX.js} +11 -10
- package/{docCreateCommands-F2K3UPSQ.js → docCreateCommands-XZOLWBRC.js} +61 -54
- package/{docDeleteCommands-XGXB5RFT.js → docDeleteCommands-ZSO4LGWE.js} +63 -57
- package/{docReadCommands-7HWZZV6J.js → docReadCommands-TTMXCDER.js} +61 -54
- package/{docStore-KNZK6Y2G.js → docStore-A2B3GH33.js} +21 -20
- package/{docUpdateCommands-OZZ7NQII.js → docUpdateCommands-PRG6WOXL.js} +64 -57
- package/{fetchMessages-M3QU7ZCQ.js → fetchMessages-TQEUZD7H.js} +8 -7
- package/{getPricing-2MNMXEVG.js → getPricing-YH3VMSVU.js} +6 -6
- package/{handleSendMessageAction-SHIH74GJ.js → handleSendMessageAction-NWYG3Q72.js} +193 -301
- package/{hostCredentialCreate-X64WK4JD.js → hostCredentialCreate-WS6D3EHT.js} +123 -114
- package/index.js +29 -29
- package/{keys-BEGDOTRL.js → keys-RWF7UCB4.js} +5 -4
- package/legacyMigration-TF4SYJCZ.js +19 -0
- package/{lib-5KKIBFIT.js → lib-OT5OTXRU.js} +7087 -6664
- package/{localDialogRead-XRLAH4CZ.js → localDialogRead-SVTPA5GY.js} +3 -3
- package/{localFirstLog-DHNOY2NA.js → localFirstLog-OIETGK66.js} +1 -1
- package/localRecall-2J6QPOK2.js +15 -0
- package/{localRuntimeAdapter-A7K3ABA6.js → localRuntimeAdapter-TFYOA6YE.js} +119 -110
- package/{localRuntimeAuthority-OYH4AE4G.js → localRuntimeAuthority-IBJAT62G.js} +1 -1
- package/{localRuntimeDb-VBIMCWUC.js → localRuntimeDb-N7KHDXS2.js} +2 -2
- package/{machineCommands-DE3MR7CJ.js → machineCommands-WFWV25IR.js} +128 -119
- package/{machineInfo-UKPTZO5Y.js → machineInfo-LWHTEBHJ.js} +1 -1
- package/machineWsRunDispatch-ZGXC3F2R.js +191 -0
- package/{memberThunks-7WJAY5V6.js → memberThunks-JRYNONYV.js} +29 -28
- package/{memoryCommands-ASCE5STX.js → memoryCommands-5WC3T66U.js} +4 -4
- package/models-CXINDUJA.js +9 -0
- package/{oauthTokenStore-OEERZFUC.js → oauthTokenStore-RUYNYALS.js} +1 -1
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-4IC3Y4C6.js} +4 -4
- package/overlay-THLKYIWY.js +11 -0
- package/package.json +2 -2
- package/{pdf-U6KSUEZZ.js → pdf-KE3QI2V7.js} +1 -1
- package/{processSpawn-ZU5QFM43.js → processSpawn-6GEO77KV.js} +1 -1
- package/{profileConfig-KN3N2BLF.js → profileConfig-KOWK4HOG.js} +1 -1
- package/{projectArchive-GGL5HLMD.js → projectArchive-ULJDLUA6.js} +52 -50
- package/{providerPresetApply-YXGV6NXB.js → providerPresetApply-SHT2SUVB.js} +19 -12
- package/{providerRegistry-S6UL6UNA.js → providerRegistry-TA7EGCVZ.js} +10 -10
- package/{read-4VZQODSN.js → read-Q7GOHGNP.js} +10 -10
- package/{readDocTool-AVD32RUJ.js → readDocTool-Z5OQ6422.js} +2 -2
- package/{readlineWorkspace-XKYKNL2I.js → readlineWorkspace-LTCV2BFW.js} +6505 -4634
- package/{removeDialogAgentAction-FKL4BYMR.js → removeDialogAgentAction-U3F2MNAY.js} +23 -22
- package/{runAgentClientLoop-V7E2WBVM.js → runAgentClientLoop-BVIEQUB3.js} +81 -79
- package/{runtimeDoctorCommands-QAI3MBKQ.js → runtimeDoctorCommands-I47JN4HS.js} +12 -12
- package/{runtimeModeArgs-2Y7BALTO.js → runtimeModeArgs-X7DL7PUN.js} +1 -1
- package/secretCommands-LJXOOYA7.js +24 -0
- package/{setDialogExtraReferencesAction-TLIOLWWI.js → setDialogExtraReferencesAction-G3WSJ7EM.js} +22 -21
- package/{setPrimaryDialogAgentAction-2OLWRFYR.js → setPrimaryDialogAgentAction-6FHAHZBB.js} +23 -22
- package/{settingThunks-UGBPCNYF.js → settingThunks-AXTBX3Q5.js} +97 -88
- package/{skillDiscovery-XKHROSH2.js → skillDiscovery-B5V23AXP.js} +4 -4
- package/{skillSummaryMarker-42HKSXYY.js → skillSummaryMarker-62UW7HI7.js} +1 -1
- package/{slateToRenderMarkdown-Y5IYN73U.js → slateToRenderMarkdown-R3X74MCX.js} +1 -1
- package/{slateUtils-NGV2NMKM.js → slateUtils-ESQAJ6RN.js} +1 -1
- package/{spaceCommands-4KSLKVNF.js → spaceCommands-IB6FKWIC.js} +61 -53
- package/store-JRVN62NM.js +46 -0
- package/{streamAgentChatTurn-7FR7X2NU.js → streamAgentChatTurn-DNYFHBJM.js} +875 -618
- package/{switchDialogAgentAction-UZSAG2N5.js → switchDialogAgentAction-UOFIAGPL.js} +21 -20
- package/{tableCommands-MP6VFSVT.js → tableCommands-HITDSLHS.js} +10 -10
- package/tombstones-FQQMEDOW.js +32 -0
- package/{toolApiClient-HGNO53TC.js → toolApiClient-OGQEBQVX.js} +4 -4
- package/{tools-ZLKCC25W.js → tools-JVOJ5HC4.js} +75 -74
- package/tuiSummaryLlmCaller-7LWYTHLM.js +44 -0
- package/{updateCommands-4744PL3P.js → updateCommands-RJVCRSBP.js} +10 -8
- package/{updateDialogTitleAction-U53ZT7PJ.js → updateDialogTitleAction-Q57BOSXG.js} +48 -46
- package/{usageCommand-F4IPVMIZ.js → usageCommand-RVKHEPLU.js} +11 -10
- package/{usageRebuildCommand-HAW2AD5N.js → usageRebuildCommand-GRAFOZF2.js} +12 -11
- package/userDataMerge-HT2ZVHBJ.js +13 -0
- package/{windowsSelfUpdate-XSQVF2GK.js → windowsSelfUpdate-KERHIAB4.js} +3 -3
- package/{workloadLifecycle-4BEQHMSD.js → workloadLifecycle-O2I3NZ2Q.js} +7 -6
- package/agentRecordCommands-L3QQ7HZ4.js +0 -167
- package/agentRunCommand-2IFGQHCO.js +0 -196
- package/chunk-3CGG2PAL.js +0 -594
- package/chunk-5XBUWM6I.js +0 -89
- package/chunk-BFM34N54.js +0 -842
- package/chunk-CJEIOP3E.js +0 -0
- package/chunk-CZM5YTZ7.js +0 -977
- package/chunk-EYUBHHFB.js +0 -636
- package/chunk-JTDORD5P.js +0 -415
- package/chunk-NRFKLKRU.js +0 -339
- package/chunk-VPAZOH2D.js +0 -115
- package/chunk-WJZOQR2J.js +0 -151
- package/chunk-ZCWRMUWT.js +0 -89
- package/dist-M676ULYG.js +0 -7314
- package/machineWsRunDispatch-R26P5V36.js +0 -182
- package/models-PJBE6JDV.js +0 -9
- package/tuiSummaryLlmCaller-WC54MVGP.js +0 -160
- package/{chunk-WACI5I6V.js → chunk-2THCNKE4.js} +3 -3
- package/{chunk-2QHFH3DR.js → chunk-47ITIXO7.js} +6 -6
- package/{chunk-OQHIVPG4.js → chunk-SNBZZPYH.js} +3 -3
- package/{chunk-AETZ7AD6.js → chunk-W6RFEDN4.js} +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildStaticUserPolicyContext,
|
|
3
3
|
resolveSpaceContextPreloadPlan
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-652XYZGP.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchReferenceContents,
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KAVGK4ES.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -18,71 +18,52 @@ import {
|
|
|
18
18
|
selectSpaceContextLevel,
|
|
19
19
|
selectUserTonePreset,
|
|
20
20
|
uiCardFallback
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import {
|
|
23
|
-
resolveAgentRecommendedSkillNames,
|
|
24
|
-
resolveAgentRequiredPackIds
|
|
25
|
-
} from "./chunk-MMNYUVLW.js";
|
|
21
|
+
} from "./chunk-3N4ASIP6.js";
|
|
26
22
|
import {
|
|
27
23
|
getDocState
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N7HVLYOY.js";
|
|
29
25
|
import {
|
|
30
26
|
resolveToolBaseUrl
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
getFinalPrice,
|
|
34
|
-
getModelPricing,
|
|
35
|
-
getPrices,
|
|
36
|
-
hasExplicitAgentPricing
|
|
37
|
-
} from "./chunk-INN4LTAJ.js";
|
|
27
|
+
} from "./chunk-4JVNURX4.js";
|
|
38
28
|
import {
|
|
39
29
|
getTableState
|
|
40
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-F3TQURKK.js";
|
|
41
31
|
import {
|
|
42
32
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
43
33
|
buildPersonalizationDialogPolicyContext,
|
|
44
34
|
selectAllMsgs
|
|
45
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FVZW66K4.js";
|
|
46
36
|
import {
|
|
47
37
|
getCurrentSpaceIdRaw,
|
|
48
38
|
getViewMode
|
|
49
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-MOMR7NMG.js";
|
|
50
40
|
import {
|
|
51
41
|
selectPendingFiles
|
|
52
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-S2NTVGA2.js";
|
|
53
43
|
import {
|
|
54
44
|
read,
|
|
55
45
|
selectById
|
|
56
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-AVHRSJUH.js";
|
|
57
47
|
import {
|
|
58
48
|
getSessionSnapshotForState,
|
|
59
49
|
selectIdentityUserBalance,
|
|
60
50
|
selectIdentityUserId
|
|
61
51
|
} from "./chunk-PXYBUFDB.js";
|
|
62
|
-
import {
|
|
63
|
-
TOOL_PACKS,
|
|
64
|
-
addDefaultSystemCapabilityTools,
|
|
65
|
-
applyDefaultWebToolPacks,
|
|
66
|
-
applyDisabledTools,
|
|
67
|
-
applySystemBuiltinSkillFilter,
|
|
68
|
-
expandEnabledPackPromptPatches,
|
|
69
|
-
expandEnabledPacks,
|
|
70
|
-
resolveEffectiveEnabledPacks
|
|
71
|
-
} from "./chunk-EYUBHHFB.js";
|
|
72
52
|
import {
|
|
73
53
|
projectToolMessageContent
|
|
74
54
|
} from "./chunk-2WZXXAQD.js";
|
|
55
|
+
import {
|
|
56
|
+
resolveAgentRecommendedSkillNames,
|
|
57
|
+
resolveAgentRequiredPackIds
|
|
58
|
+
} from "./chunk-EOWLBDY6.js";
|
|
75
59
|
import {
|
|
76
60
|
attachmentKind,
|
|
61
|
+
extractReferenceKeysFromMessage,
|
|
77
62
|
normalizeAttachmentPart
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import {
|
|
80
|
-
extractReferenceKeysFromMessage
|
|
81
|
-
} from "./chunk-JTDORD5P.js";
|
|
63
|
+
} from "./chunk-XWGDCWXY.js";
|
|
82
64
|
import {
|
|
83
|
-
getModelContextWindow
|
|
84
|
-
|
|
85
|
-
} from "./chunk-CZM5YTZ7.js";
|
|
65
|
+
getModelContextWindow
|
|
66
|
+
} from "./chunk-HCJFGH6Y.js";
|
|
86
67
|
import {
|
|
87
68
|
asRecordOrEmpty
|
|
88
69
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -90,38 +71,51 @@ import {
|
|
|
90
71
|
isAbortError
|
|
91
72
|
} from "./chunk-7DPNBQSV.js";
|
|
92
73
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
74
|
+
TOOL_PACKS,
|
|
75
|
+
addDefaultSystemCapabilityTools,
|
|
76
|
+
applyDefaultWebToolPacks,
|
|
77
|
+
applyDisabledTools,
|
|
78
|
+
applySystemBuiltinSkillFilter,
|
|
79
|
+
expandEnabledPackPromptPatches,
|
|
80
|
+
expandEnabledPacks,
|
|
81
|
+
resolveEffectiveEnabledPacks
|
|
82
|
+
} from "./chunk-GNHMRBYZ.js";
|
|
96
83
|
import {
|
|
97
84
|
canonicalizeToolNames,
|
|
98
85
|
prioritizeToolNames
|
|
99
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-6OVNSQHN.js";
|
|
100
87
|
import {
|
|
101
88
|
extractCustomId
|
|
102
89
|
} from "./chunk-M2EJHDJP.js";
|
|
103
90
|
import {
|
|
104
|
-
|
|
105
|
-
} from "./chunk-
|
|
91
|
+
metaKey
|
|
92
|
+
} from "./chunk-SYTHYBMI.js";
|
|
93
|
+
import {
|
|
94
|
+
asNonEmptyStringArray
|
|
95
|
+
} from "./chunk-I42VC5KR.js";
|
|
96
|
+
import {
|
|
97
|
+
getFinalPrice,
|
|
98
|
+
getModelPricing,
|
|
99
|
+
getPrices,
|
|
100
|
+
hasExplicitAgentPricing
|
|
101
|
+
} from "./chunk-IWQAOW2X.js";
|
|
102
|
+
import {
|
|
103
|
+
buildLinkedSpacesSection,
|
|
104
|
+
buildSpaceContextLayer
|
|
105
|
+
} from "./chunk-JWXITTQB.js";
|
|
106
|
+
import {
|
|
107
|
+
asTrimmedString
|
|
108
|
+
} from "./chunk-3EUW3WEO.js";
|
|
106
109
|
import {
|
|
107
110
|
getModelConfig,
|
|
108
111
|
getProviderByModelName
|
|
109
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-LE6LGAJE.js";
|
|
110
113
|
import {
|
|
111
114
|
isRecord
|
|
112
115
|
} from "./chunk-KUG52IAP.js";
|
|
113
|
-
import {
|
|
114
|
-
metaKey
|
|
115
|
-
} from "./chunk-JY5NGFFH.js";
|
|
116
|
-
import {
|
|
117
|
-
asNonEmptyStringArray
|
|
118
|
-
} from "./chunk-I42VC5KR.js";
|
|
119
116
|
import {
|
|
120
117
|
asOptionalFiniteNumber
|
|
121
118
|
} from "./chunk-WWC7I6TA.js";
|
|
122
|
-
import {
|
|
123
|
-
asTrimmedString
|
|
124
|
-
} from "./chunk-3EUW3WEO.js";
|
|
125
119
|
import {
|
|
126
120
|
asOptionalTrimmedString
|
|
127
121
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -1130,44 +1124,6 @@ var isInlineVisualArtifactAgent = (agentConfig) => {
|
|
|
1130
1124
|
(tag) => typeof tag === "string" && ["inline-artifact", "streaming-ui"].includes(tag)
|
|
1131
1125
|
);
|
|
1132
1126
|
};
|
|
1133
|
-
var estimateTokensOfMessage = (msg) => {
|
|
1134
|
-
let content = "";
|
|
1135
|
-
if (typeof msg.content === "string") {
|
|
1136
|
-
content = msg.content;
|
|
1137
|
-
} else if (Array.isArray(msg.content)) {
|
|
1138
|
-
content = msg.content.map((p) => {
|
|
1139
|
-
if (p.type === "text") return p.text || "";
|
|
1140
|
-
if (p.type === "image_url") return "[image]";
|
|
1141
|
-
return "[non-text]";
|
|
1142
|
-
}).join("");
|
|
1143
|
-
} else if (msg.content && typeof msg.content === "object") {
|
|
1144
|
-
content = JSON.stringify(msg.content);
|
|
1145
|
-
}
|
|
1146
|
-
let extraTokens = 0;
|
|
1147
|
-
if (Array.isArray(msg.tool_calls)) {
|
|
1148
|
-
const toolsStr = JSON.stringify(msg.tool_calls);
|
|
1149
|
-
extraTokens = estimateTokenCount(toolsStr);
|
|
1150
|
-
}
|
|
1151
|
-
return estimateTokenCount(content) + extraTokens;
|
|
1152
|
-
};
|
|
1153
|
-
var classifyConversationLoad = (messages) => {
|
|
1154
|
-
const N = 20;
|
|
1155
|
-
if (!Array.isArray(messages) || messages.length === 0) return "light";
|
|
1156
|
-
const tail = messages.slice(-N);
|
|
1157
|
-
const tokenSamples = tail.map(estimateTokensOfMessage);
|
|
1158
|
-
if (tokenSamples.length === 0) return "light";
|
|
1159
|
-
const sum = tokenSamples.reduce((acc, v) => acc + v, 0);
|
|
1160
|
-
const avg = sum / tokenSamples.length;
|
|
1161
|
-
const sorted = [...tokenSamples].sort((a, b) => a - b);
|
|
1162
|
-
const p95 = sorted[Math.floor((sorted.length - 1) * 0.95)];
|
|
1163
|
-
if (p95 < 200 && avg < 120) {
|
|
1164
|
-
return "light";
|
|
1165
|
-
}
|
|
1166
|
-
if (p95 > 2e3 || avg > 1200) {
|
|
1167
|
-
return "heavy";
|
|
1168
|
-
}
|
|
1169
|
-
return "medium";
|
|
1170
|
-
};
|
|
1171
1127
|
var compressOldToolResults = (messages) => {
|
|
1172
1128
|
return messages.map((msg) => {
|
|
1173
1129
|
if (msg.role !== "tool") return msg;
|
|
@@ -1180,45 +1136,6 @@ var compressOldToolResults = (messages) => {
|
|
|
1180
1136
|
return { ...msg, content: projected };
|
|
1181
1137
|
});
|
|
1182
1138
|
};
|
|
1183
|
-
var trimMessagesWithSummary = (messages, contextWindow, summaryTokenCount) => {
|
|
1184
|
-
const recentLoad = classifyConversationLoad(messages);
|
|
1185
|
-
const { rawMessageBudget, minTailTokens } = planContextUsage({
|
|
1186
|
-
contextWindow,
|
|
1187
|
-
summaryTokens: summaryTokenCount,
|
|
1188
|
-
recentLoad
|
|
1189
|
-
});
|
|
1190
|
-
if (!Array.isArray(messages) || messages.length === 0) return messages;
|
|
1191
|
-
let totalTokens = 0;
|
|
1192
|
-
let keepCount = 0;
|
|
1193
|
-
for (let i = messages.length - 1; i >= 0; i--) {
|
|
1194
|
-
const t = estimateTokensOfMessage(messages[i]);
|
|
1195
|
-
if (totalTokens + t > rawMessageBudget) break;
|
|
1196
|
-
totalTokens += t;
|
|
1197
|
-
keepCount++;
|
|
1198
|
-
}
|
|
1199
|
-
if (keepCount >= messages.length) {
|
|
1200
|
-
return messages;
|
|
1201
|
-
}
|
|
1202
|
-
if (totalTokens < minTailTokens) {
|
|
1203
|
-
const maxBudgetWithSlack = rawMessageBudget * 1.2;
|
|
1204
|
-
for (let i = messages.length - 1 - keepCount; i >= 0; i--) {
|
|
1205
|
-
const t = estimateTokensOfMessage(messages[i]);
|
|
1206
|
-
if (totalTokens + t > maxBudgetWithSlack) break;
|
|
1207
|
-
totalTokens += t;
|
|
1208
|
-
keepCount++;
|
|
1209
|
-
if (totalTokens >= minTailTokens) break;
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
if (keepCount === 0 && messages.length > 0) {
|
|
1213
|
-
keepCount = Math.min(2, messages.length);
|
|
1214
|
-
}
|
|
1215
|
-
let cutIndex = messages.length - keepCount;
|
|
1216
|
-
if (cutIndex < 0) cutIndex = 0;
|
|
1217
|
-
while (cutIndex > 0 && messages[cutIndex]?.role === "tool") {
|
|
1218
|
-
cutIndex--;
|
|
1219
|
-
}
|
|
1220
|
-
return messages.slice(cutIndex);
|
|
1221
|
-
};
|
|
1222
1139
|
var createDbSliceTurnContextSource = (dispatch) => ({
|
|
1223
1140
|
readRecord: async (dbKey) => {
|
|
1224
1141
|
const result = await dispatch(read({ dbKey })).unwrap();
|
|
@@ -1881,12 +1798,52 @@ async function resolveTurnToolContext(input) {
|
|
|
1881
1798
|
};
|
|
1882
1799
|
}
|
|
1883
1800
|
|
|
1801
|
+
// packages/app/utils/desktopActionGateChannel.ts
|
|
1802
|
+
function targetForRunKind(kind, ctx = {}) {
|
|
1803
|
+
if (kind === "server-run" && typeof ctx.server === "string" && ctx.server.length > 0) {
|
|
1804
|
+
return { kind: "web", server: ctx.server, token: ctx.token ?? null };
|
|
1805
|
+
}
|
|
1806
|
+
return { kind: "desktop" };
|
|
1807
|
+
}
|
|
1808
|
+
var NEEDS_LOGIN_MESSAGE = "\u9700\u8981\u767B\u5F55\u540E\u624D\u80FD\u5904\u7406\u8BE5\u6388\u6743\u8BF7\u6C42";
|
|
1809
|
+
var gates = /* @__PURE__ */ new Map();
|
|
1810
|
+
var targets = /* @__PURE__ */ new Map();
|
|
1811
|
+
var errors = /* @__PURE__ */ new Map();
|
|
1812
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
1813
|
+
var cachedSnapshot = null;
|
|
1814
|
+
function invalidateSnapshot() {
|
|
1815
|
+
cachedSnapshot = null;
|
|
1816
|
+
}
|
|
1817
|
+
function notify() {
|
|
1818
|
+
for (const listener of listeners) {
|
|
1819
|
+
try {
|
|
1820
|
+
listener();
|
|
1821
|
+
} catch {
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
function pushGate(gate, target = { kind: "desktop" }) {
|
|
1826
|
+
if (!gate || typeof gate.id !== "string" || gate.id.length === 0) return;
|
|
1827
|
+
if (target.kind === "web" && !target.token) {
|
|
1828
|
+
gates.delete(gate.id);
|
|
1829
|
+
targets.delete(gate.id);
|
|
1830
|
+
errors.set(gate.id, NEEDS_LOGIN_MESSAGE);
|
|
1831
|
+
invalidateSnapshot();
|
|
1832
|
+
notify();
|
|
1833
|
+
return;
|
|
1834
|
+
}
|
|
1835
|
+
errors.delete(gate.id);
|
|
1836
|
+
targets.set(gate.id, target);
|
|
1837
|
+
gates.set(gate.id, gate);
|
|
1838
|
+
invalidateSnapshot();
|
|
1839
|
+
notify();
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1884
1842
|
export {
|
|
1885
1843
|
buildForegroundTurnAdmissionFetchInit,
|
|
1886
1844
|
consumeAgentRunStream,
|
|
1887
1845
|
projectDesktopToolUiContent,
|
|
1888
1846
|
compressOldToolResults,
|
|
1889
|
-
trimMessagesWithSummary,
|
|
1890
1847
|
validateAccessAndBalance,
|
|
1891
1848
|
buildStaticContexts,
|
|
1892
1849
|
buildDynamicContexts,
|
|
@@ -1895,5 +1852,7 @@ export {
|
|
|
1895
1852
|
mergeAgentToolsWithRuntime,
|
|
1896
1853
|
applyImageConfigRuntimeOverride,
|
|
1897
1854
|
resolveImageGenerationStreamingState,
|
|
1898
|
-
resolveTurnToolContext
|
|
1855
|
+
resolveTurnToolContext,
|
|
1856
|
+
targetForRunKind,
|
|
1857
|
+
pushGate
|
|
1899
1858
|
};
|
|
@@ -14,6 +14,8 @@ var evidenceKey = (ownerId, id) => `mem2-v-${enc(ownerId)}-${enc(id)}`;
|
|
|
14
14
|
var relationKey = (ownerId, id) => `mem2-r-${enc(ownerId)}-${enc(id)}`;
|
|
15
15
|
var relationFromIndexKey = (ownerId, from, relationId) => `mem2-rf-${enc(ownerId)}-${enc(from)}-${enc(relationId)}`;
|
|
16
16
|
var relationToIndexKey = (ownerId, to, relationId) => `mem2-rt-${enc(ownerId)}-${enc(to)}-${enc(relationId)}`;
|
|
17
|
+
var relationFromIndexPrefix = (ownerId, from) => `mem2-rf-${enc(ownerId)}-${enc(from)}-`;
|
|
18
|
+
var relationToIndexPrefix = (ownerId, to) => `mem2-rt-${enc(ownerId)}-${enc(to)}-`;
|
|
17
19
|
var readIndexed = async (db, prefix) => {
|
|
18
20
|
const refs = [];
|
|
19
21
|
for await (const [, value] of db.iterator({ ...rangeOf(prefix), reverse: false })) {
|
|
@@ -22,6 +24,9 @@ var readIndexed = async (db, prefix) => {
|
|
|
22
24
|
const rows = await Promise.all(refs.map((key) => db.get(key).catch(() => null)));
|
|
23
25
|
return rows.filter((row) => !!row);
|
|
24
26
|
};
|
|
27
|
+
var putMemoryEntityVNext = async (db, entity) => {
|
|
28
|
+
await db.put(entityKey(entity.ownerId, entity.id), entity);
|
|
29
|
+
};
|
|
25
30
|
var getMemoryEntityVNext = async (db, ownerId, entityId) => db.get(entityKey(ownerId, entityId)).catch(() => null);
|
|
26
31
|
var listMemoryEntitiesVNext = async (db, ownerId) => {
|
|
27
32
|
const rows = [];
|
|
@@ -38,8 +43,36 @@ var loadMemoryVNextCatalog = async (db, ownerId) => {
|
|
|
38
43
|
const states = (await Promise.all(entities.map((entity) => listMemoryStatesForEntityVNext(db, ownerId, entity.id)))).flat();
|
|
39
44
|
return { entities, states };
|
|
40
45
|
};
|
|
46
|
+
var putMemoryStateVNext = async (db, state) => {
|
|
47
|
+
const entity = await getMemoryEntityVNext(db, state.ownerId, state.entityId);
|
|
48
|
+
if (!entity) {
|
|
49
|
+
throw new Error(
|
|
50
|
+
`memory state ${state.id} references missing entity ${state.entityId} (owner ${state.ownerId})`
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
for (const evidenceId of state.evidenceIds) {
|
|
54
|
+
const ev = await getMemoryEvidenceVNext(db, state.ownerId, evidenceId);
|
|
55
|
+
if (!ev) {
|
|
56
|
+
throw new Error(
|
|
57
|
+
`memory state ${state.id} references missing evidence ${evidenceId} (owner ${state.ownerId})`
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const batch = db.batch();
|
|
62
|
+
_appendStateBatch(batch, state);
|
|
63
|
+
await batch.write();
|
|
64
|
+
};
|
|
41
65
|
var getMemoryStateVNext = async (db, ownerId, stateId) => db.get(stateKey(ownerId, stateId)).catch(() => null);
|
|
42
66
|
var listMemoryStatesForEntityVNext = (db, ownerId, entityId) => readIndexed(db, stateEntityIndexPrefix(ownerId, entityId));
|
|
67
|
+
var retireMemoryStateVNext = async (db, ownerId, stateId, retiredAt) => {
|
|
68
|
+
const existing = await getMemoryStateVNext(db, ownerId, stateId);
|
|
69
|
+
if (!existing) {
|
|
70
|
+
throw new Error(`cannot retire missing memory state: ${stateId} (owner ${ownerId})`);
|
|
71
|
+
}
|
|
72
|
+
const retired = { ...existing, retiredAt };
|
|
73
|
+
await db.put(stateKey(ownerId, stateId), retired);
|
|
74
|
+
return retired;
|
|
75
|
+
};
|
|
43
76
|
var putMemoryEvidenceVNext = async (db, evidence) => {
|
|
44
77
|
await db.put(evidenceKey(evidence.ownerId, evidence.id), evidence);
|
|
45
78
|
};
|
|
@@ -52,6 +85,30 @@ var getMemoryEvidenceVNextStrict = async (db, ownerId, evidenceId) => {
|
|
|
52
85
|
throw error;
|
|
53
86
|
}
|
|
54
87
|
};
|
|
88
|
+
var putMemoryRelationVNext = async (db, relation) => {
|
|
89
|
+
for (const [side, ref] of [
|
|
90
|
+
["from", relation.from],
|
|
91
|
+
["to", relation.to]
|
|
92
|
+
]) {
|
|
93
|
+
const resolved = await getMemoryEntityVNext(db, relation.ownerId, ref) ?? await getMemoryStateVNext(db, relation.ownerId, ref) ?? await getMemoryEvidenceVNext(db, relation.ownerId, ref);
|
|
94
|
+
if (!resolved) {
|
|
95
|
+
throw new Error(
|
|
96
|
+
`memory relation ${relation.id} references missing ${side} ${ref} (owner ${relation.ownerId})`
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const batch = db.batch();
|
|
101
|
+
_appendRelationBatch(batch, relation);
|
|
102
|
+
await batch.write();
|
|
103
|
+
};
|
|
104
|
+
var listMemoryRelationsFromVNext = (db, ownerId, from) => readIndexed(db, relationFromIndexPrefix(ownerId, from));
|
|
105
|
+
var listMemoryRelationsToVNext = (db, ownerId, to) => readIndexed(db, relationToIndexPrefix(ownerId, to));
|
|
106
|
+
var __test__ = {
|
|
107
|
+
entityKey,
|
|
108
|
+
stateKey,
|
|
109
|
+
evidenceKey,
|
|
110
|
+
relationKey
|
|
111
|
+
};
|
|
55
112
|
var _appendEntityBatch = (batch, entity) => {
|
|
56
113
|
batch.put(entityKey(entity.ownerId, entity.id), entity);
|
|
57
114
|
};
|
|
@@ -74,13 +131,21 @@ var _appendRelationBatch = (batch, relation) => {
|
|
|
74
131
|
};
|
|
75
132
|
|
|
76
133
|
export {
|
|
134
|
+
putMemoryEntityVNext,
|
|
77
135
|
getMemoryEntityVNext,
|
|
136
|
+
listMemoryEntitiesVNext,
|
|
78
137
|
loadMemoryVNextCatalog,
|
|
138
|
+
putMemoryStateVNext,
|
|
79
139
|
getMemoryStateVNext,
|
|
80
140
|
listMemoryStatesForEntityVNext,
|
|
141
|
+
retireMemoryStateVNext,
|
|
81
142
|
putMemoryEvidenceVNext,
|
|
82
143
|
getMemoryEvidenceVNext,
|
|
83
144
|
getMemoryEvidenceVNextStrict,
|
|
145
|
+
putMemoryRelationVNext,
|
|
146
|
+
listMemoryRelationsFromVNext,
|
|
147
|
+
listMemoryRelationsToVNext,
|
|
148
|
+
__test__,
|
|
84
149
|
_appendEntityBatch,
|
|
85
150
|
_appendEvidenceBatch,
|
|
86
151
|
_appendStateBatch,
|