nolo-cli 0.108.0-alpha.2 → 0.108.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/{_executeModel-BY3P5LBB.js → _executeModel-T7PIVJIW.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-66KXCSRR.js → agentDeleteCommand-VIDCZAFG.js} +154 -68
- package/{agentEmailCommands-63UTONDK.js → agentEmailCommands-PCHDY4ZP.js} +125 -105
- package/{agentGrantCommands-M3XFO6EN.js → agentGrantCommands-HOJ3JBBQ.js} +3 -3
- package/agentListCommands-QNUAN3YH.js +800 -0
- package/{agentMachineCommands-Z6RGPZSG.js → agentMachineCommands-C2TMTQNU.js} +54 -58
- package/{agentProviderCommands-X3UNW77C.js → agentProviderCommands-7PCGR77I.js} +97 -2
- package/{agentPullCommand-O5MPVJ5E.js → agentPullCommand-7GCDM4BK.js} +7 -7
- package/agentRecordCommands-T4XAUFF5.js +149 -0
- package/agentRunCommand-T3AW43I6.js +179 -0
- package/{agentRunControl-AVJR4JW4.js → agentRunControl-2CDZNHXV.js} +10 -2
- package/{agentRuntimeLocal-E67CTV45.js → agentRuntimeLocal-SQUDRZWE.js} +41 -46
- package/{agentSlice-DG5TIQHE.js → agentSlice-HBGFNXUG.js} +22 -16
- package/{appDeleteCommands-Z36CLGUK.js → appDeleteCommands-CLLYGEBC.js} +55 -56
- package/{appDeployCommands-ECMUWG6S.js → appDeployCommands-HY2NBNDQ.js} +64 -60
- package/{appDeployStatusCommands-CL24TDMA.js → appDeployStatusCommands-SGO5GEXH.js} +53 -53
- package/{appGetCommands-ITHGOYGJ.js → appGetCommands-ZPYK2N5D.js} +53 -53
- package/{appListCommands-EEOSI6RC.js → appListCommands-O2BHIMKS.js} +54 -56
- package/{authCommand-HGP2XTKC.js → authCommand-GUIREPHK.js} +132 -83
- 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-2F7RJC6L.js → chunk-2C47W7IJ.js} +1 -1
- package/chunk-2DRYS3G3.js +13941 -0
- package/{chunk-VLTIYV3X.js → chunk-2ECUZDEL.js} +37 -11
- package/{chunk-LPIYPEME.js → chunk-2FY3GHBV.js} +1449 -1094
- 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-FV3JEYR3.js → chunk-3SK3J3IF.js} +69 -10
- 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-KZJP33ZK.js → chunk-5WLADF62.js} +90 -36
- package/chunk-5XN3OSCT.js +164 -0
- package/{chunk-T3GEOSRJ.js → chunk-5YJWHTKD.js} +69 -57
- 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-IQPFGYO3.js → chunk-726TCFLQ.js} +5 -5
- package/{chunk-CW67PN7L.js → chunk-7B3BVGU3.js} +61 -11
- package/chunk-7DPNBQSV.js +9 -0
- package/{chunk-LWKP7AWH.js → chunk-A337PRRR.js} +41 -17
- package/chunk-AGIM7IMJ.js +147 -0
- package/chunk-AI7XJMMQ.js +1858 -0
- package/{chunk-ABQYVJBJ.js → chunk-AIZE5TDM.js} +3 -3
- package/{chunk-LJ5VW2UJ.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-DOTZ5GTO.js → chunk-AWYWIWTU.js} +310 -95
- package/chunk-B77W7P7J.js +95 -0
- 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-TRV2MIDW.js → chunk-EXAJ6DCR.js} +1 -0
- package/chunk-EYLGAEB4.js +784 -0
- package/{chunk-3BMYXEUW.js → chunk-F2UJW3EK.js} +1 -1
- package/{chunk-RVE4DCV3.js → chunk-FBLRSLZH.js} +26 -31
- 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-I42VC5KR.js +15 -0
- package/{chunk-H4AHY5BU.js → chunk-IFALJPEX.js} +69 -20
- package/{chunk-O6OSWFZQ.js → chunk-IHPDK6UD.js} +6 -0
- package/{chunk-UKWGR5SS.js → chunk-IJERIUXS.js} +242 -1146
- package/chunk-IN5UVHHP.js +843 -0
- package/{chunk-QDSINZM3.js → chunk-IXH3HKY2.js} +1 -22
- package/{chunk-SYXOBWOC.js → chunk-JGLKZGGZ.js} +124 -703
- package/chunk-JJM3WS6W.js +132 -0
- package/{chunk-TR22GEUU.js → chunk-JKDL7BRF.js} +20 -11
- package/chunk-JONVI6DK.js +593 -0
- package/{chunk-SH43IESU.js → chunk-KQ7DAEZ7.js} +202 -32
- package/chunk-KWEDNOZZ.js +7546 -0
- package/{chunk-6OZ36FXI.js → chunk-KY6GPQ7O.js} +36 -12
- package/{chunk-RZGLXO2B.js → chunk-L5YKEQLD.js} +1715 -451
- package/{chunk-MRIHM22T.js → chunk-LAVSW2C2.js} +77 -144
- package/{chunk-HSSRGGXJ.js → chunk-LNEKN523.js} +10 -7
- package/chunk-LWLNLZC5.js +265 -0
- package/{chunk-YTLRHRH3.js → chunk-MDOZSLDE.js} +17 -15
- package/{chunk-I3TQJXQ7.js → chunk-MHD5JBSS.js} +131 -10
- package/{chunk-QU7KDSZX.js → chunk-MW533QT3.js} +190 -8
- package/{chunk-4NNTATRH.js → chunk-NLEJWKF5.js} +10394 -8549
- 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-Z5625XML.js → chunk-OYBAT7RT.js} +113 -17
- package/chunk-P3SFAHIL.js +134 -0
- 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-HVURBGF3.js → chunk-PWRS2SU2.js} +27 -9
- package/chunk-QFEW2ULV.js +42 -0
- package/{chunk-IIVGDG4I.js → chunk-QLQ573SU.js} +124 -77
- package/chunk-QQ56R7KS.js +88 -0
- package/{chunk-PWBDVI4R.js → chunk-QRFI5NHO.js} +269 -141
- 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-JRQFUXY7.js → chunk-RRQQAG7W.js} +93 -24
- package/chunk-SJ3QFSQS.js +1147 -0
- package/{chunk-Q67DOFOO.js → chunk-SZC4REES.js} +212 -105
- package/{chunk-BYMV6QZG.js → chunk-TNIX77YM.js} +4 -0
- package/{chunk-GNCCNNZD.js → chunk-TSBCYK5F.js} +7 -7
- package/chunk-TY3TIUJK.js +89 -0
- package/chunk-U4STABYN.js +81 -0
- package/chunk-UEILX4EV.js +15 -0
- package/{chunk-AODJ7WSF.js → chunk-UIYVU3S4.js} +90 -79
- package/{chunk-YYLHWIW6.js → chunk-UKZX3NHN.js} +1 -1
- package/{chunk-7S4YWN7P.js → chunk-V2UPLOXT.js} +4 -4
- 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-PHXD6JTX.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-BFDFRLLQ.js → chunk-WW2USJ3C.js} +3 -3
- 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-2OASQKU2.js → chunk-XRXYRHE5.js} +187 -16
- package/{chunk-JEDZAO7L.js → chunk-YBNHPX4S.js} +257 -37
- package/{chunk-JPGCXHNM.js → chunk-YLMMECCH.js} +1 -1
- package/{chunk-6D6VBVEW.js → chunk-YVTZMLXZ.js} +96 -25
- package/{chunk-G4VIHCGJ.js → chunk-ZR5RAAVI.js} +35 -30
- 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-3XWUYELA.js +839 -0
- package/contentThunks-ALRPUDRE.js +83 -0
- package/{cooldownCommands-REAWYVTY.js → cooldownCommands-JFKTYS2D.js} +2 -2
- package/{createAgentAutomationAction-7HX7KBES.js → createAgentAutomationAction-XXRXCDFJ.js} +51 -43
- package/createDialogAction-FVSAW7WZ.js +75 -0
- package/{createPageAction-QWNMGO3O.js → createPageAction-RT6DPYP5.js} +60 -51
- package/{chunk-UDIIVXKA.js → cursorProvider-YGGNMVWX.js} +2822 -10269
- 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-P2K47T3P.js → dialogSlice-GFCT74GI.js} +66 -41
- package/{dist-VODFSGNG.js → dist-NJC2W7I4.js} +61 -54
- package/{docCreateCommands-43JKQEIH.js → docCreateCommands-N3KPGP4A.js} +51 -54
- package/{docDeleteCommands-RL6D46XE.js → docDeleteCommands-4CR4TXZ7.js} +53 -55
- package/{docReadCommands-TOEUEQDG.js → docReadCommands-62XK57VS.js} +50 -53
- package/{docStore-3AHKTJRI.js → docStore-Z7KBPFXX.js} +24 -15
- package/{docUpdateCommands-FWU5G2XB.js → docUpdateCommands-DRAAWIDC.js} +51 -54
- package/{fetchMessages-EIU7UFFK.js → fetchMessages-LM6OMMQQ.js} +5 -4
- package/{getPricing-LUSEABA6.js → getPricing-XDF4OLTC.js} +6 -6
- package/handleSendMessageAction-NRKUSHK2.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-S6UEEOSA.js +239 -0
- package/{localRuntimeAuthority-6IR6BBXE.js → localRuntimeAuthority-YSE6NH7B.js} +12 -9
- package/{localRuntimeDb-SYQGUF4U.js → localRuntimeDb-7FBKDEQY.js} +1 -1
- package/{machineCommands-TTKK4F7C.js → machineCommands-IQYHOOVH.js} +493 -152
- package/machineWsRunDispatch-3ZUMZUGP.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-XI3WUPTI.js → providerPresetApply-HIPK67DU.js} +9 -9
- package/{providerRegistry-KEPWWGXD.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-KIMUDPPV.js → readlineWorkspace-BCDVMOR5.js} +6947 -3879
- package/{removeDialogAgentAction-J6X5QMTA.js → removeDialogAgentAction-EFQ4O2IQ.js} +27 -26
- package/{runAgentClientLoop-AN4WIRPQ.js → runAgentClientLoop-5RBD3DE6.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-NA4JMIGT.js → spaceCommands-WZCLRGBO.js} +56 -56
- package/{streamAgentChatTurn-3TYTHZPJ.js → streamAgentChatTurn-YJTEHUH7.js} +371 -1556
- 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-ZT4GXXDQ.js +122 -0
- package/{tuiSummaryLlmCaller-UFGFOIIW.js → tuiSummaryLlmCaller-ISODIW2O.js} +14 -29
- package/{updateCommands-2M74UL7P.js → updateCommands-NQXAGFM7.js} +3 -3
- package/{updateDialogTitleAction-RDHNT265.js → updateDialogTitleAction-2PQTFUUV.js} +101 -57
- package/action-P4TNFGAD.js +0 -31
- package/agentListCommands-NXCOTTZL.js +0 -411
- package/agentRecordCommands-JP54ZWND.js +0 -129
- package/agentRunCommand-RMQWWSHF.js +0 -157
- package/browser-image-compression-MFDTD7K6.js +0 -1763
- package/chatQueueReduxAdapter-DKLWTT3G.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-P3GYTNDF.js +0 -34
- package/chunk-PUOC4YRO.js +0 -394
- package/chunk-S7Z2HMCN.js +0 -25
- package/chunk-Y5GCAMGP.js +0 -9
- package/chunk-YPREESF4.js +0 -225
- package/chunk-YWIEQS6H.js +0 -21409
- package/contentThunks-JHK6X2KU.js +0 -73
- package/createDialogAction-VUUUZL54.js +0 -65
- package/dialogCommands-EN7TYD3I.js +0 -100
- package/handleSendMessageAction-ID5IKXUE.js +0 -633
- package/machineWsRunDispatch-RX64L3ET.js +0 -145
- package/setDialogExtraReferencesAction-WX5VTY6O.js +0 -30
- package/settingSlice-P4ZW7K5X.js +0 -204
- package/syncMapping-N6RGXGBW.js +0 -437
- package/tools-34SEJSLQ.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,636 @@
|
|
|
1
|
+
import { IManifest } from 'level-supports'
|
|
2
|
+
import * as Transcoder from 'level-transcoder'
|
|
3
|
+
import { EventEmitter } from 'events'
|
|
4
|
+
import { AbstractChainedBatch } from './abstract-chained-batch'
|
|
5
|
+
import { AbstractSublevel, AbstractSublevelOptions } from './abstract-sublevel'
|
|
6
|
+
import { AbstractSnapshot } from './abstract-snapshot'
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
AbstractIterator,
|
|
10
|
+
AbstractIteratorOptions,
|
|
11
|
+
AbstractKeyIterator,
|
|
12
|
+
AbstractKeyIteratorOptions,
|
|
13
|
+
AbstractValueIterator,
|
|
14
|
+
AbstractValueIteratorOptions
|
|
15
|
+
} from './abstract-iterator'
|
|
16
|
+
|
|
17
|
+
import { AbstractReadOptions, AbstractResource, RangeOptions } from './interfaces'
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Abstract class for a lexicographically sorted key-value database.
|
|
21
|
+
*
|
|
22
|
+
* @template TFormat The type used internally by the database to store data.
|
|
23
|
+
* @template KDefault The default type of keys if not overridden on operations.
|
|
24
|
+
* @template VDefault The default type of values if not overridden on operations.
|
|
25
|
+
*/
|
|
26
|
+
declare class AbstractLevel<TFormat, KDefault = string, VDefault = string>
|
|
27
|
+
extends EventEmitter implements AbstractResource {
|
|
28
|
+
/**
|
|
29
|
+
* Private database constructor.
|
|
30
|
+
*
|
|
31
|
+
* @param manifest A [manifest](https://github.com/Level/supports) describing the
|
|
32
|
+
* features supported by (the private API of) this database.
|
|
33
|
+
* @param options Options, of which some will be forwarded to {@link open}.
|
|
34
|
+
*/
|
|
35
|
+
constructor (
|
|
36
|
+
manifest: Partial<IManifest>,
|
|
37
|
+
options?: AbstractDatabaseOptions<KDefault, VDefault> | undefined
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* A [manifest](https://github.com/Level/supports) describing the features
|
|
42
|
+
* supported by this database.
|
|
43
|
+
*/
|
|
44
|
+
supports: IManifest
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Allows userland _hook functions_ to customize behavior of the database.
|
|
48
|
+
*/
|
|
49
|
+
hooks: AbstractDatabaseHooks<typeof this>
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Read-only getter that returns a string reflecting the current state of the database:
|
|
53
|
+
*
|
|
54
|
+
* - `'opening'` - waiting for the database to be opened
|
|
55
|
+
* - `'open'` - successfully opened the database
|
|
56
|
+
* - `'closing'` - waiting for the database to be closed
|
|
57
|
+
* - `'closed'` - database is closed.
|
|
58
|
+
*/
|
|
59
|
+
get status (): 'opening' | 'open' | 'closing' | 'closed'
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Open the database.
|
|
63
|
+
*/
|
|
64
|
+
open (): Promise<void>
|
|
65
|
+
open (options: AbstractOpenOptions): Promise<void>
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Close the database.
|
|
69
|
+
*/
|
|
70
|
+
close (): Promise<void>
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Close the database.
|
|
74
|
+
*/
|
|
75
|
+
[Symbol.asyncDispose] (): Promise<void>
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Get a value from the database by {@link key}.
|
|
79
|
+
*/
|
|
80
|
+
get (key: KDefault): Promise<VDefault | undefined>
|
|
81
|
+
get<K = KDefault, V = VDefault> (key: K, options: AbstractGetOptions<K, V>): Promise<V | undefined>
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Synchronously get a value from the database by {@link key}.
|
|
85
|
+
*/
|
|
86
|
+
getSync (key: KDefault): VDefault | undefined
|
|
87
|
+
getSync<K = KDefault, V = VDefault> (key: K, options: AbstractGetOptions<K, V>): V | undefined
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Get multiple values from the database by an array of {@link keys}.
|
|
91
|
+
*/
|
|
92
|
+
getMany (keys: KDefault[]): Promise<(VDefault | undefined)[]>
|
|
93
|
+
|
|
94
|
+
getMany<K = KDefault, V = VDefault> (
|
|
95
|
+
keys: K[],
|
|
96
|
+
options: AbstractGetManyOptions<K, V>
|
|
97
|
+
): Promise<(V | undefined)[]>
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Check if the database has an entry with the given {@link key}.
|
|
101
|
+
*
|
|
102
|
+
* @returns A promise for a boolean that will be true if the entry exists.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```js
|
|
106
|
+
* if (await db.has('fruit')) {
|
|
107
|
+
* console.log('We have fruit')
|
|
108
|
+
* }
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
has (key: KDefault): Promise<boolean>
|
|
112
|
+
has<K = KDefault> (key: K, options: AbstractHasOptions<K>): Promise<boolean>
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Check if the database has entries with the given {@link keys}.
|
|
116
|
+
*
|
|
117
|
+
* @returns A promise for an array of booleans with the same order as {@link keys}.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* ```js
|
|
121
|
+
* await db.put('a', '123')
|
|
122
|
+
* await db.hasMany(['a', 'b']) // [true, false]
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
hasMany (keys: KDefault[]): Promise<boolean[]>
|
|
126
|
+
hasMany<K = KDefault> (keys: K[], options: AbstractHasManyOptions<K>): Promise<boolean[]>
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Add a new entry or overwrite an existing entry.
|
|
130
|
+
*/
|
|
131
|
+
put (key: KDefault, value: VDefault): Promise<void>
|
|
132
|
+
|
|
133
|
+
put<K = KDefault, V = VDefault> (
|
|
134
|
+
key: K,
|
|
135
|
+
value: V,
|
|
136
|
+
options: AbstractPutOptions<K, V>
|
|
137
|
+
): Promise<void>
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Delete an entry by {@link key}.
|
|
141
|
+
*/
|
|
142
|
+
del (key: KDefault): Promise<void>
|
|
143
|
+
|
|
144
|
+
del<K = KDefault> (
|
|
145
|
+
key: K,
|
|
146
|
+
options: AbstractDelOptions<K>
|
|
147
|
+
): Promise<void>
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Perform multiple _put_ and/or _del_ operations in bulk.
|
|
151
|
+
*/
|
|
152
|
+
batch (
|
|
153
|
+
operations: Array<AbstractBatchOperation<typeof this, KDefault, VDefault>>
|
|
154
|
+
): Promise<void>
|
|
155
|
+
|
|
156
|
+
batch<K = KDefault, V = VDefault> (
|
|
157
|
+
operations: Array<AbstractBatchOperation<typeof this, K, V>>,
|
|
158
|
+
options: AbstractBatchOptions<K, V>
|
|
159
|
+
): Promise<void>
|
|
160
|
+
|
|
161
|
+
batch (): AbstractChainedBatch<typeof this, KDefault, VDefault>
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Create an iterator. For example:
|
|
165
|
+
*
|
|
166
|
+
* ```js
|
|
167
|
+
* for await (const [key, value] of db.iterator({ gte: 'a' })) {
|
|
168
|
+
* console.log([key, value])
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
iterator (): AbstractIterator<typeof this, KDefault, VDefault>
|
|
173
|
+
iterator<K = KDefault, V = VDefault> (
|
|
174
|
+
options: AbstractIteratorOptions<K, V>
|
|
175
|
+
): AbstractIterator<typeof this, K, V>
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Create a key iterator. For example:
|
|
179
|
+
*
|
|
180
|
+
* ```js
|
|
181
|
+
* for await (const key of db.keys({ gte: 'a' })) {
|
|
182
|
+
* console.log(key)
|
|
183
|
+
* }
|
|
184
|
+
* ```
|
|
185
|
+
*/
|
|
186
|
+
keys (): AbstractKeyIterator<typeof this, KDefault>
|
|
187
|
+
keys<K = KDefault> (
|
|
188
|
+
options: AbstractKeyIteratorOptions<K>
|
|
189
|
+
): AbstractKeyIterator<typeof this, K>
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Create a value iterator. For example:
|
|
193
|
+
*
|
|
194
|
+
* ```js
|
|
195
|
+
* for await (const value of db.values({ gte: 'a' })) {
|
|
196
|
+
* console.log(value)
|
|
197
|
+
* }
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
values (): AbstractValueIterator<typeof this, KDefault, VDefault>
|
|
201
|
+
values<K = KDefault, V = VDefault> (
|
|
202
|
+
options: AbstractValueIteratorOptions<K, V>
|
|
203
|
+
): AbstractValueIterator<typeof this, K, V>
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Delete all entries or a range.
|
|
207
|
+
*/
|
|
208
|
+
clear (): Promise<void>
|
|
209
|
+
clear<K = KDefault> (options: AbstractClearOptions<K>): Promise<void>
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Create a sublevel.
|
|
213
|
+
* @param name Name of the sublevel, used to prefix keys.
|
|
214
|
+
*/
|
|
215
|
+
sublevel (name: string | string[]): AbstractSublevel<typeof this, TFormat, string, string>
|
|
216
|
+
sublevel<K = string, V = string> (
|
|
217
|
+
name: string | string[],
|
|
218
|
+
options: AbstractSublevelOptions<K, V>
|
|
219
|
+
): AbstractSublevel<typeof this, TFormat, K, V>
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Add sublevel prefix to the given {@link key}, which must be already-encoded. If this
|
|
223
|
+
* database is not a sublevel, the given {@link key} is returned as-is.
|
|
224
|
+
*
|
|
225
|
+
* @param key Key to add prefix to.
|
|
226
|
+
* @param keyFormat Format of {@link key}. One of `'utf8'`, `'buffer'`, `'view'`.
|
|
227
|
+
* If `'utf8'` then {@link key} must be a string and the return value will be a string.
|
|
228
|
+
* If `'buffer'` then Buffer, if `'view'` then Uint8Array.
|
|
229
|
+
* @param local If true, add prefix for parent database, else for root database (default).
|
|
230
|
+
*/
|
|
231
|
+
prefixKey (key: string, keyFormat: 'utf8', local?: boolean | undefined): string
|
|
232
|
+
prefixKey (key: Buffer, keyFormat: 'buffer', local?: boolean | undefined): Buffer
|
|
233
|
+
prefixKey (key: Uint8Array, keyFormat: 'view', local?: boolean | undefined): Uint8Array
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Returns the given {@link encoding} argument as a normalized encoding object
|
|
237
|
+
* that follows the [`level-transcoder`](https://github.com/Level/transcoder)
|
|
238
|
+
* encoding interface.
|
|
239
|
+
*/
|
|
240
|
+
keyEncoding<N extends Transcoder.KnownEncodingName> (
|
|
241
|
+
encoding: N
|
|
242
|
+
): Transcoder.KnownEncoding<N, TFormat>
|
|
243
|
+
|
|
244
|
+
keyEncoding<TIn, TOut> (
|
|
245
|
+
encoding: Transcoder.MixedEncoding<TIn, any, TOut>
|
|
246
|
+
): Transcoder.Encoding<TIn, TFormat, TOut>
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Returns the default key encoding of the database as a normalized encoding
|
|
250
|
+
* object that follows the [`level-transcoder`](https://github.com/Level/transcoder)
|
|
251
|
+
* encoding interface.
|
|
252
|
+
*/
|
|
253
|
+
keyEncoding (): Transcoder.Encoding<KDefault, TFormat, KDefault>
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Returns the given {@link encoding} argument as a normalized encoding object
|
|
257
|
+
* that follows the [`level-transcoder`](https://github.com/Level/transcoder)
|
|
258
|
+
* encoding interface.
|
|
259
|
+
*/
|
|
260
|
+
valueEncoding<N extends Transcoder.KnownEncodingName> (
|
|
261
|
+
encoding: N
|
|
262
|
+
): Transcoder.KnownEncoding<N, TFormat>
|
|
263
|
+
|
|
264
|
+
valueEncoding<TIn, TOut> (
|
|
265
|
+
encoding: Transcoder.MixedEncoding<TIn, any, TOut>
|
|
266
|
+
): Transcoder.Encoding<TIn, TFormat, TOut>
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Returns the default value encoding of the database as a normalized encoding
|
|
270
|
+
* object that follows the [`level-transcoder`](https://github.com/Level/transcoder)
|
|
271
|
+
* encoding interface.
|
|
272
|
+
*/
|
|
273
|
+
valueEncoding (): Transcoder.Encoding<VDefault, TFormat, VDefault>
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Create an explicit snapshot. Throws a `LEVEL_NOT_SUPPORTED` error if
|
|
277
|
+
* `db.supports.explicitSnapshots` is false ([Level/community#118][1]).
|
|
278
|
+
*
|
|
279
|
+
* @param options There are currently no options but specific implementations
|
|
280
|
+
* may add their own.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* ```ts
|
|
284
|
+
* await db.put('example', 'before')
|
|
285
|
+
* await using snapshot = db.snapshot()
|
|
286
|
+
* await db.put('example', 'after')
|
|
287
|
+
* await db.get('example', { snapshot })) // Returns 'before'
|
|
288
|
+
* ```
|
|
289
|
+
*
|
|
290
|
+
* [1]: https://github.com/Level/community/issues/118
|
|
291
|
+
*/
|
|
292
|
+
snapshot (options?: any | undefined): AbstractSnapshot
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Call the function {@link fn} at a later time when {@link status} changes to
|
|
296
|
+
* `'open'` or `'closed'`. Known as a _deferred operation_.
|
|
297
|
+
*
|
|
298
|
+
* @param fn Synchronous function to (eventually) call.
|
|
299
|
+
* @param options Options for the deferred operation.
|
|
300
|
+
*/
|
|
301
|
+
defer (fn: Function, options?: AbstractDeferOptions | undefined): void
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Call the function {@link fn} at a later time when {@link status} changes to
|
|
305
|
+
* `'open'` or `'closed'`. Known as a _deferred operation_.
|
|
306
|
+
*
|
|
307
|
+
* @param fn Asynchronous function to (eventually) call.
|
|
308
|
+
* @param options Options for the deferred operation.
|
|
309
|
+
* @returns A promise for the result of {@link fn}.
|
|
310
|
+
*/
|
|
311
|
+
deferAsync<T> (fn: () => Promise<T>, options?: AbstractDeferOptions | undefined): Promise<T>
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Keep track of the given {@link resource} in order to call its `close()` method when
|
|
315
|
+
* the database is closed. Once successfully closed, the resource will no longer be
|
|
316
|
+
* tracked, to the same effect as manually calling {@link detachResource}. When given
|
|
317
|
+
* multiple resources, the database will close them in parallel. Resources are kept in
|
|
318
|
+
* a {@link Set} so that the same object will not be attached (and closed) twice.
|
|
319
|
+
*
|
|
320
|
+
* Intended for objects that rely on an open database. Used internally for built-in
|
|
321
|
+
* resources like iterators and sublevels, and is publicly exposed for custom
|
|
322
|
+
* resources.
|
|
323
|
+
*/
|
|
324
|
+
attachResource (resource: AbstractResource): void
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Stop tracking the given {@link resource}.
|
|
328
|
+
*/
|
|
329
|
+
detachResource (resource: AbstractResource): void
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export { AbstractLevel }
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Options for the database constructor.
|
|
336
|
+
*/
|
|
337
|
+
export interface AbstractDatabaseOptions<K, V>
|
|
338
|
+
extends Omit<AbstractOpenOptions, 'passive'> {
|
|
339
|
+
/**
|
|
340
|
+
* Encoding to use for keys.
|
|
341
|
+
* @defaultValue `'utf8'`
|
|
342
|
+
*/
|
|
343
|
+
keyEncoding?: string | Transcoder.PartialEncoding<K> | undefined
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Encoding to use for values.
|
|
347
|
+
* @defaultValue `'utf8'`
|
|
348
|
+
*/
|
|
349
|
+
valueEncoding?: string | Transcoder.PartialEncoding<V> | undefined
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Options for the {@link AbstractLevel.open} method.
|
|
354
|
+
*/
|
|
355
|
+
export interface AbstractOpenOptions {
|
|
356
|
+
/**
|
|
357
|
+
* If `true`, create an empty database if one doesn't already exist. If `false`
|
|
358
|
+
* and the database doesn't exist, opening will fail.
|
|
359
|
+
*
|
|
360
|
+
* @defaultValue `true`
|
|
361
|
+
*/
|
|
362
|
+
createIfMissing?: boolean | undefined
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* If `true` and the database already exists, opening will fail.
|
|
366
|
+
*
|
|
367
|
+
* @defaultValue `false`
|
|
368
|
+
*/
|
|
369
|
+
errorIfExists?: boolean | undefined
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Wait for, but do not initiate, opening of the database.
|
|
373
|
+
*
|
|
374
|
+
* @defaultValue `false`
|
|
375
|
+
*/
|
|
376
|
+
passive?: boolean | undefined
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Options for the {@link AbstractLevel.get} method.
|
|
381
|
+
*/
|
|
382
|
+
export interface AbstractGetOptions<K, V> extends AbstractReadOptions {
|
|
383
|
+
/**
|
|
384
|
+
* Custom key encoding for this operation, used to encode the `key`.
|
|
385
|
+
*/
|
|
386
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Custom value encoding for this operation, used to decode the value.
|
|
390
|
+
*/
|
|
391
|
+
valueEncoding?: string | Transcoder.PartialDecoder<V> | undefined
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Options for the {@link AbstractLevel.getMany} method.
|
|
396
|
+
*/
|
|
397
|
+
export interface AbstractGetManyOptions<K, V> extends AbstractReadOptions {
|
|
398
|
+
/**
|
|
399
|
+
* Custom key encoding for this operation, used to encode the `keys`.
|
|
400
|
+
*/
|
|
401
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Custom value encoding for this operation, used to decode values.
|
|
405
|
+
*/
|
|
406
|
+
valueEncoding?: string | Transcoder.PartialDecoder<V> | undefined
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Options for the {@link AbstractLevel.has} method.
|
|
411
|
+
*/
|
|
412
|
+
export interface AbstractHasOptions<K> extends AbstractReadOptions {
|
|
413
|
+
/**
|
|
414
|
+
* Custom key encoding for this operation, used to encode the `key`.
|
|
415
|
+
*/
|
|
416
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Options for the {@link AbstractLevel.hasMany} method.
|
|
421
|
+
*/
|
|
422
|
+
export interface AbstractHasManyOptions<K> extends AbstractReadOptions {
|
|
423
|
+
/**
|
|
424
|
+
* Custom key encoding for this operation, used to encode the `keys`.
|
|
425
|
+
*/
|
|
426
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Options for the {@link AbstractLevel.put} method.
|
|
431
|
+
*/
|
|
432
|
+
export interface AbstractPutOptions<K, V> {
|
|
433
|
+
/**
|
|
434
|
+
* Custom key encoding for this operation, used to encode the `key`.
|
|
435
|
+
*/
|
|
436
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Custom value encoding for this operation, used to encode the `value`.
|
|
440
|
+
*/
|
|
441
|
+
valueEncoding?: string | Transcoder.PartialEncoder<V> | undefined
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Options for the {@link AbstractLevel.del} method.
|
|
446
|
+
*/
|
|
447
|
+
export interface AbstractDelOptions<K> {
|
|
448
|
+
/**
|
|
449
|
+
* Custom key encoding for this operation, used to encode the `key`.
|
|
450
|
+
*/
|
|
451
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Options for the {@link AbstractLevel.batch} method.
|
|
456
|
+
*/
|
|
457
|
+
export interface AbstractBatchOptions<K, V> {
|
|
458
|
+
/**
|
|
459
|
+
* Custom key encoding for this batch, used to encode keys.
|
|
460
|
+
*/
|
|
461
|
+
keyEncoding?: string | Transcoder.PartialEncoder<K> | undefined
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Custom value encoding for this batch, used to encode values.
|
|
465
|
+
*/
|
|
466
|
+
valueEncoding?: string | Transcoder.PartialEncoder<V> | undefined
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* A _put_ or _del_ operation to be committed with the {@link AbstractLevel.batch}
|
|
471
|
+
* method.
|
|
472
|
+
*/
|
|
473
|
+
export type AbstractBatchOperation<TDatabase, K, V> =
|
|
474
|
+
AbstractBatchPutOperation<TDatabase, K, V> | AbstractBatchDelOperation<TDatabase, K>
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* A _put_ operation to be committed with the {@link AbstractLevel.batch} method.
|
|
478
|
+
*/
|
|
479
|
+
export interface AbstractBatchPutOperation<TDatabase, K, V> {
|
|
480
|
+
type: 'put'
|
|
481
|
+
key: K
|
|
482
|
+
value: V
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Custom key encoding for this _put_ operation, used to encode the {@link key}.
|
|
486
|
+
*/
|
|
487
|
+
keyEncoding?: string | Transcoder.PartialEncoding<K> | undefined
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Custom key encoding for this _put_ operation, used to encode the {@link value}.
|
|
491
|
+
*/
|
|
492
|
+
valueEncoding?: string | Transcoder.PartialEncoding<V> | undefined
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Act as though the _put_ operation is performed on the given sublevel, to similar
|
|
496
|
+
* effect as:
|
|
497
|
+
*
|
|
498
|
+
* ```js
|
|
499
|
+
* await sublevel.batch([{ type: 'put', key, value }])
|
|
500
|
+
* ```
|
|
501
|
+
*
|
|
502
|
+
* This allows atomically committing data to multiple sublevels. The {@link key} will
|
|
503
|
+
* be prefixed with the `prefix` of the sublevel, and the {@link key} and {@link value}
|
|
504
|
+
* will be encoded by the sublevel (using the default encodings of the sublevel unless
|
|
505
|
+
* {@link keyEncoding} and / or {@link valueEncoding} are provided).
|
|
506
|
+
*/
|
|
507
|
+
sublevel?: AbstractSublevel<TDatabase, any, any, any> | undefined
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* A _del_ operation to be committed with the {@link AbstractLevel.batch} method.
|
|
512
|
+
*/
|
|
513
|
+
export interface AbstractBatchDelOperation<TDatabase, K> {
|
|
514
|
+
type: 'del'
|
|
515
|
+
key: K
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Custom key encoding for this _del_ operation, used to encode the {@link key}.
|
|
519
|
+
*/
|
|
520
|
+
keyEncoding?: string | Transcoder.PartialEncoding<K> | undefined
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Act as though the _del_ operation is performed on the given sublevel, to similar
|
|
524
|
+
* effect as:
|
|
525
|
+
*
|
|
526
|
+
* ```js
|
|
527
|
+
* await sublevel.batch([{ type: 'del', key }])
|
|
528
|
+
* ```
|
|
529
|
+
*
|
|
530
|
+
* This allows atomically committing data to multiple sublevels. The {@link key} will
|
|
531
|
+
* be prefixed with the `prefix` of the sublevel, and the {@link key} will be encoded
|
|
532
|
+
* by the sublevel (using the default key encoding of the sublevel unless
|
|
533
|
+
* {@link keyEncoding} is provided).
|
|
534
|
+
*/
|
|
535
|
+
sublevel?: AbstractSublevel<TDatabase, any, any, any> | undefined
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Options for the {@link AbstractLevel.clear} method.
|
|
540
|
+
*/
|
|
541
|
+
export interface AbstractClearOptions<K> extends RangeOptions<K> {
|
|
542
|
+
/**
|
|
543
|
+
* Custom key encoding for this operation, used to encode range options.
|
|
544
|
+
*/
|
|
545
|
+
keyEncoding?: string | Transcoder.PartialEncoding<K> | undefined
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Explicit snapshot to read from, such that entries not present in the snapshot will
|
|
549
|
+
* not be deleted.
|
|
550
|
+
*/
|
|
551
|
+
snapshot?: AbstractSnapshot | undefined
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Allows userland _hook functions_ to customize behavior of the database.
|
|
556
|
+
*
|
|
557
|
+
* @template TDatabase Type of database.
|
|
558
|
+
*/
|
|
559
|
+
export interface AbstractDatabaseHooks<
|
|
560
|
+
TDatabase,
|
|
561
|
+
TOpenOptions = AbstractOpenOptions,
|
|
562
|
+
TBatchOperation = AbstractBatchOperation<TDatabase, any, any>> {
|
|
563
|
+
/**
|
|
564
|
+
* An asynchronous hook that runs after the database has succesfully opened, but before
|
|
565
|
+
* deferred operations are executed and before events are emitted. Example:
|
|
566
|
+
*
|
|
567
|
+
* ```js
|
|
568
|
+
* db.hooks.postopen.add(async function () {
|
|
569
|
+
* // Initialize data
|
|
570
|
+
* })
|
|
571
|
+
* ```
|
|
572
|
+
*/
|
|
573
|
+
postopen: AbstractHook<(options: TOpenOptions) => Promise<void>>
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* A synchronous hook for modifying or adding operations. Example:
|
|
577
|
+
*
|
|
578
|
+
* ```js
|
|
579
|
+
* db.hooks.prewrite.add(function (op, batch) {
|
|
580
|
+
* op.key = op.key.toUpperCase()
|
|
581
|
+
* })
|
|
582
|
+
* ```
|
|
583
|
+
*
|
|
584
|
+
* @todo Define type of `op`.
|
|
585
|
+
*/
|
|
586
|
+
prewrite: AbstractHook<(op: any, batch: AbstractPrewriteBatch<TBatchOperation>) => void>
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* A synchronous hook that runs when an {@link AbstractSublevel} instance has been
|
|
590
|
+
* created by {@link AbstractLevel.sublevel()}.
|
|
591
|
+
*/
|
|
592
|
+
newsub: AbstractHook<(
|
|
593
|
+
sublevel: AbstractSublevel<TDatabase, any, any, any>,
|
|
594
|
+
options: AbstractSublevelOptions<any, any>
|
|
595
|
+
) => void>
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* An interface for prewrite hook functions to add operations, to be committed in the
|
|
600
|
+
* same batch as the input operation(s).
|
|
601
|
+
*/
|
|
602
|
+
export interface AbstractPrewriteBatch<TBatchOperation> {
|
|
603
|
+
/**
|
|
604
|
+
* Add a batch operation.
|
|
605
|
+
*/
|
|
606
|
+
add: (op: TBatchOperation) => this
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @template TFn The hook-specific function signature.
|
|
611
|
+
*/
|
|
612
|
+
export interface AbstractHook<TFn extends Function> {
|
|
613
|
+
/**
|
|
614
|
+
* Add the given {@link fn} function to this hook, if it wasn't already added.
|
|
615
|
+
* @param fn Hook function.
|
|
616
|
+
*/
|
|
617
|
+
add: (fn: TFn) => void
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Remove the given {@link fn} function from this hook.
|
|
621
|
+
* @param fn Hook function.
|
|
622
|
+
*/
|
|
623
|
+
delete: (fn: TFn) => void
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Options for {@link AbstractLevel.defer()} and {@link AbstractLevel.deferAsync()}.
|
|
628
|
+
*/
|
|
629
|
+
export interface AbstractDeferOptions {
|
|
630
|
+
/**
|
|
631
|
+
* An [`AbortSignal`][1] to abort the deferred operation.
|
|
632
|
+
*
|
|
633
|
+
* [1]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
|
|
634
|
+
*/
|
|
635
|
+
signal?: AbortSignal | undefined
|
|
636
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AbstractResource } from './interfaces'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A lightweight token that represents a version of a database at a particular point in
|
|
5
|
+
* time.
|
|
6
|
+
*/
|
|
7
|
+
export class AbstractSnapshot implements AbstractResource {
|
|
8
|
+
/**
|
|
9
|
+
* Increment reference count, to register work that should delay closing until
|
|
10
|
+
* {@link unref} is called an equal amount of times. The promise that will be returned
|
|
11
|
+
* by {@link close} will not resolve until the reference count returns to 0. This
|
|
12
|
+
* prevents prematurely closing underlying resources while the snapshot is in use.
|
|
13
|
+
*/
|
|
14
|
+
ref (): void
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Decrement reference count, to indicate that the work has finished.
|
|
18
|
+
*/
|
|
19
|
+
unref (): void
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Close the snapshot.
|
|
23
|
+
*/
|
|
24
|
+
close (): Promise<void>
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Close the snapshot.
|
|
28
|
+
*/
|
|
29
|
+
[Symbol.asyncDispose] (): Promise<void>
|
|
30
|
+
}
|