@opencode/core 0.0.0-dev-400 → 0.0.0-dev-406
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 +9 -9
- package/dist/artifact.js +234 -234
- package/dist/bus.js +84 -84
- package/dist/chunks/{usage-limits-wm0d50xk.js → snapshot-02pjpvcc.js} +19 -19
- package/dist/chunks/{usage-limits-37hck4xc.js → snapshot-03fwz5er.js} +1 -1
- package/dist/chunks/{usage-limits-963hk181.js → snapshot-0b5y8qrs.js} +9 -9
- package/dist/chunks/{usage-limits-sqjzf8x2.js → snapshot-0j7gp832.js} +4 -4
- package/dist/chunks/{usage-limits-n88rezm8.js → snapshot-0qq0cfxe.js} +13 -13
- package/dist/chunks/{usage-limits-vk3q8dk8.js → snapshot-0wv27kca.js} +23 -23
- package/dist/chunks/{usage-limits-rf6sfr73.js → snapshot-0wxjpx7n.js} +11 -11
- package/dist/chunks/{usage-limits-n8vevnsf.js → snapshot-0xemvfzd.js} +5 -5
- package/dist/chunks/{usage-limits-fb0bzz90.js → snapshot-144w1kcn.js} +12 -12
- package/dist/chunks/{usage-limits-mfb8fvgk.js → snapshot-15q0jnpn.js} +15 -15
- package/dist/chunks/{usage-limits-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-9663jzc0.js → snapshot-1tsym9r0.js} +6 -6
- package/dist/chunks/{usage-limits-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-qtf35215.js → snapshot-1xb40zjp.js} +3 -3
- package/dist/chunks/{usage-limits-fqsnyjsz.js → snapshot-217173sj.js} +25 -25
- package/dist/chunks/{usage-limits-4b1hfbmn.js → snapshot-24t7kb5m.js} +19 -19
- package/dist/chunks/{usage-limits-1ep2p91f.js → snapshot-27w5k9zf.js} +2 -2
- package/dist/chunks/{usage-limits-b4az109y.js → snapshot-28xy2ctr.js} +6 -6
- package/dist/chunks/{usage-limits-ahse4efr.js → snapshot-2ddytw2t.js} +7 -7
- package/dist/chunks/{usage-limits-mf63ygpr.js → snapshot-2kg89srt.js} +4 -4
- package/dist/chunks/{usage-limits-xr07be4v.js → snapshot-2ntb1qqa.js} +31 -31
- package/dist/chunks/{usage-limits-eeae322r.js → snapshot-2yn6vtvg.js} +12 -12
- package/dist/chunks/{usage-limits-q7bfnte9.js → snapshot-391njdbe.js} +13 -13
- package/dist/chunks/{usage-limits-ayjs7tqn.js → snapshot-3cbjf1nt.js} +2 -2
- package/dist/chunks/{usage-limits-est5w5t7.js → snapshot-3eawpy06.js} +4 -4
- package/dist/chunks/{usage-limits-1ad67qgs.js → snapshot-3h1j3pqr.js} +1 -1
- package/dist/chunks/{usage-limits-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-m93s2rdr.js → snapshot-3qsavvjy.js} +44 -44
- package/dist/chunks/{usage-limits-zj79xsp9.js → snapshot-3y2j65wz.js} +21 -21
- package/dist/chunks/{usage-limits-40y6dtc2.js → snapshot-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-f6zrgn4d.js → snapshot-43z3jsav.js} +25 -25
- package/dist/chunks/{usage-limits-s7xceqct.js → snapshot-49pkreda.js} +3 -3
- package/dist/chunks/{usage-limits-a62h5j2e.js → snapshot-4a5wkxfx.js} +12 -12
- package/dist/chunks/{usage-limits-8cg7mtm3.js → snapshot-4d2dtj2f.js} +4 -4
- package/dist/chunks/{usage-limits-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-h9x96109.js → snapshot-4ef5qeve.js} +17 -17
- package/dist/chunks/{usage-limits-1te5e7hz.js → snapshot-4gt7vjcc.js} +9 -9
- package/dist/chunks/{usage-limits-pcwhv3zn.js → snapshot-4hbra4ea.js} +12 -12
- package/dist/chunks/{usage-limits-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-msd2a3qm.js → snapshot-4tnarq1t.js} +6 -6
- package/dist/chunks/{usage-limits-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-tttefmwe.js → snapshot-54g0t3c6.js} +11 -11
- package/dist/chunks/{usage-limits-ef19hej1.js → snapshot-57406pnf.js} +3 -3
- package/dist/chunks/{usage-limits-5wmr8030.js → snapshot-5am0py7h.js} +12 -12
- package/dist/chunks/{usage-limits-03qx06a8.js → snapshot-5aqpsnry.js} +16 -16
- package/dist/chunks/{usage-limits-a2t4gxm3.js → snapshot-5gfbt72n.js} +17 -17
- package/dist/chunks/{usage-limits-hr1kxf88.js → snapshot-5j7wrwn4.js} +31 -31
- package/dist/chunks/{usage-limits-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-jye1j8z7.js → snapshot-5rrdarpr.js} +24 -24
- package/dist/chunks/{usage-limits-p7vhpwh8.js → snapshot-5zrxpy3q.js} +5 -5
- package/dist/chunks/{usage-limits-hngptckf.js → snapshot-64ns21at.js} +17 -17
- package/dist/chunks/{usage-limits-x369jwq1.js → snapshot-66dcgqg3.js} +19 -19
- package/dist/chunks/{usage-limits-ybka5wt8.js → snapshot-6bd2t8jb.js} +6 -6
- package/dist/chunks/{usage-limits-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-m3vgaj65.js → snapshot-6n35w1y6.js} +35 -35
- package/dist/chunks/{usage-limits-w57mf20a.js → snapshot-6ntvk8pg.js} +38 -38
- package/dist/chunks/{usage-limits-eg8kg6r9.js → snapshot-6qaah0h2.js} +19 -19
- package/dist/chunks/{usage-limits-w122sk5d.js → snapshot-6rbk612b.js} +23 -23
- package/dist/chunks/{usage-limits-dfc1rvk0.js → snapshot-72e1zqdg.js} +32 -32
- package/dist/chunks/{usage-limits-f4c8bxqh.js → snapshot-764z6aen.js} +50 -50
- package/dist/chunks/{usage-limits-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
- package/dist/chunks/{usage-limits-g3n6zr0q.js → snapshot-76hrpvbm.js} +15 -15
- package/dist/chunks/{usage-limits-775hqbnd.js → snapshot-775hqbnd.js} +3 -3
- package/dist/chunks/{usage-limits-rbjbxyfb.js → snapshot-7a52j6g5.js} +2 -2
- package/dist/chunks/{usage-limits-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-n6fs3bja.js → snapshot-7crxwvgp.js} +5 -5
- package/dist/chunks/{usage-limits-zqtt05nf.js → snapshot-7jj2xggg.js} +3 -3
- package/dist/chunks/{usage-limits-7kr66rt3.js → snapshot-7kr66rt3.js} +1 -1
- package/dist/chunks/{usage-limits-kv32qzfx.js → snapshot-7mnx815n.js} +32 -32
- package/dist/chunks/{usage-limits-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-jsb5v99n.js → snapshot-7xynjv4x.js} +10 -10
- package/dist/chunks/{usage-limits-yz5cvm2f.js → snapshot-88vdkk0b.js} +52 -47
- package/dist/chunks/{usage-limits-89287pr7.js → snapshot-89287pr7.js} +1 -1
- package/dist/chunks/{usage-limits-zj74h5n1.js → snapshot-8983s98m.js} +7 -7
- package/dist/chunks/{usage-limits-25h84942.js → snapshot-8b3vzgkx.js} +4 -4
- package/dist/chunks/{usage-limits-b2nnbp2m.js → snapshot-8df8n1ms.js} +48 -48
- package/dist/chunks/{usage-limits-7t3wwtad.js → snapshot-8dqwm1r1.js} +3 -3
- package/dist/chunks/{usage-limits-8hfctyyf.js → snapshot-8hfctyyf.js} +2 -2
- package/dist/chunks/{usage-limits-5vab2qm0.js → snapshot-8p00n8d3.js} +7 -7
- package/dist/chunks/{usage-limits-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-rf84k8f1.js → snapshot-8y8fys6m.js} +17 -17
- package/dist/chunks/{usage-limits-mb7mbhnz.js → snapshot-8z6m94af.js} +3 -3
- package/dist/chunks/{usage-limits-90zstvax.js → snapshot-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-0yqr2mqa.js → snapshot-9127f48c.js} +6 -6
- package/dist/chunks/{usage-limits-4e9mk02g.js → snapshot-9bwe9f45.js} +13 -13
- package/dist/chunks/{usage-limits-s8k9enqw.js → snapshot-9czkngpf.js} +8 -8
- package/dist/chunks/{usage-limits-2yey7seh.js → snapshot-9jgte3wq.js} +14 -14
- package/dist/chunks/{usage-limits-ve2yhar6.js → snapshot-9mc87n3m.js} +14 -14
- package/dist/chunks/{usage-limits-bqfdzc7w.js → snapshot-9qgv7bsk.js} +11 -11
- package/dist/chunks/{usage-limits-8ng3akwc.js → snapshot-9sgvr357.js} +182 -182
- package/dist/chunks/{usage-limits-dv96216k.js → snapshot-9sy1j1hj.js} +4 -4
- package/dist/chunks/{usage-limits-sz2wkw2f.js → snapshot-9tcj7sqc.js} +6 -6
- package/dist/chunks/{usage-limits-pa1a0j55.js → snapshot-9w4n5h69.js} +16 -16
- package/dist/chunks/{usage-limits-qr98zwtf.js → snapshot-9w8mvdp6.js} +7 -7
- package/dist/chunks/{usage-limits-s3c7qca0.js → snapshot-9z7x29xy.js} +17 -17
- package/dist/chunks/{usage-limits-vp2fe4sb.js → snapshot-a0setetn.js} +6 -6
- package/dist/chunks/{usage-limits-7nqkf5r1.js → snapshot-a5fx33f2.js} +6 -6
- package/dist/chunks/{usage-limits-xb29nv4b.js → snapshot-a66m6j8q.js} +21 -21
- package/dist/chunks/{usage-limits-2p60zmnr.js → snapshot-ad21tgm2.js} +4 -4
- package/dist/chunks/{usage-limits-034tev2y.js → snapshot-aj7mw0zk.js} +2 -2
- package/dist/chunks/{usage-limits-8h3wsat0.js → snapshot-aqn77ae6.js} +11 -11
- package/dist/chunks/{usage-limits-rdp4ehry.js → snapshot-arb4tpet.js} +19 -19
- package/dist/chunks/{usage-limits-4pas2eyt.js → snapshot-aw51rh2p.js} +354 -354
- package/dist/chunks/{usage-limits-ph5yyazf.js → snapshot-azw5c8v4.js} +17 -17
- package/dist/chunks/snapshot-b1ybw7j9.js +261 -0
- package/dist/chunks/{usage-limits-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-1a0n8xfb.js → snapshot-b7mww9pr.js} +13 -13
- package/dist/chunks/{usage-limits-x150ncgg.js → snapshot-b8s66ae1.js} +2 -2
- package/dist/chunks/{usage-limits-07dt8f4k.js → snapshot-b92vky8a.js} +15 -15
- package/dist/chunks/{usage-limits-3zg6x5sx.js → snapshot-bbebv08a.js} +21 -21
- package/dist/chunks/{usage-limits-ke545j7m.js → snapshot-bfr65paq.js} +19 -19
- package/dist/chunks/{usage-limits-ftpc4j95.js → snapshot-bg8bpnpp.js} +9 -9
- package/dist/chunks/{usage-limits-f8155kt2.js → snapshot-bgrjzcye.js} +21 -21
- package/dist/chunks/{usage-limits-kbgs7tyr.js → snapshot-brv6mkyx.js} +4 -4
- package/dist/chunks/{usage-limits-dr1mh1e2.js → snapshot-bzz3gsn2.js} +6 -6
- package/dist/chunks/{usage-limits-365eavge.js → snapshot-c7gk57p6.js} +4 -4
- package/dist/chunks/{usage-limits-w45rmhc3.js → snapshot-ca7jq2yv.js} +14 -14
- package/dist/chunks/{usage-limits-ss0a1k8t.js → snapshot-cbmqssdp.js} +31 -31
- package/dist/chunks/{usage-limits-12zfj4q4.js → snapshot-ccmmjrk6.js} +32 -32
- package/dist/chunks/{usage-limits-et2h47vz.js → snapshot-ce0h6m0g.js} +35 -35
- package/dist/chunks/{usage-limits-d0mytrtk.js → snapshot-cmwhqz3w.js} +25 -25
- package/dist/chunks/{usage-limits-hr0yr0zh.js → snapshot-cnngkgcm.js} +50 -50
- package/dist/chunks/{usage-limits-xmx7xj34.js → snapshot-cpvd08na.js} +4 -4
- package/dist/chunks/{usage-limits-0h02ntte.js → snapshot-crrarh49.js} +19 -19
- package/dist/chunks/{usage-limits-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-5zpqhmp2.js → snapshot-czc3e01s.js} +6 -6
- package/dist/chunks/{usage-limits-8as08gmw.js → snapshot-d2n7sc2r.js} +10 -10
- package/dist/chunks/{usage-limits-fsb19ccp.js → snapshot-d2pqqz8b.js} +6 -6
- package/dist/chunks/{usage-limits-kfn7hqn6.js → snapshot-d8knw3fb.js} +27 -27
- package/dist/chunks/{usage-limits-2dvhsjqp.js → snapshot-d8zqcy3b.js} +11 -11
- package/dist/chunks/{usage-limits-qvtwmp4v.js → snapshot-dbccrw1t.js} +6 -6
- package/dist/chunks/{usage-limits-qgtjt0gn.js → snapshot-dbjeh9px.js} +43 -43
- package/dist/chunks/{usage-limits-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-w8sdfb9w.js → snapshot-e63f5s33.js} +9 -9
- package/dist/chunks/{usage-limits-bf91b8q0.js → snapshot-e7cst251.js} +18 -18
- package/dist/chunks/{usage-limits-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-3p57dcxh.js → snapshot-e8pm465n.js} +4 -4
- package/dist/chunks/{usage-limits-1pnyc33r.js → snapshot-ekzwxv5p.js} +25 -25
- package/dist/chunks/{usage-limits-mwc5cd2y.js → snapshot-eng2ayvz.js} +14 -14
- package/dist/chunks/{usage-limits-jv5ccajn.js → snapshot-ensv1rzq.js} +5 -5
- package/dist/chunks/{usage-limits-eqw4pqj1.js → snapshot-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-722v3f7j.js → snapshot-f320ktkw.js} +4 -4
- package/dist/chunks/{usage-limits-gjjq27qa.js → snapshot-f4r5gceq.js} +43 -43
- package/dist/chunks/{usage-limits-qaa8vz4d.js → snapshot-fb644pb3.js} +15 -15
- package/dist/chunks/{usage-limits-6t66hz46.js → snapshot-fdktr6m7.js} +9 -9
- package/dist/chunks/{usage-limits-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-3wq5ff7w.js → snapshot-ffqhsvv1.js} +9 -9
- package/dist/chunks/{usage-limits-fg9p65nk.js → snapshot-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-kdbzm995.js → snapshot-fk98tnh1.js} +7 -7
- package/dist/chunks/{usage-limits-3xka54rk.js → snapshot-fpgj4thp.js} +10 -10
- package/dist/chunks/{usage-limits-55hwmkk2.js → snapshot-fpncdj63.js} +41 -41
- package/dist/chunks/{usage-limits-563cpf99.js → snapshot-fs2yy8fv.js} +43 -43
- package/dist/chunks/{usage-limits-nvd32f1y.js → snapshot-fzmq5f01.js} +14 -14
- package/dist/chunks/{usage-limits-vcm9cyw2.js → snapshot-g1a6h9mr.js} +50 -17
- package/dist/chunks/{usage-limits-gbjdnr5j.js → snapshot-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-ky55b5b1.js → snapshot-ghjeb6j8.js} +4 -4
- package/dist/chunks/{usage-limits-wexf2k6a.js → snapshot-gks4v33p.js} +9 -9
- package/dist/chunks/{usage-limits-vh2kh9ps.js → snapshot-gn7v9w64.js} +59 -59
- package/dist/chunks/{usage-limits-d4v9tmah.js → snapshot-gn8tkhbf.js} +2 -2
- package/dist/chunks/{usage-limits-hx4qpz76.js → snapshot-gv14mq9b.js} +41 -41
- package/dist/chunks/{usage-limits-d2dt6bgk.js → snapshot-h1n0qg42.js} +2 -2
- package/dist/chunks/{usage-limits-mmej92t0.js → snapshot-h3fvexnt.js} +22 -22
- package/dist/chunks/{usage-limits-nt907s04.js → snapshot-h5chy42v.js} +3 -3
- package/dist/chunks/{usage-limits-hvszmf3e.js → snapshot-h5gw1mv8.js} +8 -8
- package/dist/chunks/{usage-limits-0z443j1w.js → snapshot-hcvc4jwb.js} +4 -4
- package/dist/chunks/{usage-limits-wwk64ax4.js → snapshot-hdc6d0py.js} +24 -24
- package/dist/chunks/{usage-limits-hh7kjqtw.js → snapshot-hh7kjqtw.js} +1 -1
- package/dist/chunks/{usage-limits-dj5xkk94.js → snapshot-hkcr01zq.js} +2 -2
- package/dist/chunks/{usage-limits-hpg1pkwy.js → snapshot-hpg1pkwy.js} +1 -1
- package/dist/chunks/{usage-limits-jcw9q93v.js → snapshot-hvx6apmw.js} +11 -11
- package/dist/chunks/{usage-limits-yf9w9wtz.js → snapshot-hw1br2bp.js} +1 -1
- package/dist/chunks/{usage-limits-st9ps93c.js → snapshot-j2zn6t4x.js} +11 -11
- package/dist/chunks/{usage-limits-5bk82nga.js → snapshot-j39ggc5n.js} +5 -5
- package/dist/chunks/{usage-limits-j9nxzz3g.js → snapshot-j9nxzz3g.js} +3 -3
- package/dist/chunks/{usage-limits-p0ae1meq.js → snapshot-jbca55a3.js} +34 -34
- package/dist/chunks/{usage-limits-hpwreb2n.js → snapshot-jgqb6z2d.js} +35 -35
- package/dist/chunks/{usage-limits-tr8x705m.js → snapshot-jht64jd1.js} +4 -4
- package/dist/chunks/{usage-limits-y4a4bk48.js → snapshot-jp5rjajp.js} +12 -12
- package/dist/chunks/{usage-limits-z790ea30.js → snapshot-jrwngcde.js} +22 -22
- package/dist/chunks/{usage-limits-jtnps1zs.js → snapshot-jtnps1zs.js} +2 -2
- package/dist/chunks/{usage-limits-86mma9zn.js → snapshot-jvn25kqv.js} +7 -7
- package/dist/chunks/{usage-limits-4xkmjgmt.js → snapshot-k2fagca9.js} +11 -11
- package/dist/chunks/{usage-limits-18g90bpv.js → snapshot-k302pdnh.js} +2 -2
- package/dist/chunks/{usage-limits-86mmm7fr.js → snapshot-k3bbsj40.js} +17 -17
- package/dist/chunks/{usage-limits-j4he7vbr.js → snapshot-k4nxjnv1.js} +46 -46
- package/dist/chunks/{usage-limits-82p3xxjd.js → snapshot-k5kzvttb.js} +17 -17
- package/dist/chunks/{usage-limits-63rvx2n8.js → snapshot-khkhkr0h.js} +37 -37
- package/dist/chunks/{usage-limits-pk5k9wpg.js → snapshot-kk5zaac5.js} +58 -58
- package/dist/chunks/{usage-limits-fpd09bte.js → snapshot-krng6xfc.js} +12 -12
- package/dist/chunks/{usage-limits-rk0sd0kg.js → snapshot-ksmemvx8.js} +25 -25
- package/dist/chunks/{usage-limits-kt3bjfbg.js → snapshot-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-edgxprr1.js → snapshot-kv676bpb.js} +17 -17
- package/dist/chunks/{usage-limits-z1tssbze.js → snapshot-kwe1szpf.js} +12 -12
- package/dist/chunks/{usage-limits-kzczzf4v.js → snapshot-kzczzf4v.js} +1 -1
- package/dist/chunks/{usage-limits-kze6nzna.js → snapshot-kze6nzna.js} +1 -1
- package/dist/chunks/{usage-limits-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-qxsp0qy6.js → snapshot-m23y4wv7.js} +11 -11
- package/dist/chunks/{usage-limits-sq2a3fge.js → snapshot-m3twmbkf.js} +4 -4
- package/dist/chunks/{usage-limits-5shk7qbb.js → snapshot-m56nf5sd.js} +29 -29
- package/dist/chunks/{usage-limits-hj4hpdby.js → snapshot-m80jg20d.js} +12 -12
- package/dist/chunks/{usage-limits-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-mqz8gh7e.js → snapshot-mqz8gh7e.js} +4 -4
- package/dist/chunks/{usage-limits-z617y4bf.js → snapshot-mw9tbtkt.js} +29 -29
- package/dist/chunks/{usage-limits-3cd3ffgw.js → snapshot-myy6psmc.js} +35 -35
- package/dist/chunks/{usage-limits-wws03c5r.js → snapshot-mzm8bzzq.js} +4 -4
- package/dist/chunks/{usage-limits-7rvhzgwz.js → snapshot-n07gvy4d.js} +25 -25
- package/dist/chunks/{usage-limits-szwm4crx.js → snapshot-n4z1q12f.js} +7 -7
- package/dist/chunks/{usage-limits-nah043kf.js → snapshot-nah043kf.js} +1 -1
- package/dist/chunks/{usage-limits-cd82kqej.js → snapshot-nbavfan3.js} +23 -23
- package/dist/chunks/{usage-limits-py15aynj.js → snapshot-nbk34sar.js} +13 -13
- package/dist/chunks/{usage-limits-z6d0z892.js → snapshot-nn715xat.js} +22 -22
- package/dist/chunks/{usage-limits-75s55zsd.js → snapshot-npk9jhsr.js} +9 -9
- package/dist/chunks/{usage-limits-d9p78pk4.js → snapshot-nqeb8098.js} +11 -11
- package/dist/chunks/{usage-limits-wegkxhrn.js → snapshot-nx4vzyjd.js} +2 -2
- package/dist/chunks/{usage-limits-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-4xcxrfeg.js → snapshot-p3d81k55.js} +3 -3
- package/dist/chunks/{usage-limits-t1stt9hn.js → snapshot-p65z3q1b.js} +2 -2
- package/dist/chunks/{usage-limits-jahxfc61.js → snapshot-pahg8g4d.js} +9 -9
- package/dist/chunks/{usage-limits-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-dz5wpkka.js → snapshot-pqk3d334.js} +82 -82
- package/dist/chunks/{usage-limits-yara3q77.js → snapshot-pxtfkpje.js} +2 -2
- package/dist/chunks/{usage-limits-p0fzjpm1.js → snapshot-py04xzas.js} +15 -15
- package/dist/chunks/{usage-limits-tbspsmnw.js → snapshot-pz4gw6rp.js} +16 -16
- package/dist/chunks/{usage-limits-6wzd2fzk.js → snapshot-pz6y4r6z.js} +21 -21
- package/dist/chunks/{usage-limits-1r7ngzn2.js → snapshot-q08ag60j.js} +8 -8
- package/dist/chunks/{usage-limits-pp0ncar4.js → snapshot-q1axkn86.js} +19 -19
- package/dist/chunks/{usage-limits-7f8qbf9c.js → snapshot-q1b59kmw.js} +53 -53
- package/dist/chunks/{usage-limits-st09q8qp.js → snapshot-q1x1cyeb.js} +18 -18
- package/dist/chunks/{usage-limits-pdf22k7z.js → snapshot-q1zdytxe.js} +19 -19
- package/dist/chunks/{usage-limits-v05vmyvq.js → snapshot-q6cjan6r.js} +26 -26
- package/dist/chunks/{usage-limits-ndhnfkvh.js → snapshot-q7ayekhv.js} +21 -21
- package/dist/chunks/{usage-limits-915qh7jh.js → snapshot-qcxm7cn9.js} +17 -17
- package/dist/chunks/{usage-limits-caz7vn7z.js → snapshot-qdb09wh4.js} +25 -25
- package/dist/chunks/{usage-limits-ys44ckr0.js → snapshot-qh4ryqzt.js} +35 -35
- package/dist/chunks/{usage-limits-vt4r9rmy.js → snapshot-qh5g3qaw.js} +9 -9
- package/dist/chunks/{usage-limits-tvssxyt8.js → snapshot-qnqasnye.js} +6 -6
- package/dist/chunks/{usage-limits-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-qqvy8y24.js → snapshot-qqvy8y24.js} +1 -1
- package/dist/chunks/{usage-limits-k3cx6fhe.js → snapshot-qsdghx1p.js} +4 -4
- package/dist/chunks/{usage-limits-gt8c490j.js → snapshot-qtdx8d81.js} +1 -1
- package/dist/chunks/{usage-limits-00dh1h3p.js → snapshot-qwch7fht.js} +3 -3
- package/dist/chunks/{usage-limits-8t99kr38.js → snapshot-r17fbvme.js} +4 -4
- package/dist/chunks/{usage-limits-r542h3bh.js → snapshot-r542h3bh.js} +1 -1
- package/dist/chunks/{usage-limits-mfezz2p0.js → snapshot-r6b2fg3b.js} +26 -26
- package/dist/chunks/{usage-limits-ay792qyq.js → snapshot-r9a93xxj.js} +16 -16
- package/dist/chunks/{usage-limits-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-m7xh3h0x.js → snapshot-rbg54dp1.js} +4 -4
- package/dist/chunks/{usage-limits-d08arqad.js → snapshot-rd795hfg.js} +4 -4
- package/dist/chunks/{usage-limits-wnk5ar3r.js → snapshot-rgcc3cfq.js} +36 -36
- package/dist/chunks/{usage-limits-eneeszkf.js → snapshot-rhnm5xgc.js} +5 -5
- package/dist/chunks/{usage-limits-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-jc512s3p.js → snapshot-ry7kp2db.js} +8 -8
- package/dist/chunks/{usage-limits-n67k9wd0.js → snapshot-s0339vy1.js} +21 -21
- package/dist/chunks/{usage-limits-s26c8eb5.js → snapshot-s26c8eb5.js} +1 -1
- package/dist/chunks/{usage-limits-6c389fb6.js → snapshot-s3qzsam1.js} +17 -17
- package/dist/chunks/{usage-limits-fq3y8xpp.js → snapshot-s4tvz5ga.js} +8 -8
- package/dist/chunks/{usage-limits-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-sbya78hr.js → snapshot-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-sf9y72b7.js → snapshot-sf9y72b7.js} +1 -1
- package/dist/chunks/{usage-limits-9pmypnne.js → snapshot-sqfs65x3.js} +14 -14
- package/dist/chunks/{usage-limits-nn2a5q1t.js → snapshot-srt1m9k4.js} +22 -22
- package/dist/chunks/{usage-limits-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-7w7tghj7.js → snapshot-t04neh10.js} +6 -6
- package/dist/chunks/{usage-limits-pcr697g8.js → snapshot-tcqtbtmg.js} +21 -21
- package/dist/chunks/{usage-limits-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-c570ayfm.js → snapshot-tdmkjf55.js} +5 -5
- package/dist/chunks/{usage-limits-tg7s7b5t.js → snapshot-tg7s7b5t.js} +1 -1
- package/dist/chunks/{usage-limits-3ff17a98.js → snapshot-tjjte1kj.js} +12 -12
- package/dist/chunks/{usage-limits-b6jy2ery.js → snapshot-tk9tp9b8.js} +89 -89
- package/dist/chunks/{usage-limits-qh543zc0.js → snapshot-tm8vreea.js} +16 -16
- package/dist/chunks/{usage-limits-v5hpj9dd.js → snapshot-tqx9c315.js} +8 -8
- package/dist/chunks/{usage-limits-zvnnb0kw.js → snapshot-tv5hrea3.js} +8 -8
- package/dist/chunks/{usage-limits-44pmzq9c.js → snapshot-twhtcdx9.js} +4 -4
- package/dist/chunks/{usage-limits-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-xpmh67q4.js → snapshot-ty85z9e6.js} +24 -24
- package/dist/chunks/{usage-limits-m32hv6nk.js → snapshot-tzsb0n23.js} +37 -37
- package/dist/chunks/{usage-limits-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-0yzyh1k4.js → snapshot-v3vff7q4.js} +11 -11
- package/dist/chunks/{usage-limits-4ygb74tw.js → snapshot-v87xr3h5.js} +8 -8
- package/dist/chunks/{usage-limits-mqe7nf5n.js → snapshot-vg0erq9k.js} +3 -3
- package/dist/chunks/{usage-limits-vjf35v1f.js → snapshot-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-vmqe41cb.js → snapshot-vmqe41cb.js} +1 -1
- package/dist/chunks/{usage-limits-zspqkyq8.js → snapshot-vn788nw7.js} +21 -21
- package/dist/chunks/{usage-limits-229tvxdn.js → snapshot-vt2d6wap.js} +4 -4
- package/dist/chunks/{usage-limits-acxvv905.js → snapshot-vwrhe80m.js} +2 -2
- package/dist/chunks/{usage-limits-bp2dx3xj.js → snapshot-vy5wcvef.js} +25 -25
- package/dist/chunks/{usage-limits-y5r7t02p.js → snapshot-vypy9v5p.js} +22 -22
- package/dist/chunks/{usage-limits-w2eysc6j.js → snapshot-w2eysc6j.js} +2 -2
- package/dist/chunks/{usage-limits-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-a5bwxnk6.js → snapshot-w7xpfg5t.js} +9 -9
- package/dist/chunks/{usage-limits-5vtcgmtv.js → snapshot-w9zdnvcm.js} +4 -4
- package/dist/chunks/{usage-limits-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-sa0q05fm.js → snapshot-wdt1pfv0.js} +19 -19
- package/dist/chunks/{usage-limits-wnhgecwx.js → snapshot-wnhgecwx.js} +1 -1
- package/dist/chunks/{usage-limits-4qjss46w.js → snapshot-wp5hx8hm.js} +31 -31
- package/dist/chunks/{usage-limits-wr3re1en.js → snapshot-wr3re1en.js} +1 -1
- package/dist/chunks/{usage-limits-nms0nj6s.js → snapshot-wrsbktar.js} +96 -33
- package/dist/chunks/{usage-limits-pfk92436.js → snapshot-wsqgzygg.js} +18 -18
- package/dist/chunks/{usage-limits-wvr8xscb.js → snapshot-wvr8xscb.js} +1 -1
- package/dist/chunks/{usage-limits-1tg39pfc.js → snapshot-x3h3rbw3.js} +28 -28
- package/dist/chunks/{usage-limits-5c8b20zf.js → snapshot-x59f2yvh.js} +10 -10
- package/dist/chunks/{usage-limits-9b00c1fb.js → snapshot-x6pyv2yz.js} +5 -5
- package/dist/chunks/{usage-limits-qees6j3s.js → snapshot-x7ps9kt0.js} +4 -4
- package/dist/chunks/{usage-limits-bstexjd6.js → snapshot-xd9cc171.js} +5 -5
- package/dist/chunks/{usage-limits-jkety0w8.js → snapshot-xdf7jne0.js} +25 -25
- package/dist/chunks/{usage-limits-ts2pxwz7.js → snapshot-xf2hqg8j.js} +13 -13
- package/dist/chunks/{usage-limits-a9182taq.js → snapshot-xf4axmd8.js} +28 -28
- package/dist/chunks/{usage-limits-p2tvx8t7.js → snapshot-xfa541me.js} +9 -9
- package/dist/chunks/{usage-limits-xv0z6cqm.js → snapshot-y0svfq6r.js} +5 -5
- package/dist/chunks/{usage-limits-93c35svs.js → snapshot-y1gqpbdj.js} +32 -32
- package/dist/chunks/{usage-limits-65km906s.js → snapshot-y654kny2.js} +19 -19
- package/dist/chunks/{usage-limits-a2zex5ge.js → snapshot-y7rptanb.js} +5 -5
- package/dist/chunks/{usage-limits-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-3s19bb53.js → snapshot-yb9wrz09.js} +3 -3
- package/dist/chunks/{usage-limits-67mxzy6e.js → snapshot-yngvyh0w.js} +8 -8
- package/dist/chunks/{usage-limits-jsvqhv8w.js → snapshot-ypc712j2.js} +76 -76
- package/dist/chunks/{usage-limits-3m771afa.js → snapshot-yq5ghs0e.js} +5 -5
- package/dist/chunks/{usage-limits-yr705xyq.js → snapshot-yr705xyq.js} +1 -1
- package/dist/chunks/snapshot-z355x5yr.js +18 -0
- package/dist/chunks/{usage-limits-124bhr1x.js → snapshot-z3jankv6.js} +10 -10
- package/dist/chunks/{usage-limits-by5t8a5c.js → snapshot-z97e618c.js} +10 -10
- package/dist/chunks/{usage-limits-da4bejer.js → snapshot-z9wqjq9s.js} +35 -35
- package/dist/chunks/{usage-limits-qzyxykh8.js → snapshot-zc7q3mjw.js} +23 -23
- package/dist/chunks/{usage-limits-jbn2q8s9.js → snapshot-zgszavk2.js} +61 -28
- package/dist/chunks/snapshot-zm2w3v8r.js +26 -0
- package/dist/chunks/{usage-limits-vtw8zf69.js → snapshot-zm9m67ms.js} +11 -11
- package/dist/chunks/{usage-limits-rkc3ajpz.js → snapshot-zpz7wh08.js} +9 -9
- package/dist/chunks/{usage-limits-sa94484w.js → snapshot-ztw8cfxm.js} +12 -12
- package/dist/chunks/{usage-limits-78chz8f7.js → snapshot-zw1dtt9r.js} +5 -5
- 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 +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- 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 +132 -132
- package/dist/config/plugin/mcp.js +137 -137
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- 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 +131 -131
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- 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 +77 -77
- 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 +426 -426
- 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 +106 -106
- 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 +85 -85
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- 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 +9 -9
- package/dist/filesystem.js +117 -117
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- 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 +3 -3
- 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 +419 -419
- package/dist/instruction-discovery.js +93 -93
- 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 +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +416 -416
- 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 +114 -114
- package/dist/mcp/instructions.js +179 -179
- 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 +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- 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 +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- 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 +395 -395
- 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 +4 -4
- 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 +130 -130
- 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 +3 -3
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +1 -1
- 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 +2 -2
- 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 +106 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -108
- 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 +137 -137
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +105 -105
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +137 -137
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- 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/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 +210 -210
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +245 -245
- 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 +103 -103
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +246 -246
- package/dist/session/execution.js +159 -159
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- 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 +248 -248
- 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 +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- 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 +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +196 -196
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- 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 +146 -146
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +154 -154
- 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 +180 -180
- 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 +168 -168
- 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 +146 -146
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- 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 +161 -161
- package/dist/types/permission.d.ts +2 -0
- package/dist/usage-limits.js +100 -100
- 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 +3 -3
- 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 +100 -100
- package/dist/voice.js +97 -97
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- 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/usage-limits-a1atzy4k.js +0 -26
- package/dist/chunks/usage-limits-ev660z6k.js +0 -18
- package/dist/chunks/usage-limits-mc2en7xz.js +0 -261
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-1pevy3nx.js → snapshot-1pevy3nx.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → snapshot-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6agm2x70.js → snapshot-6agm2x70.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-7stb81gk.js → snapshot-7stb81gk.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-vtarvj67.js → snapshot-vtarvj67.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./snapshot-q1b59kmw.js";
|
|
7
7
|
import {
|
|
8
8
|
Info15,
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-qdb09wh4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin53,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin53 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
438
|
editor.add(Info15.make({
|
|
439
|
-
id:
|
|
439
|
+
id: ID10.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
445
|
editor.add(Info15.make({
|
|
446
|
-
id:
|
|
446
|
+
id: ID10.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service72;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin53, exports_skill3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
original2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-tg7s7b5t.js";
|
|
4
4
|
import {
|
|
5
5
|
session2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-yb9wrz09.js";
|
|
7
7
|
import {
|
|
8
8
|
start2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-4tnarq1t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make10
|
|
12
|
+
} from "./snapshot-brv6mkyx.js";
|
|
13
13
|
import {
|
|
14
14
|
build2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-eqw4pqj1.js";
|
|
16
16
|
import {
|
|
17
17
|
decide2,
|
|
18
18
|
boundary2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-gbjdnr5j.js";
|
|
20
20
|
import {
|
|
21
21
|
content3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-sbya78hr.js";
|
|
23
23
|
import {
|
|
24
24
|
content2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-775hqbnd.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make8
|
|
28
|
+
} from "./snapshot-vt2d6wap.js";
|
|
29
29
|
import {
|
|
30
30
|
collect2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-j9nxzz3g.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/claude/sessions.ts
|
|
37
37
|
var exports_sessions = {};
|
|
@@ -96,7 +96,7 @@ function registry2() {
|
|
|
96
96
|
yield* closeEntries();
|
|
97
97
|
});
|
|
98
98
|
const attach = Effect.fn("ClaudeSessions.attach")(function* (input) {
|
|
99
|
-
const records =
|
|
99
|
+
const records = make10(input.storage);
|
|
100
100
|
owners++;
|
|
101
101
|
yield* cancelHandover();
|
|
102
102
|
yield* Effect.addFinalizer(() => Effect.gen(function* () {
|
|
@@ -116,7 +116,7 @@ function registry2() {
|
|
|
116
116
|
yield* input.status.report({ type: "missing" });
|
|
117
117
|
return yield* Effect.fail(new Error("Install Claude Code and run `claude auth login` first"));
|
|
118
118
|
}
|
|
119
|
-
const pending =
|
|
119
|
+
const pending = make8();
|
|
120
120
|
const session = yield* attempt(async () => start2(await session2({
|
|
121
121
|
executable,
|
|
122
122
|
io: input.io,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-tv5hrea3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register3
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Schema } from "effect";
|
|
19
19
|
var isAborted = Schema.is(Schema.Struct({ error: Schema.Struct({ type: Schema.Literal("aborted") }) }));
|
|
20
|
-
var
|
|
20
|
+
var register3 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
21
21
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
22
22
|
event.headers[HEADER2] = event.kind;
|
|
23
23
|
if (event.kind !== "primary")
|
|
@@ -47,4 +47,4 @@ var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
47
47
|
}), { providerID: ID3 });
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { register3, exports_session2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID14 = Session.ID;
|
|
5
|
+
var Info23 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID14, Info23, SessionSchema2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./snapshot-k5kzvttb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service45,
|
|
10
|
+
node48
|
|
11
|
+
} from "./snapshot-e7cst251.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
|
+
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node47
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service80;
|
|
57
|
+
const ripgrep = yield* Service45;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service44.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service44, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service80;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service50, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service44.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service50, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service80;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured4(options) {
|
|
211
|
+
return makeLocationNode({ service: Service44, layer: layer(options), deps: [node83, node48] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node47 = configured4();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service44, makeFffLayer2, fffLayer2, configured4, node47, exports_search };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service88,
|
|
7
|
-
node91
|
|
8
|
-
} from "./usage-limits-fpd09bte.js";
|
|
4
|
+
} from "./snapshot-qwch7fht.js";
|
|
9
5
|
import {
|
|
10
6
|
Service85,
|
|
11
7
|
node88
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./snapshot-krng6xfc.js";
|
|
9
|
+
import {
|
|
10
|
+
Service80,
|
|
11
|
+
node83
|
|
12
|
+
} from "./snapshot-k5kzvttb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
synthetics2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-ffqhsvv1.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/instructions.ts
|
|
24
24
|
var exports_instructions = {};
|
|
25
25
|
__export(exports_instructions, {
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service5,
|
|
27
27
|
SessionInstructions: () => exports_instructions,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node7
|
|
29
29
|
});
|
|
30
30
|
import { relative } from "path";
|
|
31
31
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service5 extends Context.Service()("@opencode/SessionInstructions") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
41
|
-
const bus = yield*
|
|
40
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
41
|
+
const bus = yield* Service85;
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const db = (yield* Service89).db;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const root = yield* fs.resolve(location.project.directory);
|
|
46
46
|
const inFlight = yield* Ref.make(new Map);
|
|
47
47
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -87,7 +87,7 @@ ${file.content}`).join(`
|
|
|
87
87
|
return next;
|
|
88
88
|
})));
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service5.of({ load });
|
|
91
91
|
}));
|
|
92
92
|
function previouslyInjected(db, sessionID) {
|
|
93
93
|
return Effect.gen(function* () {
|
|
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
|
|
|
98
98
|
function describePath(root, path) {
|
|
99
99
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var node7 = makeLocationNode({
|
|
102
102
|
name: "session-instructions",
|
|
103
103
|
layer,
|
|
104
|
-
deps: [
|
|
104
|
+
deps: [node88, node92, FSUtil.node, node83]
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { Service5, node7, exports_instructions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service79
|
|
4
|
+
} from "./snapshot-q6cjan6r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./snapshot-q1b59kmw.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service79;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service72);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./snapshot-88vdkk0b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./snapshot-c7gk57p6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/fetch.ts
|
|
12
12
|
var exports_fetch = {};
|
|
@@ -23,8 +23,8 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
|
|
|
23
23
|
const url = String(input);
|
|
24
24
|
if (URL.parse(url)?.protocol === "file:")
|
|
25
25
|
return yield* Effect.fail(new Error("fetch cannot be used for filesystem access."));
|
|
26
|
-
const execution = yield*
|
|
27
|
-
const permission = yield*
|
|
26
|
+
const execution = yield* Service49;
|
|
27
|
+
const permission = yield* Service67;
|
|
28
28
|
yield* permission.assert({
|
|
29
29
|
action: "webfetch",
|
|
30
30
|
resources: [url],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info21,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info21 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info21, exports_permission2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-qwch7fht.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node88
|
|
8
|
+
} from "./snapshot-krng6xfc.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID22,
|
|
26
|
+
Info: () => Info32,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service84,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node87
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID22 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event21 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info32 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID22,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service84 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service89).db;
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info32({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service84.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info32({
|
|
95
|
+
id: input.id ?? ID22.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node87 = makeGlobalNode({ service: Service84, layer, deps: [node92, node88, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID22, OAuth3, Key4, External2, Value2, Event21, Info32, Service84, node87, exports_credential };
|