@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info29,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-rxbdfnq0.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
|
-
Service80,
|
|
11
|
-
node85
|
|
12
|
-
} from "./tool-output-rmwqem2y.js";
|
|
13
|
-
import {
|
|
14
|
-
isSynced2,
|
|
15
10
|
Service79,
|
|
16
11
|
node84
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./agent-gak3es0t.js";
|
|
18
13
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
isSynced2,
|
|
15
|
+
Service78,
|
|
16
|
+
node83
|
|
17
|
+
} from "./agent-m8mnxh4b.js";
|
|
22
18
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node82
|
|
21
|
+
} from "./agent-tcvhc7ea.js";
|
|
22
|
+
import {
|
|
23
|
+
Service31,
|
|
24
|
+
node34
|
|
25
|
+
} from "./agent-vs313s01.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-mntxs535.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-g2dy4bvs.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node27
|
|
34
|
+
} from "./agent-adj555m4.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./agent-w7xx7zyy.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./agent-bharwccy.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./agent-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node25
|
|
47
|
+
} from "./agent-5448aj5z.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node73
|
|
51
|
+
} from "./agent-c6afg63y.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
MessageNotAssistantError2,
|
|
56
56
|
MessageIncompleteError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./agent-qq0s42pd.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput5,
|
|
70
|
+
Service73,
|
|
71
|
+
node78
|
|
72
|
+
} from "./agent-dns82vym.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service37,
|
|
75
|
+
node40
|
|
76
|
+
} from "./agent-1pgk3sz4.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service21,
|
|
79
|
+
node26
|
|
80
|
+
} from "./agent-qb76z85q.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./agent-0e0xafbb.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service35,
|
|
86
|
+
node38
|
|
87
|
+
} from "./agent-r44vzmrg.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./agent-7vdy950p.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./agent-a53x0zc2.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service20,
|
|
99
|
+
node24
|
|
100
|
+
} from "./agent-bbqqsne5.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service59,
|
|
103
|
+
node62
|
|
104
|
+
} from "./agent-aaybge2e.js";
|
|
105
105
|
import {
|
|
106
106
|
make12
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./agent-fm6rp3s9.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./agent-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,24 +118,24 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID16,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info29,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
|
-
ListInput: () =>
|
|
125
|
+
ListInput: () => ListInput2,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
127
127
|
MessageIncompleteError: () => MessageIncompleteError2,
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
129
129
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
|
-
NotFoundError: () =>
|
|
131
|
+
NotFoundError: () => NotFoundError9,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service19,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node23
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode-ai/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode-ai/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
148
|
-
var
|
|
149
|
-
class
|
|
148
|
+
var ListInput2 = ListInput5;
|
|
149
|
+
class Service19 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
|
-
const database = yield*
|
|
153
|
+
const database = yield* Service79;
|
|
154
154
|
const db = database.db;
|
|
155
|
-
const bus = yield*
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
155
|
+
const bus = yield* Service78;
|
|
156
|
+
const projects = yield* Service77;
|
|
157
|
+
const execution = yield* Service21;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
159
|
+
const transport = yield* Service35;
|
|
160
|
+
const store = yield* Service73;
|
|
161
|
+
const instances = yield* Service31;
|
|
162
|
+
const moves = yield* Service20;
|
|
163
|
+
const jobs = yield* Service37;
|
|
164
|
+
const environments = yield* Service59;
|
|
165
165
|
const sessions = yield* make12();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service19.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
172
172
|
return recorded;
|
|
173
173
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
174
174
|
if (input.parentID && parent === undefined)
|
|
175
|
-
return yield* new
|
|
175
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
176
176
|
const location = parent?.location ?? input.location;
|
|
177
177
|
if (location === undefined)
|
|
178
178
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service31, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node23 = Node.makeGlobalNode({
|
|
314
|
+
service: Service19,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
node85,
|
|
317
|
+
node40,
|
|
318
|
+
node62,
|
|
320
319
|
node84,
|
|
321
|
-
|
|
320
|
+
node83,
|
|
321
|
+
node82,
|
|
322
|
+
node26,
|
|
322
323
|
node38,
|
|
323
|
-
node36,
|
|
324
324
|
llmClient2,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
325
|
+
node78,
|
|
326
|
+
node34,
|
|
327
|
+
node27,
|
|
328
|
+
node24,
|
|
329
|
+
node25,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node73
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2,
|
|
335
|
+
export { ListAnchor2, ListInput2, Service19, node23, exports_session };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service80,
|
|
6
|
-
node85
|
|
7
|
-
} from "./tool-output-rmwqem2y.js";
|
|
3
|
+
} from "./agent-p8qxwesx.js";
|
|
8
4
|
import {
|
|
9
5
|
Service79,
|
|
10
6
|
node84
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./agent-gak3es0t.js";
|
|
12
8
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node83
|
|
11
|
+
} from "./agent-m8mnxh4b.js";
|
|
12
|
+
import {
|
|
13
|
+
Service80,
|
|
14
|
+
node85
|
|
15
|
+
} from "./agent-8rxwk6s8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-tppvcy65.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./agent-qvbcabdc.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-yg7sb877.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info31,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode-ai/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service80;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const db = (yield* Service79).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event20.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service77.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node82 = makeGlobalNode({
|
|
276
|
+
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node85, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service31
|
|
3
|
+
} from "./agent-vs313s01.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9zdhvgqs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./agent-2kn058km.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service31;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-c6afg63y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./agent-m8mnxh4b.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./agent-1rxbh4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-kxw418nq.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-rwbhhn1p.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID5.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID5.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID11.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -201,8 +201,10 @@ var OpenAIPlugin2 = define({
|
|
|
201
201
|
return;
|
|
202
202
|
}
|
|
203
203
|
const apiID = draft.modelID ?? draft.id;
|
|
204
|
-
const match = apiID.match(/^gpt-(\d
|
|
205
|
-
|
|
204
|
+
const match = apiID.match(/^gpt-(\d+)(?:\.(\d+))?/);
|
|
205
|
+
const major = Number(match?.[1]);
|
|
206
|
+
const minor = Number(match?.[2] ?? 0);
|
|
207
|
+
if (!codexAllowed.has(apiID) && (codexDisallowed.has(apiID) || !match || !(major > 5 || major === 5 && minor > 4))) {
|
|
206
208
|
draft.enabled = false;
|
|
207
209
|
return;
|
|
208
210
|
}
|
|
@@ -218,9 +220,9 @@ var OpenAIPlugin2 = define({
|
|
|
218
220
|
evt.baseURL = codexBaseURL;
|
|
219
221
|
evt.headers.originator = "opencode";
|
|
220
222
|
evt.headers["session-id"] = evt.sessionID;
|
|
221
|
-
}), { providerID:
|
|
223
|
+
}), { providerID: ID11.openai });
|
|
222
224
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
223
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
224
226
|
})
|
|
225
227
|
});
|
|
226
228
|
function headers(contentType, app) {
|