@opencode-ai/core 0.0.0-dev-19132 → 0.0.0-dev-19142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{tool-output-rph3zd4r.js → app-0b9a3syv.js} +5 -5
- package/dist/chunks/{tool-output-0e0xafbb.js → app-0e0xafbb.js} +2 -2
- package/dist/chunks/{tool-output-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-output-prhj47bn.js → app-0pnstday.js} +30 -30
- package/dist/chunks/{tool-output-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
- package/dist/chunks/{tool-output-fvzje8s4.js → app-10crkvny.js} +22 -22
- package/dist/chunks/{tool-output-xaey0kp4.js → app-11ayww28.js} +44 -44
- package/dist/chunks/{tool-output-db3ykw20.js → app-11nb5kwh.js} +9 -9
- package/dist/chunks/{tool-output-g3m9axkp.js → app-12m25a1r.js} +4 -4
- package/dist/chunks/{tool-output-ygzesew9.js → app-19zwchw3.js} +87 -87
- package/dist/chunks/{tool-output-2b3va5cq.js → app-1ac4g41n.js} +14 -14
- package/dist/chunks/{tool-output-zqzmmpvz.js → app-1ayxneq2.js} +24 -24
- package/dist/chunks/{tool-output-nar257dn.js → app-1cnz31nk.js} +8 -8
- package/dist/chunks/{tool-output-1ct4r87x.js → app-1ct4r87x.js} +1 -1
- package/dist/chunks/{tool-output-7ba7ze62.js → app-1eg3ajsc.js} +9 -9
- package/dist/chunks/{tool-output-x0bh2f69.js → app-1g3sbppe.js} +14 -14
- package/dist/chunks/{tool-output-e7zjw5ny.js → app-1jdc2svp.js} +16 -16
- package/dist/chunks/{tool-output-8w0560vy.js → app-1jynzpaq.js} +12 -12
- package/dist/chunks/{tool-output-famd3pv6.js → app-1mrma768.js} +5 -5
- package/dist/chunks/{tool-output-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{tool-output-j1gqb96e.js → app-2548brk4.js} +15 -15
- package/dist/chunks/{tool-output-25m4ah6t.js → app-25m4ah6t.js} +1 -1
- package/dist/chunks/{tool-output-wem6z0kr.js → app-28dgmzze.js} +28 -28
- package/dist/chunks/{tool-output-mtcjf44p.js → app-28pcbh69.js} +4 -4
- package/dist/chunks/{tool-output-29x78va6.js → app-29x78va6.js} +2 -2
- package/dist/chunks/{tool-output-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-output-2ht70gj7.js → app-2ht70gj7.js} +1 -1
- package/dist/chunks/{tool-output-caxth0g0.js → app-2jfbx11t.js} +15 -15
- package/dist/chunks/{tool-output-2jqmte8w.js → app-2jqmte8w.js} +2 -2
- package/dist/chunks/{tool-output-fcrkznn8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{tool-output-g3vtbd9v.js → app-2q46cvfz.js} +19 -19
- package/dist/chunks/{tool-output-ws113hft.js → app-2z4bcakw.js} +17 -17
- package/dist/chunks/{tool-output-n1017v7e.js → app-3699wah4.js} +11 -11
- package/dist/chunks/{tool-output-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-output-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-5y6zvhcz.js → app-3hgkq37t.js} +32 -32
- package/dist/chunks/app-3ksgtvjj.js +460 -0
- package/dist/chunks/{tool-output-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
- package/dist/chunks/{tool-output-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-output-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-output-rmwqem2y.js → app-3v6hx42c.js} +3 -3
- package/dist/chunks/{tool-output-ej6vmzpd.js → app-3xe1zpzw.js} +25 -25
- package/dist/chunks/{tool-output-mdtevav1.js → app-3xxzp3nh.js} +19 -19
- package/dist/chunks/{tool-output-fas5f0m7.js → app-42jtes1n.js} +15 -15
- package/dist/chunks/{tool-output-3qze2g25.js → app-43mprarq.js} +2 -2
- package/dist/chunks/{tool-output-454k5vzh.js → app-454k5vzh.js} +1 -1
- package/dist/chunks/{tool-output-q9v1gax8.js → app-46f0x6q8.js} +9 -9
- package/dist/chunks/{tool-output-77n460ss.js → app-49r12z1f.js} +23 -23
- package/dist/chunks/{tool-output-d78q1k7h.js → app-4dxz6g2t.js} +14 -14
- package/dist/chunks/{tool-output-qr6f7pbk.js → app-4k4vxknf.js} +7 -7
- package/dist/chunks/{tool-output-1fmdk59e.js → app-4qfdps26.js} +6 -6
- package/dist/chunks/{tool-output-4r2nyarf.js → app-4r2nyarf.js} +1 -1
- package/dist/chunks/{tool-output-z3h7hm3n.js → app-4w9tmb1q.js} +4 -4
- package/dist/chunks/app-4y2hpfj1.js +20 -0
- package/dist/chunks/{tool-output-gnsz9nc1.js → app-51amr62k.js} +6 -6
- package/dist/chunks/{tool-output-n4k1efnb.js → app-5b58gzej.js} +62 -62
- package/dist/chunks/{tool-output-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-output-18msf0rq.js → app-5fmjy2xb.js} +9 -9
- package/dist/chunks/{tool-output-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
- package/dist/chunks/{tool-output-xxz5bf5t.js → app-5gx2hdkx.js} +3 -3
- package/dist/chunks/{tool-output-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
- package/dist/chunks/{tool-output-q780xd79.js → app-5qs502xj.js} +8 -8
- package/dist/chunks/{tool-output-rg15grrc.js → app-5vv1ktcy.js} +25 -25
- package/dist/chunks/{tool-output-44f31d2j.js → app-5xfb8tt8.js} +25 -25
- package/dist/chunks/{tool-output-0scj3zdw.js → app-63daw84a.js} +7 -7
- package/dist/chunks/{tool-output-kpyq2w0f.js → app-67ztqkdy.js} +3 -3
- package/dist/chunks/{tool-output-w3jym6ha.js → app-6abnk40k.js} +6 -6
- package/dist/chunks/{tool-output-4xcycakt.js → app-6axwcwgk.js} +79 -79
- package/dist/chunks/{tool-output-knys70rp.js → app-6dsrej2r.js} +3 -3
- package/dist/chunks/{tool-output-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{tool-output-n4at383v.js → app-6mbbwrj4.js} +31 -31
- package/dist/chunks/{tool-output-hjj5zc3y.js → app-6n3kqnmf.js} +59 -59
- package/dist/chunks/{tool-output-g2c9bhkq.js → app-6qb1jm5z.js} +6 -6
- package/dist/chunks/{tool-output-8a1k5732.js → app-6ryd33xm.js} +9 -9
- package/dist/chunks/{tool-output-h3pqrkpf.js → app-6rzv01zx.js} +4 -4
- package/dist/chunks/{tool-output-4hkt8a97.js → app-6wk3pvpa.js} +15 -15
- package/dist/chunks/{tool-output-kecnvzyc.js → app-6wpk4jm3.js} +11 -11
- package/dist/chunks/{tool-output-pr76kmnp.js → app-6yh4f6fv.js} +9 -9
- package/dist/chunks/{tool-output-bh37eqvz.js → app-6z2bsf6d.js} +5 -5
- package/dist/chunks/{tool-output-k24h35sc.js → app-70a7nh0p.js} +18 -18
- package/dist/chunks/{tool-output-711hfp6y.js → app-711hfp6y.js} +2 -2
- package/dist/chunks/{tool-output-72nftnjy.js → app-72nftnjy.js} +2 -2
- package/dist/chunks/{tool-output-d3n7r00r.js → app-73sszyh7.js} +12 -12
- package/dist/chunks/{tool-output-k9xtemaj.js → app-76r8xxxn.js} +9 -9
- package/dist/chunks/app-77jnt7s6.js +247 -0
- package/dist/chunks/{tool-output-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-argmj6e6.js → app-7bpzgkas.js} +6 -6
- package/dist/chunks/{tool-output-1f348y00.js → app-7mdbrk5c.js} +13 -13
- package/dist/chunks/{tool-output-hjf2e9et.js → app-7n7dggr2.js} +8 -8
- package/dist/chunks/{tool-output-px713267.js → app-7pd6f52x.js} +18 -18
- package/dist/chunks/{tool-output-97prekb9.js → app-7rq73qz7.js} +11 -11
- package/dist/chunks/{tool-output-zn0578f7.js → app-7tw3q1zv.js} +50 -50
- package/dist/chunks/{tool-output-s23pjjxf.js → app-7vjwf2sx.js} +26 -26
- package/dist/chunks/{tool-output-9p0pre9t.js → app-7w74e5nf.js} +9 -9
- package/dist/chunks/{tool-output-f1ge807f.js → app-7wq0tnvg.js} +20 -20
- package/dist/chunks/{tool-output-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{tool-output-nx5t2780.js → app-8q83hqdf.js} +11 -11
- package/dist/chunks/{tool-output-d5r6akyc.js → app-8w717yyx.js} +10 -10
- package/dist/chunks/{tool-output-fr2yak2c.js → app-8y09mrx6.js} +6 -6
- package/dist/chunks/{tool-output-9bepaz0a.js → app-92c4reck.js} +28 -28
- package/dist/chunks/{tool-output-ccj0fzck.js → app-93wzm26s.js} +8 -8
- package/dist/chunks/{tool-output-vah81f4s.js → app-9asqdat1.js} +8 -8
- package/dist/chunks/{tool-output-ccrjyqkm.js → app-9cfwdcc0.js} +3 -3
- package/dist/chunks/{tool-output-247ymhap.js → app-9k8ga460.js} +1 -1
- package/dist/chunks/{tool-output-4bz12b3s.js → app-9mtkw4g3.js} +32 -32
- package/dist/chunks/{tool-output-v94b4k3z.js → app-9svx6tw9.js} +31 -31
- package/dist/chunks/{tool-output-x2rt1cxd.js → app-9v7rjn4h.js} +5 -5
- package/dist/chunks/app-9zwhrd2p.js +4 -0
- package/dist/chunks/{tool-output-zsa7ehjp.js → app-a247e3as.js} +9 -9
- package/dist/chunks/{tool-output-ww8c32hp.js → app-a9zfrvqc.js} +5 -5
- package/dist/chunks/{tool-output-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-output-13a9area.js → app-abzfqj08.js} +3 -3
- package/dist/chunks/{tool-output-55ntyqe3.js → app-ag6ev01p.js} +10 -10
- package/dist/chunks/{tool-output-82aytm87.js → app-ah84y693.js} +1 -1
- package/dist/chunks/{tool-output-3j8sdtpz.js → app-an7cqtb7.js} +4 -4
- package/dist/chunks/{tool-output-0w19ktq4.js → app-arefmjbx.js} +2 -2
- package/dist/chunks/{tool-output-ze4dnq9c.js → app-b5gjhjfs.js} +4 -4
- package/dist/chunks/{tool-output-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-output-nr99m0en.js → app-b75ft6nf.js} +4 -4
- package/dist/chunks/{tool-output-445zs45w.js → app-b89s2553.js} +13 -13
- package/dist/chunks/{tool-output-b9wsbatv.js → app-b9wsbatv.js} +1 -1
- package/dist/chunks/{tool-output-6hj5ttpj.js → app-bawrj3b9.js} +2 -2
- package/dist/chunks/{tool-output-0z6f9cm5.js → app-bkc8hw0t.js} +13 -13
- package/dist/chunks/{tool-output-h1ykqn37.js → app-bskj9zs2.js} +9 -9
- package/dist/chunks/{tool-output-kgz6e3w7.js → app-bvy2akch.js} +23 -23
- package/dist/chunks/app-bwt7bpgq.js +18 -0
- package/dist/chunks/{tool-output-pf2z7t4n.js → app-c1g9mjxb.js} +8 -8
- package/dist/chunks/{tool-output-7x2gvtfy.js → app-c5c0bz0t.js} +5 -5
- package/dist/chunks/{tool-output-ra4jqc86.js → app-c6gpbsrj.js} +31 -31
- package/dist/chunks/{tool-output-4yn2xrp2.js → app-cbzzwm6t.js} +32 -32
- package/dist/chunks/{tool-output-xr7dgcbj.js → app-cmc3px63.js} +52 -52
- package/dist/chunks/{tool-output-bsc9144r.js → app-cp79y1v1.js} +13 -13
- package/dist/chunks/{tool-output-zs0ehyry.js → app-cy44mvmp.js} +4 -4
- package/dist/chunks/{tool-output-wwajs08n.js → app-d8wfxvdg.js} +10 -10
- package/dist/chunks/{tool-output-v60k9n82.js → app-d904segq.js} +24 -24
- package/dist/chunks/{tool-output-sagqnce1.js → app-djybk775.js} +1 -1
- package/dist/chunks/{tool-output-485jrevg.js → app-dkkesp2b.js} +15 -15
- package/dist/chunks/{tool-output-4yzb8m3n.js → app-drxmcvep.js} +28 -28
- package/dist/chunks/{tool-output-fgabtf5j.js → app-dsmcg9zs.js} +20 -18
- package/dist/chunks/{tool-output-tzhrccfj.js → app-e6xjfqn1.js} +6 -6
- package/dist/chunks/{tool-output-1sgfeced.js → app-eb93zemk.js} +28 -28
- package/dist/chunks/{tool-output-vygsk7ks.js → app-ecn9jhng.js} +4 -4
- package/dist/chunks/{tool-output-x6746gyg.js → app-emesvkpm.js} +28 -28
- package/dist/chunks/{tool-output-q4kxyhwq.js → app-epd5s80n.js} +16 -16
- package/dist/chunks/{tool-output-5tfcvdvj.js → app-evfdbawk.js} +5 -5
- package/dist/chunks/{tool-output-ez5b8bq3.js → app-ez5b8bq3.js} +1 -1
- package/dist/chunks/{tool-output-9snq17a4.js → app-ftp1bkne.js} +5 -5
- package/dist/chunks/{tool-output-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-output-fxypknc8.js → app-fxypknc8.js} +1 -1
- package/dist/chunks/{tool-output-4m7h44j9.js → app-g02688sb.js} +37 -37
- package/dist/chunks/{tool-output-qgsqhvx2.js → app-g1gppypj.js} +20 -20
- package/dist/chunks/{tool-output-hrvm11jt.js → app-g2dy4bvs.js} +3 -3
- package/dist/chunks/{tool-output-d72308c8.js → app-g2gt0w0k.js} +2 -2
- package/dist/chunks/{tool-output-y131pzyf.js → app-gcvg6c9v.js} +36 -36
- package/dist/chunks/{tool-output-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-output-wyvhcckn.js → app-ggw8ryqa.js} +37 -37
- package/dist/chunks/{tool-output-00v6267a.js → app-gj4y5m52.js} +19 -19
- package/dist/chunks/{tool-output-569kkztx.js → app-gm0famdj.js} +46 -46
- package/dist/chunks/{tool-output-686ax7c6.js → app-gndgrf2p.js} +9 -9
- package/dist/chunks/{tool-output-6ykbrvh7.js → app-gy8r63zv.js} +11 -11
- package/dist/chunks/{tool-output-7ebb2hj1.js → app-h0v7sv0t.js} +24 -24
- package/dist/chunks/app-h16f3rt9.js +22 -0
- package/dist/chunks/{tool-output-xdp8bjn8.js → app-h3e45e1k.js} +18 -18
- package/dist/chunks/{tool-output-xyeb15gg.js → app-h3y6t4a9.js} +30 -30
- package/dist/chunks/{tool-output-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-output-heyhwy2w.js → app-heyhwy2w.js} +1 -1
- package/dist/chunks/{tool-output-3wbr049b.js → app-hjwfeaa1.js} +16 -16
- package/dist/chunks/{tool-output-1yhxqyw8.js → app-hncf1b4v.js} +20 -20
- package/dist/chunks/{tool-output-thfv75je.js → app-hnyf01b0.js} +5 -5
- package/dist/chunks/{tool-output-hz6ssrgr.js → app-hqbzdwyf.js} +16 -16
- package/dist/chunks/{tool-output-cqchdrgq.js → app-hw7r5c7p.js} +5 -5
- package/dist/chunks/{tool-output-zjhrmf3z.js → app-j3pby61b.js} +8 -8
- package/dist/chunks/{tool-output-n8c291r7.js → app-j5208yae.js} +6 -6
- package/dist/chunks/{tool-output-eqdqr40m.js → app-j8wswpkz.js} +8 -8
- package/dist/chunks/{tool-output-czca2s0b.js → app-je94mgw6.js} +36 -36
- package/dist/chunks/{tool-output-83cmsqwx.js → app-jfzd9m53.js} +27 -27
- package/dist/chunks/{tool-output-evzgc5we.js → app-jg5w4ckf.js} +8 -8
- package/dist/chunks/{tool-output-ttfb1syt.js → app-jhw2yzs0.js} +17 -17
- package/dist/chunks/{tool-output-ka0bj372.js → app-jtkad9sr.js} +32 -32
- package/dist/chunks/{tool-output-v5f5ppmn.js → app-jv7yt568.js} +23 -23
- package/dist/chunks/{tool-output-jwcy2c2z.js → app-jwcy2c2z.js} +1 -1
- package/dist/chunks/{tool-output-w8b4drz0.js → app-jxqq6ybj.js} +11 -11
- package/dist/chunks/{tool-output-r71xzazx.js → app-k1xbqk76.js} +7 -7
- package/dist/chunks/{tool-output-9enr510g.js → app-k39vhxmz.js} +15 -15
- package/dist/chunks/{tool-output-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
- package/dist/chunks/{tool-output-g1k83tts.js → app-k4jdan51.js} +7 -7
- package/dist/chunks/{tool-output-nhm2wt1a.js → app-kbs3ytgs.js} +5 -5
- package/dist/chunks/{tool-output-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-output-1e56kq4r.js → app-kght2vh2.js} +32 -32
- package/dist/chunks/{tool-output-pg3hw8q9.js → app-khe7zx09.js} +12 -12
- package/dist/chunks/{tool-output-jnhf5mef.js → app-kkm1c4fb.js} +1 -1
- package/dist/chunks/{tool-output-kvsjn1dr.js → app-kvsjn1dr.js} +2 -2
- package/dist/chunks/{tool-output-15q8ja5w.js → app-m4535t75.js} +8 -8
- package/dist/chunks/{tool-output-8yvym9ym.js → app-m5045k8y.js} +9 -9
- package/dist/chunks/{tool-output-r31ka9dq.js → app-m9nbq4j3.js} +35 -35
- package/dist/chunks/{tool-output-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-5hmb1qky.js → app-mc6f4wmg.js} +11 -11
- package/dist/chunks/{tool-output-mhkvc446.js → app-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-output-8yn43qtz.js → app-n6mjpdbf.js} +7 -7
- package/dist/chunks/{tool-output-gkp8xgp5.js → app-ng75afqg.js} +4 -4
- package/dist/chunks/{tool-output-8g36mnye.js → app-nrcsyr73.js} +19 -19
- package/dist/chunks/{tool-output-9ez4hyjp.js → app-p6mzzxr3.js} +16 -16
- package/dist/chunks/{tool-output-2ghyg1gj.js → app-p6pyb1k7.js} +23 -23
- package/dist/chunks/{tool-output-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-output-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-p2da9514.js → app-prkjxx16.js} +9 -9
- package/dist/chunks/{tool-output-k1eaxeb6.js → app-pycndmcz.js} +20 -20
- package/dist/chunks/{tool-output-0hsgr9de.js → app-pzjyfgzz.js} +23 -23
- package/dist/chunks/{tool-output-wh6c55f0.js → app-q4msk40h.js} +17 -17
- package/dist/chunks/{tool-output-bjk7rtqc.js → app-qa6tzkyt.js} +166 -166
- package/dist/chunks/{tool-output-qq99h9rs.js → app-qavd1wvc.js} +27 -27
- package/dist/chunks/{tool-output-rmhwgps5.js → app-qb0tn3m5.js} +4 -4
- package/dist/chunks/{tool-output-fn9rhyff.js → app-qf33an78.js} +37 -37
- package/dist/chunks/{tool-output-japv3nz8.js → app-qg8529j6.js} +27 -27
- package/dist/chunks/{tool-output-zz3058qf.js → app-qp4easfw.js} +41 -41
- package/dist/chunks/{tool-output-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-output-9qm9egsn.js → app-qvbcabdc.js} +2 -2
- package/dist/chunks/{tool-output-k6tm9d53.js → app-r1m5m6n7.js} +28 -28
- package/dist/chunks/{tool-output-jw9vr5cv.js → app-r3j4zcsz.js} +8 -8
- package/dist/chunks/{tool-output-aremtmnh.js → app-r64qmg5x.js} +10 -10
- package/dist/chunks/{tool-output-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
- package/dist/chunks/{tool-output-6vtapc9a.js → app-r8vaxre5.js} +6 -6
- package/dist/chunks/{tool-output-bjqnstrp.js → app-rdgg5j33.js} +6 -6
- package/dist/chunks/{tool-output-weyy6kkj.js → app-rnbmyxw3.js} +25 -25
- package/dist/chunks/{tool-output-9kn3y1c4.js → app-rrmnk23p.js} +17 -17
- package/dist/chunks/{tool-output-ameg2vx3.js → app-rs7d7ay9.js} +1 -1
- package/dist/chunks/{tool-output-x9qr1909.js → app-rz31k017.js} +9 -9
- package/dist/chunks/{tool-output-krxma7wz.js → app-s6sc7xsb.js} +4 -4
- package/dist/chunks/{tool-output-hm5tgwy0.js → app-s9ng70hv.js} +37 -37
- package/dist/chunks/{tool-output-sba4qhjf.js → app-sba4qhjf.js} +1 -1
- package/dist/chunks/{tool-output-0c3mwf6m.js → app-sd7f8jwe.js} +12 -12
- package/dist/chunks/{tool-output-ckev9kd7.js → app-srsjt1nn.js} +3 -3
- package/dist/chunks/{tool-output-4mdhf6qb.js → app-stachqf2.js} +20 -20
- package/dist/chunks/{tool-output-rgpp5x08.js → app-sxhwk0c0.js} +4 -4
- package/dist/chunks/{tool-output-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-output-xqhwf5xj.js → app-tcszm0ed.js} +17 -17
- package/dist/chunks/{tool-output-tjykrgmx.js → app-tjykrgmx.js} +1 -1
- package/dist/chunks/{tool-output-saxt99x3.js → app-tppvcy65.js} +9 -9
- package/dist/chunks/{tool-output-9ec7knr6.js → app-tqfvardz.js} +21 -21
- package/dist/chunks/{tool-output-6nvjfdj9.js → app-ttsb85y1.js} +7 -7
- package/dist/chunks/{tool-output-2m8gjhsm.js → app-w2t62r7y.js} +5 -5
- package/dist/chunks/{tool-output-hsbzga32.js → app-w39xyyj8.js} +29 -29
- package/dist/chunks/{tool-output-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-w4600456.js → app-w4600456.js} +1 -1
- package/dist/chunks/{tool-output-zfgcdem1.js → app-w91bf5kg.js} +8 -8
- package/dist/chunks/{tool-output-q0qrc1wp.js → app-wcevzh1p.js} +32 -32
- package/dist/chunks/{tool-output-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-kzpdcxr5.js → app-wgdphb3s.js} +13 -13
- package/dist/chunks/{tool-output-q128857m.js → app-wq38yxfv.js} +1 -1
- package/dist/chunks/{tool-output-g1v92phv.js → app-wwr3ad35.js} +1 -1
- package/dist/chunks/{tool-output-dwf86yg8.js → app-wwwks56p.js} +13 -13
- package/dist/chunks/{tool-output-zm6456hf.js → app-wz8xxayn.js} +23 -23
- package/dist/chunks/{tool-output-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-output-1hsk58z5.js → app-x1z8np8d.js} +49 -49
- package/dist/chunks/{tool-output-c3vd9c4p.js → app-x20jfd50.js} +39 -39
- package/dist/chunks/{tool-output-hy9vpt90.js → app-xechrp4q.js} +12 -12
- package/dist/chunks/{tool-output-vcct9v24.js → app-xeq5x5py.js} +6 -6
- package/dist/chunks/{tool-output-tzqg8t7v.js → app-xtx2skvw.js} +23 -23
- package/dist/chunks/{tool-output-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-output-93a8yfjt.js → app-y2cqme3r.js} +5 -5
- package/dist/chunks/{tool-output-na3y75gh.js → app-y4nzzd5t.js} +5 -5
- package/dist/chunks/{tool-output-0bzq9r6e.js → app-y78qtzg5.js} +46 -46
- package/dist/chunks/{tool-output-tz4n1mmd.js → app-yd4mva7c.js} +4 -4
- package/dist/chunks/{tool-output-yfbd16n1.js → app-yfbd16n1.js} +2 -2
- package/dist/chunks/{tool-output-tccsmzye.js → app-yfthbyyg.js} +12 -12
- package/dist/chunks/{tool-output-ajtjthsy.js → app-yg7sb877.js} +2 -2
- package/dist/chunks/{tool-output-dgy35hnk.js → app-ytqhcam2.js} +13 -13
- package/dist/chunks/{tool-output-xcvr6978.js → app-yy80zasr.js} +18 -18
- package/dist/chunks/{tool-output-z1k01bn4.js → app-z1k01bn4.js} +2 -2
- package/dist/chunks/{tool-output-z3xgatyd.js → app-z3xgatyd.js} +1 -1
- package/dist/chunks/{tool-output-yjz1f1f0.js → app-z729fpb2.js} +38 -38
- package/dist/chunks/{tool-output-m7qyabmr.js → app-z8emj02k.js} +8 -8
- package/dist/chunks/{tool-output-dhbxcgm0.js → app-z9yjs9a7.js} +32 -32
- package/dist/chunks/{tool-output-39mhf8tw.js → app-znp4r3b7.js} +43 -43
- package/dist/chunks/{tool-output-z65ge745.js → app-ztfeypd4.js} +3 -3
- package/dist/chunks/{tool-output-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- 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 +123 -123
- 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 +110 -110
- 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 +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- 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 +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +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 +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- 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 +4 -4
- 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 +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +123 -123
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- 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 +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +212 -212
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- 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-90ppjbsz.js +0 -460
- package/dist/chunks/tool-output-ep4g9sqb.js +0 -247
- package/dist/chunks/tool-output-n95b3jav.js +0 -18
- package/dist/chunks/tool-output-wgcrfrpe.js +0 -20
- package/dist/chunks/tool-output-ztgsftx4.js +0 -22
- /package/dist/chunks/{tool-output-0fabt78z.js → app-0fabt78z.js} +0 -0
- /package/dist/chunks/{tool-output-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3t738kvx.js → app-3t738kvx.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-41nvscxy.js → app-41nvscxy.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-982e01ww.js → app-982e01ww.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-mntxs535.js → app-mntxs535.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-p8qxwesx.js → app-p8qxwesx.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-se0s1eqw.js → app-se0s1eqw.js} +0 -0
- /package/dist/chunks/{tool-output-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-output-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./app-73sszyh7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./app-rrmnk23p.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service52,
|
|
12
|
+
node55
|
|
13
|
+
} from "./app-70a7nh0p.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError5
|
|
16
|
+
} from "./app-r8vaxre5.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service40,
|
|
19
|
+
node43
|
|
20
|
+
} from "./app-1ac4g41n.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service41,
|
|
26
|
+
node44
|
|
27
|
+
} from "./app-q4msk40h.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service44,
|
|
30
|
+
node47
|
|
31
|
+
} from "./app-w91bf5kg.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event5,
|
|
46
|
+
ID: () => ID4,
|
|
47
|
+
NotFoundError: () => NotFoundError4,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service39,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node42
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode-ai/schema/permission";
|
|
63
63
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event5 } from "@opencode-ai/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID4 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID4.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID4,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID4,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError4 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID4
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service39 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service76;
|
|
132
|
+
const location = yield* Service74;
|
|
133
|
+
const agents = yield* Service52;
|
|
134
|
+
const sessions = yield* Service40;
|
|
135
|
+
const saved = yield* Service41;
|
|
136
|
+
const hooks = yield* Service44;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError5({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID4.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError4({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service39.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node42 = makeLocationNode({
|
|
289
|
+
service: Service39,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node81, node79, node55, node43, node44, node47]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID4, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError4, evaluate2, merge2, Service39, node42, exports_permission, Rule2, Ruleset2, Event5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-3v6hx42c.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./app-j3pby61b.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info13 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service73 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service73,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node78]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info29({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service73.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node77 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info29, NotFound3, CreateConflict2, Service73, configured11, node77, exports_workspace };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service46,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node49
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service46 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service46.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node49 = makeLocationNode({ service: Service46, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service46, node49, exports_image2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./app-r64qmg5x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
15
|
Service78,
|
|
16
16
|
node83
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-9cfwdcc0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service77,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node82,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service77 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service79;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service78;
|
|
110
|
-
return
|
|
110
|
+
return Service77.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node82 = makeGlobalNode({
|
|
171
|
+
service: Service77,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node83]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service77, isError2, validateBranch2, node82, exports_repository_cache };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./app-rrmnk23p.js";
|
|
7
7
|
import {
|
|
8
8
|
Service62
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-qp4easfw.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9svx6tw9.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin23
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin23 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const config = yield* Service62;
|
|
35
|
-
const location = yield*
|
|
35
|
+
const location = yield* Service74;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin23, exports_reference };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make19,
|
|
13
13
|
node: () => node65,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var node65 =
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node65 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer21, configured6, node65, exports_app };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-8w717yyx.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-6abnk40k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin34,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin34 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin19 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint2,
|
|
96
|
+
export { endpoint2, Plugin34, exports_parallel };
|