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
|
@@ -15313,6 +15313,8 @@ var require_zh_TW = __commonJS({
|
|
|
15313
15313
|
var require_common3 = __commonJS({
|
|
15314
15314
|
"node_modules/iztro/lib/i18n/locales/ko-KR/common.json"(exports, module) {
|
|
15315
15315
|
module.exports = {
|
|
15316
|
+
lunarDate: "\uC74C\uB825 {{year}}\uB144 {{leapMonth}}{{month}}\uC6D4 {{day}}\uC77C",
|
|
15317
|
+
leapMonth: "\uC724",
|
|
15316
15318
|
decadal: "\uB300\uD55C",
|
|
15317
15319
|
childhood: "\uC5B4\uB9B0",
|
|
15318
15320
|
yearly: "\uC720\uB144",
|
|
@@ -15693,6 +15695,8 @@ var require_ko_KR = __commonJS({
|
|
|
15693
15695
|
var require_common4 = __commonJS({
|
|
15694
15696
|
"node_modules/iztro/lib/i18n/locales/ja-JP/common.json"(exports, module) {
|
|
15695
15697
|
module.exports = {
|
|
15698
|
+
lunarDate: "\u65E7\u66A6{{year}}\u5E74{{leapMonth}}{{month}}\u6708{{day}}\u65E5",
|
|
15699
|
+
leapMonth: "\u958F",
|
|
15696
15700
|
decadal: "\u5927\u9650",
|
|
15697
15701
|
childhood: "\u5B50\u4F9B",
|
|
15698
15702
|
yearly: "\u6D41\u5E74",
|
|
@@ -16073,6 +16077,8 @@ var require_ja_JP = __commonJS({
|
|
|
16073
16077
|
var require_common5 = __commonJS({
|
|
16074
16078
|
"node_modules/iztro/lib/i18n/locales/en-US/common.json"(exports, module) {
|
|
16075
16079
|
module.exports = {
|
|
16080
|
+
lunarDate: "Lunar {{year}}-{{leapMonth}}{{month}}-{{day}}",
|
|
16081
|
+
leapMonth: "leap-",
|
|
16076
16082
|
decadal: "decadal",
|
|
16077
16083
|
yearly: "yearly",
|
|
16078
16084
|
monthly: "monthly",
|
|
@@ -16452,6 +16458,8 @@ var require_en_US = __commonJS({
|
|
|
16452
16458
|
var require_common6 = __commonJS({
|
|
16453
16459
|
"node_modules/iztro/lib/i18n/locales/vi-VN/common.json"(exports, module) {
|
|
16454
16460
|
module.exports = {
|
|
16461
|
+
lunarDate: "\xC2m l\u1ECBch ng\xE0y {{day}} th\xE1ng {{leapMonth}}{{month}} n\u0103m {{year}}",
|
|
16462
|
+
leapMonth: "nhu\u1EADn ",
|
|
16455
16463
|
decadal: "\u0110\u1EA1i H\u1EA1n",
|
|
16456
16464
|
childhood: "\u0111\u1EE9a tr\u1EBB H\u1EA1n",
|
|
16457
16465
|
yearly: "L\u01B0u Ni\xEAn",
|
|
@@ -16955,6 +16963,17 @@ var require_types = __commonJS({
|
|
|
16955
16963
|
var require_i18n = __commonJS({
|
|
16956
16964
|
"node_modules/iztro/lib/i18n/index.js"(exports) {
|
|
16957
16965
|
"use strict";
|
|
16966
|
+
var __assign = exports && exports.__assign || function() {
|
|
16967
|
+
__assign = Object.assign || function(t2) {
|
|
16968
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
16969
|
+
s = arguments[i];
|
|
16970
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
16971
|
+
t2[p] = s[p];
|
|
16972
|
+
}
|
|
16973
|
+
return t2;
|
|
16974
|
+
};
|
|
16975
|
+
return __assign.apply(this, arguments);
|
|
16976
|
+
};
|
|
16958
16977
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
16959
16978
|
if (k2 === void 0) k2 = k;
|
|
16960
16979
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -16975,7 +16994,7 @@ var require_i18n = __commonJS({
|
|
|
16975
16994
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
16976
16995
|
};
|
|
16977
16996
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16978
|
-
exports.kot = exports.t = exports.setLanguage = void 0;
|
|
16997
|
+
exports.kot = exports.t = exports.withLanguage = exports.getLanguage = exports.setLanguage = void 0;
|
|
16979
16998
|
var i18next_1 = __importDefault(require_i18next());
|
|
16980
16999
|
var zh_CN_1 = __importDefault(require_zh_CN());
|
|
16981
17000
|
var zh_TW_1 = __importDefault(require_zh_TW());
|
|
@@ -16984,6 +17003,7 @@ var require_i18n = __commonJS({
|
|
|
16984
17003
|
var en_US_1 = __importDefault(require_en_US());
|
|
16985
17004
|
var vi_VN_1 = __importDefault(require_vi_VN());
|
|
16986
17005
|
var starAliases_1 = require_starAliases();
|
|
17006
|
+
var constants_1 = require_constants();
|
|
16987
17007
|
var resources = {
|
|
16988
17008
|
"en-US": {
|
|
16989
17009
|
translation: en_US_1.default
|
|
@@ -17006,14 +17026,33 @@ var require_i18n = __commonJS({
|
|
|
17006
17026
|
};
|
|
17007
17027
|
i18next_1.default.init({ lng: "zh-CN", resources });
|
|
17008
17028
|
var setLanguage = function(language) {
|
|
17029
|
+
if (!constants_1.LANGUAGES.includes(language))
|
|
17030
|
+
throw new Error("invalid language.");
|
|
17009
17031
|
i18next_1.default.changeLanguage(language);
|
|
17010
17032
|
};
|
|
17011
17033
|
exports.setLanguage = setLanguage;
|
|
17012
|
-
var
|
|
17034
|
+
var activeLanguage;
|
|
17035
|
+
var getLanguage = function() {
|
|
17036
|
+
return activeLanguage !== null && activeLanguage !== void 0 ? activeLanguage : i18next_1.default.language;
|
|
17037
|
+
};
|
|
17038
|
+
exports.getLanguage = getLanguage;
|
|
17039
|
+
var withLanguage = function(language, calculate) {
|
|
17040
|
+
if (!constants_1.LANGUAGES.includes(language))
|
|
17041
|
+
throw new Error("invalid language.");
|
|
17042
|
+
var previous = activeLanguage;
|
|
17043
|
+
activeLanguage = language;
|
|
17044
|
+
try {
|
|
17045
|
+
return calculate();
|
|
17046
|
+
} finally {
|
|
17047
|
+
activeLanguage = previous;
|
|
17048
|
+
}
|
|
17049
|
+
};
|
|
17050
|
+
exports.withLanguage = withLanguage;
|
|
17051
|
+
var t = function(str, options) {
|
|
17013
17052
|
if (!str) {
|
|
17014
17053
|
return "";
|
|
17015
17054
|
}
|
|
17016
|
-
return i18next_1.default.t(str);
|
|
17055
|
+
return i18next_1.default.t(str, __assign(__assign({}, options), { lng: (0, exports.getLanguage)() }));
|
|
17017
17056
|
};
|
|
17018
17057
|
exports.t = t;
|
|
17019
17058
|
var kot = function(value, k) {
|
|
@@ -17198,6 +17237,205 @@ var require_utils2 = __commonJS({
|
|
|
17198
17237
|
}
|
|
17199
17238
|
});
|
|
17200
17239
|
|
|
17240
|
+
// node_modules/iztro/lib/astro/config.js
|
|
17241
|
+
var require_config = __commonJS({
|
|
17242
|
+
"node_modules/iztro/lib/astro/config.js"(exports) {
|
|
17243
|
+
"use strict";
|
|
17244
|
+
var __assign = exports && exports.__assign || function() {
|
|
17245
|
+
__assign = Object.assign || function(t) {
|
|
17246
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17247
|
+
s = arguments[i];
|
|
17248
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
17249
|
+
t[p] = s[p];
|
|
17250
|
+
}
|
|
17251
|
+
return t;
|
|
17252
|
+
};
|
|
17253
|
+
return __assign.apply(this, arguments);
|
|
17254
|
+
};
|
|
17255
|
+
var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
|
|
17256
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
17257
|
+
if (ar || !(i in from)) {
|
|
17258
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17259
|
+
ar[i] = from[i];
|
|
17260
|
+
}
|
|
17261
|
+
}
|
|
17262
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
17263
|
+
};
|
|
17264
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17265
|
+
exports.withConfig = exports.config = exports.resolveConfig = exports.resetConfig = exports.getConfig = void 0;
|
|
17266
|
+
var i18n_1 = require_i18n();
|
|
17267
|
+
var defaults = function() {
|
|
17268
|
+
return {
|
|
17269
|
+
mutagens: {},
|
|
17270
|
+
brightness: {},
|
|
17271
|
+
yearDivide: "normal",
|
|
17272
|
+
horoscopeDivide: "normal",
|
|
17273
|
+
ageDivide: "normal",
|
|
17274
|
+
dayDivide: "forward",
|
|
17275
|
+
algorithm: "default"
|
|
17276
|
+
};
|
|
17277
|
+
};
|
|
17278
|
+
var cloneTable = function(table) {
|
|
17279
|
+
var result = {};
|
|
17280
|
+
Object.entries(table).forEach(function(_a) {
|
|
17281
|
+
var key = _a[0], values = _a[1];
|
|
17282
|
+
if (values)
|
|
17283
|
+
result[key] = __spreadArray([], values, true);
|
|
17284
|
+
});
|
|
17285
|
+
return result;
|
|
17286
|
+
};
|
|
17287
|
+
var clone = function(value) {
|
|
17288
|
+
return __assign(__assign({}, value), { mutagens: cloneTable(value.mutagens), brightness: cloneTable(value.brightness) });
|
|
17289
|
+
};
|
|
17290
|
+
var globalConfig = defaults();
|
|
17291
|
+
var activeConfig;
|
|
17292
|
+
var getConfig = function() {
|
|
17293
|
+
return clone(activeConfig !== null && activeConfig !== void 0 ? activeConfig : globalConfig);
|
|
17294
|
+
};
|
|
17295
|
+
exports.getConfig = getConfig;
|
|
17296
|
+
var resetConfig = function() {
|
|
17297
|
+
globalConfig = defaults();
|
|
17298
|
+
};
|
|
17299
|
+
exports.resetConfig = resetConfig;
|
|
17300
|
+
var resolveConfig = function(options, base) {
|
|
17301
|
+
if (options === void 0) {
|
|
17302
|
+
options = {};
|
|
17303
|
+
}
|
|
17304
|
+
if (base === void 0) {
|
|
17305
|
+
base = activeConfig !== null && activeConfig !== void 0 ? activeConfig : globalConfig;
|
|
17306
|
+
}
|
|
17307
|
+
var result = clone(base);
|
|
17308
|
+
var choices = {
|
|
17309
|
+
yearDivide: ["normal", "exact"],
|
|
17310
|
+
horoscopeDivide: ["normal", "exact"],
|
|
17311
|
+
ageDivide: ["normal", "birthday"],
|
|
17312
|
+
dayDivide: ["current", "forward"],
|
|
17313
|
+
algorithm: ["default", "zhongzhou"]
|
|
17314
|
+
};
|
|
17315
|
+
Object.keys(choices).forEach(function(key) {
|
|
17316
|
+
var _a;
|
|
17317
|
+
var value = options[key];
|
|
17318
|
+
if (value !== void 0) {
|
|
17319
|
+
if (!choices[key].includes(value))
|
|
17320
|
+
throw new Error("invalid ".concat(key, "."));
|
|
17321
|
+
Object.assign(result, (_a = {}, _a[key] = value, _a));
|
|
17322
|
+
}
|
|
17323
|
+
});
|
|
17324
|
+
if (options.mutagens) {
|
|
17325
|
+
Object.entries(options.mutagens).forEach(function(_a) {
|
|
17326
|
+
var key = _a[0], stars = _a[1];
|
|
17327
|
+
result.mutagens[(0, i18n_1.kot)(key)] = stars.map(function(star) {
|
|
17328
|
+
return (0, i18n_1.kot)(star);
|
|
17329
|
+
});
|
|
17330
|
+
});
|
|
17331
|
+
}
|
|
17332
|
+
if (options.brightness) {
|
|
17333
|
+
Object.entries(options.brightness).forEach(function(_a) {
|
|
17334
|
+
var key = _a[0], levels = _a[1];
|
|
17335
|
+
result.brightness[(0, i18n_1.kot)(key)] = levels.map(function(level) {
|
|
17336
|
+
return (0, i18n_1.kot)(level);
|
|
17337
|
+
});
|
|
17338
|
+
});
|
|
17339
|
+
}
|
|
17340
|
+
return result;
|
|
17341
|
+
};
|
|
17342
|
+
exports.resolveConfig = resolveConfig;
|
|
17343
|
+
var config = function(options) {
|
|
17344
|
+
globalConfig = (0, exports.resolveConfig)(options, globalConfig);
|
|
17345
|
+
};
|
|
17346
|
+
exports.config = config;
|
|
17347
|
+
var withConfig = function(snapshot, calculate) {
|
|
17348
|
+
var previous = activeConfig;
|
|
17349
|
+
activeConfig = snapshot;
|
|
17350
|
+
try {
|
|
17351
|
+
return calculate();
|
|
17352
|
+
} finally {
|
|
17353
|
+
activeConfig = previous;
|
|
17354
|
+
}
|
|
17355
|
+
};
|
|
17356
|
+
exports.withConfig = withConfig;
|
|
17357
|
+
}
|
|
17358
|
+
});
|
|
17359
|
+
|
|
17360
|
+
// node_modules/iztro/lib/astro/context.js
|
|
17361
|
+
var require_context = __commonJS({
|
|
17362
|
+
"node_modules/iztro/lib/astro/context.js"(exports) {
|
|
17363
|
+
"use strict";
|
|
17364
|
+
var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
|
|
17365
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
17366
|
+
if (ar || !(i in from)) {
|
|
17367
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17368
|
+
ar[i] = from[i];
|
|
17369
|
+
}
|
|
17370
|
+
}
|
|
17371
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
17372
|
+
};
|
|
17373
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17374
|
+
exports.bindContext = exports.registerContextClass = void 0;
|
|
17375
|
+
var i18n_1 = require_i18n();
|
|
17376
|
+
var config_1 = require_config();
|
|
17377
|
+
var functionalPrototypes = /* @__PURE__ */ new WeakSet();
|
|
17378
|
+
var registerContextClass = function(prototype) {
|
|
17379
|
+
functionalPrototypes.add(prototype);
|
|
17380
|
+
};
|
|
17381
|
+
exports.registerContextClass = registerContextClass;
|
|
17382
|
+
var bindContext = function(root) {
|
|
17383
|
+
var config = (0, config_1.getConfig)();
|
|
17384
|
+
var language = (0, i18n_1.getLanguage)();
|
|
17385
|
+
var bound = /* @__PURE__ */ new WeakSet();
|
|
17386
|
+
var wrapped = /* @__PURE__ */ new WeakSet();
|
|
17387
|
+
var bind = function(value) {
|
|
17388
|
+
if (!value || typeof value !== "object" || bound.has(value))
|
|
17389
|
+
return;
|
|
17390
|
+
if (Array.isArray(value)) {
|
|
17391
|
+
bound.add(value);
|
|
17392
|
+
value.forEach(bind);
|
|
17393
|
+
return;
|
|
17394
|
+
}
|
|
17395
|
+
var prototype = Object.getPrototypeOf(value);
|
|
17396
|
+
while (prototype && !functionalPrototypes.has(prototype))
|
|
17397
|
+
prototype = Object.getPrototypeOf(prototype);
|
|
17398
|
+
if (!prototype)
|
|
17399
|
+
return;
|
|
17400
|
+
bound.add(value);
|
|
17401
|
+
var object = value;
|
|
17402
|
+
var keys = new Set(__spreadArray(__spreadArray([], Object.keys(object), true), Object.getOwnPropertyNames(prototype), true));
|
|
17403
|
+
keys.forEach(function(key) {
|
|
17404
|
+
if (key === "constructor" || key.startsWith("_") || key === "plugins")
|
|
17405
|
+
return;
|
|
17406
|
+
var member = object[key];
|
|
17407
|
+
if (typeof member === "function") {
|
|
17408
|
+
if (wrapped.has(member))
|
|
17409
|
+
return;
|
|
17410
|
+
var method = function() {
|
|
17411
|
+
var args = [];
|
|
17412
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
17413
|
+
args[_i] = arguments[_i];
|
|
17414
|
+
}
|
|
17415
|
+
return (0, config_1.withConfig)(config, function() {
|
|
17416
|
+
return (0, i18n_1.withLanguage)(language, function() {
|
|
17417
|
+
var result = member.apply(value, args);
|
|
17418
|
+
bind(result);
|
|
17419
|
+
bound.delete(value);
|
|
17420
|
+
bind(value);
|
|
17421
|
+
return result;
|
|
17422
|
+
});
|
|
17423
|
+
});
|
|
17424
|
+
};
|
|
17425
|
+
wrapped.add(method);
|
|
17426
|
+
object[key] = method;
|
|
17427
|
+
} else {
|
|
17428
|
+
bind(member);
|
|
17429
|
+
}
|
|
17430
|
+
});
|
|
17431
|
+
};
|
|
17432
|
+
bind(root);
|
|
17433
|
+
return root;
|
|
17434
|
+
};
|
|
17435
|
+
exports.bindContext = bindContext;
|
|
17436
|
+
}
|
|
17437
|
+
});
|
|
17438
|
+
|
|
17201
17439
|
// node_modules/dayjs/dayjs.min.js
|
|
17202
17440
|
var require_dayjs_min = __commonJS({
|
|
17203
17441
|
"node_modules/dayjs/dayjs.min.js"(exports, module) {
|
|
@@ -17535,6 +17773,7 @@ var require_FunctionalSurpalaces = __commonJS({
|
|
|
17535
17773
|
"use strict";
|
|
17536
17774
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17537
17775
|
exports.FunctionalSurpalaces = void 0;
|
|
17776
|
+
var context_1 = require_context();
|
|
17538
17777
|
var analyzer_1 = require_analyzer();
|
|
17539
17778
|
var toJSON_1 = require_toJSON();
|
|
17540
17779
|
var FunctionalSurpalaces = (
|
|
@@ -17570,6 +17809,7 @@ var require_FunctionalSurpalaces = __commonJS({
|
|
|
17570
17809
|
}()
|
|
17571
17810
|
);
|
|
17572
17811
|
exports.FunctionalSurpalaces = FunctionalSurpalaces;
|
|
17812
|
+
(0, context_1.registerContextClass)(FunctionalSurpalaces.prototype);
|
|
17573
17813
|
}
|
|
17574
17814
|
});
|
|
17575
17815
|
|
|
@@ -17579,6 +17819,7 @@ var require_FunctionalFlankingPalaces = __commonJS({
|
|
|
17579
17819
|
"use strict";
|
|
17580
17820
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17581
17821
|
exports.FunctionalFlankingPalaces = void 0;
|
|
17822
|
+
var context_1 = require_context();
|
|
17582
17823
|
var toJSON_1 = require_toJSON();
|
|
17583
17824
|
var analyzer_1 = require_analyzer();
|
|
17584
17825
|
var FunctionalFlankingPalaces = (
|
|
@@ -17612,6 +17853,7 @@ var require_FunctionalFlankingPalaces = __commonJS({
|
|
|
17612
17853
|
}()
|
|
17613
17854
|
);
|
|
17614
17855
|
exports.FunctionalFlankingPalaces = FunctionalFlankingPalaces;
|
|
17856
|
+
(0, context_1.registerContextClass)(FunctionalFlankingPalaces.prototype);
|
|
17615
17857
|
}
|
|
17616
17858
|
});
|
|
17617
17859
|
|
|
@@ -17814,6 +18056,7 @@ var require_FunctionalHoroscope = __commonJS({
|
|
|
17814
18056
|
"node_modules/iztro/lib/astro/FunctionalHoroscope.js"(exports) {
|
|
17815
18057
|
"use strict";
|
|
17816
18058
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18059
|
+
var context_1 = require_context();
|
|
17817
18060
|
var i18n_1 = require_i18n();
|
|
17818
18061
|
var utils_1 = require_utils2();
|
|
17819
18062
|
var data_1 = require_data();
|
|
@@ -17936,6 +18179,76 @@ var require_FunctionalHoroscope = __commonJS({
|
|
|
17936
18179
|
}()
|
|
17937
18180
|
);
|
|
17938
18181
|
exports.default = FunctionalHoroscope;
|
|
18182
|
+
(0, context_1.registerContextClass)(FunctionalHoroscope.prototype);
|
|
18183
|
+
}
|
|
18184
|
+
});
|
|
18185
|
+
|
|
18186
|
+
// node_modules/iztro/lib/utils/validation.js
|
|
18187
|
+
var require_validation = __commonJS({
|
|
18188
|
+
"node_modules/iztro/lib/utils/validation.js"(exports) {
|
|
18189
|
+
"use strict";
|
|
18190
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18191
|
+
exports.validateBoolean = exports.validateGender = exports.validateTimeIndex = exports.validateDate = void 0;
|
|
18192
|
+
var lunar_typescript_1 = require_dist();
|
|
18193
|
+
var i18n_1 = require_i18n();
|
|
18194
|
+
var validateDate = function(date, type, isLeapMonth) {
|
|
18195
|
+
if (type === void 0) {
|
|
18196
|
+
type = "solar";
|
|
18197
|
+
}
|
|
18198
|
+
if (isLeapMonth === void 0) {
|
|
18199
|
+
isLeapMonth = false;
|
|
18200
|
+
}
|
|
18201
|
+
var parts;
|
|
18202
|
+
if (date instanceof Date) {
|
|
18203
|
+
if (!Number.isFinite(date.getTime()))
|
|
18204
|
+
throw new Error("invalid date.");
|
|
18205
|
+
parts = [date.getFullYear(), date.getMonth() + 1, date.getDate()];
|
|
18206
|
+
} else {
|
|
18207
|
+
if (typeof date !== "string" || !/^\d{1,4}([-/.])\d{1,2}\1\d{1,2}(?: \d{1,2}:\d{1,2}(?::\d{1,2})?)?$/.test(date)) {
|
|
18208
|
+
throw new Error("invalid date.");
|
|
18209
|
+
}
|
|
18210
|
+
var _a = date.split(" "), day_1 = _a[0], time = _a[1];
|
|
18211
|
+
parts = day_1.split(/[-/.]/).map(Number);
|
|
18212
|
+
if (time) {
|
|
18213
|
+
var _b = time.split(":").map(Number), hour = _b[0], minute = _b[1], _c = _b[2], second = _c === void 0 ? 0 : _c;
|
|
18214
|
+
if (hour > 23 || minute > 59 || second > 59)
|
|
18215
|
+
throw new Error("invalid time.");
|
|
18216
|
+
}
|
|
18217
|
+
}
|
|
18218
|
+
var year = parts[0], month = parts[1], day = parts[2];
|
|
18219
|
+
if (year < 1 || year > 9999 || month < 1 || month > 12 || day < 1)
|
|
18220
|
+
throw new Error("invalid date.");
|
|
18221
|
+
if (type === "lunar") {
|
|
18222
|
+
var lunarYear = lunar_typescript_1.LunarYear.fromYear(year);
|
|
18223
|
+
var leap = isLeapMonth && lunarYear.getLeapMonth() === month;
|
|
18224
|
+
var lunarMonth = lunarYear.getMonth(leap ? -month : month);
|
|
18225
|
+
if (!lunarMonth || day > lunarMonth.getDayCount())
|
|
18226
|
+
throw new Error("invalid lunar date.");
|
|
18227
|
+
} else {
|
|
18228
|
+
if (year === 1582 && month === 10 && day >= 5 && day <= 14)
|
|
18229
|
+
throw new Error("invalid solar date.");
|
|
18230
|
+
var leap = lunar_typescript_1.SolarUtil.isLeapYear(year);
|
|
18231
|
+
var days = [31, leap ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
18232
|
+
if (day > days[month - 1])
|
|
18233
|
+
throw new Error("invalid solar date.");
|
|
18234
|
+
}
|
|
18235
|
+
};
|
|
18236
|
+
exports.validateDate = validateDate;
|
|
18237
|
+
var validateTimeIndex = function(index) {
|
|
18238
|
+
if (!Number.isInteger(index) || index < 0 || index > 12)
|
|
18239
|
+
throw new Error("invalid timeIndex: expected an integer from 0 to 12.");
|
|
18240
|
+
};
|
|
18241
|
+
exports.validateTimeIndex = validateTimeIndex;
|
|
18242
|
+
var validateGender = function(gender) {
|
|
18243
|
+
if (typeof gender !== "string" || !["male", "female"].includes((0, i18n_1.kot)(gender)))
|
|
18244
|
+
throw new Error("invalid gender.");
|
|
18245
|
+
};
|
|
18246
|
+
exports.validateGender = validateGender;
|
|
18247
|
+
var validateBoolean = function(value, name) {
|
|
18248
|
+
if (typeof value !== "boolean")
|
|
18249
|
+
throw new Error("invalid ".concat(name, ": expected a boolean."));
|
|
18250
|
+
};
|
|
18251
|
+
exports.validateBoolean = validateBoolean;
|
|
17939
18252
|
}
|
|
17940
18253
|
});
|
|
17941
18254
|
|
|
@@ -17956,6 +18269,7 @@ var require_FunctionalAstrolabe = __commonJS({
|
|
|
17956
18269
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
17957
18270
|
};
|
|
17958
18271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18272
|
+
var context_1 = require_context();
|
|
17959
18273
|
var dayjs_1 = __importDefault(require_dayjs_min());
|
|
17960
18274
|
var lunar_lite_1 = require_lib();
|
|
17961
18275
|
var lunar_typescript_1 = require_dist();
|
|
@@ -17966,25 +18280,29 @@ var require_FunctionalAstrolabe = __commonJS({
|
|
|
17966
18280
|
var analyzer_1 = require_analyzer();
|
|
17967
18281
|
var palace_1 = require_palace7();
|
|
17968
18282
|
var FunctionalHoroscope_1 = __importDefault(require_FunctionalHoroscope());
|
|
17969
|
-
var
|
|
18283
|
+
var config_1 = require_config();
|
|
18284
|
+
var validation_1 = require_validation();
|
|
17970
18285
|
var toJSON_1 = require_toJSON();
|
|
17971
18286
|
var _getHoroscopeBySolarDate = function($, targetDate, timeIndex) {
|
|
17972
18287
|
if (targetDate === void 0) {
|
|
17973
18288
|
targetDate = /* @__PURE__ */ new Date();
|
|
17974
18289
|
}
|
|
18290
|
+
(0, validation_1.validateDate)(targetDate);
|
|
18291
|
+
if (timeIndex !== void 0)
|
|
18292
|
+
(0, validation_1.validateTimeIndex)(timeIndex);
|
|
17975
18293
|
var _birthday = (0, lunar_lite_1.solar2lunar)($.solarDate);
|
|
17976
18294
|
var _date = (0, lunar_lite_1.solar2lunar)(targetDate);
|
|
17977
18295
|
var convertTimeIndex = (0, utils_1.timeToIndex)((0, dayjs_1.default)(targetDate).hour());
|
|
17978
18296
|
var targetTimeIndex = timeIndex !== null && timeIndex !== void 0 ? timeIndex : convertTimeIndex;
|
|
17979
|
-
var adjustedTargetTimeIndex = (0,
|
|
18297
|
+
var adjustedTargetTimeIndex = (0, config_1.getConfig)().dayDivide === "current" && targetTimeIndex >= 12 ? 0 : targetTimeIndex;
|
|
17980
18298
|
var _a = (0, lunar_lite_1.getHeavenlyStemAndEarthlyBranchBySolarDate)(targetDate, adjustedTargetTimeIndex, {
|
|
17981
18299
|
// 允许配置运限分割点
|
|
17982
|
-
year: (0,
|
|
17983
|
-
month: (0,
|
|
18300
|
+
year: (0, config_1.getConfig)().horoscopeDivide,
|
|
18301
|
+
month: (0, config_1.getConfig)().horoscopeDivide
|
|
17984
18302
|
}), yearly = _a.yearly, monthly = _a.monthly, daily = _a.daily, hourly = _a.hourly;
|
|
17985
18303
|
var nominalAge = _date.lunarYear - _birthday.lunarYear;
|
|
17986
18304
|
var isChildhood = false;
|
|
17987
|
-
if ((0,
|
|
18305
|
+
if ((0, config_1.getConfig)().ageDivide === "birthday") {
|
|
17988
18306
|
if (_date.lunarMonth > _birthday.lunarMonth || _date.lunarMonth === _birthday.lunarMonth && _date.lunarDay > _birthday.lunarDay) {
|
|
17989
18307
|
nominalAge += 1;
|
|
17990
18308
|
}
|
|
@@ -18180,7 +18498,7 @@ var require_FunctionalAstrolabe = __commonJS({
|
|
|
18180
18498
|
if (fixLeap === void 0) {
|
|
18181
18499
|
fixLeap = true;
|
|
18182
18500
|
}
|
|
18183
|
-
if (!Number.isInteger(year)) {
|
|
18501
|
+
if (!Number.isInteger(year) || year < 1 || year > 9999) {
|
|
18184
18502
|
throw new Error("invalid year.");
|
|
18185
18503
|
}
|
|
18186
18504
|
var age = year - _this.rawDates.lunarDate.lunarYear + 1;
|
|
@@ -18264,6 +18582,7 @@ var require_FunctionalAstrolabe = __commonJS({
|
|
|
18264
18582
|
}()
|
|
18265
18583
|
);
|
|
18266
18584
|
exports.default = FunctionalAstrolabe;
|
|
18585
|
+
(0, context_1.registerContextClass)(FunctionalAstrolabe.prototype);
|
|
18267
18586
|
}
|
|
18268
18587
|
});
|
|
18269
18588
|
|
|
@@ -18272,6 +18591,7 @@ var require_FunctionalPalace = __commonJS({
|
|
|
18272
18591
|
"node_modules/iztro/lib/astro/FunctionalPalace.js"(exports) {
|
|
18273
18592
|
"use strict";
|
|
18274
18593
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18594
|
+
var context_1 = require_context();
|
|
18275
18595
|
var analyzer_1 = require_analyzer();
|
|
18276
18596
|
var toJSON_1 = require_toJSON();
|
|
18277
18597
|
var FunctionalPalace = (
|
|
@@ -18413,6 +18733,7 @@ var require_FunctionalPalace = __commonJS({
|
|
|
18413
18733
|
}()
|
|
18414
18734
|
);
|
|
18415
18735
|
exports.default = FunctionalPalace;
|
|
18736
|
+
(0, context_1.registerContextClass)(FunctionalPalace.prototype);
|
|
18416
18737
|
}
|
|
18417
18738
|
});
|
|
18418
18739
|
|
|
@@ -18421,6 +18742,7 @@ var require_FunctionalStar = __commonJS({
|
|
|
18421
18742
|
"node_modules/iztro/lib/star/FunctionalStar.js"(exports) {
|
|
18422
18743
|
"use strict";
|
|
18423
18744
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18745
|
+
var context_1 = require_context();
|
|
18424
18746
|
var i18n_1 = require_i18n();
|
|
18425
18747
|
var toJSON_1 = require_toJSON();
|
|
18426
18748
|
var FunctionalStar = (
|
|
@@ -18480,6 +18802,7 @@ var require_FunctionalStar = __commonJS({
|
|
|
18480
18802
|
}()
|
|
18481
18803
|
);
|
|
18482
18804
|
exports.default = FunctionalStar;
|
|
18805
|
+
(0, context_1.registerContextClass)(FunctionalStar.prototype);
|
|
18483
18806
|
}
|
|
18484
18807
|
});
|
|
18485
18808
|
|
|
@@ -18491,7 +18814,7 @@ var require_astro = __commonJS({
|
|
|
18491
18814
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
18492
18815
|
};
|
|
18493
18816
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18494
|
-
exports.getMajorStarByLunarDate = exports.getMajorStarBySolarDate = exports.getSignByLunarDate = exports.getSignBySolarDate = exports.getZodiacBySolarDate = exports.withOptions = exports.rearrangeAstrolable = exports.byLunar = exports.astrolabeByLunarDate = exports.bySolar = exports.astrolabeBySolarDate = exports.getConfig = exports.config = exports.loadPlugin = exports.loadPlugins = void 0;
|
|
18817
|
+
exports.getMajorStarByLunarDate = exports.getMajorStarBySolarDate = exports.getSignByLunarDate = exports.getSignBySolarDate = exports.getZodiacBySolarDate = exports.withOptions = exports.rearrangeAstrolable = exports.byLunar = exports.astrolabeByLunarDate = exports.bySolar = exports.astrolabeBySolarDate = exports.resetConfig = exports.getConfig = exports.config = exports.loadPlugin = exports.loadPlugins = void 0;
|
|
18495
18818
|
var lunar_lite_1 = require_lib();
|
|
18496
18819
|
var data_1 = require_data();
|
|
18497
18820
|
var i18n_1 = require_i18n();
|
|
@@ -18501,14 +18824,22 @@ var require_astro = __commonJS({
|
|
|
18501
18824
|
var FunctionalPalace_1 = __importDefault(require_FunctionalPalace());
|
|
18502
18825
|
var palace_1 = require_palace7();
|
|
18503
18826
|
var FunctionalStar_1 = __importDefault(require_FunctionalStar());
|
|
18827
|
+
var config_1 = require_config();
|
|
18828
|
+
var context_1 = require_context();
|
|
18829
|
+
var validation_1 = require_validation();
|
|
18504
18830
|
var _plugins = [];
|
|
18505
|
-
var
|
|
18506
|
-
|
|
18507
|
-
|
|
18508
|
-
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
18831
|
+
var formatLunarDate = function(lunarDate) {
|
|
18832
|
+
var language = (0, i18n_1.getLanguage)();
|
|
18833
|
+
if (language === "zh-CN" || language === "zh-TW") {
|
|
18834
|
+
return lunarDate.toString(true);
|
|
18835
|
+
}
|
|
18836
|
+
return (0, i18n_1.t)("lunarDate", {
|
|
18837
|
+
year: lunarDate.lunarYear,
|
|
18838
|
+
month: lunarDate.lunarMonth,
|
|
18839
|
+
day: lunarDate.lunarDay,
|
|
18840
|
+
leapMonth: lunarDate.isLeap ? (0, i18n_1.t)("leapMonth") : ""
|
|
18841
|
+
});
|
|
18842
|
+
};
|
|
18512
18843
|
var loadPlugins = function(plugins) {
|
|
18513
18844
|
Array.prototype.push.apply(_plugins, plugins);
|
|
18514
18845
|
};
|
|
@@ -18517,45 +18848,16 @@ var require_astro = __commonJS({
|
|
|
18517
18848
|
_plugins.push(plugin);
|
|
18518
18849
|
};
|
|
18519
18850
|
exports.loadPlugin = loadPlugin;
|
|
18520
|
-
var
|
|
18521
|
-
|
|
18522
|
-
|
|
18523
|
-
|
|
18524
|
-
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
}
|
|
18531
|
-
if (brightness) {
|
|
18532
|
-
Object.entries(brightness).forEach(function(_a2) {
|
|
18533
|
-
var _b2;
|
|
18534
|
-
var key = _a2[0], value = _a2[1];
|
|
18535
|
-
_brightness[(0, i18n_1.kot)(key)] = (_b2 = value.map(function(item) {
|
|
18536
|
-
return (0, i18n_1.kot)(item);
|
|
18537
|
-
})) !== null && _b2 !== void 0 ? _b2 : [];
|
|
18538
|
-
});
|
|
18539
|
-
}
|
|
18540
|
-
_yearDivide = yearDivide;
|
|
18541
|
-
_horoscopeDivide = horoscopeDivide;
|
|
18542
|
-
_ageDivide = ageDivide;
|
|
18543
|
-
_algorithm = algorithm;
|
|
18544
|
-
_dayDivide = dayDivide;
|
|
18545
|
-
};
|
|
18546
|
-
exports.config = config;
|
|
18547
|
-
var getConfig = function() {
|
|
18548
|
-
return {
|
|
18549
|
-
mutagens: _mutagens,
|
|
18550
|
-
brightness: _brightness,
|
|
18551
|
-
yearDivide: _yearDivide,
|
|
18552
|
-
ageDivide: _ageDivide,
|
|
18553
|
-
dayDivide: _dayDivide,
|
|
18554
|
-
horoscopeDivide: _horoscopeDivide,
|
|
18555
|
-
algorithm: _algorithm
|
|
18556
|
-
};
|
|
18557
|
-
};
|
|
18558
|
-
exports.getConfig = getConfig;
|
|
18851
|
+
var config_2 = require_config();
|
|
18852
|
+
Object.defineProperty(exports, "config", { enumerable: true, get: function() {
|
|
18853
|
+
return config_2.config;
|
|
18854
|
+
} });
|
|
18855
|
+
Object.defineProperty(exports, "getConfig", { enumerable: true, get: function() {
|
|
18856
|
+
return config_2.getConfig;
|
|
18857
|
+
} });
|
|
18858
|
+
Object.defineProperty(exports, "resetConfig", { enumerable: true, get: function() {
|
|
18859
|
+
return config_2.resetConfig;
|
|
18860
|
+
} });
|
|
18559
18861
|
function astrolabeBySolarDate(solarDateStr, timeIndex, gender, fixLeap, language) {
|
|
18560
18862
|
if (fixLeap === void 0) {
|
|
18561
18863
|
fixLeap = true;
|
|
@@ -18567,93 +18869,99 @@ var require_astro = __commonJS({
|
|
|
18567
18869
|
if (fixLeap === void 0) {
|
|
18568
18870
|
fixLeap = true;
|
|
18569
18871
|
}
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
timeIndex: tIndex,
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
var
|
|
18608
|
-
var
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
solarDate
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18872
|
+
(0, validation_1.validateDate)(solarDate);
|
|
18873
|
+
(0, validation_1.validateTimeIndex)(timeIndex);
|
|
18874
|
+
(0, validation_1.validateGender)(gender);
|
|
18875
|
+
(0, validation_1.validateBoolean)(fixLeap, "fixLeap");
|
|
18876
|
+
return (0, i18n_1.withLanguage)(language !== null && language !== void 0 ? language : "zh-CN", function() {
|
|
18877
|
+
var palaces = [];
|
|
18878
|
+
var dayDivide = (0, config_1.getConfig)().dayDivide;
|
|
18879
|
+
var tIndex = timeIndex;
|
|
18880
|
+
if (dayDivide === "current" && tIndex >= 12) {
|
|
18881
|
+
tIndex = 0;
|
|
18882
|
+
}
|
|
18883
|
+
var yearly = (0, lunar_lite_1.getHeavenlyStemAndEarthlyBranchBySolarDate)(solarDate, tIndex, {
|
|
18884
|
+
year: (0, config_1.getConfig)().yearDivide,
|
|
18885
|
+
month: (0, config_1.getConfig)().horoscopeDivide
|
|
18886
|
+
}).yearly;
|
|
18887
|
+
var earthlyBranchOfYear = (0, i18n_1.kot)(yearly[1], "Earthly");
|
|
18888
|
+
var heavenlyStemOfYear = (0, i18n_1.kot)(yearly[0], "Heavenly");
|
|
18889
|
+
var _a = (0, palace_1.getSoulAndBody)({
|
|
18890
|
+
solarDate,
|
|
18891
|
+
timeIndex: tIndex,
|
|
18892
|
+
fixLeap
|
|
18893
|
+
}), bodyIndex = _a.bodyIndex, soulIndex = _a.soulIndex, heavenlyStemOfSoul = _a.heavenlyStemOfSoul, earthlyBranchOfSoul = _a.earthlyBranchOfSoul;
|
|
18894
|
+
var palaceNames = (0, palace_1.getPalaceNames)(soulIndex);
|
|
18895
|
+
var majorStars = (0, star_1.getMajorStar)({ solarDate, timeIndex: tIndex, fixLeap });
|
|
18896
|
+
var minorStars = (0, star_1.getMinorStar)(solarDate, tIndex, fixLeap);
|
|
18897
|
+
var adjectiveStars = (0, star_1.getAdjectiveStar)({
|
|
18898
|
+
solarDate,
|
|
18899
|
+
timeIndex: tIndex,
|
|
18900
|
+
gender,
|
|
18901
|
+
fixLeap
|
|
18902
|
+
});
|
|
18903
|
+
var changsheng12 = (0, star_1.getchangsheng12)({
|
|
18904
|
+
solarDate,
|
|
18905
|
+
timeIndex: tIndex,
|
|
18906
|
+
gender,
|
|
18907
|
+
fixLeap
|
|
18908
|
+
});
|
|
18909
|
+
var boshi12 = (0, star_1.getBoShi12)(solarDate, gender);
|
|
18910
|
+
var _b = (0, star_1.getYearly12)(solarDate), jiangqian12 = _b.jiangqian12, suiqian12 = _b.suiqian12;
|
|
18911
|
+
var _c = (0, palace_1.getHoroscope)({ solarDate, timeIndex: tIndex, gender, fixLeap }), decadals = _c.decadals, ages = _c.ages;
|
|
18912
|
+
for (var i = 0; i < 12; i++) {
|
|
18913
|
+
var heavenlyStemOfPalace = data_1.HEAVENLY_STEMS[(0, utils_1.fixIndex)(data_1.HEAVENLY_STEMS.indexOf((0, i18n_1.kot)(heavenlyStemOfSoul, "Heavenly")) - soulIndex + i, 10)];
|
|
18914
|
+
var earthlyBranchOfPalace = data_1.EARTHLY_BRANCHES[(0, utils_1.fixIndex)(2 + i)];
|
|
18915
|
+
palaces.push(new FunctionalPalace_1.default({
|
|
18916
|
+
index: i,
|
|
18917
|
+
name: palaceNames[i],
|
|
18918
|
+
isBodyPalace: bodyIndex === i,
|
|
18919
|
+
isOriginalPalace: !["ziEarthly", "chouEarthly"].includes(earthlyBranchOfPalace) && heavenlyStemOfPalace === heavenlyStemOfYear,
|
|
18920
|
+
heavenlyStem: (0, i18n_1.t)(heavenlyStemOfPalace),
|
|
18921
|
+
earthlyBranch: (0, i18n_1.t)(earthlyBranchOfPalace),
|
|
18922
|
+
majorStars: majorStars[i],
|
|
18923
|
+
minorStars: minorStars[i],
|
|
18924
|
+
adjectiveStars: adjectiveStars[i],
|
|
18925
|
+
changsheng12: changsheng12[i],
|
|
18926
|
+
boshi12: boshi12[i],
|
|
18927
|
+
jiangqian12: jiangqian12[i],
|
|
18928
|
+
suiqian12: suiqian12[i],
|
|
18929
|
+
decadal: decadals[i],
|
|
18930
|
+
ages: ages[i]
|
|
18931
|
+
}));
|
|
18932
|
+
}
|
|
18933
|
+
var earthlyBranchOfSoulPalace = data_1.EARTHLY_BRANCHES[(0, utils_1.fixIndex)(soulIndex + 2)];
|
|
18934
|
+
var earthlyBranchOfBodyPalace = (0, i18n_1.t)(data_1.EARTHLY_BRANCHES[(0, utils_1.fixIndex)(bodyIndex + 2)]);
|
|
18935
|
+
var chineseDate = (0, lunar_lite_1.getHeavenlyStemAndEarthlyBranchBySolarDate)(solarDate, tIndex, {
|
|
18936
|
+
year: (0, config_1.getConfig)().yearDivide,
|
|
18937
|
+
month: (0, config_1.getConfig)().horoscopeDivide
|
|
18938
|
+
});
|
|
18939
|
+
var lunarDate = (0, lunar_lite_1.solar2lunar)(solarDate);
|
|
18940
|
+
var soul = (0, i18n_1.t)(data_1.earthlyBranches[(0, config_1.getConfig)().algorithm === "zhongzhou" ? earthlyBranchOfYear : earthlyBranchOfSoulPalace].soul);
|
|
18941
|
+
var result = new FunctionalAstrolabe_1.default({
|
|
18942
|
+
gender: (0, i18n_1.t)((0, i18n_1.kot)(gender)),
|
|
18943
|
+
solarDate,
|
|
18944
|
+
lunarDate: formatLunarDate(lunarDate),
|
|
18945
|
+
chineseDate: (0, utils_1.translateChineseDate)(chineseDate),
|
|
18946
|
+
rawDates: { lunarDate, chineseDate },
|
|
18947
|
+
time: (0, i18n_1.t)(data_1.CHINESE_TIME[timeIndex]),
|
|
18948
|
+
timeRange: data_1.TIME_RANGE[timeIndex],
|
|
18949
|
+
sign: (0, exports.getSignBySolarDate)(solarDate, language),
|
|
18950
|
+
zodiac: (0, exports.getZodiacBySolarDate)(solarDate, language),
|
|
18951
|
+
earthlyBranchOfSoulPalace: (0, i18n_1.t)(earthlyBranchOfSoulPalace),
|
|
18952
|
+
earthlyBranchOfBodyPalace,
|
|
18953
|
+
soul,
|
|
18954
|
+
body: (0, i18n_1.t)(data_1.earthlyBranches[earthlyBranchOfYear].body),
|
|
18955
|
+
fiveElementsClass: (0, palace_1.getFiveElementsClass)(heavenlyStemOfSoul, earthlyBranchOfSoul),
|
|
18956
|
+
palaces,
|
|
18957
|
+
copyright: "copyright \xA9 2023-".concat((/* @__PURE__ */ new Date()).getFullYear(), " iztro (https://github.com/SylarLong/iztro)")
|
|
18958
|
+
});
|
|
18959
|
+
(0, context_1.bindContext)(result);
|
|
18960
|
+
_plugins.map(function(plugin) {
|
|
18961
|
+
return result.use(plugin);
|
|
18962
|
+
});
|
|
18963
|
+
return result;
|
|
18655
18964
|
});
|
|
18656
|
-
return result;
|
|
18657
18965
|
}
|
|
18658
18966
|
exports.bySolar = bySolar;
|
|
18659
18967
|
function astrolabeByLunarDate(lunarDateStr, timeIndex, gender, isLeapMonth, fixLeap, language) {
|
|
@@ -18673,6 +18981,11 @@ var require_astro = __commonJS({
|
|
|
18673
18981
|
if (fixLeap === void 0) {
|
|
18674
18982
|
fixLeap = true;
|
|
18675
18983
|
}
|
|
18984
|
+
(0, validation_1.validateDate)(lunarDateStr, "lunar", isLeapMonth);
|
|
18985
|
+
(0, validation_1.validateTimeIndex)(timeIndex);
|
|
18986
|
+
(0, validation_1.validateGender)(gender);
|
|
18987
|
+
(0, validation_1.validateBoolean)(isLeapMonth, "isLeapMonth");
|
|
18988
|
+
(0, validation_1.validateBoolean)(fixLeap, "fixLeap");
|
|
18676
18989
|
var solarDate = (0, lunar_lite_1.lunar2solar)(lunarDateStr, isLeapMonth);
|
|
18677
18990
|
return bySolar(solarDate.toString(), timeIndex, gender, fixLeap, language);
|
|
18678
18991
|
}
|
|
@@ -18680,7 +18993,7 @@ var require_astro = __commonJS({
|
|
|
18680
18993
|
function rearrangeAstrolable(_a) {
|
|
18681
18994
|
var from = _a.from, astrolable = _a.astrolable, option = _a.option;
|
|
18682
18995
|
var timeIndex = option.timeIndex, fixLeap = option.fixLeap;
|
|
18683
|
-
var dayDivide = (0,
|
|
18996
|
+
var dayDivide = (0, config_1.getConfig)().dayDivide;
|
|
18684
18997
|
var tIndex = timeIndex;
|
|
18685
18998
|
if (dayDivide === "current" && tIndex >= 12) {
|
|
18686
18999
|
tIndex = 0;
|
|
@@ -18752,71 +19065,88 @@ var require_astro = __commonJS({
|
|
|
18752
19065
|
exports.rearrangeAstrolable = rearrangeAstrolable;
|
|
18753
19066
|
function withOptions(option) {
|
|
18754
19067
|
var _a = option.type, type = _a === void 0 ? "solar" : _a, dateStr = option.dateStr, timeIndex = option.timeIndex, gender = option.gender, isLeapMonth = option.isLeapMonth, fixLeap = option.fixLeap, language = option.language, astroType = option.astroType, cfg = option.config;
|
|
18755
|
-
if (
|
|
18756
|
-
(
|
|
18757
|
-
|
|
18758
|
-
|
|
18759
|
-
|
|
18760
|
-
|
|
18761
|
-
|
|
18762
|
-
|
|
18763
|
-
|
|
18764
|
-
|
|
18765
|
-
|
|
18766
|
-
|
|
18767
|
-
|
|
18768
|
-
|
|
18769
|
-
|
|
18770
|
-
|
|
18771
|
-
|
|
18772
|
-
|
|
18773
|
-
|
|
18774
|
-
|
|
18775
|
-
|
|
18776
|
-
|
|
18777
|
-
|
|
18778
|
-
|
|
19068
|
+
if (!["solar", "lunar"].includes(type))
|
|
19069
|
+
throw new Error("invalid date type.");
|
|
19070
|
+
if (astroType !== void 0 && !["heaven", "earth", "human"].includes(astroType))
|
|
19071
|
+
throw new Error("invalid astroType.");
|
|
19072
|
+
return (0, config_1.withConfig)((0, config_1.resolveConfig)(cfg), function() {
|
|
19073
|
+
return (0, i18n_1.withLanguage)(language !== null && language !== void 0 ? language : "zh-CN", function() {
|
|
19074
|
+
var result;
|
|
19075
|
+
if (type === "solar") {
|
|
19076
|
+
result = bySolar(dateStr, timeIndex, gender, fixLeap, language);
|
|
19077
|
+
} else {
|
|
19078
|
+
result = byLunar(dateStr, timeIndex, gender, isLeapMonth, fixLeap, language);
|
|
19079
|
+
}
|
|
19080
|
+
switch (astroType) {
|
|
19081
|
+
case "earth": {
|
|
19082
|
+
var bodyPalace = result.palace("\u8EAB\u5BAB");
|
|
19083
|
+
var _a2 = bodyPalace, heavenlyStem = _a2.heavenlyStem, earthlyBranch = _a2.earthlyBranch;
|
|
19084
|
+
return rearrangeAstrolable({ from: { heavenlyStem, earthlyBranch }, astrolable: result, option });
|
|
19085
|
+
}
|
|
19086
|
+
case "human": {
|
|
19087
|
+
var bodyPalace = result.palace("\u798F\u5FB7");
|
|
19088
|
+
var _b = bodyPalace, heavenlyStem = _b.heavenlyStem, earthlyBranch = _b.earthlyBranch;
|
|
19089
|
+
return rearrangeAstrolable({ from: { heavenlyStem, earthlyBranch }, astrolable: result, option });
|
|
19090
|
+
}
|
|
19091
|
+
default: {
|
|
19092
|
+
return result;
|
|
19093
|
+
}
|
|
19094
|
+
}
|
|
19095
|
+
});
|
|
19096
|
+
});
|
|
18779
19097
|
}
|
|
18780
19098
|
exports.withOptions = withOptions;
|
|
18781
19099
|
var getZodiacBySolarDate = function(solarDateStr, language) {
|
|
18782
|
-
|
|
18783
|
-
|
|
18784
|
-
|
|
18785
|
-
|
|
18786
|
-
|
|
19100
|
+
(0, validation_1.validateDate)(solarDateStr);
|
|
19101
|
+
return (0, i18n_1.withLanguage)(language !== null && language !== void 0 ? language : "zh-CN", function() {
|
|
19102
|
+
var yearly = (0, lunar_lite_1.getHeavenlyStemAndEarthlyBranchBySolarDate)(solarDateStr, 0, {
|
|
19103
|
+
year: (0, config_1.getConfig)().yearDivide
|
|
19104
|
+
}).yearly;
|
|
19105
|
+
return (0, i18n_1.t)((0, i18n_1.kot)((0, lunar_lite_1.getZodiac)(yearly[1])));
|
|
19106
|
+
});
|
|
18787
19107
|
};
|
|
18788
19108
|
exports.getZodiacBySolarDate = getZodiacBySolarDate;
|
|
18789
19109
|
var getSignBySolarDate = function(solarDateStr, language) {
|
|
18790
|
-
|
|
18791
|
-
return (0, i18n_1.
|
|
19110
|
+
(0, validation_1.validateDate)(solarDateStr);
|
|
19111
|
+
return (0, i18n_1.withLanguage)(language !== null && language !== void 0 ? language : "zh-CN", function() {
|
|
19112
|
+
return (0, i18n_1.t)((0, i18n_1.kot)((0, lunar_lite_1.getSign)(solarDateStr)));
|
|
19113
|
+
});
|
|
18792
19114
|
};
|
|
18793
19115
|
exports.getSignBySolarDate = getSignBySolarDate;
|
|
18794
19116
|
var getSignByLunarDate = function(lunarDateStr, isLeapMonth, language) {
|
|
18795
|
-
|
|
18796
|
-
|
|
18797
|
-
|
|
19117
|
+
(0, validation_1.validateDate)(lunarDateStr, "lunar", isLeapMonth);
|
|
19118
|
+
if (isLeapMonth !== void 0)
|
|
19119
|
+
(0, validation_1.validateBoolean)(isLeapMonth, "isLeapMonth");
|
|
19120
|
+
return (0, i18n_1.withLanguage)(language !== null && language !== void 0 ? language : "zh-CN", function() {
|
|
19121
|
+
var solarDate = (0, lunar_lite_1.lunar2solar)(lunarDateStr, isLeapMonth);
|
|
19122
|
+
return (0, exports.getSignBySolarDate)(solarDate.toString(), language);
|
|
19123
|
+
});
|
|
18798
19124
|
};
|
|
18799
19125
|
exports.getSignByLunarDate = getSignByLunarDate;
|
|
18800
19126
|
var getMajorStarBySolarDate = function(solarDateStr, timeIndex, fixLeap, language) {
|
|
18801
19127
|
if (fixLeap === void 0) {
|
|
18802
19128
|
fixLeap = true;
|
|
18803
19129
|
}
|
|
18804
|
-
|
|
18805
|
-
|
|
18806
|
-
|
|
18807
|
-
|
|
18808
|
-
|
|
18809
|
-
|
|
18810
|
-
|
|
18811
|
-
|
|
19130
|
+
(0, validation_1.validateDate)(solarDateStr);
|
|
19131
|
+
(0, validation_1.validateTimeIndex)(timeIndex);
|
|
19132
|
+
(0, validation_1.validateBoolean)(fixLeap, "fixLeap");
|
|
19133
|
+
return (0, i18n_1.withLanguage)(language !== null && language !== void 0 ? language : "zh-CN", function() {
|
|
19134
|
+
var soulIndex = (0, palace_1.getSoulAndBody)({ solarDate: solarDateStr, timeIndex, fixLeap }).soulIndex;
|
|
19135
|
+
var majorStars = (0, star_1.getMajorStar)({ solarDate: solarDateStr, timeIndex, fixLeap });
|
|
19136
|
+
var stars = majorStars[soulIndex].filter(function(star) {
|
|
19137
|
+
return star.type === "major";
|
|
19138
|
+
});
|
|
19139
|
+
if (stars.length) {
|
|
19140
|
+
return stars.map(function(star) {
|
|
19141
|
+
return (0, i18n_1.t)(star.name);
|
|
19142
|
+
}).join(",");
|
|
19143
|
+
}
|
|
19144
|
+
return majorStars[(0, utils_1.fixIndex)(soulIndex + 6)].filter(function(star) {
|
|
19145
|
+
return star.type === "major";
|
|
19146
|
+
}).map(function(star) {
|
|
18812
19147
|
return (0, i18n_1.t)(star.name);
|
|
18813
19148
|
}).join(",");
|
|
18814
|
-
}
|
|
18815
|
-
return majorStars[(0, utils_1.fixIndex)(soulIndex + 6)].filter(function(star) {
|
|
18816
|
-
return star.type === "major";
|
|
18817
|
-
}).map(function(star) {
|
|
18818
|
-
return (0, i18n_1.t)(star.name);
|
|
18819
|
-
}).join(",");
|
|
19149
|
+
});
|
|
18820
19150
|
};
|
|
18821
19151
|
exports.getMajorStarBySolarDate = getMajorStarBySolarDate;
|
|
18822
19152
|
var getMajorStarByLunarDate = function(lunarDateStr, timeIndex, isLeapMonth, fixLeap, language) {
|
|
@@ -18826,6 +19156,8 @@ var require_astro = __commonJS({
|
|
|
18826
19156
|
if (fixLeap === void 0) {
|
|
18827
19157
|
fixLeap = true;
|
|
18828
19158
|
}
|
|
19159
|
+
(0, validation_1.validateDate)(lunarDateStr, "lunar", isLeapMonth);
|
|
19160
|
+
(0, validation_1.validateBoolean)(isLeapMonth, "isLeapMonth");
|
|
18829
19161
|
var solarDate = (0, lunar_lite_1.lunar2solar)(lunarDateStr, isLeapMonth);
|
|
18830
19162
|
return (0, exports.getMajorStarBySolarDate)(solarDate.toString(), timeIndex, fixLeap, language);
|
|
18831
19163
|
};
|