@opencode-ai/core 0.0.0-dev-19186 → 0.0.0-dev-19190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{bus-434pnv9v.js → app-06szxjx6.js} +39 -39
- package/dist/chunks/{bus-bvxnc9g4.js → app-06wcfzj4.js} +13 -13
- package/dist/chunks/{bus-grcfym27.js → app-083ppshs.js} +34 -34
- package/dist/chunks/{bus-yw9364ag.js → app-09ywgxwg.js} +4 -4
- package/dist/chunks/{bus-ww8c32hp.js → app-0b89de78.js} +5 -5
- package/dist/chunks/{bus-b6rw464e.js → app-0de1cgns.js} +10 -10
- package/dist/chunks/{bus-0e0xafbb.js → app-0e0xafbb.js} +2 -2
- package/dist/chunks/{bus-xt2f3af4.js → app-0fcdsnj3.js} +3 -3
- package/dist/chunks/{bus-sfxm1h0s.js → app-0fkdfe39.js} +2 -2
- package/dist/chunks/{bus-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-rhjckj9y.js → app-0rh3kdcc.js} +5 -5
- package/dist/chunks/{bus-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
- package/dist/chunks/{bus-n0cxab0r.js → app-0szs917b.js} +9 -9
- package/dist/chunks/{bus-bf0ztrs3.js → app-0v53mg2y.js} +4 -4
- package/dist/chunks/{bus-a2ew8a62.js → app-19vf66h0.js} +4 -4
- package/dist/chunks/{bus-1ct4r87x.js → app-1ct4r87x.js} +1 -1
- package/dist/chunks/{bus-83rp9aqa.js → app-1f2ewr5a.js} +17 -17
- package/dist/chunks/{bus-73gvfjg4.js → app-1h24d1wf.js} +58 -58
- package/dist/chunks/{bus-dpm05p3t.js → app-1mp0h602.js} +40 -40
- package/dist/chunks/{bus-pt34y05q.js → app-1n116cmy.js} +9 -9
- package/dist/chunks/{bus-bd7er6gs.js → app-1te7w6sr.js} +1 -1
- package/dist/chunks/{bus-tssjvmgn.js → app-1za47bct.js} +35 -35
- package/dist/chunks/{bus-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{bus-cbjj75jx.js → app-23czx9as.js} +4 -4
- package/dist/chunks/{bus-6h73sxmp.js → app-2402vzrj.js} +5 -5
- package/dist/chunks/{bus-fy69wkfh.js → app-258y7m68.js} +30 -30
- package/dist/chunks/{bus-fyjt0avv.js → app-262p9crn.js} +15 -15
- package/dist/chunks/{bus-dq884360.js → app-26xmsst9.js} +17 -17
- package/dist/chunks/{bus-r0h1m8yn.js → app-29cycmk6.js} +24 -24
- package/dist/chunks/{bus-8hksdbz1.js → app-29s6twc9.js} +32 -32
- package/dist/chunks/{bus-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{bus-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-cmy5y5dg.js → app-2amemfdp.js} +2 -2
- package/dist/chunks/{bus-89bfeqfq.js → app-2bgp9thn.js} +27 -27
- package/dist/chunks/{bus-2ht70gj7.js → app-2ht70gj7.js} +1 -1
- package/dist/chunks/{bus-7dqw4kz8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{bus-1vbp5j7a.js → app-2n0dms42.js} +21 -21
- package/dist/chunks/{bus-hwyf1vhw.js → app-2se7prez.js} +1 -1
- package/dist/chunks/{bus-20ebpt2n.js → app-2tyxyjce.js} +24 -24
- package/dist/chunks/{bus-e07bfndv.js → app-313dwm7m.js} +19 -19
- package/dist/chunks/{bus-ggfsjf2v.js → app-31xg6w4p.js} +1 -1
- package/dist/chunks/{bus-3yq82pb2.js → app-32wwtxgm.js} +1 -1
- package/dist/chunks/{bus-3bsrcfpb.js → app-3329abc6.js} +28 -28
- package/dist/chunks/{bus-x8za3qqf.js → app-33zcyt0h.js} +18 -18
- package/dist/chunks/{bus-ga1h0m9y.js → app-3bsbze2w.js} +5 -5
- package/dist/chunks/{bus-gdvy8fx6.js → app-3fc6dm20.js} +4 -4
- package/dist/chunks/{bus-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-qq0s42pd.js → app-3ke94kzw.js} +9 -9
- package/dist/chunks/{bus-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
- package/dist/chunks/{bus-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-5v4d9t1w.js → app-41a1d24q.js} +7 -7
- package/dist/chunks/{bus-454k5vzh.js → app-454k5vzh.js} +1 -1
- package/dist/chunks/{bus-0xz3dzbq.js → app-4fp4z7gz.js} +20 -20
- package/dist/chunks/{bus-myyr5eq0.js → app-4hqv9kwc.js} +8 -8
- package/dist/chunks/{bus-ztherss1.js → app-4jzx66mv.js} +9 -9
- package/dist/chunks/{bus-4r2nyarf.js → app-4r2nyarf.js} +1 -1
- package/dist/chunks/{bus-gk020jjx.js → app-4v1c8jm7.js} +10 -10
- package/dist/chunks/{bus-5azxvc7x.js → app-4x14arvg.js} +27 -27
- package/dist/chunks/{bus-kf6gbfrb.js → app-523gcqcx.js} +9 -9
- package/dist/chunks/{bus-1xf0k5sv.js → app-59jdw31y.js} +13 -13
- package/dist/chunks/{bus-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
- package/dist/chunks/{bus-9gmnkn1a.js → app-5hpdpzt1.js} +85 -85
- package/dist/chunks/{bus-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
- package/dist/chunks/{bus-0evdvf3m.js → app-5q489hzg.js} +5 -5
- package/dist/chunks/{bus-84vjrsce.js → app-5vnhssj4.js} +30 -30
- package/dist/chunks/{bus-3zyads7b.js → app-5xvz5a6s.js} +16 -16
- package/dist/chunks/{bus-d2q1a9h5.js → app-6033nvr8.js} +4 -4
- package/dist/chunks/{bus-qkawf4bj.js → app-61kevbn4.js} +22 -22
- package/dist/chunks/{bus-e9r133th.js → app-66kfpdc2.js} +11 -11
- package/dist/chunks/{bus-2d57kztd.js → app-6anwy9fs.js} +4 -4
- package/dist/chunks/{bus-75yf2d83.js → app-6e958v7x.js} +8 -8
- package/dist/chunks/{bus-2p9tqta8.js → app-6e9gven4.js} +15 -15
- package/dist/chunks/{bus-ss1kepxy.js → app-6f3837nt.js} +10 -10
- package/dist/chunks/{bus-j56e7md4.js → app-6jdgs7bt.js} +46 -46
- package/dist/chunks/{bus-xjyr936n.js → app-6mqg66fr.js} +1 -1
- package/dist/chunks/{bus-ze67etev.js → app-6rbgwafj.js} +35 -35
- package/dist/chunks/{bus-t8wv8e2h.js → app-6rrpkkzh.js} +35 -35
- package/dist/chunks/{bus-6abnk40k.js → app-6z5bwd8g.js} +9 -9
- package/dist/chunks/{bus-711hfp6y.js → app-711hfp6y.js} +2 -2
- package/dist/chunks/{bus-72nftnjy.js → app-72nftnjy.js} +2 -2
- package/dist/chunks/{bus-gqqnkh8v.js → app-72trm8w5.js} +14 -14
- package/dist/chunks/{bus-pxzs1q6p.js → app-73m2sb4s.js} +13 -13
- package/dist/chunks/{bus-av3gzsdm.js → app-7ag6v8k0.js} +18 -18
- package/dist/chunks/{bus-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-w1jbs0y4.js → app-7s53hefr.js} +15 -15
- package/dist/chunks/{bus-r14a846e.js → app-7snb3jby.js} +2 -2
- package/dist/chunks/{bus-tpc2xyw9.js → app-7y7gbmb7.js} +6 -6
- package/dist/chunks/{bus-1s8x6ddd.js → app-89cjq6h4.js} +4 -4
- package/dist/chunks/{bus-kr1vvnwz.js → app-8adb22cw.js} +17 -17
- package/dist/chunks/{bus-w071yvmc.js → app-8ja3g6ap.js} +22 -22
- package/dist/chunks/{bus-f25wfmnz.js → app-8jqz49pj.js} +18 -18
- package/dist/chunks/{bus-svtn6ftc.js → app-8qg6kkkv.js} +9 -9
- package/dist/chunks/{bus-gzkr61q0.js → app-8ramm68n.js} +4 -4
- package/dist/chunks/{bus-23wvan8x.js → app-8smzbk72.js} +23 -23
- package/dist/chunks/{bus-96kjkgmk.js → app-8vh7bxeq.js} +8 -8
- package/dist/chunks/{bus-kxw3z6ex.js → app-8x3vza85.js} +11 -11
- package/dist/chunks/{bus-gsnpnfh8.js → app-8xmyy94t.js} +11 -11
- package/dist/chunks/{bus-93a8yfjt.js → app-93a8yfjt.js} +2 -2
- package/dist/chunks/{bus-41t7h6jd.js → app-9cjevta8.js} +15 -15
- package/dist/chunks/{bus-ycn7ay9t.js → app-9d6nh4n5.js} +23 -23
- package/dist/chunks/{bus-56531erc.js → app-9kedy7gd.js} +11 -11
- package/dist/chunks/{bus-e3qsaezh.js → app-9nyam0xf.js} +12 -12
- package/dist/chunks/{bus-9qm9egsn.js → app-9qm9egsn.js} +2 -2
- package/dist/chunks/{bus-d2rtq077.js → app-a2dfej31.js} +28 -28
- package/dist/chunks/{bus-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-v2pza5zk.js → app-ajphwd6y.js} +8 -8
- package/dist/chunks/{bus-ajtjthsy.js → app-ajtjthsy.js} +2 -2
- package/dist/chunks/{bus-p386207z.js → app-as4zy6vm.js} +6 -6
- package/dist/chunks/{bus-zp9ajhcp.js → app-azwkmrsh.js} +2 -2
- package/dist/chunks/{bus-6t8k13pe.js → app-b1dd7b4w.js} +83 -83
- package/dist/chunks/{bus-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-b9wsbatv.js → app-b9wsbatv.js} +1 -1
- package/dist/chunks/{bus-mckf4h7b.js → app-ba723ajb.js} +8 -8
- package/dist/chunks/{bus-wkq0emgv.js → app-bdq43x58.js} +28 -28
- package/dist/chunks/{bus-8vb85d8j.js → app-bfhprby2.js} +4 -4
- package/dist/chunks/{bus-dad8bk2q.js → app-bng3mmzn.js} +15 -15
- package/dist/chunks/{bus-hnyf01b0.js → app-bphmvjfp.js} +5 -5
- package/dist/chunks/{bus-khfm06dd.js → app-c2yr71t2.js} +12 -12
- package/dist/chunks/{bus-rmc74c4t.js → app-c5n1ev3g.js} +34 -34
- package/dist/chunks/{bus-bf3qrb3j.js → app-c8qx0qc9.js} +1 -1
- package/dist/chunks/{bus-sk616wp9.js → app-ch969d5t.js} +27 -27
- package/dist/chunks/{bus-8h9b3wfc.js → app-crgnq6kz.js} +11 -11
- package/dist/chunks/{bus-gst7axd9.js → app-ctmr8zqa.js} +4 -4
- package/dist/chunks/{bus-0gsy4sqt.js → app-ctq37z0g.js} +3 -3
- package/dist/chunks/{bus-d72308c8.js → app-d72308c8.js} +2 -2
- package/dist/chunks/{bus-f4e8jj35.js → app-d7x10w0n.js} +31 -31
- package/dist/chunks/{bus-qs5gpaa7.js → app-db58ew7v.js} +8 -8
- package/dist/chunks/{bus-v33gch5h.js → app-dfdmajwe.js} +27 -27
- package/dist/chunks/{bus-wycvtbqt.js → app-dsrt1vwr.js} +8 -8
- package/dist/chunks/{bus-djtdz80w.js → app-e7gxy7fd.js} +4 -4
- package/dist/chunks/{bus-e8ecwan1.js → app-eb6nje78.js} +10 -10
- package/dist/chunks/{bus-cmbqfntm.js → app-edme2h3e.js} +7 -7
- package/dist/chunks/{bus-mvfsc1pv.js → app-eq1pz5kg.js} +3 -3
- package/dist/chunks/{bus-3nepss8s.js → app-f8x9e4a9.js} +5 -5
- package/dist/chunks/{bus-k97nqm59.js → app-fc5e23qc.js} +9 -9
- package/dist/chunks/{bus-9czjfc66.js → app-fedpf0jg.js} +11 -11
- package/dist/chunks/{bus-wxwbjexe.js → app-fngqvgwt.js} +6 -6
- package/dist/chunks/{bus-1d2yf5yg.js → app-fpne420g.js} +20 -20
- package/dist/chunks/{bus-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-fxypknc8.js → app-fxypknc8.js} +1 -1
- package/dist/chunks/{bus-7rr5f4gz.js → app-fxznck9p.js} +17 -17
- package/dist/chunks/{bus-cphw1rrq.js → app-g1s3xph8.js} +33 -33
- package/dist/chunks/{bus-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-b270hrwc.js → app-gm63t1fr.js} +4 -4
- package/dist/chunks/{bus-9qw5sf44.js → app-gr8x9xpg.js} +11 -11
- package/dist/chunks/{bus-63f9ebx5.js → app-h2rv46j6.js} +46 -46
- package/dist/chunks/{bus-zf97vnn4.js → app-h40ga2ve.js} +8 -8
- package/dist/chunks/{bus-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-wppt2sme.js → app-h9fpj1t7.js} +10 -10
- package/dist/chunks/{bus-byjqrnh7.js → app-hafcdhba.js} +25 -25
- package/dist/chunks/{bus-z5n63056.js → app-hch2yqnj.js} +11 -11
- package/dist/chunks/{bus-heyhwy2w.js → app-heyhwy2w.js} +1 -1
- package/dist/chunks/{bus-5aephga1.js → app-hk5vb16s.js} +1 -1
- package/dist/chunks/{bus-hrvm11jt.js → app-hrvm11jt.js} +3 -3
- package/dist/chunks/{bus-5wkefnsp.js → app-hxrpm0tt.js} +9 -9
- package/dist/chunks/{bus-paphc93g.js → app-j935v87r.js} +2 -2
- package/dist/chunks/{bus-yf6xxqf2.js → app-j9nxz8aj.js} +14 -14
- package/dist/chunks/{bus-wpts28dx.js → app-jdj1d2bw.js} +4 -4
- package/dist/chunks/{bus-5gyhz2nn.js → app-jdtdqwa3.js} +45 -45
- package/dist/chunks/{bus-q1b8pcac.js → app-jg4gddsx.js} +26 -26
- package/dist/chunks/{bus-f3bqzcfa.js → app-jrsvccbt.js} +4 -4
- package/dist/chunks/{bus-y71avatq.js → app-jwcy2c2z.js} +4 -4
- package/dist/chunks/{bus-wyvwzpgp.js → app-jwjezfz2.js} +33 -33
- package/dist/chunks/{bus-3etffxf1.js → app-jy22979j.js} +19 -19
- package/dist/chunks/{bus-mcvs2zbw.js → app-jz3n7spr.js} +12 -12
- package/dist/chunks/{bus-h6dr5ctb.js → app-k1gvzfgg.js} +29 -29
- package/dist/chunks/{bus-7bn4vab1.js → app-k4bk8ndr.js} +9 -9
- package/dist/chunks/{bus-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
- package/dist/chunks/app-k558dr3h.js +20 -0
- package/dist/chunks/{bus-r7kgbqwf.js → app-k6j8jbs6.js} +6 -6
- package/dist/chunks/{bus-hgsh7sdh.js → app-kbnjdf88.js} +6 -6
- package/dist/chunks/{bus-0xwtr52f.js → app-kfzjmew4.js} +18 -18
- package/dist/chunks/{bus-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-d6v5jdzg.js → app-kjhc41xm.js} +15 -15
- package/dist/chunks/{bus-j6nhct4h.js → app-kpxvvzc7.js} +9 -9
- package/dist/chunks/{bus-ytyw8mcv.js → app-ksx2mpq5.js} +15 -15
- package/dist/chunks/{bus-hw4pv20g.js → app-kvsjn1dr.js} +2 -2
- package/dist/chunks/{bus-804r97dm.js → app-kwzbs4vy.js} +7 -7
- package/dist/chunks/{bus-6wj0fw5p.js → app-ky8hq9j3.js} +9 -9
- package/dist/chunks/{bus-3jsg4rse.js → app-kyxz6nyb.js} +13 -13
- package/dist/chunks/{bus-edq94eaw.js → app-m8rx4xpm.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-gzaq63kr.js → app-mfw1rdg8.js} +7 -7
- package/dist/chunks/{bus-qnwfs6wy.js → app-mrjhbrdh.js} +38 -38
- package/dist/chunks/{bus-kerhshr9.js → app-mtrbqqrq.js} +5 -5
- package/dist/chunks/{bus-fphv0de3.js → app-mw92mm60.js} +8 -8
- package/dist/chunks/{bus-3g2y1byn.js → app-na3y75gh.js} +5 -5
- package/dist/chunks/{bus-1jfdb1er.js → app-nqpfysvj.js} +64 -64
- package/dist/chunks/{bus-0y4twpwd.js → app-nt1xgz9f.js} +6 -6
- package/dist/chunks/{bus-rxbdfnq0.js → app-nvw3xbya.js} +3 -3
- package/dist/chunks/{bus-bmj3d0ka.js → app-p6yzb5ay.js} +7 -7
- package/dist/chunks/{bus-jfqycs0z.js → app-panxx8jc.js} +22 -22
- package/dist/chunks/{bus-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-nh1jkfpr.js → app-pk87d0j2.js} +6 -6
- package/dist/chunks/{bus-p9xxfsxh.js → app-pkm5xtq2.js} +15 -15
- package/dist/chunks/{bus-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/app-q0x89fb2.js +22 -0
- package/dist/chunks/{bus-vjmsffxn.js → app-q1b103yg.js} +27 -27
- package/dist/chunks/{bus-s6a5z1ry.js → app-q49dfcef.js} +9 -9
- package/dist/chunks/{bus-0kbdxtg6.js → app-q9qcg4fy.js} +34 -34
- package/dist/chunks/{bus-r73hqwej.js → app-qg58f473.js} +10 -10
- package/dist/chunks/{bus-0ccrtq8e.js → app-qpehrct2.js} +16 -16
- package/dist/chunks/{bus-6bb2rddz.js → app-qrb6jamf.js} +1 -1
- package/dist/chunks/{bus-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-8w14596t.js → app-qzsnb17h.js} +38 -38
- package/dist/chunks/{bus-4rqnb94f.js → app-r2d81gk0.js} +24 -24
- package/dist/chunks/{bus-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
- package/dist/chunks/app-rap9a73h.js +18 -0
- package/dist/chunks/{bus-ejbvb9q0.js → app-rdck9bdb.js} +25 -25
- package/dist/chunks/{bus-ap2t8vcq.js → app-rmszh8ch.js} +22 -22
- package/dist/chunks/{bus-64z1dcvr.js → app-rseta75b.js} +3 -3
- package/dist/chunks/{bus-rz31k017.js → app-rz31k017.js} +2 -2
- package/dist/chunks/{bus-6gn07reb.js → app-s5qvk878.js} +51 -51
- package/dist/chunks/{bus-hha4zry8.js → app-sb910js5.js} +20 -20
- package/dist/chunks/{bus-sba4qhjf.js → app-sba4qhjf.js} +1 -1
- package/dist/chunks/{bus-849kvxk3.js → app-sg99v9jk.js} +13 -13
- package/dist/chunks/{bus-35ymyeta.js → app-sk0y5786.js} +5 -5
- package/dist/chunks/{bus-57j0ygqm.js → app-sk350rt6.js} +32 -32
- package/dist/chunks/{bus-pxrsnsv2.js → app-sknp9wr7.js} +18 -18
- package/dist/chunks/{bus-wv36qkf9.js → app-smwcszs7.js} +17 -17
- package/dist/chunks/{bus-3fwrn7pg.js → app-stxjm3ct.js} +1 -1
- package/dist/chunks/{bus-m2vxpjnv.js → app-t8ygnhjk.js} +16 -16
- package/dist/chunks/{bus-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-rpthx8hq.js → app-tbvcryad.js} +4 -4
- package/dist/chunks/{bus-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-6t49dzs3.js → app-tj0465p7.js} +16 -16
- package/dist/chunks/{bus-tjykrgmx.js → app-tjykrgmx.js} +1 -1
- package/dist/chunks/{bus-fv4q91yr.js → app-tkdsazt3.js} +11 -11
- package/dist/chunks/{bus-4rh36sjt.js → app-tnqse60a.js} +23 -23
- package/dist/chunks/{bus-85m33w8k.js → app-tqm8f0wf.js} +14 -14
- package/dist/chunks/app-ttdxmbcm.js +247 -0
- package/dist/chunks/{bus-z0f88jgc.js → app-tzw5ab79.js} +32 -32
- package/dist/chunks/{bus-aj7dyy80.js → app-v52mabp7.js} +13 -13
- package/dist/chunks/{bus-tppvcy65.js → app-v60ecprk.js} +7 -7
- package/dist/chunks/{bus-rrzvz4w9.js → app-vbc5sz6b.js} +9 -9
- package/dist/chunks/{bus-hhxmypn0.js → app-vkb1fgep.js} +23 -23
- package/dist/chunks/{bus-bndd36kw.js → app-vmex9dey.js} +5 -5
- package/dist/chunks/{bus-hsargt6j.js → app-vqabm5wh.js} +27 -27
- package/dist/chunks/{bus-54sc1s1k.js → app-vsq1yn6y.js} +20 -20
- package/dist/chunks/{bus-q089jhzf.js → app-vv9t5qz8.js} +292 -292
- package/dist/chunks/{bus-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-z91dmd0w.js → app-w4373xa2.js} +30 -30
- package/dist/chunks/{bus-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{bus-n5f15nnr.js → app-wmw1swn5.js} +9 -9
- package/dist/chunks/{bus-hsg1hj1w.js → app-wp1mbyyz.js} +21 -21
- package/dist/chunks/{bus-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-f4b47wcg.js → app-x8p7t0fd.js} +26 -26
- package/dist/chunks/{bus-qrz5apad.js → app-xaf2pj7f.js} +43 -43
- package/dist/chunks/{bus-2rhspc98.js → app-xbfce38w.js} +47 -47
- package/dist/chunks/{bus-e832z393.js → app-xffknpsc.js} +162 -162
- package/dist/chunks/{bus-dha1rfzn.js → app-xk6dje90.js} +23 -23
- package/dist/chunks/{bus-ap0e00cv.js → app-xrt6vqmz.js} +19 -19
- package/dist/chunks/{bus-y2ktbrjm.js → app-xspkd1h6.js} +17 -17
- package/dist/chunks/{bus-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-t00n1yfv.js → app-y78hsxdj.js} +8 -8
- package/dist/chunks/{bus-4b1mthq9.js → app-y9j759kk.js} +4 -4
- package/dist/chunks/{bus-gnqaz2e7.js → app-ycj1jb32.js} +16 -16
- package/dist/chunks/{bus-yfbd16n1.js → app-yfbd16n1.js} +2 -2
- package/dist/chunks/{bus-xevys2wm.js → app-ym9nx4vt.js} +15 -15
- package/dist/chunks/{bus-saphkdfh.js → app-yn4cw0av.js} +3 -3
- package/dist/chunks/{bus-bqarnab4.js → app-ystvjdgv.js} +2 -2
- package/dist/chunks/{bus-3q0mzqr9.js → app-yvt5my6f.js} +11 -11
- package/dist/chunks/{bus-r1tc6yem.js → app-yyqtha35.js} +32 -32
- package/dist/chunks/{bus-pm8mksm9.js → app-z1a6gh5v.js} +19 -19
- package/dist/chunks/{bus-z1k01bn4.js → app-z1k01bn4.js} +2 -2
- package/dist/chunks/{bus-ndjv4j8j.js → app-z447gwwj.js} +10 -10
- package/dist/chunks/{bus-rrhrq44h.js → app-z5pwnrhb.js} +24 -24
- package/dist/chunks/{bus-8arghjyt.js → app-z5rnafa4.js} +22 -22
- package/dist/chunks/{bus-a4p546v5.js → app-zecsv645.js} +24 -24
- package/dist/chunks/{bus-bpxe412r.js → app-zh621p81.js} +12 -12
- package/dist/chunks/{bus-qas6r648.js → app-zryxh0yg.js} +14 -14
- package/dist/chunks/{bus-48e7jqbg.js → app-zt31snrc.js} +35 -35
- package/dist/chunks/{bus-ktqm69e3.js → app-zvqe0y51.js} +64 -64
- package/dist/chunks/{bus-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +110 -110
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- 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 +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- 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 +64 -64
- 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.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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 -220
- 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 +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- 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 +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +120 -120
- 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 +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +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 +79 -79
- 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 +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +117 -117
- 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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- 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 +119 -119
- 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 +112 -112
- 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 +108 -108
- package/dist/tool/plugin/write.js +116 -116
- 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 +11 -11
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- 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 +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/bus-a7csy0p6.js +0 -22
- package/dist/chunks/bus-w1s1ra18.js +0 -20
- package/dist/chunks/bus-ybsh6ht0.js +0 -247
- package/dist/chunks/bus-ydckrtmx.js +0 -18
- /package/dist/chunks/{bus-0fabt78z.js → app-0fabt78z.js} +0 -0
- /package/dist/chunks/{bus-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t738kvx.js → app-3t738kvx.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-41nvscxy.js → app-41nvscxy.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7zk4hah4.js → app-7zk4hah4.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-982e01ww.js → app-982e01ww.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mntxs535.js → app-mntxs535.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p8qxwesx.js → app-p8qxwesx.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-se0s1eqw.js → app-se0s1eqw.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./app-tj0465p7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./app-zecsv645.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service23,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-kyxz6nyb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./app-7ag6v8k0.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service21
|
|
19
|
+
} from "./app-5xvz5a6s.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service52
|
|
22
|
+
} from "./app-zvqe0y51.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input8,
|
|
35
|
+
Output: () => Output7,
|
|
36
|
+
Plugin: () => Plugin40,
|
|
37
|
+
name: () => name8
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name8 = "edit";
|
|
44
|
+
var Input8 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output7 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin40 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
110
|
+
const mutation = yield* Service21;
|
|
111
|
+
const fileMutation = yield* Service23;
|
|
112
|
+
const environment = yield* Service60;
|
|
113
|
+
const formatter = yield* Service73;
|
|
114
|
+
const location = yield* Service74;
|
|
115
|
+
const permission = yield* Service52;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name8,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input8,
|
|
121
|
+
output: Output7,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin13 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name8, Input8, Output7, Plugin40, exports_edit };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./app-tj0465p7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./app-jdtdqwa3.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-q1b103yg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin29
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin29 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service65;
|
|
35
|
+
const location = yield* Service74;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin29, exports_reference };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
12
|
Event: () => Event20,
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info31,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode-ai/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info31 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
25
|
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
|
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info31, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service38,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service38.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
336
|
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service38, makeLayer2, layer15, node41, exports_model_transport };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-0fcdsnj3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./app-jz3n7spr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service35
|
|
9
|
+
} from "./app-k558dr3h.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service57
|
|
16
|
+
} from "./app-xk6dje90.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-3ke94kzw.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service35;
|
|
46
46
|
const database = yield* Service80;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service77;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service57;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service35;
|
|
78
|
+
const bus = yield* Service77;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service57;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-zvqe0y51.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-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: () => Plugin15
|
|
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 Plugin15 = 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 { Plugin15, exports_plan };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./app-jz3n7spr.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event11,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info11,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service55,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node58
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event11 } from "@opencode-ai/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info11 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service55 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service77;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info11.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service55.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node58 = makeLocationNode({ service: Service55, layer, deps: [node82, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info11, Service55, node58, exports_agent3, Event11 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./app-vqabm5wh.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./app-9kedy7gd.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-8ramm68n.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./app-jdtdqwa3.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin17
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin17 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service65;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin19 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin17, exports_agent2 };
|