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
|
@@ -2,18 +2,14 @@ import {
|
|
|
2
2
|
isDevinOAuthAgent
|
|
3
3
|
} from "./chunk-5ZUL4CUO.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
resolveAgentImageInputSupport
|
|
6
|
+
} from "./chunk-JJM3WS6W.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./chunk-OIVSQH2O.js";
|
|
8
|
+
getModelContextWindow
|
|
9
|
+
} from "./chunk-FWY6BHIJ.js";
|
|
11
10
|
import {
|
|
12
11
|
asOptionalFiniteNumber
|
|
13
12
|
} from "./chunk-WWC7I6TA.js";
|
|
14
|
-
import {
|
|
15
|
-
asTrimmedLowercaseString
|
|
16
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
17
13
|
import {
|
|
18
14
|
isRecord
|
|
19
15
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -24,73 +20,6 @@ import {
|
|
|
24
20
|
asOptionalTrimmedString
|
|
25
21
|
} from "./chunk-G3SUCT4W.js";
|
|
26
22
|
|
|
27
|
-
// packages/ai/llm/agentCapabilities.ts
|
|
28
|
-
var ANTIGRAVITY_EFFORT_SUFFIXES = [
|
|
29
|
-
"-tiered",
|
|
30
|
-
"-extra-low",
|
|
31
|
-
"-low",
|
|
32
|
-
"-medium",
|
|
33
|
-
"-high"
|
|
34
|
-
];
|
|
35
|
-
function stripEffortSuffix(model) {
|
|
36
|
-
for (const suffix of ANTIGRAVITY_EFFORT_SUFFIXES) {
|
|
37
|
-
if (model.endsWith(suffix) && model.length > suffix.length) {
|
|
38
|
-
return model.slice(0, -suffix.length);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return model;
|
|
42
|
-
}
|
|
43
|
-
function stripPreviewSuffix(model) {
|
|
44
|
-
const suffix = "-preview";
|
|
45
|
-
if (model.endsWith(suffix) && model.length > suffix.length) {
|
|
46
|
-
return model.slice(0, -suffix.length);
|
|
47
|
-
}
|
|
48
|
-
return model;
|
|
49
|
-
}
|
|
50
|
-
var lookupKnownModelVision = (provider, model) => {
|
|
51
|
-
if (!model) return void 0;
|
|
52
|
-
const candidates = [model];
|
|
53
|
-
const strippedEffort = stripEffortSuffix(model);
|
|
54
|
-
if (strippedEffort !== model) candidates.push(strippedEffort);
|
|
55
|
-
const strippedPreview = stripPreviewSuffix(model);
|
|
56
|
-
if (strippedPreview !== model) candidates.push(strippedPreview);
|
|
57
|
-
for (const candidate of candidates) {
|
|
58
|
-
if (provider && provider !== "custom") {
|
|
59
|
-
const direct = findModelConfig(provider, candidate);
|
|
60
|
-
if (direct && typeof direct.hasVision === "boolean") return direct.hasVision;
|
|
61
|
-
}
|
|
62
|
-
const detected = getProviderByModelName(candidate);
|
|
63
|
-
if (detected) {
|
|
64
|
-
const found = findModelConfig(detected, candidate)?.hasVision;
|
|
65
|
-
if (found !== void 0) return found;
|
|
66
|
-
}
|
|
67
|
-
if (candidate.includes("/")) {
|
|
68
|
-
const slash = candidate.indexOf("/");
|
|
69
|
-
const modelProvider = candidate.slice(0, slash).toLowerCase();
|
|
70
|
-
const modelName = candidate.slice(slash + 1);
|
|
71
|
-
const nested = findModelConfig(modelProvider, modelName);
|
|
72
|
-
if (nested && typeof nested.hasVision === "boolean") return nested.hasVision;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return void 0;
|
|
76
|
-
};
|
|
77
|
-
var resolveAgentImageInputSupport = (agent) => {
|
|
78
|
-
if (!agent) return true;
|
|
79
|
-
const provider = asTrimmedLowercaseString(agent.provider) || null;
|
|
80
|
-
const model = asOptionalTrimmedString(agent.model) ?? "";
|
|
81
|
-
const catalogHasVision = lookupKnownModelVision(
|
|
82
|
-
provider,
|
|
83
|
-
model
|
|
84
|
-
);
|
|
85
|
-
if (catalogHasVision !== void 0) {
|
|
86
|
-
return catalogHasVision;
|
|
87
|
-
}
|
|
88
|
-
if (typeof agent.hasVision === "boolean") {
|
|
89
|
-
return agent.hasVision;
|
|
90
|
-
}
|
|
91
|
-
return true;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
23
|
// packages/ai/agent/imagePreprocessing.ts
|
|
95
24
|
function extractImageUrlsFromMessages(messages) {
|
|
96
25
|
const urls = [];
|
|
@@ -151,7 +80,9 @@ var devinChannelContextWindow = (model) => {
|
|
|
151
80
|
if (!raw) return void 0;
|
|
152
81
|
return DEVIN_CHANNEL_CONTEXT_WINDOWS[raw];
|
|
153
82
|
};
|
|
154
|
-
var resolveAgentContextWindow = (agent) => (isDevinOAuthAgent(agent) ? devinChannelContextWindow(agent.model) : void 0) ??
|
|
83
|
+
var resolveAgentContextWindow = (agent) => (isDevinOAuthAgent(agent) ? devinChannelContextWindow(agent.model) : void 0) ?? // provider 透传给全局解析:平台托管通道(CF)与 Codex OAuth 等通道对同一 id
|
|
84
|
+
// 窗口不同,按通道取真值,不做全局取大/取小。
|
|
85
|
+
getModelContextWindow(agent.model ?? "", agent.provider);
|
|
155
86
|
|
|
156
87
|
// packages/agent-runtime/agentRecordConfig.ts
|
|
157
88
|
function stringField(record, key) {
|
|
@@ -239,53 +170,6 @@ function resolveAgentRuntimeConfigFromRecord(key, record) {
|
|
|
239
170
|
};
|
|
240
171
|
}
|
|
241
172
|
|
|
242
|
-
// packages/ai/agent/toolOutputPolicy.ts
|
|
243
|
-
var MAX_IN_TURN_TOOL_CONTENT_CHARS = 4e3;
|
|
244
|
-
var DEFAULT_TOOL_OUTPUT_PROFILE = {
|
|
245
|
-
maxChars: MAX_IN_TURN_TOOL_CONTENT_CHARS,
|
|
246
|
-
headRatio: 0.5
|
|
247
|
-
};
|
|
248
|
-
var TOOL_OUTPUT_PROFILES = {
|
|
249
|
-
readFile: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
|
|
250
|
-
read_file: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
|
|
251
|
-
readWorkspaceFile: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
|
|
252
|
-
globFiles: { maxChars: 2800, headRatio: 0.85 },
|
|
253
|
-
execShell: { maxChars: 4e3, headRatio: 0.35 },
|
|
254
|
-
runCommand: { maxChars: 4e3, headRatio: 0.35 },
|
|
255
|
-
launchProcess: { maxChars: 2800, headRatio: 0.35 },
|
|
256
|
-
editFile: { maxChars: 2800, headRatio: 0.62 },
|
|
257
|
-
writeFile: { maxChars: 2400, headRatio: 0.62 },
|
|
258
|
-
readPastedText: { maxChars: 4800, headRatio: 0.5, historicalMaxChars: 4800 }
|
|
259
|
-
};
|
|
260
|
-
function resolveToolOutputProfile(toolName) {
|
|
261
|
-
return (toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0) ?? DEFAULT_TOOL_OUTPUT_PROFILE;
|
|
262
|
-
}
|
|
263
|
-
function resolveHistoricalToolContentCap(toolName, historicalMaxChars) {
|
|
264
|
-
const profile = toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0;
|
|
265
|
-
return profile?.historicalMaxChars !== void 0 ? Math.max(historicalMaxChars, profile.historicalMaxChars) : historicalMaxChars;
|
|
266
|
-
}
|
|
267
|
-
function projectToolMessageContent(input) {
|
|
268
|
-
const { content, toolName } = input;
|
|
269
|
-
const maxChars = resolveToolOutputProfile(toolName).maxChars;
|
|
270
|
-
if (content.length <= maxChars) return content;
|
|
271
|
-
return clipToolText(
|
|
272
|
-
content,
|
|
273
|
-
maxChars,
|
|
274
|
-
resolveToolOutputProfile(toolName).headRatio,
|
|
275
|
-
`
|
|
276
|
-
\u2026[\u622A\u65AD\uFF0C\u539F\u59CB\u957F\u5EA6 ${content.length} \u5B57\u7B26]`
|
|
277
|
-
);
|
|
278
|
-
}
|
|
279
|
-
function clipToolText(content, maxChars, headRatio, marker = "\n\n[... tool output middle omitted; head/tail preserved ...]\n\n") {
|
|
280
|
-
const normalized = content.replace(/\r\n/g, "\n").trim();
|
|
281
|
-
if (normalized.length <= maxChars) return normalized;
|
|
282
|
-
if (maxChars <= marker.length + 2) return normalized.slice(0, maxChars);
|
|
283
|
-
const available = maxChars - marker.length;
|
|
284
|
-
const headChars = Math.max(1, Math.floor(available * headRatio));
|
|
285
|
-
const tailChars = Math.max(1, available - headChars);
|
|
286
|
-
return `${normalized.slice(0, headChars)}${marker}${normalized.slice(-tailChars)}`;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
173
|
// packages/agent-runtime/desktopRequestSnapshot.ts
|
|
290
174
|
var DESKTOP_AGENT_CONFIG_SNAPSHOT_STRING_FIELDS = [
|
|
291
175
|
"name",
|
|
@@ -565,14 +449,9 @@ function assertDesktopAgentRuntimeTurnBodyHasNoRawSecrets(body) {
|
|
|
565
449
|
}
|
|
566
450
|
|
|
567
451
|
export {
|
|
568
|
-
resolveAgentImageInputSupport,
|
|
569
452
|
hasImageInRuntimeMessages,
|
|
570
453
|
stripImagePartsFromMessages,
|
|
571
454
|
stripImagePartsForTextOnlyAgent,
|
|
572
|
-
resolveToolOutputProfile,
|
|
573
|
-
resolveHistoricalToolContentCap,
|
|
574
|
-
projectToolMessageContent,
|
|
575
|
-
clipToolText,
|
|
576
455
|
resolveAgentContextWindow,
|
|
577
456
|
resolveAgentRuntimeConfigFromRecord,
|
|
578
457
|
buildDesktopAgentRuntimeAgentConfigSnapshot,
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import {
|
|
2
|
+
describeAttachmentForModel
|
|
3
|
+
} from "./chunk-WJZOQR2J.js";
|
|
4
|
+
|
|
5
|
+
// packages/ai/attachments/projectUserPart.ts
|
|
6
|
+
var isRecord = (value) => typeof value === "object" && value !== null;
|
|
7
|
+
var projectUserPartForModel = (part) => {
|
|
8
|
+
if (!isRecord(part) || typeof part.type !== "string") return [];
|
|
9
|
+
if (part.type === "text") {
|
|
10
|
+
return typeof part.text === "string" && part.text.trim() ? [part] : [];
|
|
11
|
+
}
|
|
12
|
+
if (part.type === "image_url") {
|
|
13
|
+
return isRecord(part.image_url) && typeof part.image_url.url === "string" && part.image_url.url.trim() ? [part] : [];
|
|
14
|
+
}
|
|
15
|
+
if (part.type === "attachment") return [{ type: "text", text: describeAttachmentForModel(part) }];
|
|
16
|
+
if (part.type === "media_job") {
|
|
17
|
+
const name = typeof part.name === "string" && part.name.trim() ? part.name.trim() : "\u672A\u547D\u540D\u6587\u4EF6";
|
|
18
|
+
const jobId = typeof part.jobId === "string" ? part.jobId : typeof part.id === "string" ? part.id : "";
|
|
19
|
+
return [{ type: "text", text: `[\u5A92\u4F53\u9644\u4EF6] \u6587\u4EF6=${name}${jobId ? ` jobId=${jobId}` : ""}` }];
|
|
20
|
+
}
|
|
21
|
+
if (typeof part.pageKey === "string" && ["page", "pdf", "docx"].includes(part.type)) return [];
|
|
22
|
+
return [{ type: "text", text: `[\u672A\u8BC6\u522B\u7684\u9644\u4EF6\u7C7B\u578B: ${part.type}]` }];
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// packages/agent-runtime/outboundRequestDiagnostics.ts
|
|
26
|
+
var OUTBOUND_DIAGNOSTIC_PREFIX = "[outbound-diagnostic]";
|
|
27
|
+
var OUTBOUND_DIAGNOSTICS_ENV = "NOLO_OUTBOUND_DIAGNOSTICS";
|
|
28
|
+
var MAX_PROVIDER_TOKEN_LENGTH = 96;
|
|
29
|
+
var MAX_CALL_ID_LENGTH = 128;
|
|
30
|
+
var MAX_UPSTREAM_REQUEST_ID_LENGTH = 128;
|
|
31
|
+
var IDENTIFIER_PATTERN = /^[A-Za-z0-9._:@+/~-]+$/;
|
|
32
|
+
var REQUEST_ID_PATTERN = /^[A-Za-z0-9._:-]+$/;
|
|
33
|
+
var CONTROL_CHAR_PATTERN = /[\u0000-\u001f\u007f]/;
|
|
34
|
+
var UPSTREAM_REQUEST_ID_HEADERS = ["x-request-id", "request-id"];
|
|
35
|
+
var THINKING_VALUES = /* @__PURE__ */ new Set([
|
|
36
|
+
"enabled",
|
|
37
|
+
"disabled",
|
|
38
|
+
"unspecified",
|
|
39
|
+
"other"
|
|
40
|
+
]);
|
|
41
|
+
var REASONING_EFFORT_VALUES = /* @__PURE__ */ new Set([
|
|
42
|
+
"none",
|
|
43
|
+
"minimal",
|
|
44
|
+
"low",
|
|
45
|
+
"medium",
|
|
46
|
+
"high",
|
|
47
|
+
"xhigh",
|
|
48
|
+
"unspecified",
|
|
49
|
+
"other"
|
|
50
|
+
]);
|
|
51
|
+
var ERROR_CATEGORY_VALUES = /* @__PURE__ */ new Set([
|
|
52
|
+
"none",
|
|
53
|
+
"reasoning-contract",
|
|
54
|
+
"invalid-request",
|
|
55
|
+
"authentication",
|
|
56
|
+
"rate-limit",
|
|
57
|
+
"upstream",
|
|
58
|
+
"other"
|
|
59
|
+
]);
|
|
60
|
+
var TERMINAL_OUTCOME_VALUES = /* @__PURE__ */ new Set([
|
|
61
|
+
"completed",
|
|
62
|
+
"http-error",
|
|
63
|
+
"network-error",
|
|
64
|
+
"aborted",
|
|
65
|
+
"stream-error"
|
|
66
|
+
]);
|
|
67
|
+
var SEAM_VALUES = /* @__PURE__ */ new Set([
|
|
68
|
+
"local-runtime",
|
|
69
|
+
"chat",
|
|
70
|
+
"server-loop"
|
|
71
|
+
]);
|
|
72
|
+
var WIRE_VALUES = /* @__PURE__ */ new Set(["chat.completions", "responses"]);
|
|
73
|
+
var HOST_VALUES = /* @__PURE__ */ new Set(["client", "server"]);
|
|
74
|
+
function isRawIdentifierAcceptable(value, maxLength) {
|
|
75
|
+
if (typeof value !== "string") return false;
|
|
76
|
+
if (value.length === 0) return false;
|
|
77
|
+
if (value.length > maxLength) return false;
|
|
78
|
+
if (CONTROL_CHAR_PATTERN.test(value)) return false;
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
function sanitizeProviderModelToken(value) {
|
|
82
|
+
if (!isRawIdentifierAcceptable(value, MAX_PROVIDER_TOKEN_LENGTH)) return "other";
|
|
83
|
+
const normalized = value.trim();
|
|
84
|
+
if (!normalized || !IDENTIFIER_PATTERN.test(normalized)) return "other";
|
|
85
|
+
return normalized;
|
|
86
|
+
}
|
|
87
|
+
function sanitizeCallId(value) {
|
|
88
|
+
if (!isRawIdentifierAcceptable(value, MAX_CALL_ID_LENGTH)) return void 0;
|
|
89
|
+
const normalized = value.trim();
|
|
90
|
+
if (!normalized || !REQUEST_ID_PATTERN.test(normalized)) return void 0;
|
|
91
|
+
return normalized;
|
|
92
|
+
}
|
|
93
|
+
function sanitizeUpstreamRequestId(value) {
|
|
94
|
+
if (!isRawIdentifierAcceptable(value, MAX_UPSTREAM_REQUEST_ID_LENGTH)) return void 0;
|
|
95
|
+
const normalized = value.trim();
|
|
96
|
+
if (!normalized || !REQUEST_ID_PATTERN.test(normalized)) return void 0;
|
|
97
|
+
return normalized;
|
|
98
|
+
}
|
|
99
|
+
function pickUpstreamRequestId(headers) {
|
|
100
|
+
if (!headers || typeof headers.get !== "function") return void 0;
|
|
101
|
+
try {
|
|
102
|
+
for (const name of UPSTREAM_REQUEST_ID_HEADERS) {
|
|
103
|
+
const raw = headers.get(name);
|
|
104
|
+
const safe = sanitizeUpstreamRequestId(raw);
|
|
105
|
+
if (safe) return safe;
|
|
106
|
+
}
|
|
107
|
+
} catch {
|
|
108
|
+
return void 0;
|
|
109
|
+
}
|
|
110
|
+
return void 0;
|
|
111
|
+
}
|
|
112
|
+
function classifyOutboundErrorCategory(status, errorText) {
|
|
113
|
+
const numeric = typeof status === "number" && Number.isFinite(status) ? status : 0;
|
|
114
|
+
if (numeric === 401 || numeric === 403) return "authentication";
|
|
115
|
+
if (numeric === 429) return "rate-limit";
|
|
116
|
+
if (numeric >= 500) return "upstream";
|
|
117
|
+
const text = typeof errorText === "string" ? errorText : "";
|
|
118
|
+
if (numeric >= 400) {
|
|
119
|
+
if (looksLikeReasoningContractError(text)) return "reasoning-contract";
|
|
120
|
+
return "invalid-request";
|
|
121
|
+
}
|
|
122
|
+
if (numeric === 0) return "other";
|
|
123
|
+
return numeric >= 200 && numeric < 300 ? "none" : "other";
|
|
124
|
+
}
|
|
125
|
+
function looksLikeReasoningContractError(text) {
|
|
126
|
+
if (!text) return false;
|
|
127
|
+
if (!/reasoning_content|reasoning/i.test(text)) return false;
|
|
128
|
+
return /expected a sequence|invalid type|serde|deserializ|type error|missing field/i.test(text);
|
|
129
|
+
}
|
|
130
|
+
function createRequestShapingCounts() {
|
|
131
|
+
return {
|
|
132
|
+
assistantToolTurns: 0,
|
|
133
|
+
missingReasoningTurns: 0,
|
|
134
|
+
placeholderInjectedTurns: 0,
|
|
135
|
+
reasoningStrippedTurns: 0
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
function createRequestFacts() {
|
|
139
|
+
return {
|
|
140
|
+
assistantToolTurns: 0,
|
|
141
|
+
missingReasoningTurns: 0,
|
|
142
|
+
// 未观测:只有塑形直连点(collector)能给出「本次注入」。
|
|
143
|
+
placeholderInjectedTurns: null,
|
|
144
|
+
reasoningStrippedTurns: null,
|
|
145
|
+
thinking: "unspecified",
|
|
146
|
+
reasoningEffort: "unspecified",
|
|
147
|
+
projection: { observed: false }
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function applyShapingCounts(facts, counts) {
|
|
151
|
+
if (!counts) return facts;
|
|
152
|
+
facts.assistantToolTurns = toCount(counts.assistantToolTurns);
|
|
153
|
+
facts.missingReasoningTurns = toCount(counts.missingReasoningTurns);
|
|
154
|
+
facts.placeholderInjectedTurns = toCount(counts.placeholderInjectedTurns);
|
|
155
|
+
facts.reasoningStrippedTurns = toCount(counts.reasoningStrippedTurns);
|
|
156
|
+
return facts;
|
|
157
|
+
}
|
|
158
|
+
function attachProjectionFacts(facts, stats) {
|
|
159
|
+
if (!stats) {
|
|
160
|
+
facts.projection = { observed: false };
|
|
161
|
+
return facts;
|
|
162
|
+
}
|
|
163
|
+
facts.projection = {
|
|
164
|
+
observed: true,
|
|
165
|
+
badArguments: {
|
|
166
|
+
truncated: toCount(stats.badArguments?.truncated),
|
|
167
|
+
malformed: toCount(stats.badArguments?.malformed)
|
|
168
|
+
},
|
|
169
|
+
rewrittenToolCalls: toCount(stats.rewrittenToolCalls),
|
|
170
|
+
rewrittenAssistantMessages: toCount(stats.rewrittenAssistantMessages),
|
|
171
|
+
rewrittenToolMessages: toCount(stats.rewrittenToolMessages)
|
|
172
|
+
};
|
|
173
|
+
return facts;
|
|
174
|
+
}
|
|
175
|
+
function writeThinkingFacts(facts, body) {
|
|
176
|
+
const record = asRecord(body);
|
|
177
|
+
facts.thinking = resolveThinkingEnum(record);
|
|
178
|
+
facts.reasoningEffort = resolveReasoningEffortEnum(record);
|
|
179
|
+
return facts;
|
|
180
|
+
}
|
|
181
|
+
function resolveThinkingEnum(body) {
|
|
182
|
+
const thinking = asRecord(body.thinking);
|
|
183
|
+
if (typeof thinking.type === "string") {
|
|
184
|
+
const type = thinking.type.trim().toLowerCase();
|
|
185
|
+
if (type === "enabled") return "enabled";
|
|
186
|
+
if (type === "disabled") return "disabled";
|
|
187
|
+
return "other";
|
|
188
|
+
}
|
|
189
|
+
const chatTemplateKwargs = asRecord(body.chat_template_kwargs);
|
|
190
|
+
const enableThinking = body.enable_thinking ?? chatTemplateKwargs.enable_thinking;
|
|
191
|
+
if (typeof enableThinking === "boolean") return enableThinking ? "enabled" : "disabled";
|
|
192
|
+
return "unspecified";
|
|
193
|
+
}
|
|
194
|
+
function resolveReasoningEffortEnum(body) {
|
|
195
|
+
const raw = body.reasoning_effort;
|
|
196
|
+
if (typeof raw === "string") {
|
|
197
|
+
const value = raw.trim().toLowerCase();
|
|
198
|
+
if (REASONING_EFFORT_VALUES.has(value)) return value;
|
|
199
|
+
return "other";
|
|
200
|
+
}
|
|
201
|
+
const reasoning = asRecord(body.reasoning);
|
|
202
|
+
if (reasoning.enabled === false) return "none";
|
|
203
|
+
return "unspecified";
|
|
204
|
+
}
|
|
205
|
+
function deriveRequestFactsFromBody(body, shapingCounts) {
|
|
206
|
+
const facts = createRequestFacts();
|
|
207
|
+
writeThinkingFacts(facts, body);
|
|
208
|
+
const messages = extractMessages(body);
|
|
209
|
+
if (messages) {
|
|
210
|
+
for (const message of messages) {
|
|
211
|
+
const record = asRecord(message);
|
|
212
|
+
if (record.role !== "assistant") continue;
|
|
213
|
+
const toolCalls = record.tool_calls;
|
|
214
|
+
if (!Array.isArray(toolCalls) || toolCalls.length === 0) continue;
|
|
215
|
+
facts.assistantToolTurns += 1;
|
|
216
|
+
const reasoning = typeof record.reasoning_content === "string" ? record.reasoning_content : "";
|
|
217
|
+
if (reasoning.length === 0) {
|
|
218
|
+
facts.missingReasoningTurns += 1;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
return applyShapingCounts(facts, shapingCounts);
|
|
223
|
+
}
|
|
224
|
+
function extractMessages(body) {
|
|
225
|
+
const record = asRecord(body);
|
|
226
|
+
if (Array.isArray(record.messages)) return record.messages;
|
|
227
|
+
if (Array.isArray(record.input)) return record.input;
|
|
228
|
+
return void 0;
|
|
229
|
+
}
|
|
230
|
+
function resolveOutboundWire(value, explicit) {
|
|
231
|
+
if (explicit) return explicit;
|
|
232
|
+
const text = typeof value === "string" ? value : "";
|
|
233
|
+
return /\/responses(?:[/?#]|$)/.test(text) ? "responses" : "chat.completions";
|
|
234
|
+
}
|
|
235
|
+
function isOutboundDiagnosticsEnabled(env = readProcessEnv()) {
|
|
236
|
+
return env?.[OUTBOUND_DIAGNOSTICS_ENV] === "1";
|
|
237
|
+
}
|
|
238
|
+
function readProcessEnv() {
|
|
239
|
+
if (typeof process === "undefined") return void 0;
|
|
240
|
+
return process.env;
|
|
241
|
+
}
|
|
242
|
+
function createConsoleOutboundDiagnosticSink(log = defaultLog) {
|
|
243
|
+
return (event) => {
|
|
244
|
+
try {
|
|
245
|
+
const serialized = serializeOutboundDiagnosticEvent(event);
|
|
246
|
+
log(`${OUTBOUND_DIAGNOSTIC_PREFIX} ${JSON.stringify(serialized)}`);
|
|
247
|
+
} catch {
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
function defaultLog(...args) {
|
|
252
|
+
console.log(...args);
|
|
253
|
+
}
|
|
254
|
+
function resolveOutboundDiagnosticSink(option) {
|
|
255
|
+
if (option?.sink) return option.sink;
|
|
256
|
+
if (option?.enabled === false) return void 0;
|
|
257
|
+
if (option?.enabled === true) return createConsoleOutboundDiagnosticSink();
|
|
258
|
+
if (isOutboundDiagnosticsEnabled()) return createConsoleOutboundDiagnosticSink();
|
|
259
|
+
return void 0;
|
|
260
|
+
}
|
|
261
|
+
function createOutboundDiagnosticCallId() {
|
|
262
|
+
return `obd_${Math.random().toString(36).slice(2, 10)}${Date.now().toString(36)}`;
|
|
263
|
+
}
|
|
264
|
+
function createOutboundDiagnosticCall(args) {
|
|
265
|
+
const callId = sanitizeCallId(args.callId) ?? createOutboundDiagnosticCallId();
|
|
266
|
+
const base = {
|
|
267
|
+
callId,
|
|
268
|
+
seam: args.seam,
|
|
269
|
+
host: args.host,
|
|
270
|
+
wire: args.wire,
|
|
271
|
+
provider: sanitizeProviderModelToken(args.provider),
|
|
272
|
+
model: sanitizeProviderModelToken(args.model)
|
|
273
|
+
};
|
|
274
|
+
return {
|
|
275
|
+
callId,
|
|
276
|
+
dispatch(attempt, facts) {
|
|
277
|
+
emitOutboundDiagnostic(args.sink, {
|
|
278
|
+
...base,
|
|
279
|
+
version: 1,
|
|
280
|
+
phase: "dispatch",
|
|
281
|
+
attempt: toAttempt(attempt),
|
|
282
|
+
facts
|
|
283
|
+
});
|
|
284
|
+
},
|
|
285
|
+
httpResult(attempt, result) {
|
|
286
|
+
const upstreamRequestId = pickUpstreamRequestId(result.headers);
|
|
287
|
+
const providerCallId = sanitizeCallId(result.providerCallId);
|
|
288
|
+
emitOutboundDiagnostic(args.sink, {
|
|
289
|
+
...base,
|
|
290
|
+
version: 1,
|
|
291
|
+
phase: "http-result",
|
|
292
|
+
attempt: toAttempt(attempt),
|
|
293
|
+
status: toStatus(result.status),
|
|
294
|
+
errorCategory: result.errorCategory ?? classifyOutboundErrorCategory(result.status),
|
|
295
|
+
...providerCallId ? { providerCallId } : {},
|
|
296
|
+
...upstreamRequestId ? { upstreamRequestId } : {}
|
|
297
|
+
});
|
|
298
|
+
},
|
|
299
|
+
terminal(attempt, outcome, providerCallId) {
|
|
300
|
+
const safeProviderCallId = sanitizeCallId(providerCallId);
|
|
301
|
+
emitOutboundDiagnostic(args.sink, {
|
|
302
|
+
...base,
|
|
303
|
+
version: 1,
|
|
304
|
+
phase: "terminal",
|
|
305
|
+
attempt: toAttempt(attempt),
|
|
306
|
+
outcome,
|
|
307
|
+
...safeProviderCallId ? { providerCallId: safeProviderCallId } : {}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
function emitOutboundDiagnostic(sink, event) {
|
|
313
|
+
if (!sink) return;
|
|
314
|
+
try {
|
|
315
|
+
sink(event);
|
|
316
|
+
} catch {
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
function serializeOutboundDiagnosticEvent(event) {
|
|
320
|
+
const record = event;
|
|
321
|
+
const out = {
|
|
322
|
+
version: 1,
|
|
323
|
+
phase: toEnum(record.phase, /* @__PURE__ */ new Set(["dispatch", "http-result", "terminal"]), "dispatch"),
|
|
324
|
+
callId: sanitizeCallId(record.callId) ?? "unknown",
|
|
325
|
+
attempt: toAttempt(record.attempt),
|
|
326
|
+
seam: toEnum(record.seam, SEAM_VALUES, void 0) ?? void 0,
|
|
327
|
+
host: toEnum(record.host, HOST_VALUES, void 0) ?? void 0,
|
|
328
|
+
wire: toEnum(record.wire, WIRE_VALUES, void 0) ?? void 0,
|
|
329
|
+
provider: sanitizeProviderModelToken(record.provider),
|
|
330
|
+
model: sanitizeProviderModelToken(record.model)
|
|
331
|
+
};
|
|
332
|
+
const providerCallId = sanitizeCallId(record.providerCallId);
|
|
333
|
+
if (providerCallId) out.providerCallId = providerCallId;
|
|
334
|
+
if (out.phase === "dispatch") {
|
|
335
|
+
out.facts = serializeRequestFacts(record.facts);
|
|
336
|
+
} else if (out.phase === "http-result") {
|
|
337
|
+
out.status = toStatus(record.status);
|
|
338
|
+
out.errorCategory = toEnum(
|
|
339
|
+
record.errorCategory,
|
|
340
|
+
ERROR_CATEGORY_VALUES,
|
|
341
|
+
"other"
|
|
342
|
+
);
|
|
343
|
+
const upstreamRequestId = sanitizeUpstreamRequestId(record.upstreamRequestId);
|
|
344
|
+
if (upstreamRequestId) out.upstreamRequestId = upstreamRequestId;
|
|
345
|
+
} else {
|
|
346
|
+
out.outcome = toEnum(record.outcome, TERMINAL_OUTCOME_VALUES, "other");
|
|
347
|
+
}
|
|
348
|
+
for (const key of Object.keys(out)) {
|
|
349
|
+
if (out[key] === void 0) delete out[key];
|
|
350
|
+
}
|
|
351
|
+
return out;
|
|
352
|
+
}
|
|
353
|
+
function serializeRequestFacts(value) {
|
|
354
|
+
const record = asRecord(value);
|
|
355
|
+
const projection = asRecord(record.projection);
|
|
356
|
+
const output = {
|
|
357
|
+
assistantToolTurns: toCount(record.assistantToolTurns),
|
|
358
|
+
missingReasoningTurns: toCount(record.missingReasoningTurns),
|
|
359
|
+
placeholderInjectedTurns: typeof record.placeholderInjectedTurns === "number" ? toCount(record.placeholderInjectedTurns) : null,
|
|
360
|
+
reasoningStrippedTurns: typeof record.reasoningStrippedTurns === "number" ? toCount(record.reasoningStrippedTurns) : null,
|
|
361
|
+
thinking: toEnum(record.thinking, THINKING_VALUES, "unspecified"),
|
|
362
|
+
reasoningEffort: toEnum(
|
|
363
|
+
record.reasoningEffort,
|
|
364
|
+
REASONING_EFFORT_VALUES,
|
|
365
|
+
"unspecified"
|
|
366
|
+
)
|
|
367
|
+
};
|
|
368
|
+
if (projection.observed === true) {
|
|
369
|
+
const bad = asRecord(projection.badArguments);
|
|
370
|
+
output.projection = {
|
|
371
|
+
observed: true,
|
|
372
|
+
badArguments: {
|
|
373
|
+
truncated: toCount(bad.truncated),
|
|
374
|
+
malformed: toCount(bad.malformed)
|
|
375
|
+
},
|
|
376
|
+
rewrittenToolCalls: toCount(projection.rewrittenToolCalls),
|
|
377
|
+
rewrittenAssistantMessages: toCount(projection.rewrittenAssistantMessages),
|
|
378
|
+
rewrittenToolMessages: toCount(projection.rewrittenToolMessages)
|
|
379
|
+
};
|
|
380
|
+
} else {
|
|
381
|
+
output.projection = { observed: false };
|
|
382
|
+
}
|
|
383
|
+
return output;
|
|
384
|
+
}
|
|
385
|
+
function toCount(value) {
|
|
386
|
+
if (typeof value !== "number" || !Number.isFinite(value) || value < 0) return 0;
|
|
387
|
+
return Math.floor(value);
|
|
388
|
+
}
|
|
389
|
+
function toAttempt(value) {
|
|
390
|
+
const count = toCount(value);
|
|
391
|
+
return count > 0 ? count : 1;
|
|
392
|
+
}
|
|
393
|
+
function toStatus(value) {
|
|
394
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return 0;
|
|
395
|
+
return Math.floor(value);
|
|
396
|
+
}
|
|
397
|
+
function toEnum(value, allowed, fallback) {
|
|
398
|
+
if (typeof value === "string" && allowed.has(value)) return value;
|
|
399
|
+
return fallback;
|
|
400
|
+
}
|
|
401
|
+
function asRecord(value) {
|
|
402
|
+
return value && typeof value === "object" ? value : {};
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export {
|
|
406
|
+
projectUserPartForModel,
|
|
407
|
+
classifyOutboundErrorCategory,
|
|
408
|
+
createRequestShapingCounts,
|
|
409
|
+
createRequestFacts,
|
|
410
|
+
applyShapingCounts,
|
|
411
|
+
attachProjectionFacts,
|
|
412
|
+
writeThinkingFacts,
|
|
413
|
+
deriveRequestFactsFromBody,
|
|
414
|
+
resolveOutboundWire,
|
|
415
|
+
resolveOutboundDiagnosticSink,
|
|
416
|
+
createOutboundDiagnosticCall
|
|
417
|
+
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BUILTIN_PLATFORM_AGENT_KEYS
|
|
3
|
-
} from "./chunk-BNGW5ASC.js";
|
|
4
1
|
import {
|
|
5
2
|
getRuntimeServerContext,
|
|
6
3
|
partitionReadServers,
|
|
@@ -10,17 +7,22 @@ import {
|
|
|
10
7
|
scheduleExistingRecordReplication,
|
|
11
8
|
shouldReplaceLocalWithRemoteRecord,
|
|
12
9
|
shouldReplicateLocalRecord
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4YRTZIVN.js";
|
|
14
11
|
import {
|
|
15
12
|
fetchFromClientDb,
|
|
16
13
|
fetchFromServer,
|
|
17
|
-
isAbortError,
|
|
18
14
|
isReadTimeoutError,
|
|
19
15
|
logger
|
|
20
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6Q7UTJKR.js";
|
|
21
17
|
import {
|
|
22
18
|
shouldReplaceWithNextRecord
|
|
23
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D2MDMY2M.js";
|
|
20
|
+
import {
|
|
21
|
+
isAbortError
|
|
22
|
+
} from "./chunk-7DPNBQSV.js";
|
|
23
|
+
import {
|
|
24
|
+
isBuiltinPlatformAgentKey
|
|
25
|
+
} from "./chunk-3LI5UCTU.js";
|
|
24
26
|
import {
|
|
25
27
|
NOLO_CLUSTER_SERVERS,
|
|
26
28
|
normalizeKnownServerOrigin
|
|
@@ -30,20 +32,14 @@ import {
|
|
|
30
32
|
} from "./chunk-CF7PE763.js";
|
|
31
33
|
|
|
32
34
|
// packages/database/actions/agentReadResolution.ts
|
|
33
|
-
var BUILTIN_PLATFORM_AGENT_KEYS2 = [
|
|
34
|
-
...BUILTIN_PLATFORM_AGENT_KEYS
|
|
35
|
-
];
|
|
36
|
-
var BUILTIN_PLATFORM_AGENT_KEY_SET = new Set(
|
|
37
|
-
BUILTIN_PLATFORM_AGENT_KEYS2
|
|
38
|
-
);
|
|
39
35
|
var normalizeServer = (server) => normalizeKnownServerOrigin(server) ?? normalizeServerOrigin(server);
|
|
40
|
-
var
|
|
36
|
+
var isBuiltinPlatformAgentKey2 = (dbKey) => isBuiltinPlatformAgentKey(dbKey);
|
|
41
37
|
var resolveAgentReadServers = ({
|
|
42
38
|
dbKey,
|
|
43
39
|
configuredServers
|
|
44
40
|
}) => {
|
|
45
41
|
const normalized = configuredServers.map(normalizeServer);
|
|
46
|
-
if (!
|
|
42
|
+
if (!isBuiltinPlatformAgentKey2(dbKey)) {
|
|
47
43
|
return Array.from(new Set(normalized));
|
|
48
44
|
}
|
|
49
45
|
return Array.from(/* @__PURE__ */ new Set([...normalized, ...NOLO_CLUSTER_SERVERS]));
|