@opencode/core 0.0.0-dev-678 → 0.0.0-dev-695
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 +250 -249
- package/dist/bus.js +80 -80
- package/dist/chunks/{workspace-034tev2y.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{workspace-8h8e8n15.js → image-0393whd5.js} +15 -15
- package/dist/chunks/{workspace-1z92vj22.js → image-0480yb81.js} +8 -8
- package/dist/chunks/{workspace-0xvkyzh7.js → image-068xz90e.js} +11 -11
- package/dist/chunks/{workspace-xxdzcxzw.js → image-0fhfj518.js} +19 -19
- package/dist/chunks/{workspace-0ma9gw4f.js → image-0ma9gw4f.js} +2 -2
- package/dist/chunks/{workspace-7y4fptee.js → image-0p5kzdyh.js} +16 -16
- package/dist/chunks/{workspace-fvxw9k0s.js → image-0pxvnbtm.js} +80 -80
- package/dist/chunks/{workspace-n5ft8qmj.js → image-0qn0ymqz.js} +47 -47
- package/dist/chunks/{workspace-8wxwsd5v.js → image-0rd1d8cc.js} +46 -46
- package/dist/chunks/{workspace-1p5srj1c.js → image-0wmvpymx.js} +20 -20
- package/dist/chunks/{workspace-6kjz2f4d.js → image-12m4qzb4.js} +16 -16
- package/dist/chunks/{workspace-1aqsckx4.js → image-1aqsckx4.js} +1 -1
- package/dist/chunks/{workspace-kp65zg9d.js → image-1e4jsk78.js} +3 -3
- package/dist/chunks/{workspace-1ep2p91f.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{workspace-9ztwrape.js → image-1j3ejdgt.js} +10 -10
- package/dist/chunks/{workspace-7bs7td23.js → image-1jfss32g.js} +10 -10
- package/dist/chunks/{workspace-gntnm11s.js → image-1s2wjsmt.js} +34 -34
- package/dist/chunks/{workspace-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{workspace-5zrxpy3q.js → image-1yq9hg58.js} +5 -5
- package/dist/chunks/{workspace-cw7qf2q7.js → image-24j3j2wk.js} +19 -19
- package/dist/chunks/{workspace-8b3vzgkx.js → image-25h84942.js} +4 -4
- package/dist/chunks/{workspace-66w22gpr.js → image-29t2bjsh.js} +30 -30
- package/dist/chunks/{workspace-wnhgecwx.js → image-2fc7eemy.js} +14 -3
- package/dist/chunks/{workspace-8fq7ft0b.js → image-2gk0tjj2.js} +10 -10
- package/dist/chunks/image-2hefcmtv.js +265 -0
- package/dist/chunks/{workspace-gfcye9yw.js → image-2j5tccbn.js} +5 -5
- package/dist/chunks/image-2jjfs7g5.js +16 -0
- package/dist/chunks/{workspace-c4hrkxy0.js → image-2k0s9h12.js} +4 -4
- package/dist/chunks/{workspace-4h57hff9.js → image-2v2chkae.js} +35 -35
- package/dist/chunks/{workspace-mdt2ypdr.js → image-34wzbf36.js} +10 -10
- package/dist/chunks/{workspace-r74kddvb.js → image-375cgq6g.js} +22 -22
- package/dist/chunks/{workspace-g5agcsak.js → image-39sgvy3e.js} +4 -4
- package/dist/chunks/{workspace-mjrcsjpa.js → image-3adw4bt5.js} +9 -9
- package/dist/chunks/{workspace-3ppfbg49.js → image-3bhepz12.js} +12 -12
- package/dist/chunks/{workspace-akee56p2.js → image-3h7hf2nm.js} +18 -18
- package/dist/chunks/{workspace-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-54bjh6mf.js → image-3n83b0be.js} +21 -21
- package/dist/chunks/{workspace-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
- package/dist/chunks/{workspace-40y6dtc2.js → image-40y6dtc2.js} +1 -1
- package/dist/chunks/{workspace-g0m3yf2z.js → image-43sepmd6.js} +24 -21
- package/dist/chunks/{workspace-h1kc2mjq.js → image-4aafjf2c.js} +22 -22
- package/dist/chunks/{workspace-4dx1dgte.js → image-4dx1dgte.js} +1 -1
- package/dist/chunks/{workspace-ya4qwqg1.js → image-4gsnadnv.js} +26 -26
- package/dist/chunks/{workspace-7gm9k7ns.js → image-4j8e6rms.js} +7 -7
- package/dist/chunks/{workspace-5kv53nmy.js → image-4k5621ne.js} +6 -6
- package/dist/chunks/{workspace-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
- package/dist/chunks/{workspace-drraqxvn.js → image-4tgas3n4.js} +25 -25
- package/dist/chunks/{workspace-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{workspace-qsbb99wt.js → image-4xgx3a4s.js} +22 -22
- package/dist/chunks/{workspace-c3zgdyby.js → image-4y3kkbwp.js} +18 -18
- package/dist/chunks/{workspace-yfwmymrp.js → image-55dm5exg.js} +11 -11
- package/dist/chunks/{workspace-6sg7v011.js → image-55g2q5p5.js} +2 -2
- package/dist/chunks/{workspace-qnqasnye.js → image-5asgddgx.js} +6 -6
- package/dist/chunks/{workspace-epey1acq.js → image-5d75rfv3.js} +5 -5
- package/dist/chunks/{workspace-w2eysc6j.js → image-5enarcya.js} +6 -6
- package/dist/chunks/{workspace-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-mjasb2yr.js → image-5p7dtc6v.js} +23 -23
- package/dist/chunks/{workspace-taqgwch1.js → image-5qns2asc.js} +28 -28
- package/dist/chunks/{workspace-bm6a2y6s.js → image-5sbv6arc.js} +13 -13
- package/dist/chunks/{workspace-4a5d1rrj.js → image-5x5fts2f.js} +10 -10
- package/dist/chunks/{workspace-2kedh6bd.js → image-67mxzy6e.js} +8 -8
- package/dist/chunks/{workspace-ab8yzrrq.js → image-68b3nmxs.js} +21 -21
- package/dist/chunks/{workspace-b6wxxw1y.js → image-6b8r5f2g.js} +16 -16
- package/dist/chunks/{workspace-kgab7tq0.js → image-6nqkrg6t.js} +14 -14
- package/dist/chunks/{workspace-yyjn20hv.js → image-6t44e37v.js} +13 -13
- package/dist/chunks/{workspace-kek3h0en.js → image-70ae0w5g.js} +9 -9
- package/dist/chunks/{workspace-80mg3ag8.js → image-775hqbnd.js} +3 -3
- package/dist/chunks/{workspace-wvr8xscb.js → image-79k544d0.js} +7 -7
- package/dist/chunks/{workspace-e71bb87j.js → image-7bg5w1mh.js} +8 -8
- package/dist/chunks/{workspace-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-4kjn9ksr.js → image-7ebk4eec.js} +14 -14
- package/dist/chunks/{workspace-jhgh1a0t.js → image-7hqm749x.js} +8 -8
- package/dist/chunks/{workspace-7d680rbb.js → image-7rtgxq9w.js} +26 -26
- package/dist/chunks/{workspace-34zjd965.js → image-7s54hp2d.js} +8 -8
- package/dist/chunks/{workspace-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{workspace-7weczvnd.js → image-7weczvnd.js} +1 -1
- package/dist/chunks/{workspace-rke42rrk.js → image-7x0nx62q.js} +5 -5
- package/dist/chunks/{workspace-ww60k523.js → image-83ps3qg0.js} +22 -22
- package/dist/chunks/{workspace-89287pr7.js → image-89287pr7.js} +1 -1
- package/dist/chunks/{workspace-8cg7mtm3.js → image-8cg7mtm3.js} +1 -1
- package/dist/chunks/{workspace-5628et6m.js → image-8dbj5e4r.js} +11 -11
- package/dist/chunks/{workspace-z522rwm8.js → image-8jtqykc1.js} +33 -33
- package/dist/chunks/{workspace-8sxe6kv8.js → image-8sxe6kv8.js} +2 -2
- package/dist/chunks/{workspace-wfs84ra6.js → image-8t99kr38.js} +4 -4
- package/dist/chunks/{workspace-6vtzmyfg.js → image-8vrwzarc.js} +6 -6
- package/dist/chunks/{workspace-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{workspace-8zv0xmg5.js → image-8zv0xmg5.js} +1 -1
- package/dist/chunks/{workspace-90zstvax.js → image-90zstvax.js} +1 -1
- package/dist/chunks/{workspace-qz5h613z.js → image-92rck4hw.js} +4 -4
- package/dist/chunks/{workspace-hsfeb6dj.js → image-938p512a.js} +19 -19
- package/dist/chunks/{workspace-20zapttw.js → image-95p1x51z.js} +11 -11
- package/dist/chunks/{workspace-zg47tsk2.js → image-963hk181.js} +9 -9
- package/dist/chunks/{workspace-rtb1tmc5.js → image-96djdqw5.js} +7 -7
- package/dist/chunks/{workspace-bvh463d7.js → image-989t5a8k.js} +15 -15
- package/dist/chunks/{workspace-q2ewgeb1.js → image-993fem5p.js} +3 -3
- package/dist/chunks/{workspace-v0emb7vt.js → image-9dmv02kv.js} +43 -43
- package/dist/chunks/{workspace-z0jv2kcw.js → image-9f8bqk4a.js} +11 -11
- package/dist/chunks/{workspace-2kg89srt.js → image-9q8g9sv8.js} +4 -4
- package/dist/chunks/{workspace-er3bpk3r.js → image-9rxde50t.js} +24 -24
- package/dist/chunks/{workspace-zf9t0rg5.js → image-9trrg96j.js} +10 -10
- package/dist/chunks/{workspace-00b6wk7a.js → image-9v8sw4q0.js} +11 -11
- package/dist/chunks/{workspace-mxhhacq2.js → image-a4dsvtxz.js} +35 -35
- package/dist/chunks/{workspace-86xhc84s.js → image-a9f7f6sa.js} +19 -19
- package/dist/chunks/{workspace-ka5mw2jd.js → image-aatxk1dc.js} +2 -2
- package/dist/chunks/{workspace-y3qe1we7.js → image-abttpyd4.js} +11 -11
- package/dist/chunks/{workspace-d7m65cx1.js → image-arsf1kwh.js} +40 -40
- package/dist/chunks/{workspace-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{workspace-hhwgthyv.js → image-az81vt93.js} +77 -77
- package/dist/chunks/{workspace-4trj2kny.js → image-b0ny7cnc.js} +11 -11
- package/dist/chunks/{workspace-pz5w5yg9.js → image-b3m5mspr.js} +8 -8
- package/dist/chunks/{workspace-4wvtc0e3.js → image-b8e0rmyn.js} +4 -4
- package/dist/chunks/{workspace-evkchrw3.js → image-b94hv5d1.js} +16 -16
- package/dist/chunks/{workspace-vwdcswbs.js → image-bap6mpfc.js} +12 -12
- package/dist/chunks/{workspace-tjyq3t2b.js → image-bgg78hcj.js} +57 -51
- package/dist/chunks/{workspace-52ps0vwb.js → image-bn7p8ye2.js} +15 -15
- package/dist/chunks/{workspace-bstexjd6.js → image-bstexjd6.js} +1 -1
- package/dist/chunks/image-bwgz1akh.js +26 -0
- package/dist/chunks/{workspace-by8ty0bx.js → image-by8ty0bx.js} +1 -1
- package/dist/chunks/{workspace-ph2g2emk.js → image-c1h171bp.js} +12 -12
- package/dist/chunks/{workspace-t3qgac3j.js → image-c2p0j2y8.js} +5 -5
- package/dist/chunks/{workspace-gehtqm8z.js → image-c533qx2t.js} +16 -16
- package/dist/chunks/{workspace-c7cw818c.js → image-c7cw818c.js} +2 -2
- package/dist/chunks/{workspace-s4286pke.js → image-c83db1tt.js} +25 -25
- package/dist/chunks/{workspace-3pf3v1ej.js → image-c8g6j00g.js} +4 -4
- package/dist/chunks/{workspace-jn7865eg.js → image-cadbf1dk.js} +20 -20
- package/dist/chunks/{workspace-2chrnrgg.js → image-cea207v7.js} +18 -18
- package/dist/chunks/{workspace-gsybpqjy.js → image-cfecrg90.js} +8 -8
- package/dist/chunks/{workspace-011jp90z.js → image-ctmpqb7w.js} +9 -9
- package/dist/chunks/{workspace-cwrgdav8.js → image-cwrgdav8.js} +2 -2
- package/dist/chunks/{workspace-1mry7be8.js → image-cz9m0g43.js} +59 -59
- package/dist/chunks/{workspace-dmrv1dmn.js → image-d4e7nkvr.js} +9 -9
- package/dist/chunks/{workspace-d4v9tmah.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{workspace-y49z93ap.js → image-d9sb1j4d.js} +11 -11
- package/dist/chunks/{workspace-ra6js1h8.js → image-ddvn7d3w.js} +8 -8
- package/dist/chunks/{workspace-cppsts8r.js → image-dgz0k1mp.js} +41 -41
- package/dist/chunks/{workspace-8k3rmt1b.js → image-dpm48xm5.js} +4 -4
- package/dist/chunks/{workspace-dt77769w.js → image-dt77769w.js} +1 -1
- package/dist/chunks/{workspace-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{workspace-r9ywparb.js → image-edrkh58z.js} +15 -10
- package/dist/chunks/{workspace-sy24fjas.js → image-egb6sqjg.js} +20 -20
- package/dist/chunks/{workspace-2xs49srk.js → image-eh1xkk5s.js} +11 -11
- package/dist/chunks/{workspace-kvhr5bb6.js → image-eqvc371y.js} +18 -18
- package/dist/chunks/{workspace-eqw4pqj1.js → image-eqw4pqj1.js} +2 -2
- package/dist/chunks/{workspace-f67n8emy.js → image-evxfxzby.js} +5 -5
- package/dist/chunks/{workspace-sv909n4y.js → image-f341sazs.js} +3 -3
- package/dist/chunks/{workspace-vqacqe03.js → image-f39h99re.js} +20 -13
- package/dist/chunks/{workspace-sv6ega32.js → image-fbpjprrh.js} +35 -35
- package/dist/chunks/{workspace-fcrd7kek.js → image-fcrd7kek.js} +1 -1
- package/dist/chunks/{workspace-79d2kzvn.js → image-fdzx4tz0.js} +17 -17
- package/dist/chunks/{workspace-kdtpe2vy.js → image-ff089ejz.js} +17 -5
- package/dist/chunks/{workspace-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{workspace-prq7xxp2.js → image-fg9p65nk.js} +6 -6
- package/dist/chunks/{workspace-63mjq513.js → image-fkgaf3wr.js} +15 -15
- package/dist/chunks/{workspace-cx0zpgej.js → image-fm4etj3f.js} +23 -23
- package/dist/chunks/{workspace-ewt6jbtx.js → image-fp8jr21p.js} +185 -185
- package/dist/chunks/{workspace-v31c066e.js → image-g46xr4j5.js} +18 -18
- package/dist/chunks/{workspace-gbjdnr5j.js → image-gbjdnr5j.js} +2 -2
- package/dist/chunks/{workspace-83bsjey4.js → image-gf3x61d1.js} +33 -33
- package/dist/chunks/{workspace-ghrv1g9c.js → image-ghrv1g9c.js} +1 -1
- package/dist/chunks/{workspace-p6qk19qa.js → image-gjr4kh7j.js} +6 -6
- package/dist/chunks/{workspace-0xa533gr.js → image-gwqm3edm.js} +12 -12
- package/dist/chunks/{workspace-tg7s7b5t.js → image-gxs71cxp.js} +4 -4
- package/dist/chunks/{workspace-wv40mmeb.js → image-h0kkvx4x.js} +3 -3
- package/dist/chunks/{workspace-9q4nq1c6.js → image-h1ht5fw7.js} +43 -43
- package/dist/chunks/{workspace-see2tnqp.js → image-h4jf1472.js} +20 -20
- package/dist/chunks/{workspace-4bhv40mk.js → image-h8dm1vwm.js} +7 -7
- package/dist/chunks/{workspace-fdczpx5s.js → image-h9dnnr50.js} +18 -18
- package/dist/chunks/{workspace-qs96j4t3.js → image-hcw5s73j.js} +361 -355
- package/dist/chunks/{workspace-pk123et4.js → image-hfmwzvp5.js} +37 -37
- package/dist/chunks/{workspace-znvmg0xb.js → image-hkhkbvk0.js} +4 -4
- package/dist/chunks/{workspace-m9py3t94.js → image-hnaq8hr3.js} +77 -77
- package/dist/chunks/{workspace-7h3ekc0e.js → image-j0c0qck9.js} +7 -7
- package/dist/chunks/{workspace-knpbkrg7.js → image-j376ae4e.js} +4 -4
- package/dist/chunks/{workspace-6d4rtfjy.js → image-j3vekx9t.js} +1 -1
- package/dist/chunks/{workspace-kekqsqqd.js → image-j8azkgjv.js} +16 -13
- package/dist/chunks/{workspace-pfqw83hm.js → image-j8xx8pcz.js} +2 -2
- package/dist/chunks/{workspace-ze75qvmd.js → image-j9nxzz3g.js} +3 -3
- package/dist/chunks/{workspace-y9hckaaa.js → image-ja2hdmbx.js} +3 -3
- package/dist/chunks/{workspace-2g7dwy4s.js → image-jhdwfvxj.js} +35 -35
- package/dist/chunks/{workspace-jm70asfg.js → image-jm70asfg.js} +1 -1
- package/dist/chunks/{workspace-ev9xz77x.js → image-jmwgcayr.js} +15 -15
- package/dist/chunks/{workspace-2bkzfbsz.js → image-jnckdpqq.js} +43 -43
- package/dist/chunks/{workspace-t8erkws8.js → image-jv5ccajn.js} +5 -5
- package/dist/chunks/{workspace-vam0z8fa.js → image-jw6vavyy.js} +18 -18
- package/dist/chunks/{workspace-d4qb2rc3.js → image-jwve1gmd.js} +4 -4
- package/dist/chunks/{workspace-2r1es908.js → image-jxd6f16v.js} +4 -4
- package/dist/chunks/{workspace-6h7vsf3n.js → image-jz54jwmd.js} +5 -5
- package/dist/chunks/{workspace-at45f4fp.js → image-k6ks5nht.js} +33 -33
- package/dist/chunks/{workspace-k4h5p2ad.js → image-ka4hdt9m.js} +6 -6
- package/dist/chunks/{workspace-0mk1tev8.js → image-kdvh6dtt.js} +29 -29
- package/dist/chunks/{workspace-a4ww6fpm.js → image-kgq6c069.js} +6 -6
- package/dist/chunks/{workspace-baxwm4d8.js → image-kjzchk72.js} +7 -7
- package/dist/chunks/{workspace-5xt13vk8.js → image-kkmg8mrh.js} +35 -35
- package/dist/chunks/{workspace-4nq527ny.js → image-kpzvbjja.js} +3 -3
- package/dist/chunks/{workspace-vdbfgpn3.js → image-krhx29sx.js} +5 -5
- package/dist/chunks/{workspace-4krz84m7.js → image-kvmx4gfp.js} +7 -7
- package/dist/chunks/{workspace-kzczzf4v.js → image-kzczzf4v.js} +1 -1
- package/dist/chunks/{workspace-bq5ppnsn.js → image-kze6nzna.js} +4 -4
- package/dist/chunks/{workspace-scpjtdd8.js → image-m02ngggr.js} +60 -60
- package/dist/chunks/{workspace-97j0qqrs.js → image-m10h1t4v.js} +33 -33
- package/dist/chunks/{workspace-z9w7d102.js → image-m144teev.js} +28 -28
- package/dist/chunks/{workspace-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{workspace-fwp9mfc9.js → image-m7xh3h0x.js} +4 -4
- package/dist/chunks/{workspace-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-mb7mbhnz.js → image-mb7mbhnz.js} +3 -3
- package/dist/chunks/{workspace-qdr4rq3e.js → image-me8eetjk.js} +33 -33
- package/dist/chunks/{workspace-mm06edep.js → image-mm06edep.js} +1 -1
- package/dist/chunks/{workspace-vn84zkq5.js → image-mn65da8d.js} +4 -4
- package/dist/chunks/{workspace-vg0erq9k.js → image-mqe7nf5n.js} +3 -3
- package/dist/chunks/{workspace-9cn7jfar.js → image-mxkp4nz4.js} +5 -5
- package/dist/chunks/{workspace-6caf7qbs.js → image-n52ntc90.js} +3 -3
- package/dist/chunks/{workspace-50n8f5wq.js → image-n89mkvab.js} +9 -9
- package/dist/chunks/{workspace-f59t34pb.js → image-n90dran5.js} +29 -29
- package/dist/chunks/{workspace-nchw3v9s.js → image-nchw3v9s.js} +2 -2
- package/dist/chunks/{workspace-ehnbt8y2.js → image-ncwdf7xm.js} +15 -15
- package/dist/chunks/{workspace-x7p9qjep.js → image-nd2y993x.js} +27 -27
- package/dist/chunks/{workspace-37pk4rrs.js → image-nehgkh2k.js} +14 -14
- package/dist/chunks/{workspace-ars90k0f.js → image-npnjq2ds.js} +8 -8
- package/dist/chunks/{workspace-p44ynsf9.js → image-nq25yh39.js} +16 -13
- package/dist/chunks/{workspace-7m9jtzqb.js → image-nv1p69fx.js} +15 -15
- package/dist/chunks/{workspace-75a2gs08.js → image-nw5eecxx.js} +1 -1
- package/dist/chunks/{workspace-caqm80py.js → image-p46yhy6h.js} +4 -4
- package/dist/chunks/{workspace-0j6nkc2e.js → image-p4w5px8h.js} +14 -14
- package/dist/chunks/{workspace-tp49b57m.js → image-p6ek42b6.js} +8 -8
- package/dist/chunks/{workspace-kqddg63j.js → image-p8pjvayg.js} +3 -3
- package/dist/chunks/{workspace-fmsk93db.js → image-pfp2cdwb.js} +8 -8
- package/dist/chunks/{workspace-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-d390zwf3.js → image-pnwsrq7c.js} +8 -8
- package/dist/chunks/{workspace-yey25jw1.js → image-ppxwaz2f.js} +8 -8
- package/dist/chunks/{workspace-bmydr3hf.js → image-pzfb8wxx.js} +25 -25
- package/dist/chunks/{workspace-rhd7v640.js → image-q7swgyvp.js} +33 -33
- package/dist/chunks/{workspace-wmhg6hg6.js → image-q86br2fz.js} +15 -15
- package/dist/chunks/{workspace-p7ra6mek.js → image-qbchxtmw.js} +42 -42
- package/dist/chunks/{workspace-mcvncqkb.js → image-qf1mhmyq.js} +6 -6
- package/dist/chunks/{workspace-574s5hg6.js → image-qfvy96k7.js} +4 -4
- package/dist/chunks/{workspace-1303zeef.js → image-qmg3nejr.js} +9 -9
- package/dist/chunks/{workspace-xjvm1wye.js → image-qmpxexvn.js} +41 -41
- package/dist/chunks/{workspace-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
- package/dist/chunks/{workspace-kvq38q23.js → image-qt0cjsxj.js} +16 -16
- package/dist/chunks/{workspace-bkv5etzs.js → image-qwt0jdbt.js} +47 -47
- package/dist/chunks/{workspace-z2dpjp0f.js → image-qx8685tk.js} +4 -4
- package/dist/chunks/{workspace-x3dwxgt2.js → image-r1rndmnb.js} +23 -23
- package/dist/chunks/{workspace-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{workspace-n3j33rb6.js → image-r7zrbnjn.js} +4 -4
- package/dist/chunks/{workspace-fc9d0whs.js → image-r8xb51g4.js} +22 -65
- package/dist/chunks/{workspace-bzcevmya.js → image-r97y7z4q.js} +23 -23
- package/dist/chunks/{workspace-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{workspace-rgc9cx3e.js → image-rgc9cx3e.js} +2 -2
- package/dist/chunks/{workspace-t521gf9q.js → image-rhx7sxcq.js} +9 -9
- package/dist/chunks/{workspace-ww75070p.js → image-rjjp10n0.js} +16 -16
- package/dist/chunks/{workspace-hgn89zd1.js → image-rrfj5kzf.js} +36 -36
- package/dist/chunks/{workspace-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{workspace-f1r7qwst.js → image-rxbrvpc6.js} +4 -4
- package/dist/chunks/{workspace-ve7y5qbm.js → image-rzhsenre.js} +25 -25
- package/dist/chunks/{workspace-pah254n3.js → image-s1ba0vj0.js} +4 -4
- package/dist/chunks/{workspace-bhfd478d.js → image-s26c8eb5.js} +4 -4
- package/dist/chunks/{workspace-55v12qa6.js → image-s3mvrmpv.js} +11 -11
- package/dist/chunks/{workspace-qfvbtd9b.js → image-s4gbq77g.js} +31 -31
- package/dist/chunks/{workspace-7ane29vr.js → image-s4gg8fqd.js} +15 -15
- package/dist/chunks/{workspace-n6vj9dqb.js → image-s4pv3sv6.js} +6 -6
- package/dist/chunks/{workspace-7smtdct0.js → image-s8v1c8qj.js} +12 -12
- package/dist/chunks/{workspace-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{workspace-sbya78hr.js → image-sbya78hr.js} +1 -1
- package/dist/chunks/{workspace-jgd4e8e6.js → image-sf9y72b7.js} +4 -4
- package/dist/chunks/{workspace-1bx7q8nr.js → image-sqg7s7mh.js} +9 -9
- package/dist/chunks/{workspace-0j7gp832.js → image-sqjzf8x2.js} +4 -4
- package/dist/chunks/{workspace-9j4v15dw.js → image-sryexa64.js} +4 -4
- package/dist/chunks/{workspace-svcy3p9a.js → image-svcy3p9a.js} +1 -1
- package/dist/chunks/{workspace-f4krjp8e.js → image-sx27c7qs.js} +7 -7
- package/dist/chunks/{workspace-5jgxv5yq.js → image-sx65a310.js} +13 -13
- package/dist/chunks/{workspace-5j59vfgn.js → image-t4hbgkrg.js} +50 -50
- package/dist/chunks/image-t6ajyazv.js +53 -0
- package/dist/chunks/{workspace-6w81cxr7.js → image-t82zdxkn.js} +27 -27
- package/dist/chunks/{workspace-y2ptcyja.js → image-t9re252t.js} +28 -28
- package/dist/chunks/{workspace-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{workspace-czxmwfdg.js → image-tdprqhz1.js} +20 -20
- package/dist/chunks/{workspace-4pw98qd4.js → image-tmd1r8tg.js} +4 -4
- package/dist/chunks/{workspace-q4svz67e.js → image-ts79kh9t.js} +19 -19
- package/dist/chunks/{workspace-348fzt08.js → image-tt9wpcwc.js} +28 -28
- package/dist/chunks/{workspace-eck3pvym.js → image-tv28p82x.js} +5 -5
- package/dist/chunks/{workspace-twssxy5n.js → image-twssxy5n.js} +2 -2
- package/dist/chunks/{workspace-n7q0hate.js → image-v2qcsn0z.js} +11 -11
- package/dist/chunks/{workspace-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{workspace-b6c5ggjb.js → image-v8kqybhm.js} +34 -34
- package/dist/chunks/{workspace-aj5fgcv7.js → image-vcczav70.js} +7 -7
- package/dist/chunks/{workspace-83yvc02p.js → image-vhjswrnf.js} +27 -27
- package/dist/chunks/{workspace-vjf35v1f.js → image-vjf35v1f.js} +1 -1
- package/dist/chunks/{workspace-20pht57w.js → image-vmqe41cb.js} +4 -4
- package/dist/chunks/{workspace-8kcs33zx.js → image-vmvta781.js} +5 -5
- package/dist/chunks/{workspace-33wwkde5.js → image-vr6evk9h.js} +20 -20
- package/dist/chunks/{workspace-229tvxdn.js → image-vt2d6wap.js} +4 -4
- package/dist/chunks/{workspace-9x2qg9pq.js → image-w1yx0887.js} +19 -19
- package/dist/chunks/{workspace-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-87pdjwah.js → image-w6d5c0cg.js} +12 -12
- package/dist/chunks/{workspace-zxzphe8d.js → image-w8mhet88.js} +17 -17
- package/dist/chunks/{workspace-0cmpn9c6.js → image-w9akxy8a.js} +12 -12
- package/dist/chunks/{workspace-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-0730n636.js → image-wbqzq31q.js} +32 -32
- package/dist/chunks/{workspace-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-wegkxhrn.js → image-wegkxhrn.js} +2 -2
- package/dist/chunks/{workspace-v37bc009.js → image-weqc7sb9.js} +2 -2
- package/dist/chunks/{workspace-qsdghx1p.js → image-wfdx5ztx.js} +4 -4
- package/dist/chunks/{workspace-v7bhfc4q.js → image-wk8n697k.js} +40 -40
- package/dist/chunks/{workspace-0h8y3ex8.js → image-wr3re1en.js} +4 -4
- package/dist/chunks/{workspace-2ss4x588.js → image-wr8538z1.js} +10 -10
- package/dist/chunks/{workspace-rxg3th5z.js → image-ww04r310.js} +11 -11
- package/dist/chunks/{workspace-pb94tfqt.js → image-ww5ctf9z.js} +9 -9
- package/dist/chunks/{workspace-jcb0fr6q.js → image-wy26kztd.js} +15 -15
- package/dist/chunks/{workspace-7nqkf5r1.js → image-x4mcewfn.js} +4 -4
- package/dist/chunks/{workspace-q63wdnth.js → image-x65pg8y6.js} +21 -21
- package/dist/chunks/{workspace-a26vdw7f.js → image-xavm1nma.js} +17 -17
- package/dist/chunks/{workspace-d8mebr7j.js → image-xbm420df.js} +11 -11
- package/dist/chunks/{workspace-mp62b2pv.js → image-xcd9x2m8.js} +19 -19
- package/dist/chunks/{workspace-etpy72cx.js → image-xg85k6qh.js} +26 -23
- package/dist/chunks/{workspace-qctjb626.js → image-xjv0j3p1.js} +4 -4
- package/dist/chunks/{workspace-bz0b2j3k.js → image-xm9v27am.js} +17 -17
- package/dist/chunks/{workspace-2kj7f5bg.js → image-xmx7xj34.js} +7 -7
- package/dist/chunks/{workspace-0ppn72gd.js → image-xpaagfnw.js} +8 -8
- package/dist/chunks/{workspace-xxschbft.js → image-xxschbft.js} +1 -1
- package/dist/chunks/{workspace-pa1as6qa.js → image-y3km2dqd.js} +22 -22
- package/dist/chunks/{workspace-bgd9s1ff.js → image-y6g9ps9m.js} +16 -16
- package/dist/chunks/{workspace-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{workspace-8e8wqawb.js → image-ybjb08fp.js} +38 -31
- package/dist/chunks/{workspace-tp10xhh7.js → image-ybtve0yw.js} +9 -9
- package/dist/chunks/{workspace-6zps0eyt.js → image-ybws1qgk.js} +6 -6
- package/dist/chunks/{workspace-62xw0mvt.js → image-yfvje0j3.js} +3 -3
- package/dist/chunks/{workspace-8fvyfs7w.js → image-ykp72mz6.js} +18 -18
- package/dist/chunks/{workspace-yr705xyq.js → image-yr705xyq.js} +1 -1
- package/dist/chunks/{workspace-yts2a8qm.js → image-yts2a8qm.js} +1 -1
- package/dist/chunks/{workspace-yvtc2x31.js → image-yvtc2x31.js} +1 -1
- package/dist/chunks/{workspace-d6vvd2ec.js → image-yw29qg17.js} +30 -30
- package/dist/chunks/{workspace-z3eg134k.js → image-z3k32dq3.js} +13 -13
- package/dist/chunks/{workspace-ck76ea61.js → image-z42jmq9s.js} +21 -21
- package/dist/chunks/image-z7bdqmx5.js +18 -0
- package/dist/chunks/{workspace-bma2xte4.js → image-z8y0wng0.js} +6 -6
- package/dist/chunks/{workspace-xjksw0pd.js → image-za1jhmjh.js} +10 -10
- package/dist/chunks/{workspace-9x9jzkyy.js → image-zh26pg9r.js} +28 -28
- package/dist/chunks/{workspace-v2bkhstg.js → image-zhyjgva6.js} +5 -5
- package/dist/chunks/{workspace-q93jpgmj.js → image-zpjwqtwn.js} +50 -50
- package/dist/chunks/{workspace-zjcx5m3z.js → image-zq59e3z3.js} +9 -9
- package/dist/chunks/{workspace-av6f822f.js → image-zqgsnbgv.js} +31 -31
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -146
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -152
- package/dist/command.js +96 -96
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -237
- package/dist/config/plugin/compaction.js +173 -172
- package/dist/config/plugin/compatibility.js +153 -151
- 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 +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 +132 -132
- package/dist/config/plugin/skill-file.js +149 -147
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- 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 +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -439
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 -154
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -162
- 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 +253 -252
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +142 -0
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- 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 +431 -430
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -179
- package/dist/location-lifecycle.js +153 -151
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -427
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -156
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +187 -184
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -155
- 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 +5 -1
- package/dist/model.js +111 -111
- 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 +156 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -243
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -406
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -147
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -158
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -236
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -416
- 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 +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -250
- 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 +105 -105
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- 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 +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -248
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -254
- 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 +132 -130
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -172
- package/dist/session/context.js +203 -201
- 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 +249 -248
- package/dist/session/execution.js +171 -168
- package/dist/session/generate.js +206 -205
- package/dist/session/history.js +139 -137
- package/dist/session/inbox.js +150 -148
- 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 +146 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -169
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +169 -166
- package/dist/session/projector.js +146 -144
- package/dist/session/prompt.js +151 -149
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -140
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -257
- 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 +153 -150
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -162
- package/dist/session/runner/to-llm-message.js +140 -138
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -185
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -148
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -143
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -236
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +207 -205
- package/dist/session/to-session-error.js +152 -149
- package/dist/session/transfer.js +244 -243
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -234
- 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 +7 -7
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -152
- package/dist/skill.js +155 -153
- package/dist/snapshot.js +106 -106
- 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 +188 -185
- package/dist/tool/plugin/artifact.js +236 -235
- package/dist/tool/plugin/edit.js +170 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -172
- package/dist/tool/plugin/grep.js +173 -171
- package/dist/tool/plugin/image-generate.js +247 -246
- package/dist/tool/plugin/mcp-resource.js +169 -167
- package/dist/tool/plugin/opencode.js +166 -164
- package/dist/tool/plugin/patch.js +171 -169
- package/dist/tool/plugin/question.js +151 -149
- package/dist/tool/plugin/read.js +175 -173
- package/dist/tool/plugin/schedule.js +255 -254
- package/dist/tool/plugin/shell.js +243 -242
- package/dist/tool/plugin/skill.js +160 -158
- package/dist/tool/plugin/subagent.js +244 -243
- package/dist/tool/plugin/todo.js +156 -154
- package/dist/tool/plugin/webfetch.js +160 -158
- package/dist/tool/plugin/websearch.js +152 -150
- package/dist/tool/plugin/write.js +171 -169
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -162
- package/dist/types/flag.d.ts +32 -0
- package/dist/types/model-retry.d.ts +4 -1
- package/dist/types/plugin/internal.d.ts +2 -1
- package/dist/types/session/blob.d.ts +6 -4
- 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 +5 -5
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/workspace-2jmkt892.js +0 -26
- package/dist/chunks/workspace-6pkp7j51.js +0 -265
- package/dist/chunks/workspace-grzehpz7.js +0 -18
- package/dist/chunks/workspace-tt9rk80g.js +0 -16
- /package/dist/chunks/{workspace-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-108x4f4w.js → image-108x4f4w.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kah00gy.js → image-1kah00gy.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3af0jn4w.js → image-3af0jn4w.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4qk9sjk2.js → image-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5w3e23ze.js → image-5w3e23ze.js} +0 -0
- /package/dist/chunks/{workspace-6agm2x70.js → image-6agm2x70.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-beh6qq61.js → image-beh6qq61.js} +0 -0
- /package/dist/chunks/{workspace-bhmrqjy3.js → image-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-ean2d8b5.js → image-ean2d8b5.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-nh4v3znn.js → image-nh4v3znn.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p71gwv9c.js → image-p71gwv9c.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-syrav9an.js → image-syrav9an.js} +0 -0
- /package/dist/chunks/{workspace-t03h4f5z.js → image-t03h4f5z.js} +0 -0
- /package/dist/chunks/{workspace-ty7weeps.js → image-ty7weeps.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-vtarvj67.js → image-vtarvj67.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-z0h12gs8.js → image-z0h12gs8.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → image-z9919s4g.js} +0 -0
- /package/dist/chunks/{workspace-zxpyjp51.js → image-zxpyjp51.js} +0 -0
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Service74
|
|
3
|
+
} from "./image-zpjwqtwn.js";
|
|
4
|
+
import {
|
|
5
|
+
resolver2
|
|
6
|
+
} from "./image-t6ajyazv.js";
|
|
5
7
|
import {
|
|
6
8
|
Content2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
Event4,
|
|
10
|
+
ID6,
|
|
11
|
+
Info7,
|
|
10
12
|
ProviderID2,
|
|
11
13
|
Service23
|
|
12
|
-
} from "./
|
|
14
|
+
} from "./image-bgg78hcj.js";
|
|
13
15
|
import {
|
|
14
16
|
observe2
|
|
15
|
-
} from "./
|
|
17
|
+
} from "./image-mm06edep.js";
|
|
16
18
|
import {
|
|
17
19
|
__export
|
|
18
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
19
21
|
|
|
20
22
|
// src/tool/plugin/artifact.ts
|
|
21
23
|
var exports_artifact = {};
|
|
@@ -23,7 +25,7 @@ __export(exports_artifact, {
|
|
|
23
25
|
ArtifactTools: () => exports_artifact,
|
|
24
26
|
CreateToolInput: () => CreateToolInput2,
|
|
25
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
26
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin52,
|
|
27
29
|
ReadToolInput: () => ReadToolInput2,
|
|
28
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
29
31
|
});
|
|
@@ -43,10 +45,10 @@ var CreateToolInput2 = Schema.Struct({
|
|
|
43
45
|
})
|
|
44
46
|
});
|
|
45
47
|
var ReadToolInput2 = Schema.Struct({
|
|
46
|
-
id:
|
|
48
|
+
id: ID6.annotate({ description: "Artifact ID (art_...) to read." })
|
|
47
49
|
});
|
|
48
50
|
var UpdateToolInput2 = Schema.Struct({
|
|
49
|
-
id:
|
|
51
|
+
id: ID6.annotate({ description: "Artifact ID (art_...) to update." }),
|
|
50
52
|
title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
|
|
51
53
|
files: Schema.Record(Schema.String, Schema.String).annotate({
|
|
52
54
|
description: "Replacement UTF-8 file map keyed by relative path."
|
|
@@ -54,16 +56,16 @@ var UpdateToolInput2 = Schema.Struct({
|
|
|
54
56
|
entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
|
|
55
57
|
});
|
|
56
58
|
var DeleteToolInput2 = Schema.Struct({
|
|
57
|
-
id:
|
|
59
|
+
id: ID6.annotate({ description: "Artifact ID (art_...) to delete." })
|
|
58
60
|
});
|
|
59
61
|
var DeleteToolOutput = Schema.Struct({
|
|
60
|
-
id:
|
|
62
|
+
id: ID6,
|
|
61
63
|
deleted: Schema.Boolean
|
|
62
64
|
});
|
|
63
|
-
var
|
|
65
|
+
var Plugin52 = {
|
|
64
66
|
id: "opencode.tool.artifact",
|
|
65
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
66
|
-
const config = yield*
|
|
68
|
+
const config = yield* Service74;
|
|
67
69
|
const artifacts = yield* Service23;
|
|
68
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
69
71
|
const refreshTools = Effect.gen(function* () {
|
|
@@ -71,8 +73,9 @@ var Plugin12 = {
|
|
|
71
73
|
yield* ctx.tool.reload();
|
|
72
74
|
});
|
|
73
75
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
74
|
-
yield* ctx.event.subscribe({ types: [
|
|
75
|
-
const
|
|
76
|
+
yield* ctx.event.subscribe({ types: [Event4.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
77
|
+
const flags = yield* resolver2;
|
|
78
|
+
const enabled = () => flags(loaded.entries).artifacts.enabled;
|
|
76
79
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
77
80
|
yield* ctx.tool.transform((editor) => {
|
|
78
81
|
if (!enabled())
|
|
@@ -81,7 +84,7 @@ var Plugin12 = {
|
|
|
81
84
|
name: "artifact_create",
|
|
82
85
|
description: promptSnapshot.text,
|
|
83
86
|
input: CreateToolInput2,
|
|
84
|
-
output:
|
|
87
|
+
output: Info7,
|
|
85
88
|
options: { namespace: "opencode", codemode: true },
|
|
86
89
|
execute: (input, context) => artifacts.create({
|
|
87
90
|
title: input.title,
|
|
@@ -109,7 +112,7 @@ var Plugin12 = {
|
|
|
109
112
|
name: "artifact_update",
|
|
110
113
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
111
114
|
input: UpdateToolInput2,
|
|
112
|
-
output:
|
|
115
|
+
output: Info7,
|
|
113
116
|
options: { namespace: "opencode", codemode: true },
|
|
114
117
|
execute: (input, context) => artifacts.update(input.id, {
|
|
115
118
|
title: input.title,
|
|
@@ -149,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
149
152
|
}));
|
|
150
153
|
}
|
|
151
154
|
|
|
152
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin52, exports_artifact };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-dpm48xm5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,30 +12,30 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
19
|
+
ID: () => ID17,
|
|
20
20
|
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service81,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer28,
|
|
29
|
+
node: () => node84,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
38
|
+
var ID17 = Form.ID;
|
|
39
39
|
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID17
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID17
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID17
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID17,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service81 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer28 = Layer.effect(Service81, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service91;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID17.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer24 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service81.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node84 = makeLocationNode({ service: Service81, layer: layer28, deps: [node95] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID17, Info26, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer28, node84, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invocation2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./image-h1ht5fw7.js";
|
|
5
5
|
import {
|
|
6
6
|
ID8,
|
|
7
7
|
Name2,
|
|
8
8
|
toModelOutput3,
|
|
9
9
|
prepare3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service45
|
|
11
|
+
} from "./image-y6g9ps9m.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/tool/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
22
|
-
SkillTool: () =>
|
|
23
|
-
description: () =>
|
|
24
|
-
name: () =>
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
|
+
Input: () => Input13,
|
|
20
|
+
Output: () => Output9,
|
|
21
|
+
Plugin: () => Plugin53,
|
|
22
|
+
SkillTool: () => exports_skill3,
|
|
23
|
+
description: () => description7,
|
|
24
|
+
name: () => name13,
|
|
25
25
|
toModelOutput: () => toModelOutput2
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Effect, Schema } from "effect";
|
|
29
29
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
30
|
-
var
|
|
31
|
-
var
|
|
30
|
+
var name13 = "skill";
|
|
31
|
+
var Input13 = Schema.Struct({
|
|
32
32
|
id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
33
33
|
});
|
|
34
|
-
var
|
|
34
|
+
var Output9 = Schema.Struct({
|
|
35
35
|
name: Name2,
|
|
36
36
|
directory: Schema.String,
|
|
37
37
|
output: Schema.String
|
|
38
38
|
});
|
|
39
|
-
var
|
|
39
|
+
var description7 = [
|
|
40
40
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
41
41
|
"",
|
|
42
42
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -44,25 +44,25 @@ var description4 = [
|
|
|
44
44
|
`);
|
|
45
45
|
var toModelOutput2 = toModelOutput3;
|
|
46
46
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
47
|
-
var
|
|
47
|
+
var Plugin53 = {
|
|
48
48
|
id: "opencode.tool.skill",
|
|
49
49
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const skills = yield*
|
|
52
|
-
const permission = yield*
|
|
51
|
+
const skills = yield* Service45;
|
|
52
|
+
const permission = yield* Service69;
|
|
53
53
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
54
|
-
name:
|
|
54
|
+
name: name13,
|
|
55
55
|
options: { codemode: false },
|
|
56
|
-
description:
|
|
57
|
-
input:
|
|
58
|
-
output:
|
|
56
|
+
description: description7,
|
|
57
|
+
input: Input13,
|
|
58
|
+
output: Output9,
|
|
59
59
|
execute: (input, context) => Effect.gen(function* () {
|
|
60
60
|
const skill = yield* skills.get(input.id);
|
|
61
61
|
if (!skill)
|
|
62
62
|
return yield* unableToLoad(input.id);
|
|
63
63
|
return yield* Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name13,
|
|
66
66
|
resources: [skill.id],
|
|
67
67
|
save: [skill.id],
|
|
68
68
|
...invocation2(context)
|
|
@@ -79,4 +79,4 @@ var Plugin8 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name13, Input13, Output9, description7, toModelOutput2, Plugin53, exports_skill3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service88,
|
|
6
|
+
node92
|
|
7
|
+
} from "./image-b94hv5d1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service49,
|
|
10
|
+
node52
|
|
11
|
+
} from "./image-h9dnnr50.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-ghrv1g9c.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search2 = {};
|
|
22
22
|
__export(exports_search2, {
|
|
23
23
|
FileSystemSearch: () => exports_search2,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service48,
|
|
25
|
+
configured: () => configured6,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node51
|
|
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 Service48 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(Service48, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service88;
|
|
57
|
+
const ripgrep = yield* Service49;
|
|
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(Service40, 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 Service48.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(Service48, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service88;
|
|
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(Service40, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service48.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(Service40, 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* Service88;
|
|
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 configured6(options) {
|
|
211
|
+
return makeLocationNode({ service: Service48, layer: layer(options), deps: [node92, node52] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node51 = configured6();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service48, makeFffLayer2, fffLayer2, configured6, node51, exports_search2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-mn65da8d.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service91,
|
|
8
8
|
node95
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-dpm48xm5.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-34wzbf36.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node72
|
|
22
|
+
} from "./image-bap6mpfc.js";
|
|
23
23
|
import {
|
|
24
24
|
Service26,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node31
|
|
26
|
+
} from "./image-hnaq8hr3.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var layer3 = Layer.effect(
|
|
75
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service91;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
78
|
const context = yield* Service26;
|
|
79
|
-
const store = yield*
|
|
79
|
+
const store = yield* Service70;
|
|
80
80
|
const db = (yield* Service92).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -158,12 +158,12 @@ Recent conversation:
|
|
|
158
158
|
title: truncate(title)
|
|
159
159
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
160
160
|
});
|
|
161
|
-
return
|
|
161
|
+
return Service2.of({ generate });
|
|
162
162
|
}));
|
|
163
|
-
var
|
|
164
|
-
service:
|
|
163
|
+
var node3 = makeLocationNode({
|
|
164
|
+
service: Service2,
|
|
165
165
|
layer: layer3,
|
|
166
|
-
deps: [node95, llmClient2,
|
|
166
|
+
deps: [node95, llmClient2, node31, node72, node96]
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
export {
|
|
169
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|