@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node82
|
|
5
|
+
} from "./app-jz3n7spr.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-6e958v7x.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-p8qxwesx.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event15,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service67,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer23,
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event15 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service77;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event15.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service67.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service67,
|
|
110
|
+
layer: layer23(options),
|
|
111
|
+
deps: [node82]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node71 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event15, Options10, Service67, layer23, configured10, node71, exports_instruction_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode-ai/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node6, exports_update };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./app-tj0465p7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service15,
|
|
11
|
+
node18
|
|
12
|
+
} from "./app-5vnhssj4.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service14,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node17
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service74;
|
|
82
|
+
const search = yield* Service15;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service14.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node17 = makeLocationNode({
|
|
126
|
+
service: Service14,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node79, node18]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-0fcdsnj3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node65
|
|
12
|
+
} from "./app-fngqvgwt.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info13,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured7,
|
|
30
|
+
node: () => node64
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info13 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service61 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service61,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node65]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info13({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service61.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node64 = configured7();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info13, NotFound3, CreateConflict2, Service61, configured7, node64, exports_workspace };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info20
|
|
7
|
+
} from "./app-sb910js5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info18
|
|
10
|
+
} from "./app-9kedy7gd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info23
|
|
13
|
+
} from "./app-0b89de78.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info22
|
|
16
|
+
} from "./app-19vf66h0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info19
|
|
19
|
+
} from "./app-edme2h3e.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info16
|
|
25
|
+
} from "./app-6anwy9fs.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info21
|
|
28
|
+
} from "./app-na3y75gh.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info17
|
|
34
|
+
} from "./app-0rh3kdcc.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-711hfp6y.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info15
|
|
40
|
+
} from "./app-0v53mg2y.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info14,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info14 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info13 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info22)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info13 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info18), plan: Schema.optional(Info18) }), [Schema.Record(Schema.String, Info18)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info18),
|
|
119
|
+
build: Schema.optional(Info18),
|
|
120
|
+
general: Schema.optional(Info18),
|
|
121
|
+
explore: Schema.optional(Info18),
|
|
122
|
+
title: Schema.optional(Info18),
|
|
123
|
+
summary: Schema.optional(Info18),
|
|
124
|
+
compaction: Schema.optional(Info18)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info18)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info21, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info19).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info16).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info20),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info23).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info13 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info14, exports_config2 };
|