@theokit/sdk 5.7.0 → 5.9.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 +77 -0
- package/dist/a2a/index.cjs +6 -6
- package/dist/a2a/index.js +2 -2
- package/dist/agent-6STOEBGQ.js +59 -0
- package/dist/{agent-EQ5HKTWV.js.map → agent-6STOEBGQ.js.map} +1 -1
- package/dist/{agent-Dya5SmhY.d.cts → agent-Dh2YHSLj.d.cts} +33 -3
- package/dist/agent-ZM4FDDL7.cjs +68 -0
- package/dist/{agent-KA63WDQH.cjs.map → agent-ZM4FDDL7.cjs.map} +1 -1
- package/dist/{agent-Bqzdhkqr.d.ts → agent-enXXu447.d.ts} +33 -3
- package/dist/auth/index.cjs +32 -32
- package/dist/auth/index.js +5 -5
- package/dist/{batch-US4F6WPK.js → batch-427O54FQ.js} +7 -7
- package/dist/{batch-US4F6WPK.js.map → batch-427O54FQ.js.map} +1 -1
- package/dist/{batch-I6T6MXZO.cjs → batch-U4SO4RLX.cjs} +24 -24
- package/dist/{batch-I6T6MXZO.cjs.map → batch-U4SO4RLX.cjs.map} +1 -1
- package/dist/{chunk-44I6UYVH.js → chunk-26NEAJ6T.js} +4 -4
- package/dist/{chunk-44I6UYVH.js.map → chunk-26NEAJ6T.js.map} +1 -1
- package/dist/{chunk-A6PDYH55.js → chunk-4QCJAJAG.js} +2 -2
- package/dist/chunk-4QCJAJAG.js.map +1 -0
- package/dist/{chunk-XYFGKVZ7.js → chunk-53RDNK3H.js} +3 -3
- package/dist/{chunk-XYFGKVZ7.js.map → chunk-53RDNK3H.js.map} +1 -1
- package/dist/{chunk-CZWN4C6A.js → chunk-5522X223.js} +3 -3
- package/dist/{chunk-CZWN4C6A.js.map → chunk-5522X223.js.map} +1 -1
- package/dist/{chunk-EH6XD3FY.js → chunk-5DD4NJN3.js} +3 -3
- package/dist/{chunk-EH6XD3FY.js.map → chunk-5DD4NJN3.js.map} +1 -1
- package/dist/{chunk-V22DZIXO.js → chunk-5Q4RTLMP.js} +3 -3
- package/dist/{chunk-V22DZIXO.js.map → chunk-5Q4RTLMP.js.map} +1 -1
- package/dist/{chunk-ER5BOIYD.cjs → chunk-5WR33BHA.cjs} +22 -22
- package/dist/{chunk-ER5BOIYD.cjs.map → chunk-5WR33BHA.cjs.map} +1 -1
- package/dist/{chunk-4A3SKJ53.cjs → chunk-6PB5AQCY.cjs} +14 -14
- package/dist/{chunk-4A3SKJ53.cjs.map → chunk-6PB5AQCY.cjs.map} +1 -1
- package/dist/{chunk-PRZ3BES7.cjs → chunk-72CPLZPC.cjs} +5 -5
- package/dist/{chunk-PRZ3BES7.cjs.map → chunk-72CPLZPC.cjs.map} +1 -1
- package/dist/{chunk-HNAYCTX4.cjs → chunk-76PIKR4P.cjs} +22 -22
- package/dist/{chunk-HNAYCTX4.cjs.map → chunk-76PIKR4P.cjs.map} +1 -1
- package/dist/{chunk-EFMFILPG.js → chunk-7F7XE6CM.js} +3 -3
- package/dist/{chunk-EFMFILPG.js.map → chunk-7F7XE6CM.js.map} +1 -1
- package/dist/{chunk-7C3HWGCW.js → chunk-7GDHFV2M.js} +3 -3
- package/dist/{chunk-7C3HWGCW.js.map → chunk-7GDHFV2M.js.map} +1 -1
- package/dist/{chunk-CA5VUAP3.js → chunk-7HUCU3KK.js} +5 -5
- package/dist/{chunk-CA5VUAP3.js.map → chunk-7HUCU3KK.js.map} +1 -1
- package/dist/{chunk-4MMWFSCD.js → chunk-7JAKO3NM.js} +3 -3
- package/dist/{chunk-4MMWFSCD.js.map → chunk-7JAKO3NM.js.map} +1 -1
- package/dist/{chunk-UADQJBHR.cjs → chunk-7NQ7HJ3E.cjs} +6 -6
- package/dist/{chunk-UADQJBHR.cjs.map → chunk-7NQ7HJ3E.cjs.map} +1 -1
- package/dist/{chunk-ZLMU5EU3.cjs → chunk-ARMFXTY6.cjs} +114 -190
- package/dist/chunk-ARMFXTY6.cjs.map +1 -0
- package/dist/{chunk-5WKQDIGO.js → chunk-AY43232P.js} +4 -4
- package/dist/{chunk-5WKQDIGO.js.map → chunk-AY43232P.js.map} +1 -1
- package/dist/{chunk-7FDKWDA2.cjs → chunk-B3XXQX6L.cjs} +7 -7
- package/dist/{chunk-7FDKWDA2.cjs.map → chunk-B3XXQX6L.cjs.map} +1 -1
- package/dist/{chunk-ALUN2B4W.js → chunk-B5MHRQJZ.js} +9 -3
- package/dist/chunk-B5MHRQJZ.js.map +1 -0
- package/dist/{chunk-TA3K7SBK.js → chunk-BKMDRBJ7.js} +3 -3
- package/dist/{chunk-TA3K7SBK.js.map → chunk-BKMDRBJ7.js.map} +1 -1
- package/dist/{chunk-A575WPBL.cjs → chunk-BM6PDJW3.cjs} +260 -260
- package/dist/{chunk-A575WPBL.cjs.map → chunk-BM6PDJW3.cjs.map} +1 -1
- package/dist/{chunk-RWPLWMCZ.cjs → chunk-C7GKRGKN.cjs} +42 -21
- package/dist/chunk-C7GKRGKN.cjs.map +1 -0
- package/dist/{chunk-FUSDYC2B.cjs → chunk-CQYBJOB2.cjs} +4 -4
- package/dist/{chunk-FUSDYC2B.cjs.map → chunk-CQYBJOB2.cjs.map} +1 -1
- package/dist/{chunk-7JJ3A6AT.cjs → chunk-D5KXKBEN.cjs} +5 -5
- package/dist/{chunk-7JJ3A6AT.cjs.map → chunk-D5KXKBEN.cjs.map} +1 -1
- package/dist/{chunk-3VXQEQE4.js → chunk-DDRX4LYS.js} +4 -4
- package/dist/{chunk-3VXQEQE4.js.map → chunk-DDRX4LYS.js.map} +1 -1
- package/dist/{chunk-QDM3OHUT.cjs → chunk-ECD6ER3E.cjs} +4 -4
- package/dist/{chunk-QDM3OHUT.cjs.map → chunk-ECD6ER3E.cjs.map} +1 -1
- package/dist/{chunk-JMDDYA22.js → chunk-EJROML3Q.js} +4 -4
- package/dist/{chunk-JMDDYA22.js.map → chunk-EJROML3Q.js.map} +1 -1
- package/dist/{chunk-EIQFAOFD.js → chunk-GGRPAQ3B.js} +3 -3
- package/dist/{chunk-EIQFAOFD.js.map → chunk-GGRPAQ3B.js.map} +1 -1
- package/dist/{chunk-HCT4HPCL.cjs → chunk-GHHIJEFX.cjs} +4 -4
- package/dist/{chunk-HCT4HPCL.cjs.map → chunk-GHHIJEFX.cjs.map} +1 -1
- package/dist/{chunk-7A6535RA.cjs → chunk-GM54F4FE.cjs} +9 -9
- package/dist/{chunk-7A6535RA.cjs.map → chunk-GM54F4FE.cjs.map} +1 -1
- package/dist/{chunk-6M2OIS4Y.js → chunk-GMRFAX4I.js} +74 -4
- package/dist/chunk-GMRFAX4I.js.map +1 -0
- package/dist/{chunk-O6USDERH.js → chunk-GMSRRJ53.js} +3 -3
- package/dist/{chunk-O6USDERH.js.map → chunk-GMSRRJ53.js.map} +1 -1
- package/dist/{chunk-VE6DFSKU.js → chunk-GTX6FEDP.js} +3 -3
- package/dist/{chunk-VE6DFSKU.js.map → chunk-GTX6FEDP.js.map} +1 -1
- package/dist/{chunk-NJWYQWDL.js → chunk-H3CVJSFC.js} +3 -3
- package/dist/{chunk-NJWYQWDL.js.map → chunk-H3CVJSFC.js.map} +1 -1
- package/dist/{chunk-MYJGWS2J.cjs → chunk-HG5LKFG7.cjs} +16 -16
- package/dist/{chunk-MYJGWS2J.cjs.map → chunk-HG5LKFG7.cjs.map} +1 -1
- package/dist/{chunk-55GB6JYQ.js → chunk-HOHR75KF.js} +5 -5
- package/dist/{chunk-55GB6JYQ.js.map → chunk-HOHR75KF.js.map} +1 -1
- package/dist/{chunk-GBCVPKHE.js → chunk-HV4V63CO.js} +3 -3
- package/dist/{chunk-GBCVPKHE.js.map → chunk-HV4V63CO.js.map} +1 -1
- package/dist/{chunk-I2PWY7VM.cjs → chunk-IIYJMXYW.cjs} +4 -4
- package/dist/{chunk-I2PWY7VM.cjs.map → chunk-IIYJMXYW.cjs.map} +1 -1
- package/dist/{chunk-YYN6BB7R.cjs → chunk-J4SA2ZEJ.cjs} +4 -4
- package/dist/{chunk-YYN6BB7R.cjs.map → chunk-J4SA2ZEJ.cjs.map} +1 -1
- package/dist/{chunk-ATT276RD.cjs → chunk-J5623RIV.cjs} +78 -6
- package/dist/chunk-J5623RIV.cjs.map +1 -0
- package/dist/{chunk-KVSAY6NZ.cjs → chunk-J6GXS5A2.cjs} +13 -13
- package/dist/{chunk-KVSAY6NZ.cjs.map → chunk-J6GXS5A2.cjs.map} +1 -1
- package/dist/{chunk-NQTD6QOW.cjs → chunk-JW3GVLM6.cjs} +4 -4
- package/dist/{chunk-NQTD6QOW.cjs.map → chunk-JW3GVLM6.cjs.map} +1 -1
- package/dist/{chunk-TFG5IBZS.cjs → chunk-KGZ66JVZ.cjs} +14 -14
- package/dist/{chunk-TFG5IBZS.cjs.map → chunk-KGZ66JVZ.cjs.map} +1 -1
- package/dist/{chunk-47TF32NQ.js → chunk-KO6SHCEH.js} +3 -3
- package/dist/{chunk-47TF32NQ.js.map → chunk-KO6SHCEH.js.map} +1 -1
- package/dist/{chunk-EFETPSJZ.cjs → chunk-KTA7YTZQ.cjs} +12 -12
- package/dist/{chunk-EFETPSJZ.cjs.map → chunk-KTA7YTZQ.cjs.map} +1 -1
- package/dist/{chunk-D6POWE7E.cjs → chunk-MEUBLCM4.cjs} +11 -11
- package/dist/{chunk-D6POWE7E.cjs.map → chunk-MEUBLCM4.cjs.map} +1 -1
- package/dist/{chunk-VWUXIVEI.js → chunk-MFZODA5Y.js} +5 -5
- package/dist/{chunk-VWUXIVEI.js.map → chunk-MFZODA5Y.js.map} +1 -1
- package/dist/{chunk-4HS6FFGL.cjs → chunk-MPQJE3G4.cjs} +15 -15
- package/dist/{chunk-4HS6FFGL.cjs.map → chunk-MPQJE3G4.cjs.map} +1 -1
- package/dist/{chunk-QRVS2PRE.cjs → chunk-MPR2ISL2.cjs} +4 -4
- package/dist/{chunk-QRVS2PRE.cjs.map → chunk-MPR2ISL2.cjs.map} +1 -1
- package/dist/{chunk-UOLBAPDM.js → chunk-MQGSOKR3.js} +3 -3
- package/dist/{chunk-UOLBAPDM.js.map → chunk-MQGSOKR3.js.map} +1 -1
- package/dist/{chunk-HFEJE7AC.js → chunk-MU7IAA7G.js} +9 -9
- package/dist/{chunk-HFEJE7AC.js.map → chunk-MU7IAA7G.js.map} +1 -1
- package/dist/{chunk-EXTRW7GW.cjs → chunk-NAGPKWOD.cjs} +4 -4
- package/dist/{chunk-EXTRW7GW.cjs.map → chunk-NAGPKWOD.cjs.map} +1 -1
- package/dist/{chunk-KTTHHYEW.cjs → chunk-NJSIAJEK.cjs} +4 -4
- package/dist/{chunk-KTTHHYEW.cjs.map → chunk-NJSIAJEK.cjs.map} +1 -1
- package/dist/{chunk-Z3NTRKIC.cjs → chunk-NKIQTLFA.cjs} +4 -4
- package/dist/{chunk-Z3NTRKIC.cjs.map → chunk-NKIQTLFA.cjs.map} +1 -1
- package/dist/{chunk-N7VAE6DZ.js → chunk-NOO6GZTZ.js} +8 -84
- package/dist/chunk-NOO6GZTZ.js.map +1 -0
- package/dist/{chunk-GK3UG7YQ.cjs → chunk-OCEQ6DW2.cjs} +10 -10
- package/dist/{chunk-GK3UG7YQ.cjs.map → chunk-OCEQ6DW2.cjs.map} +1 -1
- package/dist/{chunk-BJUJT5ED.cjs → chunk-OF2CLCTH.cjs} +4 -4
- package/dist/{chunk-BJUJT5ED.cjs.map → chunk-OF2CLCTH.cjs.map} +1 -1
- package/dist/{chunk-HUFSABUZ.cjs → chunk-OLSEWLK5.cjs} +6 -6
- package/dist/{chunk-HUFSABUZ.cjs.map → chunk-OLSEWLK5.cjs.map} +1 -1
- package/dist/{chunk-DQZU7JK6.cjs → chunk-P22BZE7G.cjs} +4 -4
- package/dist/{chunk-DQZU7JK6.cjs.map → chunk-P22BZE7G.cjs.map} +1 -1
- package/dist/{chunk-QWD3CZWE.cjs → chunk-P7NNKEWO.cjs} +4 -4
- package/dist/{chunk-QWD3CZWE.cjs.map → chunk-P7NNKEWO.cjs.map} +1 -1
- package/dist/{chunk-DQNI52VV.js → chunk-PQCTDMUI.js} +3 -3
- package/dist/{chunk-DQNI52VV.js.map → chunk-PQCTDMUI.js.map} +1 -1
- package/dist/{chunk-3XSWF5AP.cjs → chunk-PSLCVSCS.cjs} +3 -3
- package/dist/{chunk-3XSWF5AP.cjs.map → chunk-PSLCVSCS.cjs.map} +1 -1
- package/dist/{chunk-FUUSIT2T.js → chunk-PYFBS6OQ.js} +34 -34
- package/dist/{chunk-FUUSIT2T.js.map → chunk-PYFBS6OQ.js.map} +1 -1
- package/dist/{chunk-YRLI5DVC.js → chunk-QDQQYRJI.js} +4 -4
- package/dist/{chunk-YRLI5DVC.js.map → chunk-QDQQYRJI.js.map} +1 -1
- package/dist/{chunk-P5S3WCSZ.js → chunk-R2C3HXR3.js} +4 -4
- package/dist/{chunk-P5S3WCSZ.js.map → chunk-R2C3HXR3.js.map} +1 -1
- package/dist/chunk-R3ZQBPA5.cjs +18 -0
- package/dist/{chunk-ANMJJD6D.cjs.map → chunk-R3ZQBPA5.cjs.map} +1 -1
- package/dist/{chunk-4NLCWGH7.cjs → chunk-RA7IE4NK.cjs} +15 -15
- package/dist/{chunk-4NLCWGH7.cjs.map → chunk-RA7IE4NK.cjs.map} +1 -1
- package/dist/{chunk-UBR5PWD7.js → chunk-SUVCHX4L.js} +3 -3
- package/dist/{chunk-UBR5PWD7.js.map → chunk-SUVCHX4L.js.map} +1 -1
- package/dist/{chunk-7KBNBPFK.cjs → chunk-SWALPLFQ.cjs} +2 -2
- package/dist/chunk-SWALPLFQ.cjs.map +1 -0
- package/dist/{chunk-E6QXZZKE.cjs → chunk-T5KOSR5Y.cjs} +11 -11
- package/dist/{chunk-E6QXZZKE.cjs.map → chunk-T5KOSR5Y.cjs.map} +1 -1
- package/dist/{chunk-R3LBRQAN.js → chunk-TC4RWP3Y.js} +6 -6
- package/dist/{chunk-R3LBRQAN.js.map → chunk-TC4RWP3Y.js.map} +1 -1
- package/dist/{chunk-XB4GI5RZ.js → chunk-TE6XVTOA.js} +3 -3
- package/dist/{chunk-XB4GI5RZ.js.map → chunk-TE6XVTOA.js.map} +1 -1
- package/dist/{chunk-33A27NFX.cjs → chunk-TTBIQTO5.cjs} +19 -19
- package/dist/{chunk-33A27NFX.cjs.map → chunk-TTBIQTO5.cjs.map} +1 -1
- package/dist/{chunk-6JG2RFGK.js → chunk-UKBBYVNS.js} +5 -5
- package/dist/{chunk-6JG2RFGK.js.map → chunk-UKBBYVNS.js.map} +1 -1
- package/dist/{chunk-J7J7J2GN.cjs → chunk-UNFBHV46.cjs} +9 -2
- package/dist/chunk-UNFBHV46.cjs.map +1 -0
- package/dist/{chunk-AAEZSPTC.js → chunk-UNZOJVVC.js} +4 -4
- package/dist/{chunk-AAEZSPTC.js.map → chunk-UNZOJVVC.js.map} +1 -1
- package/dist/{chunk-24SYBZPL.cjs → chunk-WPO3VCY4.cjs} +9 -9
- package/dist/{chunk-24SYBZPL.cjs.map → chunk-WPO3VCY4.cjs.map} +1 -1
- package/dist/{chunk-IUMAQURF.js → chunk-X6DUEDAF.js} +3 -3
- package/dist/{chunk-IUMAQURF.js.map → chunk-X6DUEDAF.js.map} +1 -1
- package/dist/{chunk-CFE6QF2Q.js → chunk-XCQ432OX.js} +3 -3
- package/dist/{chunk-CFE6QF2Q.js.map → chunk-XCQ432OX.js.map} +1 -1
- package/dist/{chunk-QWD4RDZ3.cjs → chunk-XDUGSTYJ.cjs} +15 -15
- package/dist/{chunk-QWD4RDZ3.cjs.map → chunk-XDUGSTYJ.cjs.map} +1 -1
- package/dist/{chunk-K2VMFZQ5.js → chunk-XKMVJ443.js} +5 -5
- package/dist/{chunk-K2VMFZQ5.js.map → chunk-XKMVJ443.js.map} +1 -1
- package/dist/{chunk-6PWOWXMC.js → chunk-XZHJYSPB.js} +3 -3
- package/dist/{chunk-6PWOWXMC.js.map → chunk-XZHJYSPB.js.map} +1 -1
- package/dist/{chunk-QC55H6RJ.cjs → chunk-YRJA2POB.cjs} +9 -9
- package/dist/{chunk-QC55H6RJ.cjs.map → chunk-YRJA2POB.cjs.map} +1 -1
- package/dist/{chunk-T3ZDEYTJ.js → chunk-ZDYDBXSD.js} +36 -15
- package/dist/chunk-ZDYDBXSD.js.map +1 -0
- package/dist/{chunk-DMRT67Y6.js → chunk-ZJZ7LV3A.js} +3 -3
- package/dist/{chunk-DMRT67Y6.js.map → chunk-ZJZ7LV3A.js.map} +1 -1
- package/dist/{chunk-G7BLGBRN.js → chunk-ZWFTECOE.js} +3 -3
- package/dist/{chunk-G7BLGBRN.js.map → chunk-ZWFTECOE.js.map} +1 -1
- package/dist/{compact-session-QT6RJOKO.js → compact-session-2N3ZYJTW.js} +12 -12
- package/dist/{compact-session-QT6RJOKO.js.map → compact-session-2N3ZYJTW.js.map} +1 -1
- package/dist/{compact-session-75KD2FCM.cjs → compact-session-RBPLUPCK.cjs} +21 -21
- package/dist/{compact-session-75KD2FCM.cjs.map → compact-session-RBPLUPCK.cjs.map} +1 -1
- package/dist/compaction.cjs +20 -16
- package/dist/compaction.d.cts +2 -0
- package/dist/compaction.d.ts +2 -0
- package/dist/compaction.js +2 -2
- package/dist/concurrency.cjs +5 -5
- package/dist/concurrency.js +3 -3
- package/dist/context/index.cjs +13 -9
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.d.cts +2 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.js +5 -5
- package/dist/context/index.js.map +1 -1
- package/dist/context-SXR2HLHT.js +7 -0
- package/dist/{context-OJIIXJCV.js.map → context-SXR2HLHT.js.map} +1 -1
- package/dist/context-ZOULM2RB.cjs +24 -0
- package/dist/{context-7RP5JXGM.cjs.map → context-ZOULM2RB.cjs.map} +1 -1
- package/dist/{cron-D8uB1Xh5.d.ts → cron-DTuaPMVI.d.ts} +2 -2
- package/dist/{cron-BwxDUscv.d.cts → cron-QTgcwcZt.d.cts} +2 -2
- package/dist/cron.cjs +34 -34
- package/dist/cron.d.cts +4 -4
- package/dist/cron.d.ts +4 -4
- package/dist/cron.js +33 -33
- package/dist/{errors-DrDEgyz1.d.cts → errors-BWOJeWTZ.d.cts} +25 -2
- package/dist/{errors-CLOAyuiv.d.ts → errors-DDvG18IB.d.ts} +25 -2
- package/dist/errors.cjs +25 -21
- package/dist/errors.d.cts +2 -2
- package/dist/errors.d.ts +2 -2
- package/dist/errors.js +1 -1
- package/dist/eval.cjs +44 -44
- package/dist/eval.js +34 -34
- package/dist/{executor-XQAOQOHD.cjs → executor-2SUGI3ZT.cjs} +21 -21
- package/dist/{executor-XQAOQOHD.cjs.map → executor-2SUGI3ZT.cjs.map} +1 -1
- package/dist/{executor-ZNDQDX6Q.js → executor-3NI7KNL4.js} +6 -6
- package/dist/{executor-ZNDQDX6Q.js.map → executor-3NI7KNL4.js.map} +1 -1
- package/dist/filesystem/index.cjs +11 -11
- package/dist/filesystem/index.js +2 -2
- package/dist/fs-session-store-JHBJFKVV.cjs +19 -0
- package/dist/{fs-session-store-E4U3P56L.cjs.map → fs-session-store-JHBJFKVV.cjs.map} +1 -1
- package/dist/fs-session-store-STZZFXH2.js +10 -0
- package/dist/{fs-session-store-77JU46UZ.js.map → fs-session-store-STZZFXH2.js.map} +1 -1
- package/dist/generate-object-NTKAWE7D.js +7 -0
- package/dist/{generate-object-BXV7BZRP.js.map → generate-object-NTKAWE7D.js.map} +1 -1
- package/dist/generate-object-YHTWG5DB.cjs +20 -0
- package/dist/{generate-object-YBI2TDJ3.cjs.map → generate-object-YHTWG5DB.cjs.map} +1 -1
- package/dist/index-manager-ONQJSWX5.js +17 -0
- package/dist/{index-manager-Z4XMRVWQ.js.map → index-manager-ONQJSWX5.js.map} +1 -1
- package/dist/{index-manager-W7RHSL6G.cjs → index-manager-ZGJN25FD.cjs} +9 -9
- package/dist/{index-manager-W7RHSL6G.cjs.map → index-manager-ZGJN25FD.cjs.map} +1 -1
- package/dist/index.cjs +148 -146
- package/dist/index.d.cts +28 -10
- package/dist/index.d.ts +28 -10
- package/dist/index.js +49 -49
- package/dist/{inject-session-L6MIIELT.cjs → inject-session-3FPXJDJP.cjs} +4 -4
- package/dist/{inject-session-L6MIIELT.cjs.map → inject-session-3FPXJDJP.cjs.map} +1 -1
- package/dist/{inject-session-XWWN4DAA.js → inject-session-YNNOE3O6.js} +3 -3
- package/dist/{inject-session-XWWN4DAA.js.map → inject-session-YNNOE3O6.js.map} +1 -1
- package/dist/interactive/index.cjs +3 -3
- package/dist/interactive/index.js +1 -1
- package/dist/internal/memory/adapters/index.cjs +7 -7
- package/dist/internal/memory/adapters/index.js +6 -6
- package/dist/internal/memory/storage/index.cjs +35 -35
- package/dist/internal/memory/storage/index.js +6 -6
- package/dist/internal/persistence/index.cjs +11 -11
- package/dist/internal/persistence/index.js +3 -3
- package/dist/internal/runtime/compression/compression-model-registry.d.ts +1 -0
- package/dist/internal/runtime/compression/compression-summarizer.d.ts +0 -14
- package/dist/internal/runtime/context/context-discovery.d.ts +20 -5
- package/dist/internal/runtime/context/context-loaders.d.ts +5 -1
- package/dist/internal/security/index.cjs +9 -9
- package/dist/internal/security/index.js +2 -2
- package/dist/judge-call-AQQYK6VT.cjs +22 -0
- package/dist/{judge-call-46M2E5FA.cjs.map → judge-call-AQQYK6VT.cjs.map} +1 -1
- package/dist/judge-call-LOL5FQEX.js +5 -0
- package/dist/{judge-call-FGUNNWEI.js.map → judge-call-LOL5FQEX.js.map} +1 -1
- package/dist/mcp-auth.cjs +9 -9
- package/dist/mcp-auth.js +2 -2
- package/dist/models.cjs +15 -15
- package/dist/models.js +6 -6
- package/dist/oauth-transaction-store-NP2YHZ6D.js +5 -0
- package/dist/{oauth-transaction-store-5RIR6D5C.js.map → oauth-transaction-store-NP2YHZ6D.js.map} +1 -1
- package/dist/oauth-transaction-store-ZINDV7AF.cjs +38 -0
- package/dist/{oauth-transaction-store-SXIE57OD.cjs.map → oauth-transaction-store-ZINDV7AF.cjs.map} +1 -1
- package/dist/path-safety.cjs +9 -9
- package/dist/path-safety.js +2 -2
- package/dist/persistence.cjs +16 -16
- package/dist/persistence.js +4 -4
- package/dist/project.cjs +5 -5
- package/dist/project.js +2 -2
- package/dist/providers.cjs +8 -8
- package/dist/providers.js +6 -6
- package/dist/{registry-DMWCJKRF.js → registry-5FK42CRV.js} +6 -6
- package/dist/{registry-DMWCJKRF.js.map → registry-5FK42CRV.js.map} +1 -1
- package/dist/{registry-BZQFYRTL.cjs → registry-BVTNO73E.cjs} +14 -14
- package/dist/{registry-BZQFYRTL.cjs.map → registry-BVTNO73E.cjs.map} +1 -1
- package/dist/retry.cjs +3 -3
- package/dist/retry.js +2 -2
- package/dist/{run-CTAdRU3U.d.ts → run-DsA5Ip2i.d.cts} +1 -1
- package/dist/{run-CTAdRU3U.d.cts → run-DsA5Ip2i.d.ts} +1 -1
- package/dist/sandbox/index.cjs +18 -18
- package/dist/sandbox/index.js +3 -3
- package/dist/{sdk-agent-BOiKqOgL.d.cts → sdk-agent-dNwjwCt5.d.cts} +2 -2
- package/dist/{sdk-agent-D4a_BR_6.d.ts → sdk-agent-wEOLXD3F.d.ts} +2 -2
- package/dist/server/auth/index.cjs +21 -21
- package/dist/server/auth/index.js +6 -6
- package/dist/server/errors-envelope.cjs +13 -13
- package/dist/server/errors-envelope.d.cts +2 -2
- package/dist/server/errors-envelope.d.ts +2 -2
- package/dist/server/errors-envelope.js +2 -2
- package/dist/skills.cjs +7 -7
- package/dist/skills.js +4 -4
- package/dist/stream-object-QAEHG4YO.js +7 -0
- package/dist/{stream-object-HBFMIZLD.js.map → stream-object-QAEHG4YO.js.map} +1 -1
- package/dist/stream-object-TKVGGA54.cjs +20 -0
- package/dist/{stream-object-QSKHISDJ.cjs.map → stream-object-TKVGGA54.cjs.map} +1 -1
- package/dist/subagents-loader-5TZCAIYQ.cjs +16 -0
- package/dist/{subagents-loader-MOO7DC4E.cjs.map → subagents-loader-5TZCAIYQ.cjs.map} +1 -1
- package/dist/subagents-loader-PEV3PD4Q.js +7 -0
- package/dist/{subagents-loader-CJFYQQU2.js.map → subagents-loader-PEV3PD4Q.js.map} +1 -1
- package/dist/subagents-loader.cjs +5 -5
- package/dist/subagents-loader.d.cts +3 -3
- package/dist/subagents-loader.d.ts +3 -3
- package/dist/subagents-loader.js +3 -3
- package/dist/subscription/index.cjs +3 -2
- package/dist/subscription/index.d.cts +1 -1
- package/dist/subscription/index.d.ts +1 -1
- package/dist/subscription/index.js +2 -2
- package/dist/task-store.cjs +5 -5
- package/dist/task-store.js +2 -2
- package/dist/types/agent.d.ts +12 -0
- package/dist/workflow.cjs +25 -25
- package/dist/workflow.d.cts +2 -2
- package/dist/workflow.d.ts +2 -2
- package/dist/workflow.js +4 -4
- package/docs/error-codes.md +8 -7
- package/docs/harness-capability-map.md +17 -1
- package/package.json +1 -1
- package/dist/agent-EQ5HKTWV.js +0 -59
- package/dist/agent-KA63WDQH.cjs +0 -68
- package/dist/chunk-6M2OIS4Y.js.map +0 -1
- package/dist/chunk-7KBNBPFK.cjs.map +0 -1
- package/dist/chunk-A6PDYH55.js.map +0 -1
- package/dist/chunk-ALUN2B4W.js.map +0 -1
- package/dist/chunk-ANMJJD6D.cjs +0 -18
- package/dist/chunk-ATT276RD.cjs.map +0 -1
- package/dist/chunk-J7J7J2GN.cjs.map +0 -1
- package/dist/chunk-N7VAE6DZ.js.map +0 -1
- package/dist/chunk-RWPLWMCZ.cjs.map +0 -1
- package/dist/chunk-T3ZDEYTJ.js.map +0 -1
- package/dist/chunk-ZLMU5EU3.cjs.map +0 -1
- package/dist/context-7RP5JXGM.cjs +0 -24
- package/dist/context-OJIIXJCV.js +0 -7
- package/dist/fs-session-store-77JU46UZ.js +0 -10
- package/dist/fs-session-store-E4U3P56L.cjs +0 -19
- package/dist/generate-object-BXV7BZRP.js +0 -7
- package/dist/generate-object-YBI2TDJ3.cjs +0 -20
- package/dist/index-manager-Z4XMRVWQ.js +0 -17
- package/dist/judge-call-46M2E5FA.cjs +0 -22
- package/dist/judge-call-FGUNNWEI.js +0 -5
- package/dist/oauth-transaction-store-5RIR6D5C.js +0 -5
- package/dist/oauth-transaction-store-SXIE57OD.cjs +0 -38
- package/dist/stream-object-HBFMIZLD.js +0 -7
- package/dist/stream-object-QSKHISDJ.cjs +0 -20
- package/dist/subagents-loader-CJFYQQU2.js +0 -7
- package/dist/subagents-loader-MOO7DC4E.cjs +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,82 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#691](https://github.com/usetheokit/theokit-sdk/pull/691) [`4594f67`](https://github.com/usetheokit/theokit-sdk/commit/4594f6709e48849bb7774b40d2bc5c8e6f5d9e49) Thanks [@usetheodev](https://github.com/usetheodev)! - A subagent's `memory:` frontmatter is carried on `AgentDefinition.memory` instead of failing the
|
|
8
|
+
file. The SDK does not resolve the root, read `MEMORY.md` or touch the prompt: which of three roots
|
|
9
|
+
a note lives under is a decision about who can see it, `@theokit/agents` owns that decision with
|
|
10
|
+
`resolveAgentMemory`, and a second copy of the rule here is how the two drift into disagreeing about
|
|
11
|
+
privacy. The value passes through unjudged so a scope a newer `@theokit/agents` has learned is not
|
|
12
|
+
rejected by a list in this package. `permissionMode`, `maxTurns` and the rest of
|
|
13
|
+
`KNOWN_CLAUDE_CODE_FIELDS` still skip their file.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#691](https://github.com/usetheokit/theokit-sdk/pull/691) [`b19965d`](https://github.com/usetheokit/theokit-sdk/commit/b19965d4a0470944fb29bb5ee6f5055c98136f2b) Thanks [@usetheodev](https://github.com/usetheodev)! - Two throwable error codes are back in the published error reference.
|
|
18
|
+
|
|
19
|
+
`subagent_foreign_runtime_field` and `subagent_unknown_field` were written as a ternary inside the
|
|
20
|
+
`ConfigurationError` options. `tools/generate-error-codes.mjs` walks the source for the literal
|
|
21
|
+
assigned to `code:`, and a ternary is not a literal, so it extracted NEITHER — the reference lost a
|
|
22
|
+
code it used to list and never gained the one that replaced it.
|
|
23
|
+
|
|
24
|
+
Both are real and both are thrown. The error reference is the one place a consumer looks to find
|
|
25
|
+
out what they can catch, and it listed neither.
|
|
26
|
+
|
|
27
|
+
- [#691](https://github.com/usetheokit/theokit-sdk/pull/691) [`1d6ce94`](https://github.com/usetheokit/theokit-sdk/commit/1d6ce943b0758223dbce3554e4d7f4c41f7837a0) Thanks [@usetheodev](https://github.com/usetheodev)! - A subagent written for another runtime no longer stops the whole directory from loading. One
|
|
28
|
+
`.claude/agents/*.md` carrying `memory:`, `permissionMode:`, `maxTurns:` or any other field in
|
|
29
|
+
`KNOWN_CLAUDE_CODE_FIELDS` threw out of `loadSubagents`, so every sibling agent failed with it and
|
|
30
|
+
the turn produced no answer at all — measured in a live session where the offending agent was not
|
|
31
|
+
used by the task. Such a file is now skipped with a diagnostic, the way a file with no frontmatter
|
|
32
|
+
already was. A misspelling of one of our own fields (`sandboxx`), or an unknown that belongs to
|
|
33
|
+
nobody (`widgets`), is still fatal — so a typo cannot return as a silent gate.
|
|
34
|
+
|
|
35
|
+
- [#691](https://github.com/usetheokit/theokit-sdk/pull/691) [`7d6664a`](https://github.com/usetheokit/theokit-sdk/commit/7d6664aa0aa9e45e720d33b438f5055c5740297a) Thanks [@usetheodev](https://github.com/usetheodev)! - The dead-code scope note carries a second measurement. It said declaring all twelve packages "was
|
|
36
|
+
measured on 2026-08-20 and surfaced nothing", which is the honest shape for a coverage gap — but a
|
|
37
|
+
note like that stays true only while its number does. Re-measured 2026-09-15 by declaring the other
|
|
38
|
+
ten workspaces and running knip: configuration hints only, no unused exports, exit 0. The ten are
|
|
39
|
+
still unexamined rather than known-dirty, now on two dates instead of one.
|
|
40
|
+
|
|
41
|
+
## 5.8.0
|
|
42
|
+
|
|
43
|
+
### Minor Changes
|
|
44
|
+
|
|
45
|
+
- [#683](https://github.com/usetheokit/theokit-sdk/pull/683) [`ccb7ede`](https://github.com/usetheokit/theokit-sdk/commit/ccb7edea41b63da1519971af95256bc828c88e10) Thanks [@usetheodev](https://github.com/usetheodev)! - Seventeen symbols marked `@public` were reachable from no entry in the export map. They are now.
|
|
46
|
+
|
|
47
|
+
`@public` in a docblock is a promise that somebody outside the package is meant to name the symbol.
|
|
48
|
+
Nothing verified the promise, and the export map is exactly where it breaks quietly: a symbol can be
|
|
49
|
+
declared, documented, and compiled into a chunk while being importable from nowhere. A consumer
|
|
50
|
+
following the documentation got `has no exported member`.
|
|
51
|
+
|
|
52
|
+
Three of the seventeen are worth naming, because their kind made the gap expensive:
|
|
53
|
+
|
|
54
|
+
- **`CompressionFailedError`, `CompressionModelUnresolvedError`** — typed errors. `catch (e) { if (e
|
|
55
|
+
instanceof CompressionFailedError) }` did not compile for any consumer, which is the entire reason
|
|
56
|
+
a typed error exists rather than a message string.
|
|
57
|
+
- **`defineSubscription`** — a `define*` extension point, so the extension could not be written.
|
|
58
|
+
- **`withheldSpecs`** — names which instruction files a repository lost and which grant restores each
|
|
59
|
+
one. It shipped unreachable in 5.7.0: the capability worked and the accessor did not.
|
|
60
|
+
|
|
61
|
+
Now importable: `AgentBuilderDeps`, `EnvPolicy`, `ForkOptions`, `ForkResult`, `HookApprovalGate`,
|
|
62
|
+
`HookApprovalRequest`, `LlmCallContext`, `ToolContext`, `createTokenLimiter`,
|
|
63
|
+
`createUnicodeNormalizer` (root); `admittedSpecs`, `withheldSpecs` (`/context`);
|
|
64
|
+
`CompressionFailedError`, `CompressionModelUnresolvedError`, `CompressionConfig` (`/compaction`);
|
|
65
|
+
`defineSubscription` (`/subscription`).
|
|
66
|
+
|
|
67
|
+
**One went the other way.** `truncateWithMarker` lost its marker rather than gaining an export: it is
|
|
68
|
+
a pure truncation helper whose docblock describes implementation edge cases, not a contract, and an
|
|
69
|
+
export is a semver commitment somebody then has to keep.
|
|
70
|
+
|
|
71
|
+
`withheldSpecs` also gained a named return type, `WithheldSpec`, and that is not style. The DTS
|
|
72
|
+
rollup only pulls a symbol into a chunk when a public type references it — with an anonymous return
|
|
73
|
+
type nothing referenced the function, the re-export dangled, and the build failed with TS2305 in
|
|
74
|
+
whichever file carried it. Naming the return value is what makes the function packable, and it gives
|
|
75
|
+
a consumer something to write in their own signature.
|
|
76
|
+
|
|
77
|
+
**A gate now holds the promise.** `quality:public-surface` generates one probe per export-map entry
|
|
78
|
+
and lets `tsc` answer which names it cannot resolve.
|
|
79
|
+
|
|
3
80
|
## 5.7.0
|
|
4
81
|
|
|
5
82
|
### Minor Changes
|
package/dist/a2a/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJW3GVLM6_cjs = require('../chunk-JW3GVLM6.cjs');
|
|
4
4
|
require('../chunk-NINIJCHU.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkUNFBHV46_cjs = require('../chunk-UNFBHV46.cjs');
|
|
6
6
|
var chunk6LHQPOMI_cjs = require('../chunk-6LHQPOMI.cjs');
|
|
7
7
|
|
|
8
8
|
// src/a2a/agent-mailbox.ts
|
|
@@ -35,7 +35,7 @@ var AgentMailbox = class {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
// src/a2a/message-bus.ts
|
|
38
|
-
var A2APeerNotRegisteredError = class extends
|
|
38
|
+
var A2APeerNotRegisteredError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
39
39
|
constructor(to) {
|
|
40
40
|
super(`Agent "${to}" not registered on MessageBus`, {
|
|
41
41
|
code: "a2a_peer_not_registered",
|
|
@@ -47,7 +47,7 @@ var A2APeerNotRegisteredError = class extends chunkJ7J7J2GN_cjs.TheokitAgentErro
|
|
|
47
47
|
name = "A2APeerNotRegisteredError";
|
|
48
48
|
code = "a2a_peer_not_registered";
|
|
49
49
|
};
|
|
50
|
-
var A2ARequestTimeoutError = class extends
|
|
50
|
+
var A2ARequestTimeoutError = class extends chunkUNFBHV46_cjs.TheokitAgentError {
|
|
51
51
|
constructor(to, timeoutMs) {
|
|
52
52
|
super(`A2A request timeout: ${to} did not respond within ${timeoutMs}ms`, {
|
|
53
53
|
code: "a2a_request_timeout",
|
|
@@ -124,11 +124,11 @@ var MessageBus = class {
|
|
|
124
124
|
|
|
125
125
|
Object.defineProperty(exports, "MaxDelegationDepthError", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkJW3GVLM6_cjs.MaxDelegationDepthError; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "SubAgent", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkJW3GVLM6_cjs.SubAgent; }
|
|
132
132
|
});
|
|
133
133
|
exports.A2APeerNotRegisteredError = A2APeerNotRegisteredError;
|
|
134
134
|
exports.A2ARequestTimeoutError = A2ARequestTimeoutError;
|
package/dist/a2a/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { MaxDelegationDepthError, SubAgent } from '../chunk-
|
|
1
|
+
export { MaxDelegationDepthError, SubAgent } from '../chunk-XCQ432OX.js';
|
|
2
2
|
import '../chunk-6X6ID4MO.js';
|
|
3
|
-
import { TheokitAgentError } from '../chunk-
|
|
3
|
+
import { TheokitAgentError } from '../chunk-B5MHRQJZ.js';
|
|
4
4
|
import { diag } from '../chunk-CZJ6Q7CW.js';
|
|
5
5
|
|
|
6
6
|
// src/a2a/agent-mailbox.ts
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export { Agent } from './chunk-PYFBS6OQ.js';
|
|
2
|
+
import './chunk-XKMVJ443.js';
|
|
3
|
+
import './chunk-5522X223.js';
|
|
4
|
+
import './chunk-K2BQQ445.js';
|
|
5
|
+
import './chunk-R2C3HXR3.js';
|
|
6
|
+
import './chunk-PQCTDMUI.js';
|
|
7
|
+
import './chunk-2SFBB54R.js';
|
|
8
|
+
import './chunk-HOHR75KF.js';
|
|
9
|
+
import './chunk-H73MEMQB.js';
|
|
10
|
+
import './chunk-OR6XIWLB.js';
|
|
11
|
+
import './chunk-TC4RWP3Y.js';
|
|
12
|
+
import './chunk-UNZOJVVC.js';
|
|
13
|
+
import './chunk-NOO6GZTZ.js';
|
|
14
|
+
import './chunk-SUVCHX4L.js';
|
|
15
|
+
import './chunk-2XC6KDJM.js';
|
|
16
|
+
import './chunk-TE6XVTOA.js';
|
|
17
|
+
import './chunk-24MGQDK3.js';
|
|
18
|
+
import './chunk-2WXHA33T.js';
|
|
19
|
+
import './chunk-HKCKOAIO.js';
|
|
20
|
+
import './chunk-DDRX4LYS.js';
|
|
21
|
+
import './chunk-7GDHFV2M.js';
|
|
22
|
+
import './chunk-KVNWIAO4.js';
|
|
23
|
+
import './chunk-SVQIW5RJ.js';
|
|
24
|
+
import './chunk-FD2UT76F.js';
|
|
25
|
+
import './chunk-7I5Z3UBJ.js';
|
|
26
|
+
import './chunk-FJWQP6EE.js';
|
|
27
|
+
import './chunk-NAF4L3T6.js';
|
|
28
|
+
import './chunk-XCQ432OX.js';
|
|
29
|
+
import './chunk-6X6ID4MO.js';
|
|
30
|
+
import './chunk-7HUCU3KK.js';
|
|
31
|
+
import './chunk-4QCJAJAG.js';
|
|
32
|
+
import './chunk-SAGRF4IB.js';
|
|
33
|
+
import './chunk-5DD4NJN3.js';
|
|
34
|
+
import './chunk-UKMBRMGT.js';
|
|
35
|
+
import './chunk-7JAKO3NM.js';
|
|
36
|
+
import './chunk-ZWFTECOE.js';
|
|
37
|
+
import './chunk-GTX6FEDP.js';
|
|
38
|
+
import './chunk-JOFVLOFY.js';
|
|
39
|
+
import './chunk-WE22OXQA.js';
|
|
40
|
+
import './chunk-XZHJYSPB.js';
|
|
41
|
+
import './chunk-BKMDRBJ7.js';
|
|
42
|
+
import './chunk-Q5EWJPRY.js';
|
|
43
|
+
import './chunk-GGRPAQ3B.js';
|
|
44
|
+
import './chunk-3JHIFQ4I.js';
|
|
45
|
+
import './chunk-ZDYDBXSD.js';
|
|
46
|
+
import './chunk-X7EUUHXU.js';
|
|
47
|
+
import './chunk-MQGSOKR3.js';
|
|
48
|
+
import './chunk-GMRFAX4I.js';
|
|
49
|
+
import './chunk-R7WIIPUR.js';
|
|
50
|
+
import './chunk-53RDNK3H.js';
|
|
51
|
+
import './chunk-MFZODA5Y.js';
|
|
52
|
+
import './chunk-AGACYRJ2.js';
|
|
53
|
+
import './chunk-EJROML3Q.js';
|
|
54
|
+
import './chunk-5Q4RTLMP.js';
|
|
55
|
+
import './chunk-H3CVJSFC.js';
|
|
56
|
+
import './chunk-B5MHRQJZ.js';
|
|
57
|
+
import './chunk-CZJ6Q7CW.js';
|
|
58
|
+
//# sourceMappingURL=agent-6STOEBGQ.js.map
|
|
59
|
+
//# sourceMappingURL=agent-6STOEBGQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-6STOEBGQ.js"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-
|
|
1
|
+
import { o as MemoryFact, l as MemoryAdapter, n as MemoryContext, H as SystemPromptSkillRef, C as ContextSettings, P as ProviderRoutingSettings, a as PluginsSettings, S as SDKAgent } from './sdk-agent-dNwjwCt5.cjs';
|
|
2
|
+
import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-DsA5Ip2i.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Owner: `src/` (1 of 2 importers). Derived from the import graph, not
|
|
@@ -815,6 +815,17 @@ interface PreToolCallDecision {
|
|
|
815
815
|
block: true;
|
|
816
816
|
message: string;
|
|
817
817
|
}
|
|
818
|
+
/**
|
|
819
|
+
* #65 — a 2nd argument passed to a tool handler, carrying the run's cancellation
|
|
820
|
+
* signal (ties into #58) so a cooperative tool can stop when the run is
|
|
821
|
+
* cancelled. Optional and additive — existing single-arg handlers are unaffected.
|
|
822
|
+
* (requestConfirmation/requestCredential are a documented follow-up.)
|
|
823
|
+
*
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
interface ToolContext {
|
|
827
|
+
signal?: AbortSignal;
|
|
828
|
+
}
|
|
818
829
|
/** #65 — context for the `post_tool_call` hook (fired after a tool runs). @public */
|
|
819
830
|
interface PostToolCallContext {
|
|
820
831
|
name: string;
|
|
@@ -827,6 +838,13 @@ interface PostToolCallContext {
|
|
|
827
838
|
agentId: string;
|
|
828
839
|
runId: string;
|
|
829
840
|
}
|
|
841
|
+
/** #65 — context for the `pre_llm_call` / `post_llm_call` hooks. @public */
|
|
842
|
+
interface LlmCallContext {
|
|
843
|
+
agentId: string;
|
|
844
|
+
runId: string;
|
|
845
|
+
/** Iteration index (0-based) of the current turn, when available. */
|
|
846
|
+
iteration?: number;
|
|
847
|
+
}
|
|
830
848
|
/**
|
|
831
849
|
* #65 — context for the `on_session_start` / `on_session_end` hooks.
|
|
832
850
|
*
|
|
@@ -1265,6 +1283,18 @@ interface AgentDefinition {
|
|
|
1265
1283
|
* answered it for the other two surfaces.
|
|
1266
1284
|
*/
|
|
1267
1285
|
source?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* The memory root this subagent declared, from `memory:` in its frontmatter.
|
|
1288
|
+
*
|
|
1289
|
+
* CARRIED, never acted on here. Resolving it means deciding which of three roots a note lives
|
|
1290
|
+
* under, and those roots differ in who can see it — `@theokit/agents` owns that decision, with
|
|
1291
|
+
* `resolveAgentMemory` and a refusal for any scope it does not recognise. A second copy of that
|
|
1292
|
+
* rule in this package is how the two drift into disagreeing about privacy.
|
|
1293
|
+
*
|
|
1294
|
+
* The value is passed through unjudged for the same reason: a scope a newer `@theokit/agents`
|
|
1295
|
+
* has learned would otherwise be rejected here, by a list nobody remembered to update.
|
|
1296
|
+
*/
|
|
1297
|
+
memory?: string;
|
|
1268
1298
|
model?: ModelSelection | "inherit";
|
|
1269
1299
|
mcpServers?: Array<string | Record<string, McpServerConfig>>;
|
|
1270
1300
|
/**
|
|
@@ -1989,4 +2019,4 @@ interface ListResult<T> {
|
|
|
1989
2019
|
nextCursor?: string;
|
|
1990
2020
|
}
|
|
1991
2021
|
|
|
1992
|
-
export { type
|
|
2022
|
+
export { type RecordSessionSummaryArgs as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type CreateSkillSpec as D, type HookApprovalRequest as E, type HookName as F, type GetAgentOptions as G, type HookApprovalGate as H, type InlineSkill as I, type LlmCallContext as J, type MemoryProviderAgentRef as K, type LocalOptions as L, type MemorySettings as M, type MemoryProviderFactory as N, type MemoryProviderHandle as O, type Plugin as P, type MemoryProviderInitOptions as Q, type PluginContext as R, type SystemPromptResolver as S, type PluginHookDisposer as T, type PostAssistantReplyContext as U, type PostToolCallContext as V, type PreToolCallContext as W, type PreUserSendContext as X, type PreUserSendResult as Y, type ProviderTransform as Z, type ProviderTransformContext as _, type AgentDefinition as a, type SessionLifecycleContext as a0, type SessionRecord as a1, type SessionStore as a2, type SettingSource as a3, Skill as a4, type SkillsResolver as a5, type SkillsResolverContext as a6, type SystemPromptContext as a7, type SystemPromptMemoryFact as a8, type TelemetrySettings as a9, type ToolCallSummary as aa, type ToolContext as ab, type ToolResultTransformContext as ac, type TransformContext as ad, type SkillsSettings as b, type ListAgentsOptions as c, type ListResult as d, type SDKAgentInfo as e, type ListRunsOptions as f, type GetRunOptions as g, type AgentOperationOptions as h, type AgentDescription as i, type ProviderProfile as j, type Skill$1 as k, type MemoryProvider as l, type PreToolCallDecision as m, type ActiveMemoryPassArgs as n, type ActiveMemoryPassResult as o, type AgentSubagentDescription as p, type AgentToolDescription as q, type BudgetCheck as r, type BudgetTotal as s, type BudgetUsageEvent as t, type BuiltinToolName as u, type CloudEnv as v, type CloudRepo as w, type CompatSource as x, type CompatSourceAdapter as y, type CompatSurface as z };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkBM6PDJW3_cjs = require('./chunk-BM6PDJW3.cjs');
|
|
4
|
+
require('./chunk-J6GXS5A2.cjs');
|
|
5
|
+
require('./chunk-PSLCVSCS.cjs');
|
|
6
|
+
require('./chunk-BUUUWQMB.cjs');
|
|
7
|
+
require('./chunk-TTBIQTO5.cjs');
|
|
8
|
+
require('./chunk-J4SA2ZEJ.cjs');
|
|
9
|
+
require('./chunk-BV2MWEMV.cjs');
|
|
10
|
+
require('./chunk-MEUBLCM4.cjs');
|
|
11
|
+
require('./chunk-GHX4P3V2.cjs');
|
|
12
|
+
require('./chunk-TMKTSYDS.cjs');
|
|
13
|
+
require('./chunk-76PIKR4P.cjs');
|
|
14
|
+
require('./chunk-B3XXQX6L.cjs');
|
|
15
|
+
require('./chunk-ARMFXTY6.cjs');
|
|
16
|
+
require('./chunk-CQYBJOB2.cjs');
|
|
17
|
+
require('./chunk-YJNYDJ2T.cjs');
|
|
18
|
+
require('./chunk-WPO3VCY4.cjs');
|
|
19
|
+
require('./chunk-QOGNZMHD.cjs');
|
|
20
|
+
require('./chunk-YIFFF23U.cjs');
|
|
21
|
+
require('./chunk-2ZPEDVLM.cjs');
|
|
22
|
+
require('./chunk-KTA7YTZQ.cjs');
|
|
23
|
+
require('./chunk-OCEQ6DW2.cjs');
|
|
24
|
+
require('./chunk-KRD3GQAA.cjs');
|
|
25
|
+
require('./chunk-RQMCOFAI.cjs');
|
|
26
|
+
require('./chunk-MUUQ2WFJ.cjs');
|
|
27
|
+
require('./chunk-AA27GEYS.cjs');
|
|
28
|
+
require('./chunk-YSTXFWQE.cjs');
|
|
29
|
+
require('./chunk-FRITRLZQ.cjs');
|
|
30
|
+
require('./chunk-JW3GVLM6.cjs');
|
|
31
|
+
require('./chunk-NINIJCHU.cjs');
|
|
32
|
+
require('./chunk-HG5LKFG7.cjs');
|
|
33
|
+
require('./chunk-SWALPLFQ.cjs');
|
|
34
|
+
require('./chunk-IJ7M6GOG.cjs');
|
|
35
|
+
require('./chunk-GM54F4FE.cjs');
|
|
36
|
+
require('./chunk-SA6K24NB.cjs');
|
|
37
|
+
require('./chunk-IIYJMXYW.cjs');
|
|
38
|
+
require('./chunk-NJSIAJEK.cjs');
|
|
39
|
+
require('./chunk-NKIQTLFA.cjs');
|
|
40
|
+
require('./chunk-GZV6AVRL.cjs');
|
|
41
|
+
require('./chunk-A4RAL2ER.cjs');
|
|
42
|
+
require('./chunk-P22BZE7G.cjs');
|
|
43
|
+
require('./chunk-OF2CLCTH.cjs');
|
|
44
|
+
require('./chunk-ZF2LDKQQ.cjs');
|
|
45
|
+
require('./chunk-GHHIJEFX.cjs');
|
|
46
|
+
require('./chunk-JLRLCBJ4.cjs');
|
|
47
|
+
require('./chunk-C7GKRGKN.cjs');
|
|
48
|
+
require('./chunk-TY56BKSK.cjs');
|
|
49
|
+
require('./chunk-MPR2ISL2.cjs');
|
|
50
|
+
require('./chunk-J5623RIV.cjs');
|
|
51
|
+
require('./chunk-3EE6LVWT.cjs');
|
|
52
|
+
require('./chunk-R3ZQBPA5.cjs');
|
|
53
|
+
require('./chunk-YRJA2POB.cjs');
|
|
54
|
+
require('./chunk-NVXXWAU7.cjs');
|
|
55
|
+
require('./chunk-RA7IE4NK.cjs');
|
|
56
|
+
require('./chunk-NAGPKWOD.cjs');
|
|
57
|
+
require('./chunk-OLSEWLK5.cjs');
|
|
58
|
+
require('./chunk-UNFBHV46.cjs');
|
|
59
|
+
require('./chunk-6LHQPOMI.cjs');
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Object.defineProperty(exports, "Agent", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return chunkBM6PDJW3_cjs.Agent; }
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=agent-ZM4FDDL7.cjs.map
|
|
68
|
+
//# sourceMappingURL=agent-ZM4FDDL7.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-ZM4FDDL7.cjs"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-
|
|
1
|
+
import { o as MemoryFact, l as MemoryAdapter, n as MemoryContext, H as SystemPromptSkillRef, C as ContextSettings, P as ProviderRoutingSettings, a as PluginsSettings, S as SDKAgent } from './sdk-agent-wEOLXD3F.js';
|
|
2
|
+
import { M as ModelSelection, C as CustomTool, c as PermissionMode, a as McpServerConfig, P as Processor } from './run-DsA5Ip2i.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Owner: `src/` (1 of 2 importers). Derived from the import graph, not
|
|
@@ -815,6 +815,17 @@ interface PreToolCallDecision {
|
|
|
815
815
|
block: true;
|
|
816
816
|
message: string;
|
|
817
817
|
}
|
|
818
|
+
/**
|
|
819
|
+
* #65 — a 2nd argument passed to a tool handler, carrying the run's cancellation
|
|
820
|
+
* signal (ties into #58) so a cooperative tool can stop when the run is
|
|
821
|
+
* cancelled. Optional and additive — existing single-arg handlers are unaffected.
|
|
822
|
+
* (requestConfirmation/requestCredential are a documented follow-up.)
|
|
823
|
+
*
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
interface ToolContext {
|
|
827
|
+
signal?: AbortSignal;
|
|
828
|
+
}
|
|
818
829
|
/** #65 — context for the `post_tool_call` hook (fired after a tool runs). @public */
|
|
819
830
|
interface PostToolCallContext {
|
|
820
831
|
name: string;
|
|
@@ -827,6 +838,13 @@ interface PostToolCallContext {
|
|
|
827
838
|
agentId: string;
|
|
828
839
|
runId: string;
|
|
829
840
|
}
|
|
841
|
+
/** #65 — context for the `pre_llm_call` / `post_llm_call` hooks. @public */
|
|
842
|
+
interface LlmCallContext {
|
|
843
|
+
agentId: string;
|
|
844
|
+
runId: string;
|
|
845
|
+
/** Iteration index (0-based) of the current turn, when available. */
|
|
846
|
+
iteration?: number;
|
|
847
|
+
}
|
|
830
848
|
/**
|
|
831
849
|
* #65 — context for the `on_session_start` / `on_session_end` hooks.
|
|
832
850
|
*
|
|
@@ -1265,6 +1283,18 @@ interface AgentDefinition {
|
|
|
1265
1283
|
* answered it for the other two surfaces.
|
|
1266
1284
|
*/
|
|
1267
1285
|
source?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* The memory root this subagent declared, from `memory:` in its frontmatter.
|
|
1288
|
+
*
|
|
1289
|
+
* CARRIED, never acted on here. Resolving it means deciding which of three roots a note lives
|
|
1290
|
+
* under, and those roots differ in who can see it — `@theokit/agents` owns that decision, with
|
|
1291
|
+
* `resolveAgentMemory` and a refusal for any scope it does not recognise. A second copy of that
|
|
1292
|
+
* rule in this package is how the two drift into disagreeing about privacy.
|
|
1293
|
+
*
|
|
1294
|
+
* The value is passed through unjudged for the same reason: a scope a newer `@theokit/agents`
|
|
1295
|
+
* has learned would otherwise be rejected here, by a list nobody remembered to update.
|
|
1296
|
+
*/
|
|
1297
|
+
memory?: string;
|
|
1268
1298
|
model?: ModelSelection | "inherit";
|
|
1269
1299
|
mcpServers?: Array<string | Record<string, McpServerConfig>>;
|
|
1270
1300
|
/**
|
|
@@ -1989,4 +2019,4 @@ interface ListResult<T> {
|
|
|
1989
2019
|
nextCursor?: string;
|
|
1990
2020
|
}
|
|
1991
2021
|
|
|
1992
|
-
export { type
|
|
2022
|
+
export { type RecordSessionSummaryArgs as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type CreateSkillSpec as D, type HookApprovalRequest as E, type HookName as F, type GetAgentOptions as G, type HookApprovalGate as H, type InlineSkill as I, type LlmCallContext as J, type MemoryProviderAgentRef as K, type LocalOptions as L, type MemorySettings as M, type MemoryProviderFactory as N, type MemoryProviderHandle as O, type Plugin as P, type MemoryProviderInitOptions as Q, type PluginContext as R, type SystemPromptResolver as S, type PluginHookDisposer as T, type PostAssistantReplyContext as U, type PostToolCallContext as V, type PreToolCallContext as W, type PreUserSendContext as X, type PreUserSendResult as Y, type ProviderTransform as Z, type ProviderTransformContext as _, type AgentDefinition as a, type SessionLifecycleContext as a0, type SessionRecord as a1, type SessionStore as a2, type SettingSource as a3, Skill as a4, type SkillsResolver as a5, type SkillsResolverContext as a6, type SystemPromptContext as a7, type SystemPromptMemoryFact as a8, type TelemetrySettings as a9, type ToolCallSummary as aa, type ToolContext as ab, type ToolResultTransformContext as ac, type TransformContext as ad, type SkillsSettings as b, type ListAgentsOptions as c, type ListResult as d, type SDKAgentInfo as e, type ListRunsOptions as f, type GetRunOptions as g, type AgentOperationOptions as h, type AgentDescription as i, type ProviderProfile as j, type Skill$1 as k, type MemoryProvider as l, type PreToolCallDecision as m, type ActiveMemoryPassArgs as n, type ActiveMemoryPassResult as o, type AgentSubagentDescription as p, type AgentToolDescription as q, type BudgetCheck as r, type BudgetTotal as s, type BudgetUsageEvent as t, type BuiltinToolName as u, type CloudEnv as v, type CloudRepo as w, type CompatSource as x, type CompatSourceAdapter as y, type CompatSurface as z };
|
package/dist/auth/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkFRITRLZQ_cjs = require('../chunk-FRITRLZQ.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
4
|
+
var chunkRA7IE4NK_cjs = require('../chunk-RA7IE4NK.cjs');
|
|
5
|
+
var chunkNAGPKWOD_cjs = require('../chunk-NAGPKWOD.cjs');
|
|
6
|
+
var chunkOLSEWLK5_cjs = require('../chunk-OLSEWLK5.cjs');
|
|
7
|
+
require('../chunk-UNFBHV46.cjs');
|
|
8
8
|
require('../chunk-6LHQPOMI.cjs');
|
|
9
9
|
|
|
10
10
|
// src/internal/auth/oauth-device.ts
|
|
@@ -14,7 +14,7 @@ async function parseJsonOrFail(res, code, what) {
|
|
|
14
14
|
try {
|
|
15
15
|
return JSON.parse(text);
|
|
16
16
|
} catch {
|
|
17
|
-
throw new
|
|
17
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(code, `${what} returned a non-JSON body: ${text.slice(0, 120)}`);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
async function requestDeviceCode(config, deps) {
|
|
@@ -29,13 +29,13 @@ async function requestDeviceCode(config, deps) {
|
|
|
29
29
|
}).toString()
|
|
30
30
|
});
|
|
31
31
|
} catch (err) {
|
|
32
|
-
throw new
|
|
32
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
33
33
|
"oauth_device_authorization_failed",
|
|
34
34
|
`device request failed: ${err.message}`
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
37
|
if (!res.ok) {
|
|
38
|
-
throw new
|
|
38
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
39
39
|
"oauth_device_authorization_failed",
|
|
40
40
|
`device endpoint returned HTTP ${res.status}`
|
|
41
41
|
);
|
|
@@ -46,7 +46,7 @@ async function requestDeviceCode(config, deps) {
|
|
|
46
46
|
"device endpoint"
|
|
47
47
|
);
|
|
48
48
|
if (typeof data.device_code !== "string" || typeof data.user_code !== "string") {
|
|
49
|
-
throw new
|
|
49
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
50
50
|
"oauth_device_authorization_failed",
|
|
51
51
|
"device response missing device_code/user_code"
|
|
52
52
|
);
|
|
@@ -79,14 +79,14 @@ async function pollDeviceToken(config, grant, deps) {
|
|
|
79
79
|
}).toString()
|
|
80
80
|
});
|
|
81
81
|
} catch (err) {
|
|
82
|
-
throw new
|
|
82
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
83
83
|
"oauth_token_exchange_failed",
|
|
84
84
|
`device token poll failed: ${err.message}`
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
87
|
const data = await res.json().catch(() => ({}));
|
|
88
88
|
if (!res.ok && typeof data.error !== "string") {
|
|
89
|
-
throw new
|
|
89
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
90
90
|
"oauth_token_exchange_failed",
|
|
91
91
|
`device token endpoint returned HTTP ${res.status}`
|
|
92
92
|
);
|
|
@@ -116,14 +116,14 @@ async function pollDeviceToken(config, grant, deps) {
|
|
|
116
116
|
continue;
|
|
117
117
|
}
|
|
118
118
|
if (typeof data.error === "string") {
|
|
119
|
-
throw new
|
|
119
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
120
120
|
"oauth_token_exchange_failed",
|
|
121
121
|
`device authorization rejected: ${data.error}`
|
|
122
122
|
);
|
|
123
123
|
}
|
|
124
124
|
await deps.sleep(intervalMs + POLLING_SAFETY_MARGIN_MS);
|
|
125
125
|
}
|
|
126
|
-
throw new
|
|
126
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
127
127
|
"oauth_device_code_expired",
|
|
128
128
|
"the device code expired before it was approved"
|
|
129
129
|
);
|
|
@@ -146,13 +146,13 @@ async function requestOpenAIUsercode(config, deps) {
|
|
|
146
146
|
body: JSON.stringify({ client_id: config.clientId })
|
|
147
147
|
});
|
|
148
148
|
} catch (err) {
|
|
149
|
-
throw new
|
|
149
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
150
150
|
"oauth_device_authorization_failed",
|
|
151
151
|
`usercode request failed: ${err.message}`
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
if (!res.ok) {
|
|
155
|
-
throw new
|
|
155
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
156
156
|
"oauth_device_authorization_failed",
|
|
157
157
|
`usercode endpoint returned HTTP ${res.status}`
|
|
158
158
|
);
|
|
@@ -163,7 +163,7 @@ async function requestOpenAIUsercode(config, deps) {
|
|
|
163
163
|
"usercode endpoint"
|
|
164
164
|
);
|
|
165
165
|
if (typeof data.device_auth_id !== "string" || typeof data.user_code !== "string") {
|
|
166
|
-
throw new
|
|
166
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
167
167
|
"oauth_device_authorization_failed",
|
|
168
168
|
"usercode response missing device_auth_id/user_code"
|
|
169
169
|
);
|
|
@@ -188,7 +188,7 @@ async function openaiDeviceLogin(config, deps, hooks) {
|
|
|
188
188
|
body: JSON.stringify({ device_auth_id: deviceAuthId, user_code: userCode })
|
|
189
189
|
});
|
|
190
190
|
} catch (err) {
|
|
191
|
-
throw new
|
|
191
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
192
192
|
"oauth_token_exchange_failed",
|
|
193
193
|
`device poll failed: ${err.message}`
|
|
194
194
|
);
|
|
@@ -196,12 +196,12 @@ async function openaiDeviceLogin(config, deps, hooks) {
|
|
|
196
196
|
if (res.ok) {
|
|
197
197
|
const data = await parseJsonOrFail(res, "oauth_token_exchange_failed", "device poll");
|
|
198
198
|
if (typeof data.authorization_code !== "string" || typeof data.code_verifier !== "string") {
|
|
199
|
-
throw new
|
|
199
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
200
200
|
"oauth_token_exchange_failed",
|
|
201
201
|
"device poll returned no authorization_code"
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
const tokens = await
|
|
204
|
+
const tokens = await chunkRA7IE4NK_cjs.exchangeCode(
|
|
205
205
|
config,
|
|
206
206
|
{ code: data.authorization_code, verifier: data.code_verifier },
|
|
207
207
|
deps
|
|
@@ -212,14 +212,14 @@ async function openaiDeviceLogin(config, deps, hooks) {
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
if (res.status !== 403 && res.status !== 404) {
|
|
215
|
-
throw new
|
|
215
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
216
216
|
"oauth_token_exchange_failed",
|
|
217
217
|
`device poll returned HTTP ${res.status}`
|
|
218
218
|
);
|
|
219
219
|
}
|
|
220
220
|
await deps.sleep(intervalMs + POLLING_SAFETY_MARGIN_MS);
|
|
221
221
|
}
|
|
222
|
-
throw new
|
|
222
|
+
throw new chunkOLSEWLK5_cjs.AuthCallbackError(
|
|
223
223
|
"oauth_device_code_expired",
|
|
224
224
|
"the device authorization expired before approval"
|
|
225
225
|
);
|
|
@@ -249,51 +249,51 @@ Object.defineProperty(exports, "providerFromApiKeyPrefix", {
|
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "ensureFreshCredential", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkRA7IE4NK_cjs.ensureFreshCredential; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "exchangeCode", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkRA7IE4NK_cjs.exchangeCode; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "persistOAuthTokens", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkRA7IE4NK_cjs.persistOAuthTokens; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "refreshOAuthTokens", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkRA7IE4NK_cjs.refreshOAuthTokens; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "resolveCredential", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkRA7IE4NK_cjs.resolveCredential; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "CredentialError", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkNAGPKWOD_cjs.CredentialError; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "assertSecureModes", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkNAGPKWOD_cjs.assertSecureModes; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "authFilePath", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkNAGPKWOD_cjs.authFilePath; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "credentialHome", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkNAGPKWOD_cjs.credentialHome; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "readAuthFile", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkNAGPKWOD_cjs.readAuthFile; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "readStoredOAuth", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkNAGPKWOD_cjs.readStoredOAuth; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "writeCredential", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkNAGPKWOD_cjs.writeCredential; }
|
|
297
297
|
});
|
|
298
298
|
exports.deviceLogin = deviceLogin;
|
|
299
299
|
exports.extractAccountId = extractAccountId;
|
package/dist/auth/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { providerFromApiKeyPrefix } from '../chunk-NAF4L3T6.js';
|
|
2
|
-
import { exchangeCode } from '../chunk-
|
|
3
|
-
export { ensureFreshCredential, exchangeCode, persistOAuthTokens, refreshOAuthTokens, resolveCredential } from '../chunk-
|
|
4
|
-
export { CredentialError, assertSecureModes, authFilePath, credentialHome, readAuthFile, readStoredOAuth, writeCredential } from '../chunk-
|
|
5
|
-
import { AuthCallbackError } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
2
|
+
import { exchangeCode } from '../chunk-EJROML3Q.js';
|
|
3
|
+
export { ensureFreshCredential, exchangeCode, persistOAuthTokens, refreshOAuthTokens, resolveCredential } from '../chunk-EJROML3Q.js';
|
|
4
|
+
export { CredentialError, assertSecureModes, authFilePath, credentialHome, readAuthFile, readStoredOAuth, writeCredential } from '../chunk-5Q4RTLMP.js';
|
|
5
|
+
import { AuthCallbackError } from '../chunk-H3CVJSFC.js';
|
|
6
|
+
import '../chunk-B5MHRQJZ.js';
|
|
7
7
|
import '../chunk-CZJ6Q7CW.js';
|
|
8
8
|
|
|
9
9
|
// src/internal/auth/oauth-device.ts
|