@opencode/core 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{integration-jthw9jrm.js → provider-01gts7tv.js} +13 -13
- package/dist/chunks/{integration-9n92wg39.js → provider-09nc05e3.js} +11 -11
- package/dist/chunks/{integration-63gwy3f0.js → provider-0b3fz7z6.js} +21 -21
- package/dist/chunks/{integration-gvvdpzqz.js → provider-0esb4psk.js} +3 -3
- package/dist/chunks/{integration-89vjf07m.js → provider-0gapa1rm.js} +5 -5
- package/dist/chunks/{integration-h2r7bbkd.js → provider-0ne02q5f.js} +11 -11
- package/dist/chunks/{integration-yhmfm09s.js → provider-0p838j47.js} +20 -20
- package/dist/chunks/{integration-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → provider-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-0ja9hz8h.js → provider-0qwa4caw.js} +24 -24
- package/dist/chunks/{integration-xbxrvfar.js → provider-0t0bcxwx.js} +11 -11
- package/dist/chunks/{integration-qf3ebkzx.js → provider-0t25cr4h.js} +9 -9
- package/dist/chunks/{integration-t96h8vn6.js → provider-0xrq8eqy.js} +34 -34
- package/dist/chunks/{integration-ha2e1a5y.js → provider-11psvd52.js} +15 -15
- package/dist/chunks/{integration-zpnb0y11.js → provider-15r2v9gh.js} +49 -49
- package/dist/chunks/{integration-6hh8tjw2.js → provider-19vf66h0.js} +4 -4
- package/dist/chunks/provider-1admmex6.js +252 -0
- package/dist/chunks/{integration-ts74b2aa.js → provider-1d5f8fmh.js} +25 -25
- package/dist/chunks/{integration-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-7yd8qa94.js → provider-1f8ext69.js} +6 -6
- package/dist/chunks/{integration-30846h32.js → provider-1gfgk62c.js} +4 -4
- package/dist/chunks/{integration-y324smtr.js → provider-1kc6bgj5.js} +292 -292
- package/dist/chunks/{integration-9ydd6pgk.js → provider-1npfg0xs.js} +7 -7
- package/dist/chunks/{integration-r2tzf22e.js → provider-1p7te6jw.js} +5 -5
- package/dist/chunks/{integration-bp376hr7.js → provider-1qjdpwr6.js} +9 -9
- package/dist/chunks/{integration-1x4zaxp7.js → provider-1rcq3xh2.js} +1 -1
- package/dist/chunks/{integration-awhm4hzw.js → provider-1wbt76dk.js} +162 -162
- package/dist/chunks/{integration-21r38tys.js → provider-21r38tys.js} +1 -1
- package/dist/chunks/{integration-6h73sxmp.js → provider-2402vzrj.js} +5 -5
- package/dist/chunks/{integration-z63w68vq.js → provider-29x78va6.js} +6 -6
- package/dist/chunks/{integration-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-9gea571p.js → provider-2a6rn6yr.js} +6 -6
- package/dist/chunks/{integration-drmyzd20.js → provider-2hd5d5xt.js} +32 -32
- package/dist/chunks/{integration-tx47f3yx.js → provider-2p6av61j.js} +17 -17
- package/dist/chunks/{integration-xsgk3b13.js → provider-2q8c0gm7.js} +9 -9
- package/dist/chunks/{integration-xgghj434.js → provider-2sfvcfsn.js} +6 -6
- package/dist/chunks/{integration-j2sam9jv.js → provider-2sraqb63.js} +2 -2
- package/dist/chunks/{integration-6cv9b742.js → provider-2tw8fa6w.js} +2 -2
- package/dist/chunks/{integration-shkdv626.js → provider-34v9mh2z.js} +14 -14
- package/dist/chunks/{integration-7539fxrp.js → provider-351g3160.js} +3 -3
- package/dist/chunks/{integration-ch54p1a9.js → provider-37y816cy.js} +18 -18
- package/dist/chunks/{integration-3wqt5zad.js → provider-38kvz03f.js} +35 -35
- package/dist/chunks/{integration-fwdrt8y0.js → provider-3ck6fvg6.js} +26 -26
- package/dist/chunks/{integration-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-grt2chjq.js → provider-3gdftj2q.js} +69 -69
- package/dist/chunks/{integration-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-dw76zyaf.js → provider-3y2ngnym.js} +16 -16
- package/dist/chunks/{integration-nn34bpja.js → provider-4c30dr7a.js} +3 -3
- package/dist/chunks/{integration-5mtzsd3b.js → provider-4dgbcxzg.js} +4 -4
- package/dist/chunks/{integration-jx3wypgw.js → provider-4g86yzmg.js} +21 -21
- package/dist/chunks/{integration-fjhejfvr.js → provider-4m1f7c2g.js} +31 -31
- package/dist/chunks/{integration-zeh3qhes.js → provider-4z99h2j9.js} +34 -34
- package/dist/chunks/{integration-qj7wvw4x.js → provider-54ttrj93.js} +43 -43
- package/dist/chunks/{integration-a1bz86dw.js → provider-5c4hm403.js} +3 -3
- package/dist/chunks/{integration-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-m023722w.js → provider-5npzb8nr.js} +19 -19
- package/dist/chunks/{integration-t7hd99dg.js → provider-5sf0enm2.js} +16 -16
- package/dist/chunks/{integration-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-ag2gfn9f.js → provider-5vcg79ee.js} +5 -5
- package/dist/chunks/{integration-3wh0psgk.js → provider-5yqhmvcr.js} +37 -37
- package/dist/chunks/{integration-xtg1xd5n.js → provider-5zwdrvn4.js} +77 -77
- package/dist/chunks/{integration-wm4ff12p.js → provider-667yc4c2.js} +51 -51
- package/dist/chunks/{integration-669tq793.js → provider-669tq793.js} +1 -1
- package/dist/chunks/{integration-xcm9a8eq.js → provider-67dmnq4v.js} +9 -9
- package/dist/chunks/{integration-e7190871.js → provider-6cdpcxhv.js} +17 -17
- package/dist/chunks/{integration-69z0jng6.js → provider-6e4qnhr8.js} +6 -6
- package/dist/chunks/{integration-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-b8szb91g.js → provider-6pwmqge3.js} +9 -9
- package/dist/chunks/{integration-x2ehjnaf.js → provider-72376wrz.js} +4 -4
- package/dist/chunks/{integration-4z9gzs34.js → provider-729zp0dx.js} +20 -20
- package/dist/chunks/{integration-jtazzn7t.js → provider-76p4c97e.js} +12 -12
- package/dist/chunks/{integration-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-t0fxg8b9.js → provider-7bmx80wk.js} +5 -5
- package/dist/chunks/{integration-7dqw4kz8.js → provider-7dqw4kz8.js} +1 -1
- package/dist/chunks/{integration-yf4y1y8p.js → provider-7k1xech5.js} +12 -12
- package/dist/chunks/{integration-qgrcs4vk.js → provider-7mhwkgkf.js} +8 -8
- package/dist/chunks/{integration-ck69dtv7.js → provider-7q56wrxt.js} +4 -4
- package/dist/chunks/{integration-4n9c6g4h.js → provider-7qkw4ngt.js} +24 -24
- package/dist/chunks/{integration-y6f0p4jw.js → provider-7w99qc9d.js} +2 -2
- package/dist/chunks/{integration-fkvr2bf4.js → provider-80nc4spm.js} +9 -9
- package/dist/chunks/{integration-dzbr64j7.js → provider-81zyrma5.js} +29 -29
- package/dist/chunks/{integration-kxx7k9ny.js → provider-887z4k6m.js} +27 -27
- package/dist/chunks/{integration-gsw5hfjj.js → provider-88r4h6e3.js} +24 -24
- package/dist/chunks/{integration-7b01gr93.js → provider-8a7sh5jm.js} +13 -13
- package/dist/chunks/{integration-ts4smcrt.js → provider-8b2r4c2a.js} +11 -11
- package/dist/chunks/{integration-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-ndx5r91v.js → provider-8ke5vzqq.js} +1 -1
- package/dist/chunks/{integration-ctv3sctt.js → provider-8m9ckcb3.js} +3 -3
- package/dist/chunks/{integration-jdksn0k6.js → provider-8r5fzj69.js} +23 -23
- package/dist/chunks/{integration-by3dbgkm.js → provider-8xvmqg79.js} +2 -2
- package/dist/chunks/{integration-tj7ekckq.js → provider-91g84dh8.js} +58 -58
- package/dist/chunks/{integration-717hbd2e.js → provider-9a3rawad.js} +12 -12
- package/dist/chunks/{integration-7t1qjft4.js → provider-9sbrwvac.js} +18 -18
- package/dist/chunks/{integration-qxrjxyb1.js → provider-9vsnydsb.js} +10 -10
- package/dist/chunks/{integration-fhs97t90.js → provider-9wpgsbre.js} +9 -9
- package/dist/chunks/{integration-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-wx2t9nyy.js → provider-actjby0x.js} +23 -23
- package/dist/chunks/{integration-07kph379.js → provider-aj1d5q5j.js} +3 -3
- package/dist/chunks/{integration-w6yx7at2.js → provider-awdcnpvv.js} +30 -30
- package/dist/chunks/{integration-0g7z141f.js → provider-b5x7220n.js} +12 -12
- package/dist/chunks/{integration-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-0v53mg2y.js → provider-bct739vz.js} +4 -4
- package/dist/chunks/{integration-ptz1vvyt.js → provider-bmwcfc8x.js} +26 -26
- package/dist/chunks/{integration-0p29q02t.js → provider-bnyd0tae.js} +21 -21
- package/dist/chunks/{integration-jrpnwa23.js → provider-brwwdzr5.js} +5 -5
- package/dist/chunks/{integration-tdf9xhep.js → provider-byyezdhj.js} +7 -7
- package/dist/chunks/{integration-60438fy7.js → provider-cg1g2n28.js} +14 -14
- package/dist/chunks/{integration-361zbcwc.js → provider-cm7tjn9h.js} +11 -11
- package/dist/chunks/{integration-wgz7hchk.js → provider-cnkj3bkk.js} +6 -6
- package/dist/chunks/{integration-mfhfdr54.js → provider-csf2jhsg.js} +4 -4
- package/dist/chunks/{integration-vgn02gcn.js → provider-cxvz4c6f.js} +24 -24
- package/dist/chunks/{integration-3jqnyahm.js → provider-cynhgza1.js} +4 -4
- package/dist/chunks/{integration-whsap9g4.js → provider-d683g0r8.js} +9 -9
- package/dist/chunks/{integration-yybj5cwe.js → provider-d8rms5sb.js} +9 -9
- package/dist/chunks/{integration-xxhb4jr7.js → provider-d9s573fh.js} +9 -9
- package/dist/chunks/{integration-nej4p9g1.js → provider-dcykxfvx.js} +22 -22
- package/dist/chunks/{integration-8p4f9s12.js → provider-dj2t23y0.js} +2 -2
- package/dist/chunks/{integration-d51kj8va.js → provider-dj316k4n.js} +17 -17
- package/dist/chunks/{integration-75ks8wpd.js → provider-drdkww6h.js} +8 -8
- package/dist/chunks/{integration-k06s6pez.js → provider-ds9fva7f.js} +19 -19
- package/dist/chunks/{integration-1svwp2zq.js → provider-dwn3ee68.js} +15 -15
- package/dist/chunks/{integration-tv6v1fw0.js → provider-e2v82dka.js} +15 -15
- package/dist/chunks/{integration-n7gd6fv3.js → provider-e38px6ch.js} +8 -8
- package/dist/chunks/{integration-5qd3pb7m.js → provider-e3qxr5gk.js} +2 -2
- package/dist/chunks/{integration-fp13m9d9.js → provider-e9a3e76h.js} +12 -12
- package/dist/chunks/{integration-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-rhmz26db.js → provider-eg8s060n.js} +20 -20
- package/dist/chunks/{integration-hgytqh36.js → provider-ejmhj0m2.js} +13 -13
- package/dist/chunks/{integration-06j1jany.js → provider-enbew5pp.js} +17 -17
- package/dist/chunks/{integration-qj0280db.js → provider-ep4ghje0.js} +10 -10
- package/dist/chunks/{integration-erw5rpbs.js → provider-erw5rpbs.js} +2 -2
- package/dist/chunks/{integration-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-es74qn32.js → provider-eymf4g3t.js} +9 -9
- package/dist/chunks/{integration-wk3yr6fy.js → provider-f3n8kt47.js} +20 -20
- package/dist/chunks/{integration-ngnbq9bc.js → provider-f466az3m.js} +4 -4
- package/dist/chunks/{integration-ght2kap4.js → provider-f9y7tnx7.js} +5 -5
- package/dist/chunks/{integration-s12geb02.js → provider-fd13sxf6.js} +12 -12
- package/dist/chunks/{integration-mnaavyqg.js → provider-fkdcvybx.js} +32 -32
- package/dist/chunks/{integration-zq6stcrg.js → provider-fqj9nv8j.js} +8 -8
- package/dist/chunks/{integration-gamnghgg.js → provider-ftrz1f8n.js} +10 -10
- package/dist/chunks/{integration-qzes1frq.js → provider-fva1abr5.js} +7 -7
- package/dist/chunks/{integration-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-5q352ksx.js → provider-fy6z0q13.js} +3 -3
- package/dist/chunks/{integration-by9h9y0p.js → provider-fygkmg88.js} +29 -29
- package/dist/chunks/{integration-5xtgfte3.js → provider-g0445xdp.js} +6 -6
- package/dist/chunks/{integration-f6ekd8xv.js → provider-ga5vg9fv.js} +1 -1
- package/dist/chunks/{integration-1wbhvsa0.js → provider-gagp2ybg.js} +27 -27
- package/dist/chunks/{integration-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-424g7dr0.js → provider-gs0zj1fa.js} +41 -41
- package/dist/chunks/{integration-bscb95cy.js → provider-gzbkpp9m.js} +4 -4
- package/dist/chunks/{integration-dw8gz3mq.js → provider-h4v1hw2f.js} +13 -13
- package/dist/chunks/{integration-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/provider-h7j2c3yy.js +26 -0
- package/dist/chunks/{integration-a89e0tac.js → provider-h90v2x9d.js} +4 -4
- package/dist/chunks/{integration-w0t5mfte.js → provider-hafdg6x7.js} +35 -35
- package/dist/chunks/{integration-f828m53h.js → provider-hdnk95c8.js} +2 -2
- package/dist/chunks/{integration-s40zj2kv.js → provider-hhbk8mpt.js} +17 -17
- package/dist/chunks/{integration-gv9r9ztf.js → provider-hyybwahv.js} +22 -22
- package/dist/chunks/{integration-r5x6zcsm.js → provider-j028xdjb.js} +3 -3
- package/dist/chunks/{integration-6hs98t9x.js → provider-j14a3kcd.js} +13 -13
- package/dist/chunks/{integration-an5bmsq0.js → provider-j22bfhxa.js} +8 -8
- package/dist/chunks/{integration-bh0zzf2s.js → provider-j4g63x3f.js} +8 -8
- package/dist/chunks/{integration-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-d2aac7k2.js → provider-jwbqhvyy.js} +5 -5
- package/dist/chunks/{integration-nzks3jc8.js → provider-k3c624dm.js} +3 -3
- package/dist/chunks/{integration-99a1yfw0.js → provider-k3kkjkzr.js} +13 -13
- package/dist/chunks/{integration-8ybgfkrt.js → provider-kb20yxx5.js} +11 -11
- package/dist/chunks/{integration-ps9hb5ct.js → provider-kdqk7nms.js} +11 -11
- package/dist/chunks/{integration-hyfj73c0.js → provider-kj5jsdb7.js} +47 -47
- package/dist/chunks/{integration-wk7afg2y.js → provider-knkst9z5.js} +30 -30
- package/dist/chunks/{integration-h71w788e.js → provider-kp8q1t60.js} +8 -8
- package/dist/chunks/{integration-7ejxwnn2.js → provider-kpt0jdz6.js} +23 -23
- package/dist/chunks/{integration-cfpkc3c9.js → provider-m0jqrx5p.js} +2 -2
- package/dist/chunks/{integration-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-pjgwjwxs.js → provider-m4t7fw5x.js} +11 -11
- package/dist/chunks/{integration-x0jthw69.js → provider-m7nn889r.js} +43 -43
- package/dist/chunks/{integration-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-7drzedwa.js → provider-mdyjdwxf.js} +40 -40
- package/dist/chunks/{integration-mfqp6xfm.js → provider-mfqp6xfm.js} +2 -2
- package/dist/chunks/{integration-036p5t1s.js → provider-mh1qkymb.js} +4 -4
- package/dist/chunks/{integration-qtzk0ftm.js → provider-mh5wyt4r.js} +20 -20
- package/dist/chunks/{integration-zqx8wcya.js → provider-mmr7bq34.js} +6 -6
- package/dist/chunks/{integration-3vp2enxy.js → provider-mpvph0fb.js} +11 -11
- package/dist/chunks/{integration-2cse4yyr.js → provider-mr9xcrcq.js} +1 -1
- package/dist/chunks/{integration-zqsm83yf.js → provider-mt181yvh.js} +11 -11
- package/dist/chunks/{integration-t09rmbfd.js → provider-mwp3erwx.js} +30 -30
- package/dist/chunks/{integration-m2ygz4rv.js → provider-mz9p79zm.js} +18 -18
- package/dist/chunks/{integration-n1nc45vm.js → provider-n69ejct9.js} +13 -13
- package/dist/chunks/{integration-pqt18mke.js → provider-nctzvp07.js} +6 -6
- package/dist/chunks/{integration-sz7h0m66.js → provider-nn8rne3z.js} +25 -25
- package/dist/chunks/{integration-b09hzw3k.js → provider-nng2ktcm.js} +2 -2
- package/dist/chunks/{integration-2mja353d.js → provider-nsk5ek41.js} +5 -5
- package/dist/chunks/{integration-4tem132z.js → provider-nwsdknbg.js} +16 -16
- package/dist/chunks/{integration-ab9238g2.js → provider-p0b4ytnr.js} +4 -4
- package/dist/chunks/{integration-p28j5sbe.js → provider-p28j5sbe.js} +2 -2
- package/dist/chunks/{integration-bcxedjzd.js → provider-p8qz4fmk.js} +1 -1
- package/dist/chunks/{integration-f35xt7k7.js → provider-phh6jpcy.js} +11 -11
- package/dist/chunks/{integration-wxfef5f7.js → provider-pjbk54rp.js} +23 -23
- package/dist/chunks/{integration-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{integration-bgxcxs0p.js → provider-psbrwbtd.js} +5 -5
- package/dist/chunks/{integration-c73rdsyt.js → provider-q43a4jj4.js} +9 -9
- package/dist/chunks/{integration-wsh21s13.js → provider-qahhm8db.js} +33 -33
- package/dist/chunks/{integration-fepr4w5j.js → provider-qh2stzd9.js} +19 -19
- package/dist/chunks/{integration-egjdmc9a.js → provider-qq9garkb.js} +37 -37
- package/dist/chunks/{integration-qqeeq2t9.js → provider-qqeeq2t9.js} +1 -1
- package/dist/chunks/{integration-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-hnv6c5tt.js → provider-qwd61y7s.js} +5 -5
- package/dist/chunks/{integration-2g1kg6mf.js → provider-r4xt06hn.js} +11 -11
- package/dist/chunks/{integration-hsrp58xj.js → provider-r963ve15.js} +11 -11
- package/dist/chunks/{integration-4f6d0pew.js → provider-rdkgddmz.js} +20 -20
- package/dist/chunks/{integration-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-cwa6csj7.js → provider-rey5gbxv.js} +9 -9
- package/dist/chunks/{integration-hzds88te.js → provider-rj0ypf2k.js} +17 -17
- package/dist/chunks/{integration-aawn6y2n.js → provider-rjcfzdhg.js} +21 -21
- package/dist/chunks/{integration-ex9wjj40.js → provider-rmbwqpd3.js} +19 -19
- package/dist/chunks/{integration-zeh9ct20.js → provider-rq775frq.js} +2 -2
- package/dist/chunks/{integration-tv8kvtrg.js → provider-rsc2j7te.js} +15 -15
- package/dist/chunks/{integration-7v9j4tg8.js → provider-rscy38nb.js} +14 -14
- package/dist/chunks/{integration-y3htf95n.js → provider-rvm9em84.js} +3 -3
- package/dist/chunks/{integration-5d5383gp.js → provider-s0hza5ac.js} +4 -4
- package/dist/chunks/{integration-yrznvahk.js → provider-s4enseaf.js} +2 -2
- package/dist/chunks/{integration-bje2awg5.js → provider-s6cyt6ak.js} +15 -15
- package/dist/chunks/{integration-cq37gk0t.js → provider-sdbkfcvv.js} +4 -4
- package/dist/chunks/{integration-jw80jp6b.js → provider-t51qk8jz.js} +21 -21
- package/dist/chunks/{integration-rhjbct0v.js → provider-t550f9t1.js} +4 -4
- package/dist/chunks/{integration-bk2n1gvf.js → provider-t5a1ectr.js} +34 -34
- package/dist/chunks/{integration-xfwam4t6.js → provider-t5kkkbc4.js} +22 -22
- package/dist/chunks/{integration-e2hjzebn.js → provider-t7n9q6bq.js} +4 -4
- package/dist/chunks/{integration-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{integration-31vv3fx1.js → provider-tfyty9ze.js} +17 -17
- package/dist/chunks/{integration-mvef3yxd.js → provider-tgv2tnbf.js} +32 -32
- package/dist/chunks/{integration-d892zs75.js → provider-tjqem147.js} +23 -23
- package/dist/chunks/{integration-y3egp4dd.js → provider-tq1x5cnr.js} +9 -9
- package/dist/chunks/{integration-fch79rh9.js → provider-ts2x07a1.js} +1 -1
- package/dist/chunks/{integration-tvtrv512.js → provider-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-g49fastt.js → provider-txcxdz33.js} +15 -15
- package/dist/chunks/provider-v1faaxn9.js +18 -0
- package/dist/chunks/{integration-984xje6x.js → provider-v1q7vfww.js} +9 -9
- package/dist/chunks/{integration-b5y8n1e6.js → provider-v4x1eedp.js} +26 -26
- package/dist/chunks/{integration-5jg9j8z5.js → provider-v5fds5j5.js} +36 -36
- package/dist/chunks/{integration-71xbqxp3.js → provider-vakcje41.js} +17 -17
- package/dist/chunks/{integration-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-ayfk1h0n.js → provider-vhmx8meg.js} +84 -84
- package/dist/chunks/{integration-1jb3t5y8.js → provider-vsd9rkc3.js} +44 -44
- package/dist/chunks/{integration-hynrrzr9.js → provider-vxx6ayt4.js} +18 -18
- package/dist/chunks/{integration-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-efwc84nf.js → provider-w1f0rjtr.js} +14 -14
- package/dist/chunks/{integration-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-wpm2rk0p.js → provider-w4axh9wz.js} +4 -4
- package/dist/chunks/{integration-mx4e50pb.js → provider-w4qe0sa0.js} +4 -4
- package/dist/chunks/{integration-03e5bnrk.js → provider-w8jt0a6r.js} +11 -11
- package/dist/chunks/{integration-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{integration-3e9gt9pq.js → provider-wsdt1w6c.js} +24 -20
- package/dist/chunks/{integration-zkf5jky9.js → provider-wtkpzfnv.js} +1 -1
- package/dist/chunks/{integration-02sqwze2.js → provider-wvf0gkq1.js} +20 -20
- package/dist/chunks/{integration-g98kts4v.js → provider-x1az8410.js} +27 -27
- package/dist/chunks/{integration-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-s1yskcg0.js → provider-xc59sqye.js} +26 -26
- package/dist/chunks/{integration-qcwz4p84.js → provider-xc81b6ma.js} +32 -32
- package/dist/chunks/{integration-fjmxef0p.js → provider-xm667kcd.js} +11 -11
- package/dist/chunks/{integration-n72gnw9z.js → provider-xpyadjc6.js} +8 -8
- package/dist/chunks/{integration-8bnawm75.js → provider-xsrj88ys.js} +31 -31
- package/dist/chunks/{integration-qbatz9s3.js → provider-xth1q62c.js} +23 -23
- package/dist/chunks/{integration-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-c96f455v.js → provider-y35pc762.js} +11 -11
- package/dist/chunks/{integration-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{integration-1acjjqhc.js → provider-yp2x3t23.js} +4 -4
- package/dist/chunks/{integration-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-gv6a8nnw.js → provider-yyb7tjpc.js} +2 -2
- package/dist/chunks/{integration-d25378pd.js → provider-yymhtj63.js} +4 -4
- package/dist/chunks/{integration-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-cwa84xdc.js → provider-zjv98bwp.js} +23 -23
- package/dist/chunks/{integration-bfsnneva.js → provider-zpx63w9z.js} +15 -15
- package/dist/chunks/{integration-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-1ksm7rsz.js → provider-zzdnm867.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +76 -76
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +101 -101
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/integration-0jswa73q.js +0 -26
- package/dist/chunks/integration-4v7qdvcn.js +0 -18
- package/dist/chunks/integration-fnc9qs28.js +0 -252
- /package/dist/chunks/{integration-0mesazry.js → provider-0mesazry.js} +0 -0
- /package/dist/chunks/{integration-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → provider-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → provider-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-mt181yvh.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./integration-dw76zyaf.js";
|
|
8
|
+
} from "./provider-3y2ngnym.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./provider-rj0ypf2k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service47,
|
|
15
|
+
node49
|
|
16
|
+
} from "./provider-2a6rn6yr.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./provider-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service45
|
|
26
|
+
} from "./provider-t7n9q6bq.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-v1q7vfww.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service57,
|
|
32
|
+
node59
|
|
33
|
+
} from "./provider-2p6av61j.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-f466az3m.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./provider-awdcnpvv.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./provider-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service44,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer18,
|
|
50
|
+
node: () => node47,
|
|
51
|
+
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service44 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service57;
|
|
70
|
+
const instances = yield* Service47;
|
|
71
|
+
const bus = yield* Service82;
|
|
72
|
+
const jobs = yield* Service50;
|
|
73
|
+
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make16({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service44.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node47 = makeGlobalNode({
|
|
133
|
+
service: Service44,
|
|
134
|
+
layer: layer18,
|
|
135
|
+
deps: [node59, node49, node86, node87, node52]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service44, terminal2, layer18, node47, noopLayer2, exports_execution };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./provider-76p4c97e.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-gebd4c9n.js";
|
|
11
|
+
import {
|
|
12
|
+
Service83,
|
|
13
|
+
node87
|
|
14
|
+
} from "./provider-mt181yvh.js";
|
|
11
15
|
import {
|
|
12
16
|
Service82,
|
|
13
17
|
node86
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
Service81,
|
|
17
|
-
node85
|
|
18
|
-
} from "./integration-dw76zyaf.js";
|
|
18
|
+
} from "./provider-3y2ngnym.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID17,
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./provider-vsd9rkc3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Ref4
|
|
31
|
+
} from "./provider-6cdpcxhv.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service51,
|
|
34
|
+
node53
|
|
35
|
+
} from "./provider-phh6jpcy.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./provider-yyb7tjpc.js";
|
|
40
40
|
import {
|
|
41
41
|
make15
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./provider-1p7te6jw.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service38
|
|
45
|
+
} from "./provider-qh2stzd9.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./provider-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -60,12 +60,12 @@ __export(exports_worktree2, {
|
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service37,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node40
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -83,7 +83,7 @@ var Info5 = Worktree.Info;
|
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -96,20 +96,20 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
96
96
|
}
|
|
97
97
|
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service37 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service51;
|
|
108
108
|
const gitStrategy = yield* make15;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -118,9 +118,9 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
if (current?.directory === directory)
|
|
119
119
|
return current.get();
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
|
-
const context = yield* locations.contextEffect(
|
|
121
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service38).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service37.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node40 = Node.makeGlobalNode({
|
|
265
|
+
service: Service37,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node53]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service37, node40, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin40 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin42 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin40, exports_opencode };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node82,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service78 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service78.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node82 = configured11();
|
|
213
213
|
|
|
214
|
-
export { Options10,
|
|
214
|
+
export { Options10, Service78, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node82, exports_select };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-qqeeq2t9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-m4t7fw5x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./provider-3y2ngnym.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-0p838j47.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-37y816cy.js";
|
|
15
15
|
import {
|
|
16
16
|
ID12
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-3ck6fvg6.js";
|
|
18
18
|
import {
|
|
19
19
|
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-mwp3erwx.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
30
|
var providerID = ID12.make("digitalocean");
|
|
31
|
-
var integrationID =
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-fy6z0q13.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-rvm9em84.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service83,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node87 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|