@opencode-ai/core 0.0.0-dev-19167 → 0.0.0-dev-19172
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{provider-cb182ger.js → file-retention-024e4rjz.js} +5 -5
- package/dist/chunks/{provider-yd25cjpk.js → file-retention-09ywgxwg.js} +4 -4
- package/dist/chunks/{provider-6h5wf9jw.js → file-retention-0b89de78.js} +5 -5
- package/dist/chunks/{provider-0e0xafbb.js → file-retention-0e0xafbb.js} +2 -2
- package/dist/chunks/{provider-qxd9wqy8.js → file-retention-0kahwk4p.js} +16 -16
- package/dist/chunks/{provider-a2z678qc.js → file-retention-0p0zxxmq.js} +8 -8
- package/dist/chunks/{provider-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0s9ayhjt.js → file-retention-0s9ayhjt.js} +1 -1
- package/dist/chunks/{provider-kdngb1xv.js → file-retention-104gr47b.js} +16 -16
- package/dist/chunks/{provider-8ztds29y.js → file-retention-10dh1exf.js} +72 -72
- package/dist/chunks/file-retention-1bw6255h.js +22 -0
- package/dist/chunks/{provider-853kgd97.js → file-retention-1c7r0953.js} +11 -11
- package/dist/chunks/{provider-1ct4r87x.js → file-retention-1ct4r87x.js} +1 -1
- package/dist/chunks/{provider-p166mkhm.js → file-retention-1epsx5vc.js} +27 -27
- package/dist/chunks/{provider-vwwkt776.js → file-retention-1hy241bm.js} +3 -3
- package/dist/chunks/{provider-n4z1ma14.js → file-retention-1mrma768.js} +5 -5
- package/dist/chunks/{provider-de8s0qqs.js → file-retention-1rm0drdm.js} +2 -2
- package/dist/chunks/{provider-jdneq8r1.js → file-retention-1twmeren.js} +12 -12
- package/dist/chunks/{provider-s0eq18p3.js → file-retention-1wk28q4y.js} +7 -7
- package/dist/chunks/{provider-641qsbhy.js → file-retention-1wtypr3q.js} +9 -9
- package/dist/chunks/{provider-vhct9xs4.js → file-retention-205rsrbm.js} +6 -6
- package/dist/chunks/{provider-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{provider-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-6e958v7x.js → file-retention-28pcbh69.js} +4 -4
- package/dist/chunks/{provider-29x78va6.js → file-retention-29x78va6.js} +2 -2
- package/dist/chunks/{provider-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-dy4ht7ys.js → file-retention-2h2vdh1n.js} +149 -149
- package/dist/chunks/{provider-2ht70gj7.js → file-retention-2ht70gj7.js} +1 -1
- package/dist/chunks/{provider-r33ff4dw.js → file-retention-2jmaghvr.js} +6 -6
- package/dist/chunks/{provider-m53hvte5.js → file-retention-2jp4bbqb.js} +9 -9
- package/dist/chunks/{provider-b60kwn70.js → file-retention-2s1zz7jz.js} +38 -38
- package/dist/chunks/{provider-g91mrpv7.js → file-retention-2sjnsy3c.js} +31 -31
- package/dist/chunks/{provider-h182avfb.js → file-retention-2vmasjgj.js} +7 -7
- package/dist/chunks/{provider-b0z70ywn.js → file-retention-2w6bfmvf.js} +1 -1
- package/dist/chunks/{provider-nyz6bxeq.js → file-retention-34kkasa2.js} +34 -34
- package/dist/chunks/{provider-5g2e3aap.js → file-retention-376701a1.js} +25 -25
- package/dist/chunks/{provider-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-jvaeg9cc.js → file-retention-3kdc12ra.js} +20 -20
- package/dist/chunks/{provider-vhbtg5gj.js → file-retention-3m34twvx.js} +25 -25
- package/dist/chunks/{provider-yzgp7g2d.js → file-retention-3qy3ajen.js} +8 -8
- package/dist/chunks/{provider-3qzbfqsy.js → file-retention-3qzbfqsy.js} +2 -2
- package/dist/chunks/{provider-b0hcp35g.js → file-retention-3rfnhdhv.js} +7 -7
- package/dist/chunks/{provider-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-1wwcepag.js → file-retention-3zec4kwx.js} +24 -24
- package/dist/chunks/{provider-sz27z7nv.js → file-retention-402r2v51.js} +26 -26
- package/dist/chunks/{provider-03vfzkzq.js → file-retention-42gstqmc.js} +4 -4
- package/dist/chunks/{provider-wrwb82ns.js → file-retention-44z5w399.js} +18 -18
- package/dist/chunks/{provider-454k5vzh.js → file-retention-454k5vzh.js} +1 -1
- package/dist/chunks/{provider-2x63360j.js → file-retention-48ev9q21.js} +3 -3
- package/dist/chunks/{provider-892hb7ze.js → file-retention-48m75tza.js} +5 -5
- package/dist/chunks/{provider-kwdr293w.js → file-retention-4c8rvwe6.js} +8 -8
- package/dist/chunks/{provider-zhj1bw0n.js → file-retention-4f8s46ta.js} +21 -21
- package/dist/chunks/{provider-4r2nyarf.js → file-retention-4r2nyarf.js} +1 -1
- package/dist/chunks/{provider-2kst325v.js → file-retention-4w149egh.js} +13 -13
- package/dist/chunks/{provider-xqywgcz5.js → file-retention-4w7zm36c.js} +11 -11
- package/dist/chunks/{provider-2rcn8zjb.js → file-retention-4x0nmcjx.js} +9 -9
- package/dist/chunks/{provider-qfzsxjsm.js → file-retention-549wn4nn.js} +23 -23
- package/dist/chunks/{provider-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-5fmxt4p5.js → file-retention-5fmxt4p5.js} +1 -1
- package/dist/chunks/{provider-5jvc5tg2.js → file-retention-5jvc5tg2.js} +1 -1
- package/dist/chunks/{provider-nfcew73a.js → file-retention-5m3fjy3v.js} +34 -34
- package/dist/chunks/file-retention-619r8v3y.js +18 -0
- package/dist/chunks/{provider-4297rwmf.js → file-retention-637933n9.js} +19 -19
- package/dist/chunks/{provider-g0ysksx1.js → file-retention-637qq8n2.js} +9 -9
- package/dist/chunks/{provider-5h2h4z1f.js → file-retention-6a2fap2g.js} +14 -14
- package/dist/chunks/{provider-dv4b3fh8.js → file-retention-6c7c909b.js} +61 -61
- package/dist/chunks/{provider-xjn6wd3a.js → file-retention-6h5vvsan.js} +25 -25
- package/dist/chunks/{provider-ttvaqn65.js → file-retention-6tp6t4rz.js} +9 -9
- package/dist/chunks/{provider-w3jym6ha.js → file-retention-6z5bwd8g.js} +6 -6
- package/dist/chunks/{provider-3x6030n9.js → file-retention-711hfp6y.js} +2 -2
- package/dist/chunks/{provider-72nftnjy.js → file-retention-72nftnjy.js} +2 -2
- package/dist/chunks/{provider-jp5dra8g.js → file-retention-768z0hjh.js} +1 -1
- package/dist/chunks/{provider-9rrsjx5v.js → file-retention-7aq2fs8e.js} +21 -21
- package/dist/chunks/{provider-m1nyv0n4.js → file-retention-7b5mmf1f.js} +9 -9
- package/dist/chunks/{provider-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-2fg54z85.js → file-retention-7x20s5dd.js} +3 -3
- package/dist/chunks/{provider-12fwxsz1.js → file-retention-7zjtv6nt.js} +11 -11
- package/dist/chunks/{provider-b13177gh.js → file-retention-83gby3am.js} +26 -26
- package/dist/chunks/{provider-ns2ynd12.js → file-retention-84b4417c.js} +28 -28
- package/dist/chunks/{provider-kfsq4zjw.js → file-retention-8enene87.js} +9 -9
- package/dist/chunks/{provider-5aegsqc7.js → file-retention-8jng17b7.js} +27 -27
- package/dist/chunks/{provider-affy9bjp.js → file-retention-8jq7hkfv.js} +7 -7
- package/dist/chunks/{provider-2mrcrp87.js → file-retention-8njmz93d.js} +33 -33
- package/dist/chunks/{provider-0gfwxnmp.js → file-retention-8w931syc.js} +4 -4
- package/dist/chunks/{provider-apngs9tj.js → file-retention-8zfntaab.js} +7 -7
- package/dist/chunks/{provider-qey6vfz4.js → file-retention-97ex6grt.js} +15 -15
- package/dist/chunks/{provider-nc3b1wgh.js → file-retention-99vjr10t.js} +11 -11
- package/dist/chunks/{provider-1yert1cs.js → file-retention-9je5tgfh.js} +11 -11
- package/dist/chunks/{provider-qvbcabdc.js → file-retention-9qm9egsn.js} +2 -2
- package/dist/chunks/{provider-806j49yq.js → file-retention-a2ew8a62.js} +4 -4
- package/dist/chunks/{provider-mnne67dr.js → file-retention-a8135xa2.js} +24 -24
- package/dist/chunks/{provider-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-yfvv8zpt.js → file-retention-aet6n25v.js} +9 -9
- package/dist/chunks/{provider-xpfgzvr8.js → file-retention-agwvegtk.js} +11 -11
- package/dist/chunks/{provider-pae9v2p1.js → file-retention-ajphwd6y.js} +4 -4
- package/dist/chunks/{provider-yg7sb877.js → file-retention-ajtjthsy.js} +2 -2
- package/dist/chunks/{provider-7kpptg10.js → file-retention-amvr6g9m.js} +1 -1
- package/dist/chunks/{provider-7gaxprrm.js → file-retention-atz03w0q.js} +5 -5
- package/dist/chunks/{provider-3gqntfgq.js → file-retention-aydeeq46.js} +23 -23
- package/dist/chunks/{provider-ess3gj99.js → file-retention-azy6xqf9.js} +22 -22
- package/dist/chunks/{provider-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-xchn1187.js → file-retention-b729swae.js} +7 -7
- package/dist/chunks/{provider-b9wsbatv.js → file-retention-b9wsbatv.js} +1 -1
- package/dist/chunks/{provider-bd3tpn96.js → file-retention-bbrq8e4h.js} +26 -26
- package/dist/chunks/{provider-vncycja5.js → file-retention-bf0ztrs3.js} +4 -4
- package/dist/chunks/{provider-56fdxhwp.js → file-retention-bf4tcw57.js} +8 -8
- package/dist/chunks/{provider-bphmvjfp.js → file-retention-bphmvjfp.js} +2 -2
- package/dist/chunks/{provider-2mdyj6yh.js → file-retention-bq1y9h9w.js} +34 -34
- package/dist/chunks/{provider-13v61wc5.js → file-retention-bqa77dn1.js} +19 -19
- package/dist/chunks/{provider-3rbjgaka.js → file-retention-byfshvwt.js} +8 -8
- package/dist/chunks/{provider-ztade2sn.js → file-retention-bzjv94tm.js} +15 -15
- package/dist/chunks/{provider-pnk3f66d.js → file-retention-c7cvy1rv.js} +37 -37
- package/dist/chunks/{provider-5mm0tfy6.js → file-retention-cb4795z8.js} +8 -8
- package/dist/chunks/{provider-d8ecvvew.js → file-retention-cc90a9w8.js} +15 -15
- package/dist/chunks/{provider-44rmg5yj.js → file-retention-ch1mbcxn.js} +11 -11
- package/dist/chunks/{provider-wsfy2223.js → file-retention-ch60wd2z.js} +4 -4
- package/dist/chunks/{provider-7tfg2zmn.js → file-retention-d1a1bt21.js} +5 -5
- package/dist/chunks/{provider-g2gt0w0k.js → file-retention-d72308c8.js} +2 -2
- package/dist/chunks/{provider-psvzf7ga.js → file-retention-dm4jmc1z.js} +6 -6
- package/dist/chunks/{provider-zxkgzhhn.js → file-retention-dsdh720h.js} +9 -9
- package/dist/chunks/{provider-6eedbjdx.js → file-retention-dyy50z5j.js} +20 -20
- package/dist/chunks/{provider-ggnnjyyr.js → file-retention-dyz4rdvp.js} +32 -32
- package/dist/chunks/{provider-ff9ttd4n.js → file-retention-e1tm9aav.js} +26 -26
- package/dist/chunks/{provider-hdt492b8.js → file-retention-e63vekzn.js} +13 -13
- package/dist/chunks/{provider-v08zexc0.js → file-retention-eg4pr325.js} +3 -3
- package/dist/chunks/{provider-73nqhwcr.js → file-retention-ek8k105k.js} +4 -4
- package/dist/chunks/{provider-1txwkh2f.js → file-retention-em9v63s6.js} +8 -8
- package/dist/chunks/{provider-j028xdjb.js → file-retention-eq1pz5kg.js} +3 -3
- package/dist/chunks/{provider-qwz28wt1.js → file-retention-ere7nfp9.js} +12 -12
- package/dist/chunks/{provider-vqk7jqfs.js → file-retention-f4cf0bsx.js} +40 -40
- package/dist/chunks/{provider-5j6fg35e.js → file-retention-f70g29mr.js} +20 -20
- package/dist/chunks/{provider-w8e4nwz3.js → file-retention-f9jp4s2y.js} +4 -4
- package/dist/chunks/{provider-7dqw4kz8.js → file-retention-fcrkznn8.js} +5 -5
- package/dist/chunks/{provider-9ety662n.js → file-retention-frptnsh5.js} +15 -15
- package/dist/chunks/{provider-zm4j8yda.js → file-retention-fve27tvk.js} +8 -8
- package/dist/chunks/{provider-me1jjq5a.js → file-retention-fx4s78ev.js} +3 -3
- package/dist/chunks/{provider-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-fxypknc8.js → file-retention-fxypknc8.js} +1 -1
- package/dist/chunks/{provider-zwcjdryk.js → file-retention-g0fndb66.js} +79 -79
- package/dist/chunks/{provider-2f9fbt2v.js → file-retention-g4wkbvr8.js} +12 -12
- package/dist/chunks/{provider-xg9wzphz.js → file-retention-g585tkj2.js} +4 -4
- package/dist/chunks/{provider-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-3fc6dm20.js → file-retention-gdvy8fx6.js} +4 -4
- package/dist/chunks/{provider-8g54fgwv.js → file-retention-ge8qzb8n.js} +285 -285
- package/dist/chunks/{provider-nw5vcmzd.js → file-retention-gxrht0qn.js} +2 -2
- package/dist/chunks/{provider-m54g5aqe.js → file-retention-gz64hf7x.js} +17 -17
- package/dist/chunks/{provider-1y3t3jga.js → file-retention-gzwcbpkz.js} +13 -13
- package/dist/chunks/{provider-4n7667v4.js → file-retention-h0wh91yw.js} +3 -3
- package/dist/chunks/{provider-0e2qvb29.js → file-retention-h0xakedw.js} +19 -19
- package/dist/chunks/{provider-j9qb87cx.js → file-retention-h3at1h9w.js} +24 -24
- package/dist/chunks/{provider-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-f4g7wt00.js → file-retention-hcdssky2.js} +4 -4
- package/dist/chunks/{provider-nbw8mv70.js → file-retention-he7mv26x.js} +13 -13
- package/dist/chunks/{provider-heyhwy2w.js → file-retention-heyhwy2w.js} +1 -1
- package/dist/chunks/{provider-818qf5z9.js → file-retention-hfwh170d.js} +8 -8
- package/dist/chunks/{provider-encf5598.js → file-retention-hn0tf0a0.js} +24 -24
- package/dist/chunks/{provider-1sjs8vrb.js → file-retention-hq7cfhbs.js} +18 -18
- package/dist/chunks/{provider-g2dy4bvs.js → file-retention-hrvm11jt.js} +3 -3
- package/dist/chunks/{provider-v33hnsqv.js → file-retention-hv0dr4wn.js} +8 -8
- package/dist/chunks/{provider-xc5kj15j.js → file-retention-jhg236cd.js} +6 -6
- package/dist/chunks/{provider-qyjj80vx.js → file-retention-jjtcncep.js} +8 -8
- package/dist/chunks/{provider-pdsr7cn0.js → file-retention-jk2f9dpk.js} +11 -11
- package/dist/chunks/{provider-79xc10f4.js → file-retention-jnmmvqjs.js} +1 -1
- package/dist/chunks/{provider-xtddbfj7.js → file-retention-jp48954f.js} +8 -8
- package/dist/chunks/{provider-n9mr47st.js → file-retention-jpg38yrs.js} +6 -6
- package/dist/chunks/{provider-dpfrdvp5.js → file-retention-k0wp4d9t.js} +12 -12
- package/dist/chunks/{provider-k4bwy1x5.js → file-retention-k4bwy1x5.js} +1 -1
- package/dist/chunks/{provider-bh14fpxk.js → file-retention-kbj0c16s.js} +11 -11
- package/dist/chunks/{provider-hvpcewnc.js → file-retention-kce1rcej.js} +20 -20
- package/dist/chunks/{provider-j78wwk7e.js → file-retention-kdsxv0j6.js} +36 -36
- package/dist/chunks/{provider-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{provider-dqarh4b4.js → file-retention-kpv66tzn.js} +18 -18
- package/dist/chunks/{provider-87687fkt.js → file-retention-kq2xfdb5.js} +18 -18
- package/dist/chunks/{provider-fdht7pma.js → file-retention-kqqnddrj.js} +22 -22
- package/dist/chunks/{provider-kvsjn1dr.js → file-retention-kvsjn1dr.js} +2 -2
- package/dist/chunks/{provider-ksd37v8k.js → file-retention-m5n300jn.js} +20 -20
- package/dist/chunks/{provider-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-v44x7myj.js → file-retention-mawa6aat.js} +15 -15
- package/dist/chunks/{provider-tsbgh63p.js → file-retention-mcv9pgkp.js} +6 -6
- package/dist/chunks/{provider-t22pecrr.js → file-retention-mqqcxy20.js} +34 -34
- package/dist/chunks/{provider-7jypvd16.js → file-retention-my560zn8.js} +14 -14
- package/dist/chunks/{provider-7jjxgj4q.js → file-retention-n1zgngz1.js} +19 -19
- package/dist/chunks/{provider-j5208yae.js → file-retention-n8c291r7.js} +6 -6
- package/dist/chunks/{provider-nj1fe1jb.js → file-retention-nf2cw6d6.js} +4 -4
- package/dist/chunks/{provider-6g7pxxrt.js → file-retention-ns4erenn.js} +35 -35
- package/dist/chunks/{provider-9be6zmap.js → file-retention-nv4hhw20.js} +13 -13
- package/dist/chunks/{provider-8gq481r1.js → file-retention-nw80mg4a.js} +2 -2
- package/dist/chunks/{provider-bfhprby2.js → file-retention-pah7pk43.js} +4 -4
- package/dist/chunks/{provider-7e69hvtd.js → file-retention-phazpyca.js} +47 -47
- package/dist/chunks/{provider-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-bq9d524y.js → file-retention-pjvnwgyc.js} +32 -32
- package/dist/chunks/{provider-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{provider-dzwkm0n0.js → file-retention-prkc2mhz.js} +11 -11
- package/dist/chunks/{provider-42my878b.js → file-retention-pt7wq7x0.js} +1 -1
- package/dist/chunks/{provider-hcbz9q61.js → file-retention-ptsfk80f.js} +4 -4
- package/dist/chunks/{provider-vwna6rrk.js → file-retention-pz2n2jx2.js} +13 -13
- package/dist/chunks/{provider-m3g36xn6.js → file-retention-q5m5resc.js} +12 -12
- package/dist/chunks/{provider-y0v6q609.js → file-retention-q913b2bh.js} +6 -6
- package/dist/chunks/{provider-d3hfvarq.js → file-retention-qcdx5q9z.js} +17 -17
- package/dist/chunks/{provider-qte5mmnh.js → file-retention-qezejtch.js} +4 -4
- package/dist/chunks/{provider-671zgf57.js → file-retention-qkq8j0kd.js} +5 -5
- package/dist/chunks/{provider-vzcqb4ye.js → file-retention-qkqkrz6w.js} +27 -27
- package/dist/chunks/{provider-ey5akwsf.js → file-retention-qm3e3s36.js} +16 -16
- package/dist/chunks/{provider-52dgv1qd.js → file-retention-qpfqqsnr.js} +24 -24
- package/dist/chunks/{provider-fhvjqr7f.js → file-retention-qs4avvkb.js} +1 -1
- package/dist/chunks/{provider-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-fhmdyj6b.js → file-retention-qwr8sv5a.js} +2 -2
- package/dist/chunks/{provider-4dj65k8e.js → file-retention-qwr8y3n7.js} +11 -11
- package/dist/chunks/{provider-5p910kp8.js → file-retention-r5k1hnjc.js} +3 -3
- package/dist/chunks/{provider-sm99xz24.js → file-retention-r82grff9.js} +3 -3
- package/dist/chunks/{provider-r8dhm0tv.js → file-retention-r8dhm0tv.js} +1 -1
- package/dist/chunks/{provider-3pmbcp29.js → file-retention-rcbdex51.js} +5 -5
- package/dist/chunks/{provider-hz02q9m3.js → file-retention-re380472.js} +15 -15
- package/dist/chunks/{provider-6khe0rk5.js → file-retention-rmhappp8.js} +11 -11
- package/dist/chunks/{provider-e76cs59w.js → file-retention-rntd5zhx.js} +8 -8
- package/dist/chunks/file-retention-rrnmj2kt.js +247 -0
- package/dist/chunks/{provider-3zp16sz2.js → file-retention-rsqwdw7v.js} +22 -22
- package/dist/chunks/{provider-g19vc6v7.js → file-retention-rvb2zp0m.js} +6 -6
- package/dist/chunks/{provider-wkfd3kg3.js → file-retention-s0n5ntn1.js} +2 -2
- package/dist/chunks/{provider-hqdatdk6.js → file-retention-s4ph2d63.js} +13 -13
- package/dist/chunks/{provider-sba4qhjf.js → file-retention-sba4qhjf.js} +1 -1
- package/dist/chunks/{provider-s7m5rr3e.js → file-retention-se7rt37b.js} +17 -17
- package/dist/chunks/{provider-h7e5g0tn.js → file-retention-spqcpneg.js} +6 -6
- package/dist/chunks/{provider-b9rr2wfs.js → file-retention-ss0qxjqq.js} +13 -13
- package/dist/chunks/{provider-pnhc5zr1.js → file-retention-sw4p0vc7.js} +3 -3
- package/dist/chunks/{provider-7tqf86yy.js → file-retention-t26mc4v5.js} +10 -10
- package/dist/chunks/{provider-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tjykrgmx.js → file-retention-tjykrgmx.js} +1 -1
- package/dist/chunks/{provider-xp0tb8fr.js → file-retention-tppvcy65.js} +2 -2
- package/dist/chunks/{provider-gpyn4hbp.js → file-retention-tq75tfgs.js} +44 -44
- package/dist/chunks/{provider-gm2nd0w6.js → file-retention-tw0mb86q.js} +10 -10
- package/dist/chunks/{provider-1r2601w8.js → file-retention-tzmrq1hj.js} +16 -16
- package/dist/chunks/{provider-zjam9g86.js → file-retention-v5afwe7f.js} +4 -4
- package/dist/chunks/{provider-1gdnynhy.js → file-retention-v9p73nbe.js} +11 -11
- package/dist/chunks/{provider-fryhykgw.js → file-retention-vbdwr9gf.js} +33 -33
- package/dist/chunks/{provider-rxyedsv0.js → file-retention-vdgak15q.js} +6 -6
- package/dist/chunks/{provider-esv8q2ns.js → file-retention-vefwj8vq.js} +27 -27
- package/dist/chunks/{provider-efwdxecf.js → file-retention-vg6xpb0x.js} +15 -15
- package/dist/chunks/{provider-9zy34hsg.js → file-retention-vkfv6j0y.js} +12 -12
- package/dist/chunks/{provider-zshmhtvs.js → file-retention-vx7tzmvz.js} +15 -15
- package/dist/chunks/file-retention-w3vb4krt.js +4 -0
- package/dist/chunks/{provider-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{provider-jb91wb7s.js → file-retention-wfkfyy92.js} +14 -14
- package/dist/chunks/{provider-txfvyzt9.js → file-retention-wfpv7nq4.js} +5 -5
- package/dist/chunks/{provider-t1hbjjff.js → file-retention-wj5n32w8.js} +46 -46
- package/dist/chunks/{provider-2n1s0jqh.js → file-retention-wsddr4d2.js} +4 -4
- package/dist/chunks/{provider-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-z7y4prgk.js → file-retention-x2mj0xny.js} +15 -15
- package/dist/chunks/{provider-cgmv5ttt.js → file-retention-xb5d9ad8.js} +8 -8
- package/dist/chunks/{provider-m9zrzv44.js → file-retention-xd7hh38v.js} +43 -43
- package/dist/chunks/{provider-t4es3k9e.js → file-retention-xgjy9czn.js} +8 -8
- package/dist/chunks/{provider-epazzsys.js → file-retention-xh36sb1y.js} +11 -11
- package/dist/chunks/{provider-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-hhpzk61m.js → file-retention-y2cqme3r.js} +5 -5
- package/dist/chunks/{provider-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{provider-qgmahjq5.js → file-retention-y86ghdgz.js} +3 -3
- package/dist/chunks/{provider-69j7xj95.js → file-retention-ya7s7xtx.js} +9 -9
- package/dist/chunks/{provider-yfbd16n1.js → file-retention-yfbd16n1.js} +2 -2
- package/dist/chunks/{provider-hcg81cqs.js → file-retention-yfpt1t1p.js} +7 -7
- package/dist/chunks/{provider-a4mp6cfj.js → file-retention-yh7xbh7w.js} +44 -44
- package/dist/chunks/{provider-v4e1m8df.js → file-retention-yhyk0etm.js} +25 -25
- package/dist/chunks/{provider-2rcaaecz.js → file-retention-yj3e99fm.js} +1 -1
- package/dist/chunks/{provider-r29jw8yz.js → file-retention-yk6fpedc.js} +22 -22
- package/dist/chunks/{provider-0an26ms7.js → file-retention-yq2htxd9.js} +21 -21
- package/dist/chunks/{provider-z1k01bn4.js → file-retention-z1k01bn4.js} +2 -2
- package/dist/chunks/{provider-z3xgatyd.js → file-retention-z3xgatyd.js} +1 -1
- package/dist/chunks/{provider-448mcdzf.js → file-retention-z9rwsdjd.js} +10 -10
- package/dist/chunks/{provider-2ady357n.js → file-retention-zajwd6at.js} +5 -5
- package/dist/chunks/{provider-659fgswj.js → file-retention-zgrvrmg3.js} +11 -11
- package/dist/chunks/{provider-pvwgdgnb.js → file-retention-zjwga192.js} +22 -22
- package/dist/chunks/{provider-gfhhve88.js → file-retention-zw4pk1bw.js} +5 -5
- package/dist/chunks/{provider-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-7ewed3mq.js → file-retention-zy2xxryr.js} +9 -9
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- 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 +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +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 +80 -80
- 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 +1 -1
- 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 +68 -68
- 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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +3 -3
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- 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 +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +2 -2
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +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 +3 -3
- 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/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 +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- 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 +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -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 +2 -2
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- 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 +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +117 -117
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/provider-7zk4hah4.js +0 -4
- package/dist/chunks/provider-dxj72tfx.js +0 -18
- package/dist/chunks/provider-pv1faaae.js +0 -247
- package/dist/chunks/provider-stfyv1aw.js +0 -22
- /package/dist/chunks/{provider-0fabt78z.js → file-retention-0fabt78z.js} +0 -0
- /package/dist/chunks/{provider-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t738kvx.js → file-retention-3t738kvx.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-41nvscxy.js → file-retention-41nvscxy.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-982e01ww.js → file-retention-982e01ww.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-j935v87r.js → file-retention-j935v87r.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mntxs535.js → file-retention-mntxs535.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-p8qxwesx.js → file-retention-p8qxwesx.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-se0s1eqw.js → file-retention-se0s1eqw.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x1b8g1yb.js → file-retention-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
- /package/dist/chunks/{provider-zbjnn3ac.js → file-retention-zbjnn3ac.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
Service76
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-s0n5ntn1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./file-retention-yq2htxd9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./file-retention-wfkfyy92.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-kq2xfdb5.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./file-retention-g4wkbvr8.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service45
|
|
28
|
+
} from "./file-retention-5m3fjy3v.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input8,
|
|
38
|
+
Output: () => Output5,
|
|
39
|
+
Plugin: () => Plugin22,
|
|
40
|
+
name: () => name8,
|
|
41
|
+
toModelContent: () => toModelContent4
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name8 = "glob";
|
|
47
|
+
var Input8 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input12 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output5 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin22 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
71
|
-
const ripgrep = yield*
|
|
70
|
+
const environment = yield* Service55;
|
|
71
|
+
const ripgrep = yield* Service17;
|
|
72
72
|
const location = yield* Service76;
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
73
|
+
const mutation = yield* Service21;
|
|
74
|
+
const permission = yield* Service45;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name8,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input8,
|
|
80
|
+
output: Output5,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin43 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name8,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin43 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name8, Input8, Output5, toModelContent4, Plugin22, exports_glob };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-xh36sb1y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./file-retention-rvb2zp0m.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID16.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-rvb2zp0m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./file-retention-549wn4nn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./file-retention-f4cf0bsx.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service66;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service70);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-48ev9q21.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make17,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-28pcbh69.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-hrvm11jt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode-ai/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make17({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node40, exports_instruction_entry };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-qezejtch.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service76,
|
|
12
12
|
node81
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-s0n5ntn1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service75,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode-ai/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode-ai/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service75 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
44
|
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -120,9 +120,9 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service75.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node80 = makeLocationNode({ service: Service75, layer, deps: [node84, node81] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service75, node80, exports_rpc, define2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-48ev9q21.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./file-retention-jpg38yrs.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-8jq7hkfv.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-vefwj8vq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service27
|
|
18
|
+
} from "./file-retention-g0fndb66.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
24
|
var exports_generate = {};
|
|
@@ -29,12 +29,12 @@ __export(exports_generate, {
|
|
|
29
29
|
import { LLMClient, Message } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
31
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
|
-
const instances = yield*
|
|
32
|
+
const instances = yield* Service39;
|
|
33
33
|
const database = yield* Service80;
|
|
34
34
|
const llm = yield* LLMClient.Service;
|
|
35
35
|
return yield* Effect.gen(function* () {
|
|
36
36
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
37
|
+
const context = yield* Service27;
|
|
38
38
|
const selection = yield* context.select(input.session.id);
|
|
39
39
|
const model = yield* context.resolveModel(selection.session);
|
|
40
40
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command5 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-s0n5ntn1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./file-retention-yq2htxd9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service19,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-gzwcbpkz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./file-retention-qwr8y3n7.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service21
|
|
19
|
+
} from "./file-retention-g4wkbvr8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service45
|
|
22
|
+
} from "./file-retention-5m3fjy3v.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-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
34
|
Input: () => Input3,
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Output: () => Output2,
|
|
36
|
+
Plugin: () => Plugin16,
|
|
37
37
|
name: () => name3
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
@@ -51,7 +51,7 @@ var Input3 = 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 Output2 = 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 Plugin16 = {
|
|
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*
|
|
110
|
+
const mutation = yield* Service21;
|
|
111
|
+
const fileMutation = yield* Service19;
|
|
112
|
+
const environment = yield* Service55;
|
|
113
|
+
const formatter = yield* Service20;
|
|
114
114
|
const location = yield* Service76;
|
|
115
|
-
const permission = yield*
|
|
115
|
+
const permission = yield* Service45;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
117
|
name: name3,
|
|
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
120
|
input: Input3,
|
|
121
|
-
output:
|
|
121
|
+
output: Output2,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin33 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export { name3, Input3,
|
|
206
|
+
export { name3, Input3, Output2, Plugin16, exports_edit };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-xh36sb1y.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-6z5bwd8g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin4,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin4 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin22 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin22 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin4, exports_firecrawl };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./file-retention-nv4hhw20.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./file-retention-5m3fjy3v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service68;
|
|
57
|
+
const permission = yield* Service45;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|