nolo-cli 0.108.0-alpha.1 → 0.108.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 +1 -1
- package/{_executeModel-GTYLDSJW.js → _executeModel-RVAKYU4J.js} +128 -83
- package/action-RHUT4OHH.js +23 -0
- package/{addContentAction-MB2HHMDZ.js → addContentAction-BQ3LJLUW.js} +19 -13
- package/{addDialogAgentAction-MCEABSBA.js → addDialogAgentAction-B6X7BXR4.js} +24 -20
- package/{agentDeleteCommand-OWYHN6D6.js → agentDeleteCommand-T5MDAOE7.js} +154 -67
- package/{agentEmailCommands-C6J2KUL2.js → agentEmailCommands-UWBQSKLI.js} +125 -104
- package/{agentGrantCommands-M3XFO6EN.js → agentGrantCommands-HOJ3JBBQ.js} +3 -3
- package/agentListCommands-2Q456VYS.js +800 -0
- package/{agentMachineCommands-UDEXV472.js → agentMachineCommands-FPJJ4DCF.js} +54 -57
- package/{agentProviderCommands-GNPTL5XR.js → agentProviderCommands-7PCGR77I.js} +97 -2
- package/{agentPullCommand-O5MPVJ5E.js → agentPullCommand-7GCDM4BK.js} +7 -7
- package/agentRecordCommands-3JGDR4NN.js +149 -0
- package/agentRunCommand-3NQOP3SD.js +179 -0
- package/{agentRunControl-AVJR4JW4.js → agentRunControl-2CDZNHXV.js} +10 -2
- package/{agentRuntimeLocal-KCMC2TBD.js → agentRuntimeLocal-SQUDRZWE.js} +42 -46
- package/{agentSlice-TNH7BSUC.js → agentSlice-R4W6MCEW.js} +22 -16
- package/{appDeleteCommands-JEPA3EWE.js → appDeleteCommands-CLLYGEBC.js} +55 -55
- package/{appDeployCommands-UTB76XFM.js → appDeployCommands-HY2NBNDQ.js} +64 -59
- package/{appDeployStatusCommands-LGHF2SBD.js → appDeployStatusCommands-SGO5GEXH.js} +53 -52
- package/{appGetCommands-PX2BFHOB.js → appGetCommands-ZPYK2N5D.js} +53 -52
- package/{appListCommands-BSMPTWKC.js → appListCommands-O2BHIMKS.js} +54 -55
- package/{authCommand-YW42YZA4.js → authCommand-GUIREPHK.js} +213 -72
- package/{authCommands-RGOGCPP6.js → authCommands-K3BDSTJ4.js} +10 -7
- package/{builtinSkillRegistry-FUAVTRVZ.js → builtinSkillRegistry-MUOUTRNJ.js} +13 -10
- package/{chromeCommands-FZYAU75D.js → chromeCommands-Z2WRJB7O.js} +290 -38
- package/{chromeOpsCommands-62P2Q2YB.js → chromeOpsCommands-YWYXZTIR.js} +157 -23
- package/{chunk-RRPWH4LX.js → chunk-26UZ2Y4Z.js} +26 -31
- package/{chunk-2F7RJC6L.js → chunk-2C47W7IJ.js} +1 -1
- package/{chunk-VLTIYV3X.js → chunk-2ECUZDEL.js} +37 -11
- package/{chunk-ALXHV7NK.js → chunk-2GGXHQIW.js} +43 -4
- package/{chunk-AHAHBQMU.js → chunk-2OMUAIKR.js} +2 -2
- package/{chunk-DHDMC6FO.js → chunk-3CZM6HGQ.js} +53 -23
- package/{chunk-BNGW5ASC.js → chunk-3LI5UCTU.js} +23 -3
- package/{chunk-FDTR4QJ6.js → chunk-3MZAGMYY.js} +48 -1
- package/chunk-3PVYUPXK.js +40 -0
- package/chunk-3SK3J3IF.js +929 -0
- package/chunk-4LCOCOR5.js +50 -0
- package/{chunk-V7E4PXQD.js → chunk-4MSYSHZD.js} +15 -7
- package/{chunk-2GRGFCF6.js → chunk-4VJAC32I.js} +2 -1
- package/{chunk-MP64VFGD.js → chunk-4XEYAFLY.js} +60 -18
- package/chunk-4YRTZIVN.js +871 -0
- package/{chunk-MC4XLIJ7.js → chunk-523DITKR.js} +1 -1
- package/{chunk-N7J63Q6C.js → chunk-56GBUMO5.js} +10 -1
- package/chunk-5MMAK75Q.js +15 -0
- package/{chunk-XT35TTFG.js → chunk-5WLADF62.js} +90 -36
- package/chunk-5XN3OSCT.js +164 -0
- package/chunk-6CCAXGFK.js +1712 -0
- package/{chunk-42V6BK2E.js → chunk-6MXDOUMH.js} +18 -36
- package/{chunk-QOKAKDPE.js → chunk-6Q7UTJKR.js} +6 -94
- package/{chunk-J4MOO56S.js → chunk-6VRWNU5J.js} +10 -2
- package/{chunk-GEPUP7OO.js → chunk-726TCFLQ.js} +5 -5
- package/chunk-7DPNBQSV.js +9 -0
- package/chunk-7YVPCIEN.js +1858 -0
- package/{chunk-AEOE4Z6Q.js → chunk-A337PRRR.js} +41 -17
- package/chunk-AGIM7IMJ.js +147 -0
- package/{chunk-ABQYVJBJ.js → chunk-AIZE5TDM.js} +3 -3
- package/{chunk-GPCZ7UXG.js → chunk-ALKCVCA5.js} +4 -4
- package/{chunk-5UTFL4QJ.js → chunk-APO5TOXO.js} +1 -1
- package/{chunk-E4MARS3Q.js → chunk-AU7AXHUL.js} +1 -1
- package/{chunk-PBA4UJBK.js → chunk-BFYDNHYW.js} +12 -12
- package/{chunk-QTGQ2LTL.js → chunk-BIAETTOB.js} +5 -9
- package/{chunk-OIVSQH2O.js → chunk-CGEK73JN.js} +311 -12
- package/chunk-CHOZJMJS.js +78 -0
- package/{chunk-GBRG75BQ.js → chunk-D2MDMY2M.js} +1 -0
- package/chunk-DGDGNYI5.js +593 -0
- package/{chunk-TRV2MIDW.js → chunk-EXAJ6DCR.js} +1 -0
- package/{chunk-PVZT43MU.js → chunk-EXR4XCFE.js} +17 -15
- package/chunk-EYLGAEB4.js +784 -0
- package/{chunk-3BMYXEUW.js → chunk-F2UJW3EK.js} +1 -1
- package/{chunk-P5EVSOPA.js → chunk-FWY6BHIJ.js} +363 -248
- package/{chunk-4MK3I7Y4.js → chunk-G23MQWLJ.js} +7 -128
- package/chunk-G6OOUQWJ.js +417 -0
- package/{chunk-WV42OMV7.js → chunk-GHZ2H2HJ.js} +11 -15
- package/chunk-GMZLP5DV.js +82 -0
- package/chunk-I42VC5KR.js +15 -0
- package/{chunk-GO3Z72MT.js → chunk-IFALJPEX.js} +71 -99
- package/{chunk-O6OSWFZQ.js → chunk-IHPDK6UD.js} +6 -0
- package/{chunk-UKWGR5SS.js → chunk-IJERIUXS.js} +242 -1146
- package/chunk-IRG4OKY6.js +843 -0
- package/{chunk-TYYSADX4.js → chunk-IUTHWIZQ.js} +269 -141
- package/{chunk-QDSINZM3.js → chunk-IXH3HKY2.js} +1 -22
- package/chunk-JJM3WS6W.js +132 -0
- package/{chunk-R7RHOSZU.js → chunk-KN6MKCS5.js} +1733 -465
- package/{chunk-SH43IESU.js → chunk-KQ7DAEZ7.js} +202 -32
- package/{chunk-6OZ36FXI.js → chunk-KY6GPQ7O.js} +36 -12
- package/{chunk-MRIHM22T.js → chunk-LAVSW2C2.js} +77 -144
- package/{chunk-NA35QHCF.js → chunk-LNEKN523.js} +10 -7
- package/chunk-LWLNLZC5.js +265 -0
- package/{chunk-I3TQJXQ7.js → chunk-MHD5JBSS.js} +131 -10
- package/{chunk-KQ4ONNQD.js → chunk-MW533QT3.js} +190 -8
- package/{chunk-62CATUYY.js → chunk-NLEJWKF5.js} +10532 -9444
- package/{chunk-BFU6C242.js → chunk-NMFV26UG.js} +1 -1
- package/{chunk-GQBOR3G6.js → chunk-NN4UUYGB.js} +18 -4
- package/{chunk-FZGV4FGK.js → chunk-NUHHBEJC.js} +378 -187
- package/chunk-OKARGYFT.js +15 -0
- package/{chunk-KQHGZWSV.js → chunk-OXME3PEE.js} +1 -1
- package/{chunk-53HEEOTT.js → chunk-OYBAT7RT.js} +113 -17
- package/chunk-P3SFAHIL.js +134 -0
- package/{chunk-7U6P3PHS.js → chunk-P6KLYCL3.js} +310 -95
- package/{chunk-XD2MJFUG.js → chunk-PBGO5AFD.js} +1 -1
- package/{chunk-EYAQT56M.js → chunk-PFEK4SA2.js} +13 -10
- package/{chunk-Z77CRGTW.js → chunk-PHHFVGOJ.js} +1 -1
- package/{chunk-3VNWWVKB.js → chunk-PJNFNEJE.js} +114 -28
- package/{chunk-RRM7AJ3M.js → chunk-PS6XSDHW.js} +35 -30
- package/{chunk-HVURBGF3.js → chunk-PWRS2SU2.js} +27 -9
- package/chunk-QFEW2ULV.js +42 -0
- package/chunk-QH2QSBGP.js +7546 -0
- package/{chunk-IIVGDG4I.js → chunk-QLQ573SU.js} +124 -77
- package/chunk-QQ56R7KS.js +88 -0
- package/chunk-QYPE3TS3.js +43 -0
- package/{chunk-VMFTFOWF.js → chunk-RLRYVSCD.js} +31 -14
- package/{chunk-VRTTFDBM.js → chunk-RNNWTMKT.js} +56 -63
- package/chunk-ROXFUKKL.js +13941 -0
- package/{chunk-DUK4OQNO.js → chunk-RRPT5CGT.js} +124 -703
- package/{chunk-JRQFUXY7.js → chunk-RRQQAG7W.js} +93 -24
- package/chunk-SJ3QFSQS.js +1147 -0
- package/chunk-SP4WCECG.js +95 -0
- package/{chunk-Q67DOFOO.js → chunk-SZC4REES.js} +212 -105
- package/{chunk-BYMV6QZG.js → chunk-TNIX77YM.js} +4 -0
- package/{chunk-UZGQNTVW.js → chunk-TSBCYK5F.js} +10 -8
- package/chunk-TY3TIUJK.js +89 -0
- package/chunk-U4STABYN.js +81 -0
- package/chunk-UEILX4EV.js +15 -0
- package/{chunk-YYLHWIW6.js → chunk-UKZX3NHN.js} +1 -1
- package/{chunk-EEGDMATE.js → chunk-UPFOOGHU.js} +90 -79
- package/{chunk-7S4YWN7P.js → chunk-V2UPLOXT.js} +4 -4
- package/{chunk-PQFHGD77.js → chunk-V5DCOM6G.js} +185 -16
- package/{chunk-LS2ZANRJ.js → chunk-V6WXGTUJ.js} +1 -1
- package/{chunk-6YTOJY35.js → chunk-VBG7GWWR.js} +253 -8
- package/{chunk-DVINR3PL.js → chunk-VEA7H5FG.js} +3 -3
- package/chunk-VIWDGTDA.js +8 -0
- package/chunk-VJVNU77E.js +83 -0
- package/{chunk-EADNWBAZ.js → chunk-VP3BINY7.js} +13 -0
- package/{chunk-HKNXJGEC.js → chunk-VSPO4S33.js} +47 -192
- package/{chunk-ETI2NYVF.js → chunk-W2N3ZC4P.js} +7 -7
- package/{chunk-EOARMOVD.js → chunk-W4S6OTSC.js} +6 -3
- package/{chunk-6Z7MY3V7.js → chunk-WCQNEMXG.js} +3 -3
- package/chunk-WJZOQR2J.js +151 -0
- package/{chunk-L7OXGGBN.js → chunk-WVES4PHL.js} +69 -57
- package/{chunk-BFDFRLLQ.js → chunk-WW2USJ3C.js} +3 -3
- package/{chunk-QWL5QZGU.js → chunk-X2VPXJZC.js} +20 -11
- package/chunk-X5BIY654.js +29 -0
- package/{chunk-Q554LLSI.js → chunk-XETG4RIX.js} +5 -5
- package/{chunk-3L2WKC3W.js → chunk-XPWGOTBQ.js} +8 -1
- package/{chunk-JEDZAO7L.js → chunk-YBNHPX4S.js} +257 -37
- package/{chunk-JPGCXHNM.js → chunk-YLMMECCH.js} +1 -1
- package/{chunk-CSC3CU4K.js → chunk-YSZQSZR2.js} +61 -11
- package/{chunk-6D6VBVEW.js → chunk-YVTZMLXZ.js} +96 -25
- package/{chunk-AG2AZ6GX.js → chunk-YZZLKXCQ.js} +1449 -1094
- package/chunk-ZRAU6T47.js +56 -0
- package/{chunk-ONXOABJR.js → chunk-ZWQUWF6W.js} +36 -1
- package/{cliExecutor-HG3S345O.js → cliExecutor-AWYR3T33.js} +1 -1
- package/commandRegistry-C25O2ARU.js +839 -0
- package/contentThunks-UWODFKX6.js +83 -0
- package/{cooldownCommands-REAWYVTY.js → cooldownCommands-JFKTYS2D.js} +2 -2
- package/{createAgentAutomationAction-OBH7GPW5.js → createAgentAutomationAction-SA4IA4CR.js} +51 -43
- package/createDialogAction-EDK5IMRG.js +75 -0
- package/{createPageAction-JJ7UUTWC.js → createPageAction-VYVF5EIZ.js} +60 -51
- package/{chunk-BVGTK7MR.js → cursorProvider-YGGNMVWX.js} +2751 -10185
- package/{dbSlice-A6C6H32X.js → dbSlice-JQFBMJ55.js} +18 -12
- package/{deleteFile-YG6QMJLU.js → deleteFile-6JWDDRVP.js} +9 -5
- package/dialogCommands-K734RXEQ.js +108 -0
- package/{dialogSlice-6Z2BPC3T.js → dialogSlice-EEDP6PJ3.js} +66 -41
- package/{dist-VODFSGNG.js → dist-NJC2W7I4.js} +61 -54
- package/{docCreateCommands-WRG2JLGM.js → docCreateCommands-N3KPGP4A.js} +51 -53
- package/{docDeleteCommands-SHWJIBJS.js → docDeleteCommands-4CR4TXZ7.js} +53 -54
- package/{docReadCommands-WJN3WT6O.js → docReadCommands-62XK57VS.js} +50 -52
- package/{docStore-7WUS6XXX.js → docStore-RB7YBD4Y.js} +24 -15
- package/{docUpdateCommands-IE32IL6O.js → docUpdateCommands-DRAAWIDC.js} +51 -53
- package/{fetchMessages-EIU7UFFK.js → fetchMessages-LM6OMMQQ.js} +5 -4
- package/{getPricing-LUSEABA6.js → getPricing-XDF4OLTC.js} +6 -6
- package/handleSendMessageAction-TYDPIC6O.js +1849 -0
- package/index.js +91 -884
- package/{lib-FRRS27KN.js → lib-PU2G2MSO.js} +523 -191
- package/{localDialogRead-BTFJ4V2I.js → localDialogRead-BOETO2TD.js} +2 -2
- package/localRuntimeAdapter-VYB2QTU3.js +239 -0
- package/{localRuntimeAuthority-6IR6BBXE.js → localRuntimeAuthority-YSE6NH7B.js} +12 -9
- package/{localRuntimeDb-SYQGUF4U.js → localRuntimeDb-7FBKDEQY.js} +1 -1
- package/{machineCommands-KSN4COGR.js → machineCommands-IQRRLSYP.js} +493 -151
- package/machineWsRunDispatch-LIMM5CYE.js +164 -0
- package/{memberThunks-P2ECUJ56.js → memberThunks-Y3Q7GZTG.js} +24 -17
- package/{models-T3SG6MJ5.js → models-6V4ZCHEE.js} +2 -2
- package/node_modules/abstract-level/CHANGELOG.md +150 -0
- package/node_modules/abstract-level/LICENSE +21 -0
- package/node_modules/abstract-level/README.md +1957 -0
- package/node_modules/abstract-level/UPGRADING.md +669 -0
- package/node_modules/abstract-level/abstract-chained-batch.js +397 -0
- package/node_modules/abstract-level/abstract-iterator.js +404 -0
- package/node_modules/abstract-level/abstract-level.js +1127 -0
- package/node_modules/abstract-level/abstract-snapshot.js +84 -0
- package/node_modules/abstract-level/index.d.ts +52 -0
- package/node_modules/abstract-level/index.js +9 -0
- package/node_modules/abstract-level/lib/abstract-sublevel-iterator.js +141 -0
- package/node_modules/abstract-level/lib/abstract-sublevel.js +290 -0
- package/node_modules/abstract-level/lib/common.js +33 -0
- package/node_modules/abstract-level/lib/default-chained-batch.js +29 -0
- package/node_modules/abstract-level/lib/default-kv-iterator.js +74 -0
- package/node_modules/abstract-level/lib/deferred-iterator.js +110 -0
- package/node_modules/abstract-level/lib/deferred-queue.js +84 -0
- package/node_modules/abstract-level/lib/errors.js +21 -0
- package/node_modules/abstract-level/lib/event-monitor.js +30 -0
- package/node_modules/abstract-level/lib/hooks.js +78 -0
- package/node_modules/abstract-level/lib/prefixes.js +21 -0
- package/node_modules/abstract-level/lib/prewrite-batch.js +96 -0
- package/node_modules/abstract-level/lib/range-options.js +26 -0
- package/node_modules/abstract-level/package.json +66 -0
- package/node_modules/abstract-level/test/async-iterator-test.js +132 -0
- package/node_modules/abstract-level/test/batch-test.js +214 -0
- package/node_modules/abstract-level/test/chained-batch-test.js +315 -0
- package/node_modules/abstract-level/test/clear-range-test.js +262 -0
- package/node_modules/abstract-level/test/clear-test.js +110 -0
- package/node_modules/abstract-level/test/common.js +90 -0
- package/node_modules/abstract-level/test/deferred-open-test.js +209 -0
- package/node_modules/abstract-level/test/del-test.js +65 -0
- package/node_modules/abstract-level/test/encoding-buffer-test.js +336 -0
- package/node_modules/abstract-level/test/encoding-custom-test.js +92 -0
- package/node_modules/abstract-level/test/encoding-decode-error-test.js +85 -0
- package/node_modules/abstract-level/test/encoding-json-test.js +75 -0
- package/node_modules/abstract-level/test/encoding-test.js +130 -0
- package/node_modules/abstract-level/test/events/write.js +132 -0
- package/node_modules/abstract-level/test/factory-test.js +36 -0
- package/node_modules/abstract-level/test/get-many-test.js +157 -0
- package/node_modules/abstract-level/test/get-sync-test.js +61 -0
- package/node_modules/abstract-level/test/get-test.js +83 -0
- package/node_modules/abstract-level/test/has-many-test.js +144 -0
- package/node_modules/abstract-level/test/has-test.js +81 -0
- package/node_modules/abstract-level/test/hooks/newsub.js +57 -0
- package/node_modules/abstract-level/test/hooks/postopen.js +229 -0
- package/node_modules/abstract-level/test/hooks/prewrite.js +816 -0
- package/node_modules/abstract-level/test/hooks/shared.js +38 -0
- package/node_modules/abstract-level/test/index.js +86 -0
- package/node_modules/abstract-level/test/iterator-explicit-snapshot-test.js +393 -0
- package/node_modules/abstract-level/test/iterator-no-snapshot-test.js +49 -0
- package/node_modules/abstract-level/test/iterator-range-test.js +277 -0
- package/node_modules/abstract-level/test/iterator-seek-test.js +335 -0
- package/node_modules/abstract-level/test/iterator-snapshot-test.js +56 -0
- package/node_modules/abstract-level/test/iterator-test.js +621 -0
- package/node_modules/abstract-level/test/manifest-test.js +21 -0
- package/node_modules/abstract-level/test/open-create-if-missing-test.js +39 -0
- package/node_modules/abstract-level/test/open-error-if-exists-test.js +25 -0
- package/node_modules/abstract-level/test/open-test.js +263 -0
- package/node_modules/abstract-level/test/put-get-del-test.js +97 -0
- package/node_modules/abstract-level/test/put-test.js +70 -0
- package/node_modules/abstract-level/test/self/abstract-iterator-test.js +182 -0
- package/node_modules/abstract-level/test/self/async-iterator-test.js +242 -0
- package/node_modules/abstract-level/test/self/attach-resource-test.js +74 -0
- package/node_modules/abstract-level/test/self/defer-test.js +140 -0
- package/node_modules/abstract-level/test/self/deferred-iterator-test.js +314 -0
- package/node_modules/abstract-level/test/self/deferred-operations-test.js +86 -0
- package/node_modules/abstract-level/test/self/deferred-queue-test.js +93 -0
- package/node_modules/abstract-level/test/self/encoding-test.js +391 -0
- package/node_modules/abstract-level/test/self/errors-test.js +11 -0
- package/node_modules/abstract-level/test/self/iterator-test.js +1050 -0
- package/node_modules/abstract-level/test/self/sublevel-test.js +1039 -0
- package/node_modules/abstract-level/test/self.js +905 -0
- package/node_modules/abstract-level/test/sublevel-test.js +209 -0
- package/node_modules/abstract-level/test/traits/closed.js +42 -0
- package/node_modules/abstract-level/test/traits/index.js +4 -0
- package/node_modules/abstract-level/test/traits/open.js +62 -0
- package/node_modules/abstract-level/test/util.js +275 -0
- package/node_modules/abstract-level/types/abstract-chained-batch.d.ts +124 -0
- package/node_modules/abstract-level/types/abstract-iterator.d.ts +241 -0
- package/node_modules/abstract-level/types/abstract-level.d.ts +636 -0
- package/node_modules/abstract-level/types/abstract-snapshot.d.ts +30 -0
- package/node_modules/abstract-level/types/abstract-sublevel.d.ts +76 -0
- package/node_modules/abstract-level/types/interfaces.d.ts +43 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/browser-level/CHANGELOG.md +44 -0
- package/node_modules/browser-level/LICENSE +21 -0
- package/node_modules/browser-level/README.md +124 -0
- package/node_modules/browser-level/UPGRADING.md +143 -0
- package/node_modules/browser-level/index.d.ts +108 -0
- package/node_modules/browser-level/index.js +323 -0
- package/node_modules/browser-level/iterator.js +239 -0
- package/node_modules/browser-level/package.json +48 -0
- package/node_modules/browser-level/util/clear.js +38 -0
- package/node_modules/browser-level/util/deserialize.js +17 -0
- package/node_modules/browser-level/util/key-range.js +20 -0
- package/node_modules/buffer/AUTHORS.md +73 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +410 -0
- package/node_modules/buffer/index.d.ts +194 -0
- package/node_modules/buffer/index.js +2106 -0
- package/node_modules/buffer/package.json +93 -0
- package/node_modules/classic-level/CHANGELOG.md +115 -0
- package/node_modules/classic-level/LICENSE +21 -0
- package/node_modules/classic-level/README.md +274 -0
- package/node_modules/classic-level/UPGRADING.md +131 -0
- package/node_modules/classic-level/binding.cc +2652 -0
- package/node_modules/classic-level/binding.gyp +71 -0
- package/node_modules/classic-level/binding.js +1 -0
- package/node_modules/classic-level/chained-batch.js +35 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/LICENSE +27 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/Makefile +424 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/build_detect_platform +256 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/autocompact_test.cc +118 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/builder.cc +88 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/builder.h +34 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/c.cc +595 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/c_test.c +390 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/corruption_test.cc +374 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/db_bench.cc +1020 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/db_impl.cc +1568 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/db_impl.h +212 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/db_iter.cc +317 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/db_iter.h +28 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/db_test.cc +2158 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/dbformat.cc +140 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/dbformat.h +230 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/dbformat_test.cc +112 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/dumpfile.cc +225 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/fault_injection_test.cc +554 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/filename.cc +144 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/filename.h +85 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/filename_test.cc +123 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/leveldbutil.cc +64 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/log_format.h +35 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/log_reader.cc +284 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/log_reader.h +113 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/log_test.cc +591 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/log_writer.cc +112 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/log_writer.h +54 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/memtable.cc +145 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/memtable.h +89 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/recovery_test.cc +324 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/repair.cc +461 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/skiplist.h +384 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/skiplist_test.cc +378 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/snapshot.h +67 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/table_cache.cc +127 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/table_cache.h +61 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/version_edit.cc +266 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/version_edit.h +107 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/version_edit_test.cc +46 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/version_set.cc +1535 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/version_set.h +399 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/version_set_test.cc +179 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/write_batch.cc +147 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/write_batch_internal.h +50 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/db/write_batch_test.cc +120 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/helpers/memenv/memenv.cc +398 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/helpers/memenv/memenv.h +20 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/helpers/memenv/memenv_test.cc +241 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/c.h +290 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/cache.h +110 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/comparator.h +63 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/db.h +164 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/dumpfile.h +25 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/env.h +351 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/filter_policy.h +70 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/iterator.h +100 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/options.h +213 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/slice.h +109 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/status.h +112 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/table.h +85 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/table_builder.h +92 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/value_sink.h +26 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/include/leveldb/write_batch.h +64 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/issues/issue178_test.cc +92 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/issues/issue200_test.cc +59 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/atomic_pointer.h +242 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/port.h +21 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/port_example.h +141 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/port_posix.cc +53 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/port_posix.h +156 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/port_posix_sse.cc +129 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/thread_annotations.h +60 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/port/win/stdint.h +24 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/block.cc +268 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/block.h +44 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/block_builder.cc +109 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/block_builder.h +57 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/filter_block.cc +111 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/filter_block.h +68 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/filter_block_test.cc +128 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/format.cc +144 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/format.h +108 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/iterator.cc +67 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/iterator_wrapper.h +66 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/merger.cc +197 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/merger.h +26 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/table.cc +285 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/table_builder.cc +270 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/table_test.cc +876 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/two_level_iterator.cc +182 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/table/two_level_iterator.h +34 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/arena.cc +68 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/arena.h +68 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/arena_test.cc +68 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/bloom.cc +95 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/bloom_test.cc +162 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/cache.cc +405 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/cache_test.cc +226 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/coding.cc +194 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/coding.h +104 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/coding_test.cc +196 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/comparator.cc +81 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/crc32c.cc +350 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/crc32c.h +45 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/crc32c_test.cc +72 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/env.cc +100 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/env_posix.cc +695 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/env_posix_test.cc +66 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/env_posix_test_helper.h +28 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/env_test.cc +106 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/filter_policy.cc +11 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/hash.cc +52 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/hash.h +19 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/hash_test.cc +54 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/histogram.cc +139 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/histogram.h +42 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/logging.cc +72 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/logging.h +43 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/mutexlock.h +41 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/options.cc +30 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/posix_logger.h +98 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/random.h +64 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/status.cc +75 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/testharness.cc +77 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/testharness.h +138 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/testutil.cc +51 -0
- package/node_modules/classic-level/deps/leveldb/leveldb-1.20/util/testutil.h +63 -0
- package/node_modules/classic-level/deps/leveldb/leveldb.gyp +282 -0
- package/node_modules/classic-level/deps/leveldb/patches/001-value-sink.patch +164 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/atomic_pointer_win.h +48 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/env_win.cc +692 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/port_uv.cc +36 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/port_uv.h +157 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/port_uv.h.bak +153 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/stdint-msvc2008.h +247 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/uv_condvar.h +45 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/uv_condvar_posix.cc +139 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/win_logger.cc +79 -0
- package/node_modules/classic-level/deps/leveldb/port-libuv/win_logger.h +28 -0
- package/node_modules/classic-level/deps/snappy/freebsd/config.h +135 -0
- package/node_modules/classic-level/deps/snappy/freebsd/snappy-stubs-public.h +100 -0
- package/node_modules/classic-level/deps/snappy/linux/config.h +135 -0
- package/node_modules/classic-level/deps/snappy/linux/snappy-stubs-public.h +100 -0
- package/node_modules/classic-level/deps/snappy/mac/config.h +137 -0
- package/node_modules/classic-level/deps/snappy/mac/snappy-stubs-public.h +100 -0
- package/node_modules/classic-level/deps/snappy/openbsd/config.h +135 -0
- package/node_modules/classic-level/deps/snappy/openbsd/snappy-stubs-public.h +100 -0
- package/node_modules/classic-level/deps/snappy/snappy/COPYING +54 -0
- package/node_modules/classic-level/deps/snappy/snappy/cmake/SnappyConfig.cmake +1 -0
- package/node_modules/classic-level/deps/snappy/snappy/cmake/config.h.in +62 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-c.cc +90 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-c.h +138 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-internal.h +224 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-sinksource.cc +104 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-sinksource.h +182 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-stubs-internal.cc +42 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-stubs-internal.h +561 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-stubs-public.h.in +94 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-test.cc +612 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy-test.h +573 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy.cc +1515 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy.h +203 -0
- package/node_modules/classic-level/deps/snappy/snappy/snappy_unittest.cc +1410 -0
- package/node_modules/classic-level/deps/snappy/snappy.gyp +119 -0
- package/node_modules/classic-level/deps/snappy/solaris/config.h +135 -0
- package/node_modules/classic-level/deps/snappy/solaris/snappy-stubs-public.h +100 -0
- package/node_modules/classic-level/deps/snappy/win32/config.h +29 -0
- package/node_modules/classic-level/deps/snappy/win32/snappy-stubs-public.h +100 -0
- package/node_modules/classic-level/index.d.ts +343 -0
- package/node_modules/classic-level/index.js +311 -0
- package/node_modules/classic-level/iterator.js +122 -0
- package/node_modules/classic-level/package.json +70 -0
- package/node_modules/classic-level/prebuilds/android-arm/classic-level.armv7.node +0 -0
- package/node_modules/classic-level/prebuilds/android-arm64/classic-level.armv8.node +0 -0
- package/node_modules/classic-level/prebuilds/darwin-x64+arm64/classic-level.node +0 -0
- package/node_modules/classic-level/prebuilds/linux-arm/classic-level.armv6.node +0 -0
- package/node_modules/classic-level/prebuilds/linux-arm/classic-level.armv7.node +0 -0
- package/node_modules/classic-level/prebuilds/linux-arm64/classic-level.armv8.node +0 -0
- package/node_modules/classic-level/prebuilds/linux-x64/classic-level.musl.node +0 -0
- package/node_modules/classic-level/prebuilds/linux-x64/classic-level.node +0 -0
- package/node_modules/classic-level/prebuilds/win32-ia32/classic-level.node +0 -0
- package/node_modules/classic-level/prebuilds/win32-x64/classic-level.node +0 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/is-buffer/LICENSE +21 -0
- package/node_modules/is-buffer/README.md +54 -0
- package/node_modules/is-buffer/index.d.ts +2 -0
- package/node_modules/is-buffer/index.js +11 -0
- package/node_modules/is-buffer/package.json +65 -0
- package/node_modules/level/CHANGELOG.md +532 -0
- package/node_modules/level/LICENSE +21 -0
- package/node_modules/level/README.md +107 -0
- package/node_modules/level/UPGRADING.md +413 -0
- package/node_modules/level/browser.js +1 -0
- package/node_modules/level/index.d.ts +75 -0
- package/node_modules/level/index.js +1 -0
- package/node_modules/level/package.json +62 -0
- package/node_modules/level-supports/CHANGELOG.md +140 -0
- package/node_modules/level-supports/LICENSE +21 -0
- package/node_modules/level-supports/README.md +276 -0
- package/node_modules/level-supports/index.d.ts +137 -0
- package/node_modules/level-supports/index.js +26 -0
- package/node_modules/level-supports/package.json +46 -0
- package/node_modules/level-supports/test/cloneable.js +26 -0
- package/node_modules/level-supports/test/index.js +24 -0
- package/node_modules/level-supports/test/self.js +86 -0
- package/node_modules/level-supports/test/shape.js +23 -0
- package/node_modules/level-transcoder/CHANGELOG.md +15 -0
- package/node_modules/level-transcoder/LICENSE +21 -0
- package/node_modules/level-transcoder/README.md +214 -0
- package/node_modules/level-transcoder/UPGRADING.md +13 -0
- package/node_modules/level-transcoder/index.d.ts +27 -0
- package/node_modules/level-transcoder/index.js +158 -0
- package/node_modules/level-transcoder/lib/encoding.d.ts +158 -0
- package/node_modules/level-transcoder/lib/encoding.js +105 -0
- package/node_modules/level-transcoder/lib/encodings.d.ts +9 -0
- package/node_modules/level-transcoder/lib/encodings.js +135 -0
- package/node_modules/level-transcoder/lib/formats.d.ts +13 -0
- package/node_modules/level-transcoder/lib/formats.js +111 -0
- package/node_modules/level-transcoder/lib/text-endec.d.ts +6 -0
- package/node_modules/level-transcoder/lib/text-endec.js +19 -0
- package/node_modules/level-transcoder/package.json +46 -0
- package/node_modules/maybe-combine-errors/LICENSE.md +21 -0
- package/node_modules/maybe-combine-errors/README.md +94 -0
- package/node_modules/maybe-combine-errors/index.js +60 -0
- package/node_modules/maybe-combine-errors/package.json +33 -0
- package/node_modules/module-error/CHANGELOG.md +23 -0
- package/node_modules/module-error/LICENSE +21 -0
- package/node_modules/module-error/README.md +89 -0
- package/node_modules/module-error/index.d.ts +18 -0
- package/node_modules/module-error/index.js +22 -0
- package/node_modules/module-error/package.json +36 -0
- package/node_modules/napi-macros/LICENSE +21 -0
- package/node_modules/napi-macros/README.md +277 -0
- package/node_modules/napi-macros/index.js +1 -0
- package/node_modules/napi-macros/napi-macros.h +255 -0
- package/node_modules/napi-macros/package.json +22 -0
- package/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/node_modules/node-gyp-build/bin.js +84 -0
- package/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/node-gyp-build/index.js +6 -0
- package/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/node-gyp-build/package.json +43 -0
- package/oauthTokenStore-PADKLNOC.js +23 -0
- package/package.json +6 -3
- package/processSpawn-SOAV3FEV.js +11 -0
- package/profileConfig-ZGOFORWV.js +43 -0
- package/{providerPresetApply-FG6NZ57W.js → providerPresetApply-HIPK67DU.js} +9 -9
- package/{providerRegistry-757OWH3O.js → providerRegistry-AI4U2FNM.js} +13 -9
- package/{read-COE3ZYR6.js → read-RNUQ7F34.js} +11 -7
- package/{readDocTool-5USN4A6V.js → readDocTool-6WIZHE6O.js} +5 -3
- package/{readlineWorkspace-HO62DKCG.js → readlineWorkspace-P3I7ZJUP.js} +6948 -3879
- package/{removeDialogAgentAction-J6X5QMTA.js → removeDialogAgentAction-EFQ4O2IQ.js} +27 -26
- package/{runAgentClientLoop-JLRJIF3F.js → runAgentClientLoop-AYNL3KMJ.js} +150 -90
- package/{runtimeDoctorCommands-X6WDBEQX.js → runtimeDoctorCommands-5CIWJEZ3.js} +36 -8
- package/runtimeModeArgs-2Y7BALTO.js +31 -0
- package/setDialogExtraReferencesAction-MXAH2KPV.js +37 -0
- package/{setPrimaryDialogAgentAction-FN22THHT.js → setPrimaryDialogAgentAction-7OPVNK4M.js} +28 -27
- package/{chunk-GP5LKBUZ.js → settingThunks-GHVLHABJ.js} +240 -945
- package/{skillDiscovery-CYUCJMAG.js → skillDiscovery-QC35EQY4.js} +3 -3
- package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
- package/{spaceCommands-5GLCWZPO.js → spaceCommands-WZCLRGBO.js} +56 -55
- package/{streamAgentChatTurn-DZ3PP7ZH.js → streamAgentChatTurn-O5T3B4B3.js} +325 -1557
- package/{switchDialogAgentAction-LVTEV3FR.js → switchDialogAgentAction-4PANDG3L.js} +24 -20
- package/{tableCommands-O6NWHFKV.js → tableCommands-U3QDY4L6.js} +19 -17
- package/{toolApiClient-QVJ6HDNN.js → toolApiClient-54CXTU7C.js} +5 -4
- package/tools-UMU2DYQX.js +122 -0
- package/{tuiSummaryLlmCaller-OHHFTHMG.js → tuiSummaryLlmCaller-ISODIW2O.js} +15 -29
- package/{updateCommands-2M74UL7P.js → updateCommands-NQXAGFM7.js} +3 -3
- package/{updateDialogTitleAction-VWZT4J6J.js → updateDialogTitleAction-TIS2SETN.js} +101 -57
- package/action-P4TNFGAD.js +0 -31
- package/agentListCommands-B2V4YAC4.js +0 -410
- package/agentRecordCommands-XBVDEYVC.js +0 -128
- package/agentRunCommand-V6RTNFRH.js +0 -156
- package/browser-image-compression-MFDTD7K6.js +0 -1763
- package/chatQueueReduxAdapter-XMFWRG3P.js +0 -186
- package/chunk-ACTMNVHM.js +0 -93
- package/chunk-CQ3WA2NE.js +0 -299
- package/chunk-M76ECQRD.js +0 -13658
- package/chunk-MEYIRKDN.js +0 -8967
- package/chunk-N4G4PKQ6.js +0 -23
- package/chunk-PUOC4YRO.js +0 -394
- package/chunk-Q5FJJ6XI.js +0 -103
- package/chunk-QQWJUHSL.js +0 -34
- package/chunk-S7Z2HMCN.js +0 -25
- package/chunk-TWQWYIMJ.js +0 -21409
- package/chunk-Y5GCAMGP.js +0 -9
- package/chunk-YPREESF4.js +0 -225
- package/contentThunks-3Z6NAUW6.js +0 -73
- package/createDialogAction-7XW3RX2A.js +0 -65
- package/dialogCommands-H7FPUYUQ.js +0 -99
- package/handleSendMessageAction-GUBOMCGM.js +0 -633
- package/machineWsRunDispatch-AAG6PDBY.js +0 -144
- package/setDialogExtraReferencesAction-WX5VTY6O.js +0 -30
- package/settingSlice-P4ZW7K5X.js +0 -204
- package/syncMapping-N6RGXGBW.js +0 -437
- package/tools-XA4ZWLH4.js +0 -110
- package/{chunk-SV5IJK6K.js → chunk-NBTY7YJF.js} +3 -3
- package/{chunk-X7HHHIOZ.js → chunk-Y6ROFCZO.js} +0 -0
- package/{db-WK5MDZVN.js → db-VQSAOWAO.js} +1 -1
- package/{offlineMarxistsAgentCommand-HGXZV4XJ.js → offlineMarxistsAgentCommand-2QTHJCHV.js} +4 -4
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
|
|
3
|
+
DEFAULT_USER_PREFERENCE_PROFILE,
|
|
4
|
+
normalizeAgentUpdateFieldList,
|
|
5
|
+
normalizePolicyLevelSetting,
|
|
6
|
+
normalizeSystemBuiltinSkills,
|
|
7
|
+
normalizeTonePresetSetting
|
|
8
|
+
} from "./chunk-5XN3OSCT.js";
|
|
9
|
+
import {
|
|
10
|
+
fetchAndCacheTableRows
|
|
11
|
+
} from "./chunk-P6KLYCL3.js";
|
|
12
|
+
import {
|
|
13
|
+
require_react
|
|
14
|
+
} from "./chunk-YDH3FDFQ.js";
|
|
15
|
+
import {
|
|
16
|
+
createAsyncThunk,
|
|
17
|
+
createSelector
|
|
18
|
+
} from "./chunk-IJERIUXS.js";
|
|
19
|
+
import {
|
|
20
|
+
selectIdentityUserId
|
|
21
|
+
} from "./chunk-SEJ5OS6F.js";
|
|
22
|
+
import {
|
|
23
|
+
resolveBuiltinCapability,
|
|
24
|
+
resolveBuiltinSkillEntry
|
|
25
|
+
} from "./chunk-RRQQAG7W.js";
|
|
26
|
+
import {
|
|
27
|
+
DEFAULT_SYSTEM_AGENT_CAPABILITIES
|
|
28
|
+
} from "./chunk-IXH3HKY2.js";
|
|
29
|
+
import {
|
|
30
|
+
asTrimmedNonEmptyStringArray
|
|
31
|
+
} from "./chunk-I42VC5KR.js";
|
|
32
|
+
import {
|
|
33
|
+
toErrorMessage
|
|
34
|
+
} from "./chunk-HNMXYYJR.js";
|
|
35
|
+
import {
|
|
36
|
+
asOptionalTrimmedString
|
|
37
|
+
} from "./chunk-G3SUCT4W.js";
|
|
38
|
+
import {
|
|
39
|
+
__toESM
|
|
40
|
+
} from "./chunk-4VNS5WPM.js";
|
|
41
|
+
|
|
42
|
+
// packages/ai/chat/parseMultilineSSE.ts
|
|
43
|
+
function createSSEParser() {
|
|
44
|
+
let buffer = "";
|
|
45
|
+
return function parseSSE(chunk) {
|
|
46
|
+
const results = [];
|
|
47
|
+
if (!chunk) return results;
|
|
48
|
+
buffer += chunk;
|
|
49
|
+
const events = buffer.split(/\r?\n\r?\n/);
|
|
50
|
+
buffer = events.pop() ?? "";
|
|
51
|
+
for (const ev of events) {
|
|
52
|
+
if (!ev.trim()) continue;
|
|
53
|
+
const lines = ev.split(/\r?\n/);
|
|
54
|
+
let accumulator = "";
|
|
55
|
+
for (const line of lines) {
|
|
56
|
+
const t = line.trim();
|
|
57
|
+
if (t === "data: [DONE]") {
|
|
58
|
+
if (accumulator.trim()) {
|
|
59
|
+
try {
|
|
60
|
+
results.push(JSON.parse(accumulator));
|
|
61
|
+
} catch (e) {
|
|
62
|
+
}
|
|
63
|
+
accumulator = "";
|
|
64
|
+
}
|
|
65
|
+
results.push("[DONE]");
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
let content = "";
|
|
69
|
+
let isDataLine = false;
|
|
70
|
+
if (t.startsWith("data:")) {
|
|
71
|
+
content = line.substring(line.indexOf("data:") + 5).trim();
|
|
72
|
+
isDataLine = true;
|
|
73
|
+
} else if (accumulator && t && !t.startsWith("event:") && !t.startsWith("id:") && !t.startsWith("retry:")) {
|
|
74
|
+
content = line;
|
|
75
|
+
} else {
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
if (isDataLine && !accumulator) {
|
|
79
|
+
try {
|
|
80
|
+
const obj = JSON.parse(content);
|
|
81
|
+
results.push(obj);
|
|
82
|
+
continue;
|
|
83
|
+
} catch (e) {
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
accumulator += content;
|
|
87
|
+
}
|
|
88
|
+
if (accumulator.trim()) {
|
|
89
|
+
try {
|
|
90
|
+
const obj = JSON.parse(accumulator);
|
|
91
|
+
results.push(obj);
|
|
92
|
+
} catch (e) {
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return results;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
var parseMultilineSSE = createSSEParser();
|
|
100
|
+
|
|
101
|
+
// packages/core/abortableDelay.ts
|
|
102
|
+
function waitForAbortableDelay(ms, signal) {
|
|
103
|
+
const delayMs = Number.isFinite(ms) && ms >= 0 ? Math.round(ms) : 0;
|
|
104
|
+
if (signal?.aborted) {
|
|
105
|
+
return Promise.reject(new DOMException("Aborted", "AbortError"));
|
|
106
|
+
}
|
|
107
|
+
return new Promise((resolve, reject) => {
|
|
108
|
+
const onAbort = () => {
|
|
109
|
+
clearTimeout(timeoutId);
|
|
110
|
+
signal?.removeEventListener("abort", onAbort);
|
|
111
|
+
reject(new DOMException("Aborted", "AbortError"));
|
|
112
|
+
};
|
|
113
|
+
const timeoutId = setTimeout(() => {
|
|
114
|
+
signal?.removeEventListener("abort", onAbort);
|
|
115
|
+
resolve();
|
|
116
|
+
}, delayMs);
|
|
117
|
+
signal?.addEventListener("abort", onAbort, { once: true });
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// packages/app/settings/fieldSelectors.ts
|
|
122
|
+
var selectMaxExecutionTime = (state) => state.settings.maxExecutionTime;
|
|
123
|
+
var selectGlobalPrompt = (state) => state.settings.globalPrompt;
|
|
124
|
+
var selectUserTonePreset = (state) => normalizeTonePresetSetting(state.settings.userTonePreset);
|
|
125
|
+
var selectKnowledgeCaptureLevel = (state) => normalizePolicyLevelSetting(
|
|
126
|
+
state.settings.knowledgeCaptureLevel,
|
|
127
|
+
DEFAULT_USER_PREFERENCE_PROFILE.knowledgeCaptureLevel
|
|
128
|
+
);
|
|
129
|
+
var selectSpaceContextLevel = (state) => state.settings.enableReadCurrentSpace === false ? 1 : normalizePolicyLevelSetting(
|
|
130
|
+
state.settings.spaceContextLevel,
|
|
131
|
+
DEFAULT_USER_PREFERENCE_PROFILE.spaceContextLevel
|
|
132
|
+
);
|
|
133
|
+
var selectAutoApproveSelfUpdateFields = createSelector(
|
|
134
|
+
[(state) => state.settings.autoApproveSelfUpdateFields],
|
|
135
|
+
(fields) => normalizeAgentUpdateFieldList(
|
|
136
|
+
fields,
|
|
137
|
+
DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS
|
|
138
|
+
)
|
|
139
|
+
);
|
|
140
|
+
var selectAiRecentContentLimit = (state) => state.settings.aiRecentContentLimit ?? 50;
|
|
141
|
+
var selectSystemBuiltinSkills = createSelector(
|
|
142
|
+
[(state) => state.settings.systemBuiltinSkills],
|
|
143
|
+
(systemBuiltinSkills) => normalizeSystemBuiltinSkills(
|
|
144
|
+
systemBuiltinSkills,
|
|
145
|
+
DEFAULT_SYSTEM_AGENT_CAPABILITIES
|
|
146
|
+
)
|
|
147
|
+
);
|
|
148
|
+
|
|
149
|
+
// packages/ai/tools/uiCardSchema.ts
|
|
150
|
+
var UI_CARD_VERSION = 1;
|
|
151
|
+
var MAX_BLOCKS = 32;
|
|
152
|
+
var MAX_TEXT_BYTES = 2e4;
|
|
153
|
+
var UI_CARD_MAX_BYTES = 1e5;
|
|
154
|
+
var UI_CARD_ENVELOPE_MAX_BYTES = UI_CARD_MAX_BYTES + 4096;
|
|
155
|
+
var MAX_COLLECTION_ITEMS = 500;
|
|
156
|
+
var MAX_JSON_DEPTH = 12;
|
|
157
|
+
var MAX_JSON_NODES = 2e3;
|
|
158
|
+
function isRecord(value) {
|
|
159
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
160
|
+
}
|
|
161
|
+
function hasOnlyKeys(value, allowed) {
|
|
162
|
+
return Object.keys(value).every((key) => allowed.includes(key));
|
|
163
|
+
}
|
|
164
|
+
function isText(value) {
|
|
165
|
+
return typeof value === "string" && new TextEncoder().encode(value).byteLength <= MAX_TEXT_BYTES;
|
|
166
|
+
}
|
|
167
|
+
function isStringArray(value, max = MAX_COLLECTION_ITEMS) {
|
|
168
|
+
return Array.isArray(value) && value.length <= max && value.every(isText);
|
|
169
|
+
}
|
|
170
|
+
function isJsonValue(value, depth, budget) {
|
|
171
|
+
budget.nodes += 1;
|
|
172
|
+
if (budget.nodes > MAX_JSON_NODES || depth > MAX_JSON_DEPTH) return false;
|
|
173
|
+
if (value === null || typeof value === "boolean") return true;
|
|
174
|
+
if (typeof value === "string") return isText(value);
|
|
175
|
+
if (typeof value === "number") return Number.isFinite(value);
|
|
176
|
+
if (Array.isArray(value)) return value.every((item) => isJsonValue(item, depth + 1, budget));
|
|
177
|
+
if (!isRecord(value)) return false;
|
|
178
|
+
for (const [key, item] of Object.entries(value)) {
|
|
179
|
+
if (["$ref", "$expr", "expression", "script"].includes(key)) return false;
|
|
180
|
+
if (!isText(key) || !isJsonValue(item, depth + 1, budget)) return false;
|
|
181
|
+
}
|
|
182
|
+
return true;
|
|
183
|
+
}
|
|
184
|
+
function isChoiceQuestion(value) {
|
|
185
|
+
if (!isRecord(value) || !hasOnlyKeys(value, ["id", "header", "question", "choices", "multiSelect", "allowOther", "required"])) return false;
|
|
186
|
+
if (!isText(value.id) || !value.id.trim() || !isText(value.question) || !value.question.trim()) return false;
|
|
187
|
+
if (value.header !== void 0 && !isText(value.header)) return false;
|
|
188
|
+
for (const flag of ["multiSelect", "allowOther", "required"]) {
|
|
189
|
+
if (value[flag] !== void 0 && typeof value[flag] !== "boolean") return false;
|
|
190
|
+
}
|
|
191
|
+
if (!Array.isArray(value.choices) || value.choices.length === 0 || value.choices.length > MAX_COLLECTION_ITEMS) return false;
|
|
192
|
+
const ids = /* @__PURE__ */ new Set();
|
|
193
|
+
for (const option of value.choices) {
|
|
194
|
+
if (!isRecord(option) || !hasOnlyKeys(option, ["id", "label", "detail", "recommended", "userMessage"])) return false;
|
|
195
|
+
if (!isText(option.label) || !option.label.trim()) return false;
|
|
196
|
+
if (option.id !== void 0) {
|
|
197
|
+
if (!isText(option.id) || !option.id.trim() || ids.has(option.id)) return false;
|
|
198
|
+
ids.add(option.id);
|
|
199
|
+
}
|
|
200
|
+
if (option.detail !== void 0 && !isText(option.detail)) return false;
|
|
201
|
+
if (option.userMessage !== void 0 && !isText(option.userMessage)) return false;
|
|
202
|
+
if (option.recommended !== void 0 && typeof option.recommended !== "boolean") return false;
|
|
203
|
+
}
|
|
204
|
+
return true;
|
|
205
|
+
}
|
|
206
|
+
function isAppUrl(value) {
|
|
207
|
+
try {
|
|
208
|
+
const parsed = new URL(value);
|
|
209
|
+
const hasWebProtocol = parsed.protocol === "http:" || parsed.protocol === "https:";
|
|
210
|
+
const authority = value.slice(value.indexOf("//") + 2).split(/[/?#]/, 1)[0];
|
|
211
|
+
return hasWebProtocol && authority.length > 0 && parsed.hostname.length > 0;
|
|
212
|
+
} catch {
|
|
213
|
+
return false;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
function isBlock(value) {
|
|
217
|
+
if (!isRecord(value) || typeof value.type !== "string") return false;
|
|
218
|
+
switch (value.type) {
|
|
219
|
+
case "text":
|
|
220
|
+
return hasOnlyKeys(value, ["type", "text"]) && isText(value.text);
|
|
221
|
+
case "metric":
|
|
222
|
+
return hasOnlyKeys(value, ["type", "label", "value", "detail"]) && isText(value.label) && isText(value.value) && (value.detail === void 0 || isText(value.detail));
|
|
223
|
+
case "list":
|
|
224
|
+
return hasOnlyKeys(value, ["type", "title", "items"]) && (value.title === void 0 || isText(value.title)) && isStringArray(value.items);
|
|
225
|
+
case "table": {
|
|
226
|
+
const columns = value.columns;
|
|
227
|
+
const rows = value.rows;
|
|
228
|
+
return hasOnlyKeys(value, ["type", "columns", "rows"]) && isStringArray(columns, 50) && columns.length > 0 && Array.isArray(rows) && rows.length <= MAX_COLLECTION_ITEMS && rows.every((row) => isStringArray(row, 50) && row.length === columns.length);
|
|
229
|
+
}
|
|
230
|
+
case "choice":
|
|
231
|
+
return hasOnlyKeys(value, ["type", "question"]) && isChoiceQuestion(value.question);
|
|
232
|
+
case "action": {
|
|
233
|
+
if (!isRecord(value.action) || typeof value.action.type !== "string") return false;
|
|
234
|
+
if (value.action.type === "submit") {
|
|
235
|
+
if (!hasOnlyKeys(value, ["type", "action"]) || !hasOnlyKeys(value.action, ["type", "payload"])) return false;
|
|
236
|
+
if (value.action.payload === void 0) return true;
|
|
237
|
+
return isRecord(value.action.payload) && isJsonValue(value.action.payload, 0, { nodes: 0 });
|
|
238
|
+
}
|
|
239
|
+
if (value.action.type === "openApp") {
|
|
240
|
+
return hasOnlyKeys(value, ["type", "action"]) && hasOnlyKeys(value.action, ["type", "appId", "url"]) && isText(value.action.appId) && !!value.action.appId.trim() && (value.action.url === void 0 || isText(value.action.url) && isAppUrl(value.action.url));
|
|
241
|
+
}
|
|
242
|
+
return false;
|
|
243
|
+
}
|
|
244
|
+
default:
|
|
245
|
+
return false;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
function parseUiCard(input) {
|
|
249
|
+
if (!isRecord(input) || !hasOnlyKeys(input, ["id", "version", "source", "blocks"])) return { ok: false, error: "invalid card shape" };
|
|
250
|
+
if (typeof input.id !== "string" || !/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/.test(input.id)) return { ok: false, error: "invalid card id" };
|
|
251
|
+
if (input.version !== UI_CARD_VERSION || input.source !== "tool") return { ok: false, error: "unsupported card version or source" };
|
|
252
|
+
if (!Array.isArray(input.blocks) || input.blocks.length > MAX_BLOCKS || !input.blocks.every(isBlock)) return { ok: false, error: "invalid blocks" };
|
|
253
|
+
try {
|
|
254
|
+
if (new TextEncoder().encode(JSON.stringify(input)).byteLength > UI_CARD_MAX_BYTES) return { ok: false, error: "card too large" };
|
|
255
|
+
} catch {
|
|
256
|
+
return { ok: false, error: "unserializable card" };
|
|
257
|
+
}
|
|
258
|
+
return { ok: true, value: input };
|
|
259
|
+
}
|
|
260
|
+
function uiCardFallback(card) {
|
|
261
|
+
return card.blocks.map((block) => {
|
|
262
|
+
switch (block.type) {
|
|
263
|
+
case "text":
|
|
264
|
+
return block.text;
|
|
265
|
+
case "metric":
|
|
266
|
+
return `${block.label}: ${block.value}${block.detail ? ` (${block.detail})` : ""}`;
|
|
267
|
+
case "list":
|
|
268
|
+
return `${block.title ? `${block.title}
|
|
269
|
+
` : ""}${block.items.map((item) => `- ${item}`).join("\n")}`;
|
|
270
|
+
case "table":
|
|
271
|
+
return [block.columns.join(" | "), ...block.rows.map((row) => row.join(" | "))].join("\n");
|
|
272
|
+
case "choice":
|
|
273
|
+
return `${block.question.question}
|
|
274
|
+
${block.question.choices.map((item) => `- ${item.label}${item.detail ? ` \u2014 ${item.detail}` : ""}`).join("\n")}`;
|
|
275
|
+
case "action":
|
|
276
|
+
return block.action.type === "submit" ? `Submit action (not executed): ${block.action.payload === void 0 ? "{}" : JSON.stringify(block.action.payload)}` : `Open app (not authorized): ${block.action.appId}${block.action.url ? ` (${block.action.url})` : ""}`;
|
|
277
|
+
}
|
|
278
|
+
}).join("\n\n");
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// packages/ai/tools/agentSkillConfig.ts
|
|
282
|
+
var MODES = [
|
|
283
|
+
"required",
|
|
284
|
+
"recommended",
|
|
285
|
+
"disabled"
|
|
286
|
+
];
|
|
287
|
+
var DEFAULT_RECOMMENDED_SKILL_SLUGS = [
|
|
288
|
+
"worktree-isolation",
|
|
289
|
+
"systematic-investigation",
|
|
290
|
+
"show-me"
|
|
291
|
+
];
|
|
292
|
+
var asMode = (value) => typeof value === "string" && MODES.includes(value) ? value : null;
|
|
293
|
+
var resolveAgentSkillConfig = (source) => {
|
|
294
|
+
const out = {};
|
|
295
|
+
const skills = source?.skills;
|
|
296
|
+
if (skills && typeof skills === "object" && !Array.isArray(skills)) {
|
|
297
|
+
for (const [rawSlug, rawMode] of Object.entries(skills)) {
|
|
298
|
+
const slug = typeof rawSlug === "string" ? rawSlug.trim() : "";
|
|
299
|
+
const mode = asMode(rawMode);
|
|
300
|
+
if (slug && mode) out[slug] = mode;
|
|
301
|
+
}
|
|
302
|
+
return out;
|
|
303
|
+
}
|
|
304
|
+
for (const slug of asTrimmedNonEmptyStringArray(source?.enabledPacks) ?? []) {
|
|
305
|
+
out[slug] = "required";
|
|
306
|
+
}
|
|
307
|
+
return out;
|
|
308
|
+
};
|
|
309
|
+
var resolveAgentRequiredPackIds = (source) => {
|
|
310
|
+
const config = resolveAgentSkillConfig(source);
|
|
311
|
+
return Object.keys(config).filter((slug) => config[slug] === "required");
|
|
312
|
+
};
|
|
313
|
+
var resolveAgentRecommendedSkillNames = (source, lookup) => {
|
|
314
|
+
const config = resolveAgentSkillConfig(source);
|
|
315
|
+
const resolve = lookup ?? defaultSkillTitleLookup;
|
|
316
|
+
const seen = /* @__PURE__ */ new Set();
|
|
317
|
+
const out = [];
|
|
318
|
+
const push = (slug) => {
|
|
319
|
+
const title = resolve(slug)?.title || slug;
|
|
320
|
+
if (seen.has(title)) return;
|
|
321
|
+
seen.add(title);
|
|
322
|
+
out.push(title);
|
|
323
|
+
};
|
|
324
|
+
for (const slug of Object.keys(config)) {
|
|
325
|
+
if (config[slug] !== "recommended") continue;
|
|
326
|
+
push(slug);
|
|
327
|
+
}
|
|
328
|
+
for (const slug of DEFAULT_RECOMMENDED_SKILL_SLUGS) {
|
|
329
|
+
if (Object.hasOwn(config, slug)) continue;
|
|
330
|
+
push(slug);
|
|
331
|
+
}
|
|
332
|
+
return out;
|
|
333
|
+
};
|
|
334
|
+
var defaultSkillTitleLookup = (slug) => {
|
|
335
|
+
const cap = resolveBuiltinCapability(slug);
|
|
336
|
+
if (cap) return { title: cap.title };
|
|
337
|
+
const skill = resolveBuiltinSkillEntry(slug);
|
|
338
|
+
return skill ? { title: skill.title } : null;
|
|
339
|
+
};
|
|
340
|
+
var isAgentSkillDisabled = (source, slug) => resolveAgentSkillConfig(source)[slug] === "disabled";
|
|
341
|
+
|
|
342
|
+
// packages/core/clipMultilineText.ts
|
|
343
|
+
function clipMultilineText(value, max) {
|
|
344
|
+
const trimmed = value.trim();
|
|
345
|
+
if (trimmed.length <= max) return trimmed;
|
|
346
|
+
return `${trimmed.slice(0, max)}
|
|
347
|
+
...[truncated ${trimmed.length - max} chars]`;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// packages/render/table/utils/tableSerialization.ts
|
|
351
|
+
var fetchAndSerializeTable = async (tableMeta, db, options = {}) => {
|
|
352
|
+
const tenantId = tableMeta.tenantId;
|
|
353
|
+
const tableId = tableMeta.tableId;
|
|
354
|
+
const results = await fetchAndCacheTableRows({
|
|
355
|
+
db,
|
|
356
|
+
tenantId,
|
|
357
|
+
tableId,
|
|
358
|
+
token: options.token,
|
|
359
|
+
remoteServers: options.remoteServers ?? []
|
|
360
|
+
});
|
|
361
|
+
const columns = tableMeta.columns || [];
|
|
362
|
+
const headerRow = columns.map((c) => c.label || c.name);
|
|
363
|
+
const separatorRow = columns.map(() => "---");
|
|
364
|
+
let tableMd = "";
|
|
365
|
+
if (columns.length > 0) {
|
|
366
|
+
tableMd = `| ${headerRow.join(" | ")} |
|
|
367
|
+
| ${separatorRow.join(" | ")} |
|
|
368
|
+
`;
|
|
369
|
+
results.forEach((row) => {
|
|
370
|
+
const rowData = columns.map((col) => {
|
|
371
|
+
const val = row[col.name];
|
|
372
|
+
return val === void 0 || val === null ? "" : String(val).replace(/\|/g, "\\|");
|
|
373
|
+
});
|
|
374
|
+
tableMd += `| ${rowData.join(" | ")} |
|
|
375
|
+
`;
|
|
376
|
+
});
|
|
377
|
+
} else {
|
|
378
|
+
tableMd = "(No columns defined for this table)";
|
|
379
|
+
}
|
|
380
|
+
return { rows: results, markdown: tableMd };
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
// packages/ai/tools/toolResultError.ts
|
|
384
|
+
var ToolResultError = class extends Error {
|
|
385
|
+
code;
|
|
386
|
+
rawData;
|
|
387
|
+
displayData;
|
|
388
|
+
retryable;
|
|
389
|
+
constructor(message, options) {
|
|
390
|
+
super(message);
|
|
391
|
+
this.name = "ToolResultError";
|
|
392
|
+
this.code = options?.code;
|
|
393
|
+
this.rawData = options?.rawData;
|
|
394
|
+
this.displayData = options?.displayData;
|
|
395
|
+
this.retryable = options?.retryable;
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
var getToolResultErrorData = (error) => {
|
|
399
|
+
if (!error || typeof error !== "object") return null;
|
|
400
|
+
const candidate = error;
|
|
401
|
+
return {
|
|
402
|
+
rawData: candidate.rawData,
|
|
403
|
+
displayData: candidate.displayData,
|
|
404
|
+
code: candidate.code,
|
|
405
|
+
retryable: candidate.retryable,
|
|
406
|
+
message: candidate.message
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
// packages/ai/tools/toolRunStore.ts
|
|
411
|
+
var import_react = __toESM(require_react());
|
|
412
|
+
var createToolRunId = () => `toolrun_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`;
|
|
413
|
+
var runsById = /* @__PURE__ */ new Map();
|
|
414
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
415
|
+
var version = 0;
|
|
416
|
+
var notify = () => {
|
|
417
|
+
version += 1;
|
|
418
|
+
for (const listener of listeners) {
|
|
419
|
+
try {
|
|
420
|
+
listener();
|
|
421
|
+
} catch {
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
function toolRunStarted(payload) {
|
|
426
|
+
const {
|
|
427
|
+
id,
|
|
428
|
+
messageId,
|
|
429
|
+
toolName,
|
|
430
|
+
behavior,
|
|
431
|
+
inputSummary,
|
|
432
|
+
startedAt,
|
|
433
|
+
interaction,
|
|
434
|
+
input
|
|
435
|
+
} = payload;
|
|
436
|
+
runsById.set(id, {
|
|
437
|
+
id,
|
|
438
|
+
messageId,
|
|
439
|
+
toolName,
|
|
440
|
+
behavior,
|
|
441
|
+
inputSummary,
|
|
442
|
+
status: "running",
|
|
443
|
+
startedAt: startedAt ?? Date.now(),
|
|
444
|
+
interaction,
|
|
445
|
+
input,
|
|
446
|
+
error: void 0,
|
|
447
|
+
finishedAt: void 0,
|
|
448
|
+
outputSummary: void 0,
|
|
449
|
+
steps: void 0
|
|
450
|
+
});
|
|
451
|
+
notify();
|
|
452
|
+
}
|
|
453
|
+
function toolRunSetPending(payload) {
|
|
454
|
+
const { id } = payload;
|
|
455
|
+
const run = runsById.get(id);
|
|
456
|
+
if (run) {
|
|
457
|
+
run.status = "pending";
|
|
458
|
+
notify();
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
function toolRunSucceeded(payload) {
|
|
462
|
+
const { id, outputSummary, steps, finishedAt } = payload;
|
|
463
|
+
const run = runsById.get(id);
|
|
464
|
+
if (run) {
|
|
465
|
+
run.status = "succeeded";
|
|
466
|
+
run.outputSummary = outputSummary;
|
|
467
|
+
if (steps !== void 0) {
|
|
468
|
+
run.steps = steps;
|
|
469
|
+
}
|
|
470
|
+
run.finishedAt = finishedAt ?? Date.now();
|
|
471
|
+
notify();
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
function toolRunUpdated(payload) {
|
|
475
|
+
const { id, outputSummary, steps } = payload;
|
|
476
|
+
const run = runsById.get(id);
|
|
477
|
+
if (run) {
|
|
478
|
+
if (outputSummary !== void 0) {
|
|
479
|
+
run.outputSummary = outputSummary;
|
|
480
|
+
}
|
|
481
|
+
if (steps !== void 0) {
|
|
482
|
+
run.steps = steps;
|
|
483
|
+
}
|
|
484
|
+
notify();
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
function toolRunFailed(payload) {
|
|
488
|
+
const { id, error, outputSummary, steps, finishedAt } = payload;
|
|
489
|
+
const run = runsById.get(id);
|
|
490
|
+
if (run) {
|
|
491
|
+
run.status = "failed";
|
|
492
|
+
run.error = error;
|
|
493
|
+
if (outputSummary !== void 0) {
|
|
494
|
+
run.outputSummary = outputSummary;
|
|
495
|
+
}
|
|
496
|
+
if (steps !== void 0) {
|
|
497
|
+
run.steps = steps;
|
|
498
|
+
}
|
|
499
|
+
run.finishedAt = finishedAt ?? Date.now();
|
|
500
|
+
notify();
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
function getAllToolRuns() {
|
|
504
|
+
return Array.from(runsById.values()).sort((a, b) => a.startedAt - b.startedAt);
|
|
505
|
+
}
|
|
506
|
+
function getToolRunById(id) {
|
|
507
|
+
return runsById.get(id);
|
|
508
|
+
}
|
|
509
|
+
var executeToolRun = createAsyncThunk(
|
|
510
|
+
"toolRun/executeToolRun",
|
|
511
|
+
async ({ id, inputOverride }, thunkApi) => {
|
|
512
|
+
const run = getToolRunById(id);
|
|
513
|
+
if (!run) {
|
|
514
|
+
throw new Error(`ToolRun not found: ${id}`);
|
|
515
|
+
}
|
|
516
|
+
const executionInput = inputOverride ?? run.input;
|
|
517
|
+
if (!executionInput) {
|
|
518
|
+
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
519
|
+
}
|
|
520
|
+
const { findToolExecutor } = await import("./tools-UMU2DYQX.js");
|
|
521
|
+
const { executor } = findToolExecutor(run.toolName);
|
|
522
|
+
toolRunStarted({
|
|
523
|
+
id: run.id,
|
|
524
|
+
messageId: run.messageId,
|
|
525
|
+
toolName: run.toolName,
|
|
526
|
+
behavior: run.behavior,
|
|
527
|
+
inputSummary: run.inputSummary,
|
|
528
|
+
startedAt: Date.now(),
|
|
529
|
+
interaction: run.interaction,
|
|
530
|
+
input: executionInput
|
|
531
|
+
});
|
|
532
|
+
try {
|
|
533
|
+
const result = await executor(executionInput, thunkApi, {
|
|
534
|
+
parentMessageId: run.messageId
|
|
535
|
+
});
|
|
536
|
+
toolRunSucceeded({
|
|
537
|
+
id: run.id,
|
|
538
|
+
outputSummary: result?.displayData || ""
|
|
539
|
+
});
|
|
540
|
+
if (run.toolName === "deleteSpaces") {
|
|
541
|
+
const latestState = thunkApi.getState();
|
|
542
|
+
const userId = selectIdentityUserId(latestState);
|
|
543
|
+
if (userId) {
|
|
544
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-Y3Q7GZTG.js");
|
|
545
|
+
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
return {
|
|
549
|
+
id: run.id,
|
|
550
|
+
rawData: result?.rawData,
|
|
551
|
+
displayData: result?.displayData
|
|
552
|
+
};
|
|
553
|
+
} catch (e) {
|
|
554
|
+
const msg = toErrorMessage(e);
|
|
555
|
+
const structured = getToolResultErrorData(e);
|
|
556
|
+
toolRunFailed({
|
|
557
|
+
id: run.id,
|
|
558
|
+
error: msg,
|
|
559
|
+
outputSummary: asOptionalTrimmedString(structured?.displayData)
|
|
560
|
+
});
|
|
561
|
+
throw e;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
);
|
|
565
|
+
|
|
566
|
+
export {
|
|
567
|
+
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
568
|
+
parseUiCard,
|
|
569
|
+
uiCardFallback,
|
|
570
|
+
createSSEParser,
|
|
571
|
+
waitForAbortableDelay,
|
|
572
|
+
resolveAgentRequiredPackIds,
|
|
573
|
+
resolveAgentRecommendedSkillNames,
|
|
574
|
+
isAgentSkillDisabled,
|
|
575
|
+
clipMultilineText,
|
|
576
|
+
fetchAndSerializeTable,
|
|
577
|
+
selectMaxExecutionTime,
|
|
578
|
+
selectGlobalPrompt,
|
|
579
|
+
selectUserTonePreset,
|
|
580
|
+
selectKnowledgeCaptureLevel,
|
|
581
|
+
selectSpaceContextLevel,
|
|
582
|
+
selectAutoApproveSelfUpdateFields,
|
|
583
|
+
selectAiRecentContentLimit,
|
|
584
|
+
ToolResultError,
|
|
585
|
+
getToolResultErrorData,
|
|
586
|
+
createToolRunId,
|
|
587
|
+
toolRunStarted,
|
|
588
|
+
toolRunSetPending,
|
|
589
|
+
toolRunSucceeded,
|
|
590
|
+
toolRunUpdated,
|
|
591
|
+
toolRunFailed,
|
|
592
|
+
getAllToolRuns
|
|
593
|
+
};
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
patch,
|
|
3
|
+
remove,
|
|
4
|
+
write
|
|
5
|
+
} from "./chunk-RNNWTMKT.js";
|
|
6
|
+
import {
|
|
7
|
+
getRuntimeServerContext
|
|
8
|
+
} from "./chunk-4YRTZIVN.js";
|
|
9
|
+
import {
|
|
10
|
+
asyncThunkCreator,
|
|
11
|
+
buildCreateSlice
|
|
12
|
+
} from "./chunk-IJERIUXS.js";
|
|
1
13
|
import {
|
|
2
14
|
applyAgentSecretMigrationUpdates,
|
|
3
15
|
createFileCredentialBroker,
|
|
4
16
|
migrateAgentSecrets,
|
|
5
17
|
normalizeAgentRuntimeToolPolicy
|
|
6
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PWRS2SU2.js";
|
|
7
19
|
import {
|
|
8
20
|
asRecordOrEmpty
|
|
9
21
|
} from "./chunk-KX6YBIHG.js";
|
|
10
|
-
import {
|
|
11
|
-
patch,
|
|
12
|
-
remove,
|
|
13
|
-
write
|
|
14
|
-
} from "./chunk-VRTTFDBM.js";
|
|
15
22
|
import {
|
|
16
23
|
createAgentKey,
|
|
17
24
|
toTrimmedString
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
asyncThunkCreator,
|
|
21
|
-
buildCreateSlice,
|
|
22
|
-
getRuntimeServerContext
|
|
23
|
-
} from "./chunk-UKWGR5SS.js";
|
|
25
|
+
} from "./chunk-RLRYVSCD.js";
|
|
24
26
|
import {
|
|
25
27
|
asTrimmedString
|
|
26
28
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -304,7 +306,7 @@ var slice = createSliceWithThunks({
|
|
|
304
306
|
const overrides = {};
|
|
305
307
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
306
308
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
307
|
-
const { _executeModel } = await import("./_executeModel-
|
|
309
|
+
const { _executeModel } = await import("./_executeModel-RVAKYU4J.js");
|
|
308
310
|
return _executeModel(
|
|
309
311
|
{
|
|
310
312
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -325,7 +327,7 @@ var slice = createSliceWithThunks({
|
|
|
325
327
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
326
328
|
*/
|
|
327
329
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
328
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
330
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-AYNL3KMJ.js");
|
|
329
331
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
330
332
|
{
|
|
331
333
|
agentKey: args.agentKey,
|
|
@@ -341,7 +343,7 @@ var slice = createSliceWithThunks({
|
|
|
341
343
|
* 聊天轮次流式 Agent 调用
|
|
342
344
|
*/
|
|
343
345
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
344
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
346
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-O5T3B4B3.js");
|
|
345
347
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
348
|
}),
|
|
347
349
|
/**
|