@opencode/core 0.0.0-dev-20116 → 0.0.0-dev-20117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-g2syt5m4.js → job-06ecar7p.js} +10 -10
- package/dist/chunks/{location-f2zjsb8r.js → job-06jjyq25.js} +5 -5
- package/dist/chunks/{location-j9kmfek4.js → job-09ab4w0b.js} +10 -10
- package/dist/chunks/{location-eaj1djv9.js → job-0gdmqesm.js} +8 -8
- package/dist/chunks/{location-4av968fa.js → job-0gt6hq1h.js} +11 -11
- package/dist/chunks/{location-2k8khapm.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-jk4f05ze.js → job-0krj06zv.js} +29 -29
- package/dist/chunks/{location-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-e4qcyv9a.js → job-0qjqxv8x.js} +6 -6
- package/dist/chunks/{location-hq8x7218.js → job-1akzh197.js} +2 -2
- package/dist/chunks/{location-pycfhy4b.js → job-1bdm6hny.js} +65 -65
- package/dist/chunks/{location-19xkyn56.js → job-1bfsfmvc.js} +6 -6
- package/dist/chunks/{location-4c1rxfbw.js → job-1bgw19ad.js} +18 -18
- package/dist/chunks/{location-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-fyfmcsz4.js → job-1g0g0xr9.js} +8 -8
- package/dist/chunks/{location-qj3gnppz.js → job-1k1zt28s.js} +7 -7
- package/dist/chunks/{location-mqdgyeyb.js → job-1kmjydgr.js} +37 -37
- package/dist/chunks/{location-n6ksxyfn.js → job-1nyxs106.js} +20 -20
- package/dist/chunks/{location-ja6k9001.js → job-1sx3a1q9.js} +17 -17
- package/dist/chunks/{location-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{location-rph3zd4r.js → job-23pqda6t.js} +4 -4
- package/dist/chunks/{location-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{location-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-s9h9scfs.js → job-2ajddff5.js} +30 -30
- package/dist/chunks/{location-vmwh049b.js → job-2e96adxv.js} +6 -6
- package/dist/chunks/{location-axj216nc.js → job-2j5fagp0.js} +5 -5
- package/dist/chunks/{location-ae1n2vcd.js → job-2j95z75a.js} +4 -4
- package/dist/chunks/{location-6eh7mf2d.js → job-2ppykmxn.js} +43 -43
- package/dist/chunks/{location-adq9w6n2.js → job-2qyf8db6.js} +17 -17
- package/dist/chunks/{location-zvm2bmhj.js → job-2v6ex66j.js} +5 -5
- package/dist/chunks/{location-tjk393t5.js → job-2wb97pj4.js} +21 -21
- package/dist/chunks/{location-60a7aq3m.js → job-32b4pke8.js} +4 -4
- package/dist/chunks/{location-a1wfbxb7.js → job-38sk3nar.js} +3 -3
- package/dist/chunks/{location-bwfm0pq2.js → job-39f1va02.js} +11 -11
- package/dist/chunks/{location-mzxp1erh.js → job-39vcg8gd.js} +11 -11
- package/dist/chunks/{location-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-rf0y5eh4.js → job-3gqzmmgb.js} +24 -24
- package/dist/chunks/{location-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-6h3d6agz.js → job-3n0cajew.js} +2 -2
- package/dist/chunks/{location-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3geshwka.js → job-3t33cn62.js} +28 -28
- package/dist/chunks/{location-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-7kk85578.js → job-401gvj9k.js} +10 -10
- package/dist/chunks/{location-a2qe2ev9.js → job-428ep8fh.js} +8 -8
- package/dist/chunks/{location-sdz1jvnx.js → job-45e95j0e.js} +22 -22
- package/dist/chunks/{location-grdhps1x.js → job-46dqvkh7.js} +10 -10
- package/dist/chunks/{location-dfsbkvhf.js → job-4796t406.js} +17 -17
- package/dist/chunks/{location-e5t466vb.js → job-49fnb6sh.js} +12 -12
- package/dist/chunks/{location-cpj0znwe.js → job-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-p44d8wdy.js → job-4phm5153.js} +5 -5
- package/dist/chunks/job-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-1mmj9ptd.js → job-4weh5bdv.js} +21 -21
- package/dist/chunks/{location-53fyba40.js → job-56dkfrzf.js} +4 -4
- package/dist/chunks/{location-56gdpj1q.js → job-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-9c2t2wzg.js → job-56pr2qhb.js} +20 -20
- package/dist/chunks/{location-57ez7d0k.js → job-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-qna75g91.js → job-5bgfnzpc.js} +15 -15
- package/dist/chunks/{location-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{location-s0xm2j83.js → job-5ejaqpd2.js} +1 -1
- package/dist/chunks/{location-5ekn9679.js → job-5ekn9679.js} +1 -1
- package/dist/chunks/{location-pswh67x4.js → job-5f1n8mnh.js} +24 -24
- package/dist/chunks/{location-3h2v8zyx.js → job-5fe0qwa6.js} +12 -12
- package/dist/chunks/{location-t4tcrb48.js → job-5gn5ht9q.js} +18 -18
- package/dist/chunks/{location-xdx7acry.js → job-5rnnm2b5.js} +9 -9
- package/dist/chunks/{location-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-hsxnx20j.js → job-5tv109et.js} +15 -15
- package/dist/chunks/{location-wv7as3sa.js → job-5xmq8hjj.js} +12 -12
- package/dist/chunks/{location-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{location-8ssk0f6f.js → job-69srdcjj.js} +22 -22
- package/dist/chunks/{location-3b3sjaea.js → job-69tmfbbf.js} +24 -24
- package/dist/chunks/{location-p4m4s18q.js → job-6c0yxsnx.js} +11 -11
- package/dist/chunks/{location-a2xpbx89.js → job-6f98ddea.js} +15 -15
- package/dist/chunks/{location-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-py3kkmfq.js → job-6pc27hjz.js} +6 -6
- package/dist/chunks/{location-ztassjcr.js → job-6qge8m99.js} +20 -20
- package/dist/chunks/{location-wqzamyz2.js → job-6w1fpe87.js} +10 -10
- package/dist/chunks/{location-kqhr74xx.js → job-74r8w3w9.js} +11 -11
- package/dist/chunks/{location-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-8eddaw1a.js → job-7mybjfdf.js} +7 -7
- package/dist/chunks/{location-wy8s1je1.js → job-7qqrag4m.js} +6 -6
- package/dist/chunks/{location-1fw2a5v8.js → job-7td7z3fp.js} +15 -15
- package/dist/chunks/{location-5cmxdwv8.js → job-7w99qc9d.js} +3 -3
- package/dist/chunks/{location-1fw2j5nt.js → job-7x4p52fy.js} +13 -13
- package/dist/chunks/{location-r5x6zcsm.js → job-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-wk5z6jzv.js → job-82rhge12.js} +9 -9
- package/dist/chunks/{location-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-1y283654.js → job-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-fx2b1hjm.js → job-8z7msbkh.js} +23 -23
- package/dist/chunks/{location-pvqs4ftm.js → job-940kd8g7.js} +14 -14
- package/dist/chunks/{location-gfvb90ym.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-fd78hjz1.js → job-9f725xn7.js} +9 -9
- package/dist/chunks/{location-vaqmry9v.js → job-9fgr0hdb.js} +16 -16
- package/dist/chunks/{location-e6yahscf.js → job-9fh0ezmp.js} +40 -40
- package/dist/chunks/{location-qaq56wgb.js → job-9tddqe67.js} +20 -20
- package/dist/chunks/{location-8t78hkck.js → job-a08crfs3.js} +5 -5
- package/dist/chunks/{location-f3ngv102.js → job-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-hdthj1pw.js → job-a8zr1srk.js} +8 -8
- package/dist/chunks/{location-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{location-03t2qqvv.js → job-abyhcr9s.js} +13 -13
- package/dist/chunks/{location-985n4tmz.js → job-aw4zpqkp.js} +30 -30
- package/dist/chunks/{location-dvakt18b.js → job-azt0254s.js} +3 -3
- package/dist/chunks/{location-shc6e287.js → job-b2m4d5y3.js} +6 -6
- package/dist/chunks/{location-sy7bpksq.js → job-b511808p.js} +9 -9
- package/dist/chunks/{location-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-adb13ap1.js → job-be2qd2v9.js} +8 -8
- package/dist/chunks/{location-9cwbb6wq.js → job-bep4fg8x.js} +15 -15
- package/dist/chunks/{location-yjptyezs.js → job-bgxcxs0p.js} +5 -5
- package/dist/chunks/{location-91nmpsq2.js → job-bj2wgt5k.js} +11 -11
- package/dist/chunks/{location-8rq5pj8d.js → job-bywpc8rd.js} +16 -16
- package/dist/chunks/{location-4wwqnvbr.js → job-c651xxjb.js} +4 -4
- package/dist/chunks/{location-xdgdk0j5.js → job-cdv7sade.js} +40 -40
- package/dist/chunks/{location-54tcyq79.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-3xhamg8z.js → job-cthfxzt4.js} +24 -24
- package/dist/chunks/{location-2xyf62b8.js → job-d5m8kxt2.js} +15 -15
- package/dist/chunks/{location-q14ch0nx.js → job-d6fbzdp8.js} +17 -17
- package/dist/chunks/{location-0fx1c86e.js → job-df2mqfaw.js} +5 -5
- package/dist/chunks/{location-wken1bg3.js → job-dfgmqrc0.js} +9 -9
- package/dist/chunks/{location-d4he2qe1.js → job-djszqvmq.js} +9 -9
- package/dist/chunks/{location-xkntkrq7.js → job-dmqcgk4z.js} +5 -5
- package/dist/chunks/{location-4bp3k7wq.js → job-dnkkkbd9.js} +11 -11
- package/dist/chunks/{location-h9p3eaf6.js → job-drq9ktmw.js} +48 -48
- package/dist/chunks/{location-xfkkasph.js → job-drwq78ky.js} +4 -4
- package/dist/chunks/{location-z4th9443.js → job-e37tnz3f.js} +11 -11
- package/dist/chunks/job-e6a14sr7.js +252 -0
- package/dist/chunks/{location-erw5rpbs.js → job-ecfe7b91.js} +17 -3
- package/dist/chunks/{location-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-4swmeq5r.js → job-ehpd500e.js} +20 -20
- package/dist/chunks/{location-pxqk86pg.js → job-enq2arha.js} +33 -33
- package/dist/chunks/{location-3b7yp3yb.js → job-etgnvgyw.js} +9 -9
- package/dist/chunks/{location-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-abzvj8se.js → job-ex87bvhs.js} +15 -15
- package/dist/chunks/{location-t1mex8wk.js → job-ezsddnzd.js} +25 -25
- package/dist/chunks/{location-jjvby67f.js → job-f2dth5q0.js} +27 -27
- package/dist/chunks/{location-f0hb9jkt.js → job-feeh42vr.js} +7 -7
- package/dist/chunks/{location-ac8rsxy9.js → job-fpm5dfe6.js} +1 -1
- package/dist/chunks/{location-yzpn3sp5.js → job-ft2kddfv.js} +21 -21
- package/dist/chunks/{location-espmheeq.js → job-g0knnnvb.js} +8 -8
- package/dist/chunks/{location-m4cee681.js → job-g3cg405p.js} +32 -32
- package/dist/chunks/{location-9460kg37.js → job-g5j1xj6d.js} +13 -13
- package/dist/chunks/{location-507seqed.js → job-g7jvb7c9.js} +12 -12
- package/dist/chunks/{location-4k8s27v0.js → job-g7ypg50b.js} +43 -43
- package/dist/chunks/{location-kpagms85.js → job-gana4wwq.js} +3 -3
- package/dist/chunks/{location-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-vyk7vhw6.js → job-gf1a758n.js} +20 -20
- package/dist/chunks/{location-65r5fmg1.js → job-gfd92byg.js} +3 -3
- package/dist/chunks/{location-be3cm6t8.js → job-gkk2vsa1.js} +5 -5
- package/dist/chunks/{location-kp64qvy5.js → job-gnwttv8c.js} +11 -11
- package/dist/chunks/{location-jxg8s3q7.js → job-gtqkwj1s.js} +35 -35
- package/dist/chunks/{location-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-nzsaey6w.js → job-gzxmtk3z.js} +21 -21
- package/dist/chunks/{location-7sd0c8rg.js → job-h392vsh3.js} +22 -22
- package/dist/chunks/{location-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-vdzv7yjc.js → job-hfejrwd3.js} +85 -85
- package/dist/chunks/{location-81y9yw83.js → job-hfk902bk.js} +24 -24
- package/dist/chunks/job-hr9dp009.js +4 -0
- package/dist/chunks/{location-yf10kn3d.js → job-hz0q9sdq.js} +8 -8
- package/dist/chunks/{location-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{location-23sxaqwc.js → job-j8zzr2am.js} +4 -4
- package/dist/chunks/{location-srm5dkg4.js → job-jfcrfxx5.js} +11 -11
- package/dist/chunks/{location-7k3q3d83.js → job-jn4pd18v.js} +29 -29
- package/dist/chunks/{location-k3c624dm.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{location-4zc4m5x1.js → job-k4prqeh4.js} +16 -16
- package/dist/chunks/{location-kbmv5jj4.js → job-k66m888w.js} +10 -10
- package/dist/chunks/{location-b57qjs4r.js → job-k898cvrw.js} +16 -16
- package/dist/chunks/{location-mm4y1vec.js → job-kbm1ynj2.js} +4 -4
- package/dist/chunks/{location-h4z1mxff.js → job-kbqjp078.js} +5 -5
- package/dist/chunks/{location-k57bwrpv.js → job-kgta4zhr.js} +9 -9
- package/dist/chunks/{location-was7srj9.js → job-kjfdeayr.js} +8 -8
- package/dist/chunks/{location-9e3m1zbj.js → job-kq97aah5.js} +11 -11
- package/dist/chunks/{location-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-gb506f8f.js → job-m5w7v0wx.js} +2 -2
- package/dist/chunks/{location-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-5hx7d1d6.js → job-mjagy123.js} +5 -5
- package/dist/chunks/{location-kkzhas3n.js → job-mp4h100x.js} +22 -22
- package/dist/chunks/{location-q826ync2.js → job-mpr988h5.js} +16 -16
- package/dist/chunks/{location-b2ekx9f0.js → job-mt2f285y.js} +29 -29
- package/dist/chunks/{location-1ck5k8kv.js → job-mxb1av1c.js} +50 -50
- package/dist/chunks/{location-fsbsakce.js → job-n0fqykew.js} +46 -46
- package/dist/chunks/{location-ar78w6r7.js → job-n0hqrnc7.js} +11 -11
- package/dist/chunks/{location-74pmmvr2.js → job-n0ydmhs4.js} +20 -20
- package/dist/chunks/{location-1k0gwr79.js → job-n3kq8bhs.js} +5 -5
- package/dist/chunks/{location-ycpstswg.js → job-nc56ca6n.js} +11 -11
- package/dist/chunks/{location-stgfa99z.js → job-nmgmd4cq.js} +5 -5
- package/dist/chunks/{location-vmgq4x8b.js → job-nng2ktcm.js} +2 -2
- package/dist/chunks/{location-xbhyazxt.js → job-nphwwh18.js} +22 -22
- package/dist/chunks/{location-6xsq0j7c.js → job-nqxawep0.js} +8 -8
- package/dist/chunks/{location-pnv527nz.js → job-nscznvay.js} +9 -9
- package/dist/chunks/{location-2sdsg8hd.js → job-p1evykhm.js} +4 -4
- package/dist/chunks/{location-qxwwr1gq.js → job-p3aee9p2.js} +26 -26
- package/dist/chunks/{location-4ac1m1qr.js → job-p510kpqb.js} +21 -21
- package/dist/chunks/{location-phstrbs2.js → job-pa8pe2x7.js} +8 -8
- package/dist/chunks/{location-mxysbntw.js → job-pbrpzrq7.js} +16 -16
- package/dist/chunks/{location-p838w68h.js → job-pcrgqftn.js} +11 -11
- package/dist/chunks/{location-xb7aahsd.js → job-pfs3k8ss.js} +13 -13
- package/dist/chunks/{location-g2nw1xqv.js → job-pgcg0d1h.js} +11 -11
- package/dist/chunks/{location-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{location-r98e92ep.js → job-pmr4s4kc.js} +4 -4
- package/dist/chunks/{location-dh3f2wjs.js → job-qdpr3s4d.js} +4 -4
- package/dist/chunks/{location-b27vhd2z.js → job-qm0v3jhh.js} +7 -7
- package/dist/chunks/{location-kx3h33dw.js → job-qmncj327.js} +33 -33
- package/dist/chunks/{location-w00d9zq5.js → job-qq1zxkvg.js} +5 -5
- package/dist/chunks/{location-yse7wqh5.js → job-qscej5s3.js} +28 -28
- package/dist/chunks/{location-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{location-rxt4hayg.js → job-r8asybjw.js} +22 -22
- package/dist/chunks/{location-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-4y0r7mzr.js → job-rg2xem1e.js} +29 -29
- package/dist/chunks/{location-mxy24mwp.js → job-rkdygtmg.js} +13 -13
- package/dist/chunks/{location-xt03kzcc.js → job-rn2eypzr.js} +17 -17
- package/dist/chunks/{location-embw8kgh.js → job-rpg9c19m.js} +4 -4
- package/dist/chunks/{location-768gsh1v.js → job-rsc9fyh1.js} +6 -6
- package/dist/chunks/{location-x1yd8b8p.js → job-rw4p1zvs.js} +170 -170
- package/dist/chunks/{location-01f4j364.js → job-ry4pmnah.js} +48 -48
- package/dist/chunks/{location-7m8brd3v.js → job-s9p9yhws.js} +15 -15
- package/dist/chunks/{location-ayngm31m.js → job-sbtd5cqg.js} +9 -9
- package/dist/chunks/{location-vq17w8qr.js → job-sd9trz6r.js} +12 -12
- package/dist/chunks/{location-c6bhh4n4.js → job-seh2r5vn.js} +11 -11
- package/dist/chunks/{location-r3c4069c.js → job-sfntmzm9.js} +1 -1
- package/dist/chunks/{location-7dbmnfn4.js → job-sm965ndy.js} +8 -8
- package/dist/chunks/{location-4nxzd025.js → job-svwwfx8r.js} +37 -37
- package/dist/chunks/{location-mxcjqyq2.js → job-sxyw4smr.js} +319 -319
- package/dist/chunks/{location-8b8ytmh0.js → job-t158wmyx.js} +25 -25
- package/dist/chunks/{location-gsade59m.js → job-t4fqw5qd.js} +8 -8
- package/dist/chunks/{location-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-1ed2t66p.js → job-tazp3vs0.js} +4 -4
- package/dist/chunks/{location-w52q72ce.js → job-tc6r3wck.js} +3 -3
- package/dist/chunks/{location-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{location-6kjm4skb.js → job-trvff98g.js} +25 -25
- package/dist/chunks/{location-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{location-am7x992s.js → job-txy7cjma.js} +31 -31
- package/dist/chunks/{location-evbgk2k8.js → job-tz2bjj40.js} +5 -5
- package/dist/chunks/{location-w9fhgmm1.js → job-v1k3ebp3.js} +15 -15
- package/dist/chunks/{location-1p1pkch2.js → job-vannwsbv.js} +4 -4
- package/dist/chunks/{location-t76e5nz5.js → job-vczfdbhq.js} +10 -10
- package/dist/chunks/{location-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{location-3x01x5fw.js → job-vfhxy1jh.js} +33 -33
- package/dist/chunks/{location-t499jz6c.js → job-vgd8xd9t.js} +82 -82
- package/dist/chunks/{location-rscjyhv7.js → job-vkv6409f.js} +12 -12
- package/dist/chunks/{location-0pj7r3g9.js → job-vnew14wc.js} +3 -3
- package/dist/chunks/{location-3qz3cqmw.js → job-vpvxj1y0.js} +9 -9
- package/dist/chunks/{location-v9m5zf1e.js → job-vv3vvt2q.js} +21 -21
- package/dist/chunks/{location-gmjq4p6e.js → job-vy4zg7qh.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-6nwf24cr.js → job-w17zarh3.js} +25 -25
- package/dist/chunks/{location-n9gphx1q.js → job-w21yv6g6.js} +52 -52
- package/dist/chunks/{location-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-m2gq6g3f.js → job-wa02vkre.js} +14 -14
- package/dist/chunks/{location-psazpmmj.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{location-nk62h6vq.js → job-wgwym0w9.js} +14 -14
- package/dist/chunks/{location-6bbptzqx.js → job-wnrrgv3v.js} +10 -10
- package/dist/chunks/{location-qrk0wdh6.js → job-wtfect3k.js} +21 -21
- package/dist/chunks/{location-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-a2rpfkac.js → job-x3gqap9d.js} +4 -4
- package/dist/chunks/{location-pgp81qmz.js → job-x6vwjax2.js} +23 -23
- package/dist/chunks/{location-9px7vs5v.js → job-xbpexdxe.js} +10 -10
- package/dist/chunks/{location-hs6snqek.js → job-xd5w5drf.js} +3 -3
- package/dist/chunks/{location-2vwytvym.js → job-xgm5bwxe.js} +3 -3
- package/dist/chunks/{location-9w8ge49v.js → job-xrkdxzaa.js} +27 -27
- package/dist/chunks/{location-syy9ejxw.js → job-xswd2qaz.js} +6 -6
- package/dist/chunks/{location-bvh0dnby.js → job-y197ptv6.js} +17 -17
- package/dist/chunks/{location-n7j9881n.js → job-y1b5pcbw.js} +33 -33
- package/dist/chunks/{location-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{location-2nm881nd.js → job-y7pjqeaw.js} +34 -34
- package/dist/chunks/{location-r7nsrefv.js → job-ydgy0jv4.js} +6 -6
- package/dist/chunks/{location-c8bydgjz.js → job-yf4jcbx9.js} +6 -6
- package/dist/chunks/{location-dfgmewgp.js → job-yntq0gcf.js} +17 -17
- package/dist/chunks/{location-1acjjqhc.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-297fvhht.js → job-ypemt4s4.js} +9 -9
- package/dist/chunks/{location-0aj75bwd.js → job-yrhjc6nc.js} +7 -7
- package/dist/chunks/{location-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{location-bjtzbw4r.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{location-agxa4bew.js → job-zbk0d8tf.js} +4 -4
- package/dist/chunks/{location-thsgfmbw.js → job-zed0v9zv.js} +43 -43
- package/dist/chunks/{location-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-azk5qm9y.js → job-zna012a6.js} +3 -3
- package/dist/chunks/{location-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-g1389kf8.js → job-zx0k7w1w.js} +17 -17
- package/dist/chunks/{location-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-7fj5dwt0.js +0 -18
- package/dist/chunks/location-n1vpgy0w.js +0 -252
- /package/dist/chunks/{location-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gana4wwq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-p1evykhm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./job-yf4jcbx9.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service45
|
|
16
|
+
} from "./job-4796t406.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-2e96adxv.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service54;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service45;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service54;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service45;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-3n0cajew.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./job-vv3vvt2q.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./job-940kd8g7.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-1bgw19ad.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service57
|
|
26
|
+
} from "./job-w21yv6g6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./job-d5m8kxt2.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin14,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin14 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service78;
|
|
90
|
+
const ripgrep = yield* Service77;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service15;
|
|
93
|
+
const permission = yield* Service57;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin27 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin27 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin14, exports_grep };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-3n0cajew.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service61,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node63,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node63 = LayerNode.unbound(Service61, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service61;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service61, node63, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-p1evykhm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./job-4796t406.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-45e95j0e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./job-g7jvb7c9.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-2e96adxv.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-zbk0d8tf.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-0qjqxv8x.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service45;
|
|
58
|
+
const toolOutput = yield* Service64;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-p1evykhm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node78
|
|
8
|
+
} from "./job-wnrrgv3v.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event13,
|
|
21
|
+
ID: () => ID8,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service65,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event13 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID8 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID8, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID8
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID8,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service65 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service75;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service65.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node68 = makeLocationNode({
|
|
188
|
+
service: Service65,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node78]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID8, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service65, node68, exports_websearch3, Event13 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-p1evykhm.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-3n0cajew.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service70,
|
|
20
|
+
node73,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./job-rg2xem1e.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID7,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service60,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node62,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
51
|
+
var ID7 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service60 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service70;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service60.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node62 = makeLocationNode({ service: Service60, layer, deps: [node73, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service60, node62, compatibility2, parse5, exports_model2, Event12 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service39
|
|
4
|
+
} from "./job-9fh0ezmp.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin44 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin46, exports_warming };
|