@opencode-ai/core 0.0.0-dev-19121 → 0.0.0-dev-19127
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/catalog.js +82 -82
- package/dist/chunks/{location-mutation-0h1823wr.js → worktree-07pb8kpb.js} +31 -31
- package/dist/chunks/{location-mutation-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-mutation-4mws4vra.js → worktree-0j3xhtmk.js} +11 -11
- package/dist/chunks/{location-mutation-qxj5q7gc.js → worktree-0p7j8w0y.js} +18 -18
- package/dist/chunks/{location-mutation-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-mutation-w9xrf1e2.js → worktree-0smgnv34.js} +28 -28
- package/dist/chunks/{location-mutation-ve4pfa0n.js → worktree-0v53mg2y.js} +4 -4
- package/dist/chunks/{location-mutation-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-mutation-at5d07az.js → worktree-1g7epwpd.js} +7 -7
- package/dist/chunks/{location-mutation-wkpm2t5g.js → worktree-1kgee81n.js} +22 -22
- package/dist/chunks/{location-mutation-8z5rgnjd.js → worktree-1w4xw7v2.js} +5 -5
- package/dist/chunks/{location-mutation-6e958v7x.js → worktree-1z80kc63.js} +8 -8
- package/dist/chunks/{location-mutation-pt7wq7x0.js → worktree-20f0bv4c.js} +1 -1
- package/dist/chunks/{location-mutation-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-a8pydxdv.js → worktree-29ag4y59.js} +1 -1
- package/dist/chunks/{location-mutation-ae9mband.js → worktree-29j5p4n1.js} +21 -21
- package/dist/chunks/{location-mutation-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-0pdnz7ef.js → worktree-2b5y26a6.js} +22 -22
- package/dist/chunks/{location-mutation-xsrpbzp3.js → worktree-2fxazh8e.js} +7 -7
- package/dist/chunks/{location-mutation-2afxnevg.js → worktree-2gbvb2bw.js} +29 -29
- package/dist/chunks/{location-mutation-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-mutation-2jqmte8w.js → worktree-2jqmte8w.js} +2 -2
- package/dist/chunks/{location-mutation-jph4yfm0.js → worktree-2sj4fdt9.js} +13 -13
- package/dist/chunks/{location-mutation-jn8mbdkr.js → worktree-2y1298cj.js} +11 -11
- package/dist/chunks/{location-mutation-zwtzvvjx.js → worktree-2zas9gbe.js} +8 -8
- package/dist/chunks/{location-mutation-exqkd66q.js → worktree-31smg5a1.js} +27 -27
- package/dist/chunks/{location-mutation-mr8pv455.js → worktree-3c8r10gh.js} +29 -29
- package/dist/chunks/{location-mutation-wdq06wjp.js → worktree-3dn5hj4c.js} +42 -42
- package/dist/chunks/{location-mutation-gwkvhn1a.js → worktree-3evspstc.js} +33 -33
- package/dist/chunks/{location-mutation-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-mutation-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-711hfp6y.js → worktree-3x6030n9.js} +2 -2
- package/dist/chunks/{location-mutation-r0msr716.js → worktree-3zhxwkvq.js} +4 -4
- package/dist/chunks/{location-mutation-zydyd6ns.js → worktree-42p0v5ym.js} +11 -11
- package/dist/chunks/{location-mutation-454k5vzh.js → worktree-454k5vzh.js} +1 -1
- package/dist/chunks/{location-mutation-5mhvc9ws.js → worktree-49vq2kar.js} +17 -17
- package/dist/chunks/{location-mutation-1ccfr7s1.js → worktree-4bprzw4y.js} +10 -10
- package/dist/chunks/{location-mutation-twg9q6d2.js → worktree-4g66vddf.js} +17 -17
- package/dist/chunks/{location-mutation-ws4s5fz4.js → worktree-4mmznj6z.js} +18 -18
- package/dist/chunks/{location-mutation-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-mutation-5rg6taer.js → worktree-4sn8tp63.js} +51 -51
- package/dist/chunks/{location-mutation-sd27yh2r.js → worktree-4tmbv016.js} +5 -5
- package/dist/chunks/{location-mutation-5zgn512j.js → worktree-4wfsa8nd.js} +28 -28
- package/dist/chunks/{location-mutation-9v1bmnwj.js → worktree-4yv6mxgz.js} +13 -13
- package/dist/chunks/{location-mutation-2w6bfmvf.js → worktree-54pzd82t.js} +1 -1
- package/dist/chunks/{location-mutation-78k4jgfg.js → worktree-5cvw65fn.js} +14 -14
- package/dist/chunks/{location-mutation-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-2t2f1f7r.js → worktree-5en164k9.js} +26 -26
- package/dist/chunks/{location-mutation-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-mutation-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-mutation-gk9cwknp.js → worktree-5nma5gje.js} +80 -80
- package/dist/chunks/{location-mutation-zqg3qsz2.js → worktree-5nsa7yyd.js} +4 -4
- package/dist/chunks/{location-mutation-s9d88b2t.js → worktree-5wnwz8xt.js} +25 -25
- package/dist/chunks/{location-mutation-rsp2kejy.js → worktree-5xvmhwfz.js} +13 -13
- package/dist/chunks/{location-mutation-z954rzej.js → worktree-69rwnehh.js} +38 -38
- package/dist/chunks/{location-mutation-h0z9htzn.js → worktree-6et5ytx9.js} +15 -15
- package/dist/chunks/{location-mutation-0b89de78.js → worktree-6h5wf9jw.js} +5 -5
- package/dist/chunks/{location-mutation-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-mutation-ext0y26q.js → worktree-6hwsp9rp.js} +7 -7
- package/dist/chunks/{location-mutation-6tf8tr4v.js → worktree-6tf8tr4v.js} +2 -2
- package/dist/chunks/{location-mutation-6cb6478y.js → worktree-6v7y7cpm.js} +22 -22
- package/dist/chunks/{location-mutation-jdpn2m95.js → worktree-6wghtbd2.js} +34 -34
- package/dist/chunks/{location-mutation-bjg9h0sq.js → worktree-6wj53xsq.js} +24 -24
- package/dist/chunks/{location-mutation-jd8mn5p2.js → worktree-72ba6k3m.js} +18 -18
- package/dist/chunks/{location-mutation-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/worktree-7cp4ry1k.js +287 -0
- package/dist/chunks/{location-mutation-xny6jqhd.js → worktree-7d2aw3e3.js} +34 -34
- package/dist/chunks/{location-mutation-q18qpsh3.js → worktree-7mytx01w.js} +11 -11
- package/dist/chunks/{location-mutation-bb7r8rxx.js → worktree-7qj04hrz.js} +18 -18
- package/dist/chunks/{location-mutation-y5j2xpyk.js → worktree-7xxecjwg.js} +13 -13
- package/dist/chunks/{location-mutation-1bbkgx8g.js → worktree-7yh4e7ss.js} +3 -3
- package/dist/chunks/worktree-7zk4hah4.js +4 -0
- package/dist/chunks/{location-mutation-gm8tpq3e.js → worktree-82fdsyf2.js} +13 -13
- package/dist/chunks/{location-mutation-bjjsq4aq.js → worktree-82x71rga.js} +5 -5
- package/dist/chunks/{location-mutation-aj7d9r5a.js → worktree-83qwmgqm.js} +3 -3
- package/dist/chunks/{location-mutation-nf2cw6d6.js → worktree-88nptzkr.js} +20 -20
- package/dist/chunks/{location-mutation-tbhbzg6j.js → worktree-8wym8frv.js} +10 -10
- package/dist/chunks/{location-mutation-ddbs5teb.js → worktree-8xgxcjcn.js} +9 -9
- package/dist/chunks/{location-mutation-prk0e8fy.js → worktree-9bw48xmn.js} +9 -9
- package/dist/chunks/{location-mutation-x06whm69.js → worktree-9f19bpvx.js} +11 -11
- package/dist/chunks/{location-mutation-mtan077r.js → worktree-9krmjq1n.js} +21 -21
- package/dist/chunks/{location-mutation-ms7jfr1m.js → worktree-9mtsqb4m.js} +9 -9
- package/dist/chunks/{location-mutation-k3wca5q4.js → worktree-9nm8q0yy.js} +19 -19
- package/dist/chunks/{location-mutation-babry5yc.js → worktree-9qp61pn5.js} +7 -7
- package/dist/chunks/{location-mutation-m2v22qsj.js → worktree-9xsj0av3.js} +15 -15
- package/dist/chunks/{location-mutation-v6v8agnt.js → worktree-a4aqgtnw.js} +14 -14
- package/dist/chunks/{location-mutation-kx2gvdct.js → worktree-a615ws19.js} +4 -4
- package/dist/chunks/{location-mutation-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-knkbq3q0.js → worktree-ajfqwzkq.js} +17 -17
- package/dist/chunks/{location-mutation-zt4xbacx.js → worktree-apj70vts.js} +26 -26
- package/dist/chunks/{location-mutation-mjncxbbh.js → worktree-awaee7qt.js} +4 -4
- package/dist/chunks/{location-mutation-hxsqza2t.js → worktree-azf71mx9.js} +26 -26
- package/dist/chunks/{location-mutation-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-zt4v7pfa.js → worktree-b74frvq1.js} +19 -19
- package/dist/chunks/{location-mutation-hp5x85jt.js → worktree-b77can33.js} +23 -23
- package/dist/chunks/{location-mutation-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-mutation-gsegsdbx.js → worktree-ba723ajb.js} +8 -8
- package/dist/chunks/{location-mutation-encdknep.js → worktree-bd9qgwvn.js} +10 -10
- package/dist/chunks/{location-mutation-bcezcar3.js → worktree-bphmvjfp.js} +5 -5
- package/dist/chunks/{location-mutation-0nwt5npc.js → worktree-bpnz08mb.js} +2 -2
- package/dist/chunks/{location-mutation-na3y75gh.js → worktree-br6sczns.js} +5 -5
- package/dist/chunks/{location-mutation-zr94hr5w.js → worktree-c0yt6e2w.js} +20 -20
- package/dist/chunks/{location-mutation-rvb2zp0m.js → worktree-c59j91nj.js} +8 -8
- package/dist/chunks/{location-mutation-9jb7v9hr.js → worktree-cbg10t4h.js} +18 -18
- package/dist/chunks/worktree-d7f9w1x9.js +460 -0
- package/dist/chunks/{location-mutation-gxvh7thp.js → worktree-dd7td6mt.js} +9 -9
- package/dist/chunks/{location-mutation-tqaejzyn.js → worktree-dhm81sme.js} +8 -8
- package/dist/chunks/{location-mutation-djtdz80w.js → worktree-djtdz80w.js} +1 -1
- package/dist/chunks/{location-mutation-neent8sy.js → worktree-dy7eh092.js} +6 -6
- package/dist/chunks/{location-mutation-1qsrvesq.js → worktree-e582cycx.js} +31 -31
- package/dist/chunks/{location-mutation-2tp8tyg3.js → worktree-e7htmvrr.js} +6 -6
- package/dist/chunks/{location-mutation-zajwd6at.js → worktree-eb218g19.js} +5 -5
- package/dist/chunks/{location-mutation-6kwfy8hq.js → worktree-ef2kmda9.js} +33 -33
- package/dist/chunks/{location-mutation-0qwgmk3c.js → worktree-epeekzmq.js} +11 -11
- package/dist/chunks/{location-mutation-dnfpdc9a.js → worktree-exz4m8c9.js} +8 -8
- package/dist/chunks/{location-mutation-cn0gp01e.js → worktree-eyzja1cm.js} +2 -2
- package/dist/chunks/{location-mutation-ez5b8bq3.js → worktree-ez5b8bq3.js} +1 -1
- package/dist/chunks/{location-mutation-17cx6v33.js → worktree-ezgsx3e1.js} +173 -133
- package/dist/chunks/worktree-f81tjggh.js +18 -0
- package/dist/chunks/{location-mutation-32971pnb.js → worktree-fcskq4rv.js} +20 -20
- package/dist/chunks/{location-mutation-8jxcp26p.js → worktree-febnhwhd.js} +9 -9
- package/dist/chunks/{location-mutation-3wyb35ec.js → worktree-frw08ctd.js} +15 -15
- package/dist/chunks/{location-mutation-sy0cq7x8.js → worktree-fvm8j7w5.js} +3 -3
- package/dist/chunks/{location-mutation-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-fxypknc8.js → worktree-fxypknc8.js} +1 -1
- package/dist/chunks/{location-mutation-1bwaarmf.js → worktree-fzdcx6zp.js} +4 -4
- package/dist/chunks/{location-mutation-n9xwprfq.js → worktree-fzw7m29h.js} +25 -25
- package/dist/chunks/{location-mutation-hrvm11jt.js → worktree-g2dy4bvs.js} +3 -3
- package/dist/chunks/{location-mutation-d72308c8.js → worktree-g2gt0w0k.js} +2 -2
- package/dist/chunks/{location-mutation-ymb94r1y.js → worktree-g98nh968.js} +25 -25
- package/dist/chunks/{location-mutation-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-ecjyhxv0.js → worktree-gdr7j1bt.js} +12 -12
- package/dist/chunks/{location-mutation-vs15gdj7.js → worktree-gnhsmmqn.js} +6 -6
- package/dist/chunks/{location-mutation-kq8qk9j3.js → worktree-gnyxf41d.js} +37 -37
- package/dist/chunks/worktree-gyhyqbn8.js +51 -0
- package/dist/chunks/{location-mutation-7678e2w2.js → worktree-h0gzb6d0.js} +33 -33
- package/dist/chunks/{location-mutation-fy6n5twb.js → worktree-h251kg4e.js} +4 -4
- package/dist/chunks/{location-mutation-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-mutation-ypvj0dvm.js → worktree-hfxzfzkh.js} +11 -11
- package/dist/chunks/{location-mutation-3mrm2hwf.js → worktree-hg85v50s.js} +12 -12
- package/dist/chunks/{location-mutation-93a8yfjt.js → worktree-hhpzk61m.js} +2 -2
- package/dist/chunks/{location-mutation-4g8dp60g.js → worktree-hphh1mqh.js} +6 -6
- package/dist/chunks/worktree-hseaz37p.js +22 -0
- package/dist/chunks/{location-mutation-kvsjn1dr.js → worktree-hw4pv20g.js} +2 -2
- package/dist/chunks/{location-mutation-09qfd5pw.js → worktree-hxj1ftsf.js} +43 -43
- package/dist/chunks/{location-mutation-j11ebv35.js → worktree-hzgckczr.js} +6 -6
- package/dist/chunks/{location-mutation-19teqjg6.js → worktree-j13v3hhd.js} +23 -23
- package/dist/chunks/{location-mutation-5qd3pb7m.js → worktree-j935v87r.js} +2 -2
- package/dist/chunks/{location-mutation-8m0dxkat.js → worktree-jeg1wzkm.js} +20 -20
- package/dist/chunks/{location-mutation-r9r233ve.js → worktree-jj24d615.js} +23 -23
- package/dist/chunks/{location-mutation-3gqhr4wr.js → worktree-jkfky8q3.js} +16 -16
- package/dist/chunks/{location-mutation-wfeyt0dq.js → worktree-jqnpg33r.js} +28 -28
- package/dist/chunks/{location-mutation-fztharvt.js → worktree-jsqeyfz7.js} +9 -9
- package/dist/chunks/{location-mutation-7seg0qzm.js → worktree-jty6k06p.js} +23 -23
- package/dist/chunks/{location-mutation-y71avatq.js → worktree-jwcy2c2z.js} +4 -4
- package/dist/chunks/{location-mutation-7fmqvqpa.js → worktree-k0zpnkm5.js} +6 -6
- package/dist/chunks/{location-mutation-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-mutation-768z0hjh.js → worktree-k53pxrhg.js} +1 -1
- package/dist/chunks/{location-mutation-5k67w2az.js → worktree-k8vjb6ay.js} +11 -11
- package/dist/chunks/{location-mutation-qhkgmvvr.js → worktree-k90gnkqs.js} +4 -4
- package/dist/chunks/{location-mutation-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-yfbd16n1.js → worktree-kk3rr3qh.js} +5 -5
- package/dist/chunks/{location-mutation-ytcv0e2y.js → worktree-krd9vv4w.js} +10 -10
- package/dist/chunks/{location-mutation-ttbkqz8v.js → worktree-kwr684c7.js} +8 -8
- package/dist/chunks/{location-mutation-efv4s0g0.js → worktree-kxpygcw9.js} +4 -4
- package/dist/chunks/{location-mutation-5ynzwv1w.js → worktree-m34jv9e9.js} +46 -46
- package/dist/chunks/{location-mutation-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-em9dwk44.js → worktree-mft52e9q.js} +23 -23
- package/dist/chunks/{location-mutation-h9k9cmfx.js → worktree-mfv0zw27.js} +9 -9
- package/dist/chunks/{location-mutation-5xfzsdsy.js → worktree-mq9r6drf.js} +3 -3
- package/dist/chunks/{location-mutation-rv6p7w22.js → worktree-mqsg15t4.js} +17 -17
- package/dist/chunks/{location-mutation-1hy241bm.js → worktree-myb2qgpw.js} +3 -3
- package/dist/chunks/{location-mutation-wfsrt4xp.js → worktree-mzfb76av.js} +4 -4
- package/dist/chunks/worktree-n2d5dyax.js +44 -0
- package/dist/chunks/{location-mutation-gfgqbam0.js → worktree-n6wnzfnt.js} +7 -7
- package/dist/chunks/{location-mutation-8gqsnzk6.js → worktree-n80g4jjh.js} +24 -24
- package/dist/chunks/{location-mutation-kxdr1kq1.js → worktree-nm4y4jx9.js} +20 -20
- package/dist/chunks/{location-mutation-3jz20tpy.js → worktree-ntg8902r.js} +6 -6
- package/dist/chunks/{location-mutation-yvbvz765.js → worktree-nyxcd74z.js} +64 -64
- package/dist/chunks/{location-mutation-wwyfrmf4.js → worktree-pgyxw42r.js} +17 -17
- package/dist/chunks/{location-mutation-bemx5yka.js → worktree-pjsjk0s1.js} +8 -8
- package/dist/chunks/{location-mutation-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-d1a1bt21.js → worktree-pqzyja0k.js} +5 -5
- package/dist/chunks/{location-mutation-01w7s3hf.js → worktree-pr6tbts8.js} +5 -5
- package/dist/chunks/{location-mutation-ekhhj8pe.js → worktree-qgddfhsy.js} +7 -7
- package/dist/chunks/{location-mutation-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-mutation-rnsf690d.js → worktree-qjzby3tx.js} +9 -9
- package/dist/chunks/{location-mutation-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-9qm9egsn.js → worktree-qvbcabdc.js} +2 -2
- package/dist/chunks/{location-mutation-y3epb4cg.js → worktree-r0cn25ny.js} +20 -20
- package/dist/chunks/{location-mutation-fyfx3mdb.js → worktree-r55jhpps.js} +5 -5
- package/dist/chunks/{location-mutation-qs4avvkb.js → worktree-r7e2cpvk.js} +1 -1
- package/dist/chunks/{location-mutation-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-mutation-h0rsqts8.js → worktree-r91pxxze.js} +25 -25
- package/dist/chunks/{location-mutation-5n6tmmp5.js → worktree-rcb0pfh8.js} +11 -11
- package/dist/chunks/{location-mutation-sykc9y4a.js → worktree-rkdvqggb.js} +5 -5
- package/dist/chunks/{location-mutation-1h561g3c.js → worktree-rpstmqvz.js} +4 -4
- package/dist/chunks/{location-mutation-vbtnabzj.js → worktree-rwbxfc60.js} +21 -21
- package/dist/chunks/{location-mutation-6tkeq6mm.js → worktree-s03q2w7f.js} +3 -3
- package/dist/chunks/{location-mutation-db0e37wd.js → worktree-s2w33hsx.js} +4 -4
- package/dist/chunks/{location-mutation-xamd2zft.js → worktree-s2wbz7a7.js} +17 -17
- package/dist/chunks/{location-mutation-827gjf98.js → worktree-s5cfj0pf.js} +11 -11
- package/dist/chunks/{location-mutation-6z5bwd8g.js → worktree-saak5ttd.js} +6 -6
- package/dist/chunks/{location-mutation-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-mutation-msb8yzxf.js → worktree-sgacr2dd.js} +50 -50
- package/dist/chunks/{location-mutation-737r5hhq.js → worktree-sh04z0x8.js} +21 -21
- package/dist/chunks/{location-mutation-jnmmvqjs.js → worktree-shyhwj25.js} +1 -1
- package/dist/chunks/{location-mutation-cxtts8e7.js → worktree-srfnnwat.js} +11 -11
- package/dist/chunks/{location-mutation-nrznasy4.js → worktree-ss4w76s2.js} +23 -23
- package/dist/chunks/{location-mutation-vy6tdsmf.js → worktree-st20w98z.js} +4 -4
- package/dist/chunks/{location-mutation-wj1cs9x4.js → worktree-sxnj6n1b.js} +34 -34
- package/dist/chunks/{location-mutation-69wmbgv2.js → worktree-t00n1yfv.js} +8 -8
- package/dist/chunks/{location-mutation-6jv2bj4v.js → worktree-t0cpcaxt.js} +81 -81
- package/dist/chunks/{location-mutation-k0h1cen8.js → worktree-t5kq9q4y.js} +5 -5
- package/dist/chunks/{location-mutation-xc28r99p.js → worktree-t9t9eb9x.js} +39 -39
- package/dist/chunks/{location-mutation-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-eepzdbxz.js → worktree-tbvm2gay.js} +17 -17
- package/dist/chunks/{location-mutation-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-bcq4t5vj.js → worktree-tewwsmf9.js} +10 -10
- package/dist/chunks/{location-mutation-nfjw82t9.js → worktree-tj2g3x9x.js} +7 -7
- package/dist/chunks/{location-mutation-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-mutation-jes6det3.js → worktree-tm94gj6d.js} +10 -10
- package/dist/chunks/worktree-tm9s3pka.js +247 -0
- package/dist/chunks/{location-mutation-9aw4ndah.js → worktree-tnpmdmt2.js} +29 -29
- package/dist/chunks/{location-mutation-m1peg48k.js → worktree-tynz9yxk.js} +9 -9
- package/dist/chunks/{location-mutation-0dv7911r.js → worktree-tz4n1mmd.js} +4 -4
- package/dist/chunks/{location-mutation-fpq4fbkk.js → worktree-v158ax8c.js} +4 -4
- package/dist/chunks/{location-mutation-fhx1q6kw.js → worktree-v6wn4dt1.js} +8 -8
- package/dist/chunks/{location-mutation-geemq6eh.js → worktree-vamyydt3.js} +4 -4
- package/dist/chunks/{location-mutation-f608tw31.js → worktree-vdmevm33.js} +15 -15
- package/dist/chunks/{location-mutation-wj7y60vs.js → worktree-vh266f02.js} +10 -10
- package/dist/chunks/{location-mutation-0rag4e4f.js → worktree-vkarzygt.js} +4 -4
- package/dist/chunks/{location-mutation-zrg626nr.js → worktree-vp8eg2he.js} +12 -12
- package/dist/chunks/{location-mutation-q3bvm35g.js → worktree-vxw1g7qw.js} +44 -44
- package/dist/chunks/{location-mutation-x5www9fj.js → worktree-vz7byqd3.js} +19 -19
- package/dist/chunks/{location-mutation-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-c5d63h90.js → worktree-w3z549hn.js} +19 -19
- package/dist/chunks/{location-mutation-yemf1k0t.js → worktree-w55dqc6b.js} +10 -10
- package/dist/chunks/{location-mutation-n9ppk6dm.js → worktree-wa9tkh6m.js} +30 -30
- package/dist/chunks/{location-mutation-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-rnkmxyqk.js → worktree-wjdvdpz4.js} +9 -9
- package/dist/chunks/{location-mutation-rcy6hjed.js → worktree-wr2vm9k3.js} +25 -24
- package/dist/chunks/{location-mutation-crrrqmng.js → worktree-wravm57r.js} +13 -13
- package/dist/chunks/{location-mutation-n6m3vdqa.js → worktree-wxq0g3qc.js} +5 -5
- package/dist/chunks/{location-mutation-psw3c1gx.js → worktree-wyzw6x1k.js} +9 -9
- package/dist/chunks/{location-mutation-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-tkk8z58j.js → worktree-x2fn5dq9.js} +7 -7
- package/dist/chunks/{location-mutation-nfe1n4jc.js → worktree-x91beaw4.js} +6 -6
- package/dist/chunks/{location-mutation-gq5pjjs5.js → worktree-xcetmb4w.js} +13 -13
- package/dist/chunks/{location-mutation-7xfsdta4.js → worktree-xdga9zy9.js} +18 -18
- package/dist/chunks/{location-mutation-qk5jqvf6.js → worktree-xgdpqty1.js} +25 -25
- package/dist/chunks/{location-mutation-e1hrx4vk.js → worktree-xk9th9bm.js} +2 -2
- package/dist/chunks/{location-mutation-tppvcy65.js → worktree-xp0tb8fr.js} +2 -2
- package/dist/chunks/{location-mutation-ar6zppax.js → worktree-xt6nb02x.js} +32 -32
- package/dist/chunks/{location-mutation-0sk6av0w.js → worktree-xv1e9wvn.js} +32 -32
- package/dist/chunks/{location-mutation-hqkh5ptn.js → worktree-xwqf5sbd.js} +22 -22
- package/dist/chunks/{location-mutation-d3vxtdrv.js → worktree-y1a5hjjj.js} +6 -6
- package/dist/chunks/{location-mutation-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-yq6h1dyd.js → worktree-y6jq1b5t.js} +5 -5
- package/dist/chunks/{location-mutation-n7z8rwmy.js → worktree-ye0j7x52.js} +18 -18
- package/dist/chunks/{location-mutation-tkb3hcz3.js → worktree-yfvcbk6c.js} +20 -20
- package/dist/chunks/{location-mutation-ajtjthsy.js → worktree-yg7sb877.js} +2 -2
- package/dist/chunks/{location-mutation-yj3e99fm.js → worktree-yzx6gkfj.js} +1 -1
- package/dist/chunks/{location-mutation-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-mutation-gcegv8bm.js → worktree-z41eree1.js} +20 -20
- package/dist/chunks/{location-mutation-29x78va6.js → worktree-z63w68vq.js} +6 -6
- package/dist/chunks/{location-mutation-9r2wxtzb.js → worktree-ze98nq0k.js} +12 -12
- package/dist/chunks/{location-mutation-eyn7heyk.js → worktree-zk7yqhr9.js} +43 -43
- package/dist/chunks/{location-mutation-nyrmy1z6.js → worktree-zmajwbkt.js} +17 -17
- package/dist/chunks/{location-mutation-x0mkew1p.js → worktree-zsjprd1g.js} +9 -9
- package/dist/chunks/{location-mutation-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +122 -0
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +356 -354
- 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 +88 -88
- 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-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 +220 -217
- 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 +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +349 -347
- package/dist/instruction-discovery.js +79 -79
- 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 +79 -79
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +82 -82
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +346 -344
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- 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 +107 -107
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -210
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +320 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -333
- package/dist/plugin/system-prompt.js +1 -1
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -215
- 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 +80 -80
- package/dist/reference.js +80 -80
- 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 +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +108 -108
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +110 -110
- 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 +15 -15
- package/dist/types/config/plugin/worktree.d.ts +6 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/project/sql.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +3 -0
- package/dist/types/worktree/git.d.ts +1 -1
- package/dist/types/worktree/refresh.d.ts +2 -0
- package/dist/types/worktree.d.ts +22 -36
- 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 +5 -5
- 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 +78 -78
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -0
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +97 -102
- package/package.json +7 -7
- package/dist/chunks/location-mutation-35chk74t.js +0 -4
- package/dist/chunks/location-mutation-4v7qdvcn.js +0 -18
- package/dist/chunks/location-mutation-62ya9kgq.js +0 -243
- package/dist/chunks/location-mutation-jb14a65r.js +0 -450
- package/dist/chunks/location-mutation-m1v38ztw.js +0 -22
- package/dist/chunks/location-mutation-xrrv7eja.js +0 -269
- /package/dist/chunks/{location-mutation-0fabt78z.js → worktree-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3t738kvx.js → worktree-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-41nvscxy.js → worktree-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-982e01ww.js → worktree-982e01ww.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mntxs535.js → worktree-mntxs535.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-mutation-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node81
|
|
4
|
+
} from "./worktree-6hwsp9rp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-1z80kc63.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service28,
|
|
19
|
+
node: () => node32
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode-ai/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service76;
|
|
29
|
-
return
|
|
29
|
+
return Service28.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make20({
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make20({
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service28, node32, exports_builtins };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
12
|
make: () => make18,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node67,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node67 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make18, useragent2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer24, configured11, node67, exports_app };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-c59j91nj.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID11.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID11.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID11.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info12 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info20 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info12, exports_provider2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-6hwsp9rp.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-b74frvq1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin16 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service76;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin16, exports_hg };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./worktree-3dn5hj4c.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin37, exports_policy };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-8xgxcjcn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./worktree-c0yt6e2w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./worktree-xgdpqty1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./worktree-gdr7j1bt.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-n6wnzfnt.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-vamyydt3.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-bphmvjfp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make7
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make7 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service50;
|
|
58
|
+
const toolOutput = yield* Service68;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make6 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make7, exports_step };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-sgacr2dd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin23
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode-ai/ai";
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin23, exports_plan };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-8xgxcjcn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service61,
|
|
8
|
+
node65
|
|
9
|
+
} from "./worktree-07pb8kpb.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-s2wbz7a7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,16 +30,16 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event10,
|
|
34
34
|
ID: () => ID7,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info19,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service59,
|
|
43
43
|
node: () => node63
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event10 } from "@opencode-ai/schema/integration";
|
|
65
65
|
var ID7 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info19 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service59 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service61;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info19.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service59.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -566,9 +566,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
568
|
var node63 = makeLocationNode({
|
|
569
|
-
service:
|
|
569
|
+
service: Service59,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node65, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
574
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service59, node63, exports_integration, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./worktree-3dn5hj4c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./worktree-wyzw6x1k.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin43
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
|
+
const image = yield* Service63;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin24 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin43, exports_image };
|