@opencode/core 0.0.0-dev-434 → 0.0.0-dev-439
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +232 -232
- package/dist/bus.js +82 -82
- package/dist/chunks/{command-njwn7sfg.js → integration-03m1tfqc.js} +5 -5
- package/dist/chunks/{command-p5g9w7pv.js → integration-08fgcs5w.js} +5 -7
- package/dist/chunks/{command-h4p3s0ke.js → integration-097x9dcz.js} +8 -8
- package/dist/chunks/{command-963hk181.js → integration-0b5y8qrs.js} +9 -9
- package/dist/chunks/{command-yzk0q0ka.js → integration-0h4fd838.js} +45 -45
- package/dist/chunks/{command-0j7gp832.js → integration-0j7gp832.js} +1 -1
- package/dist/chunks/{command-0ma9gw4f.js → integration-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-n6psnvgb.js → integration-0q8xms0f.js} +74 -74
- package/dist/chunks/{command-s876m31k.js → integration-0yd29k07.js} +1 -1
- package/dist/chunks/{command-64eehrrp.js → integration-0z1kk8n9.js} +8 -8
- package/dist/chunks/{command-7jxk402j.js → integration-13e33k5a.js} +7 -7
- package/dist/chunks/{command-x67mg8mk.js → integration-14shq2pr.js} +2 -2
- package/dist/chunks/{command-1aqsckx4.js → integration-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-h121ctj5.js → integration-1db1s9tj.js} +28 -28
- package/dist/chunks/{command-7abx72ys.js → integration-1gfr51kb.js} +11 -11
- package/dist/chunks/{command-6atfaf08.js → integration-1hkhvakw.js} +10 -10
- package/dist/chunks/{command-22322d3s.js → integration-1mwahr68.js} +4 -4
- package/dist/chunks/{command-tg97v2x8.js → integration-1s210nv3.js} +8 -8
- package/dist/chunks/{command-mqe7nf5n.js → integration-1scgcwfj.js} +3 -3
- package/dist/chunks/{command-1x2knyw4.js → integration-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-gn6qas9s.js → integration-1xgd112x.js} +8 -8
- package/dist/chunks/{command-1yq9hg58.js → integration-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-kxapkf6w.js → integration-1zeqkgg4.js} +15 -15
- package/dist/chunks/{command-k3xz1kqh.js → integration-1zyqehja.js} +10 -10
- package/dist/chunks/{command-r0p7eeq8.js → integration-210bcpjf.js} +5 -5
- package/dist/chunks/{command-27w5k9zf.js → integration-27w5k9zf.js} +2 -2
- package/dist/chunks/{command-r16vpvj8.js → integration-28wcxtxx.js} +21 -21
- package/dist/chunks/{command-sxfhqfma.js → integration-2gvyy9fs.js} +17 -17
- package/dist/chunks/{command-wzpt9sha.js → integration-2jk5jzjf.js} +16 -16
- package/dist/chunks/{command-wc7xqkqp.js → integration-2jx4fr4s.js} +14 -14
- package/dist/chunks/{command-9q8g9sv8.js → integration-2kg89srt.js} +4 -4
- package/dist/chunks/{command-2p60zmnr.js → integration-2p60zmnr.js} +2 -2
- package/dist/chunks/{command-3cbjf1nt.js → integration-3cbjf1nt.js} +2 -2
- package/dist/chunks/{command-cyw3yyvp.js → integration-3cvrmmry.js} +11 -11
- package/dist/chunks/{command-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-80abjh3h.js → integration-3j13f845.js} +15 -15
- package/dist/chunks/{command-3nnrz6f6.js → integration-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-1xh4za3x.js → integration-3pffw8fe.js} +2 -2
- package/dist/chunks/{command-pb6ek1ed.js → integration-3ye8pdvj.js} +6 -6
- package/dist/chunks/{command-qcfgkj9r.js → integration-3yrh038m.js} +37 -37
- package/dist/chunks/{command-gadfgand.js → integration-40bkqees.js} +35 -35
- package/dist/chunks/{command-40y6dtc2.js → integration-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-x5bmkdk7.js → integration-434g8n3x.js} +13 -13
- package/dist/chunks/{command-44pmzq9c.js → integration-44pmzq9c.js} +2 -2
- package/dist/chunks/{command-ybr8wh1x.js → integration-4avj1j74.js} +12 -12
- package/dist/chunks/{command-a4f1ekc8.js → integration-4b83d84h.js} +21 -21
- package/dist/chunks/{command-8cg7mtm3.js → integration-4d2dtj2f.js} +4 -4
- package/dist/chunks/{command-szk0qybb.js → integration-4ddvwr7t.js} +12 -12
- package/dist/chunks/{command-4dx1dgte.js → integration-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-r542h3bh.js → integration-4f25tdd0.js} +5 -5
- package/dist/chunks/{command-4pyp9zr9.js → integration-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-4v008n1t.js → integration-4v008n1t.js} +1 -1
- package/dist/chunks/{command-e20404rw.js → integration-4wcvmy3y.js} +20 -20
- package/dist/chunks/{command-mrbybpah.js → integration-4yfbf3av.js} +9 -9
- package/dist/chunks/{command-mc4nak6k.js → integration-513a41sf.js} +11 -11
- package/dist/chunks/{command-4sgeyqsj.js → integration-56a3gss7.js} +25 -25
- package/dist/chunks/{command-rz96zqye.js → integration-59rwycy2.js} +35 -35
- package/dist/chunks/{command-ex0pka66.js → integration-5d17xbav.js} +5 -5
- package/dist/chunks/{command-mar5fkdv.js → integration-5jk8exsw.js} +18 -18
- package/dist/chunks/{command-v6gz3rmh.js → integration-5k7fj5n9.js} +11 -11
- package/dist/chunks/{command-0z90yfde.js → integration-5m5b49cn.js} +6 -6
- package/dist/chunks/{command-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-hj6757n4.js → integration-5pf90gbk.js} +9 -9
- package/dist/chunks/{command-yej5ha0y.js → integration-5sqrxm7z.js} +29 -29
- package/dist/chunks/{command-24fafpw7.js → integration-61zr597e.js} +12 -12
- package/dist/chunks/{command-173g28c6.js → integration-6423g3cd.js} +3 -3
- package/dist/chunks/{command-hmtj6hyv.js → integration-67xca3db.js} +7 -7
- package/dist/chunks/{command-bhfjntg1.js → integration-68tqqrdn.js} +14 -14
- package/dist/chunks/{command-c6xt3hyv.js → integration-6d4m5xvj.js} +10 -10
- package/dist/chunks/{command-88gpz3gg.js → integration-6p3n5hpv.js} +30 -30
- package/dist/chunks/{command-z1n1esxz.js → integration-74tw6z8e.js} +14 -14
- package/dist/chunks/{command-76cb1hcw.js → integration-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-80mg3ag8.js → integration-775hqbnd.js} +3 -3
- package/dist/chunks/{command-3xnsjp31.js → integration-7arq6318.js} +9 -9
- package/dist/chunks/{command-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-7kr66rt3.js → integration-7kr66rt3.js} +1 -1
- package/dist/chunks/{command-8zb5510s.js → integration-7mwrn0h5.js} +14 -14
- package/dist/chunks/{command-taph1qf0.js → integration-7n3snxd6.js} +18 -18
- package/dist/chunks/{command-jj70n8bv.js → integration-7pwdghq6.js} +11 -11
- package/dist/chunks/{command-6zkb6m81.js → integration-7q9rk3nd.js} +20 -20
- package/dist/chunks/{command-k9vf01a8.js → integration-7tg8baq4.js} +24 -24
- package/dist/chunks/{command-7w2ypzdf.js → integration-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → integration-7weczvnd.js} +1 -1
- package/dist/chunks/{command-5jfjz3xv.js → integration-7wg4v4ja.js} +8 -8
- package/dist/chunks/{command-m81bzjfe.js → integration-7x7fgtem.js} +8 -8
- package/dist/chunks/{command-jkmtdw7r.js → integration-7zx1k47r.js} +31 -31
- package/dist/chunks/{command-qb4gh8kf.js → integration-80axm00a.js} +11 -11
- package/dist/chunks/{command-m3kvqs0d.js → integration-86bhhzhr.js} +6 -6
- package/dist/chunks/{command-ywh3xphk.js → integration-86kd7kzh.js} +4 -4
- package/dist/chunks/{command-w4q3878f.js → integration-88jyhsyx.js} +9 -9
- package/dist/chunks/{command-89287pr7.js → integration-89287pr7.js} +1 -1
- package/dist/chunks/{command-8b3vzgkx.js → integration-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-1dzf37gy.js → integration-8gqwapej.js} +4 -4
- package/dist/chunks/{command-p8707ak6.js → integration-8nf6shhp.js} +8 -8
- package/dist/chunks/{command-qtqd8qd2.js → integration-8p4qev7c.js} +36 -36
- package/dist/chunks/{command-8t99kr38.js → integration-8t99kr38.js} +1 -1
- package/dist/chunks/{command-8xx0f9bs.js → integration-8wh4vmej.js} +27 -27
- package/dist/chunks/{command-8wtp7s3z.js → integration-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-brv6mkyx.js → integration-8xz27cp9.js} +4 -4
- package/dist/chunks/{command-8z6m94af.js → integration-8z6m94af.js} +3 -3
- package/dist/chunks/{command-rzg6y5rp.js → integration-90ct6wq4.js} +4 -4
- package/dist/chunks/{command-90zstvax.js → integration-90zstvax.js} +1 -1
- package/dist/chunks/{command-94s5f2xb.js → integration-94s5f2xb.js} +1 -1
- package/dist/chunks/{command-sn407hwe.js → integration-992e7xaz.js} +4 -4
- package/dist/chunks/{command-997x2gyn.js → integration-9a2z3ftk.js} +26 -26
- package/dist/chunks/{command-qa5fs36y.js → integration-9a49pf9c.js} +49 -49
- package/dist/chunks/{command-1jx74pb3.js → integration-9be6phyh.js} +17 -17
- package/dist/chunks/{command-w8d5vdwn.js → integration-9c2f9an1.js} +8 -8
- package/dist/chunks/{command-fd76rfhc.js → integration-9q9hy4rh.js} +15 -15
- package/dist/chunks/{command-6twykydk.js → integration-a14n5t1x.js} +2 -2
- package/dist/chunks/{command-9nkjg9qd.js → integration-a4ww6fpm.js} +6 -6
- package/dist/chunks/{command-a5vbn1gz.js → integration-a8mvsgw2.js} +21 -21
- package/dist/chunks/{command-5k2w52r0.js → integration-ab8xq7rt.js} +8 -8
- package/dist/chunks/{command-aj7mw0zk.js → integration-aj7mw0zk.js} +2 -2
- package/dist/chunks/{command-6af1yqan.js → integration-amrqektx.js} +29 -29
- package/dist/chunks/{command-f1yvwjyg.js → integration-awtyt1wx.js} +20 -20
- package/dist/chunks/{command-4bp07n3d.js → integration-az4zwmc5.js} +11 -11
- package/dist/chunks/{command-1rv52bc9.js → integration-b69y3sgq.js} +12 -12
- package/dist/chunks/{command-b6vsg801.js → integration-b6vsg801.js} +2 -2
- package/dist/chunks/{command-vrzg4qtw.js → integration-bdbadfcz.js} +13 -13
- package/dist/chunks/{command-671snc9x.js → integration-bf05ssmp.js} +28 -28
- package/dist/chunks/{command-5n0rnk8e.js → integration-bhfd478d.js} +4 -4
- package/dist/chunks/{command-61qraad9.js → integration-bmrg0j5c.js} +5 -5
- package/dist/chunks/{command-j2vadtqh.js → integration-bqefps4z.js} +4 -4
- package/dist/chunks/{command-njgmnpsj.js → integration-bqh491e8.js} +17 -17
- package/dist/chunks/{command-em76vs3r.js → integration-bskzqba6.js} +19 -19
- package/dist/chunks/{command-bstexjd6.js → integration-bstexjd6.js} +1 -1
- package/dist/chunks/{command-tvxtjraa.js → integration-bvrzsr1y.js} +16 -16
- package/dist/chunks/{command-qe7mwe9n.js → integration-c6c0jyzn.js} +21 -21
- package/dist/chunks/{command-cpvd08na.js → integration-c6x7d2ts.js} +4 -4
- package/dist/chunks/{command-ake1ncr2.js → integration-c89wwjcc.js} +21 -21
- package/dist/chunks/{command-ewfampc3.js → integration-cf7ccg46.js} +5 -5
- package/dist/chunks/{command-w4ev9r83.js → integration-cn84qe7c.js} +53 -53
- package/dist/chunks/{command-y2m9h3t8.js → integration-cp9rs719.js} +35 -35
- package/dist/chunks/{command-64ks2qz2.js → integration-cpfxws33.js} +16 -16
- package/dist/chunks/{command-teav1bzy.js → integration-ctmpqb7w.js} +9 -9
- package/dist/chunks/{command-eq7e38gt.js → integration-ctmzv8nb.js} +38 -38
- package/dist/chunks/{command-cwrgdav8.js → integration-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-3svk23zz.js → integration-d1rss440.js} +38 -38
- package/dist/chunks/{command-01ff0a55.js → integration-d5hj6t94.js} +3 -3
- package/dist/chunks/{command-xnmp91g9.js → integration-d9s2pvha.js} +8 -8
- package/dist/chunks/{command-06wrtaec.js → integration-da3ndhyt.js} +18 -18
- package/dist/chunks/{command-0eaxh8qq.js → integration-db7m633x.js} +15 -15
- package/dist/chunks/{command-dt77769w.js → integration-dt77769w.js} +1 -1
- package/dist/chunks/{command-h15jyg2c.js → integration-dw31zh3f.js} +16 -16
- package/dist/chunks/{command-k12egh6v.js → integration-e5jm6byd.js} +12 -12
- package/dist/chunks/{command-5f3j9k0d.js → integration-e5sw1kqt.js} +2 -2
- package/dist/chunks/{command-m7c7chqb.js → integration-e69jfmf0.js} +8 -8
- package/dist/chunks/{command-4c1b9aw6.js → integration-e75h7ne5.js} +38 -38
- package/dist/chunks/{command-nhb7dawg.js → integration-e7g3zn20.js} +6 -6
- package/dist/chunks/{command-e834z07m.js → integration-e834z07m.js} +1 -1
- package/dist/chunks/{command-srpr092m.js → integration-emas81cq.js} +8 -8
- package/dist/chunks/{command-m6v42eaj.js → integration-enbcd216.js} +15 -15
- package/dist/chunks/{command-fz1yarbh.js → integration-epggj45p.js} +8 -8
- package/dist/chunks/{command-eqw4pqj1.js → integration-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-g3gj9wbx.js → integration-exznmt9b.js} +16 -16
- package/dist/chunks/{command-rd4mm1pb.js → integration-eyx95tnd.js} +8 -8
- package/dist/chunks/{command-bzwv4pm6.js → integration-f21ndhez.js} +30 -30
- package/dist/chunks/{command-f8xy3smx.js → integration-f2sj9r4t.js} +7 -7
- package/dist/chunks/{command-hsnq1va6.js → integration-f30vev53.js} +2 -2
- package/dist/chunks/{command-f341sazs.js → integration-f341sazs.js} +3 -3
- package/dist/chunks/{command-xz26zpy4.js → integration-f5hgw3vx.js} +15 -15
- package/dist/chunks/{command-snd2c1sc.js → integration-f77xzm3a.js} +23 -12
- package/dist/chunks/integration-f8ma18fn.js +18 -0
- package/dist/chunks/{command-dw9ambcw.js → integration-fben7svr.js} +21 -21
- package/dist/chunks/{command-rjg4ptcj.js → integration-fds6sgnr.js} +9 -9
- package/dist/chunks/{command-6jn0z4zq.js → integration-fesd4rnt.js} +21 -21
- package/dist/chunks/{command-8x0e9fhm.js → integration-ffefxgp3.js} +46 -46
- package/dist/chunks/{command-fffv3p7h.js → integration-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → integration-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-e8zvtb1d.js → integration-fgyvgwhg.js} +4 -4
- package/dist/chunks/{command-a33gx8kj.js → integration-fvmjxv8w.js} +19 -19
- package/dist/chunks/{command-cnjb880w.js → integration-fvp76pm9.js} +12 -12
- package/dist/chunks/{command-yqveydy6.js → integration-fwp9mfc9.js} +4 -4
- package/dist/chunks/{command-8gycsq8m.js → integration-fxbkqvec.js} +16 -16
- package/dist/chunks/{command-cnv992xx.js → integration-fy3ftn0g.js} +7 -7
- package/dist/chunks/{command-9n9g8h1e.js → integration-g5kfphsw.js} +69 -57
- package/dist/chunks/{command-v02mjp3j.js → integration-gb29c8em.js} +12 -12
- package/dist/chunks/{command-gbjdnr5j.js → integration-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-d4v9tmah.js → integration-gn8tkhbf.js} +2 -2
- package/dist/chunks/{command-tqm8dnep.js → integration-gned9m2h.js} +28 -28
- package/dist/chunks/{command-eavcrtrz.js → integration-gnkw4dwe.js} +2 -2
- package/dist/chunks/{command-74ts6fdr.js → integration-gqcc6pjh.js} +6 -6
- package/dist/chunks/{command-a6ybx6kp.js → integration-gvrj2vp6.js} +81 -81
- package/dist/chunks/{command-1t7n7d3e.js → integration-h5xe9jx8.js} +9 -9
- package/dist/chunks/{command-pkkerzhz.js → integration-h6jcj9p8.js} +9 -9
- package/dist/chunks/integration-h85gv206.js +261 -0
- package/dist/chunks/{command-34kqkbym.js → integration-hbq0xqap.js} +15 -15
- package/dist/chunks/{command-4n0pf5fx.js → integration-hcdqwx4d.js} +8 -8
- package/dist/chunks/{command-cpe35zww.js → integration-hced1q2j.js} +4 -4
- package/dist/chunks/{command-cgm929w9.js → integration-hkv0g39f.js} +4 -4
- package/dist/chunks/{command-hpg1pkwy.js → integration-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-9xtz4xxk.js → integration-hzrn2ntv.js} +8 -8
- package/dist/chunks/{command-ze75qvmd.js → integration-j9nxzz3g.js} +3 -3
- package/dist/chunks/{command-0j7njajq.js → integration-jnv66s8p.js} +38 -38
- package/dist/chunks/{command-jtnps1zs.js → integration-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-44abv5ax.js → integration-jwxpd0s6.js} +9 -9
- package/dist/chunks/{command-pgqxr0th.js → integration-jy2czfqv.js} +4 -4
- package/dist/chunks/{command-km40m5ns.js → integration-jygte30j.js} +5 -5
- package/dist/chunks/{command-csxgerg0.js → integration-k9z6v45q.js} +16 -16
- package/dist/chunks/{command-25ydw9rq.js → integration-kfmxe642.js} +16 -16
- package/dist/chunks/{command-vmqe41cb.js → integration-kj9n5bvh.js} +4 -4
- package/dist/chunks/{command-kt3bjfbg.js → integration-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-fem8f9eb.js → integration-kvkm29pn.js} +7 -7
- package/dist/chunks/{command-10h4ravn.js → integration-kvvpk7dz.js} +13 -13
- package/dist/chunks/{command-hydc8sb0.js → integration-kx5hwe35.js} +28 -28
- package/dist/chunks/{command-kzczzf4v.js → integration-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-m1714858.js → integration-m1714858.js} +1 -1
- package/dist/chunks/{command-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-z9xnksb8.js → integration-mbryf2mk.js} +9 -9
- package/dist/chunks/{command-r3p0yxt4.js → integration-mcg1cw9q.js} +4 -4
- package/dist/chunks/{command-jsgsqtkj.js → integration-mhmt6yb7.js} +11 -11
- package/dist/chunks/{command-xxyt325t.js → integration-mnwmsdt0.js} +23 -23
- package/dist/chunks/{command-bcwbngne.js → integration-mq6zrre5.js} +21 -21
- package/dist/chunks/{command-7h2byrns.js → integration-mqy9zdfp.js} +3 -3
- package/dist/chunks/{command-kpf2z2p8.js → integration-mrerqqvc.js} +15 -15
- package/dist/chunks/{command-mrpnjyvf.js → integration-mrpnjyvf.js} +2 -2
- package/dist/chunks/{command-msd2a3qm.js → integration-msd2a3qm.js} +4 -4
- package/dist/chunks/{command-kshj9d31.js → integration-mtbbaj7x.js} +6 -6
- package/dist/chunks/{command-eb88xskz.js → integration-mvddgnpx.js} +6 -6
- package/dist/chunks/{command-hdreqhvr.js → integration-mws3j5yf.js} +3 -3
- package/dist/chunks/{command-bkzshpm5.js → integration-mwt2zkew.js} +16 -16
- package/dist/chunks/{command-0tcj55vp.js → integration-mxxad9v0.js} +9 -9
- package/dist/chunks/{command-95sp4hdf.js → integration-mzm8bzzq.js} +4 -4
- package/dist/chunks/{command-kfh2x84g.js → integration-nb3fycqz.js} +23 -23
- package/dist/chunks/{command-cr6pn214.js → integration-neq6kcpn.js} +5 -5
- package/dist/chunks/{command-bnttf9xa.js → integration-npq2gydc.js} +16 -16
- package/dist/chunks/{command-cx2jthk9.js → integration-nv72bbjd.js} +29 -29
- package/dist/chunks/{command-nx4vzyjd.js → integration-nx4vzyjd.js} +2 -2
- package/dist/chunks/{command-nyxvvj5y.js → integration-nyxvvj5y.js} +1 -1
- package/dist/chunks/{command-eh0vxpws.js → integration-nzazksq8.js} +12 -12
- package/dist/chunks/{command-bp6cyex6.js → integration-nzhsjwjh.js} +32 -32
- package/dist/chunks/{command-g1k7aycc.js → integration-p2cm1hrf.js} +59 -59
- package/dist/chunks/{command-tj8at3pd.js → integration-p95n0yzj.js} +17 -17
- package/dist/chunks/{command-kfk88nk4.js → integration-p9vw64dk.js} +3 -3
- package/dist/chunks/{command-fp4v3mch.js → integration-pckde69t.js} +30 -30
- package/dist/chunks/{command-7nsm0dtp.js → integration-pg7gy0ye.js} +22 -22
- package/dist/chunks/{command-zz4psmsc.js → integration-pgxwtbch.js} +14 -14
- package/dist/chunks/{command-xnsg1h88.js → integration-pjx6axd1.js} +24 -24
- package/dist/chunks/{command-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{command-vnjc296t.js → integration-psb1wzhv.js} +2 -2
- package/dist/chunks/{command-dg5naf6e.js → integration-px7qpgcn.js} +4 -4
- package/dist/chunks/{command-64dgh3k3.js → integration-pzwmr9n6.js} +24 -24
- package/dist/chunks/{command-4339k7tk.js → integration-q10vf06f.js} +22 -22
- package/dist/chunks/{command-wdrav5q2.js → integration-qd42ckqd.js} +4 -4
- package/dist/chunks/{command-ep6pe98a.js → integration-qk5sk9d1.js} +5 -5
- package/dist/chunks/{command-98wp0h2e.js → integration-qmrd44jx.js} +7 -7
- package/dist/chunks/{command-qp7r0hxv.js → integration-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-p5zn79av.js → integration-qpskqaqc.js} +12 -12
- package/dist/chunks/{command-fkbe4g64.js → integration-qpz9b1ck.js} +45 -45
- package/dist/chunks/{command-qqvy8y24.js → integration-qqvy8y24.js} +1 -1
- package/dist/chunks/{command-kfy2q1ak.js → integration-qrag759p.js} +17 -17
- package/dist/chunks/{command-2e6dhtgj.js → integration-qrtrprq4.js} +81 -81
- package/dist/chunks/{command-8wnssyfy.js → integration-qt4em5dy.js} +346 -346
- package/dist/chunks/{command-k3cx6fhe.js → integration-qtyhj1r4.js} +4 -4
- package/dist/chunks/{command-vzppetdn.js → integration-qw2t3dzn.js} +6 -6
- package/dist/chunks/{command-q8sewpqz.js → integration-qz850mz0.js} +28 -28
- package/dist/chunks/{command-1gc6basf.js → integration-qz95d27t.js} +11 -11
- package/dist/chunks/{command-arp7s6mb.js → integration-qzm6q9ch.js} +6 -6
- package/dist/chunks/{command-2nqg4893.js → integration-r2mkkrkf.js} +5 -5
- package/dist/chunks/{command-w2eysc6j.js → integration-r41sfy63.js} +6 -6
- package/dist/chunks/{command-k8tfz2pr.js → integration-r86xbpcm.js} +15 -15
- package/dist/chunks/{command-7kvgb96f.js → integration-ra0r115a.js} +17 -17
- package/dist/chunks/{command-rsbwxkx1.js → integration-rax353f9.js} +23 -23
- package/dist/chunks/{command-rb9dy4dg.js → integration-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-v05kmqya.js → integration-re8b3b36.js} +28 -28
- package/dist/chunks/{command-vwrmm61s.js → integration-re9mr69h.js} +11 -11
- package/dist/chunks/{command-d77em42c.js → integration-ref29165.js} +26 -26
- package/dist/chunks/{command-1wma1wjh.js → integration-rhfnx36w.js} +4 -4
- package/dist/chunks/{command-hgq3vbzc.js → integration-rhyfsph1.js} +20 -20
- package/dist/chunks/{command-b7kt7hzm.js → integration-rkekfs9p.js} +28 -28
- package/dist/chunks/{command-mzghyjtv.js → integration-rkyanmdh.js} +15 -15
- package/dist/chunks/{command-rt5dr6hb.js → integration-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-jehkna21.js → integration-rx9sb950.js} +40 -40
- package/dist/chunks/{command-497cbh7y.js → integration-rxre51t5.js} +17 -17
- package/dist/chunks/{command-panhh2j7.js → integration-s4ahaey6.js} +7 -7
- package/dist/chunks/{command-wqgynrd9.js → integration-s5ytj3kj.js} +24 -24
- package/dist/chunks/{command-kb0np1gh.js → integration-s6e6pfz9.js} +15 -15
- package/dist/chunks/{command-sa3fpqfw.js → integration-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-sbya78hr.js → integration-sbya78hr.js} +1 -1
- package/dist/chunks/{command-5t2nv0ty.js → integration-sg2ctkhs.js} +22 -22
- package/dist/chunks/{command-sq46n1ws.js → integration-shw6e993.js} +19 -19
- package/dist/chunks/{command-dew5qk93.js → integration-sm9v7ytc.js} +7 -7
- package/dist/chunks/{command-st0msf87.js → integration-ssad0td4.js} +11 -11
- package/dist/chunks/{command-kk6xkkkx.js → integration-sv0p9ptb.js} +5 -5
- package/dist/chunks/{command-svcy3p9a.js → integration-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-szaz2na7.js → integration-sx3hrb9v.js} +9 -9
- package/dist/chunks/{command-38dwvzc2.js → integration-szn4442b.js} +30 -30
- package/dist/chunks/{command-szwm4crx.js → integration-szwm4crx.js} +4 -4
- package/dist/chunks/{command-rpn80m74.js → integration-t39ywq6f.js} +23 -23
- package/dist/chunks/{command-694dpcrp.js → integration-tb2mrvc9.js} +7 -7
- package/dist/chunks/{command-tczq8hjw.js → integration-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-160yv0cs.js → integration-tg1vr1qt.js} +8 -8
- package/dist/chunks/{command-tg7s7b5t.js → integration-tg7s7b5t.js} +1 -1
- package/dist/chunks/{command-tr8x705m.js → integration-tr8x705m.js} +1 -1
- package/dist/chunks/{command-twssxy5n.js → integration-twssxy5n.js} +2 -2
- package/dist/chunks/{command-v2r1d0zg.js → integration-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-ss6rca7c.js → integration-v34w4d9b.js} +11 -11
- package/dist/chunks/{command-w8kbqbtc.js → integration-vh8brh34.js} +46 -46
- package/dist/chunks/{command-vjf35v1f.js → integration-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-y597xyv2.js → integration-vn0qgxhr.js} +5 -5
- package/dist/chunks/integration-vqak9y1g.js +26 -0
- package/dist/chunks/{command-dadjdgyz.js → integration-vsjdmhbh.js} +5 -5
- package/dist/chunks/{command-xhmyjmwr.js → integration-w2kezrd5.js} +38 -34
- package/dist/chunks/{command-h9w2wztg.js → integration-w3c6n65h.js} +7 -7
- package/dist/chunks/{command-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wr3re1en.js → integration-w687dnns.js} +4 -4
- package/dist/chunks/{command-wakvkjy4.js → integration-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{command-g7xbx5hr.js → integration-we9106dc.js} +21 -21
- package/dist/chunks/{command-9phmjwad.js → integration-weq6dpxb.js} +17 -17
- package/dist/chunks/{command-dv96216k.js → integration-wn77a8c9.js} +4 -4
- package/dist/chunks/{command-wnhgecwx.js → integration-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-qzt3vhe1.js → integration-x1aqnvgj.js} +24 -24
- package/dist/chunks/{command-kw3k79h8.js → integration-x3qsxgra.js} +8 -8
- package/dist/chunks/{command-rbmcs465.js → integration-x3svfgb6.js} +49 -49
- package/dist/chunks/{command-1xq91efe.js → integration-x5zg4s3c.js} +19 -19
- package/dist/chunks/{command-m3n793pr.js → integration-xdkhsphe.js} +15 -15
- package/dist/chunks/{command-a42xyq8m.js → integration-xmgp1qg6.js} +27 -27
- package/dist/chunks/{command-hdvssxsh.js → integration-xmpds20m.js} +8 -8
- package/dist/chunks/{command-4z0esw61.js → integration-y046k2na.js} +12 -12
- package/dist/chunks/{command-k98vne29.js → integration-y6wtra0b.js} +3 -3
- package/dist/chunks/{command-yb20nhc3.js → integration-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-wkcv597c.js → integration-yc5vn7fw.js} +19 -19
- package/dist/chunks/{command-yr705xyq.js → integration-yr705xyq.js} +1 -1
- package/dist/chunks/{command-yvtc2x31.js → integration-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-5vw144qj.js → integration-yyaf2q7g.js} +30 -30
- package/dist/chunks/{command-4mszn7hs.js → integration-z6zr4shm.js} +10 -10
- package/dist/chunks/{command-gf0n33sa.js → integration-zatp1zx3.js} +41 -41
- package/dist/chunks/{command-vq898f1s.js → integration-zgy9v592.js} +180 -180
- package/dist/chunks/{command-hggysd9g.js → integration-zkwsqqkq.js} +11 -11
- package/dist/chunks/{command-dk7fqqpc.js → integration-zrxxs04m.js} +20 -20
- package/dist/chunks/{command-4sgec3wj.js → integration-zv0ysz1v.js} +38 -38
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +79 -79
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +107 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +95 -95
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +236 -236
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +234 -234
- package/dist/session/usage.js +3 -3
- package/dist/session.js +227 -227
- package/dist/shared-cache.js +5 -5
- 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 +146 -146
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/model-resolver.d.ts +2 -2
- package/dist/types/project.d.ts +11 -2
- package/dist/types/provider.d.ts +2 -3
- package/dist/usage-limits.js +92 -92
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/command-6bshxcsx.js +0 -18
- package/dist/chunks/command-mhzfw4jr.js +0 -26
- package/dist/chunks/command-ztcs3mn5.js +0 -261
- /package/dist/chunks/{command-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → integration-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-1pevy3nx.js → integration-1pevy3nx.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → integration-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → integration-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → integration-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-7stb81gk.js → integration-7stb81gk.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → integration-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → integration-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → integration-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → integration-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → integration-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → integration-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → integration-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → integration-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → integration-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → integration-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → integration-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-sm9v7ytc.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-27w5k9zf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID12,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info14,
|
|
18
|
+
NotFoundError: () => NotFoundError10,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
node: () => node63
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID12 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info14 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,9 +40,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service90).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service61.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node63 = makeGlobalNode({ service: Service61, layer, deps: [node93] });
|
|
94
94
|
|
|
95
|
-
export { ID12,
|
|
95
|
+
export { ID12, Info14, NotFoundError10, ConflictError2, Service61, node63, exports_saved };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-7wg4v4ja.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node86
|
|
8
|
+
} from "./integration-rxre51t5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node65
|
|
12
|
+
} from "./integration-1zeqkgg4.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFoundError11
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-mws3j5yf.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node64
|
|
22
|
+
} from "./integration-qpskqaqc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service61,
|
|
25
|
+
node63
|
|
26
|
+
} from "./integration-cpfxws33.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service70,
|
|
29
|
+
node73
|
|
30
|
+
} from "./integration-1xgd112x.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,26 +39,26 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
43
|
ID: () => ID11,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service60,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
merge: () => merge2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node62
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
59
59
|
import { Permission } from "@opencode/schema/permission";
|
|
60
60
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
61
|
-
import { Event as
|
|
61
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
62
62
|
var PermissionEffect = Permission.Effect;
|
|
63
63
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
64
64
|
var ID11 = Permission.ID;
|
|
@@ -93,7 +93,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
97
97
|
requestID: ID11
|
|
98
98
|
}) {
|
|
99
99
|
}
|
|
@@ -108,15 +108,15 @@ function merge2(...rulesets) {
|
|
|
108
108
|
return rulesets.flat();
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service60 extends Context.Service()("@opencode/Permission") {
|
|
112
112
|
}
|
|
113
|
-
var layer = Layer.effect(
|
|
113
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
114
114
|
const bus = yield* Service89;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const agents = yield*
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const saved = yield*
|
|
119
|
-
const hooks = yield*
|
|
115
|
+
const location = yield* Service83;
|
|
116
|
+
const agents = yield* Service63;
|
|
117
|
+
const sessions = yield* Service62;
|
|
118
|
+
const saved = yield* Service61;
|
|
119
|
+
const hooks = yield* Service70;
|
|
120
120
|
const pending = new Map;
|
|
121
121
|
let closed = false;
|
|
122
122
|
const close = Effect.gen(function* () {
|
|
@@ -252,7 +252,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
252
252
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
253
253
|
const existing = pending.get(input.requestID);
|
|
254
254
|
if (!existing)
|
|
255
|
-
return yield* new
|
|
255
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
256
256
|
yield* bus.publish(Permission.Event.Replied, {
|
|
257
257
|
sessionID: existing.request.sessionID,
|
|
258
258
|
requestID: existing.request.id,
|
|
@@ -307,12 +307,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
307
307
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
308
308
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
309
309
|
});
|
|
310
|
-
return
|
|
310
|
+
return Service60.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
311
311
|
}));
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
312
|
+
var node62 = makeLocationNode({
|
|
313
|
+
service: Service60,
|
|
314
314
|
layer,
|
|
315
|
-
deps: [node92,
|
|
315
|
+
deps: [node92, node86, node65, node64, node63, node73]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { PermissionEffect, ID11, Source5, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
318
|
+
export { PermissionEffect, ID11, Source5, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service60, node62, exports_permission, Rule2, Ruleset2, Event12 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-b69y3sgq.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service90,
|
|
12
12
|
node93
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-sm9v7ytc.js";
|
|
14
14
|
import {
|
|
15
15
|
Service89,
|
|
16
16
|
node92
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-7wg4v4ja.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-aj7mw0zk.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-3cbjf1nt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID18,
|
|
26
|
+
NotFoundError13
|
|
27
|
+
} from "./integration-g5kfphsw.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./integration-rxre51t5.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service77,
|
|
33
|
+
node80
|
|
34
|
+
} from "./integration-re9mr69h.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./integration-gn8tkhbf.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service76
|
|
41
|
+
} from "./integration-mq6zrre5.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./integration-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput5,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event15,
|
|
53
|
+
Info: () => Info23,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service75,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node78
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput5 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info23 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event15 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service75 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service90;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service89;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service77;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError13({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service76).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event15.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service75.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node78 = Node.makeGlobalNode({
|
|
260
|
+
service: Service75,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node92, node93, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node92, node93, AppProcess.node, node80]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput5, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput5, RemoveInput2, Info23, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event15, Service75, node78, exports_worktree2, OperationError2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-7wg4v4ja.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-bf05ssmp.js";
|
|
7
7
|
import {
|
|
8
8
|
Service13,
|
|
9
9
|
Event2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-4b83d84h.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./integration-b69y3sgq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-gn8tkhbf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make32
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make32 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service85;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make29 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make32, exports_git2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make29,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-wn77a8c9.js";
|
|
7
7
|
import {
|
|
8
8
|
ID10,
|
|
9
9
|
Name2,
|
|
10
10
|
available4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./integration-k9z6v45q.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions6 = {};
|
|
20
|
+
__export(exports_instructions6, {
|
|
21
|
+
Service: () => Service37,
|
|
22
|
+
SkillInstructions: () => exports_instructions6,
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -64,14 +64,14 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service37 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service59;
|
|
71
|
+
return Service37.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
73
|
const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
|
-
return
|
|
74
|
+
return make29({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node61] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service37, node40, exports_instructions6 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./integration-s5ytj3kj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make29,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-wn77a8c9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions4 = {};
|
|
17
17
|
__export(exports_instructions4, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service34,
|
|
20
|
+
node: () => node37
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service45;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make29({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [node47] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service34, node37, exports_instructions4 };
|