@opencode-ai/core 0.0.0-dev-19132 → 0.0.0-dev-19134
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/{tool-output-famd3pv6.js → agent-01w7s3hf.js} +5 -5
- package/dist/chunks/{tool-output-rmhwgps5.js → agent-022wyyth.js} +4 -4
- package/dist/chunks/{tool-output-japv3nz8.js → agent-035ccfev.js} +25 -25
- package/dist/chunks/{tool-output-4mdhf6qb.js → agent-0bhfshk5.js} +20 -20
- package/dist/chunks/{tool-output-0e0xafbb.js → agent-0e0xafbb.js} +2 -2
- package/dist/chunks/{tool-output-569kkztx.js → agent-0etjh3sx.js} +46 -46
- package/dist/chunks/{tool-output-tz4n1mmd.js → agent-0k2v0y72.js} +4 -4
- package/dist/chunks/{tool-output-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-output-w4600456.js → agent-0rag4e4f.js} +4 -4
- package/dist/chunks/{tool-output-0s9ayhjt.js → agent-0s9ayhjt.js} +1 -1
- package/dist/chunks/{tool-output-247ymhap.js → agent-0wc4szmq.js} +1 -1
- package/dist/chunks/{tool-output-ws113hft.js → agent-14h757nk.js} +11 -11
- package/dist/chunks/{tool-output-1ct4r87x.js → agent-1ct4r87x.js} +1 -1
- package/dist/chunks/{tool-output-g1k83tts.js → agent-1en627kf.js} +9 -9
- package/dist/chunks/{tool-output-ckev9kd7.js → agent-1ezz2wmh.js} +3 -3
- package/dist/chunks/{tool-output-rgpp5x08.js → agent-1f1wzhgc.js} +4 -4
- package/dist/chunks/{tool-output-8yvym9ym.js → agent-1n116cmy.js} +9 -9
- package/dist/chunks/{tool-output-x0bh2f69.js → agent-1pgk3sz4.js} +15 -15
- package/dist/chunks/{tool-output-prhj47bn.js → agent-1rxbh4dg.js} +34 -34
- package/dist/chunks/{tool-output-mtcjf44p.js → agent-1z80kc63.js} +8 -8
- package/dist/chunks/{tool-output-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{tool-output-2402vzrj.js → agent-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-output-qr6f7pbk.js → agent-26qqzp3j.js} +11 -11
- package/dist/chunks/{tool-output-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-output-2ht70gj7.js → agent-2ht70gj7.js} +1 -1
- package/dist/chunks/{tool-output-2jqmte8w.js → agent-2jqmte8w.js} +2 -2
- package/dist/chunks/{tool-output-fcrkznn8.js → agent-2k8khapm.js} +5 -5
- package/dist/chunks/{tool-output-1hsk58z5.js → agent-2kn058km.js} +50 -50
- package/dist/chunks/{tool-output-ze4dnq9c.js → agent-2m4g9ewj.js} +20 -20
- package/dist/chunks/{tool-output-n8c291r7.js → agent-2y34zzjz.js} +6 -6
- package/dist/chunks/{tool-output-tzqg8t7v.js → agent-31azyw44.js} +23 -23
- package/dist/chunks/{tool-output-hz6ssrgr.js → agent-31sg83h3.js} +16 -16
- package/dist/chunks/{tool-output-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-output-nx5t2780.js → agent-3h4s9wf1.js} +13 -13
- package/dist/chunks/{tool-output-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-zz3058qf.js → agent-3mkt1fq8.js} +46 -46
- package/dist/chunks/{tool-output-pg3hw8q9.js → agent-3qnxcvkk.js} +20 -20
- package/dist/chunks/{tool-output-3qzbfqsy.js → agent-3qzbfqsy.js} +2 -2
- package/dist/chunks/{tool-output-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-output-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-output-ej6vmzpd.js → agent-3xcehbhs.js} +17 -17
- package/dist/chunks/{tool-output-q9v1gax8.js → agent-3z68pr8k.js} +11 -11
- package/dist/chunks/{tool-output-454k5vzh.js → agent-454k5vzh.js} +1 -1
- package/dist/chunks/{tool-output-82aytm87.js → agent-4crm0y3y.js} +1 -1
- package/dist/chunks/{tool-output-1f348y00.js → agent-4npbydey.js} +15 -15
- package/dist/chunks/{tool-output-4r2nyarf.js → agent-4r2nyarf.js} +1 -1
- package/dist/chunks/{tool-output-tzhrccfj.js → agent-4w16edgh.js} +15 -15
- package/dist/chunks/{tool-output-mdtevav1.js → agent-5448aj5z.js} +22 -22
- package/dist/chunks/{tool-output-6nvjfdj9.js → agent-55xx6td3.js} +7 -7
- package/dist/chunks/{tool-output-weyy6kkj.js → agent-57bm4pw2.js} +25 -25
- package/dist/chunks/{tool-output-v5f5ppmn.js → agent-59p9anb2.js} +23 -23
- package/dist/chunks/{tool-output-w8b4drz0.js → agent-5bccfspb.js} +11 -11
- package/dist/chunks/{tool-output-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-output-5fmxt4p5.js → agent-5fmxt4p5.js} +1 -1
- package/dist/chunks/{tool-output-5jvc5tg2.js → agent-5jvc5tg2.js} +1 -1
- package/dist/chunks/{tool-output-evzgc5we.js → agent-5nhnxyzk.js} +8 -8
- package/dist/chunks/{tool-output-hy9vpt90.js → agent-65g465sb.js} +12 -12
- package/dist/chunks/{tool-output-bh37eqvz.js → agent-65xgr3ez.js} +7 -7
- package/dist/chunks/{tool-output-x6746gyg.js → agent-67h63hm0.js} +30 -30
- package/dist/chunks/{tool-output-4m7h44j9.js → agent-68seyw0w.js} +37 -37
- package/dist/chunks/{tool-output-r71xzazx.js → agent-6nd0921f.js} +9 -9
- package/dist/chunks/{tool-output-fn9rhyff.js → agent-6s53yxk4.js} +29 -29
- package/dist/chunks/{tool-output-w3jym6ha.js → agent-6z5bwd8g.js} +6 -6
- package/dist/chunks/{tool-output-711hfp6y.js → agent-711hfp6y.js} +2 -2
- package/dist/chunks/{tool-output-72nftnjy.js → agent-72nftnjy.js} +2 -2
- package/dist/chunks/{tool-output-15q8ja5w.js → agent-759pz1a2.js} +8 -8
- package/dist/chunks/{tool-output-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-0w19ktq4.js → agent-7ekmjv5k.js} +2 -2
- package/dist/chunks/{tool-output-jw9vr5cv.js → agent-7n2tcerd.js} +11 -11
- package/dist/chunks/{tool-output-4yn2xrp2.js → agent-7qpar7b0.js} +32 -32
- package/dist/chunks/{tool-output-7x2gvtfy.js → agent-7r0r50e5.js} +5 -5
- package/dist/chunks/{tool-output-vygsk7ks.js → agent-7t94ejvv.js} +4 -4
- package/dist/chunks/{tool-output-j1gqb96e.js → agent-7vdy950p.js} +13 -13
- package/dist/chunks/{tool-output-9p0pre9t.js → agent-7wbeyhp9.js} +9 -9
- package/dist/chunks/{tool-output-k1eaxeb6.js → agent-7zhf76n3.js} +24 -24
- package/dist/chunks/{tool-output-25m4ah6t.js → agent-806j49yq.js} +7 -7
- package/dist/chunks/{tool-output-v60k9n82.js → agent-80ems202.js} +24 -24
- package/dist/chunks/{tool-output-pf2z7t4n.js → agent-810y1jh4.js} +7 -7
- package/dist/chunks/{tool-output-n4at383v.js → agent-8pk35v3b.js} +31 -31
- package/dist/chunks/{tool-output-zfgcdem1.js → agent-8qyy1b3c.js} +8 -8
- package/dist/chunks/{tool-output-aremtmnh.js → agent-8rxwk6s8.js} +10 -10
- package/dist/chunks/{tool-output-9snq17a4.js → agent-8zped23d.js} +5 -5
- package/dist/chunks/{tool-output-wem6z0kr.js → agent-91aj8tvp.js} +26 -26
- package/dist/chunks/{tool-output-93a8yfjt.js → agent-93a8yfjt.js} +2 -2
- package/dist/chunks/{tool-output-9bepaz0a.js → agent-9hjqzppv.js} +31 -31
- package/dist/chunks/{tool-output-zm6456hf.js → agent-9ktg0kwy.js} +25 -25
- package/dist/chunks/{tool-output-q0qrc1wp.js → agent-9q2vx4dz.js} +40 -40
- package/dist/chunks/{tool-output-fvzje8s4.js → agent-9s4ajjhc.js} +22 -22
- package/dist/chunks/{tool-output-caxth0g0.js → agent-9wfg6z9j.js} +20 -20
- package/dist/chunks/{tool-output-ameg2vx3.js → agent-9xvrg3b1.js} +1 -1
- package/dist/chunks/agent-9zdhvgqs.js +18 -0
- package/dist/chunks/{tool-output-2m8gjhsm.js → agent-a15cmqra.js} +8 -8
- package/dist/chunks/{tool-output-xaey0kp4.js → agent-a2q94wnn.js} +46 -46
- package/dist/chunks/{tool-output-vah81f4s.js → agent-a53x0zc2.js} +8 -8
- package/dist/chunks/{tool-output-44f31d2j.js → agent-a5wzkdk7.js} +28 -28
- package/dist/chunks/{tool-output-xyeb15gg.js → agent-a8fdacep.js} +33 -33
- package/dist/chunks/{tool-output-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-output-hjf2e9et.js → agent-aaybge2e.js} +8 -8
- package/dist/chunks/{tool-output-rph3zd4r.js → agent-ab9238g2.js} +6 -6
- package/dist/chunks/{tool-output-0hsgr9de.js → agent-adj555m4.js} +26 -26
- package/dist/chunks/{tool-output-d78q1k7h.js → agent-ar3vq2rb.js} +12 -12
- package/dist/chunks/{tool-output-ccrjyqkm.js → agent-asfb91ym.js} +13 -13
- package/dist/chunks/{tool-output-9enr510g.js → agent-atxn8a3g.js} +15 -15
- package/dist/chunks/{tool-output-na3y75gh.js → agent-awqyf91x.js} +5 -5
- package/dist/chunks/{tool-output-4bz12b3s.js → agent-b2jmq90t.js} +30 -30
- package/dist/chunks/{tool-output-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-output-b9wsbatv.js → agent-b9wsbatv.js} +1 -1
- package/dist/chunks/{tool-output-hjj5zc3y.js → agent-bbqqsne5.js} +62 -62
- package/dist/chunks/{tool-output-3j8sdtpz.js → agent-bct739vz.js} +4 -4
- package/dist/chunks/{tool-output-fas5f0m7.js → agent-bharwccy.js} +20 -20
- package/dist/chunks/{tool-output-3qze2g25.js → agent-bqarnab4.js} +2 -2
- package/dist/chunks/{tool-output-sagqnce1.js → agent-bs24dhpj.js} +1 -1
- package/dist/chunks/{tool-output-xr7dgcbj.js → agent-by97waje.js} +53 -53
- package/dist/chunks/{tool-output-bjk7rtqc.js → agent-c03sxnnv.js} +174 -174
- package/dist/chunks/{tool-output-d5r6akyc.js → agent-c6afg63y.js} +11 -11
- package/dist/chunks/{tool-output-nhm2wt1a.js → agent-c7w00fnw.js} +7 -7
- package/dist/chunks/{tool-output-xdp8bjn8.js → agent-c9cdp0vn.js} +12 -12
- package/dist/chunks/{tool-output-argmj6e6.js → agent-crf72gwq.js} +6 -6
- package/dist/chunks/{tool-output-7ebb2hj1.js → agent-cx951yas.js} +24 -24
- package/dist/chunks/{tool-output-f1ge807f.js → agent-cxrechn0.js} +20 -20
- package/dist/chunks/{tool-output-n4k1efnb.js → agent-czdarw0y.js} +69 -69
- package/dist/chunks/{tool-output-hm5tgwy0.js → agent-czfdxcf9.js} +25 -25
- package/dist/chunks/{tool-output-n1017v7e.js → agent-d98jztjr.js} +11 -11
- package/dist/chunks/{tool-output-18msf0rq.js → agent-dd4gnkmv.js} +11 -11
- package/dist/chunks/{tool-output-dhbxcgm0.js → agent-df7nm8fz.js} +29 -29
- package/dist/chunks/{tool-output-czca2s0b.js → agent-djhf0gy5.js} +43 -43
- package/dist/chunks/{tool-output-2b3va5cq.js → agent-dns82vym.js} +19 -19
- package/dist/chunks/{tool-output-55ntyqe3.js → agent-e1pnr02a.js} +5 -5
- package/dist/chunks/{tool-output-dgy35hnk.js → agent-e457wa0p.js} +15 -15
- package/dist/chunks/{tool-output-8a1k5732.js → agent-e4gpwzj6.js} +9 -9
- package/dist/chunks/{tool-output-cqchdrgq.js → agent-ecbt05nt.js} +5 -5
- package/dist/chunks/{tool-output-ttfb1syt.js → agent-ehjws9wm.js} +17 -17
- package/dist/chunks/{tool-output-9ec7knr6.js → agent-ens6nfbp.js} +28 -28
- package/dist/chunks/{tool-output-mhkvc446.js → agent-eq1pz5kg.js} +3 -3
- package/dist/chunks/{tool-output-k24h35sc.js → agent-eszpqqjx.js} +27 -27
- package/dist/chunks/{tool-output-ez5b8bq3.js → agent-ez5b8bq3.js} +1 -1
- package/dist/chunks/{tool-output-eqdqr40m.js → agent-f3y516wx.js} +10 -10
- package/dist/chunks/agent-fa7kv0pp.js +247 -0
- package/dist/chunks/{tool-output-r31ka9dq.js → agent-fm6rp3s9.js} +34 -34
- package/dist/chunks/{tool-output-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-output-fxypknc8.js → agent-fxypknc8.js} +1 -1
- package/dist/chunks/{tool-output-hrvm11jt.js → agent-g2dy4bvs.js} +3 -3
- package/dist/chunks/{tool-output-d72308c8.js → agent-g2gt0w0k.js} +2 -2
- package/dist/chunks/{tool-output-rmwqem2y.js → agent-gak3es0t.js} +11 -11
- package/dist/chunks/{tool-output-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-output-z3h7hm3n.js → agent-gdkjhw4h.js} +4 -4
- package/dist/chunks/{tool-output-vcct9v24.js → agent-gf1b3qaq.js} +6 -6
- package/dist/chunks/{tool-output-g1v92phv.js → agent-gf4sh87j.js} +1 -1
- package/dist/chunks/{tool-output-qq99h9rs.js → agent-gp7nde0h.js} +32 -32
- package/dist/chunks/{tool-output-k9xtemaj.js → agent-gs7dfp15.js} +9 -9
- package/dist/chunks/{tool-output-bsc9144r.js → agent-gvmasxkv.js} +13 -13
- package/dist/chunks/{tool-output-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-output-ww8c32hp.js → agent-h722e297.js} +5 -5
- package/dist/chunks/{tool-output-heyhwy2w.js → agent-heyhwy2w.js} +1 -1
- package/dist/chunks/{tool-output-g3vtbd9v.js → agent-hf34rg9m.js} +15 -15
- package/dist/chunks/{tool-output-0scj3zdw.js → agent-hqd7e165.js} +10 -10
- package/dist/chunks/{tool-output-kvsjn1dr.js → agent-hw4pv20g.js} +2 -2
- package/dist/chunks/{tool-output-zn0578f7.js → agent-hybax9yn.js} +62 -62
- package/dist/chunks/{tool-output-jnhf5mef.js → agent-j8nnq7em.js} +1 -1
- package/dist/chunks/{tool-output-5qd3pb7m.js → agent-j935v87r.js} +2 -2
- package/dist/chunks/{tool-output-485jrevg.js → agent-jbckvzxk.js} +17 -17
- package/dist/chunks/{tool-output-13a9area.js → agent-jhtq1fsz.js} +6 -6
- package/dist/chunks/{tool-output-2ghyg1gj.js → agent-jnyk3mzb.js} +22 -22
- package/dist/chunks/{tool-output-q780xd79.js → agent-jpkebe24.js} +13 -13
- package/dist/chunks/{tool-output-rg15grrc.js → agent-jrjfj6f1.js} +24 -24
- package/dist/chunks/{tool-output-z65ge745.js → agent-jrsbke6c.js} +5 -5
- package/dist/chunks/{tool-output-kpyq2w0f.js → agent-jteae0j7.js} +3 -3
- package/dist/chunks/{tool-output-c3vd9c4p.js → agent-jyf935bj.js} +39 -39
- package/dist/chunks/{tool-output-gkp8xgp5.js → agent-k2tv210q.js} +4 -4
- package/dist/chunks/{tool-output-k4bwy1x5.js → agent-k4bwy1x5.js} +1 -1
- package/dist/chunks/{tool-output-4hkt8a97.js → agent-kar5tx9z.js} +10 -10
- package/dist/chunks/{tool-output-kg06axw8.js → agent-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-output-m7qyabmr.js → agent-ks21ngwh.js} +7 -7
- package/dist/chunks/{tool-output-hsbzga32.js → agent-kxw418nq.js} +33 -33
- package/dist/chunks/{tool-output-00v6267a.js → agent-kzr8291h.js} +23 -23
- package/dist/chunks/{tool-output-d3n7r00r.js → agent-m8mnxh4b.js} +16 -16
- package/dist/chunks/{tool-output-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-ka0bj372.js → agent-mhk86k01.js} +32 -32
- package/dist/chunks/{tool-output-nar257dn.js → agent-mkmcbfj7.js} +13 -13
- package/dist/chunks/{tool-output-ra4jqc86.js → agent-mr60vpn5.js} +28 -28
- package/dist/chunks/{tool-output-kzpdcxr5.js → agent-n6q5hn6k.js} +16 -16
- package/dist/chunks/{tool-output-1yhxqyw8.js → agent-na6nvkmt.js} +22 -22
- package/dist/chunks/{tool-output-bjqnstrp.js → agent-nddsbw1c.js} +6 -6
- package/dist/chunks/agent-ngp141x2.js +22 -0
- package/dist/chunks/{tool-output-zjhrmf3z.js → agent-nj1g2yhc.js} +8 -8
- package/dist/chunks/{tool-output-97prekb9.js → agent-nryvk2bb.js} +27 -27
- package/dist/chunks/{tool-output-h1ykqn37.js → agent-nxrz604p.js} +9 -9
- package/dist/chunks/{tool-output-wwajs08n.js → agent-p1r008p0.js} +19 -19
- package/dist/chunks/{tool-output-xqhwf5xj.js → agent-p2qkj8wm.js} +22 -22
- package/dist/chunks/{tool-output-ccj0fzck.js → agent-p32d7zzt.js} +8 -8
- package/dist/chunks/{tool-output-686ax7c6.js → agent-p7fwe8hr.js} +11 -11
- package/dist/chunks/{tool-output-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-output-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-4xcycakt.js → agent-pm2mekbm.js} +88 -88
- package/dist/chunks/{tool-output-x2rt1cxd.js → agent-ptcr5d7p.js} +5 -5
- package/dist/chunks/{tool-output-dwf86yg8.js → agent-qb37cqa6.js} +13 -13
- package/dist/chunks/{tool-output-yjz1f1f0.js → agent-qb76z85q.js} +40 -40
- package/dist/chunks/{tool-output-77n460ss.js → agent-qj09d9qc.js} +20 -20
- package/dist/chunks/{tool-output-5y6zvhcz.js → agent-qkmrjpc8.js} +30 -30
- package/dist/chunks/{tool-output-k6tm9d53.js → agent-qmgssm61.js} +26 -26
- package/dist/chunks/{tool-output-6vtapc9a.js → agent-qq0s42pd.js} +9 -9
- package/dist/chunks/{tool-output-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-output-s23pjjxf.js → agent-qtc5wbcs.js} +29 -29
- package/dist/chunks/{tool-output-krxma7wz.js → agent-qv5d22yx.js} +4 -4
- package/dist/chunks/{tool-output-9qm9egsn.js → agent-qvbcabdc.js} +2 -2
- package/dist/chunks/{tool-output-zsa7ehjp.js → agent-r2res0kp.js} +9 -9
- package/dist/chunks/{tool-output-6ykbrvh7.js → agent-r44vzmrg.js} +11 -11
- package/dist/chunks/{tool-output-v94b4k3z.js → agent-r7b3zwn8.js} +21 -21
- package/dist/chunks/{tool-output-r8dhm0tv.js → agent-r8dhm0tv.js} +1 -1
- package/dist/chunks/{tool-output-zs0ehyry.js → agent-redfcqdd.js} +4 -4
- package/dist/chunks/{tool-output-1fmdk59e.js → agent-rhs5vnag.js} +6 -6
- package/dist/chunks/{tool-output-q4kxyhwq.js → agent-rk7nwdhj.js} +16 -16
- package/dist/chunks/{tool-output-g2c9bhkq.js → agent-rwbhhn1p.js} +8 -8
- package/dist/chunks/{tool-output-xxz5bf5t.js → agent-rxbdfnq0.js} +3 -3
- package/dist/chunks/{tool-output-0z6f9cm5.js → agent-s4g226qt.js} +13 -13
- package/dist/chunks/{tool-output-sba4qhjf.js → agent-sba4qhjf.js} +1 -1
- package/dist/chunks/{tool-output-px713267.js → agent-sbhn25d0.js} +25 -25
- package/dist/chunks/{tool-output-4yzb8m3n.js → agent-smb21sg5.js} +28 -28
- package/dist/chunks/{tool-output-1e56kq4r.js → agent-t49wxcvk.js} +36 -36
- package/dist/chunks/{tool-output-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-output-ygzesew9.js → agent-tb635r1t.js} +90 -90
- package/dist/chunks/{tool-output-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-output-39mhf8tw.js → agent-tcvhc7ea.js} +46 -46
- package/dist/chunks/{tool-output-7ba7ze62.js → agent-tepvdgp6.js} +9 -9
- package/dist/chunks/{tool-output-fgabtf5j.js → agent-tgwtqm6f.js} +20 -18
- package/dist/chunks/{tool-output-thfv75je.js → agent-thfv75je.js} +2 -2
- package/dist/chunks/{tool-output-83cmsqwx.js → agent-thvv0w5b.js} +29 -29
- package/dist/chunks/{tool-output-tjykrgmx.js → agent-tjykrgmx.js} +1 -1
- package/dist/chunks/{tool-output-fr2yak2c.js → agent-tkg14h75.js} +6 -6
- package/dist/chunks/{tool-output-h3pqrkpf.js → agent-tp9gt758.js} +4 -4
- package/dist/chunks/{tool-output-saxt99x3.js → agent-tppvcy65.js} +9 -9
- package/dist/chunks/{tool-output-1sgfeced.js → agent-tscg86cs.js} +32 -32
- package/dist/chunks/{tool-output-6hj5ttpj.js → agent-v2wh89ge.js} +2 -2
- package/dist/chunks/{tool-output-8yn43qtz.js → agent-v7qwqw98.js} +11 -11
- package/dist/chunks/{tool-output-0c3mwf6m.js → agent-v9z32g9k.js} +12 -12
- package/dist/chunks/{tool-output-wgcrfrpe.js → agent-vs313s01.js} +6 -6
- package/dist/chunks/{tool-output-8w0560vy.js → agent-vt3sdt2p.js} +10 -10
- package/dist/chunks/{tool-output-tccsmzye.js → agent-vx3pgvz4.js} +14 -14
- package/dist/chunks/{tool-output-kgz6e3w7.js → agent-vz2cwsm9.js} +25 -25
- package/dist/chunks/agent-w3vb4krt.js +4 -0
- package/dist/chunks/{tool-output-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-9ez4hyjp.js → agent-w750rgvc.js} +18 -18
- package/dist/chunks/{tool-output-g3m9axkp.js → agent-w7xx7zyy.js} +4 -4
- package/dist/chunks/{tool-output-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-pr76kmnp.js → agent-wfzrsdxz.js} +11 -11
- package/dist/chunks/{tool-output-y131pzyf.js → agent-wm2nxt60.js} +33 -33
- package/dist/chunks/{tool-output-wh6c55f0.js → agent-wxjr8ywh.js} +20 -20
- package/dist/chunks/{tool-output-knys70rp.js → agent-x108nqtd.js} +3 -3
- package/dist/chunks/{tool-output-wyvhcckn.js → agent-x1cmshak.js} +35 -35
- package/dist/chunks/{tool-output-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-output-5tfcvdvj.js → agent-x6a99p7m.js} +5 -5
- package/dist/chunks/{tool-output-8g36mnye.js → agent-x81n7arw.js} +22 -22
- package/dist/chunks/{tool-output-5hmb1qky.js → agent-xbr894yq.js} +11 -11
- package/dist/chunks/{tool-output-q128857m.js → agent-xea88nm1.js} +1 -1
- package/dist/chunks/{tool-output-gnsz9nc1.js → agent-xffcgm1v.js} +6 -6
- package/dist/chunks/{tool-output-445zs45w.js → agent-xkc4w1jp.js} +13 -13
- package/dist/chunks/{tool-output-9kn3y1c4.js → agent-xkm3xnb1.js} +17 -17
- package/dist/chunks/{tool-output-xcvr6978.js → agent-xswknbe2.js} +18 -18
- package/dist/chunks/{tool-output-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-output-p2da9514.js → agent-y1z2akcv.js} +11 -11
- package/dist/chunks/{tool-output-jwcy2c2z.js → agent-y71avatq.js} +4 -4
- package/dist/chunks/{tool-output-nr99m0en.js → agent-yba16dxq.js} +4 -4
- package/dist/chunks/{tool-output-yfbd16n1.js → agent-yfbd16n1.js} +2 -2
- package/dist/chunks/{tool-output-ajtjthsy.js → agent-yg7sb877.js} +2 -2
- package/dist/chunks/{tool-output-zqzmmpvz.js → agent-yq43v846.js} +24 -24
- package/dist/chunks/{tool-output-e7zjw5ny.js → agent-yyxvg800.js} +20 -20
- package/dist/chunks/{tool-output-qgsqhvx2.js → agent-yzmzwmzr.js} +18 -18
- package/dist/chunks/{tool-output-db3ykw20.js → agent-z02m7gq6.js} +9 -9
- package/dist/chunks/{tool-output-3wbr049b.js → agent-z11ppbym.js} +22 -22
- package/dist/chunks/{tool-output-z1k01bn4.js → agent-z1k01bn4.js} +2 -2
- package/dist/chunks/{tool-output-z3xgatyd.js → agent-z3xgatyd.js} +1 -1
- package/dist/chunks/{tool-output-29x78va6.js → agent-z63w68vq.js} +6 -6
- package/dist/chunks/{tool-output-kecnvzyc.js → agent-zbnhqhy2.js} +5 -5
- package/dist/chunks/{tool-output-0bzq9r6e.js → agent-zevg6rsq.js} +40 -40
- package/dist/chunks/{tool-output-90ppjbsz.js → agent-zg6phhks.js} +307 -307
- package/dist/chunks/{tool-output-x9qr1909.js → agent-ztnyd3e4.js} +9 -9
- package/dist/chunks/{tool-output-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +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 +82 -82
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- 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 +218 -218
- 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 +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- 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 +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 +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 +75 -75
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- 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 +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- 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 +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- 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 +1 -1
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +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 +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +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 +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -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 +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- 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 +113 -113
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +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 +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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/tool-output-7zk4hah4.js +0 -4
- package/dist/chunks/tool-output-ep4g9sqb.js +0 -247
- package/dist/chunks/tool-output-n95b3jav.js +0 -18
- package/dist/chunks/tool-output-ztgsftx4.js +0 -22
- /package/dist/chunks/{tool-output-0fabt78z.js → agent-0fabt78z.js} +0 -0
- /package/dist/chunks/{tool-output-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3t738kvx.js → agent-3t738kvx.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-41nvscxy.js → agent-41nvscxy.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-982e01ww.js → agent-982e01ww.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a1tpkmh4.js → agent-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-mntxs535.js → agent-mntxs535.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-p8qxwesx.js → agent-p8qxwesx.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-se0s1eqw.js → agent-se0s1eqw.js} +0 -0
- /package/dist/chunks/{tool-output-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-twg0f83k.js → agent-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x1b8g1yb.js → agent-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → agent-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-output-zbjnn3ac.js → agent-zbjnn3ac.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./tool-output-d3n7r00r.js";
|
|
5
1
|
import {
|
|
6
2
|
Service78,
|
|
7
3
|
node83
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./agent-m8mnxh4b.js";
|
|
5
|
+
import {
|
|
6
|
+
Service69,
|
|
7
|
+
node74
|
|
8
|
+
} from "./agent-asfb91ym.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event12,
|
|
21
|
+
ID: () => ID7,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,27 +28,27 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service57,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node60
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode-ai/schema/websearch";
|
|
36
36
|
import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
|
-
import { Event as
|
|
39
|
-
var
|
|
38
|
+
import { Event as Event12 } from "@opencode-ai/schema/websearch";
|
|
39
|
+
var ID7 = WebSearch.ID;
|
|
40
40
|
var Provider2 = WebSearch.Provider;
|
|
41
41
|
var Input14 = WebSearch.Input;
|
|
42
42
|
var Result2 = WebSearch.Result;
|
|
43
43
|
var Response2 = WebSearch.Response;
|
|
44
44
|
var ProviderKey2 = "websearch:provider";
|
|
45
|
-
var Selection2 = Schema.Union([
|
|
45
|
+
var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
|
|
46
46
|
|
|
47
47
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
51
|
-
providerID:
|
|
51
|
+
providerID: ID7
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -56,16 +56,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
59
|
-
providerID:
|
|
59
|
+
providerID: ID7,
|
|
60
60
|
cause: Schema.Defect()
|
|
61
61
|
}) {
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service57 extends Context.Service()("@opencode/WebSearch") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const bus = yield*
|
|
68
|
-
const kv = yield*
|
|
66
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
67
|
+
const bus = yield* Service78;
|
|
68
|
+
const kv = yield* Service69;
|
|
69
69
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
70
70
|
const state = create3({
|
|
71
71
|
initial: () => ({ providers: new Map }),
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
106
106
|
return yield* new ProviderRequiredError2;
|
|
107
107
|
return provider;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service57.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
129
129
|
})
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
132
|
+
var node60 = makeLocationNode({
|
|
133
|
+
service: Service57,
|
|
134
134
|
layer,
|
|
135
|
-
deps: [
|
|
135
|
+
deps: [node83, node74]
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
export {
|
|
138
|
+
export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service57, node60, exports_websearch3, Event12 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info26,
|
|
6
|
+
ID12,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-91aj8tvp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./agent-3mkt1fq8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin14,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin14 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info26.make({
|
|
431
|
+
id: ID12.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info26.make({
|
|
438
|
+
id: ID12.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service60;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-1z80kc63.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-mntxs535.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-g2dy4bvs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./agent-3mkt1fq8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./agent-1n116cmy.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin43
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin43, exports_location_watcher2 };
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./agent-xkm3xnb1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./agent-yq43v846.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./agent-atxn8a3g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-s4g226qt.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service16
|
|
24
|
+
} from "./agent-31sg83h3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service71
|
|
27
|
+
} from "./agent-hybax9yn.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
40
|
Output: () => Output7,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin23,
|
|
43
|
+
name: () => name8,
|
|
44
|
+
toModelContent: () => toModelContent6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name8 = "patch";
|
|
90
|
+
var Input8 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -101,25 +101,25 @@ var Output7 = Schema.Struct({
|
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent6 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin23 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service63;
|
|
113
|
+
const mutation = yield* Service16;
|
|
114
|
+
const fileMutation = yield* Service13;
|
|
115
|
+
const formatter = yield* Service18;
|
|
116
|
+
const location = yield* Service76;
|
|
117
|
+
const permission = yield* Service71;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name8,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
122
|
+
input: Input8,
|
|
123
123
|
output: Output7,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
@@ -273,7 +273,7 @@ var Plugin41 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent6(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name8, Input8, Applied2, Output7, toModelContent6, Plugin23, exports_patch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./agent-gak3es0t.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-g2gt0w0k.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info27,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode-ai/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info27 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service79).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID14.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service72.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node77 = makeGlobalNode({ service: Service72, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID14, Info27, ListInput4, AddInput2, Service72, node77, exports_saved };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-0etjh3sx.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./agent-xkm3xnb1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./agent-yq43v846.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./agent-xswknbe2.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-035ccfev.js";
|
|
24
24
|
import {
|
|
25
25
|
externalDirectoryPermission2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./agent-31sg83h3.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service71
|
|
30
|
+
} from "./agent-hybax9yn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input7,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name7 = "grep";
|
|
49
|
+
var Input7 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input12 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output6 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,20 +84,20 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin22 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const mutation = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service63;
|
|
91
|
+
const ripgrep = yield* Service47;
|
|
92
|
+
const location = yield* Service76;
|
|
93
|
+
const mutation = yield* Service16;
|
|
94
|
+
const permission = yield* Service71;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name7,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input7,
|
|
100
|
+
output: Output6,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
103
103
|
const target = yield* mutation.resolve({ path: input.path ?? "." });
|
|
@@ -109,7 +109,7 @@ var Plugin43 = {
|
|
|
109
109
|
source
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.pattern],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: {
|
|
@@ -151,7 +151,7 @@ var Plugin43 = {
|
|
|
151
151
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
152
152
|
}).pipe(Effect.map((result) => ({
|
|
153
153
|
output: result.matches,
|
|
154
|
-
content:
|
|
154
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
155
155
|
...match,
|
|
156
156
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
157
157
|
})), result.truncated),
|
|
@@ -161,4 +161,4 @@ var Plugin43 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { name7, Input7, Output6, toModelContent5, Plugin22, exports_grep };
|