mcard-js 2.1.41 → 2.1.43
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/dist/{CardCollection-MXTUJV4J.js → CardCollection-7DKJWKAG.js} +3 -2
- package/dist/CardCollection-S4RE3RXP.js +10 -0
- package/dist/CardCollection-VPN7AAAX.js +10 -0
- package/dist/{IndexedDBEngine-2G5KCISA.js → IndexedDBEngine-7JOGM2MM.js} +3 -2
- package/dist/IndexedDBEngine-BGZHJK5L.js +12 -0
- package/dist/IndexedDBEngine-ZJ442GI7.js +12 -0
- package/dist/{LLMRuntime-GIGDMDEZ.js → LLMRuntime-OZNVAPXJ.js} +4 -3
- package/dist/{LLMRuntime-LBWUJ7ON.js → LLMRuntime-UPSEDSIK.js} +2 -2
- package/dist/{LambdaRuntime-B6D6IQKZ.js → LambdaRuntime-JZ4Q56TI.js} +6 -5
- package/dist/LambdaRuntime-PM3OUFHU.js +19 -0
- package/dist/LambdaRuntime-WBEK37AF.js +19 -0
- package/dist/LambdaRuntime-YKSBAT65.js +19 -0
- package/dist/{Loader-3LSJXJQG.js → Loader-7HQVYDPA.js} +2 -2
- package/dist/{Loader-BM56B2TX.js → Loader-NYWTV7CQ.js} +4 -3
- package/dist/{Loader-CYLAA4XU.js → Loader-OLKPY6HT.js} +3 -3
- package/dist/{MCard-H56VOJLR.js → MCard-OYI73CUI.js} +1 -1
- package/dist/{MCard-5LIREV2B.js → MCard-XHG3BZC7.js} +2 -2
- package/dist/{NetworkRuntime-IAFHPQSX.js → NetworkRuntime-VYCC5HSY.js} +16 -11
- package/dist/{NetworkRuntime-JNGKW3DY.js → NetworkRuntime-XQX3LDDI.js} +61 -33
- package/dist/{NetworkRuntime-CXPKIAOQ.js → NetworkRuntime-XZR733M5.js} +17 -12
- package/dist/{OllamaProvider-QPX2JXL2.js → OllamaProvider-FBZ5WW72.js} +1 -1
- package/dist/OllamaProvider-W6TPZNHD.js +9 -0
- package/dist/chunk-2NFGZ6PA.js +170 -0
- package/dist/{chunk-VXV35I5J.js → chunk-4TYRTQ4V.js} +48 -17
- package/dist/chunk-4VWWTGRW.js +497 -0
- package/dist/{chunk-4PDYHPR6.js → chunk-5GHZP7E5.js} +4 -2
- package/dist/{chunk-42VF42KH.js → chunk-5HZNWJFT.js} +4 -2
- package/dist/{chunk-DEYMHG5A.js → chunk-6MG5ZHAP.js} +58 -22
- package/dist/{chunk-7V37AAPK.js → chunk-7B4PABOL.js} +16 -7
- package/dist/chunk-A5S2PI37.js +47 -0
- package/dist/chunk-BFD4WSWU.js +497 -0
- package/dist/chunk-BSEFN25Q.js +32 -0
- package/dist/{chunk-3LPY36OG.js → chunk-CBEVE7RG.js} +20 -15
- package/dist/{chunk-A5AB4WQN.js → chunk-DPA3ZK4Q.js} +30 -21
- package/dist/{chunk-5FA54AMM.js → chunk-EJHX3VZL.js} +54 -21
- package/dist/{chunk-QXPHMSPA.js → chunk-GNF4WAPV.js} +22 -9
- package/dist/{chunk-XPG6B5IW.js → chunk-JHIA2BQK.js} +26 -13
- package/dist/{chunk-4I5IZILN.js → chunk-KGPICAQW.js} +10 -7
- package/dist/{chunk-4WBJPHZP.js → chunk-MST5AZXJ.js} +17 -8
- package/dist/{chunk-K35KFTEA.js → chunk-N6KDHCBC.js} +58 -33
- package/dist/{chunk-2R4ESMZB.js → chunk-NFO5NU6B.js} +5 -3
- package/dist/chunk-OKWBHCKC.js +170 -0
- package/dist/{chunk-FIE4LAJG.js → chunk-OX3K6UZJ.js} +5 -3
- package/dist/{chunk-6SEX42H2.js → chunk-R3K7DG7O.js} +21 -16
- package/dist/chunk-RB35Z35T.js +44 -0
- package/dist/{chunk-AWGFLRLI.js → chunk-SP4YPKPR.js} +51 -318
- package/dist/chunk-U7TSFDKX.js +217 -0
- package/dist/chunk-UP3SQX56.js +112 -0
- package/dist/{chunk-4EUEU4SM.js → chunk-VGIRC3HX.js} +13 -110
- package/dist/chunk-WGG7526Z.js +112 -0
- package/dist/{chunk-3JBSRALP.js → chunk-WNKP66IR.js} +10 -7
- package/dist/{chunk-DOC55MPG.js → chunk-WR6ISHCS.js} +11 -3
- package/dist/{chunk-52UNWVOD.js → chunk-ZVOPQ5BM.js} +54 -21
- package/dist/chunk-ZZMOPQER.js +217 -0
- package/dist/index.browser.cjs +79 -1454
- package/dist/index.browser.d.cts +2 -17
- package/dist/index.browser.d.ts +2 -17
- package/dist/index.browser.js +7 -6
- package/dist/index.cjs +306 -1631
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +49 -35
- package/dist/storage/SqliteNodeEngine.cjs +59 -1335
- package/dist/storage/SqliteNodeEngine.js +4 -3
- package/dist/storage/SqliteWasmEngine.cjs +57 -1335
- package/dist/storage/SqliteWasmEngine.js +4 -3
- package/package.json +12 -8
- package/dist/CardCollection-4OFJ6XQJ.js +0 -9
- package/dist/CardCollection-7PDWM24F.js +0 -9
- package/dist/CardCollection-CEFQ5PA6.js +0 -9
- package/dist/CardCollection-GUEYGN2Y.js +0 -9
- package/dist/CardCollection-KDO4CQ4B.js +0 -9
- package/dist/CardCollection-PB7ZY73E.js +0 -9
- package/dist/CardCollection-RK4DVH63.js +0 -9
- package/dist/CardCollection-T376E3TS.js +0 -9
- package/dist/CardCollection-WGCKKUOD.js +0 -9
- package/dist/CardCollection-XON2IWDU.js +0 -9
- package/dist/CardCollection-ZEI6FMP3.js +0 -9
- package/dist/EventProducer-MW6QF4IO.js +0 -47
- package/dist/EventProducer-V7RY2KKR.js +0 -47
- package/dist/FileIO.d.ts +0 -44
- package/dist/FileIO.d.ts.map +0 -1
- package/dist/FileIO.js +0 -203
- package/dist/FileIO.js.map +0 -1
- package/dist/IndexedDBEngine-7JI2CL32.js +0 -10
- package/dist/IndexedDBEngine-7OHQIRTI.js +0 -10
- package/dist/IndexedDBEngine-E5YJQG4U.js +0 -10
- package/dist/IndexedDBEngine-NV625E7L.js +0 -10
- package/dist/IndexedDBEngine-RPQS7ILF.js +0 -10
- package/dist/IndexedDBEngine-S3ZWCSI7.js +0 -10
- package/dist/IndexedDBEngine-T7OC5GRR.js +0 -10
- package/dist/LLMRuntime-BKB3CLXM.js +0 -16
- package/dist/LLMRuntime-BQUUFLAB.js +0 -16
- package/dist/LLMRuntime-TNBC4JCB.js +0 -16
- package/dist/LambdaRuntime-4YILF3G7.js +0 -15
- package/dist/LambdaRuntime-53TPVENI.js +0 -16
- package/dist/LambdaRuntime-73BSWP2G.js +0 -16
- package/dist/LambdaRuntime-AL5SBDCA.js +0 -17
- package/dist/LambdaRuntime-BYBUI7H5.js +0 -17
- package/dist/LambdaRuntime-JDZP3HIQ.js +0 -17
- package/dist/LambdaRuntime-JEI7RVWG.js +0 -16
- package/dist/LambdaRuntime-LCTHBYMV.js +0 -17
- package/dist/LambdaRuntime-LDA3G7IR.js +0 -16
- package/dist/LambdaRuntime-LF4FR6YA.js +0 -16
- package/dist/LambdaRuntime-O7JBVHO2.js +0 -16
- package/dist/LambdaRuntime-OFOTT464.js +0 -17
- package/dist/LambdaRuntime-Q6ISCHAD.js +0 -16
- package/dist/LambdaRuntime-TCZ42XCB.js +0 -16
- package/dist/LambdaRuntime-UKUOKJIW.js +0 -17
- package/dist/LambdaRuntime-VKLON4IB.js +0 -17
- package/dist/LambdaRuntime-WNYDBTS6.js +0 -16
- package/dist/LambdaRuntime-WPTX76CX.js +0 -17
- package/dist/Loader-4P7PEBCL.js +0 -11
- package/dist/Loader-HQ3QKMYM.js +0 -11
- package/dist/Loader-NCATGB67.js +0 -11
- package/dist/Loader-NRHGDQBD.js +0 -11
- package/dist/Loader-RT4NI6AT.js +0 -11
- package/dist/Loader-SSRY57SS.js +0 -11
- package/dist/Loader-W72QZ3T7.js +0 -11
- package/dist/Loader-WECRIXQW.js +0 -11
- package/dist/Loader-XFBIHCQF.js +0 -11
- package/dist/Loader.d.ts +0 -34
- package/dist/Loader.d.ts.map +0 -1
- package/dist/Loader.js +0 -190
- package/dist/Loader.js.map +0 -1
- package/dist/MCard-4J6WSBRF.js +0 -8
- package/dist/MCard-E3MRPTJF.js +0 -8
- package/dist/MCard-FCOIB6BP.js +0 -8
- package/dist/MCard-G4HUWHY5.js +0 -8
- package/dist/MCard-HFL7AFIH.js +0 -8
- package/dist/MCard-JOW6RBSO.js +0 -8
- package/dist/MCard-M4LKN4U2.js +0 -8
- package/dist/MCard-VB7UDUTN.js +0 -8
- package/dist/MCard-WOHE6SX6.js +0 -8
- package/dist/NetworkRuntime-2H7AQITA.js +0 -1571
- package/dist/NetworkRuntime-3MIUBNOF.js +0 -1571
- package/dist/NetworkRuntime-AOE2EJIM.js +0 -1571
- package/dist/NetworkRuntime-BQMDBUDO.js +0 -1570
- package/dist/NetworkRuntime-GMANLCAB.js +0 -1542
- package/dist/NetworkRuntime-L7P4VCGK.js +0 -1542
- package/dist/NetworkRuntime-LC7SUAOF.js +0 -1542
- package/dist/NetworkRuntime-OJWCWPBI.js +0 -1570
- package/dist/NetworkRuntime-ZJ3B4T3A.js +0 -1542
- package/dist/OllamaProvider-32RC36HD.js +0 -8
- package/dist/OllamaProvider-MQXSXLCA.js +0 -8
- package/dist/OllamaProvider-Q45BMOVN.js +0 -8
- package/dist/SqliteNodeEngine-WKVFWBNH.js +0 -9
- package/dist/StorageAdapter-DdDUiIvH.d.cts +0 -391
- package/dist/StorageAdapter-DdDUiIvH.d.ts +0 -391
- package/dist/StorageAdapter-Dw1BeOam.d.cts +0 -380
- package/dist/StorageAdapter-Dw1BeOam.d.ts +0 -380
- package/dist/chunk-23GCCCXB.js +0 -402
- package/dist/chunk-2ECISK2I.js +0 -354
- package/dist/chunk-2MRBTM72.js +0 -354
- package/dist/chunk-2THXO6FH.js +0 -2313
- package/dist/chunk-2VNRWIBZ.js +0 -389
- package/dist/chunk-2VOQRXWH.js +0 -296
- package/dist/chunk-34AYBZRO.js +0 -920
- package/dist/chunk-37EEYISR.js +0 -372
- package/dist/chunk-3E2TKOCZ.js +0 -354
- package/dist/chunk-3MMMJ7NH.js +0 -1068
- package/dist/chunk-437JTYVP.js +0 -292
- package/dist/chunk-4MQINOOG.js +0 -1218
- package/dist/chunk-4UIWXZHY.js +0 -1049
- package/dist/chunk-53S2EZCY.js +0 -290
- package/dist/chunk-5BIDGXA6.js +0 -987
- package/dist/chunk-5HXLTWYN.js +0 -296
- package/dist/chunk-5W2FDGUF.js +0 -371
- package/dist/chunk-6R4ERZMG.js +0 -1136
- package/dist/chunk-74YSNHEM.js +0 -2309
- package/dist/chunk-7H2BQZDK.js +0 -270
- package/dist/chunk-7KEWCCES.js +0 -1136
- package/dist/chunk-7PN2BUYF.js +0 -371
- package/dist/chunk-A2ZJA2EV.js +0 -389
- package/dist/chunk-ARPIBGRP.js +0 -1236
- package/dist/chunk-ATHNEEAG.js +0 -2309
- package/dist/chunk-AVXJOPUE.js +0 -354
- package/dist/chunk-B7VEU4S2.js +0 -204
- package/dist/chunk-C2TKISBR.js +0 -1213
- package/dist/chunk-CBH4YKB4.js +0 -2309
- package/dist/chunk-DP7HBRDL.js +0 -2309
- package/dist/chunk-DV7ZSH4W.js +0 -2309
- package/dist/chunk-DWXNZ5AJ.js +0 -642
- package/dist/chunk-EFKMZTT2.js +0 -270
- package/dist/chunk-FXJYXHG6.js +0 -266
- package/dist/chunk-G466I6RT.js +0 -229
- package/dist/chunk-GATPBTHL.js +0 -1142
- package/dist/chunk-GMQAHPBC.js +0 -292
- package/dist/chunk-GMWA2IJJ.js +0 -1105
- package/dist/chunk-GVX5LDLH.js +0 -371
- package/dist/chunk-HGENNKOJ.js +0 -355
- package/dist/chunk-HM2NBYHU.js +0 -292
- package/dist/chunk-IZWB5GCG.js +0 -389
- package/dist/chunk-J4HOFUKM.js +0 -2309
- package/dist/chunk-JIK2G3EH.js +0 -2313
- package/dist/chunk-JRXNWGSW.js +0 -1136
- package/dist/chunk-KRKK3KP6.js +0 -1081
- package/dist/chunk-KYXZHRUG.js +0 -389
- package/dist/chunk-L36L2VDL.js +0 -371
- package/dist/chunk-L5PZCES6.js +0 -204
- package/dist/chunk-L5U77ZEM.js +0 -1142
- package/dist/chunk-LQEKGX2T.js +0 -204
- package/dist/chunk-LWMUDMMQ.js +0 -1144
- package/dist/chunk-MLKGABMK.js +0 -9
- package/dist/chunk-NZ6OQ7UT.js +0 -92
- package/dist/chunk-O2UMNZGF.js +0 -903
- package/dist/chunk-OFHDMLNM.js +0 -355
- package/dist/chunk-PDBMNUMB.js +0 -316
- package/dist/chunk-PW4XS7M3.js +0 -850
- package/dist/chunk-QA2XQMMJ.js +0 -2313
- package/dist/chunk-QL2JFNA7.js +0 -389
- package/dist/chunk-QPZ2HNSU.js +0 -912
- package/dist/chunk-QVGVU6OS.js +0 -296
- package/dist/chunk-RCEU7PFH.js +0 -270
- package/dist/chunk-RSTKX7WM.js +0 -907
- package/dist/chunk-RXL2CW64.js +0 -266
- package/dist/chunk-RXUF6Y43.js +0 -2309
- package/dist/chunk-SIAA4J6H.js +0 -21
- package/dist/chunk-SOJ2UMO2.js +0 -986
- package/dist/chunk-T3AG6DXY.js +0 -296
- package/dist/chunk-TPCNKMGZ.js +0 -355
- package/dist/chunk-TPT3S5AX.js +0 -204
- package/dist/chunk-TXWGIEVH.js +0 -2313
- package/dist/chunk-TZFI54AU.js +0 -2313
- package/dist/chunk-U3FWUPD3.js +0 -717
- package/dist/chunk-UFW2VW2D.js +0 -266
- package/dist/chunk-UTAOS5Y7.js +0 -2313
- package/dist/chunk-V7VX5OJ6.js +0 -389
- package/dist/chunk-W2XGNMYB.js +0 -355
- package/dist/chunk-W3M4HJ4U.js +0 -2309
- package/dist/chunk-WMJGGREP.js +0 -296
- package/dist/chunk-WTNVQ5WS.js +0 -732
- package/dist/chunk-WVFWNVT2.js +0 -1050
- package/dist/chunk-WY7EYSYC.js +0 -1236
- package/dist/chunk-X42F7DE3.js +0 -373
- package/dist/chunk-XC7Y4I7L.js +0 -290
- package/dist/chunk-YFULZTKP.js +0 -270
- package/dist/chunk-YSVHXKSZ.js +0 -373
- package/dist/chunk-YWGVK5OS.js +0 -292
- package/dist/chunk-Z4BRNTO5.js +0 -2313
- package/dist/chunk-ZDUXDKPD.js +0 -292
- package/dist/chunk-ZXQ2W7LO.js +0 -355
- package/dist/chunk-ZXQELXXO.js +0 -378
- package/dist/index.browser.d.ts.map +0 -1
- package/dist/index.browser.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib-4XS34IPZ.js +0 -778
- package/dist/model/CardCollection.d.ts +0 -147
- package/dist/model/CardCollection.d.ts.map +0 -1
- package/dist/model/CardCollection.js +0 -272
- package/dist/model/CardCollection.js.map +0 -1
- package/dist/model/ContentTypeInterpreter.d.ts +0 -28
- package/dist/model/ContentTypeInterpreter.d.ts.map +0 -1
- package/dist/model/ContentTypeInterpreter.js +0 -147
- package/dist/model/ContentTypeInterpreter.js.map +0 -1
- package/dist/model/EventProducer.d.ts +0 -10
- package/dist/model/EventProducer.d.ts.map +0 -1
- package/dist/model/EventProducer.js +0 -46
- package/dist/model/EventProducer.js.map +0 -1
- package/dist/model/GTime.d.ts +0 -44
- package/dist/model/GTime.d.ts.map +0 -1
- package/dist/model/GTime.js +0 -91
- package/dist/model/GTime.js.map +0 -1
- package/dist/model/Handle.d.ts +0 -37
- package/dist/model/Handle.d.ts.map +0 -1
- package/dist/model/Handle.js +0 -90
- package/dist/model/Handle.js.map +0 -1
- package/dist/model/MCard.d.ts +0 -145
- package/dist/model/MCard.d.ts.map +0 -1
- package/dist/model/MCard.js +0 -180
- package/dist/model/MCard.js.map +0 -1
- package/dist/model/PCard.d.ts +0 -271
- package/dist/model/PCard.d.ts.map +0 -1
- package/dist/model/PCard.js +0 -558
- package/dist/model/PCard.js.map +0 -1
- package/dist/model/VCard.d.ts +0 -277
- package/dist/model/VCard.d.ts.map +0 -1
- package/dist/model/VCard.js +0 -573
- package/dist/model/VCard.js.map +0 -1
- package/dist/model/constants.d.ts +0 -45
- package/dist/model/constants.d.ts.map +0 -1
- package/dist/model/constants.js +0 -27
- package/dist/model/constants.js.map +0 -1
- package/dist/model/vcard_vocabulary.d.ts +0 -174
- package/dist/model/vcard_vocabulary.d.ts.map +0 -1
- package/dist/model/vcard_vocabulary.js +0 -187
- package/dist/model/vcard_vocabulary.js.map +0 -1
- package/dist/monads/Either.d.ts +0 -51
- package/dist/monads/Either.d.ts.map +0 -1
- package/dist/monads/Either.js +0 -82
- package/dist/monads/Either.js.map +0 -1
- package/dist/monads/IO.d.ts +0 -38
- package/dist/monads/IO.d.ts.map +0 -1
- package/dist/monads/IO.js +0 -66
- package/dist/monads/IO.js.map +0 -1
- package/dist/monads/Maybe.d.ts +0 -45
- package/dist/monads/Maybe.d.ts.map +0 -1
- package/dist/monads/Maybe.js +0 -73
- package/dist/monads/Maybe.js.map +0 -1
- package/dist/monads/Reader.d.ts +0 -29
- package/dist/monads/Reader.d.ts.map +0 -1
- package/dist/monads/Reader.js +0 -44
- package/dist/monads/Reader.js.map +0 -1
- package/dist/monads/State.d.ts +0 -33
- package/dist/monads/State.d.ts.map +0 -1
- package/dist/monads/State.js +0 -50
- package/dist/monads/State.js.map +0 -1
- package/dist/monads/Writer.d.ts +0 -29
- package/dist/monads/Writer.d.ts.map +0 -1
- package/dist/monads/Writer.js +0 -46
- package/dist/monads/Writer.js.map +0 -1
- package/dist/ptr/Bridgelet.d.ts +0 -180
- package/dist/ptr/Bridgelet.d.ts.map +0 -1
- package/dist/ptr/Bridgelet.js +0 -296
- package/dist/ptr/Bridgelet.js.map +0 -1
- package/dist/ptr/CLMIntrospection.d.ts +0 -169
- package/dist/ptr/CLMIntrospection.d.ts.map +0 -1
- package/dist/ptr/CLMIntrospection.js +0 -329
- package/dist/ptr/CLMIntrospection.js.map +0 -1
- package/dist/ptr/FaroSidecar.d.ts +0 -56
- package/dist/ptr/FaroSidecar.d.ts.map +0 -1
- package/dist/ptr/FaroSidecar.js +0 -102
- package/dist/ptr/FaroSidecar.js.map +0 -1
- package/dist/ptr/LensProtocol.d.ts +0 -84
- package/dist/ptr/LensProtocol.d.ts.map +0 -1
- package/dist/ptr/LensProtocol.js +0 -98
- package/dist/ptr/LensProtocol.js.map +0 -1
- package/dist/ptr/OpenTelemetrySidecar.d.ts +0 -144
- package/dist/ptr/OpenTelemetrySidecar.d.ts.map +0 -1
- package/dist/ptr/OpenTelemetrySidecar.js +0 -232
- package/dist/ptr/OpenTelemetrySidecar.js.map +0 -1
- package/dist/ptr/SandboxWorker.d.ts +0 -79
- package/dist/ptr/SandboxWorker.d.ts.map +0 -1
- package/dist/ptr/SandboxWorker.js +0 -298
- package/dist/ptr/SandboxWorker.js.map +0 -1
- package/dist/ptr/common_types.d.ts +0 -39
- package/dist/ptr/common_types.d.ts.map +0 -1
- package/dist/ptr/common_types.js +0 -12
- package/dist/ptr/common_types.js.map +0 -1
- package/dist/rag/GraphRAGEngine.d.ts +0 -26
- package/dist/rag/GraphRAGEngine.d.ts.map +0 -1
- package/dist/rag/GraphRAGEngine.js +0 -166
- package/dist/rag/GraphRAGEngine.js.map +0 -1
- package/dist/rag/HandleVectorStore.d.ts +0 -201
- package/dist/rag/HandleVectorStore.d.ts.map +0 -1
- package/dist/rag/HandleVectorStore.js +0 -527
- package/dist/rag/HandleVectorStore.js.map +0 -1
- package/dist/rag/PersistentIndexer.d.ts +0 -148
- package/dist/rag/PersistentIndexer.d.ts.map +0 -1
- package/dist/rag/PersistentIndexer.js +0 -302
- package/dist/rag/PersistentIndexer.js.map +0 -1
- package/dist/rag/index.d.ts +0 -20
- package/dist/rag/index.d.ts.map +0 -1
- package/dist/rag/index.js +0 -26
- package/dist/rag/index.js.map +0 -1
- package/dist/rag/semanticVersioning.d.ts +0 -187
- package/dist/rag/semanticVersioning.d.ts.map +0 -1
- package/dist/rag/semanticVersioning.js +0 -253
- package/dist/rag/semanticVersioning.js.map +0 -1
- package/dist/storage/IndexedDBEngine.d.ts +0 -33
- package/dist/storage/IndexedDBEngine.d.ts.map +0 -1
- package/dist/storage/IndexedDBEngine.js +0 -198
- package/dist/storage/IndexedDBEngine.js.map +0 -1
- package/dist/storage/SqliteNodeEngine.d.ts.map +0 -1
- package/dist/storage/SqliteNodeEngine.js.map +0 -1
- package/dist/storage/SqliteWasmEngine.d.ts.map +0 -1
- package/dist/storage/SqliteWasmEngine.js.map +0 -1
- package/dist/storage/StorageAdapter.d.ts +0 -42
- package/dist/storage/StorageAdapter.d.ts.map +0 -1
- package/dist/storage/StorageAdapter.js +0 -2
- package/dist/storage/StorageAdapter.js.map +0 -1
- package/dist/storage/VectorStore.d.ts +0 -202
- package/dist/storage/VectorStore.d.ts.map +0 -1
- package/dist/storage/VectorStore.js +0 -557
- package/dist/storage/VectorStore.js.map +0 -1
- package/dist/storage/schema.d.ts +0 -162
- package/dist/storage/schema.d.ts.map +0 -1
- package/dist/storage/schema.js +0 -335
- package/dist/storage/schema.js.map +0 -1
- package/dist/storage/schema_constants.d.ts +0 -7
- package/dist/storage/schema_constants.d.ts.map +0 -1
- package/dist/storage/schema_constants.js +0 -415
- package/dist/storage/schema_constants.js.map +0 -1
- package/dist/types/dots.d.ts +0 -206
- package/dist/types/dots.d.ts.map +0 -1
- package/dist/types/dots.js +0 -201
- package/dist/types/dots.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -323,13 +323,14 @@ declare class LLMConfig {
|
|
|
323
323
|
interface ChatMessage {
|
|
324
324
|
role: string;
|
|
325
325
|
content: string;
|
|
326
|
+
images?: string[];
|
|
326
327
|
}
|
|
327
328
|
interface LLMProvider {
|
|
328
329
|
provider_name: string;
|
|
329
330
|
/**
|
|
330
331
|
* Generate text completion for a prompt.
|
|
331
332
|
*/
|
|
332
|
-
complete(prompt: string, params: Record<string, any
|
|
333
|
+
complete(prompt: string, params: Record<string, any>, images?: string[]): Promise<Either<string, string>>;
|
|
333
334
|
/**
|
|
334
335
|
* Generate chat completion from messages.
|
|
335
336
|
*/
|
|
@@ -359,6 +360,7 @@ type RuntimeLLMConfig = Record<string, unknown>;
|
|
|
359
360
|
type LLMChatMessage = {
|
|
360
361
|
role: string;
|
|
361
362
|
content: string;
|
|
363
|
+
images?: string[];
|
|
362
364
|
};
|
|
363
365
|
declare class LLMRuntime implements Runtime {
|
|
364
366
|
provider_name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -323,13 +323,14 @@ declare class LLMConfig {
|
|
|
323
323
|
interface ChatMessage {
|
|
324
324
|
role: string;
|
|
325
325
|
content: string;
|
|
326
|
+
images?: string[];
|
|
326
327
|
}
|
|
327
328
|
interface LLMProvider {
|
|
328
329
|
provider_name: string;
|
|
329
330
|
/**
|
|
330
331
|
* Generate text completion for a prompt.
|
|
331
332
|
*/
|
|
332
|
-
complete(prompt: string, params: Record<string, any
|
|
333
|
+
complete(prompt: string, params: Record<string, any>, images?: string[]): Promise<Either<string, string>>;
|
|
333
334
|
/**
|
|
334
335
|
* Generate chat completion from messages.
|
|
335
336
|
*/
|
|
@@ -359,6 +360,7 @@ type RuntimeLLMConfig = Record<string, unknown>;
|
|
|
359
360
|
type LLMChatMessage = {
|
|
360
361
|
role: string;
|
|
361
362
|
content: string;
|
|
363
|
+
images?: string[];
|
|
362
364
|
};
|
|
363
365
|
declare class LLMRuntime implements Runtime {
|
|
364
366
|
provider_name: string;
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileIO_exports,
|
|
3
3
|
Loader_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DPA3ZK4Q.js";
|
|
5
5
|
import {
|
|
6
6
|
LLMRuntime,
|
|
7
7
|
chatMonad,
|
|
8
8
|
promptMonad
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N6KDHCBC.js";
|
|
10
10
|
import {
|
|
11
11
|
LLMConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GNF4WAPV.js";
|
|
13
|
+
import {
|
|
14
|
+
NETWORK_DEFAULT_HOST,
|
|
15
|
+
PROCESS_TERMINATE_WAIT_MS,
|
|
16
|
+
STATIC_SERVER_START_WAIT_MS,
|
|
17
|
+
WEBSOCKET_SERVER_START_WAIT_MS
|
|
18
|
+
} from "./chunk-RB35Z35T.js";
|
|
13
19
|
import {
|
|
14
20
|
LambdaRuntime,
|
|
15
21
|
RuntimeFactory,
|
|
@@ -55,7 +61,7 @@ import {
|
|
|
55
61
|
storeTerm,
|
|
56
62
|
termExists,
|
|
57
63
|
termToMCard
|
|
58
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-6MG5ZHAP.js";
|
|
59
65
|
import {
|
|
60
66
|
ErrorCodes,
|
|
61
67
|
FaroSidecar,
|
|
@@ -69,10 +75,10 @@ import {
|
|
|
69
75
|
Writer,
|
|
70
76
|
computeHash,
|
|
71
77
|
validationRegistry
|
|
72
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-SP4YPKPR.js";
|
|
73
79
|
import {
|
|
74
80
|
IndexedDBEngine
|
|
75
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-MST5AZXJ.js";
|
|
76
82
|
import {
|
|
77
83
|
IO
|
|
78
84
|
} from "./chunk-MPMRBT5R.js";
|
|
@@ -81,11 +87,11 @@ import {
|
|
|
81
87
|
} from "./chunk-2KADE3SE.js";
|
|
82
88
|
import {
|
|
83
89
|
SqliteNodeEngine
|
|
84
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-U7TSFDKX.js";
|
|
85
91
|
import {
|
|
86
92
|
SqliteWasmEngine
|
|
87
|
-
} from "./chunk-
|
|
88
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-NFO5NU6B.js";
|
|
94
|
+
import "./chunk-BFD4WSWU.js";
|
|
89
95
|
import "./chunk-3EIBJPNF.js";
|
|
90
96
|
import {
|
|
91
97
|
ContentHandle,
|
|
@@ -100,13 +106,17 @@ import {
|
|
|
100
106
|
import {
|
|
101
107
|
CardCollection,
|
|
102
108
|
Maybe
|
|
103
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-KGPICAQW.js";
|
|
110
|
+
import {
|
|
111
|
+
DEFAULT_CLM_TIMEOUT_MS,
|
|
112
|
+
DEFAULT_SANDBOX_TIMEOUT_MS
|
|
113
|
+
} from "./chunk-A5S2PI37.js";
|
|
104
114
|
import {
|
|
105
115
|
ContentTypeInterpreter,
|
|
106
116
|
MCard,
|
|
107
117
|
createPCardDOTSMetadata,
|
|
108
118
|
createVCardDOTSMetadata
|
|
109
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-2NFGZ6PA.js";
|
|
110
120
|
import {
|
|
111
121
|
GTime,
|
|
112
122
|
HashValidator
|
|
@@ -151,7 +161,7 @@ var ENGINE_INFO = {
|
|
|
151
161
|
async function createEngine(type, options = {}) {
|
|
152
162
|
switch (type) {
|
|
153
163
|
case "indexeddb" /* INDEXED_DB */: {
|
|
154
|
-
const { IndexedDBEngine: IndexedDBEngine2 } = await import("./IndexedDBEngine-
|
|
164
|
+
const { IndexedDBEngine: IndexedDBEngine2 } = await import("./IndexedDBEngine-7JOGM2MM.js");
|
|
155
165
|
const engine = new IndexedDBEngine2();
|
|
156
166
|
await engine.init();
|
|
157
167
|
return engine;
|
|
@@ -197,7 +207,7 @@ const PYODIDE_CDN = 'https://cdn.jsdelivr.net/pyodide/v0.24.1/full/';
|
|
|
197
207
|
async function loadPyodide() {
|
|
198
208
|
if (pyodide) return pyodide;
|
|
199
209
|
if (pyodideLoading) return pyodideLoading;
|
|
200
|
-
|
|
210
|
+
|
|
201
211
|
pyodideLoading = (async () => {
|
|
202
212
|
// Import Pyodide from CDN
|
|
203
213
|
importScripts(PYODIDE_CDN + 'pyodide.js');
|
|
@@ -207,25 +217,25 @@ async function loadPyodide() {
|
|
|
207
217
|
console.log('[SandboxWorker] Pyodide loaded successfully');
|
|
208
218
|
return pyodide;
|
|
209
219
|
})();
|
|
210
|
-
|
|
220
|
+
|
|
211
221
|
return pyodideLoading;
|
|
212
222
|
}
|
|
213
223
|
|
|
214
224
|
self.onmessage = async function(e) {
|
|
215
225
|
const request = e.data;
|
|
216
|
-
|
|
226
|
+
|
|
217
227
|
try {
|
|
218
228
|
if (request.method === 'pcard.execute') {
|
|
219
229
|
const { pcard, context } = request.params;
|
|
220
230
|
const runtime = pcard.runtime || 'javascript';
|
|
221
|
-
|
|
231
|
+
|
|
222
232
|
let result;
|
|
223
233
|
if (runtime === 'python' || runtime === 'py') {
|
|
224
234
|
result = await executePython(pcard.code, pcard.input, context);
|
|
225
235
|
} else {
|
|
226
236
|
result = await executeJavaScript(pcard.code, pcard.input, context);
|
|
227
237
|
}
|
|
228
|
-
|
|
238
|
+
|
|
229
239
|
self.postMessage({
|
|
230
240
|
jsonrpc: '2.0',
|
|
231
241
|
id: request.id,
|
|
@@ -280,11 +290,11 @@ async function executeJavaScript(code, input, context) {
|
|
|
280
290
|
// Execute Python code via Pyodide
|
|
281
291
|
async function executePython(code, input, context) {
|
|
282
292
|
const py = await loadPyodide();
|
|
283
|
-
|
|
293
|
+
|
|
284
294
|
// Convert input to Python dict
|
|
285
295
|
py.globals.set('input', py.toPy(input || {}));
|
|
286
296
|
py.globals.set('context', py.toPy(context || {}));
|
|
287
|
-
|
|
297
|
+
|
|
288
298
|
// Wrap code to capture result
|
|
289
299
|
const wrappedCode = \`
|
|
290
300
|
import json
|
|
@@ -305,7 +315,7 @@ result = None
|
|
|
305
315
|
# Return result
|
|
306
316
|
result
|
|
307
317
|
\`;
|
|
308
|
-
|
|
318
|
+
|
|
309
319
|
try {
|
|
310
320
|
const pyResult = await py.runPythonAsync(wrappedCode);
|
|
311
321
|
// Convert Python result to JavaScript
|
|
@@ -321,8 +331,7 @@ var SandboxWorker = class {
|
|
|
321
331
|
worker = null;
|
|
322
332
|
pythonLoaded = false;
|
|
323
333
|
pendingRequests = /* @__PURE__ */ new Map();
|
|
324
|
-
defaultTimeout =
|
|
325
|
-
// 5 seconds
|
|
334
|
+
defaultTimeout = DEFAULT_SANDBOX_TIMEOUT_MS;
|
|
326
335
|
/**
|
|
327
336
|
* Initialize the sandbox worker
|
|
328
337
|
*/
|
|
@@ -537,6 +546,8 @@ function buildBaseContext(clm, input) {
|
|
|
537
546
|
const inputObj = asObject(input);
|
|
538
547
|
return {
|
|
539
548
|
balanced: clm.clm.balanced,
|
|
549
|
+
input_arguments: clm.clm.concrete?.input_arguments,
|
|
550
|
+
output_arguments: clm.clm.concrete?.output_arguments,
|
|
540
551
|
params: inputObj,
|
|
541
552
|
...inputObj
|
|
542
553
|
};
|
|
@@ -1546,8 +1557,8 @@ async function runVersionExamples(examples) {
|
|
|
1546
1557
|
}
|
|
1547
1558
|
async function executeVersionSingle(handle, versions) {
|
|
1548
1559
|
const { SqliteNodeEngine: SqliteNodeEngine2 } = await import("./storage/SqliteNodeEngine.js");
|
|
1549
|
-
const { CardCollection: CardCollection2 } = await import("./CardCollection-
|
|
1550
|
-
const { MCard: MCard2 } = await import("./MCard-
|
|
1560
|
+
const { CardCollection: CardCollection2 } = await import("./CardCollection-VPN7AAAX.js");
|
|
1561
|
+
const { MCard: MCard2 } = await import("./MCard-XHG3BZC7.js");
|
|
1551
1562
|
const engine = await SqliteNodeEngine2.create(":memory:");
|
|
1552
1563
|
const collection = new CardCollection2(engine);
|
|
1553
1564
|
try {
|
|
@@ -1607,8 +1618,8 @@ async function runPruneExamples(examples) {
|
|
|
1607
1618
|
}
|
|
1608
1619
|
async function executePruneSingle(handle, versions, pruneType, olderThanSeconds) {
|
|
1609
1620
|
const { SqliteNodeEngine: SqliteNodeEngine2 } = await import("./storage/SqliteNodeEngine.js");
|
|
1610
|
-
const { CardCollection: CardCollection2 } = await import("./CardCollection-
|
|
1611
|
-
const { MCard: MCard2 } = await import("./MCard-
|
|
1621
|
+
const { CardCollection: CardCollection2 } = await import("./CardCollection-VPN7AAAX.js");
|
|
1622
|
+
const { MCard: MCard2 } = await import("./MCard-XHG3BZC7.js");
|
|
1612
1623
|
const engine = await SqliteNodeEngine2.create(":memory:");
|
|
1613
1624
|
const collection = new CardCollection2(engine);
|
|
1614
1625
|
try {
|
|
@@ -1676,7 +1687,7 @@ async function executeStaticServer(config, context, chapterDir) {
|
|
|
1676
1687
|
const defaultPort = parseInt(process.env.HTTP_PORT || "8080", 10);
|
|
1677
1688
|
const rawPort = context.port || config.port || defaultPort;
|
|
1678
1689
|
const port = parseInt(String(resolveConfigValue(rawPort)), 10);
|
|
1679
|
-
const host = context.host || config.host ||
|
|
1690
|
+
const host = context.host || config.host || NETWORK_DEFAULT_HOST;
|
|
1680
1691
|
let rootDir = context.root_dir || config.root_dir || ".";
|
|
1681
1692
|
let projectRoot = chapterDir;
|
|
1682
1693
|
while (projectRoot !== path.dirname(projectRoot)) {
|
|
@@ -1777,7 +1788,7 @@ setInterval(() => {}, 1000);
|
|
|
1777
1788
|
});
|
|
1778
1789
|
child.unref();
|
|
1779
1790
|
fs.writeFileSync(pidFile, String(child.pid));
|
|
1780
|
-
await new Promise((resolve4) => setTimeout(resolve4,
|
|
1791
|
+
await new Promise((resolve4) => setTimeout(resolve4, STATIC_SERVER_START_WAIT_MS));
|
|
1781
1792
|
if (isPortInUse(port)) {
|
|
1782
1793
|
return {
|
|
1783
1794
|
success: true,
|
|
@@ -1830,10 +1841,10 @@ setInterval(() => {}, 1000);
|
|
|
1830
1841
|
}
|
|
1831
1842
|
try {
|
|
1832
1843
|
process.kill(pid, "SIGTERM");
|
|
1833
|
-
await new Promise((resolve4) => setTimeout(resolve4,
|
|
1844
|
+
await new Promise((resolve4) => setTimeout(resolve4, PROCESS_TERMINATE_WAIT_MS));
|
|
1834
1845
|
if (isPortInUse(port)) {
|
|
1835
1846
|
process.kill(pid, "SIGKILL");
|
|
1836
|
-
await new Promise((resolve4) => setTimeout(resolve4,
|
|
1847
|
+
await new Promise((resolve4) => setTimeout(resolve4, PROCESS_TERMINATE_WAIT_MS));
|
|
1837
1848
|
}
|
|
1838
1849
|
if (fs.existsSync(pidFile)) {
|
|
1839
1850
|
fs.unlinkSync(pidFile);
|
|
@@ -1897,7 +1908,7 @@ async function executeWebSocketServer(config, context, chapterDir) {
|
|
|
1897
1908
|
const defaultPort = parseInt(process.env.VITE_WS_PORT || process.env.WS_PORT || "5321", 10);
|
|
1898
1909
|
const rawPort = context.port || config.port || defaultPort;
|
|
1899
1910
|
const port = parseInt(String(resolveConfigValue2(rawPort)), 10);
|
|
1900
|
-
const host = context.host || config.host ||
|
|
1911
|
+
const host = context.host || config.host || NETWORK_DEFAULT_HOST;
|
|
1901
1912
|
let projectRoot = chapterDir;
|
|
1902
1913
|
while (projectRoot !== path2.dirname(projectRoot)) {
|
|
1903
1914
|
if (fs2.existsSync(path2.join(projectRoot, "package.json")) || fs2.existsSync(path2.join(projectRoot, ".git"))) {
|
|
@@ -1975,7 +1986,7 @@ Process exited with code ${code}
|
|
|
1975
1986
|
} catch {
|
|
1976
1987
|
}
|
|
1977
1988
|
fs2.writeFileSync(pidFile, String(child.pid));
|
|
1978
|
-
await new Promise((resolve4) => setTimeout(resolve4,
|
|
1989
|
+
await new Promise((resolve4) => setTimeout(resolve4, WEBSOCKET_SERVER_START_WAIT_MS));
|
|
1979
1990
|
if (isPortInUse2(port)) {
|
|
1980
1991
|
console.log(`[WebSocket Server] Successfully started on port ${port}`);
|
|
1981
1992
|
return {
|
|
@@ -2039,10 +2050,10 @@ Process exited with code ${code}
|
|
|
2039
2050
|
}
|
|
2040
2051
|
try {
|
|
2041
2052
|
process.kill(pid, "SIGTERM");
|
|
2042
|
-
await new Promise((resolve4) => setTimeout(resolve4,
|
|
2053
|
+
await new Promise((resolve4) => setTimeout(resolve4, PROCESS_TERMINATE_WAIT_MS));
|
|
2043
2054
|
if (isPortInUse2(port)) {
|
|
2044
2055
|
process.kill(pid, "SIGKILL");
|
|
2045
|
-
await new Promise((resolve4) => setTimeout(resolve4,
|
|
2056
|
+
await new Promise((resolve4) => setTimeout(resolve4, PROCESS_TERMINATE_WAIT_MS));
|
|
2046
2057
|
}
|
|
2047
2058
|
if (fs2.existsSync(pidFile)) {
|
|
2048
2059
|
fs2.unlinkSync(pidFile);
|
|
@@ -2190,6 +2201,9 @@ var CLMLoader = class {
|
|
|
2190
2201
|
}
|
|
2191
2202
|
}
|
|
2192
2203
|
if (config.code_file) {
|
|
2204
|
+
if (config.code_file.startsWith("module://")) {
|
|
2205
|
+
return config.code_file;
|
|
2206
|
+
}
|
|
2193
2207
|
const logicPath = path3.resolve(this.basePath, chapterDir, config.code_file);
|
|
2194
2208
|
if (fs3.existsSync(logicPath)) {
|
|
2195
2209
|
return fs3.readFileSync(logicPath, "utf-8");
|
|
@@ -2368,7 +2382,7 @@ var CLMRunner = class _CLMRunner {
|
|
|
2368
2382
|
loader;
|
|
2369
2383
|
timeout;
|
|
2370
2384
|
collection;
|
|
2371
|
-
constructor(basePath = process.cwd(), timeout =
|
|
2385
|
+
constructor(basePath = process.cwd(), timeout = DEFAULT_CLM_TIMEOUT_MS, collection) {
|
|
2372
2386
|
this.loader = new CLMLoader(basePath);
|
|
2373
2387
|
this.timeout = timeout;
|
|
2374
2388
|
this.collection = collection;
|