@opencode/core 0.0.0-dev-20393 → 0.0.0-dev-20397
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 +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{mime-msy2rgsh.js → snapshot-043b8jmc.js} +13 -13
- package/dist/chunks/{mime-ve9ezft4.js → snapshot-07sbefbg.js} +15 -15
- package/dist/chunks/{mime-y57d52xy.js → snapshot-09dx82ap.js} +15 -15
- package/dist/chunks/{mime-w9240f5c.js → snapshot-0aw1xztx.js} +46 -46
- package/dist/chunks/{mime-5anqqasm.js → snapshot-0cz9evgw.js} +4 -4
- package/dist/chunks/{mime-p6mf65cc.js → snapshot-0dtbrg7g.js} +5 -5
- package/dist/chunks/{mime-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-5h9rbjnk.js → snapshot-0td4cz49.js} +3 -3
- package/dist/chunks/{mime-t9zs3egg.js → snapshot-0v53mg2y.js} +4 -4
- package/dist/chunks/{mime-23g4r3va.js → snapshot-0zn0kjyp.js} +17 -17
- package/dist/chunks/{mime-rbwnvwzh.js → snapshot-152bgcwg.js} +30 -30
- package/dist/chunks/{mime-0j93mhnt.js → snapshot-19yc5jyw.js} +8 -8
- package/dist/chunks/{mime-88navb5x.js → snapshot-1ayffp7r.js} +5 -5
- package/dist/chunks/{mime-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-hvnby5xe.js → snapshot-1jds0x1c.js} +11 -11
- package/dist/chunks/{mime-he57e8mw.js → snapshot-1maxcqmc.js} +23 -23
- package/dist/chunks/{mime-9jb3rc6z.js → snapshot-1me4e2bc.js} +15 -15
- package/dist/chunks/{mime-vps92m75.js → snapshot-1rh4yqvv.js} +9 -9
- package/dist/chunks/{mime-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
- package/dist/chunks/{mime-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{mime-m5sjgbag.js → snapshot-22mj29h5.js} +13 -13
- package/dist/chunks/{mime-358k9xws.js → snapshot-26j5hc29.js} +33 -33
- package/dist/chunks/{mime-sv1gstgh.js → snapshot-27j20s2s.js} +22 -22
- package/dist/chunks/{mime-ns9jctd6.js → snapshot-284ar0kx.js} +26 -26
- package/dist/chunks/{mime-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{mime-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-qgn6gcr1.js → snapshot-2k8khapm.js} +5 -5
- package/dist/chunks/{mime-0qdzfzxk.js → snapshot-2zf1cg0m.js} +5 -5
- package/dist/chunks/{mime-zmg70wsx.js → snapshot-316ce7zz.js} +18 -18
- package/dist/chunks/{mime-0czrhqsb.js → snapshot-35ffvvnr.js} +6 -6
- package/dist/chunks/{mime-7fn7d9n4.js → snapshot-36p16jwq.js} +6 -6
- package/dist/chunks/{mime-fznk35sy.js → snapshot-3f66xjad.js} +39 -39
- package/dist/chunks/{mime-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-dwhvgp4n.js → snapshot-3gvbhe7n.js} +12 -12
- package/dist/chunks/{mime-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-n1653fzn.js → snapshot-3kftmf95.js} +25 -25
- package/dist/chunks/{mime-7erv94d8.js → snapshot-3nnasa8h.js} +9 -9
- package/dist/chunks/{mime-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-zpcwkct1.js → snapshot-3vyd6h80.js} +4 -4
- package/dist/chunks/{mime-4aghrqms.js → snapshot-3vypprt0.js} +22 -22
- package/dist/chunks/{mime-evbgk2k8.js → snapshot-3w2b2yj4.js} +5 -5
- package/dist/chunks/{mime-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-xyzcznm8.js → snapshot-40vnhj6t.js} +13 -13
- package/dist/chunks/{mime-eg7hgdws.js → snapshot-41wvazb7.js} +35 -35
- package/dist/chunks/{mime-3pbjq009.js → snapshot-49w8mb30.js} +11 -11
- package/dist/chunks/{mime-7b34ea7d.js → snapshot-49z3e3xs.js} +13 -13
- package/dist/chunks/{mime-f502d9mk.js → snapshot-4asdasf1.js} +23 -23
- package/dist/chunks/{mime-a70nmnzh.js → snapshot-4gj1at3e.js} +17 -17
- package/dist/chunks/{mime-909p1r3q.js → snapshot-4mwpykj0.js} +6 -6
- package/dist/chunks/{mime-cm1dq7vh.js → snapshot-4qfzqxz8.js} +14 -14
- package/dist/chunks/{mime-c3swec1a.js → snapshot-4t7rh4ap.js} +18 -18
- package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
- package/dist/chunks/{mime-ybf8remy.js → snapshot-4vhm1j57.js} +23 -23
- package/dist/chunks/{mime-gfdgk92a.js → snapshot-50h1eett.js} +3 -3
- package/dist/chunks/{mime-hnr5yq9h.js → snapshot-510m7gjw.js} +5 -5
- package/dist/chunks/{mime-xm7se6xx.js → snapshot-51eqdrz1.js} +22 -22
- package/dist/chunks/{mime-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-jeapb223.js → snapshot-54whtckx.js} +329 -329
- package/dist/chunks/{mime-akhct6dk.js → snapshot-5768agz8.js} +178 -178
- package/dist/chunks/{mime-57ez7d0k.js → snapshot-57ez7d0k.js} +2 -2
- package/dist/chunks/{mime-e2s3qw3n.js → snapshot-5d7szfme.js} +45 -45
- package/dist/chunks/{mime-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-jf35p79e.js → snapshot-5g9cra57.js} +11 -11
- package/dist/chunks/{mime-qvc4myq7.js → snapshot-5ga8gx0r.js} +36 -36
- package/dist/chunks/{mime-9k8khh75.js → snapshot-5ngaw42y.js} +9 -9
- package/dist/chunks/{mime-81qjtn11.js → snapshot-5r8gz6ch.js} +14 -14
- package/dist/chunks/{mime-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-5xpznt2d.js → snapshot-5xpznt2d.js} +4 -4
- package/dist/chunks/{mime-bhr83ndh.js → snapshot-6053qjfn.js} +30 -30
- package/dist/chunks/{mime-99ra6rqj.js → snapshot-62svdpq9.js} +13 -13
- package/dist/chunks/{mime-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{mime-kjrtwbw3.js → snapshot-6b427hxb.js} +23 -23
- package/dist/chunks/{mime-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-7st4gwze.js → snapshot-6rxkb1t6.js} +8 -8
- package/dist/chunks/{mime-v27fpk8w.js → snapshot-75bnt70h.js} +20 -20
- package/dist/chunks/{mime-nv7vmh1y.js → snapshot-79v4fztp.js} +27 -27
- package/dist/chunks/{mime-z7at6nk5.js → snapshot-7a36j1ta.js} +11 -11
- package/dist/chunks/{mime-v5wqe57t.js → snapshot-7a61m52j.js} +9 -9
- package/dist/chunks/{mime-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-67h83v8z.js → snapshot-7j2sq87m.js} +28 -28
- package/dist/chunks/{mime-fcacqew5.js → snapshot-7nbv2x26.js} +14 -14
- package/dist/chunks/{mime-273t9hh8.js → snapshot-80xs58hn.js} +8 -8
- package/dist/chunks/{mime-7bsvt23f.js → snapshot-814r7t0m.js} +27 -27
- package/dist/chunks/{mime-w1eejvng.js → snapshot-84txncab.js} +5 -5
- package/dist/chunks/{mime-psg0frg4.js → snapshot-89zefzxw.js} +14 -14
- package/dist/chunks/{mime-5bf5dgsk.js → snapshot-8c40j54z.js} +16 -16
- package/dist/chunks/{mime-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/snapshot-8n1b7jj6.js +252 -0
- package/dist/chunks/{mime-am2zpr9s.js → snapshot-8ngsk90k.js} +10 -10
- package/dist/chunks/{mime-n5v3de6n.js → snapshot-8p038cpw.js} +15 -15
- package/dist/chunks/{mime-89bb6baa.js → snapshot-8s1fj8xg.js} +8 -8
- package/dist/chunks/{mime-ptvmqjgg.js → snapshot-8ttbyern.js} +5 -5
- package/dist/chunks/{mime-46s1n5mw.js → snapshot-8w929ddg.js} +18 -18
- package/dist/chunks/{mime-74t4jwhn.js → snapshot-8xyzaf4c.js} +13 -13
- package/dist/chunks/{mime-aj9wrhbp.js → snapshot-91qsytyh.js} +9 -9
- package/dist/chunks/{mime-xxynqx5z.js → snapshot-93hpb89x.js} +3 -3
- package/dist/chunks/{mime-94ek1h2f.js → snapshot-94ek1h2f.js} +2 -2
- package/dist/chunks/{mime-pwa5kwbs.js → snapshot-98pm09xw.js} +17 -17
- package/dist/chunks/{mime-y9xvf0be.js → snapshot-9btp0wgx.js} +18 -18
- package/dist/chunks/{mime-4vz2qtz6.js → snapshot-9e1qne40.js} +32 -32
- package/dist/chunks/{mime-p42hj8p8.js → snapshot-9hn6k4tm.js} +8 -8
- package/dist/chunks/{mime-fbhxxfyt.js → snapshot-9s1nteyj.js} +26 -26
- package/dist/chunks/{mime-mvfsc1pv.js → snapshot-a1gpj94z.js} +3 -3
- package/dist/chunks/{mime-7w3ydhtt.js → snapshot-a2stqqyr.js} +3 -3
- package/dist/chunks/{mime-x2py03wj.js → snapshot-a634wwcc.js} +4 -4
- package/dist/chunks/{mime-n7syd17k.js → snapshot-a9mvht4x.js} +25 -25
- package/dist/chunks/{mime-yvwv9m92.js → snapshot-aaa8vv05.js} +16 -16
- package/dist/chunks/{mime-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-6ecqnzwj.js → snapshot-ajwegkqv.js} +32 -32
- package/dist/chunks/{mime-v5dkyp31.js → snapshot-b27vhd2z.js} +4 -4
- package/dist/chunks/{mime-b4twkq7r.js → snapshot-b4twkq7r.js} +2 -2
- package/dist/chunks/{mime-bqcvb6f3.js → snapshot-b68k1fjk.js} +8 -8
- package/dist/chunks/{mime-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-xbq57sr8.js → snapshot-b72deqvz.js} +48 -48
- package/dist/chunks/{mime-ama2bat5.js → snapshot-bbewqfp5.js} +20 -20
- package/dist/chunks/{mime-ky3seynh.js → snapshot-be40ghdv.js} +2 -2
- package/dist/chunks/{mime-gmkrgdn0.js → snapshot-be6z6n5p.js} +11 -11
- package/dist/chunks/{mime-b6q4wftx.js → snapshot-bq7xdv31.js} +24 -24
- package/dist/chunks/{mime-0b2e6j34.js → snapshot-bt7w8xbn.js} +20 -20
- package/dist/chunks/{mime-kcfw7csr.js → snapshot-bx8mrgdk.js} +5 -5
- package/dist/chunks/{mime-m8yq9q72.js → snapshot-cg6e4qvp.js} +9 -9
- package/dist/chunks/{mime-ckecvw8r.js → snapshot-ckecvw8r.js} +2 -2
- package/dist/chunks/{mime-5qkxfyep.js → snapshot-cmbqfntm.js} +6 -6
- package/dist/chunks/{mime-za7yn6by.js → snapshot-cndcjvqj.js} +38 -38
- package/dist/chunks/{mime-tct4sm9h.js → snapshot-ctpwagsm.js} +10 -10
- package/dist/chunks/{mime-nxhqveyz.js → snapshot-d2aac7k2.js} +5 -5
- package/dist/chunks/{mime-3xqprepe.js → snapshot-dh7fttfm.js} +12 -12
- package/dist/chunks/{mime-cwa6csj7.js → snapshot-djszqvmq.js} +9 -9
- package/dist/chunks/{mime-xkntkrq7.js → snapshot-dmqcgk4z.js} +5 -5
- package/dist/chunks/{mime-mpk0rfs5.js → snapshot-dnxkq42g.js} +4 -4
- package/dist/chunks/{mime-xej7w1hz.js → snapshot-dtsstbtj.js} +33 -33
- package/dist/chunks/{mime-ytkgah7c.js → snapshot-dvmx0296.js} +5 -5
- package/dist/chunks/{mime-npm9dbmd.js → snapshot-dz0rf8v5.js} +29 -29
- package/dist/chunks/{mime-vws0mh8y.js → snapshot-e0ceaeyx.js} +7 -7
- package/dist/chunks/{mime-2mp3mppm.js → snapshot-e0mh0qs5.js} +19 -19
- package/dist/chunks/{mime-2735jr6x.js → snapshot-e30mydyk.js} +12 -12
- package/dist/chunks/{mime-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{mime-wdy2r7yw.js → snapshot-eaarnncb.js} +15 -15
- package/dist/chunks/{mime-6609w7ea.js → snapshot-ed6w8k85.js} +35 -35
- package/dist/chunks/{mime-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-37v1eyhb.js → snapshot-eskx6s4t.js} +35 -35
- package/dist/chunks/{mime-g2rwenqd.js → snapshot-etjd6qr8.js} +11 -11
- package/dist/chunks/{mime-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-hmeqr42r.js → snapshot-ey2qf0wj.js} +48 -48
- package/dist/chunks/{mime-6v857xcd.js → snapshot-fekt7vvr.js} +17 -17
- package/dist/chunks/{mime-34yg2f8r.js → snapshot-fk6v6yp5.js} +27 -27
- package/dist/chunks/{mime-1fw2a5v8.js → snapshot-fqq9xsk7.js} +13 -13
- package/dist/chunks/{mime-f5gy8qwh.js → snapshot-fw2v9256.js} +8 -8
- package/dist/chunks/{mime-5xa07e5v.js → snapshot-fza3nsvy.js} +37 -37
- package/dist/chunks/{mime-kjt0hna9.js → snapshot-fzw1xykq.js} +38 -38
- package/dist/chunks/{mime-k3x97e16.js → snapshot-g31myzr9.js} +12 -12
- package/dist/chunks/{mime-g5w8qwbj.js → snapshot-g5w8qwbj.js} +1 -1
- package/dist/chunks/{mime-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-49q3m3qv.js → snapshot-gf3ncq70.js} +11 -11
- package/dist/chunks/{mime-rmk2c50f.js → snapshot-gfhhve88.js} +5 -5
- package/dist/chunks/{mime-z5wgdwfs.js → snapshot-gpqtbvrs.js} +33 -33
- package/dist/chunks/{mime-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-1wa534rs.js → snapshot-gvdtgxnw.js} +25 -25
- package/dist/chunks/{mime-gk21fmqr.js → snapshot-h4q8tfed.js} +6 -6
- package/dist/chunks/{mime-knevfgda.js → snapshot-h6310vsd.js} +4 -4
- package/dist/chunks/{mime-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-f29mbr7f.js → snapshot-h9wp8z5w.js} +4 -4
- package/dist/chunks/{mime-kkq0ewjq.js → snapshot-hbey94jb.js} +9 -9
- package/dist/chunks/{mime-v8ftz6x4.js → snapshot-hd8sdafz.js} +28 -28
- package/dist/chunks/{mime-brskvj7t.js → snapshot-hrcmt3m6.js} +3 -3
- package/dist/chunks/{mime-ae1n2vcd.js → snapshot-hsv2efhq.js} +4 -4
- package/dist/chunks/{mime-h6nje0xe.js → snapshot-j3ss35a9.js} +32 -32
- package/dist/chunks/{mime-z8fpd02g.js → snapshot-j4k4fmtd.js} +8 -8
- package/dist/chunks/{mime-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-rfvg1fny.js → snapshot-jd7tpdv6.js} +22 -22
- package/dist/chunks/{mime-a5zqc5k5.js → snapshot-jk8em1h8.js} +62 -62
- package/dist/chunks/{mime-a4vyvdaw.js → snapshot-jnh5bw3x.js} +44 -44
- package/dist/chunks/{mime-hc60ef2e.js → snapshot-jxqj1pxj.js} +24 -24
- package/dist/chunks/{mime-ndmtxqj7.js → snapshot-jy3q8cv1.js} +11 -11
- package/dist/chunks/{mime-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
- package/dist/chunks/{mime-fsh9jmhz.js → snapshot-kp95tmt8.js} +11 -11
- package/dist/chunks/{mime-gyn306pg.js → snapshot-kpt54jka.js} +24 -24
- package/dist/chunks/{mime-ba2xj7kr.js → snapshot-krfbp5s5.js} +13 -13
- package/dist/chunks/{mime-0k4k1txe.js → snapshot-ky8wwzrv.js} +22 -22
- package/dist/chunks/{mime-czh3ewfp.js → snapshot-m09x4zgs.js} +3 -3
- package/dist/chunks/{mime-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-m58kmhef.js → snapshot-m58kmhef.js} +2 -2
- package/dist/chunks/{mime-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-42x3169a.js → snapshot-mdzxpjrf.js} +31 -31
- package/dist/chunks/{mime-vt6zkvw9.js → snapshot-mfrzaj7b.js} +13 -13
- package/dist/chunks/{mime-ra7reznk.js → snapshot-mgg2v3xv.js} +42 -42
- package/dist/chunks/{mime-bqds8fwq.js → snapshot-mkqsqhtw.js} +24 -24
- package/dist/chunks/snapshot-mxeyzb01.js +26 -0
- package/dist/chunks/{mime-ep28x8fd.js → snapshot-n0w21gj8.js} +5 -5
- package/dist/chunks/{mime-68b7s2z5.js → snapshot-n5g04frr.js} +26 -26
- package/dist/chunks/{mime-bpbzmbw3.js → snapshot-nfj3m07c.js} +10 -10
- package/dist/chunks/{mime-d7112bbx.js → snapshot-nkkxcf99.js} +1 -1
- package/dist/chunks/{mime-txv3w884.js → snapshot-npvv29c9.js} +22 -22
- package/dist/chunks/{mime-jjs74g98.js → snapshot-nq7qbqzc.js} +9 -9
- package/dist/chunks/{mime-dpkg50ah.js → snapshot-nxm207yx.js} +4 -4
- package/dist/chunks/{mime-fm781dj8.js → snapshot-pevdf72a.js} +10 -10
- package/dist/chunks/{mime-kkp8zx71.js → snapshot-ph842b28.js} +4 -4
- package/dist/chunks/{mime-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{mime-gvvt6b7j.js → snapshot-psv8fdh5.js} +14 -14
- package/dist/chunks/{mime-gmt6yt6e.js → snapshot-pvttss56.js} +26 -26
- package/dist/chunks/{mime-zd30eb5w.js → snapshot-qdbakdjh.js} +5 -5
- package/dist/chunks/{mime-f0y3twfb.js → snapshot-qg8fr7dx.js} +3 -3
- package/dist/chunks/{mime-ab9238g2.js → snapshot-qqtwvk4z.js} +6 -6
- package/dist/chunks/{mime-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-6a3czsa1.js → snapshot-qyj5w459.js} +16 -16
- package/dist/chunks/{mime-1acjjqhc.js → snapshot-r8xr0va3.js} +4 -4
- package/dist/chunks/{mime-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-qzy1x8zb.js → snapshot-rfepttty.js} +6 -6
- package/dist/chunks/{mime-dqs70hbj.js → snapshot-ryv6qtp6.js} +16 -16
- package/dist/chunks/{mime-t3wpcfc0.js → snapshot-s0bjf473.js} +24 -24
- package/dist/chunks/{mime-ezn2h652.js → snapshot-s0hdgv6r.js} +18 -18
- package/dist/chunks/{mime-yn9h7jnh.js → snapshot-s43e8fnf.js} +7 -7
- package/dist/chunks/{mime-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
- package/dist/chunks/{mime-307pg6fz.js → snapshot-s589y4yc.js} +12 -12
- package/dist/chunks/{mime-s8d7rejh.js → snapshot-s8d7rejh.js} +1 -1
- package/dist/chunks/{mime-2ddytahh.js → snapshot-sgqa7ttb.js} +20 -20
- package/dist/chunks/{mime-1pvhv2xq.js → snapshot-sjffceq3.js} +37 -37
- package/dist/chunks/{mime-nh4rgqnt.js → snapshot-sp62m1hk.js} +23 -23
- package/dist/chunks/{mime-wc84jsc1.js → snapshot-sta4ktta.js} +73 -73
- package/dist/chunks/{mime-7fgjfznh.js → snapshot-sy5v20eg.js} +5 -5
- package/dist/chunks/{mime-d96kp2s5.js → snapshot-t0jagft1.js} +22 -22
- package/dist/chunks/{mime-f3ngv102.js → snapshot-t51qk8jz.js} +21 -21
- package/dist/chunks/{mime-vfnexndp.js → snapshot-t6msp11s.js} +6 -6
- package/dist/chunks/{mime-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{mime-0w1gqsy8.js → snapshot-tea830r9.js} +6 -6
- package/dist/chunks/{mime-jyynsmrb.js → snapshot-tg3avkgr.js} +40 -40
- package/dist/chunks/{mime-k6bsaq2v.js → snapshot-trc87syc.js} +29 -29
- package/dist/chunks/{mime-wf91zk3h.js → snapshot-tsxvngeh.js} +15 -15
- package/dist/chunks/{mime-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-cmmdg65p.js → snapshot-tx9w5tca.js} +8 -8
- package/dist/chunks/{mime-pmqad4rv.js → snapshot-v606x47v.js} +6 -6
- package/dist/chunks/{mime-kkwefjp4.js → snapshot-v829nrsn.js} +11 -11
- package/dist/chunks/{mime-7pr2hkwv.js → snapshot-vd7rzxqf.js} +5 -5
- package/dist/chunks/{mime-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-a44te84x.js → snapshot-vr5gng7d.js} +58 -58
- package/dist/chunks/{mime-nfvr6b7c.js → snapshot-vxbp0t1j.js} +9 -9
- package/dist/chunks/{mime-gps30gkr.js → snapshot-vyer9fvq.js} +19 -19
- package/dist/chunks/{mime-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-98zdmzn1.js → snapshot-w0bb3aaj.js} +5 -5
- package/dist/chunks/{mime-533t3k18.js → snapshot-w1ad28wa.js} +5 -5
- package/dist/chunks/{mime-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-d5jqda9g.js → snapshot-w4d186nr.js} +9 -9
- package/dist/chunks/{mime-q2mwwyxw.js → snapshot-w7bfg73m.js} +43 -43
- package/dist/chunks/{mime-455c909g.js → snapshot-wa95v5q1.js} +4 -4
- package/dist/chunks/{mime-tf94wysx.js → snapshot-wb6xtyp7.js} +1 -1
- package/dist/chunks/{mime-wd3x2cqz.js → snapshot-wd3x2cqz.js} +2 -2
- package/dist/chunks/{mime-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{mime-d3jb63yq.js → snapshot-we9s68w7.js} +35 -35
- package/dist/chunks/{mime-bdmy50mw.js → snapshot-wgxh2d88.js} +10 -10
- package/dist/chunks/{mime-d18akb0w.js → snapshot-x12ccqf6.js} +11 -11
- package/dist/chunks/{mime-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-sa4vrjjn.js → snapshot-x2kchej3.js} +12 -12
- package/dist/chunks/{mime-hgrb6hk1.js → snapshot-x6vc2g7j.js} +15 -15
- package/dist/chunks/{mime-ngvtg2hh.js → snapshot-x7q82ccb.js} +10 -10
- package/dist/chunks/{mime-5v9f52wg.js → snapshot-xazx0yrz.js} +11 -11
- package/dist/chunks/{mime-xb50yt4b.js → snapshot-xb50yt4b.js} +1 -1
- package/dist/chunks/{mime-pnqhmayw.js → snapshot-xch80j94.js} +2 -2
- package/dist/chunks/{mime-84z7ydcc.js → snapshot-xj2q361d.js} +21 -21
- package/dist/chunks/{mime-bnjw33a9.js → snapshot-xtp80gnm.js} +31 -31
- package/dist/chunks/{mime-77k2q0r1.js → snapshot-xv2rj9s2.js} +36 -36
- package/dist/chunks/{mime-zw419psw.js → snapshot-xvw86k2z.js} +11 -11
- package/dist/chunks/{mime-nv3ykw2b.js → snapshot-xx0efrt7.js} +8 -8
- package/dist/chunks/{mime-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-qatsk4rf.js → snapshot-ya7pybyk.js} +19 -19
- package/dist/chunks/{mime-7j7zzrbv.js → snapshot-yg0cp2fk.js} +15 -15
- package/dist/chunks/{mime-2mh0qf3p.js → snapshot-ygx8er06.js} +13 -13
- package/dist/chunks/{mime-n37c4crj.js → snapshot-yr715y08.js} +5 -5
- package/dist/chunks/{mime-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-z07pqspn.js → snapshot-z07pqspn.js} +3 -3
- package/dist/chunks/{mime-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-9abtanff.js → snapshot-z4zazqnp.js} +22 -22
- package/dist/chunks/{mime-gxk89abf.js → snapshot-z7z0em5z.js} +87 -87
- package/dist/chunks/{mime-4mvefedb.js → snapshot-zchqraft.js} +5 -5
- package/dist/chunks/{mime-zvt5dnpc.js → snapshot-zcrspsvn.js} +4 -4
- package/dist/chunks/{mime-be482kdc.js → snapshot-zdfwzf06.js} +10 -10
- package/dist/chunks/{mime-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-dhkk2kzs.js → snapshot-zhb36em6.js} +51 -51
- package/dist/chunks/{mime-wgdhnvhw.js → snapshot-zm0epfsh.js} +94 -94
- package/dist/chunks/{mime-rk1r2hx8.js → snapshot-znsx74x0.js} +1 -1
- package/dist/chunks/{mime-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-8xky6wx1.js → snapshot-zya8mb4y.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +125 -125
- 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 +125 -125
- 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 +124 -124
- 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 +126 -126
- 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 +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/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 +3 -3
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +228 -228
- 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 +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +75 -75
- 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 +98 -98
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- 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 +79 -79
- 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 +163 -163
- 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 +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 +225 -225
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- 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 +120 -120
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- 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 +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +120 -120
- 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 +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 +3 -3
- 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 +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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/mime-973x470y.js +0 -252
- package/dist/chunks/mime-ctefx7dc.js +0 -18
- package/dist/chunks/mime-wd51j5pa.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./snapshot-bq7xdv31.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-7j2sq87m.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-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: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
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 Service6 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(Service6, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service66;
|
|
335
|
+
return Service6.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 node7 = makeLocationNode({ service: Service6, layer, deps: [node69] });
|
|
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, Service6, read2, node7, exports_read_filesystem };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./snapshot-dh7fttfm.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
12
|
Service: () => Service4,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export { Service4,
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-xx0efrt7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./snapshot-dh7fttfm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
10
|
+
Event20,
|
|
11
11
|
Service75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-814r7t0m.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-3kftmf95.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-gpqtbvrs.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info25
|
|
28
|
+
} from "./snapshot-41wvazb7.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./snapshot-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID12.openai;
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -171,7 +171,7 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
175
|
const credentials = yield* Service75;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID16.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info25.default(ID12.openai, ID11.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-50h1eett.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./snapshot-7nbv2x26.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
+
Service68,
|
|
13
|
+
node72
|
|
14
|
+
} from "./snapshot-41wvazb7.js";
|
|
15
|
+
import {
|
|
16
|
+
ID8,
|
|
12
17
|
Service58,
|
|
13
18
|
node61
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
ID12,
|
|
17
|
-
Service66,
|
|
18
|
-
node69
|
|
19
|
-
} from "./mime-nv7vmh1y.js";
|
|
19
|
+
} from "./snapshot-79v4fztp.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-91qsytyh.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-h9wp8z5w.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-1jds0x1c.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service57,
|
|
34
|
+
node60
|
|
35
|
+
} from "./snapshot-4qfzqxz8.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./snapshot-jk8em1h8.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./snapshot-5ngaw42y.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service35,
|
|
44
|
+
node38
|
|
45
|
+
} from "./snapshot-9s1nteyj.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service25,
|
|
48
|
+
node29
|
|
49
|
+
} from "./snapshot-mfrzaj7b.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service76,
|
|
52
|
+
node80
|
|
53
|
+
} from "./snapshot-s0bjf473.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service27,
|
|
56
|
+
node31
|
|
57
|
+
} from "./snapshot-j3ss35a9.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service26,
|
|
60
|
+
node30
|
|
61
|
+
} from "./snapshot-9btp0wgx.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service33,
|
|
64
|
+
node36
|
|
65
|
+
} from "./snapshot-krfbp5s5.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service24,
|
|
68
|
+
node28
|
|
69
|
+
} from "./snapshot-x6vc2g7j.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service28,
|
|
72
|
+
node32
|
|
73
|
+
} from "./snapshot-62svdpq9.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service31,
|
|
76
|
+
node34
|
|
77
|
+
} from "./snapshot-xtp80gnm.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service44,
|
|
80
|
+
node46
|
|
81
|
+
} from "./snapshot-40vnhj6t.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service23,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node27
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service23 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service58;
|
|
99
|
+
const builtins = yield* Service25;
|
|
100
|
+
const model = yield* Service68;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service35;
|
|
103
|
+
const entries = yield* Service28;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service26;
|
|
106
|
+
const mcpTools = yield* Service27;
|
|
107
|
+
const models = yield* Service44;
|
|
108
|
+
const request = yield* Service31;
|
|
109
|
+
const referenceInstructions = yield* Service33;
|
|
110
|
+
const skillInstructions = yield* Service24;
|
|
111
|
+
const store = yield* Service57;
|
|
112
|
+
const registry = yield* Service76;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make14(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service23.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node27 = makeLocationNode({
|
|
195
|
+
service: Service23,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
node69,
|
|
199
198
|
node61,
|
|
199
|
+
node72,
|
|
200
200
|
node88,
|
|
201
|
+
node29,
|
|
202
|
+
node38,
|
|
203
|
+
node32,
|
|
204
|
+
node84,
|
|
205
|
+
node30,
|
|
206
|
+
node31,
|
|
201
207
|
node36,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
node41,
|
|
208
|
-
node49,
|
|
209
|
-
node42,
|
|
210
|
-
node68,
|
|
211
|
-
node37,
|
|
212
|
-
node74
|
|
208
|
+
node46,
|
|
209
|
+
node34,
|
|
210
|
+
node60,
|
|
211
|
+
node28,
|
|
212
|
+
node80
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service23, node27, exports_context };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-wb6xtyp7.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-v606x47v.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-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: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service41 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service41, exports_runner };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-gpqtbvrs.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./snapshot-mgg2v3xv.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-hrcmt3m6.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin36
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin36 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service62;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin36, exports_provider };
|