@theokit/sdk 4.40.0 → 4.41.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/CHANGELOG.md +47 -0
- package/README.md +2 -2
- package/dist/agent-35MGOZVH.js +46 -0
- package/dist/{agent-MSR3DHO4.js.map → agent-35MGOZVH.js.map} +1 -1
- package/dist/agent-6C2ODKFU.cjs +55 -0
- package/dist/{agent-OOXJJD6A.cjs.map → agent-6C2ODKFU.cjs.map} +1 -1
- package/dist/{agent-BzZwYFiw.d.ts → agent-BiCINq25.d.ts} +2 -2
- package/dist/{agent-DxEL4fHh.d.cts → agent-Zta1kvGH.d.cts} +2 -2
- package/dist/agent-session-store-EPUERCUU.cjs +23 -0
- package/dist/{agent-session-store-RHTLZ5OX.cjs.map → agent-session-store-EPUERCUU.cjs.map} +1 -1
- package/dist/agent-session-store-TXP5ZVOD.js +6 -0
- package/dist/{agent-session-store-EGTTYSKS.js.map → agent-session-store-TXP5ZVOD.js.map} +1 -1
- package/dist/auth/index.cjs +19 -15
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +4 -4
- package/dist/{batch-WX2HLXX2.js → batch-OUF4N2TM.js} +9 -9
- package/dist/{batch-WX2HLXX2.js.map → batch-OUF4N2TM.js.map} +1 -1
- package/dist/{batch-FO2KZN7W.cjs → batch-URTEXK77.cjs} +26 -26
- package/dist/{batch-FO2KZN7W.cjs.map → batch-URTEXK77.cjs.map} +1 -1
- package/dist/{chunk-PDOLUFGY.cjs → chunk-27DYRARU.cjs} +4 -4
- package/dist/{chunk-PDOLUFGY.cjs.map → chunk-27DYRARU.cjs.map} +1 -1
- package/dist/{chunk-LYD3ALDT.js → chunk-2S6B5B2A.js} +5 -5
- package/dist/{chunk-LYD3ALDT.js.map → chunk-2S6B5B2A.js.map} +1 -1
- package/dist/{chunk-VTDQRUAJ.js → chunk-2WB6EIYW.js} +4 -4
- package/dist/{chunk-VTDQRUAJ.js.map → chunk-2WB6EIYW.js.map} +1 -1
- package/dist/{chunk-3CAQCFVZ.js → chunk-35NFZ7QB.js} +3 -3
- package/dist/{chunk-3CAQCFVZ.js.map → chunk-35NFZ7QB.js.map} +1 -1
- package/dist/{chunk-HCRCNI7A.js → chunk-3KY7MHR4.js} +3 -3
- package/dist/{chunk-HCRCNI7A.js.map → chunk-3KY7MHR4.js.map} +1 -1
- package/dist/{chunk-BURYFNOM.cjs → chunk-4JBHSLQO.cjs} +2 -2
- package/dist/chunk-4JBHSLQO.cjs.map +1 -0
- package/dist/{chunk-V7CA3CX5.cjs → chunk-4JRRFRV4.cjs} +5 -4
- package/dist/chunk-4JRRFRV4.cjs.map +1 -0
- package/dist/{chunk-5KOW3GLE.js → chunk-4QEC4CCS.js} +2 -2
- package/dist/chunk-4QEC4CCS.js.map +1 -0
- package/dist/{chunk-ALDFVGQQ.cjs → chunk-57KX5WTP.cjs} +9 -9
- package/dist/{chunk-ALDFVGQQ.cjs.map → chunk-57KX5WTP.cjs.map} +1 -1
- package/dist/{chunk-CJHBSSAF.cjs → chunk-64TJCXY5.cjs} +15 -15
- package/dist/{chunk-CJHBSSAF.cjs.map → chunk-64TJCXY5.cjs.map} +1 -1
- package/dist/{chunk-IEKSEAIV.js → chunk-6FSQ3CHQ.js} +3 -3
- package/dist/{chunk-IEKSEAIV.js.map → chunk-6FSQ3CHQ.js.map} +1 -1
- package/dist/{chunk-ZVQJHY4Y.cjs → chunk-6W4U2G3J.cjs} +5 -5
- package/dist/{chunk-ZVQJHY4Y.cjs.map → chunk-6W4U2G3J.cjs.map} +1 -1
- package/dist/{chunk-FMDZZRYE.cjs → chunk-6X2HUT4A.cjs} +8 -8
- package/dist/{chunk-FMDZZRYE.cjs.map → chunk-6X2HUT4A.cjs.map} +1 -1
- package/dist/{chunk-X2LDDKFM.cjs → chunk-7PESI6YD.cjs} +10 -10
- package/dist/{chunk-X2LDDKFM.cjs.map → chunk-7PESI6YD.cjs.map} +1 -1
- package/dist/{chunk-EYUZZXHZ.js → chunk-AF4BBKIF.js} +4 -4
- package/dist/chunk-AF4BBKIF.js.map +1 -0
- package/dist/{chunk-7GFX45DD.js → chunk-AM2CNBKE.js} +2 -2
- package/dist/chunk-AM2CNBKE.js.map +1 -0
- package/dist/{chunk-XKGOIGTJ.js → chunk-AZ6FKDQR.js} +3 -3
- package/dist/{chunk-XKGOIGTJ.js.map → chunk-AZ6FKDQR.js.map} +1 -1
- package/dist/{chunk-WPZTYOUX.cjs → chunk-BBZYXVLZ.cjs} +2 -2
- package/dist/chunk-BBZYXVLZ.cjs.map +1 -0
- package/dist/{chunk-2UBBO2MD.js → chunk-BHWHE453.js} +5 -5
- package/dist/{chunk-2UBBO2MD.js.map → chunk-BHWHE453.js.map} +1 -1
- package/dist/{chunk-LY4KEOOY.cjs → chunk-BRHRQOJA.cjs} +4 -4
- package/dist/{chunk-LY4KEOOY.cjs.map → chunk-BRHRQOJA.cjs.map} +1 -1
- package/dist/{chunk-4H2QARXM.cjs → chunk-BV42CCRP.cjs} +7 -7
- package/dist/{chunk-4H2QARXM.cjs.map → chunk-BV42CCRP.cjs.map} +1 -1
- package/dist/{chunk-ZRQZOJ3N.js → chunk-DCKIS53K.js} +52 -51
- package/dist/chunk-DCKIS53K.js.map +1 -0
- package/dist/{chunk-SKWVAQAY.js → chunk-DEZ75ET5.js} +3 -3
- package/dist/{chunk-SKWVAQAY.js.map → chunk-DEZ75ET5.js.map} +1 -1
- package/dist/{chunk-WJOLIPEM.js → chunk-EON4YTR6.js} +8 -8
- package/dist/{chunk-WJOLIPEM.js.map → chunk-EON4YTR6.js.map} +1 -1
- package/dist/{chunk-MI3OKONE.js → chunk-F4RUADRC.js} +3 -3
- package/dist/{chunk-MI3OKONE.js.map → chunk-F4RUADRC.js.map} +1 -1
- package/dist/{chunk-BVGJXMSB.cjs → chunk-F5DSDDBY.cjs} +312 -311
- package/dist/chunk-F5DSDDBY.cjs.map +1 -0
- package/dist/{chunk-SEWAPWAF.cjs → chunk-FMIKUGF2.cjs} +124 -124
- package/dist/chunk-FMIKUGF2.cjs.map +1 -0
- package/dist/{chunk-XZ7PO2FM.js → chunk-FRQ6F44U.js} +4 -4
- package/dist/{chunk-XZ7PO2FM.js.map → chunk-FRQ6F44U.js.map} +1 -1
- package/dist/{chunk-3LK3ZDL5.cjs → chunk-FZ4YMZA3.cjs} +5 -5
- package/dist/{chunk-3LK3ZDL5.cjs.map → chunk-FZ4YMZA3.cjs.map} +1 -1
- package/dist/{chunk-MM2JKFQV.cjs → chunk-GC44RATP.cjs} +10 -10
- package/dist/{chunk-MM2JKFQV.cjs.map → chunk-GC44RATP.cjs.map} +1 -1
- package/dist/{chunk-LNTQRD23.cjs → chunk-GH52NOCL.cjs} +26 -26
- package/dist/chunk-GH52NOCL.cjs.map +1 -0
- package/dist/{chunk-T6KFGMNY.cjs → chunk-GLEKLAUW.cjs} +12 -12
- package/dist/chunk-GLEKLAUW.cjs.map +1 -0
- package/dist/{chunk-UIPTINIF.js → chunk-GNMPCZNN.js} +6 -6
- package/dist/chunk-GNMPCZNN.js.map +1 -0
- package/dist/{chunk-K6TWHNT4.cjs → chunk-HECR7KF5.cjs} +11 -11
- package/dist/{chunk-K6TWHNT4.cjs.map → chunk-HECR7KF5.cjs.map} +1 -1
- package/dist/{chunk-NHXPQN44.js → chunk-HK4HRLWE.js} +3 -3
- package/dist/{chunk-NHXPQN44.js.map → chunk-HK4HRLWE.js.map} +1 -1
- package/dist/{chunk-LWVKI75U.js → chunk-HKSSM5RK.js} +3 -3
- package/dist/{chunk-LWVKI75U.js.map → chunk-HKSSM5RK.js.map} +1 -1
- package/dist/{chunk-ELYGL52R.cjs → chunk-HLNLYLNN.cjs} +4 -4
- package/dist/{chunk-ELYGL52R.cjs.map → chunk-HLNLYLNN.cjs.map} +1 -1
- package/dist/{chunk-ONVIALVV.js → chunk-IMX5YODO.js} +15 -15
- package/dist/chunk-IMX5YODO.js.map +1 -0
- package/dist/{chunk-C64E2EJS.js → chunk-J5RW43IR.js} +4 -4
- package/dist/{chunk-C64E2EJS.js.map → chunk-J5RW43IR.js.map} +1 -1
- package/dist/{chunk-4E3HLSYE.cjs → chunk-JA4FEA5Z.cjs} +4 -4
- package/dist/{chunk-4E3HLSYE.cjs.map → chunk-JA4FEA5Z.cjs.map} +1 -1
- package/dist/{chunk-EJNFZET4.cjs → chunk-JO76RWCA.cjs} +11 -11
- package/dist/{chunk-EJNFZET4.cjs.map → chunk-JO76RWCA.cjs.map} +1 -1
- package/dist/{chunk-QMIG7TKG.cjs → chunk-KCQUYQ3V.cjs} +17 -17
- package/dist/chunk-KCQUYQ3V.cjs.map +1 -0
- package/dist/{chunk-AKMPQJPX.js → chunk-L4JFQCG4.js} +5 -5
- package/dist/chunk-L4JFQCG4.js.map +1 -0
- package/dist/{chunk-HJMFPIRM.js → chunk-LLE7HPRI.js} +5 -5
- package/dist/{chunk-HJMFPIRM.js.map → chunk-LLE7HPRI.js.map} +1 -1
- package/dist/{chunk-4H2DCO6P.js → chunk-LXKNENHK.js} +3 -3
- package/dist/{chunk-4H2DCO6P.js.map → chunk-LXKNENHK.js.map} +1 -1
- package/dist/{chunk-PY7G7YWK.cjs → chunk-MMZX557L.cjs} +5 -5
- package/dist/{chunk-PY7G7YWK.cjs.map → chunk-MMZX557L.cjs.map} +1 -1
- package/dist/{chunk-VQ33XLC6.js → chunk-MRKSSN36.js} +3 -3
- package/dist/{chunk-VQ33XLC6.js.map → chunk-MRKSSN36.js.map} +1 -1
- package/dist/{chunk-33B2BSME.cjs → chunk-NETYW4V3.cjs} +13 -5
- package/dist/chunk-NETYW4V3.cjs.map +1 -0
- package/dist/{chunk-OVGNXGCK.cjs → chunk-NNNUQELM.cjs} +9 -9
- package/dist/{chunk-OVGNXGCK.cjs.map → chunk-NNNUQELM.cjs.map} +1 -1
- package/dist/{chunk-BM7VYZED.js → chunk-NOM2YWFP.js} +5 -5
- package/dist/{chunk-BM7VYZED.js.map → chunk-NOM2YWFP.js.map} +1 -1
- package/dist/{chunk-WMWZAJMJ.cjs → chunk-NRA36JKG.cjs} +11 -11
- package/dist/{chunk-WMWZAJMJ.cjs.map → chunk-NRA36JKG.cjs.map} +1 -1
- package/dist/{chunk-4HKAZRTC.js → chunk-O3IZ7JEL.js} +3 -3
- package/dist/{chunk-4HKAZRTC.js.map → chunk-O3IZ7JEL.js.map} +1 -1
- package/dist/{chunk-RHQJX3EI.cjs → chunk-OEFFPR2S.cjs} +4 -4
- package/dist/{chunk-RHQJX3EI.cjs.map → chunk-OEFFPR2S.cjs.map} +1 -1
- package/dist/{chunk-4GGXF7YM.js → chunk-OLLOUAUJ.js} +3 -3
- package/dist/{chunk-4GGXF7YM.js.map → chunk-OLLOUAUJ.js.map} +1 -1
- package/dist/{chunk-RA2UZBYP.js → chunk-PAV4ZPSW.js} +3 -3
- package/dist/{chunk-RA2UZBYP.js.map → chunk-PAV4ZPSW.js.map} +1 -1
- package/dist/{chunk-RNCN2TTP.js → chunk-PBML2FHN.js} +2 -2
- package/dist/{chunk-A76OFN2B.cjs.map → chunk-PBML2FHN.js.map} +1 -1
- package/dist/{chunk-XRKFWV7K.js → chunk-PYM5OUL4.js} +5 -5
- package/dist/{chunk-XRKFWV7K.js.map → chunk-PYM5OUL4.js.map} +1 -1
- package/dist/{chunk-F4SQTWVR.js → chunk-Q4DTGCSD.js} +3 -3
- package/dist/{chunk-F4SQTWVR.js.map → chunk-Q4DTGCSD.js.map} +1 -1
- package/dist/{chunk-S7OEXQMI.cjs → chunk-R3CKCRK3.cjs} +4 -4
- package/dist/{chunk-S7OEXQMI.cjs.map → chunk-R3CKCRK3.cjs.map} +1 -1
- package/dist/{chunk-5COPO3H4.cjs → chunk-RBQYHEZD.cjs} +4 -4
- package/dist/{chunk-5COPO3H4.cjs.map → chunk-RBQYHEZD.cjs.map} +1 -1
- package/dist/{chunk-KRPEPZQY.js → chunk-RJBHWM6D.js} +7 -7
- package/dist/chunk-RJBHWM6D.js.map +1 -0
- package/dist/{chunk-U53AYSHS.cjs → chunk-S4Q5OMIK.cjs} +11 -11
- package/dist/{chunk-U53AYSHS.cjs.map → chunk-S4Q5OMIK.cjs.map} +1 -1
- package/dist/{chunk-FUP3ZA5T.js → chunk-SNKY3C2L.js} +4 -4
- package/dist/{chunk-FUP3ZA5T.js.map → chunk-SNKY3C2L.js.map} +1 -1
- package/dist/{chunk-BBMN4O6E.js → chunk-TJRPNBY5.js} +4 -4
- package/dist/{chunk-BBMN4O6E.js.map → chunk-TJRPNBY5.js.map} +1 -1
- package/dist/{chunk-27E4EMR6.cjs → chunk-UJMEWGO6.cjs} +4 -4
- package/dist/{chunk-27E4EMR6.cjs.map → chunk-UJMEWGO6.cjs.map} +1 -1
- package/dist/{chunk-X627TO3A.js → chunk-UTYCG4RB.js} +12 -12
- package/dist/chunk-UTYCG4RB.js.map +1 -0
- package/dist/{chunk-5XPKYDK7.js → chunk-VQFSEKU5.js} +12 -5
- package/dist/chunk-VQFSEKU5.js.map +1 -0
- package/dist/{chunk-NJVV5OAV.cjs → chunk-WCXOKGOQ.cjs} +8 -8
- package/dist/chunk-WCXOKGOQ.cjs.map +1 -0
- package/dist/{chunk-PIBXDEZM.cjs → chunk-WIGJGFH4.cjs} +5 -5
- package/dist/{chunk-PIBXDEZM.cjs.map → chunk-WIGJGFH4.cjs.map} +1 -1
- package/dist/{chunk-LOTWA65Z.cjs → chunk-X2YQP452.cjs} +11 -11
- package/dist/{chunk-LOTWA65Z.cjs.map → chunk-X2YQP452.cjs.map} +1 -1
- package/dist/{chunk-ZAKTZ5B4.cjs → chunk-XA3TSBAH.cjs} +8 -8
- package/dist/{chunk-ZAKTZ5B4.cjs.map → chunk-XA3TSBAH.cjs.map} +1 -1
- package/dist/{chunk-H2V6CXM7.cjs → chunk-XR4LPBXH.cjs} +9 -9
- package/dist/{chunk-H2V6CXM7.cjs.map → chunk-XR4LPBXH.cjs.map} +1 -1
- package/dist/{chunk-6AE4QTSF.cjs → chunk-Y33IGXCJ.cjs} +24 -24
- package/dist/{chunk-6AE4QTSF.cjs.map → chunk-Y33IGXCJ.cjs.map} +1 -1
- package/dist/{chunk-E7WWIX34.cjs → chunk-YULF6FPB.cjs} +8 -8
- package/dist/{chunk-E7WWIX34.cjs.map → chunk-YULF6FPB.cjs.map} +1 -1
- package/dist/{chunk-23HI77BZ.js → chunk-Z6N6SDNR.js} +4 -4
- package/dist/chunk-Z6N6SDNR.js.map +1 -0
- package/dist/{chunk-A76OFN2B.cjs → chunk-ZHPET3LZ.cjs} +2 -2
- package/dist/chunk-ZHPET3LZ.cjs.map +1 -0
- package/dist/{chunk-5VKUZ26Q.js → chunk-ZNW2TXLO.js} +3 -3
- package/dist/{chunk-5VKUZ26Q.js.map → chunk-ZNW2TXLO.js.map} +1 -1
- package/dist/{chunk-N4JNY5DT.cjs → chunk-ZO2L5U6F.cjs} +32 -32
- package/dist/chunk-ZO2L5U6F.cjs.map +1 -0
- package/dist/{chunk-RMCHJZNZ.js → chunk-ZS6SLELQ.js} +4 -4
- package/dist/{chunk-RMCHJZNZ.js.map → chunk-ZS6SLELQ.js.map} +1 -1
- package/dist/{chunk-7PBAJ2WA.js → chunk-ZTEAJAE6.js} +3 -3
- package/dist/{chunk-7PBAJ2WA.js.map → chunk-ZTEAJAE6.js.map} +1 -1
- package/dist/compact-session-65XCKO6H.js +18 -0
- package/dist/{compact-session-AZU2LEAE.js.map → compact-session-65XCKO6H.js.map} +1 -1
- package/dist/compact-session-OU6SRPVJ.cjs +55 -0
- package/dist/{compact-session-TRCEYCPG.cjs.map → compact-session-OU6SRPVJ.cjs.map} +1 -1
- package/dist/compaction.cjs +16 -16
- package/dist/compaction.js +3 -3
- package/dist/concurrency.cjs +6 -6
- package/dist/concurrency.js +4 -4
- package/dist/context-2G4375BZ.cjs +22 -0
- package/dist/{context-DNFT4B5D.cjs.map → context-2G4375BZ.cjs.map} +1 -1
- package/dist/context-GSQYVVMJ.js +5 -0
- package/dist/{context-LYE6TJL5.js.map → context-GSQYVVMJ.js.map} +1 -1
- package/dist/{cron-BGR0HOz9.d.cts → cron-DgHJnMAK.d.cts} +2 -2
- package/dist/{cron-CDAIWCrL.d.ts → cron-DyWQsEG6.d.ts} +2 -2
- package/dist/cron.cjs +33 -33
- package/dist/cron.d.cts +3 -3
- package/dist/cron.d.ts +3 -3
- package/dist/cron.js +32 -32
- package/dist/{errors-DxQe4_Qy.d.ts → errors-BSoXcl3F.d.cts} +3 -3
- package/dist/{errors-L1bxHHO0.d.cts → errors-CHllybaU.d.ts} +3 -3
- package/dist/errors.cjs +21 -21
- package/dist/errors.d.cts +2 -2
- package/dist/errors.d.ts +2 -2
- package/dist/errors.js +2 -2
- package/dist/eval.cjs +43 -43
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +33 -33
- package/dist/eval.js.map +1 -1
- package/dist/{executor-TQ3FSZ7F.cjs → executor-CB75B5BH.cjs} +24 -24
- package/dist/{executor-TQ3FSZ7F.cjs.map → executor-CB75B5BH.cjs.map} +1 -1
- package/dist/{executor-PCRX3533.js → executor-VQLTQY53.js} +7 -7
- package/dist/{executor-PCRX3533.js.map → executor-VQLTQY53.js.map} +1 -1
- package/dist/filesystem/index.cjs +7 -7
- package/dist/filesystem/index.js +3 -3
- package/dist/fs-session-store-MAZV5FXJ.cjs +19 -0
- package/dist/{fs-session-store-KRZZIG3O.cjs.map → fs-session-store-MAZV5FXJ.cjs.map} +1 -1
- package/dist/fs-session-store-ZNUYZHYI.js +10 -0
- package/dist/{fs-session-store-I6GUIFRO.js.map → fs-session-store-ZNUYZHYI.js.map} +1 -1
- package/dist/generate-object-6PWGH5DZ.cjs +20 -0
- package/dist/{generate-object-QILSGTEJ.cjs.map → generate-object-6PWGH5DZ.cjs.map} +1 -1
- package/dist/generate-object-IXMJ7FUX.js +7 -0
- package/dist/{generate-object-DLHT5RXH.js.map → generate-object-IXMJ7FUX.js.map} +1 -1
- package/dist/index-manager-X5IPG2JL.js +11 -0
- package/dist/{index-manager-SXF3FAQV.js.map → index-manager-X5IPG2JL.js.map} +1 -1
- package/dist/index-manager-YFFEPISE.cjs +20 -0
- package/dist/{index-manager-LEMQ73A7.cjs.map → index-manager-YFFEPISE.cjs.map} +1 -1
- package/dist/index.cjs +139 -139
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +53 -53
- package/dist/index.js.map +1 -1
- package/dist/{inject-session-BVSERZCI.cjs → inject-session-DDC36KKP.cjs} +11 -11
- package/dist/{inject-session-BVSERZCI.cjs.map → inject-session-DDC36KKP.cjs.map} +1 -1
- package/dist/{inject-session-E75EP3LL.js → inject-session-UBM4KVSV.js} +8 -8
- package/dist/{inject-session-E75EP3LL.js.map → inject-session-UBM4KVSV.js.map} +1 -1
- package/dist/internal/auth/credential-store.d.ts +13 -0
- package/dist/internal/diagnostics.d.ts +2 -2
- package/dist/internal/error-mappers/anthropic.d.ts +1 -1
- package/dist/internal/eval/code-runner.d.ts +1 -1
- package/dist/internal/global-singleton.d.ts +1 -1
- package/dist/internal/judge/judge-call.d.ts +1 -1
- package/dist/internal/memory/adapters/index.cjs +8 -8
- package/dist/internal/memory/adapters/index.js +7 -7
- package/dist/internal/memory/embedding-adapter.d.ts +1 -1
- package/dist/internal/memory/memory-index.d.ts +1 -1
- package/dist/internal/persistence/atomic-write.d.cts +14 -1
- package/dist/internal/persistence/atomic-write.d.ts +14 -1
- package/dist/internal/persistence/index.cjs +25 -25
- package/dist/internal/persistence/index.js +6 -6
- package/dist/internal/persistence/jsonl.d.cts +2 -2
- package/dist/internal/persistence/jsonl.d.ts +2 -2
- package/dist/internal/persistence/session-artifacts.d.cts +27 -0
- package/dist/internal/persistence/session-artifacts.d.ts +27 -0
- package/dist/internal/persistence/session-transcript.d.cts +1 -1
- package/dist/internal/persistence/session-transcript.d.ts +1 -1
- package/dist/internal/runtime/lifecycle/env-policy.d.ts +1 -1
- package/dist/internal/security/index.cjs +13 -13
- package/dist/internal/security/index.js +3 -3
- package/dist/internal/session/agent-session.d.ts +1 -1
- package/dist/internal/session/compact-session.d.ts +1 -1
- package/dist/internal/session/session-cache.d.ts +1 -1
- package/dist/judge-call-3QZO5H5N.js +5 -0
- package/dist/{judge-call-NPRU7JIQ.js.map → judge-call-3QZO5H5N.js.map} +1 -1
- package/dist/judge-call-J5EETJL3.cjs +22 -0
- package/dist/{judge-call-AIT3EULV.cjs.map → judge-call-J5EETJL3.cjs.map} +1 -1
- package/dist/models.cjs +20 -20
- package/dist/models.cjs.map +1 -1
- package/dist/models.js +5 -5
- package/dist/models.js.map +1 -1
- package/dist/path-safety.cjs +10 -10
- package/dist/path-safety.js +3 -3
- package/dist/persistence.cjs +44 -30
- package/dist/persistence.cjs.map +1 -1
- package/dist/persistence.d.cts +4 -3
- package/dist/persistence.d.ts +4 -3
- package/dist/persistence.js +22 -12
- package/dist/persistence.js.map +1 -1
- package/dist/project.cjs +5 -5
- package/dist/project.js +3 -3
- package/dist/registry-KB3TS6BM.cjs +46 -0
- package/dist/{registry-VKDFTK6L.cjs.map → registry-KB3TS6BM.cjs.map} +1 -1
- package/dist/registry-PPFMCM4A.js +9 -0
- package/dist/{registry-AXQXPLFH.js.map → registry-PPFMCM4A.js.map} +1 -1
- package/dist/retry.cjs +4 -4
- package/dist/retry.js +3 -3
- package/dist/{run-XXnwwGOT.d.ts → run-C8FBAC8o.d.cts} +21 -2
- package/dist/{run-XXnwwGOT.d.cts → run-C8FBAC8o.d.ts} +21 -2
- package/dist/{run-until-BK56WG4P.js → run-until-HEQOUVU6.js} +2 -2
- package/dist/run-until-HEQOUVU6.js.map +1 -0
- package/dist/{run-until-L5KQD3PV.cjs → run-until-U2B5FJJI.cjs} +2 -2
- package/dist/run-until-U2B5FJJI.cjs.map +1 -0
- package/dist/sandbox/bwrap.d.cts +15 -1
- package/dist/sandbox/bwrap.d.ts +15 -1
- package/dist/sandbox/index.cjs +39 -24
- package/dist/sandbox/index.cjs.map +1 -1
- package/dist/sandbox/index.d.cts +1 -1
- package/dist/sandbox/index.d.ts +1 -1
- package/dist/sandbox/index.js +24 -10
- package/dist/sandbox/index.js.map +1 -1
- package/dist/sandbox/provision.d.cts +1 -1
- package/dist/sandbox/provision.d.ts +1 -1
- package/dist/server/errors-envelope.cjs +14 -14
- package/dist/server/errors-envelope.d.cts +3 -3
- package/dist/server/errors-envelope.d.ts +3 -3
- package/dist/server/errors-envelope.js +3 -3
- package/dist/session-transcript-7FWTO4BK.js +5 -0
- package/dist/{session-transcript-X3UMSVL2.js.map → session-transcript-7FWTO4BK.js.map} +1 -1
- package/dist/session-transcript-FYRKWRWV.cjs +50 -0
- package/dist/{session-transcript-SLQRKQ72.cjs.map → session-transcript-FYRKWRWV.cjs.map} +1 -1
- package/dist/skills.cjs +7 -7
- package/dist/skills.js +5 -5
- package/dist/stream-object-3R3HZPQN.cjs +20 -0
- package/dist/{stream-object-3HEUGMQY.cjs.map → stream-object-3R3HZPQN.cjs.map} +1 -1
- package/dist/stream-object-NPJXDZXO.js +7 -0
- package/dist/{stream-object-VWYW7FJ2.js.map → stream-object-NPJXDZXO.js.map} +1 -1
- package/dist/subagents-loader-5KQVYUNS.js +6 -0
- package/dist/{subagents-loader-QUIK6GMV.js.map → subagents-loader-5KQVYUNS.js.map} +1 -1
- package/dist/subagents-loader-FDXPBBRA.cjs +15 -0
- package/dist/{subagents-loader-F52ARQ62.cjs.map → subagents-loader-FDXPBBRA.cjs.map} +1 -1
- package/dist/subagents-loader.cjs +15 -15
- package/dist/subagents-loader.cjs.map +1 -1
- package/dist/subagents-loader.d.cts +2 -2
- package/dist/subagents-loader.d.ts +2 -2
- package/dist/subagents-loader.js +14 -14
- package/dist/subagents-loader.js.map +1 -1
- package/dist/subscription/index.cjs +3 -3
- package/dist/subscription/index.js +2 -2
- package/dist/task-store.cjs +7 -7
- package/dist/task-store.js +4 -4
- package/dist/types/run-events.d.ts +20 -1
- package/dist/types/session-record.d.ts +1 -1
- package/dist/types/usage.d.ts +1 -1
- package/dist/workflow.cjs +27 -27
- package/dist/workflow.js +6 -6
- package/docs/error-codes.md +22 -0
- package/docs/harness-capability-map.md +22 -0
- package/package.json +1 -1
- package/dist/agent-MSR3DHO4.js +0 -46
- package/dist/agent-OOXJJD6A.cjs +0 -55
- package/dist/agent-session-store-EGTTYSKS.js +0 -6
- package/dist/agent-session-store-RHTLZ5OX.cjs +0 -23
- package/dist/chunk-23HI77BZ.js.map +0 -1
- package/dist/chunk-33B2BSME.cjs.map +0 -1
- package/dist/chunk-5KOW3GLE.js.map +0 -1
- package/dist/chunk-5XPKYDK7.js.map +0 -1
- package/dist/chunk-7GFX45DD.js.map +0 -1
- package/dist/chunk-AKMPQJPX.js.map +0 -1
- package/dist/chunk-BURYFNOM.cjs.map +0 -1
- package/dist/chunk-BVGJXMSB.cjs.map +0 -1
- package/dist/chunk-EYUZZXHZ.js.map +0 -1
- package/dist/chunk-KRPEPZQY.js.map +0 -1
- package/dist/chunk-LNTQRD23.cjs.map +0 -1
- package/dist/chunk-N4JNY5DT.cjs.map +0 -1
- package/dist/chunk-NJVV5OAV.cjs.map +0 -1
- package/dist/chunk-ONVIALVV.js.map +0 -1
- package/dist/chunk-QMIG7TKG.cjs.map +0 -1
- package/dist/chunk-RNCN2TTP.js.map +0 -1
- package/dist/chunk-SEWAPWAF.cjs.map +0 -1
- package/dist/chunk-T6KFGMNY.cjs.map +0 -1
- package/dist/chunk-UIPTINIF.js.map +0 -1
- package/dist/chunk-V7CA3CX5.cjs.map +0 -1
- package/dist/chunk-WPZTYOUX.cjs.map +0 -1
- package/dist/chunk-X627TO3A.js.map +0 -1
- package/dist/chunk-ZRQZOJ3N.js.map +0 -1
- package/dist/compact-session-AZU2LEAE.js +0 -18
- package/dist/compact-session-TRCEYCPG.cjs +0 -55
- package/dist/context-DNFT4B5D.cjs +0 -22
- package/dist/context-LYE6TJL5.js +0 -5
- package/dist/fs-session-store-I6GUIFRO.js +0 -10
- package/dist/fs-session-store-KRZZIG3O.cjs +0 -19
- package/dist/generate-object-DLHT5RXH.js +0 -7
- package/dist/generate-object-QILSGTEJ.cjs +0 -20
- package/dist/index-manager-LEMQ73A7.cjs +0 -20
- package/dist/index-manager-SXF3FAQV.js +0 -11
- package/dist/judge-call-AIT3EULV.cjs +0 -22
- package/dist/judge-call-NPRU7JIQ.js +0 -5
- package/dist/registry-AXQXPLFH.js +0 -9
- package/dist/registry-VKDFTK6L.cjs +0 -46
- package/dist/run-until-BK56WG4P.js.map +0 -1
- package/dist/run-until-L5KQD3PV.cjs.map +0 -1
- package/dist/session-transcript-SLQRKQ72.cjs +0 -50
- package/dist/session-transcript-X3UMSVL2.js +0 -5
- package/dist/stream-object-3HEUGMQY.cjs +0 -20
- package/dist/stream-object-VWYW7FJ2.js +0 -7
- package/dist/subagents-loader-F52ARQ62.cjs +0 -15
- package/dist/subagents-loader-QUIK6GMV.js +0 -6
package/dist/index.cjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkUJMEWGO6_cjs = require('./chunk-UJMEWGO6.cjs');
|
|
4
|
+
var chunk57KX5WTP_cjs = require('./chunk-57KX5WTP.cjs');
|
|
5
5
|
var chunkOBA6YK2R_cjs = require('./chunk-OBA6YK2R.cjs');
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
6
|
+
var chunkGC44RATP_cjs = require('./chunk-GC44RATP.cjs');
|
|
7
|
+
require('./chunk-WIGJGFH4.cjs');
|
|
8
|
+
var chunkJO76RWCA_cjs = require('./chunk-JO76RWCA.cjs');
|
|
9
|
+
require('./chunk-RBQYHEZD.cjs');
|
|
10
10
|
require('./chunk-PNVDQL5Y.cjs');
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var chunkY33IGXCJ_cjs = require('./chunk-Y33IGXCJ.cjs');
|
|
12
|
+
var chunkF5DSDDBY_cjs = require('./chunk-F5DSDDBY.cjs');
|
|
13
13
|
require('./chunk-BV2MWEMV.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkKCQUYQ3V_cjs = require('./chunk-KCQUYQ3V.cjs');
|
|
15
15
|
require('./chunk-BUUUWQMB.cjs');
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
22
|
-
var
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
27
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-ZO2L5U6F.cjs');
|
|
17
|
+
require('./chunk-NRA36JKG.cjs');
|
|
18
|
+
var chunkFMIKUGF2_cjs = require('./chunk-FMIKUGF2.cjs');
|
|
19
|
+
require('./chunk-HLNLYLNN.cjs');
|
|
20
|
+
require('./chunk-4JBHSLQO.cjs');
|
|
21
|
+
require('./chunk-FZ4YMZA3.cjs');
|
|
22
|
+
var chunkGH52NOCL_cjs = require('./chunk-GH52NOCL.cjs');
|
|
23
|
+
require('./chunk-HECR7KF5.cjs');
|
|
24
|
+
require('./chunk-BBZYXVLZ.cjs');
|
|
25
|
+
require('./chunk-6X2HUT4A.cjs');
|
|
26
|
+
require('./chunk-7PESI6YD.cjs');
|
|
27
|
+
require('./chunk-S4Q5OMIK.cjs');
|
|
28
28
|
require('./chunk-2RW7K6FN.cjs');
|
|
29
29
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
30
30
|
require('./chunk-6JSIEDKL.cjs');
|
|
@@ -32,27 +32,27 @@ require('./chunk-B4YA6BRS.cjs');
|
|
|
32
32
|
require('./chunk-NINIJCHU.cjs');
|
|
33
33
|
require('./chunk-YPEPCZHF.cjs');
|
|
34
34
|
require('./chunk-VJ26EKGJ.cjs');
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
40
|
-
require('./chunk-
|
|
35
|
+
require('./chunk-OEFFPR2S.cjs');
|
|
36
|
+
require('./chunk-27DYRARU.cjs');
|
|
37
|
+
require('./chunk-JA4FEA5Z.cjs');
|
|
38
|
+
require('./chunk-WCXOKGOQ.cjs');
|
|
39
|
+
require('./chunk-6W4U2G3J.cjs');
|
|
40
|
+
require('./chunk-BV42CCRP.cjs');
|
|
41
41
|
var chunkYLQQX5W2_cjs = require('./chunk-YLQQX5W2.cjs');
|
|
42
|
-
require('./chunk-
|
|
42
|
+
require('./chunk-XR4LPBXH.cjs');
|
|
43
43
|
var chunkWJVHMTKB_cjs = require('./chunk-WJVHMTKB.cjs');
|
|
44
|
-
var
|
|
45
|
-
require('./chunk-
|
|
46
|
-
require('./chunk-
|
|
44
|
+
var chunkNETYW4V3_cjs = require('./chunk-NETYW4V3.cjs');
|
|
45
|
+
require('./chunk-X2YQP452.cjs');
|
|
46
|
+
require('./chunk-NNNUQELM.cjs');
|
|
47
47
|
var chunkVYHJZVL5_cjs = require('./chunk-VYHJZVL5.cjs');
|
|
48
|
-
var
|
|
49
|
-
require('./chunk-
|
|
48
|
+
var chunkGLEKLAUW_cjs = require('./chunk-GLEKLAUW.cjs');
|
|
49
|
+
require('./chunk-4JRRFRV4.cjs');
|
|
50
50
|
require('./chunk-C6Y6CWYD.cjs');
|
|
51
|
-
require('./chunk-
|
|
52
|
-
require('./chunk-
|
|
53
|
-
require('./chunk-
|
|
54
|
-
var
|
|
55
|
-
var
|
|
51
|
+
require('./chunk-64TJCXY5.cjs');
|
|
52
|
+
require('./chunk-XA3TSBAH.cjs');
|
|
53
|
+
require('./chunk-BRHRQOJA.cjs');
|
|
54
|
+
var chunkYULF6FPB_cjs = require('./chunk-YULF6FPB.cjs');
|
|
55
|
+
var chunkZHPET3LZ_cjs = require('./chunk-ZHPET3LZ.cjs');
|
|
56
56
|
var zod = require('zod');
|
|
57
57
|
var crypto = require('crypto');
|
|
58
58
|
var promises = require('fs/promises');
|
|
@@ -62,8 +62,8 @@ var fs = require('fs');
|
|
|
62
62
|
// src/agent-factory.ts
|
|
63
63
|
function createAgentFactory(common) {
|
|
64
64
|
return {
|
|
65
|
-
forSession: (agentId, overrides) =>
|
|
66
|
-
getOrCreate: (agentId, overrides) =>
|
|
65
|
+
forSession: (agentId, overrides) => chunkF5DSDDBY_cjs.Agent.create(mergeAgentOptions(common, overrides, agentId)),
|
|
66
|
+
getOrCreate: (agentId, overrides) => chunkF5DSDDBY_cjs.Agent.getOrCreate(agentId, mergeAgentOptions(common, overrides, agentId))
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
function mergeAgentOptions(common, overrides, agentId) {
|
|
@@ -184,12 +184,12 @@ var NAME_GRAMMAR = /^[a-z0-9][a-z0-9_-]*$/;
|
|
|
184
184
|
var registry = /* @__PURE__ */ new Map();
|
|
185
185
|
function validateBudgetName(name) {
|
|
186
186
|
if (typeof name !== "string" || name.length === 0) {
|
|
187
|
-
throw new
|
|
187
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError("Budget name must be a non-empty string", {
|
|
188
188
|
code: "invalid_budget_name"
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
191
|
if (!NAME_GRAMMAR.test(name)) {
|
|
192
|
-
throw new
|
|
192
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError(
|
|
193
193
|
`Budget name "${name}" must match ^[a-z0-9][a-z0-9_-]*$ (lowercase + dash/underscore, start alphanumeric)`,
|
|
194
194
|
{ code: "invalid_budget_name" }
|
|
195
195
|
);
|
|
@@ -198,7 +198,7 @@ function validateBudgetName(name) {
|
|
|
198
198
|
function createBudget(opts) {
|
|
199
199
|
validateBudgetName(opts.name);
|
|
200
200
|
if (registry.has(opts.name)) {
|
|
201
|
-
throw new
|
|
201
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError(`Budget "${opts.name}" already exists`, {
|
|
202
202
|
code: "invalid_budget_name"
|
|
203
203
|
});
|
|
204
204
|
}
|
|
@@ -262,7 +262,7 @@ function preflightCheck(name, estimatedUsd) {
|
|
|
262
262
|
for (const lim of opts.limits) {
|
|
263
263
|
const currentSpent = spentIn(opts.name, lim.window);
|
|
264
264
|
if (currentSpent + estimatedUsd > lim.limitUsd) {
|
|
265
|
-
throw new
|
|
265
|
+
throw new chunkYULF6FPB_cjs.BudgetExceededError({
|
|
266
266
|
budgetName: opts.name,
|
|
267
267
|
window: lim.window,
|
|
268
268
|
spentUsd: currentSpent + estimatedUsd,
|
|
@@ -275,7 +275,7 @@ function preflightCheck(name, estimatedUsd) {
|
|
|
275
275
|
async function chargeAndCheckThresholds(name, actualUsd) {
|
|
276
276
|
const opts = getBudgetOptionsRaw(name);
|
|
277
277
|
if (opts === void 0) {
|
|
278
|
-
|
|
278
|
+
chunkZHPET3LZ_cjs.diag(
|
|
279
279
|
`[budget] charge for deleted budget "${name}" is a no-op (was the budget removed during in-flight send?)
|
|
280
280
|
`
|
|
281
281
|
);
|
|
@@ -318,14 +318,14 @@ async function dispatchThreshold(opts, window, spentUsd, limitUsd, threshold) {
|
|
|
318
318
|
});
|
|
319
319
|
} catch (err) {
|
|
320
320
|
const msg = err instanceof Error ? err.message : String(err);
|
|
321
|
-
|
|
321
|
+
chunkZHPET3LZ_cjs.diag(`[budget] onThreshold callback threw: ${msg}
|
|
322
322
|
`);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
async function dispatchExceed(opts, window, spentUsd, limitUsd, mode) {
|
|
326
326
|
if (opts.onExceed === void 0) {
|
|
327
327
|
if (mode === "warn") {
|
|
328
|
-
|
|
328
|
+
chunkZHPET3LZ_cjs.diag(
|
|
329
329
|
`[budget] "${opts.name}" exceeded ${window} limit: $${spentUsd.toFixed(4)} > $${limitUsd.toFixed(4)}
|
|
330
330
|
`
|
|
331
331
|
);
|
|
@@ -342,7 +342,7 @@ async function dispatchExceed(opts, window, spentUsd, limitUsd, mode) {
|
|
|
342
342
|
});
|
|
343
343
|
} catch (err) {
|
|
344
344
|
const msg = err instanceof Error ? err.message : String(err);
|
|
345
|
-
|
|
345
|
+
chunkZHPET3LZ_cjs.diag(`[budget] onExceed callback threw: ${msg}
|
|
346
346
|
`);
|
|
347
347
|
}
|
|
348
348
|
}
|
|
@@ -592,8 +592,8 @@ var Provider = class _Provider {
|
|
|
592
592
|
* `.plugins(Provider.builtins())` once, then pick a `provider/model` id. @public
|
|
593
593
|
*/
|
|
594
594
|
static builtins() {
|
|
595
|
-
|
|
596
|
-
return
|
|
595
|
+
chunkGLEKLAUW_cjs.registerBuiltins();
|
|
596
|
+
return chunkGLEKLAUW_cjs.listProviders().map((profile) => defineProvider(profile));
|
|
597
597
|
}
|
|
598
598
|
/**
|
|
599
599
|
* The builtin serving `modelId`, or `undefined` when none does.
|
|
@@ -696,7 +696,7 @@ var EventBus = class {
|
|
|
696
696
|
} catch (cause) {
|
|
697
697
|
this.#handlerErrorCount += 1;
|
|
698
698
|
const message = cause instanceof Error ? cause.message : String(cause);
|
|
699
|
-
|
|
699
|
+
chunkZHPET3LZ_cjs.diag(`[theokit-sdk] event-bus: handler for "${String(event)}" threw: ${message}
|
|
700
700
|
`);
|
|
701
701
|
}
|
|
702
702
|
}
|
|
@@ -717,9 +717,9 @@ var EventBus = class {
|
|
|
717
717
|
// src/goal-loop.ts
|
|
718
718
|
function runGoalLoop(agent, goal, options, depsOverride) {
|
|
719
719
|
async function* wrap() {
|
|
720
|
-
const { runUntilImpl } = await import('./run-until-
|
|
720
|
+
const { runUntilImpl } = await import('./run-until-U2B5FJJI.cjs');
|
|
721
721
|
const deps = depsOverride ?? await (async () => {
|
|
722
|
-
const { judgeCallImpl } = await import('./judge-call-
|
|
722
|
+
const { judgeCallImpl } = await import('./judge-call-J5EETJL3.cjs');
|
|
723
723
|
const { getAgentFacade } = await import('./agent-factory-registry-UU46BUMU.cjs');
|
|
724
724
|
const create = getAgentFacade().create;
|
|
725
725
|
return {
|
|
@@ -919,7 +919,7 @@ var JobQueue = class {
|
|
|
919
919
|
}
|
|
920
920
|
};
|
|
921
921
|
function diaryPath(cwd) {
|
|
922
|
-
return path.join(
|
|
922
|
+
return path.join(chunkGH52NOCL_cjs.memoryDir(cwd), "dream-diary.md");
|
|
923
923
|
}
|
|
924
924
|
function renderDiaryEntry(entry) {
|
|
925
925
|
const stamp = new Date(entry.timestampMs).toISOString();
|
|
@@ -946,7 +946,7 @@ async function appendDiaryEntry(cwd, entry) {
|
|
|
946
946
|
}
|
|
947
947
|
const next = `${raw.endsWith("\n") ? raw : `${raw}
|
|
948
948
|
`}${renderDiaryEntry(entry)}`;
|
|
949
|
-
await
|
|
949
|
+
await chunkNETYW4V3_cjs.replaceFileAtomic(path, next);
|
|
950
950
|
}
|
|
951
951
|
function entryHash(entry) {
|
|
952
952
|
return crypto.createHash("sha256").update(
|
|
@@ -1066,7 +1066,7 @@ async function runInner(options) {
|
|
|
1066
1066
|
const now = options.now ?? Date.now;
|
|
1067
1067
|
const timestampMs = now();
|
|
1068
1068
|
try {
|
|
1069
|
-
const facts = await
|
|
1069
|
+
const facts = await chunkGH52NOCL_cjs.readFactsFromMarkdown(options.cwd);
|
|
1070
1070
|
if (facts.length === 0) {
|
|
1071
1071
|
return emptyResult("skipped");
|
|
1072
1072
|
}
|
|
@@ -1093,19 +1093,19 @@ async function runInner(options) {
|
|
|
1093
1093
|
return result;
|
|
1094
1094
|
} catch (cause) {
|
|
1095
1095
|
const message = cause instanceof Error ? cause.message : String(cause);
|
|
1096
|
-
|
|
1096
|
+
chunkZHPET3LZ_cjs.diag(`[theokit-sdk] dreaming sweep failed: ${message}
|
|
1097
1097
|
`);
|
|
1098
1098
|
return emptyResult("error");
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
async function writeConsolidatedNotes(cwd, clusters, timestampMs) {
|
|
1102
1102
|
if (clusters.length === 0) return 0;
|
|
1103
|
-
const notesDir = path.join(
|
|
1103
|
+
const notesDir = path.join(chunkGH52NOCL_cjs.memoryDir(cwd), "notes");
|
|
1104
1104
|
await promises.mkdir(notesDir, { recursive: true });
|
|
1105
1105
|
const isoSlug = new Date(timestampMs).toISOString().replace(/[^\dT]/g, "-");
|
|
1106
1106
|
const file = path.join(notesDir, `dreamed-${isoSlug}.md`);
|
|
1107
1107
|
const body = deepPhase(clusters, timestampMs);
|
|
1108
|
-
await
|
|
1108
|
+
await chunkNETYW4V3_cjs.replaceFileAtomic(file, body);
|
|
1109
1109
|
return 1;
|
|
1110
1110
|
}
|
|
1111
1111
|
function emptyResult(status) {
|
|
@@ -1166,8 +1166,8 @@ var Memory = {
|
|
|
1166
1166
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1167
1167
|
return await peer.IndexManager.open(openArgs);
|
|
1168
1168
|
}
|
|
1169
|
-
const { IndexManager } = await import('./index-manager-
|
|
1170
|
-
openArgs.embedding = await resolveEmbedding(opts.embedding,
|
|
1169
|
+
const { IndexManager } = await import('./index-manager-YFFEPISE.cjs');
|
|
1170
|
+
openArgs.embedding = await resolveEmbedding(opts.embedding, chunkF5DSDDBY_cjs.MEMORY_EMBEDDING_ADAPTERS);
|
|
1171
1171
|
return await IndexManager.open(openArgs);
|
|
1172
1172
|
},
|
|
1173
1173
|
/**
|
|
@@ -1178,7 +1178,7 @@ var Memory = {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
async runDreamingSweep(opts) {
|
|
1180
1180
|
const peer = await tryLoadSdkMemoryPeer();
|
|
1181
|
-
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS :
|
|
1181
|
+
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS : chunkF5DSDDBY_cjs.MEMORY_EMBEDDING_ADAPTERS;
|
|
1182
1182
|
const sweepArgs = await buildDreamingSweepArgs(opts, catalog);
|
|
1183
1183
|
const result = peer !== null ? (
|
|
1184
1184
|
// biome-ignore lint/suspicious/noExplicitAny: peer is dynamically loaded — structural compat ensured by sdk-memory
|
|
@@ -1236,7 +1236,7 @@ function extractRawId(id, expectedAdapterId) {
|
|
|
1236
1236
|
const prefix = `${expectedAdapterId}:`;
|
|
1237
1237
|
if (!id.startsWith(prefix)) {
|
|
1238
1238
|
const sourcePrefix = id.split(":", 1)[0] ?? "<malformed>";
|
|
1239
|
-
throw new
|
|
1239
|
+
throw new chunkYULF6FPB_cjs.MemoryAdapterError(
|
|
1240
1240
|
`MemoryId belongs to a different adapter (expected "${expectedAdapterId}", got "${sourcePrefix}")`,
|
|
1241
1241
|
{ adapterId: expectedAdapterId, code: "invalid_input" }
|
|
1242
1242
|
);
|
|
@@ -1244,9 +1244,9 @@ function extractRawId(id, expectedAdapterId) {
|
|
|
1244
1244
|
return id.slice(prefix.length);
|
|
1245
1245
|
}
|
|
1246
1246
|
async function readAllSqliteFacts(cwd) {
|
|
1247
|
-
const dbPath =
|
|
1247
|
+
const dbPath = chunkGH52NOCL_cjs.defaultIndexPath(cwd);
|
|
1248
1248
|
if (!fs.existsSync(dbPath)) return [];
|
|
1249
|
-
const db = await
|
|
1249
|
+
const db = await chunkGH52NOCL_cjs.openMemoryDb({ filePath: dbPath });
|
|
1250
1250
|
try {
|
|
1251
1251
|
const stmt = db.prepare("SELECT id, path, source, start_line, end_line, text FROM chunks");
|
|
1252
1252
|
const rows = stmt.all();
|
|
@@ -1265,12 +1265,12 @@ function nfcEqual(a, b) {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
async function migrateSqliteToLance(opts) {
|
|
1267
1267
|
const cwd = opts.cwd;
|
|
1268
|
-
const finalPath =
|
|
1268
|
+
const finalPath = chunkGH52NOCL_cjs.lanceStoragePath(cwd);
|
|
1269
1269
|
const newPath = path.join(cwd, ".theokit", "memory", "lance-new");
|
|
1270
1270
|
const rawLog = opts.logger ?? ((m) => console.log(m));
|
|
1271
|
-
const log = (m) => rawLog(
|
|
1271
|
+
const log = (m) => rawLog(chunkZHPET3LZ_cjs.redactSecrets(m));
|
|
1272
1272
|
if (fs.existsSync(finalPath)) {
|
|
1273
|
-
throw new
|
|
1273
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError(
|
|
1274
1274
|
`Destination already exists: ${finalPath}. Remove it manually (\`rm -rf ${finalPath}\`) and re-run.`,
|
|
1275
1275
|
{ code: "migration_destination_exists" }
|
|
1276
1276
|
);
|
|
@@ -1309,7 +1309,7 @@ async function migrateSqliteToLance(opts) {
|
|
|
1309
1309
|
};
|
|
1310
1310
|
fs.mkdirSync(newPath, { recursive: true });
|
|
1311
1311
|
log(`Writing Lance index to ${newPath} ...`);
|
|
1312
|
-
const lance = await
|
|
1312
|
+
const lance = await chunkGH52NOCL_cjs.LanceIndex.open({
|
|
1313
1313
|
cwd,
|
|
1314
1314
|
embedding: placeholderEmbedding,
|
|
1315
1315
|
storagePath: newPath
|
|
@@ -1561,7 +1561,7 @@ var Security = class {
|
|
|
1561
1561
|
* // → "[bot] received: please remember sk-abc...xyz1"
|
|
1562
1562
|
*/
|
|
1563
1563
|
static redact(text, opts) {
|
|
1564
|
-
return
|
|
1564
|
+
return chunkZHPET3LZ_cjs.redactSecrets(text, opts);
|
|
1565
1565
|
}
|
|
1566
1566
|
/**
|
|
1567
1567
|
* Register a custom redaction pattern. Additive — built-in patterns
|
|
@@ -1583,7 +1583,7 @@ var Security = class {
|
|
|
1583
1583
|
* // → text containing "MYORG-AAAA...AAAA" now masks like a builtin.
|
|
1584
1584
|
*/
|
|
1585
1585
|
static addPattern(re) {
|
|
1586
|
-
|
|
1586
|
+
chunkZHPET3LZ_cjs.addPattern(re);
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
1589
|
|
|
@@ -1596,30 +1596,30 @@ function sessionScopePrefix(scope) {
|
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
1598
1598
|
// src/squad.ts
|
|
1599
|
-
function
|
|
1599
|
+
function isBuiltAgent(m) {
|
|
1600
1600
|
return typeof m.send === "function";
|
|
1601
1601
|
}
|
|
1602
|
-
async function
|
|
1603
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1602
|
+
async function materialize(def, index) {
|
|
1603
|
+
const { Agent: Agent2 } = await import('./agent-6C2ODKFU.cjs');
|
|
1604
1604
|
return Agent2.create({
|
|
1605
1605
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1606
1606
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|
|
1607
|
-
//
|
|
1607
|
+
// an agent asking for a model literally named `inherit`.
|
|
1608
1608
|
...def.model !== void 0 && def.model !== "inherit" ? { model: def.model } : {},
|
|
1609
1609
|
...def.prompt !== void 0 ? { systemPrompt: def.prompt } : {},
|
|
1610
|
-
agentId: `squad-member-${String(
|
|
1610
|
+
agentId: `squad-member-${String(index)}`,
|
|
1611
1611
|
local: {}
|
|
1612
1612
|
});
|
|
1613
1613
|
}
|
|
1614
1614
|
function createSquad(options) {
|
|
1615
1615
|
const { agents } = options;
|
|
1616
1616
|
if (!Array.isArray(agents) || agents.length === 0) {
|
|
1617
|
-
throw new
|
|
1617
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError("createSquad requires a non-empty `agents` array", {
|
|
1618
1618
|
code: "invalid_squad"
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
1621
|
if (options.process !== void 0 && options.process !== "sequential") {
|
|
1622
|
-
throw new
|
|
1622
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError(
|
|
1623
1623
|
`createSquad only supports process "sequential"; for manager\u2192worker delegation use subagents or @theokit/sdk-handoff`,
|
|
1624
1624
|
{ code: "squad_process_unsupported" }
|
|
1625
1625
|
);
|
|
@@ -1632,13 +1632,13 @@ function createSquad(options) {
|
|
|
1632
1632
|
};
|
|
1633
1633
|
}
|
|
1634
1634
|
async function buildPipeline(agents, nome) {
|
|
1635
|
-
let builder =
|
|
1635
|
+
let builder = chunkJO76RWCA_cjs.Workflow.create({ name: nome ?? "squad" });
|
|
1636
1636
|
for (let i = 0; i < agents.length; i++) {
|
|
1637
|
-
const
|
|
1638
|
-
if (
|
|
1639
|
-
const agent =
|
|
1637
|
+
const member = agents[i];
|
|
1638
|
+
if (member === void 0) continue;
|
|
1639
|
+
const agent = isBuiltAgent(member) ? member : await materialize(member, i);
|
|
1640
1640
|
const opts = i > 0 ? { origin: { kind: "peer", from: `agent-${i - 1}` } } : void 0;
|
|
1641
|
-
builder = builder.then(
|
|
1641
|
+
builder = builder.then(chunkJO76RWCA_cjs.agentStep(`agent-${i}`, agent, (prev) => String(prev), opts));
|
|
1642
1642
|
}
|
|
1643
1643
|
return builder.commit();
|
|
1644
1644
|
}
|
|
@@ -1662,7 +1662,7 @@ var Task = class {
|
|
|
1662
1662
|
* (D369), and retention (D373).
|
|
1663
1663
|
*/
|
|
1664
1664
|
static configure(opts) {
|
|
1665
|
-
|
|
1665
|
+
chunkKCQUYQ3V_cjs.configure(opts);
|
|
1666
1666
|
}
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Submit a unit of asynchronous work to the registry.
|
|
@@ -1687,7 +1687,7 @@ var Task = class {
|
|
|
1687
1687
|
* a semaphore slot and without invoking `work`.
|
|
1688
1688
|
*/
|
|
1689
1689
|
static async submit(kind, work, options = {}) {
|
|
1690
|
-
return
|
|
1690
|
+
return chunkKCQUYQ3V_cjs.submit({
|
|
1691
1691
|
kind,
|
|
1692
1692
|
work,
|
|
1693
1693
|
...options.id !== void 0 ? { id: options.id } : {},
|
|
@@ -1698,11 +1698,11 @@ var Task = class {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
/** Returns matching handles, capped at `filter.limit ?? 100`. */
|
|
1700
1700
|
static list(filter = {}) {
|
|
1701
|
-
return
|
|
1701
|
+
return chunkKCQUYQ3V_cjs.list(filter);
|
|
1702
1702
|
}
|
|
1703
1703
|
/** Returns a single handle by id, or `undefined` if unknown / evicted. */
|
|
1704
1704
|
static get(id) {
|
|
1705
|
-
return
|
|
1705
|
+
return chunkKCQUYQ3V_cjs.get(id);
|
|
1706
1706
|
}
|
|
1707
1707
|
/**
|
|
1708
1708
|
* Idempotent cancel (D365). Returns:
|
|
@@ -1715,7 +1715,7 @@ var Task = class {
|
|
|
1715
1715
|
* Never throws.
|
|
1716
1716
|
*/
|
|
1717
1717
|
static cancel(id, reason) {
|
|
1718
|
-
return
|
|
1718
|
+
return chunkKCQUYQ3V_cjs.cancel(id, reason);
|
|
1719
1719
|
}
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Subscribe to a task's event stream. The returned `AsyncIterable<TaskEvent>`
|
|
@@ -1729,7 +1729,7 @@ var Task = class {
|
|
|
1729
1729
|
* Throws `TaskNotFoundError` if the id is unknown or has been evicted.
|
|
1730
1730
|
*/
|
|
1731
1731
|
static subscribe(id) {
|
|
1732
|
-
return
|
|
1732
|
+
return chunkKCQUYQ3V_cjs.subscribe(id);
|
|
1733
1733
|
}
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
@@ -1742,7 +1742,7 @@ var FIXTURE_USER = {
|
|
|
1742
1742
|
};
|
|
1743
1743
|
var FIXTURE_MODELS = [
|
|
1744
1744
|
{
|
|
1745
|
-
id:
|
|
1745
|
+
id: chunkF5DSDDBY_cjs.DEFAULT_AGENTIC_MODEL_ID,
|
|
1746
1746
|
name: "Gemini 2.0 Flash",
|
|
1747
1747
|
displayName: "Gemini 2.0 Flash",
|
|
1748
1748
|
parameters: [
|
|
@@ -1818,20 +1818,20 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
1818
1818
|
try {
|
|
1819
1819
|
response = await fetch(url, { method: "GET" });
|
|
1820
1820
|
} catch (fetchErr) {
|
|
1821
|
-
const mapped =
|
|
1821
|
+
const mapped = chunkFMIKUGF2_cjs.mapOllamaTransportError({
|
|
1822
1822
|
providerId: "ollama",
|
|
1823
1823
|
cause: fetchErr,
|
|
1824
1824
|
endpoint: "/v1/models"
|
|
1825
1825
|
});
|
|
1826
1826
|
if (mapped !== void 0) throw mapped;
|
|
1827
|
-
throw new
|
|
1827
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError(
|
|
1828
1828
|
`Failed to reach local provider at ${baseUrl}: ${fetchErr.message}`,
|
|
1829
1829
|
{ code: "local_provider_unreachable" }
|
|
1830
1830
|
);
|
|
1831
1831
|
}
|
|
1832
1832
|
if (!response.ok) {
|
|
1833
|
-
const body = await
|
|
1834
|
-
const mapped =
|
|
1833
|
+
const body = await chunkFMIKUGF2_cjs.readErrorResponseBody(response);
|
|
1834
|
+
const mapped = chunkFMIKUGF2_cjs.mapOllamaHttpError({
|
|
1835
1835
|
providerId: "ollama",
|
|
1836
1836
|
status: response.status,
|
|
1837
1837
|
body,
|
|
@@ -1839,7 +1839,7 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
1839
1839
|
endpoint: "/v1/models"
|
|
1840
1840
|
});
|
|
1841
1841
|
if (mapped !== void 0) throw mapped;
|
|
1842
|
-
throw new
|
|
1842
|
+
throw new chunkYULF6FPB_cjs.ConfigurationError(
|
|
1843
1843
|
`Local provider at ${baseUrl} returned HTTP ${response.status} on /v1/models`,
|
|
1844
1844
|
{ code: "local_provider_http_error" }
|
|
1845
1845
|
);
|
|
@@ -1894,9 +1894,9 @@ var Theokit = class {
|
|
|
1894
1894
|
});
|
|
1895
1895
|
},
|
|
1896
1896
|
capabilities: (providerOrModelId) => {
|
|
1897
|
-
|
|
1897
|
+
chunkGLEKLAUW_cjs.registerBuiltins();
|
|
1898
1898
|
const providerId = providerOrModelId.includes("/") ? providerOrModelId.split("/")[0] ?? providerOrModelId : providerOrModelId;
|
|
1899
|
-
return
|
|
1899
|
+
return chunkGLEKLAUW_cjs.getCatalogCapabilities(providerId);
|
|
1900
1900
|
}
|
|
1901
1901
|
};
|
|
1902
1902
|
/**
|
|
@@ -1935,8 +1935,8 @@ var Theokit = class {
|
|
|
1935
1935
|
*/
|
|
1936
1936
|
static inspect = {
|
|
1937
1937
|
builtinProviders: () => {
|
|
1938
|
-
|
|
1939
|
-
return
|
|
1938
|
+
chunkGLEKLAUW_cjs.registerBuiltins();
|
|
1939
|
+
return chunkGLEKLAUW_cjs.listProviders().map((p) => ({
|
|
1940
1940
|
name: p.name,
|
|
1941
1941
|
apiMode: p.apiMode,
|
|
1942
1942
|
authType: p.authType,
|
|
@@ -1945,7 +1945,7 @@ var Theokit = class {
|
|
|
1945
1945
|
envVars: p.envVars
|
|
1946
1946
|
}));
|
|
1947
1947
|
},
|
|
1948
|
-
embeddingAdapters: () => Object.entries(
|
|
1948
|
+
embeddingAdapters: () => Object.entries(chunkF5DSDDBY_cjs.MEMORY_EMBEDDING_ADAPTERS).map(([id, adapter]) => ({
|
|
1949
1949
|
id,
|
|
1950
1950
|
transport: adapter.transport,
|
|
1951
1951
|
defaultModel: adapter.defaultModel
|
|
@@ -1962,9 +1962,9 @@ var Theokit = class {
|
|
|
1962
1962
|
// and may be promoted onto Theokit once the agent.ts cycle is broken.
|
|
1963
1963
|
};
|
|
1964
1964
|
async function maybeListLocalModels(providerName) {
|
|
1965
|
-
|
|
1966
|
-
await
|
|
1967
|
-
const profile =
|
|
1965
|
+
chunkGLEKLAUW_cjs.registerBuiltins();
|
|
1966
|
+
await chunkFMIKUGF2_cjs.discoverProviderPlugins();
|
|
1967
|
+
const profile = chunkGLEKLAUW_cjs.getProviderProfile(providerName);
|
|
1968
1968
|
if (profile === void 0) return void 0;
|
|
1969
1969
|
if (profile.authType !== "none") return void 0;
|
|
1970
1970
|
const baseUrl = resolveLocalProviderBaseUrl(profile.name, profile.baseUrl);
|
|
@@ -1977,17 +1977,17 @@ function resolveLocalProviderBaseUrl(providerName, fallback) {
|
|
|
1977
1977
|
return fallback;
|
|
1978
1978
|
}
|
|
1979
1979
|
async function executeCatalogRequest(request) {
|
|
1980
|
-
const apiKey =
|
|
1980
|
+
const apiKey = chunkF5DSDDBY_cjs.resolveApiKey(request.apiKey);
|
|
1981
1981
|
if (apiKey === void 0) {
|
|
1982
|
-
throw new
|
|
1982
|
+
throw new chunkYULF6FPB_cjs.AuthenticationError("Missing API key", { code: "missing_api_key" });
|
|
1983
1983
|
}
|
|
1984
|
-
if (
|
|
1984
|
+
if (chunkFMIKUGF2_cjs.shouldUseFixtureMode(apiKey)) {
|
|
1985
1985
|
return request.fixture;
|
|
1986
1986
|
}
|
|
1987
|
-
if (!
|
|
1988
|
-
throw new
|
|
1987
|
+
if (!chunkFMIKUGF2_cjs.isFixtureApiKey(apiKey) && process.env.THEOKIT_API_BASE_URL === void 0) {
|
|
1988
|
+
throw new chunkYULF6FPB_cjs.AuthenticationError("Invalid API key", { code: "authentication_error" });
|
|
1989
1989
|
}
|
|
1990
|
-
return
|
|
1990
|
+
return chunkFMIKUGF2_cjs.httpRequest(request.path, { apiKey });
|
|
1991
1991
|
}
|
|
1992
1992
|
|
|
1993
1993
|
// src/trajectory-helpers.ts
|
|
@@ -2087,11 +2087,11 @@ function safeStringify(v) {
|
|
|
2087
2087
|
|
|
2088
2088
|
Object.defineProperty(exports, "JudgeCredentialError", {
|
|
2089
2089
|
enumerable: true,
|
|
2090
|
-
get: function () { return
|
|
2090
|
+
get: function () { return chunkUJMEWGO6_cjs.JudgeCredentialError; }
|
|
2091
2091
|
});
|
|
2092
2092
|
Object.defineProperty(exports, "StreamObjectError", {
|
|
2093
2093
|
enumerable: true,
|
|
2094
|
-
get: function () { return
|
|
2094
|
+
get: function () { return chunk57KX5WTP_cjs.StreamObjectError; }
|
|
2095
2095
|
});
|
|
2096
2096
|
Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
2097
2097
|
enumerable: true,
|
|
@@ -2099,43 +2099,43 @@ Object.defineProperty(exports, "GOAL_CONTINUATION_MARKER", {
|
|
|
2099
2099
|
});
|
|
2100
2100
|
Object.defineProperty(exports, "GenerateObjectError", {
|
|
2101
2101
|
enumerable: true,
|
|
2102
|
-
get: function () { return
|
|
2102
|
+
get: function () { return chunkGC44RATP_cjs.GenerateObjectError; }
|
|
2103
2103
|
});
|
|
2104
2104
|
Object.defineProperty(exports, "Cron", {
|
|
2105
2105
|
enumerable: true,
|
|
2106
|
-
get: function () { return
|
|
2106
|
+
get: function () { return chunkY33IGXCJ_cjs.Cron; }
|
|
2107
2107
|
});
|
|
2108
2108
|
Object.defineProperty(exports, "Agent", {
|
|
2109
2109
|
enumerable: true,
|
|
2110
|
-
get: function () { return
|
|
2110
|
+
get: function () { return chunkF5DSDDBY_cjs.Agent; }
|
|
2111
2111
|
});
|
|
2112
2112
|
Object.defineProperty(exports, "AgentBuilder", {
|
|
2113
2113
|
enumerable: true,
|
|
2114
|
-
get: function () { return
|
|
2114
|
+
get: function () { return chunkF5DSDDBY_cjs.AgentBuilder; }
|
|
2115
2115
|
});
|
|
2116
2116
|
Object.defineProperty(exports, "Tool", {
|
|
2117
2117
|
enumerable: true,
|
|
2118
|
-
get: function () { return
|
|
2118
|
+
get: function () { return chunkF5DSDDBY_cjs.Tool; }
|
|
2119
2119
|
});
|
|
2120
2120
|
Object.defineProperty(exports, "ToolError", {
|
|
2121
2121
|
enumerable: true,
|
|
2122
|
-
get: function () { return
|
|
2122
|
+
get: function () { return chunkF5DSDDBY_cjs.ToolError; }
|
|
2123
2123
|
});
|
|
2124
2124
|
Object.defineProperty(exports, "UsageAccumulator", {
|
|
2125
2125
|
enumerable: true,
|
|
2126
|
-
get: function () { return
|
|
2126
|
+
get: function () { return chunkF5DSDDBY_cjs.UsageAccumulator; }
|
|
2127
2127
|
});
|
|
2128
2128
|
Object.defineProperty(exports, "computeCost", {
|
|
2129
2129
|
enumerable: true,
|
|
2130
|
-
get: function () { return
|
|
2130
|
+
get: function () { return chunkF5DSDDBY_cjs.computeCost; }
|
|
2131
2131
|
});
|
|
2132
2132
|
Object.defineProperty(exports, "getPricingEntry", {
|
|
2133
2133
|
enumerable: true,
|
|
2134
|
-
get: function () { return
|
|
2134
|
+
get: function () { return chunkF5DSDDBY_cjs.getPricingEntry; }
|
|
2135
2135
|
});
|
|
2136
2136
|
Object.defineProperty(exports, "emitRunEvent", {
|
|
2137
2137
|
enumerable: true,
|
|
2138
|
-
get: function () { return
|
|
2138
|
+
get: function () { return chunkKCQUYQ3V_cjs.emitRunEvent; }
|
|
2139
2139
|
});
|
|
2140
2140
|
Object.defineProperty(exports, "withCwdMutex", {
|
|
2141
2141
|
enumerable: true,
|
|
@@ -2143,75 +2143,75 @@ Object.defineProperty(exports, "withCwdMutex", {
|
|
|
2143
2143
|
});
|
|
2144
2144
|
Object.defineProperty(exports, "AgentDisposedError", {
|
|
2145
2145
|
enumerable: true,
|
|
2146
|
-
get: function () { return
|
|
2146
|
+
get: function () { return chunkYULF6FPB_cjs.AgentDisposedError; }
|
|
2147
2147
|
});
|
|
2148
2148
|
Object.defineProperty(exports, "AgentRunError", {
|
|
2149
2149
|
enumerable: true,
|
|
2150
|
-
get: function () { return
|
|
2150
|
+
get: function () { return chunkYULF6FPB_cjs.AgentRunError; }
|
|
2151
2151
|
});
|
|
2152
2152
|
Object.defineProperty(exports, "AuthenticationError", {
|
|
2153
2153
|
enumerable: true,
|
|
2154
|
-
get: function () { return
|
|
2154
|
+
get: function () { return chunkYULF6FPB_cjs.AuthenticationError; }
|
|
2155
2155
|
});
|
|
2156
2156
|
Object.defineProperty(exports, "BudgetExceededError", {
|
|
2157
2157
|
enumerable: true,
|
|
2158
|
-
get: function () { return
|
|
2158
|
+
get: function () { return chunkYULF6FPB_cjs.BudgetExceededError; }
|
|
2159
2159
|
});
|
|
2160
2160
|
Object.defineProperty(exports, "ConfigurationError", {
|
|
2161
2161
|
enumerable: true,
|
|
2162
|
-
get: function () { return
|
|
2162
|
+
get: function () { return chunkYULF6FPB_cjs.ConfigurationError; }
|
|
2163
2163
|
});
|
|
2164
2164
|
Object.defineProperty(exports, "IntegrationNotConnectedError", {
|
|
2165
2165
|
enumerable: true,
|
|
2166
|
-
get: function () { return
|
|
2166
|
+
get: function () { return chunkYULF6FPB_cjs.IntegrationNotConnectedError; }
|
|
2167
2167
|
});
|
|
2168
2168
|
Object.defineProperty(exports, "InvalidTaskIdError", {
|
|
2169
2169
|
enumerable: true,
|
|
2170
|
-
get: function () { return
|
|
2170
|
+
get: function () { return chunkYULF6FPB_cjs.InvalidTaskIdError; }
|
|
2171
2171
|
});
|
|
2172
2172
|
Object.defineProperty(exports, "MemoryAdapterError", {
|
|
2173
2173
|
enumerable: true,
|
|
2174
|
-
get: function () { return
|
|
2174
|
+
get: function () { return chunkYULF6FPB_cjs.MemoryAdapterError; }
|
|
2175
2175
|
});
|
|
2176
2176
|
Object.defineProperty(exports, "NetworkError", {
|
|
2177
2177
|
enumerable: true,
|
|
2178
|
-
get: function () { return
|
|
2178
|
+
get: function () { return chunkYULF6FPB_cjs.NetworkError; }
|
|
2179
2179
|
});
|
|
2180
2180
|
Object.defineProperty(exports, "RateLimitError", {
|
|
2181
2181
|
enumerable: true,
|
|
2182
|
-
get: function () { return
|
|
2182
|
+
get: function () { return chunkYULF6FPB_cjs.RateLimitError; }
|
|
2183
2183
|
});
|
|
2184
2184
|
Object.defineProperty(exports, "TaskNotFoundError", {
|
|
2185
2185
|
enumerable: true,
|
|
2186
|
-
get: function () { return
|
|
2186
|
+
get: function () { return chunkYULF6FPB_cjs.TaskNotFoundError; }
|
|
2187
2187
|
});
|
|
2188
2188
|
Object.defineProperty(exports, "TheokitAgentError", {
|
|
2189
2189
|
enumerable: true,
|
|
2190
|
-
get: function () { return
|
|
2190
|
+
get: function () { return chunkYULF6FPB_cjs.TheokitAgentError; }
|
|
2191
2191
|
});
|
|
2192
2192
|
Object.defineProperty(exports, "UnknownAgentError", {
|
|
2193
2193
|
enumerable: true,
|
|
2194
|
-
get: function () { return
|
|
2194
|
+
get: function () { return chunkYULF6FPB_cjs.UnknownAgentError; }
|
|
2195
2195
|
});
|
|
2196
2196
|
Object.defineProperty(exports, "UnsupportedBudgetOperationError", {
|
|
2197
2197
|
enumerable: true,
|
|
2198
|
-
get: function () { return
|
|
2198
|
+
get: function () { return chunkYULF6FPB_cjs.UnsupportedBudgetOperationError; }
|
|
2199
2199
|
});
|
|
2200
2200
|
Object.defineProperty(exports, "UnsupportedRunOperationError", {
|
|
2201
2201
|
enumerable: true,
|
|
2202
|
-
get: function () { return
|
|
2202
|
+
get: function () { return chunkYULF6FPB_cjs.UnsupportedRunOperationError; }
|
|
2203
2203
|
});
|
|
2204
2204
|
Object.defineProperty(exports, "UnsupportedTaskOperationError", {
|
|
2205
2205
|
enumerable: true,
|
|
2206
|
-
get: function () { return
|
|
2206
|
+
get: function () { return chunkYULF6FPB_cjs.UnsupportedTaskOperationError; }
|
|
2207
2207
|
});
|
|
2208
2208
|
Object.defineProperty(exports, "isTransientError", {
|
|
2209
2209
|
enumerable: true,
|
|
2210
|
-
get: function () { return
|
|
2210
|
+
get: function () { return chunkYULF6FPB_cjs.isTransientError; }
|
|
2211
2211
|
});
|
|
2212
2212
|
Object.defineProperty(exports, "setDiagnosticsSink", {
|
|
2213
2213
|
enumerable: true,
|
|
2214
|
-
get: function () { return
|
|
2214
|
+
get: function () { return chunkZHPET3LZ_cjs.setDiagnosticsSink; }
|
|
2215
2215
|
});
|
|
2216
2216
|
exports.AgentFactory = AgentFactory;
|
|
2217
2217
|
exports.Budget = Budget;
|