@opencode/core 0.0.0-dev-19879 → 0.0.0-dev-19883
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/event-logger-05e5mmsy.js +252 -0
- package/dist/chunks/{model-resolver-m0t6dn9n.js → event-logger-08pqa12r.js} +14 -14
- package/dist/chunks/{model-resolver-vdzspbnc.js → event-logger-0f9afca0.js} +5 -5
- package/dist/chunks/{model-resolver-v4chc4dc.js → event-logger-0jcepjca.js} +10 -10
- package/dist/chunks/{model-resolver-7dqw4kz8.js → event-logger-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-resolver-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-m5csp7t6.js → event-logger-0pasfmx1.js} +18 -18
- package/dist/chunks/{model-resolver-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-36n4n3t4.js → event-logger-148btmhs.js} +68 -68
- package/dist/chunks/{model-resolver-8wj3mj4g.js → event-logger-17dw7sdx.js} +44 -44
- package/dist/chunks/{model-resolver-1acjjqhc.js → event-logger-1acjjqhc.js} +1 -1
- package/dist/chunks/{model-resolver-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-mrv6ghce.js → event-logger-1mx79f5s.js} +19 -19
- package/dist/chunks/{model-resolver-c8f5h7fp.js → event-logger-1r23a98c.js} +33 -33
- package/dist/chunks/{model-resolver-1nksd46f.js → event-logger-1xbk51d1.js} +6 -6
- package/dist/chunks/{model-resolver-tx769sbk.js → event-logger-1yf2qjj7.js} +28 -28
- package/dist/chunks/{model-resolver-b52ryf5f.js → event-logger-1zqt6k48.js} +14 -14
- package/dist/chunks/{model-resolver-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/event-logger-28bncwe8.js +26 -0
- package/dist/chunks/{model-resolver-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2bryg182.js → event-logger-2hppe1qg.js} +29 -29
- package/dist/chunks/{model-resolver-h7f8s8kx.js → event-logger-2mn660gm.js} +11 -11
- package/dist/chunks/{model-resolver-zvpx4q1j.js → event-logger-2syw43ez.js} +12 -12
- package/dist/chunks/{model-resolver-4xbskmpe.js → event-logger-3cfzdc8e.js} +5 -5
- package/dist/chunks/{model-resolver-5hkrv0vj.js → event-logger-3csn3f6x.js} +24 -24
- package/dist/chunks/{model-resolver-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-nh07yg89.js → event-logger-3m7gm69k.js} +59 -59
- package/dist/chunks/{model-resolver-9xk8zs32.js → event-logger-3pt4dhyb.js} +7 -7
- package/dist/chunks/{model-resolver-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-c574q531.js → event-logger-3td8ra85.js} +10 -10
- package/dist/chunks/{model-resolver-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-a83wf666.js → event-logger-3w5nwqty.js} +49 -49
- package/dist/chunks/{model-resolver-h9xbmez1.js → event-logger-3xa9cbtx.js} +17 -17
- package/dist/chunks/{model-resolver-tzfx967f.js → event-logger-3y81hdb8.js} +3 -3
- package/dist/chunks/{model-resolver-adywxnqa.js → event-logger-40zcdha5.js} +11 -11
- package/dist/chunks/{model-resolver-44ke2mar.js → event-logger-44ke2mar.js} +2 -2
- package/dist/chunks/{model-resolver-dyxd458n.js → event-logger-46efvg8p.js} +11 -11
- package/dist/chunks/{model-resolver-m06q4kjh.js → event-logger-46msr37g.js} +9 -9
- package/dist/chunks/{model-resolver-h65ecam0.js → event-logger-475xsn2x.js} +5 -5
- package/dist/chunks/{model-resolver-cz18w411.js → event-logger-4fdckjx1.js} +28 -28
- package/dist/chunks/{model-resolver-19rvyxk9.js → event-logger-4s11dycz.js} +58 -58
- package/dist/chunks/{model-resolver-3vm6db06.js → event-logger-4tr7qdh0.js} +9 -9
- package/dist/chunks/{model-resolver-mvda01ge.js → event-logger-4ttkb0e5.js} +18 -18
- package/dist/chunks/{model-resolver-88tsvha8.js → event-logger-4xv00g1r.js} +20 -20
- package/dist/chunks/{model-resolver-14yjf0x4.js → event-logger-510m7gjw.js} +5 -5
- package/dist/chunks/{model-resolver-8ha6ga5e.js → event-logger-533t3k18.js} +8 -8
- package/dist/chunks/{model-resolver-1ygqh575.js → event-logger-56gdpj1q.js} +9 -9
- package/dist/chunks/{model-resolver-awbdwcvp.js → event-logger-57ez7d0k.js} +7 -7
- package/dist/chunks/{model-resolver-5c4hm403.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-st9rbhtf.js → event-logger-5g0g34ek.js} +13 -13
- package/dist/chunks/{model-resolver-rq9gd7cy.js → event-logger-5gk8amnh.js} +13 -13
- package/dist/chunks/{model-resolver-ydkhd2vj.js → event-logger-5jghf0hr.js} +20 -20
- package/dist/chunks/{model-resolver-e3qxr5gk.js → event-logger-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-m27169sy.js → event-logger-5qpddqx9.js} +32 -32
- package/dist/chunks/{model-resolver-yc1a4vnp.js → event-logger-5sfbvqw6.js} +24 -24
- package/dist/chunks/{model-resolver-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-m06x1evk.js → event-logger-5t3q07mb.js} +9 -9
- package/dist/chunks/{model-resolver-dpxqvzet.js → event-logger-5y196rt8.js} +24 -24
- package/dist/chunks/{model-resolver-v73a4c74.js → event-logger-60ya4rxq.js} +27 -27
- package/dist/chunks/{model-resolver-4kb9w903.js → event-logger-619d0a7n.js} +13 -13
- package/dist/chunks/{model-resolver-6c0f2qr4.js → event-logger-63m4sj6v.js} +13 -13
- package/dist/chunks/{model-resolver-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-b4y5hkjs.js → event-logger-6h1q4549.js} +30 -30
- package/dist/chunks/{model-resolver-y6f4m1ja.js → event-logger-6hc1ve34.js} +11 -11
- package/dist/chunks/{model-resolver-1sejg8v7.js → event-logger-6hsqvad3.js} +30 -30
- package/dist/chunks/{model-resolver-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-v24739yc.js → event-logger-7np6y5v9.js} +12 -12
- package/dist/chunks/{model-resolver-c06y4pyh.js → event-logger-89wvkx3n.js} +97 -97
- package/dist/chunks/{model-resolver-a0b5drbd.js → event-logger-8akqzrar.js} +24 -24
- package/dist/chunks/{model-resolver-2c4qhs1k.js → event-logger-8d1k587k.js} +34 -34
- package/dist/chunks/{model-resolver-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-c27esgm9.js → event-logger-8mbscqky.js} +8 -8
- package/dist/chunks/{model-resolver-wc674h98.js → event-logger-8mfkgmb0.js} +1 -1
- package/dist/chunks/{model-resolver-sbwttkaf.js → event-logger-8qmmky1n.js} +11 -11
- package/dist/chunks/{model-resolver-9qw467yc.js → event-logger-8w6a2ddy.js} +30 -30
- package/dist/chunks/{model-resolver-2szjhpjf.js → event-logger-8xfdh4m7.js} +8 -8
- package/dist/chunks/{model-resolver-w0ddfprx.js → event-logger-8y0ey7w7.js} +18 -18
- package/dist/chunks/{model-resolver-pgxpsng8.js → event-logger-8zv0ajwr.js} +13 -13
- package/dist/chunks/{model-resolver-jn0tk1mz.js → event-logger-9c3np669.js} +8 -8
- package/dist/chunks/event-logger-9sh4wc5j.js +18 -0
- package/dist/chunks/{model-resolver-pfbep0b9.js → event-logger-a1apahce.js} +6 -6
- package/dist/chunks/{model-resolver-d4rwqpz6.js → event-logger-a25zmek9.js} +15 -15
- package/dist/chunks/{model-resolver-sy3rdx9f.js → event-logger-a48tmg35.js} +3 -3
- package/dist/chunks/{model-resolver-x03qqaj0.js → event-logger-a68v6zx7.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-th0g359r.js → event-logger-adbn4dna.js} +27 -27
- package/dist/chunks/{model-resolver-2ekq1fhc.js → event-logger-addpfpm2.js} +2 -2
- package/dist/chunks/{model-resolver-k8qkjtdv.js → event-logger-afdq0bv9.js} +3 -3
- package/dist/chunks/{model-resolver-pd5kn0n4.js → event-logger-ah5wg1j1.js} +6 -6
- package/dist/chunks/{model-resolver-ha0p6w6v.js → event-logger-akg7mpd2.js} +25 -25
- package/dist/chunks/{model-resolver-je6b98an.js → event-logger-as30p4pk.js} +28 -28
- package/dist/chunks/{model-resolver-xynw923x.js → event-logger-b282z4ws.js} +22 -22
- package/dist/chunks/{model-resolver-6zwjjspm.js → event-logger-b6d8p86x.js} +11 -11
- package/dist/chunks/{model-resolver-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-dagg7nba.js → event-logger-b9pgx79x.js} +1 -1
- package/dist/chunks/{model-resolver-fre4m1z6.js → event-logger-bbcxnpjs.js} +24 -24
- package/dist/chunks/{model-resolver-pw0s52c9.js → event-logger-bbj18gvp.js} +2 -2
- package/dist/chunks/{model-resolver-vnccmz7g.js → event-logger-bgaehm52.js} +19 -19
- package/dist/chunks/{model-resolver-jcxvn8gn.js → event-logger-bwckxjxx.js} +11 -11
- package/dist/chunks/{model-resolver-brav8yb8.js → event-logger-c121y83y.js} +9 -9
- package/dist/chunks/{model-resolver-cb5kpe73.js → event-logger-c1np9tvh.js} +12 -12
- package/dist/chunks/{model-resolver-cwa6csj7.js → event-logger-c765mh8b.js} +9 -9
- package/dist/chunks/{model-resolver-6rhwg9p1.js → event-logger-c7a8dyv3.js} +11 -11
- package/dist/chunks/{model-resolver-sxzvkvgj.js → event-logger-c8bydgjz.js} +6 -6
- package/dist/chunks/{model-resolver-ybq1nttj.js → event-logger-c9sk7z94.js} +19 -19
- package/dist/chunks/{model-resolver-kq3kmm4s.js → event-logger-cc6fgmxw.js} +29 -29
- package/dist/chunks/{model-resolver-r43n0tkv.js → event-logger-cd9nda8q.js} +27 -27
- package/dist/chunks/{model-resolver-qcwj7nge.js → event-logger-ceaeedp1.js} +6 -6
- package/dist/chunks/{model-resolver-bhfhzr1m.js → event-logger-ch0zjgx3.js} +25 -25
- package/dist/chunks/{model-resolver-xwmqbvw4.js → event-logger-cj65b5yb.js} +14 -14
- package/dist/chunks/{model-resolver-1289akr8.js → event-logger-ckqp5h15.js} +37 -37
- package/dist/chunks/{model-resolver-cmwkp3r5.js → event-logger-cmwkp3r5.js} +1 -1
- package/dist/chunks/{model-resolver-nwb51fbw.js → event-logger-cq9babp4.js} +20 -20
- package/dist/chunks/{model-resolver-hkpdzfw9.js → event-logger-cr4m8zwx.js} +11 -11
- package/dist/chunks/{model-resolver-qfavfwf5.js → event-logger-cxzmmvrx.js} +6 -6
- package/dist/chunks/{model-resolver-eb50jbx7.js → event-logger-d52xjy57.js} +15 -15
- package/dist/chunks/{model-resolver-dj2t23y0.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-y71avatq.js → event-logger-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-nnar0fsb.js → event-logger-dtm1n4d8.js} +10 -10
- package/dist/chunks/{model-resolver-hw2mbygq.js → event-logger-dtv5040x.js} +5 -5
- package/dist/chunks/{model-resolver-bf9gty6t.js → event-logger-dwhttab4.js} +14 -14
- package/dist/chunks/{model-resolver-rp1g7e9y.js → event-logger-dz8x4rxg.js} +4 -4
- package/dist/chunks/{model-resolver-t6bnr8x5.js → event-logger-ef1vt8sq.js} +4 -4
- package/dist/chunks/{model-resolver-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-06s4385t.js → event-logger-efadqd38.js} +17 -17
- package/dist/chunks/{model-resolver-cr9558d1.js → event-logger-eh6z0q8m.js} +33 -33
- package/dist/chunks/{model-resolver-939csnrg.js → event-logger-ejre7x2g.js} +16 -16
- package/dist/chunks/{model-resolver-2vs2nh1n.js → event-logger-embw8kgh.js} +4 -4
- package/dist/chunks/{model-resolver-qkprbssz.js → event-logger-enxf8gt6.js} +14 -14
- package/dist/chunks/{model-resolver-e3att9pz.js → event-logger-erw0j3dc.js} +15 -15
- package/dist/chunks/{model-resolver-erw5rpbs.js → event-logger-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-hhd0x5h8.js → event-logger-ewzsd05a.js} +28 -28
- package/dist/chunks/{model-resolver-fzgxakwn.js → event-logger-ezy2bptn.js} +8 -8
- package/dist/chunks/{model-resolver-abkgffbm.js → event-logger-f0ekz9ts.js} +17 -17
- package/dist/chunks/{model-resolver-bz4xne2a.js → event-logger-f19mgfsc.js} +9 -9
- package/dist/chunks/{model-resolver-4xj7jy5m.js → event-logger-f1ckv151.js} +15 -15
- package/dist/chunks/{model-resolver-zvm8zp5s.js → event-logger-fc3harsg.js} +5 -5
- package/dist/chunks/{model-resolver-6xbvwgke.js → event-logger-fm7r8sy8.js} +9 -9
- package/dist/chunks/{model-resolver-0996nyz8.js → event-logger-fqcgpcra.js} +9 -9
- package/dist/chunks/{model-resolver-78mtxkg6.js → event-logger-fr5z3gca.js} +1 -1
- package/dist/chunks/{model-resolver-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-zwgxd679.js → event-logger-gbspdhem.js} +10 -10
- package/dist/chunks/{model-resolver-0dnt9ggj.js → event-logger-gc0sa5ac.js} +91 -91
- package/dist/chunks/{model-resolver-4v4bfvma.js → event-logger-gcavn3wx.js} +5 -5
- package/dist/chunks/{model-resolver-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-xztn33cf.js → event-logger-gjdnp5j1.js} +1 -1
- package/dist/chunks/{model-resolver-yyb7tjpc.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-v8878m3p.js → event-logger-gz9012ze.js} +16 -16
- package/dist/chunks/{model-resolver-g1gqch2e.js → event-logger-h4gjr50j.js} +4 -4
- package/dist/chunks/{model-resolver-hbyhqfhs.js → event-logger-h4z1mxff.js} +5 -5
- package/dist/chunks/{model-resolver-5mtzsd3b.js → event-logger-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-3vf55zzj.js → event-logger-h9e7zzhd.js} +6 -6
- package/dist/chunks/{model-resolver-hdnk95c8.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-4tb4y58c.js → event-logger-he4jzgvh.js} +20 -20
- package/dist/chunks/{model-resolver-b70qncxb.js → event-logger-hxcpnqqq.js} +16 -16
- package/dist/chunks/{model-resolver-mdqxewsd.js → event-logger-j113hsvj.js} +8 -8
- package/dist/chunks/{model-resolver-2d57kztd.js → event-logger-j15mfg1p.js} +6 -6
- package/dist/chunks/{model-resolver-apn8f15b.js → event-logger-j311gd59.js} +6 -6
- package/dist/chunks/{model-resolver-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-kxq74w2a.js → event-logger-j945v2sv.js} +24 -24
- package/dist/chunks/{model-resolver-rnvw3hvm.js → event-logger-jbzwn50f.js} +51 -51
- package/dist/chunks/{model-resolver-g74mfj6n.js → event-logger-jjs74g98.js} +9 -9
- package/dist/chunks/{model-resolver-sdbkfcvv.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/event-logger-jqpxjgen.js +65 -0
- package/dist/chunks/{model-resolver-k3c624dm.js → event-logger-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-csdaj16z.js → event-logger-k6yq57aq.js} +3 -3
- package/dist/chunks/{model-resolver-ax8pt9gw.js → event-logger-k8qf691v.js} +15 -15
- package/dist/chunks/{model-resolver-fmrmvz2k.js → event-logger-k9eyp8c5.js} +22 -22
- package/dist/chunks/{model-resolver-eahhehpg.js → event-logger-kkp8zx71.js} +4 -4
- package/dist/chunks/{model-resolver-5kn4885k.js → event-logger-km0q4cc0.js} +18 -18
- package/dist/chunks/{model-resolver-m3cv1qmd.js → event-logger-kz7agx4r.js} +43 -43
- package/dist/chunks/{model-resolver-m0jqrx5p.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-qc9vtygz.js → event-logger-mgs7q34e.js} +11 -11
- package/dist/chunks/{model-resolver-88sz8qcd.js → event-logger-msq0jde0.js} +4 -4
- package/dist/chunks/{model-resolver-v43qsjh8.js → event-logger-mtd3hevm.js} +43 -43
- package/dist/chunks/{model-resolver-p1tppetm.js → event-logger-n22mwfxb.js} +47 -47
- package/dist/chunks/{model-resolver-yw8xy3m8.js → event-logger-n7z9xjgh.js} +6 -6
- package/dist/chunks/{model-resolver-rg6yn4zr.js → event-logger-nemvvhp1.js} +1 -1
- package/dist/chunks/{model-resolver-1anfc26p.js → event-logger-newypggy.js} +13 -13
- package/dist/chunks/{model-resolver-s4gd82ff.js → event-logger-nhzac2vt.js} +28 -28
- package/dist/chunks/{model-resolver-zhrmp06p.js → event-logger-nnwve76w.js} +18 -18
- package/dist/chunks/{model-resolver-xdk9p2qn.js → event-logger-nrdmrqsx.js} +21 -21
- package/dist/chunks/{model-resolver-1v112ay2.js → event-logger-ntr68xqe.js} +8 -8
- package/dist/chunks/{model-resolver-7xhhf2aw.js → event-logger-nv6sgpkb.js} +9 -9
- package/dist/chunks/{model-resolver-cdpzwh9k.js → event-logger-nybvked5.js} +13 -13
- package/dist/chunks/{model-resolver-tbz0fdvh.js → event-logger-p28j5sbe.js} +5 -5
- package/dist/chunks/{model-resolver-0vbwh1ma.js → event-logger-p3yw0krh.js} +23 -23
- package/dist/chunks/{model-resolver-x660ftyb.js → event-logger-p6n5ewqn.js} +14 -14
- package/dist/chunks/{model-resolver-bw03vhcb.js → event-logger-p7nsp59h.js} +4 -4
- package/dist/chunks/{model-resolver-m0rjhax7.js → event-logger-pg0h3cca.js} +7 -7
- package/dist/chunks/{model-resolver-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-y1vhqzk3.js → event-logger-pkhzxmfp.js} +27 -27
- package/dist/chunks/{model-resolver-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-m2wxmj5v.js → event-logger-pnezrcsm.js} +5 -5
- package/dist/chunks/{model-resolver-scq4khx8.js → event-logger-pstg3rfm.js} +1 -1
- package/dist/chunks/{model-resolver-z3kzza17.js → event-logger-q1v1tjfj.js} +34 -34
- package/dist/chunks/{model-resolver-zzn9gyf4.js → event-logger-q3hye7rp.js} +44 -44
- package/dist/chunks/{model-resolver-3tax330k.js → event-logger-q42dvkxw.js} +20 -20
- package/dist/chunks/{model-resolver-aagbmaqd.js → event-logger-q4x4f9x3.js} +6 -6
- package/dist/chunks/{model-resolver-3ye25fqg.js → event-logger-qp1yqj07.js} +15 -15
- package/dist/chunks/{model-resolver-764y3xsx.js → event-logger-qp69s4zb.js} +16 -16
- package/dist/chunks/{model-resolver-af80h3am.js → event-logger-qq10ch32.js} +28 -28
- package/dist/chunks/{model-resolver-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-159hjbtj.js → event-logger-r3fw3xwq.js} +12 -12
- package/dist/chunks/{model-resolver-73tb2d7t.js → event-logger-r5x6zcsm.js} +3 -3
- package/dist/chunks/{model-resolver-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-5apets8e.js → event-logger-rmxzq7f5.js} +5 -5
- package/dist/chunks/{model-resolver-z97es7vj.js → event-logger-rt0dk2st.js} +25 -25
- package/dist/chunks/{model-resolver-dbz8g9vz.js → event-logger-rtbp0y8z.js} +8 -8
- package/dist/chunks/{model-resolver-r5829pqs.js → event-logger-s78dcbxc.js} +15 -15
- package/dist/chunks/{model-resolver-garff814.js → event-logger-s8mtmqsj.js} +3 -3
- package/dist/chunks/{model-resolver-q3tbzv75.js → event-logger-s8xqzfhv.js} +31 -31
- package/dist/chunks/{model-resolver-9x2zw2dr.js → event-logger-scyg2gcb.js} +11 -11
- package/dist/chunks/{model-resolver-616ym9rn.js → event-logger-sfh11f92.js} +19 -19
- package/dist/chunks/{model-resolver-79cfd5na.js → event-logger-sfk65rgw.js} +8 -8
- package/dist/chunks/{model-resolver-417sk53s.js → event-logger-sqgt392s.js} +33 -33
- package/dist/chunks/{model-resolver-a1fb49zt.js → event-logger-syh73nww.js} +22 -22
- package/dist/chunks/{model-resolver-hr4hckmy.js → event-logger-t00k10qy.js} +13 -13
- package/dist/chunks/{model-resolver-t550f9t1.js → event-logger-t550f9t1.js} +1 -1
- package/dist/chunks/{model-resolver-kfd1t4rr.js → event-logger-t5gx411e.js} +8 -8
- package/dist/chunks/{model-resolver-r98e92ep.js → event-logger-t9zs3egg.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-pc8r89n2.js → event-logger-tjzps5h2.js} +29 -29
- package/dist/chunks/{model-resolver-g997j2fw.js → event-logger-tqsbc54k.js} +6 -6
- package/dist/chunks/{model-resolver-v1h9wh0s.js → event-logger-tvk4srm3.js} +29 -29
- package/dist/chunks/{model-resolver-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-7f0d2bbc.js → event-logger-tw4cw4te.js} +31 -31
- package/dist/chunks/{model-resolver-xes5nzqf.js → event-logger-v0ks3twn.js} +148 -148
- package/dist/chunks/{model-resolver-q9y4mng6.js → event-logger-v2f267zw.js} +17 -17
- package/dist/chunks/{model-resolver-7hrt1dkg.js → event-logger-v3kcbs8h.js} +4 -4
- package/dist/chunks/{model-resolver-25m4ah6t.js → event-logger-v5dkyp31.js} +7 -7
- package/dist/chunks/{model-resolver-nv7590vc.js → event-logger-v6efr277.js} +4 -4
- package/dist/chunks/{model-resolver-7v4f4tb8.js → event-logger-v880302c.js} +21 -21
- package/dist/chunks/{model-resolver-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-1zrjt9bj.js → event-logger-vh8m9vgh.js} +28 -28
- package/dist/chunks/{model-resolver-7hxcqsga.js → event-logger-vkja9z68.js} +16 -16
- package/dist/chunks/{model-resolver-2fs90zrh.js → event-logger-vsmhe3bm.js} +16 -16
- package/dist/chunks/{model-resolver-wwvdgax5.js → event-logger-vy0sc1r4.js} +29 -29
- package/dist/chunks/{model-resolver-gh3w682p.js → event-logger-vz9h7ybk.js} +19 -19
- package/dist/chunks/{model-resolver-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-sjx8sgwr.js → event-logger-w9hz286w.js} +32 -32
- package/dist/chunks/{model-resolver-jbfg7gfk.js → event-logger-wcp0pvg9.js} +40 -40
- package/dist/chunks/{model-resolver-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-84rk7f3f.js → event-logger-whjydms9.js} +39 -39
- package/dist/chunks/{model-resolver-49gs54c4.js → event-logger-wn8hqewz.js} +25 -25
- package/dist/chunks/{model-resolver-tyqkzprt.js → event-logger-wqc6684y.js} +2 -2
- package/dist/chunks/{model-resolver-wq2qj646.js → event-logger-ws6abfst.js} +1 -1
- package/dist/chunks/{model-resolver-zc83q679.js → event-logger-x09vac25.js} +3 -3
- package/dist/chunks/{model-resolver-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-b9swv1kn.js → event-logger-xc3sajb5.js} +34 -34
- package/dist/chunks/{model-resolver-mxq6csbx.js → event-logger-xe37s958.js} +26 -26
- package/dist/chunks/{model-resolver-xfkkasph.js → event-logger-xfkkasph.js} +1 -1
- package/dist/chunks/{model-resolver-yvqgzgm9.js → event-logger-xfqb4thj.js} +12 -12
- package/dist/chunks/{model-resolver-2mjhcg4p.js → event-logger-xg1bq5dx.js} +4 -4
- package/dist/chunks/{model-resolver-8hszhpj7.js → event-logger-xqcbpej0.js} +42 -42
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{model-resolver-tat11k01.js → event-logger-y0mc46pw.js} +9 -9
- package/dist/chunks/{model-resolver-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-a0qc5mea.js → event-logger-y3x14sz7.js} +11 -11
- package/dist/chunks/event-logger-y51nmxxr.js +492 -0
- package/dist/chunks/{model-resolver-pqtm16cx.js → event-logger-y8bg65e2.js} +11 -11
- package/dist/chunks/{model-resolver-f4nqg1rk.js → event-logger-yaa6bn1m.js} +37 -37
- package/dist/chunks/{model-resolver-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-s4enseaf.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-29x78va6.js → event-logger-z63w68vq.js} +6 -6
- package/dist/chunks/{model-resolver-rq775frq.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-4sfv4160.js → event-logger-zh8ae39d.js} +9 -9
- package/dist/chunks/{model-resolver-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-8pp8jf47.js → event-logger-zs2egq8y.js} +2 -2
- package/dist/chunks/{model-resolver-pnc00jwe.js → event-logger-zsbsgkcm.js} +11 -11
- package/dist/chunks/{model-resolver-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-yn096dga.js → event-logger-zxs38eqt.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +0 -4
- package/dist/chunks/model-resolver-bffktq59.js +0 -26
- package/dist/chunks/model-resolver-cyydfs3c.js +0 -252
- package/dist/chunks/model-resolver-dxj72tfx.js +0 -18
- package/dist/chunks/model-resolver-eyk6r27j.js +0 -492
- package/dist/chunks/model-resolver-k87n3mnb.js +0 -65
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info10,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info10, exports_permission };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./event-logger-gz9012ze.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./event-logger-8d1k587k.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service72;
|
|
33
|
+
const bus = yield* Service81;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-k6yq57aq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError8,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
node55
|
|
7
|
+
} from "./event-logger-5sfbvqw6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service53;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node55] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -401,4 +401,4 @@ function update3(adapter, event) {
|
|
|
401
401
|
return project(event);
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export {
|
|
404
|
+
export { update2, exports_message_updater };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./event-logger-gz9012ze.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./event-logger-ejre7x2g.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service19 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const bus = yield* Service81;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service19.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node22 = makeLocationNode({
|
|
168
|
+
service: Service19,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node83, node85]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service19, node22, exports_vcs };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./event-logger-c7a8dyv3.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin35
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin35 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin5 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin35, exports_mcp_codemode_exclusion };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service43
|
|
4
|
+
} from "./event-logger-q3hye7rp.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service43;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin16 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin43, exports_warming };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./event-logger-5y196rt8.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./event-logger-ejre7x2g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./event-logger-q3hye7rp.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./event-logger-nhzac2vt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./event-logger-jjs74g98.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-cxzmmvrx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin14
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin14 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service43;
|
|
43
|
+
const discovery = yield* Service6;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service44;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin36 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin36 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin36 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin36 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin36 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin14, exports_skill };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-gjdnp5j1.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-1xbk51d1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|