@opencode/core 0.0.0-dev-20189 → 0.0.0-dev-20194
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-phbyh0a5.js → reference-0b8npddv.js} +10 -10
- package/dist/chunks/{managed-policy-pz6e2nts.js → reference-0f9b925g.js} +45 -45
- package/dist/chunks/{managed-policy-ptr74we0.js → reference-0gg825j3.js} +3 -3
- package/dist/chunks/{managed-policy-c937fekk.js → reference-0h711vda.js} +39 -39
- package/dist/chunks/{managed-policy-bzgcn0jp.js → reference-0jq9fyba.js} +9 -9
- package/dist/chunks/{managed-policy-9tv440c6.js → reference-0kfypxfq.js} +18 -18
- package/dist/chunks/{managed-policy-de8e9bjw.js → reference-0m9cq689.js} +16 -16
- package/dist/chunks/{managed-policy-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-jdvq2jhf.js → reference-0z2rg4rm.js} +34 -34
- package/dist/chunks/{managed-policy-5eb3a1ca.js → reference-11pm3r9v.js} +12 -12
- package/dist/chunks/{managed-policy-a7pzzedx.js → reference-14794zc1.js} +6 -6
- package/dist/chunks/{managed-policy-qxm4jarf.js → reference-156a9j9s.js} +22 -22
- package/dist/chunks/{managed-policy-1v7cd3cq.js → reference-177cmxdg.js} +18 -18
- package/dist/chunks/{managed-policy-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-q0dv4cw2.js → reference-1f5yd8z2.js} +83 -83
- package/dist/chunks/{managed-policy-9skf8tre.js → reference-1jsptwm6.js} +3 -3
- package/dist/chunks/{managed-policy-w9vp1hvg.js → reference-1qadeb1c.js} +24 -24
- package/dist/chunks/{managed-policy-56gdpj1q.js → reference-1ygqh575.js} +9 -9
- package/dist/chunks/{managed-policy-emh3z3ge.js → reference-1zys84da.js} +11 -11
- package/dist/chunks/{managed-policy-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{managed-policy-xwnkmnyx.js → reference-24mjcg6m.js} +8 -8
- package/dist/chunks/{managed-policy-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-bh832hz7.js → reference-2e6dphxw.js} +9 -9
- package/dist/chunks/{managed-policy-2k8khapm.js → reference-2k8khapm.js} +1 -1
- package/dist/chunks/{managed-policy-7aentnvm.js → reference-2t8jpbpj.js} +12 -12
- package/dist/chunks/{managed-policy-2j13chjm.js → reference-31ywrma3.js} +4 -4
- package/dist/chunks/{managed-policy-a46v4e4v.js → reference-34rkz0x9.js} +7 -7
- package/dist/chunks/{managed-policy-4kzyxb26.js → reference-3b3jy36q.js} +13 -13
- package/dist/chunks/{managed-policy-y206krxg.js → reference-3e8yqhxk.js} +10 -10
- package/dist/chunks/{managed-policy-x8spbnc9.js → reference-3eexfaf4.js} +16 -16
- package/dist/chunks/{managed-policy-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-eexrnx7t.js → reference-3jq6wq7y.js} +3 -3
- package/dist/chunks/{managed-policy-rf9mgppd.js → reference-3s9dhbpg.js} +30 -30
- package/dist/chunks/{managed-policy-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-m4me88d9.js → reference-3sph9hsg.js} +22 -22
- package/dist/chunks/{managed-policy-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-w9s1mhr8.js → reference-3v9eaqqc.js} +11 -11
- package/dist/chunks/{managed-policy-dqrrnxrw.js → reference-3yzf73xp.js} +9 -9
- package/dist/chunks/{managed-policy-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-xvtq9ts9.js → reference-44zaxtg7.js} +22 -22
- package/dist/chunks/{managed-policy-q6e4tnqb.js → reference-4a6kxgsg.js} +6 -6
- package/dist/chunks/{managed-policy-0bzgh1ra.js → reference-4azmnb77.js} +8 -8
- package/dist/chunks/{managed-policy-h9wp8z5w.js → reference-4j4tgtq5.js} +4 -4
- package/dist/chunks/reference-4wvg2h98.js +252 -0
- package/dist/chunks/{managed-policy-yt0fqk68.js → reference-4xz89tjk.js} +5 -5
- package/dist/chunks/{managed-policy-4p6crha5.js → reference-4yner5sa.js} +18 -18
- package/dist/chunks/{managed-policy-63xctefh.js → reference-51f5btjf.js} +6 -6
- package/dist/chunks/{managed-policy-ckecvw8r.js → reference-54tcyq79.js} +2 -2
- package/dist/chunks/{managed-policy-wpc20qgk.js → reference-587j3zfx.js} +10 -10
- package/dist/chunks/{managed-policy-kswh8eer.js → reference-5958cd08.js} +25 -25
- package/dist/chunks/{managed-policy-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-vhrh9n3q.js → reference-5hqxtq21.js} +20 -20
- package/dist/chunks/{managed-policy-xrma4n88.js → reference-5jrh7n3y.js} +9 -9
- package/dist/chunks/reference-5kveh0cp.js +26 -0
- package/dist/chunks/{managed-policy-qsxdxqt3.js → reference-5na37vb4.js} +18 -18
- package/dist/chunks/{managed-policy-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-2f0bjgcj.js → reference-5sj81wm5.js} +5 -5
- package/dist/chunks/{managed-policy-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-aj3jkc19.js → reference-5vyyh9tt.js} +36 -36
- package/dist/chunks/{managed-policy-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-q2kn9tye.js → reference-67f3c5a6.js} +5 -5
- package/dist/chunks/{managed-policy-x6qqf22v.js → reference-6e87vakz.js} +13 -13
- package/dist/chunks/{managed-policy-4s3tx91s.js → reference-6fmnkfnr.js} +24 -24
- package/dist/chunks/{managed-policy-2402vzrj.js → reference-6h73sxmp.js} +5 -5
- package/dist/chunks/{managed-policy-g5kh2xcz.js → reference-6hqe4q59.js} +11 -11
- package/dist/chunks/{managed-policy-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{managed-policy-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-g50vnnvq.js → reference-7vvdj7v1.js} +15 -15
- package/dist/chunks/{managed-policy-d3egrn39.js → reference-7zg2wc6k.js} +43 -43
- package/dist/chunks/{managed-policy-rbnn75vf.js → reference-81bye27z.js} +24 -24
- package/dist/chunks/{managed-policy-91p1v22t.js → reference-8aaqm6qj.js} +8 -8
- package/dist/chunks/{managed-policy-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-qm7jrdpz.js → reference-8ha6ga5e.js} +8 -8
- package/dist/chunks/{managed-policy-2wzvfsyc.js → reference-8pn44ehn.js} +10 -10
- package/dist/chunks/{managed-policy-ys6t246v.js → reference-8rw29dk0.js} +20 -20
- package/dist/chunks/{managed-policy-gcavn3wx.js → reference-8ryk0bb9.js} +5 -5
- package/dist/chunks/{managed-policy-2a1w5wq2.js → reference-8vsk6s2a.js} +21 -21
- package/dist/chunks/{managed-policy-c4rjy2bg.js → reference-96p72y45.js} +11 -11
- package/dist/chunks/{managed-policy-mex4hcth.js → reference-9j56qjm9.js} +11 -11
- package/dist/chunks/{managed-policy-fhqgg6b3.js → reference-9m59q143.js} +15 -15
- package/dist/chunks/{managed-policy-0mm9aq32.js → reference-9qb76avw.js} +16 -16
- package/dist/chunks/{managed-policy-jwp2njjg.js → reference-9qs04gms.js} +25 -25
- package/dist/chunks/{managed-policy-vmgq4x8b.js → reference-a3r4dcrj.js} +2 -2
- package/dist/chunks/{managed-policy-x4jf395z.js → reference-a6fdbjg5.js} +11 -11
- package/dist/chunks/{managed-policy-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-zfdpneax.js → reference-afq9djet.js} +20 -20
- package/dist/chunks/{managed-policy-y5dxb9zm.js → reference-aqeafnz7.js} +11 -11
- package/dist/chunks/{managed-policy-f45ayqgj.js → reference-as35gwv2.js} +13 -13
- package/dist/chunks/{managed-policy-z59mzw5n.js → reference-avbsach8.js} +20 -20
- package/dist/chunks/{managed-policy-1hwmn15w.js → reference-axd321tm.js} +2 -2
- package/dist/chunks/{managed-policy-v3r6wrax.js → reference-b15rjjj6.js} +24 -24
- package/dist/chunks/{managed-policy-mvksx64m.js → reference-b2a4mx33.js} +4 -4
- package/dist/chunks/{managed-policy-j2g94gkj.js → reference-b4tbyby1.js} +33 -33
- package/dist/chunks/{managed-policy-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-79zjhypg.js → reference-ba38qkz5.js} +7 -7
- package/dist/chunks/{managed-policy-jbjr1a4g.js → reference-bdqrk2vk.js} +6 -6
- package/dist/chunks/{managed-policy-vf8ekb55.js → reference-be7pa3qf.js} +8 -8
- package/dist/chunks/{managed-policy-qsy7t4zk.js → reference-bf7x6yrd.js} +27 -27
- package/dist/chunks/{managed-policy-ng9vjhd1.js → reference-bg7sr6g1.js} +5 -5
- package/dist/chunks/{managed-policy-c2xmwhf7.js → reference-bhvqvkry.js} +12 -12
- package/dist/chunks/{managed-policy-z07pqspn.js → reference-bjtzbw4r.js} +3 -3
- package/dist/chunks/{managed-policy-tky0bhmc.js → reference-bk2c8kx1.js} +10 -10
- package/dist/chunks/{managed-policy-wgkrnqac.js → reference-bkyy3065.js} +38 -38
- package/dist/chunks/{managed-policy-07770t2t.js → reference-bqszwq89.js} +4 -4
- package/dist/chunks/{managed-policy-afjydgk3.js → reference-bsqx64w4.js} +4 -4
- package/dist/chunks/{managed-policy-7fpb7792.js → reference-c35p20hr.js} +18 -18
- package/dist/chunks/{managed-policy-6n9z0a9w.js → reference-c4989wfm.js} +14 -14
- package/dist/chunks/{managed-policy-4k2rghe9.js → reference-cab88dx5.js} +21 -21
- package/dist/chunks/{managed-policy-ztfr3gj5.js → reference-chweyq95.js} +6 -6
- package/dist/chunks/{managed-policy-rph3zd4r.js → reference-cpy6gm2a.js} +6 -6
- package/dist/chunks/{managed-policy-vjnw2173.js → reference-cyww2hg1.js} +8 -8
- package/dist/chunks/{managed-policy-mvcs6n85.js → reference-d7mqv6pa.js} +3 -3
- package/dist/chunks/{managed-policy-57ez7d0k.js → reference-d9s573fh.js} +2 -2
- package/dist/chunks/{managed-policy-zrj27d4v.js → reference-ddg1q8r0.js} +14 -14
- package/dist/chunks/{managed-policy-79qaa2kf.js → reference-djszqvmq.js} +9 -9
- package/dist/chunks/{managed-policy-xkntkrq7.js → reference-dmqcgk4z.js} +5 -5
- package/dist/chunks/{managed-policy-fj1y74vg.js → reference-dv36yjgc.js} +5 -5
- package/dist/chunks/reference-dxj72tfx.js +18 -0
- package/dist/chunks/{managed-policy-heah1624.js → reference-e12g3w7z.js} +16 -16
- package/dist/chunks/{managed-policy-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
- package/dist/chunks/{managed-policy-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-73tb2d7t.js → reference-eq1pz5kg.js} +3 -3
- package/dist/chunks/{managed-policy-65dg9dkc.js → reference-eqy59tqm.js} +23 -23
- package/dist/chunks/{managed-policy-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-sqd39fca.js → reference-f26ddygf.js} +87 -87
- package/dist/chunks/{managed-policy-9cb7xadb.js → reference-f6rweyq9.js} +1 -1
- package/dist/chunks/{managed-policy-8p29yw8h.js → reference-faj6f0em.js} +3 -3
- package/dist/chunks/{managed-policy-fx8ver8w.js → reference-fgbgrse6.js} +5 -5
- package/dist/chunks/{managed-policy-0yzk9hp5.js → reference-fh8xxmnr.js} +1 -1
- package/dist/chunks/{managed-policy-ykqvw6n0.js → reference-fmfggwz4.js} +11 -11
- package/dist/chunks/{managed-policy-az8hvwf1.js → reference-fqjhatxe.js} +33 -33
- package/dist/chunks/{managed-policy-358c23mq.js → reference-fxb44a1q.js} +13 -13
- package/dist/chunks/{managed-policy-4j58h7ky.js → reference-fxpk8e1k.js} +43 -43
- package/dist/chunks/{managed-policy-xfz6p364.js → reference-fydrzrkb.js} +11 -11
- package/dist/chunks/{managed-policy-5x0vc0vb.js → reference-fzts1kpm.js} +11 -11
- package/dist/chunks/{managed-policy-wec12kcc.js → reference-g4x6f0m8.js} +15 -15
- package/dist/chunks/{managed-policy-3pe7sts8.js → reference-g74mfj6n.js} +9 -9
- package/dist/chunks/{managed-policy-tx9w5tca.js → reference-gbtx73hb.js} +8 -8
- package/dist/chunks/{managed-policy-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-94ek1h2f.js → reference-gfvb90ym.js} +2 -2
- package/dist/chunks/{managed-policy-qwjtejvm.js → reference-h3h6bw0z.js} +23 -23
- package/dist/chunks/{managed-policy-4dgbcxzg.js → reference-h6r3nrb9.js} +4 -4
- package/dist/chunks/{managed-policy-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-rk7s9xkn.js → reference-h9pnpq88.js} +4 -4
- package/dist/chunks/{managed-policy-ayny3xs7.js → reference-hkcbg3z4.js} +7 -7
- package/dist/chunks/{managed-policy-magd1yzt.js → reference-hmmwrfz7.js} +4 -4
- package/dist/chunks/{managed-policy-j57veafx.js → reference-hs32c6fx.js} +8 -8
- package/dist/chunks/{managed-policy-s1beqvy1.js → reference-htqg6e4e.js} +13 -13
- package/dist/chunks/{managed-policy-cgz7622g.js → reference-hxg08g5j.js} +15 -15
- package/dist/chunks/{managed-policy-pq9y5n5m.js → reference-hz0q9sdq.js} +8 -8
- package/dist/chunks/{managed-policy-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-5cmxdwv8.js → reference-jexxy024.js} +3 -3
- package/dist/chunks/{managed-policy-rgtsr3hh.js → reference-jkcb4v42.js} +13 -13
- package/dist/chunks/{managed-policy-mgphmkeb.js → reference-jm5a5pey.js} +20 -20
- package/dist/chunks/{managed-policy-yv320rcs.js → reference-jqcdp112.js} +21 -21
- package/dist/chunks/{managed-policy-m70sbz6t.js → reference-jvf3yq6v.js} +4 -4
- package/dist/chunks/reference-jxxs5s4h.js +511 -0
- package/dist/chunks/{managed-policy-nzks3jc8.js → reference-k3c624dm.js} +3 -3
- package/dist/chunks/{managed-policy-1be6dza8.js → reference-kb3wdknj.js} +6 -6
- package/dist/chunks/{managed-policy-77j23m7r.js → reference-kgajg4t2.js} +8 -8
- package/dist/chunks/{managed-policy-zy79aer6.js → reference-knx0mxy4.js} +15 -15
- package/dist/chunks/{managed-policy-nftbrb0j.js → reference-krnctd4r.js} +16 -16
- package/dist/chunks/{managed-policy-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-6m48a2t7.js → reference-m655g54e.js} +5 -5
- package/dist/chunks/{managed-policy-8q6wx5qs.js → reference-m77p9bps.js} +16 -16
- package/dist/chunks/{managed-policy-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-h2vwxax4.js → reference-ma2yn7zc.js} +33 -33
- package/dist/chunks/{managed-policy-j6mhcfxe.js → reference-mev7xm92.js} +26 -26
- package/dist/chunks/{managed-policy-axmvebxj.js → reference-mjymc32g.js} +21 -21
- package/dist/chunks/{managed-policy-fdbr74vy.js → reference-mnkndwyg.js} +10 -10
- package/dist/chunks/{managed-policy-jaj4szq5.js → reference-n11m6crk.js} +35 -35
- package/dist/chunks/{managed-policy-n936hzck.js → reference-n2bd736z.js} +68 -68
- package/dist/chunks/{managed-policy-58fdabks.js → reference-nc0myf7t.js} +11 -11
- package/dist/chunks/{managed-policy-naww4dxg.js → reference-nezp3nh3.js} +20 -20
- package/dist/chunks/{managed-policy-vvnwfe3a.js → reference-ngffvtk2.js} +18 -18
- package/dist/chunks/{managed-policy-dzh8x6fa.js → reference-nqw1h68k.js} +13 -13
- package/dist/chunks/{managed-policy-kskqm6d2.js → reference-nrc70r1t.js} +50 -50
- package/dist/chunks/{managed-policy-w6gh42p5.js → reference-nx90x7kt.js} +18 -18
- package/dist/chunks/{managed-policy-6f890ccd.js → reference-p37cw4rj.js} +8 -8
- package/dist/chunks/{managed-policy-mbt0r9ns.js → reference-p9g6edyn.js} +11 -11
- package/dist/chunks/{managed-policy-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-etgjzd5h.js → reference-pk3z8zwb.js} +7 -7
- package/dist/chunks/{managed-policy-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-rdjy4bhh.js → reference-pmjz3wtp.js} +27 -27
- package/dist/chunks/{managed-policy-3ewed21c.js → reference-pmwpe40e.js} +4 -4
- package/dist/chunks/{managed-policy-h8jhh88t.js → reference-pnde1qtn.js} +6 -6
- package/dist/chunks/{managed-policy-ax4vhxp3.js → reference-pntwmbjc.js} +22 -22
- package/dist/chunks/{managed-policy-1v8reh4w.js → reference-ps6kahe0.js} +3 -3
- package/dist/chunks/{managed-policy-wd3x2cqz.js → reference-psazpmmj.js} +2 -2
- package/dist/chunks/{managed-policy-50dag6g8.js → reference-pwehtxr6.js} +30 -30
- package/dist/chunks/{managed-policy-7fkffz83.js → reference-py3kkmfq.js} +4 -4
- package/dist/chunks/{managed-policy-fzg6ycaf.js → reference-q2s2wz1h.js} +5 -5
- package/dist/chunks/{managed-policy-xxbzqkxw.js → reference-q6cph699.js} +24 -24
- package/dist/chunks/{managed-policy-33xvpn5s.js → reference-q72jbytn.js} +4 -4
- package/dist/chunks/{managed-policy-n02pcqqr.js → reference-qb1aeqnr.js} +26 -26
- package/dist/chunks/{managed-policy-b7b4ctej.js → reference-qdbakdjh.js} +5 -5
- package/dist/chunks/{managed-policy-r9gspksd.js → reference-qevex4z1.js} +31 -31
- package/dist/chunks/{managed-policy-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-kjxkk3w4.js → reference-qwkdrh69.js} +26 -26
- package/dist/chunks/{managed-policy-bxdgsfjb.js → reference-r4453y51.js} +52 -52
- package/dist/chunks/{managed-policy-ks8ntyh3.js → reference-r9e31c0d.js} +23 -23
- package/dist/chunks/{managed-policy-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-x4frdbx5.js → reference-rer9h1m0.js} +16 -16
- package/dist/chunks/{managed-policy-zeh9ct20.js → reference-rq775frq.js} +2 -2
- package/dist/chunks/{managed-policy-cvb5keb3.js → reference-rr9dycgk.js} +7 -7
- package/dist/chunks/{managed-policy-41bs2fpb.js → reference-rxyp0enr.js} +172 -172
- package/dist/chunks/{managed-policy-0ckwnra1.js → reference-s31h5w29.js} +28 -28
- package/dist/chunks/{managed-policy-1ztyjhqq.js → reference-s3adcg6q.js} +24 -24
- package/dist/chunks/{managed-policy-nakmx0qk.js → reference-sc1tzy0m.js} +10 -10
- package/dist/chunks/{managed-policy-n986xf23.js → reference-se4rjrwe.js} +9 -9
- package/dist/chunks/{managed-policy-3b9qt4hj.js → reference-sqmzwr9m.js} +9 -9
- package/dist/chunks/{managed-policy-97fxhqfr.js → reference-ssrktsty.js} +18 -18
- package/dist/chunks/{managed-policy-0tgsh6wb.js → reference-sv8w0sp0.js} +3 -3
- package/dist/chunks/{managed-policy-r98e92ep.js → reference-sx1n432n.js} +4 -4
- package/dist/chunks/{managed-policy-xyzj08bz.js → reference-t265p2pq.js} +4 -4
- package/dist/chunks/{managed-policy-7tc1349b.js → reference-t2j5vcca.js} +17 -17
- package/dist/chunks/{managed-policy-52kry9ag.js → reference-t4btr8yn.js} +25 -25
- package/dist/chunks/{managed-policy-0wqwwdc3.js → reference-t4m9kaws.js} +48 -48
- package/dist/chunks/{managed-policy-rhjbct0v.js → reference-t550f9t1.js} +4 -4
- package/dist/chunks/{managed-policy-t79whn4w.js → reference-t7y3dpm9.js} +24 -24
- package/dist/chunks/{managed-policy-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-3xphndqd.js → reference-td3sphkw.js} +13 -13
- package/dist/chunks/{managed-policy-3gapn5nw.js → reference-tdkwvqdy.js} +32 -32
- package/dist/chunks/{managed-policy-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-dq0v80fr.js → reference-tgcnk5sw.js} +5 -5
- package/dist/chunks/{managed-policy-2863ew87.js → reference-thddb0yg.js} +29 -29
- package/dist/chunks/{managed-policy-pw638tag.js → reference-thjmag0n.js} +16 -16
- package/dist/chunks/{managed-policy-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{managed-policy-z4s7g43y.js → reference-v1h7jmyp.js} +1 -1
- package/dist/chunks/{managed-policy-hnr5yq9h.js → reference-v5hpcsb0.js} +5 -5
- package/dist/chunks/{managed-policy-f32czd11.js → reference-v8nsmxgn.js} +11 -11
- package/dist/chunks/{managed-policy-eyftq924.js → reference-v9cwmph0.js} +23 -23
- package/dist/chunks/{managed-policy-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-6qyvmb4v.js → reference-vgr5e0ea.js} +5 -5
- package/dist/chunks/{managed-policy-80m7jm0y.js → reference-vhfvd2jp.js} +20 -20
- package/dist/chunks/{managed-policy-4sas3krp.js → reference-vvfvm01x.js} +14 -14
- package/dist/chunks/{managed-policy-sqy6emsh.js → reference-vwfyqj1a.js} +15 -15
- package/dist/chunks/{managed-policy-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-1jb4d023.js → reference-w6yg8354.js} +11 -11
- package/dist/chunks/{managed-policy-a4rc8qx2.js → reference-wbrq6ka8.js} +4 -4
- package/dist/chunks/{managed-policy-n6x86dnt.js → reference-wd5k3756.js} +19 -19
- package/dist/chunks/{managed-policy-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-ybaxr0a6.js → reference-wnys78fq.js} +6 -6
- package/dist/chunks/{managed-policy-rswb1apg.js → reference-wqkzg7sy.js} +11 -11
- package/dist/chunks/{managed-policy-vd1xt34m.js → reference-ws016w0z.js} +3 -3
- package/dist/chunks/{managed-policy-e6ztxka3.js → reference-wsrgfmp7.js} +23 -23
- package/dist/chunks/{managed-policy-q8h29z87.js → reference-ww5pdtvn.js} +27 -27
- package/dist/chunks/{managed-policy-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{managed-policy-fhn4dbfy.js → reference-x5rq2qdm.js} +43 -43
- package/dist/chunks/{managed-policy-xc934jfm.js → reference-x5xe0bd0.js} +35 -35
- package/dist/chunks/{managed-policy-qqeeq2t9.js → reference-xfkkasph.js} +7 -7
- package/dist/chunks/{managed-policy-779bqasr.js → reference-xg0dkexn.js} +16 -16
- package/dist/chunks/{managed-policy-te5pspps.js → reference-xkxsh21d.js} +4 -4
- package/dist/chunks/{managed-policy-5rt30t11.js → reference-xp3d2160.js} +18 -18
- package/dist/chunks/{managed-policy-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-gc2hdxyk.js → reference-y2r3h4fb.js} +15 -15
- package/dist/chunks/{managed-policy-43wm6kz7.js → reference-y560y7p4.js} +26 -26
- package/dist/chunks/{managed-policy-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{managed-policy-bvtf22kj.js → reference-ybhbtxjg.js} +9 -9
- package/dist/chunks/{managed-policy-9g951eg1.js → reference-yead9t7b.js} +6 -6
- package/dist/chunks/{managed-policy-sdk1fzq5.js → reference-yf72js65.js} +11 -11
- package/dist/chunks/{managed-policy-4zak5cvq.js → reference-yfxpx2t9.js} +9 -9
- package/dist/chunks/{managed-policy-cbqhpk3g.js → reference-yfz2gavf.js} +5 -5
- package/dist/chunks/{managed-policy-fz9j70nw.js → reference-yjvnj1zk.js} +11 -11
- package/dist/chunks/{managed-policy-9qm1sam9.js → reference-ykprmxnv.js} +2 -2
- package/dist/chunks/{managed-policy-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
- package/dist/chunks/{managed-policy-zbhhzgj6.js → reference-ypd49sxc.js} +11 -11
- package/dist/chunks/{managed-policy-0a1eevr3.js → reference-ypp73q3k.js} +23 -23
- package/dist/chunks/{managed-policy-7yrswys2.js → reference-yqa20cga.js} +34 -34
- package/dist/chunks/{managed-policy-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{managed-policy-s4enseaf.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{managed-policy-st5dzq7x.js → reference-ysh0bc3c.js} +10 -10
- package/dist/chunks/{managed-policy-m1pdnfay.js → reference-yw63brvc.js} +15 -15
- package/dist/chunks/{managed-policy-jf81njd6.js → reference-yws4pbzc.js} +34 -34
- package/dist/chunks/{managed-policy-gv6a8nnw.js → reference-yyb7tjpc.js} +2 -2
- package/dist/chunks/{managed-policy-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-yr68hvap.js → reference-z4470vjq.js} +26 -26
- package/dist/chunks/{managed-policy-29x78va6.js → reference-z63w68vq.js} +6 -6
- package/dist/chunks/{managed-policy-ayb2ep33.js → reference-z98sedxz.js} +3 -3
- package/dist/chunks/{managed-policy-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-7rcm28ha.js → reference-zvteq2sz.js} +37 -37
- package/dist/chunks/{managed-policy-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +94 -94
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/managed-policy-45th5jwr.js +0 -18
- package/dist/chunks/managed-policy-hxyc6rm4.js +0 -26
- package/dist/chunks/managed-policy-hybrcz9k.js +0 -252
- package/dist/chunks/managed-policy-j1j7mnwh.js +0 -511
- /package/dist/chunks/{managed-policy-0mesazry.js → reference-0mesazry.js} +0 -0
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-tgcnk5sw.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-faj6f0em.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-31ywrma3.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-psazpmmj.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-gfvb90ym.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-kgajg4t2.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-axd321tm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service59,
|
|
34
|
+
node61
|
|
35
|
+
} from "./reference-2e6dphxw.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./reference-yyb7tjpc.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./reference-wnys78fq.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service25
|
|
45
|
+
} from "./reference-krnctd4r.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./reference-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event7,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service24,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node27
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event7 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service24 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service59;
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service25).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service24.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node27 = Node.makeGlobalNode({
|
|
265
|
+
service: Service24,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node86, node87, node88, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node61]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service24, node27, exports_worktree2, OperationError2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-31ywrma3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-axd321tm.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service68,
|
|
14
|
+
node70
|
|
15
|
+
} from "./reference-thjmag0n.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service68;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-eqy59tqm.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-ww5pdtvn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./reference-8vsk6s2a.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service19 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service73;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service19.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [node76, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./reference-8vsk6s2a.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-ngffvtk2.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service73;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node76] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./reference-nx90x7kt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./reference-r4453y51.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service21
|
|
14
|
+
} from "./reference-t4btr8yn.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin42,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin42 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
|
+
const websearch = yield* Service21;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name5, NO_RESULTS2, description2, Input5, Plugin42, exports_websearch2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-jexxy024.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-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: () => NotFoundError9,
|
|
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 NotFoundError9 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 { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-t265p2pq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make9, exports_retry };
|