@opencode/core 0.0.0-dev-19402 → 0.0.0-dev-19404
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{worktree-9b60vqg3.js → file-03wwe30p.js} +19 -19
- package/dist/chunks/{worktree-tezvarmp.js → file-03zt5v0h.js} +11 -11
- package/dist/chunks/{worktree-n1qkhzt6.js → file-0bc9xa41.js} +15 -15
- package/dist/chunks/{worktree-8tw6vjk5.js → file-0ee4sq7j.js} +13 -13
- package/dist/chunks/{worktree-0kjjkgrz.js → file-0kzzmtkd.js} +11 -11
- package/dist/chunks/file-0mesazry.js +4 -0
- package/dist/chunks/{worktree-1tjg7tvh.js → file-0p4j4cv0.js} +9 -9
- package/dist/chunks/{worktree-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-zez8w2s0.js → file-0tqgm7xh.js} +32 -32
- package/dist/chunks/{worktree-k0kes8vm.js → file-0vbmec47.js} +30 -30
- package/dist/chunks/{worktree-jnmqjdkf.js → file-11tcp5y8.js} +4 -4
- package/dist/chunks/{worktree-sdva1t93.js → file-195b9hkp.js} +28 -28
- package/dist/chunks/{worktree-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-xvarwbkw.js → file-1enyjv7v.js} +11 -11
- package/dist/chunks/{worktree-1eyaby9q.js → file-1eyaby9q.js} +2 -2
- package/dist/chunks/{worktree-8t3tghaa.js → file-1tx98gn3.js} +14 -14
- package/dist/chunks/{worktree-gqt4stpv.js → file-1vd4786e.js} +9 -9
- package/dist/chunks/{worktree-0qzq572y.js → file-1vpsedet.js} +4 -4
- package/dist/chunks/{worktree-dz46kn0c.js → file-1z0pzthf.js} +2 -2
- package/dist/chunks/{worktree-f4hvcdyc.js → file-206fxkvm.js} +18 -18
- package/dist/chunks/{worktree-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{worktree-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-ex6wht0f.js → file-2cmcktmr.js} +12 -12
- package/dist/chunks/{worktree-t7xstbkq.js → file-2ff89mrc.js} +4 -4
- package/dist/chunks/{worktree-89y6ec7x.js → file-2r4xr41j.js} +23 -23
- package/dist/chunks/{worktree-a81erjcz.js → file-2rbw2ja1.js} +25 -25
- package/dist/chunks/{worktree-f7ng0avf.js → file-37y0x4sa.js} +13 -13
- package/dist/chunks/{worktree-39gq0jsz.js → file-397qe2v7.js} +16 -16
- package/dist/chunks/{worktree-gdvy8fx6.js → file-3fc6dm20.js} +4 -4
- package/dist/chunks/{worktree-7x1jk2s0.js → file-3fj0ehej.js} +43 -43
- package/dist/chunks/{worktree-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-84esvpjp.js → file-3kff94q5.js} +9 -9
- package/dist/chunks/{worktree-swqq1grb.js → file-3n1sj9mp.js} +1 -1
- package/dist/chunks/{worktree-8hyjw9n3.js → file-3nmb6yg0.js} +25 -25
- package/dist/chunks/{worktree-ty151b2e.js → file-3nte7245.js} +27 -27
- package/dist/chunks/{worktree-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-a54cm72e.js → file-3trbxeqx.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-t0fxg8b9.js → file-3w2b2yj4.js} +5 -5
- package/dist/chunks/{worktree-j7wq2tw5.js → file-3yjg5mh2.js} +3 -3
- package/dist/chunks/{worktree-yefxppqx.js → file-3yknbgq7.js} +13 -13
- package/dist/chunks/{worktree-g1f7p4xr.js → file-416qpt5q.js} +32 -32
- package/dist/chunks/{worktree-1n39waag.js → file-4e25g0td.js} +17 -17
- package/dist/chunks/{worktree-wnbnthsg.js → file-4qbtf2xm.js} +5 -5
- package/dist/chunks/{worktree-d9sn21bc.js → file-4rpd5z62.js} +2 -2
- package/dist/chunks/{worktree-y2e61msj.js → file-4ycmfby4.js} +41 -41
- package/dist/chunks/{worktree-vh076mqk.js → file-52az7e5h.js} +17 -17
- package/dist/chunks/{worktree-1ygqh575.js → file-56gdpj1q.js} +9 -9
- package/dist/chunks/{worktree-ggr3x0mq.js → file-56j57pys.js} +15 -15
- package/dist/chunks/{worktree-3ma48d2q.js → file-5aejmzs0.js} +25 -25
- package/dist/chunks/{worktree-hd849z55.js → file-5cvqq58e.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-vdehrbvs.js → file-5djf14hj.js} +40 -40
- package/dist/chunks/{worktree-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-jdh6s7jq.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{worktree-zznp8j5v.js → file-5z7h86dp.js} +5 -5
- package/dist/chunks/{worktree-4arj8dq0.js → file-60chw6ns.js} +291 -291
- package/dist/chunks/{worktree-h1201fn2.js → file-664j63h8.js} +20 -20
- package/dist/chunks/{worktree-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{worktree-sfbj4knz.js → file-67mjd9te.js} +9 -9
- package/dist/chunks/{worktree-trwfvtm6.js → file-6bg31a94.js} +15 -15
- package/dist/chunks/{worktree-7d9jba8k.js → file-6cr0vect.js} +34 -34
- package/dist/chunks/{worktree-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{worktree-6jnybvqn.js → file-6jnybvqn.js} +2 -2
- package/dist/chunks/{worktree-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-y91xqvp5.js → file-70xczmxz.js} +9 -9
- package/dist/chunks/{worktree-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{worktree-mcrth2bg.js → file-75v5avbv.js} +9 -9
- package/dist/chunks/{worktree-3m1vdcah.js → file-79rym0vx.js} +16 -16
- package/dist/chunks/{worktree-t0msmdsn.js → file-7a03d1b8.js} +18 -18
- package/dist/chunks/{worktree-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-qgn6gcr1.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-yr02nea7.js → file-7ebn0nc0.js} +4 -4
- package/dist/chunks/{worktree-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{worktree-81swgkk7.js → file-81swgkk7.js} +2 -2
- package/dist/chunks/{worktree-x3et2xth.js → file-844ef7ks.js} +8 -8
- package/dist/chunks/{worktree-m3g11tvf.js → file-84tssp1s.js} +8 -8
- package/dist/chunks/{worktree-5sdemcz3.js → file-87deq66t.js} +8 -8
- package/dist/chunks/{worktree-w1k39n5e.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{worktree-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-ks9r2606.js → file-8kpa3sfw.js} +23 -23
- package/dist/chunks/{worktree-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-g5z572jc.js → file-8pnwjqbd.js} +19 -19
- package/dist/chunks/{worktree-j7k24pbc.js → file-8s0m5yrh.js} +18 -18
- package/dist/chunks/{worktree-edrmdtr5.js → file-8x96bj0m.js} +4 -4
- package/dist/chunks/{worktree-7m5f9412.js → file-91p1v22t.js} +8 -8
- package/dist/chunks/{worktree-kgxk992x.js → file-9aqzzx1f.js} +20 -20
- package/dist/chunks/{worktree-q2t36530.js → file-9bj2cvf7.js} +9 -9
- package/dist/chunks/{worktree-4w6drx90.js → file-9hhkemsn.js} +15 -15
- package/dist/chunks/{worktree-sxc4n3b4.js → file-9k2v62xn.js} +1 -1
- package/dist/chunks/{worktree-j8n86hs1.js → file-9nmemh1m.js} +20 -20
- package/dist/chunks/{worktree-xkskprjp.js → file-9v3118pd.js} +26 -26
- package/dist/chunks/{worktree-xjgcvsjt.js → file-9vqmh8rd.js} +20 -20
- package/dist/chunks/{worktree-zc2n0ndy.js → file-9yb9755z.js} +13 -13
- package/dist/chunks/{worktree-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-721cw5cc.js → file-a28msnrx.js} +4 -4
- package/dist/chunks/{worktree-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-31n43axm.js → file-agmzfzv5.js} +18 -18
- package/dist/chunks/{worktree-nt7ny3vf.js → file-agz6ccty.js} +39 -46
- package/dist/chunks/{worktree-5q02cxx3.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{worktree-nf98eega.js → file-arncpnzb.js} +18 -18
- package/dist/chunks/{worktree-psyj660w.js → file-ashvqh0k.js} +4 -4
- package/dist/chunks/{worktree-07gza034.js → file-awz7xhfp.js} +4 -4
- package/dist/chunks/{worktree-qj8a3ybw.js → file-b3ab3ctg.js} +6 -6
- package/dist/chunks/{worktree-rfnzy394.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{worktree-qwkytnft.js → file-b4ssmz4r.js} +9 -9
- package/dist/chunks/{worktree-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-y6qp2ybc.js → file-b8ek1188.js} +32 -32
- package/dist/chunks/{worktree-dsk24zyn.js → file-b91bsk4k.js} +20 -20
- package/dist/chunks/{worktree-nhpkhfw8.js → file-bbddt0rr.js} +25 -25
- package/dist/chunks/{worktree-0bfcx7cw.js → file-bd7mw0dj.js} +20 -20
- package/dist/chunks/{worktree-qsfs49vc.js → file-bf99w40p.js} +85 -85
- package/dist/chunks/{worktree-z2333xw5.js → file-bv5t9bgg.js} +10 -10
- package/dist/chunks/file-bxsmgxt8.js +22 -0
- package/dist/chunks/{worktree-efywkr4m.js → file-c807y6n2.js} +26 -26
- package/dist/chunks/{worktree-9w4ppqge.js → file-ce5fknq2.js} +5 -5
- package/dist/chunks/{worktree-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-fan4hwvp.js → file-d1xvm4af.js} +11 -11
- package/dist/chunks/{worktree-n2rf99bc.js → file-d5n4bh35.js} +22 -22
- package/dist/chunks/{worktree-enae0pqt.js → file-denqxv8d.js} +7 -7
- package/dist/chunks/{worktree-cwyfgkk1.js → file-dft13gwa.js} +46 -46
- package/dist/chunks/{worktree-530frpyx.js → file-dgbe4bt1.js} +18 -18
- package/dist/chunks/{worktree-jy5v7e4m.js → file-dn4sgk77.js} +60 -60
- package/dist/chunks/{worktree-me1mq5zn.js → file-dtbk98nz.js} +30 -30
- package/dist/chunks/{worktree-e5sghx2m.js → file-dx6t03ys.js} +2 -2
- package/dist/chunks/{worktree-t7pm3pdd.js → file-e6g776ht.js} +18 -18
- package/dist/chunks/{worktree-mzbvs37z.js → file-e7c5hh0v.js} +7 -7
- package/dist/chunks/{worktree-9mszsyym.js → file-e7n26ax2.js} +8 -8
- package/dist/chunks/{worktree-b7qepvza.js → file-e9cer28w.js} +4 -4
- package/dist/chunks/{worktree-7z7az0f5.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{worktree-8g9sv97x.js → file-edx7kkbf.js} +24 -24
- package/dist/chunks/{worktree-9abatgz1.js → file-egqspz5t.js} +17 -17
- package/dist/chunks/{worktree-baaqp4zd.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{worktree-qvgcjadf.js → file-esdnemd6.js} +1 -1
- package/dist/chunks/{worktree-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-xhm4y6wv.js → file-ew6y6y1a.js} +30 -30
- package/dist/chunks/{worktree-37fxfkdc.js → file-eykg37vx.js} +15 -15
- package/dist/chunks/{worktree-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-22pek6eg.js → file-f98vsa4d.js} +32 -32
- package/dist/chunks/{worktree-0cj21tsq.js → file-ff8vf18q.js} +7 -7
- package/dist/chunks/{worktree-t0x5rdq8.js → file-fjmrr6sh.js} +9 -9
- package/dist/chunks/{worktree-jb4hwekh.js → file-fk561ek3.js} +17 -17
- package/dist/chunks/{worktree-hcryep5n.js → file-fkszgfvj.js} +14 -14
- package/dist/chunks/{worktree-787q5hy4.js → file-fq1h1v14.js} +3 -3
- package/dist/chunks/{worktree-t8k0wgen.js → file-frghq38s.js} +15 -15
- package/dist/chunks/{worktree-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-jr0w00x6.js → file-fydnx5fx.js} +42 -42
- package/dist/chunks/{worktree-etbytr9f.js → file-fzsrmebp.js} +22 -22
- package/dist/chunks/{worktree-m2wv8ykr.js → file-g5twr0sp.js} +14 -14
- package/dist/chunks/{worktree-jbeqfmv6.js → file-g713qgch.js} +24 -24
- package/dist/chunks/{worktree-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-w1cjc361.js → file-gj4x8zz6.js} +15 -15
- package/dist/chunks/{worktree-hv82z4gy.js → file-gj7pn1ka.js} +11 -11
- package/dist/chunks/{worktree-dep21bfz.js → file-gj9xpvv3.js} +8 -8
- package/dist/chunks/file-gshc2tst.js +260 -0
- package/dist/chunks/{worktree-th5km1p3.js → file-gv6a8nnw.js} +5 -5
- package/dist/chunks/{worktree-pt3jfr41.js → file-gzbkpp9m.js} +4 -4
- package/dist/chunks/{worktree-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-m1m1txre.js → file-h074tf43.js} +41 -41
- package/dist/chunks/{worktree-kx71qmfd.js → file-h2gyv3sg.js} +1 -1
- package/dist/chunks/{worktree-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-d99x89gq.js → file-hbznxe04.js} +17 -17
- package/dist/chunks/{worktree-fbnvfbcr.js → file-he3a9kdv.js} +27 -27
- package/dist/chunks/{worktree-m2manvsf.js → file-hq8zt1th.js} +6 -6
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{worktree-q6dht6b8.js → file-htj0b10m.js} +27 -27
- package/dist/chunks/{worktree-fmtcp64w.js → file-j1ywwsrp.js} +56 -56
- package/dist/chunks/{worktree-4zn0m4jw.js → file-j2j5pzjs.js} +5 -5
- package/dist/chunks/{worktree-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{worktree-tfj258z8.js → file-ja6srv6s.js} +29 -29
- package/dist/chunks/{worktree-qhrw8p3b.js → file-jh9jg79a.js} +11 -11
- package/dist/chunks/{worktree-5d5n2frr.js → file-jhtsdbae.js} +35 -35
- package/dist/chunks/{worktree-rq2m1hnf.js → file-jvdqbckk.js} +19 -19
- package/dist/chunks/{worktree-y71avatq.js → file-jwcy2c2z.js} +4 -4
- package/dist/chunks/{worktree-aw7fybkd.js → file-jxj1g7d6.js} +5 -5
- package/dist/chunks/{worktree-pztj2cvn.js → file-k2cps1w2.js} +14 -14
- package/dist/chunks/{worktree-jkzabyxv.js → file-k4t1n3ds.js} +5 -5
- package/dist/chunks/{worktree-4rx8c3z8.js → file-kcvfr73y.js} +46 -46
- package/dist/chunks/{worktree-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{worktree-75nkg2tt.js → file-kk4kf303.js} +11 -11
- package/dist/chunks/{worktree-9df0z3fr.js → file-kkmk6wev.js} +14 -14
- package/dist/chunks/{worktree-kyamxspj.js → file-m4w483hc.js} +6 -6
- package/dist/chunks/{worktree-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-68sfsyrr.js → file-mcma3e2p.js} +6 -6
- package/dist/chunks/{worktree-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
- package/dist/chunks/{worktree-e7f0s3sx.js → file-mrw4weg4.js} +5 -5
- package/dist/chunks/{worktree-88nd1tx7.js → file-ms6rwfbv.js} +29 -29
- package/dist/chunks/{worktree-12jxt57q.js → file-n2egqj3k.js} +10 -10
- package/dist/chunks/{worktree-vvgctfdq.js → file-n3ehebhz.js} +12 -12
- package/dist/chunks/{worktree-zbxt5nxa.js → file-n4tr9e7x.js} +18 -18
- package/dist/chunks/{worktree-hapy5g3w.js → file-n6c8w82a.js} +5 -5
- package/dist/chunks/{worktree-47cde2b0.js → file-n92g5px8.js} +17 -17
- package/dist/chunks/file-ngb1kbyf.js +247 -0
- package/dist/chunks/{worktree-2t5vmbg2.js → file-ngx16gc5.js} +10 -10
- package/dist/chunks/{worktree-e82z9tr0.js → file-nhy5jxhy.js} +7 -7
- package/dist/chunks/{worktree-dj33xrhc.js → file-nmpjh5tr.js} +30 -30
- package/dist/chunks/{worktree-bf5zf3k6.js → file-nrj82zgb.js} +26 -26
- package/dist/chunks/{worktree-jjxpfn67.js → file-ntp00jbn.js} +50 -50
- package/dist/chunks/{worktree-gg7pg1rj.js → file-p1nm93x7.js} +5 -5
- package/dist/chunks/{worktree-zgcjn2bs.js → file-p7r5e3re.js} +25 -25
- package/dist/chunks/{worktree-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-et0ngb76.js → file-pnfpsavj.js} +8 -8
- package/dist/chunks/{worktree-y2a9qway.js → file-prqr7atv.js} +16 -16
- package/dist/chunks/{worktree-0ddfdf6h.js → file-pvp2wc9z.js} +11 -11
- package/dist/chunks/{worktree-f59qb7z8.js → file-q043d12m.js} +11 -11
- package/dist/chunks/{worktree-yse482wb.js → file-qacd23e2.js} +4 -4
- package/dist/chunks/{worktree-3cdjp2z1.js → file-qaeybh9m.js} +6 -6
- package/dist/chunks/{worktree-j47svp76.js → file-qefhz522.js} +11 -11
- package/dist/chunks/{worktree-t5sxkdg8.js → file-qj43ta48.js} +32 -32
- package/dist/chunks/{worktree-9pbhwmzz.js → file-qrh3ph5y.js} +39 -39
- package/dist/chunks/{worktree-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-mmg38rnz.js → file-qt2wzkfv.js} +175 -175
- package/dist/chunks/{worktree-0a6m9zn6.js → file-rb7pkpgx.js} +27 -27
- package/dist/chunks/{worktree-p6vhw81v.js → file-rbb6h0rd.js} +11 -11
- package/dist/chunks/{worktree-0ms7d4ta.js → file-rctdwqm8.js} +13 -13
- package/dist/chunks/{worktree-hf4cy5d5.js → file-rddqvwx7.js} +22 -22
- package/dist/chunks/{worktree-p1bhyryy.js → file-rn18s34v.js} +9 -9
- package/dist/chunks/{worktree-8rkr9qb0.js → file-rs226bz6.js} +5 -5
- package/dist/chunks/{worktree-0hjjfnva.js → file-rz3jkdqg.js} +20 -20
- package/dist/chunks/{worktree-nx9fcjx2.js → file-s40t4n9p.js} +36 -36
- package/dist/chunks/{worktree-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{worktree-w2pgmj82.js → file-s7vx81dz.js} +9 -9
- package/dist/chunks/{worktree-bha4atvq.js → file-szgy4byf.js} +4 -4
- package/dist/chunks/{worktree-w1ad28wa.js → file-t33aqq77.js} +8 -8
- package/dist/chunks/{worktree-dfzyx3vm.js → file-t4fssz5f.js} +11 -11
- package/dist/chunks/{worktree-eaj1djv9.js → file-t550f9t1.js} +8 -8
- package/dist/chunks/{worktree-4hs0xter.js → file-t9qhnrv6.js} +6 -6
- package/dist/chunks/{worktree-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-5t6qf0dk.js → file-tsdrwk88.js} +11 -11
- package/dist/chunks/{worktree-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-ehzmktfy.js → file-v3smhzc7.js} +21 -21
- package/dist/chunks/{worktree-bsn55ndq.js → file-v6eynfa8.js} +28 -28
- package/dist/chunks/{worktree-z5vzydcd.js → file-v9n7g2jp.js} +48 -48
- package/dist/chunks/{worktree-z92e5j38.js → file-vabb23s0.js} +1 -1
- package/dist/chunks/{worktree-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-6npnztgt.js → file-verq85zk.js} +4 -4
- package/dist/chunks/{worktree-5aq7k26p.js → file-vftfn4tg.js} +76 -76
- package/dist/chunks/{worktree-txqj87x6.js → file-vq3dh784.js} +21 -21
- package/dist/chunks/{worktree-cavr175a.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{worktree-ceanckhm.js → file-vypqtakx.js} +1 -1
- package/dist/chunks/{worktree-mkyhyqbc.js → file-vzab2f08.js} +30 -30
- package/dist/chunks/{worktree-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-fjsew8y4.js → file-w6vgwbtw.js} +15 -15
- package/dist/chunks/{worktree-87s6j92f.js → file-wc01vwq2.js} +17 -17
- package/dist/chunks/{worktree-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-tby7n86s.js → file-wh05710z.js} +44 -44
- package/dist/chunks/{worktree-wtkpn8tp.js → file-wkwfxgj3.js} +4 -4
- package/dist/chunks/{worktree-xb08yn7h.js → file-wxg97684.js} +31 -31
- package/dist/chunks/{worktree-d73e9djv.js → file-x015srt1.js} +23 -23
- package/dist/chunks/{worktree-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-x43y2vfs.js → file-x43y2vfs.js} +2 -2
- package/dist/chunks/{worktree-mw16jd8v.js → file-xacpwbjs.js} +9 -9
- package/dist/chunks/{worktree-bz2gz0gx.js → file-xe3tttza.js} +10 -10
- package/dist/chunks/{worktree-x05hx5mx.js → file-xncegbyh.js} +6 -6
- package/dist/chunks/{worktree-fxr0k3ej.js → file-xnn90w67.js} +26 -26
- package/dist/chunks/{worktree-rzse8s8s.js → file-xp2ajnz8.js} +24 -24
- package/dist/chunks/{worktree-fdkcz4j4.js → file-xr2q0tqq.js} +21 -21
- package/dist/chunks/{worktree-paqdzpve.js → file-xx0dsh07.js} +36 -36
- package/dist/chunks/{worktree-kexm4n6m.js → file-xxewcce8.js} +11 -11
- package/dist/chunks/{worktree-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-nbddwgy7.js → file-y2vrj84a.js} +6 -6
- package/dist/chunks/{worktree-z1cvmk2p.js → file-yc3z3e63.js} +11 -11
- package/dist/chunks/{worktree-1acjjqhc.js → file-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-pda56gn5.js → file-ypy1tgyh.js} +13 -13
- package/dist/chunks/{worktree-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-p44d8wdy.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{worktree-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-x3af3qht.js → file-z2rxccdg.js} +9 -9
- package/dist/chunks/{worktree-1aqychxq.js → file-z6mn07nx.js} +87 -87
- package/dist/chunks/{worktree-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-gb17qnes.js → file-zgye80qh.js} +32 -32
- package/dist/chunks/{worktree-3gvv7fv9.js → file-zn15gz72.js} +17 -17
- package/dist/chunks/{worktree-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-za9cx4qh.js → file-zts5fb25.js} +11 -11
- package/dist/chunks/{worktree-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +5 -5
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +84 -84
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +77 -77
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +217 -217
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +18 -37
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/worktree-2t5f0p39.js +0 -270
- package/dist/chunks/worktree-dt3c0xg5.js +0 -22
- package/dist/chunks/worktree-dxj72tfx.js +0 -18
- package/dist/chunks/worktree-w6vhhse3.js +0 -247
- package/dist/chunks/worktree-z926abd4.js +0 -4
- /package/dist/chunks/{worktree-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-0kzzmtkd.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-dn4sgk77.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
21
|
ID: () => ID4,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service39,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
43
|
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service39 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service78;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service39.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node43 = makeLocationNode({
|
|
112
|
+
service: Service39,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node82]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node43, exports_skill5, Event9 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
node55
|
|
7
|
+
} from "./file-h074tf43.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service31,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer15,
|
|
20
|
+
node: () => node35
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service31 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service52;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service31.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node35 = makeLocationNode({
|
|
67
|
+
service: Service31,
|
|
68
|
+
layer: layer15,
|
|
69
|
+
deps: [node55, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service31, layer15, node35, exports_generate2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make19,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-t550f9t1.js";
|
|
8
8
|
import {
|
|
9
9
|
ID4,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service39,
|
|
13
|
+
node43
|
|
14
|
+
} from "./file-b91bsk4k.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions5 = {};
|
|
21
|
+
__export(exports_instructions5, {
|
|
22
|
+
Service: () => Service27,
|
|
23
|
+
SkillInstructions: () => exports_instructions5,
|
|
24
|
+
node: () => node32
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service27 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service39;
|
|
67
|
+
return Service27.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make19({
|
|
74
|
+
key: Key3.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node32 = makeLocationNode({ service: Service27, layer, deps: [node43] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service27, node32, exports_instructions5 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID13,
|
|
3
|
+
Info26,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-3yjg5mh2.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node83
|
|
12
|
+
} from "./file-d1xvm4af.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service78,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node82
|
|
17
|
+
} from "./file-0kzzmtkd.js";
|
|
18
18
|
import {
|
|
19
19
|
Service76,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node80
|
|
21
|
+
} from "./file-w6vgwbtw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service50,
|
|
24
|
+
node53
|
|
25
|
+
} from "./file-hq8zt1th.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node51
|
|
34
|
+
} from "./file-d5n4bh35.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-szgy4byf.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-agmzfzv5.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node24
|
|
47
|
+
} from "./file-7a03d1b8.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node84
|
|
51
|
+
} from "./file-q043d12m.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError6,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,50 +61,50 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./file-b4ssmz4r.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service56,
|
|
68
|
+
node59
|
|
69
|
+
} from "./file-4e25g0td.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service51,
|
|
72
|
+
node54
|
|
73
|
+
} from "./file-zn15gz72.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service46,
|
|
76
|
+
node50
|
|
77
|
+
} from "./file-qrh3ph5y.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./file-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service22,
|
|
83
|
+
node27
|
|
84
|
+
} from "./file-qefhz522.js";
|
|
85
85
|
import {
|
|
86
86
|
generate3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./file-3nte7245.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./file-e7n26ax2.js";
|
|
91
91
|
import {
|
|
92
92
|
DestinationNotFoundError2,
|
|
93
93
|
DestinationNotDirectoryError2,
|
|
94
94
|
DestinationUnavailableError2,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service18,
|
|
96
|
+
node22
|
|
97
|
+
} from "./file-j1ywwsrp.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service64,
|
|
100
|
+
node67
|
|
101
|
+
} from "./file-91p1v22t.js";
|
|
102
102
|
import {
|
|
103
103
|
make12
|
|
104
|
-
} from "./
|
|
104
|
+
} from "./file-vzab2f08.js";
|
|
105
105
|
import {
|
|
106
106
|
__export
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./file-9rqn6x4v.js";
|
|
108
108
|
|
|
109
109
|
// src/session.ts
|
|
110
110
|
var exports_session = {};
|
|
@@ -115,21 +115,21 @@ __export(exports_session, {
|
|
|
115
115
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
116
116
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
117
117
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
118
|
-
ID: () =>
|
|
118
|
+
ID: () => ID13,
|
|
119
119
|
InboxConflictError: () => InboxConflictError2,
|
|
120
|
-
Info: () =>
|
|
120
|
+
Info: () => Info26,
|
|
121
121
|
ListAnchor: () => ListAnchor2,
|
|
122
|
-
ListInput: () =>
|
|
122
|
+
ListInput: () => ListInput2,
|
|
123
123
|
MessageDecodeError: () => MessageDecodeError2,
|
|
124
124
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
125
|
-
NotFoundError: () =>
|
|
125
|
+
NotFoundError: () => NotFoundError6,
|
|
126
126
|
PromptConflictError: () => PromptConflictError2,
|
|
127
|
-
Service: () =>
|
|
127
|
+
Service: () => Service17,
|
|
128
128
|
Session: () => exports_session,
|
|
129
129
|
SessionSchema: () => SessionSchema2,
|
|
130
130
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
131
131
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
132
|
-
node: () =>
|
|
132
|
+
node: () => node21
|
|
133
133
|
});
|
|
134
134
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
135
135
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
139
139
|
import path from "path";
|
|
140
140
|
import { Node } from "@opencode/util/effect/app-node";
|
|
141
141
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
142
|
-
var
|
|
143
|
-
class
|
|
142
|
+
var ListInput2 = ListInput4;
|
|
143
|
+
class Service17 extends Context.Service()("@opencode/Session") {
|
|
144
144
|
}
|
|
145
|
-
var layer = Layer.effect(
|
|
145
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
147
|
const database = yield* Service79;
|
|
148
148
|
const db = database.db;
|
|
149
149
|
const bus = yield* Service78;
|
|
150
150
|
const projects = yield* Service76;
|
|
151
|
-
const execution = yield*
|
|
151
|
+
const execution = yield* Service46;
|
|
152
152
|
const llm = yield* LLMClient.Service;
|
|
153
|
-
const transport = yield*
|
|
154
|
-
const store = yield*
|
|
155
|
-
const instances = yield*
|
|
156
|
-
const moves = yield*
|
|
157
|
-
const jobs = yield*
|
|
158
|
-
const environments = yield*
|
|
153
|
+
const transport = yield* Service22;
|
|
154
|
+
const store = yield* Service56;
|
|
155
|
+
const instances = yield* Service50;
|
|
156
|
+
const moves = yield* Service18;
|
|
157
|
+
const jobs = yield* Service51;
|
|
158
|
+
const environments = yield* Service64;
|
|
159
159
|
const sessions = yield* make12();
|
|
160
160
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
161
|
-
const result =
|
|
161
|
+
const result = Service17.of({
|
|
162
162
|
create: Effect.fn("Session.create")(function* (input) {
|
|
163
163
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
164
164
|
const recorded = yield* store.get(sessionID);
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
166
166
|
return recorded;
|
|
167
167
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
168
168
|
if (input.parentID && parent === undefined)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError6({ sessionID: input.parentID });
|
|
170
170
|
const location = parent?.location ?? input.location;
|
|
171
171
|
if (location === undefined)
|
|
172
172
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -259,11 +259,11 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
259
259
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
260
260
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
261
261
|
const session = yield* result.get(input.sessionID);
|
|
262
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
262
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
|
|
263
263
|
}),
|
|
264
264
|
command: Effect.fn("Session.command")(function* (input) {
|
|
265
265
|
const session = yield* result.get(input.sessionID);
|
|
266
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
266
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
|
|
267
267
|
}),
|
|
268
268
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
269
269
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -303,26 +303,26 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
303
303
|
});
|
|
304
304
|
return result;
|
|
305
305
|
}));
|
|
306
|
-
var
|
|
307
|
-
service:
|
|
306
|
+
var node21 = Node.makeGlobalNode({
|
|
307
|
+
service: Service17,
|
|
308
308
|
layer,
|
|
309
309
|
deps: [
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
node84,
|
|
310
|
+
node54,
|
|
311
|
+
node67,
|
|
313
312
|
node83,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
node82,
|
|
314
|
+
node80,
|
|
315
|
+
node50,
|
|
316
|
+
node27,
|
|
317
317
|
llmClient2,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
318
|
+
node59,
|
|
319
|
+
node53,
|
|
320
|
+
node51,
|
|
321
|
+
node22,
|
|
322
|
+
node24,
|
|
323
323
|
FSUtil.node,
|
|
324
|
-
|
|
324
|
+
node84
|
|
325
325
|
]
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
export { ListAnchor2,
|
|
328
|
+
export { ListAnchor2, ListInput2, Service17, node21, exports_session };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./file-g5twr0sp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./file-wh05710z.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-e7c5hh0v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service65;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID15.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make10();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make10, VLLMPlugin2 };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin35
|
|
3
|
+
} from "./file-t33aqq77.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin34
|
|
6
|
+
} from "./file-z2rxccdg.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin33
|
|
9
|
+
} from "./file-75v5avbv.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin32
|
|
12
|
+
} from "./file-k4t1n3ds.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin35,
|
|
17
|
+
Plugin34,
|
|
18
|
+
Plugin33,
|
|
19
|
+
Plugin32
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|