@opencode/core 0.0.0-dev-21198 → 0.0.0-dev-21201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +77 -77
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{location-g4wp1ate.js → generate-03gknxvn.js} +34 -34
- package/dist/chunks/{location-q5h7teyk.js → generate-0805dz2c.js} +6 -6
- package/dist/chunks/{location-rjzxqzmw.js → generate-080tfazd.js} +7 -7
- package/dist/chunks/{location-9w2t8m45.js → generate-0ca0gn91.js} +12 -12
- package/dist/chunks/{location-yg3p29yq.js → generate-0ns3955d.js} +131 -131
- package/dist/chunks/{location-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-95jm72p9.js → generate-0w8yd4gf.js} +14 -14
- package/dist/chunks/{location-nz9b8yfq.js → generate-0xw4533y.js} +10 -10
- package/dist/chunks/{location-0vzwrjx3.js → generate-149ww98r.js} +5 -5
- package/dist/chunks/{location-mgwk1xfv.js → generate-14tjad02.js} +19 -19
- package/dist/chunks/{location-1acjjqhc.js → generate-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-9ha17m46.js → generate-24nextkm.js} +13 -13
- package/dist/chunks/{location-k1efet51.js → generate-24rc0c34.js} +24 -24
- package/dist/chunks/{location-fxatx79r.js → generate-2hv7g8ph.js} +16 -16
- package/dist/chunks/{location-87n69sem.js → generate-37hhh2vs.js} +1 -1
- package/dist/chunks/{location-czc7ahar.js → generate-3btk6sd6.js} +16 -16
- package/dist/chunks/{location-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3g642jy4.js → generate-3g642jy4.js} +2 -2
- package/dist/chunks/{location-3g8j9he4.js → generate-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-cfeys8se.js → generate-3kass1x4.js} +2 -2
- package/dist/chunks/{location-byqvgwaz.js → generate-3mkrtgmz.js} +20 -20
- package/dist/chunks/{location-6hqjze18.js → generate-3qvj434t.js} +73 -73
- package/dist/chunks/{location-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-7vfecp73.js → generate-40jpxat6.js} +6 -6
- package/dist/chunks/{location-7cc5kxt3.js → generate-42n7x6v3.js} +6 -6
- package/dist/chunks/{location-fr3ezjyq.js → generate-44e6fh5f.js} +15 -15
- package/dist/chunks/{location-dm5ybv65.js → generate-46wps90y.js} +23 -23
- package/dist/chunks/{location-wpd6sf1m.js → generate-475gm7w9.js} +13 -13
- package/dist/chunks/{location-145jd4w1.js → generate-4f5f1e58.js} +16 -16
- package/dist/chunks/{location-4fpc5jah.js → generate-4pggza71.js} +27 -27
- package/dist/chunks/{location-tb0gxtrf.js → generate-4y39m51q.js} +11 -11
- package/dist/chunks/{location-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{location-5bnha4a9.js → generate-5bnha4a9.js} +2 -2
- package/dist/chunks/{location-51e0qdjd.js → generate-5e6kt3vp.js} +6 -6
- package/dist/chunks/{location-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/generate-5rafqc7n.js +26 -0
- package/dist/chunks/{location-tdj451eg.js → generate-5x16q44j.js} +32 -32
- package/dist/chunks/{location-yt8c9d7f.js → generate-66wr1y9a.js} +4 -4
- package/dist/chunks/{location-6827pfxn.js → generate-6827pfxn.js} +1 -1
- package/dist/chunks/{location-1k11nr7d.js → generate-6a82qsz1.js} +7 -7
- package/dist/chunks/{location-hr35ctgn.js → generate-6ctkc7g2.js} +22 -22
- package/dist/chunks/{location-xq16cs6r.js → generate-6sagrjcx.js} +15 -15
- package/dist/chunks/{location-bpywct1a.js → generate-6sgzzrav.js} +33 -33
- package/dist/chunks/{location-23kaxwfv.js → generate-6tc37tey.js} +9 -9
- package/dist/chunks/{location-063qsvhf.js → generate-6tcy41jb.js} +18 -18
- package/dist/chunks/{location-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-4jj2msg6.js → generate-6z0h4rce.js} +18 -18
- package/dist/chunks/{location-hmnzdrmx.js → generate-76m4msn9.js} +40 -40
- package/dist/chunks/{location-775gj3j1.js → generate-775gj3j1.js} +2 -2
- package/dist/chunks/{location-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-2k8khapm.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-nvwzzs4t.js → generate-7k98dxqk.js} +10 -10
- package/dist/chunks/{location-txssyqt7.js → generate-7v9zxh8s.js} +6 -6
- package/dist/chunks/{location-vwp2jxjn.js → generate-7vdx0bbg.js} +11 -11
- package/dist/chunks/{location-qbqbaz6q.js → generate-80scg3y3.js} +4 -4
- package/dist/chunks/{location-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{location-mp6d0dty.js → generate-89bb6baa.js} +8 -8
- package/dist/chunks/{location-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-2fvttt54.js → generate-8rg28a98.js} +15 -15
- package/dist/chunks/{location-99rzcqpw.js → generate-8s2szf4d.js} +24 -24
- package/dist/chunks/{location-hpwxgay7.js → generate-8yde7yhj.js} +7 -7
- package/dist/chunks/{location-twd5y57z.js → generate-90kmffnn.js} +18 -18
- package/dist/chunks/{location-91qna3x0.js → generate-91qna3x0.js} +3 -3
- package/dist/chunks/{location-989zwrne.js → generate-97h9dstt.js} +19 -19
- package/dist/chunks/{location-ty9hjdkx.js → generate-9dgp8fag.js} +50 -50
- package/dist/chunks/{location-g9qaxaca.js → generate-9dk9f4te.js} +18 -18
- package/dist/chunks/{location-vxnyg7ah.js → generate-9sv3ea6j.js} +9 -9
- package/dist/chunks/{location-2k7hmv4v.js → generate-a01105mq.js} +16 -16
- package/dist/chunks/{location-mfp2vjgr.js → generate-a09b619x.js} +7 -7
- package/dist/chunks/{location-n7f7srr9.js → generate-a0eqybx1.js} +11 -11
- package/dist/chunks/{location-m1kh2nsb.js → generate-a0y26jw4.js} +2 -2
- package/dist/chunks/{location-0c4zwny2.js → generate-a4nh07be.js} +16 -16
- package/dist/chunks/{location-x661k3y3.js → generate-addxnjmp.js} +4 -4
- package/dist/chunks/{location-qjx1ax0j.js → generate-aj3rbcf1.js} +5 -5
- package/dist/chunks/{location-8bq439h5.js → generate-apv97swk.js} +28 -28
- package/dist/chunks/{location-b9n9z0s4.js → generate-apyxdd5c.js} +19 -19
- package/dist/chunks/{location-sqgnhamd.js → generate-b0z2891m.js} +4 -4
- package/dist/chunks/{location-t95zrypp.js → generate-b12fh71z.js} +12 -12
- package/dist/chunks/{location-q8vtgrm0.js → generate-b2jzzyp8.js} +16 -16
- package/dist/chunks/{location-4c34w2zv.js → generate-b5n8znr2.js} +21 -21
- package/dist/chunks/{location-5cecgzb9.js → generate-ba8y31bh.js} +19 -19
- package/dist/chunks/{location-34z3f9xr.js → generate-bh7zjcn6.js} +10 -10
- package/dist/chunks/{location-xqw2c93y.js → generate-bnkdg7qv.js} +9 -9
- package/dist/chunks/{location-kx66dp5b.js → generate-bs9bmazf.js} +12 -12
- package/dist/chunks/{location-a7acryf3.js → generate-bwgeqdk4.js} +22 -22
- package/dist/chunks/{location-cx9635r5.js → generate-bxfd39by.js} +26 -26
- package/dist/chunks/generate-by5v678g.js +18 -0
- package/dist/chunks/{location-bzeyqsqd.js → generate-bzeyqsqd.js} +1 -1
- package/dist/chunks/{location-5ntkgda3.js → generate-c13ag1bn.js} +18 -18
- package/dist/chunks/{location-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-5w91dnyc.js → generate-c591c83b.js} +18 -18
- package/dist/chunks/{location-4gfvbgvz.js → generate-c70r8365.js} +23 -23
- package/dist/chunks/{location-d89pvmsa.js → generate-cb2h0j1t.js} +15 -15
- package/dist/chunks/{location-bp8fbaqn.js → generate-cp937pt4.js} +4 -4
- package/dist/chunks/{location-dn0w480y.js → generate-cqmzp0mx.js} +1 -1
- package/dist/chunks/{location-d1a28jh7.js → generate-d1a28jh7.js} +2 -2
- package/dist/chunks/{location-vr325jcz.js → generate-d362veps.js} +25 -25
- package/dist/chunks/{location-0534ky0c.js → generate-d3ebfx6x.js} +11 -11
- package/dist/chunks/{location-vaz663yk.js → generate-dar3hyn7.js} +25 -25
- package/dist/chunks/{location-dpkg50ah.js → generate-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-7wbtv9kx.js → generate-dsb0ttzc.js} +14 -14
- package/dist/chunks/{location-28z3cneb.js → generate-dtjxe34e.js} +8 -8
- package/dist/chunks/{location-n61013np.js → generate-dys7k0s0.js} +8 -8
- package/dist/chunks/{location-w8djw5a7.js → generate-dzw83ac5.js} +9 -9
- package/dist/chunks/{location-sxcaecc0.js → generate-e80seqcp.js} +3 -3
- package/dist/chunks/{location-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-gfhn3889.js → generate-efzvzatf.js} +10 -10
- package/dist/chunks/{location-v1wgydhy.js → generate-ehygg6sf.js} +1 -1
- package/dist/chunks/{location-qry5sa1n.js → generate-ejfcq634.js} +4 -4
- package/dist/chunks/{location-embw8kgh.js → generate-embw8kgh.js} +1 -1
- package/dist/chunks/{location-v0c40a8e.js → generate-eqe06c60.js} +33 -33
- package/dist/chunks/{location-ywpkyr4m.js → generate-exwt628r.js} +4 -4
- package/dist/chunks/generate-eynva37m.js +257 -0
- package/dist/chunks/{location-3zyawagg.js → generate-f10p82d7.js} +7 -7
- package/dist/chunks/{location-pv8jz97g.js → generate-f2hqdn62.js} +9 -9
- package/dist/chunks/{location-k2d1nyd0.js → generate-f4fzpthd.js} +45 -45
- package/dist/chunks/{location-fb3dtxv3.js → generate-f893ew9g.js} +15 -15
- package/dist/chunks/{location-jrrr0vgd.js → generate-f98v112d.js} +5 -5
- package/dist/chunks/{location-fcy631f0.js → generate-fcy631f0.js} +1 -1
- package/dist/chunks/{location-6x2k96nh.js → generate-fdbnp50v.js} +67 -67
- package/dist/chunks/{location-esevsdxy.js → generate-ffjraqq7.js} +3 -3
- package/dist/chunks/{location-fgtrk66x.js → generate-fg7nvtjy.js} +43 -43
- package/dist/chunks/{location-p32sqmdt.js → generate-fjrfzm7z.js} +38 -38
- package/dist/chunks/{location-dq407baf.js → generate-fn9t717r.js} +6 -6
- package/dist/chunks/{location-q9eq07pb.js → generate-ftpjb7c3.js} +17 -17
- package/dist/chunks/{location-vn2rgj3v.js → generate-fvay2ke4.js} +77 -77
- package/dist/chunks/{location-4da1h11n.js → generate-fx2js9bg.js} +24 -24
- package/dist/chunks/{location-y14vatw8.js → generate-g2x9m4s9.js} +14 -14
- package/dist/chunks/{location-3ezs8r61.js → generate-g4tehmc6.js} +26 -26
- package/dist/chunks/{location-wh6zw745.js → generate-g6yfr6ja.js} +5 -5
- package/dist/chunks/{location-603jbbtr.js → generate-g8vstf03.js} +13 -13
- package/dist/chunks/{location-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-amt00vnw.js → generate-ggnwgtvx.js} +4 -4
- package/dist/chunks/{location-0r3c1bmw.js → generate-gj71zhbs.js} +5 -5
- package/dist/chunks/{location-j2nmhapf.js → generate-gnnw4atk.js} +19 -19
- package/dist/chunks/{location-cpnatsfb.js → generate-gnpa5mn8.js} +9 -9
- package/dist/chunks/{location-fdys8s7b.js → generate-grwryfk3.js} +13 -13
- package/dist/chunks/{location-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-hq8zt1th.js → generate-h896pcm5.js} +4 -4
- package/dist/chunks/{location-g405m9aw.js → generate-h9ybj0dp.js} +9 -9
- package/dist/chunks/{location-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-hr3r50rq.js → generate-hh9fc0w8.js} +18 -18
- package/dist/chunks/{location-hkffa77z.js → generate-hkffa77z.js} +4 -4
- package/dist/chunks/{location-m5acmbv3.js → generate-hmqggt0z.js} +24 -24
- package/dist/chunks/{location-4z1p7es3.js → generate-hwbt70tw.js} +1 -1
- package/dist/chunks/{location-dvtne00t.js → generate-j77jx3jb.js} +34 -34
- package/dist/chunks/{location-5z1rq7y7.js → generate-j78e14ba.js} +45 -45
- package/dist/chunks/{location-7h00etdm.js → generate-j8qhqvx8.js} +28 -28
- package/dist/chunks/{location-6r42yntf.js → generate-jc4wv75z.js} +41 -41
- package/dist/chunks/{location-67cvef8r.js → generate-jgqmcces.js} +38 -38
- package/dist/chunks/{location-ky55kfet.js → generate-jh682bf3.js} +6 -6
- package/dist/chunks/{location-4a47vhcc.js → generate-jsj7rmb6.js} +8 -8
- package/dist/chunks/{location-j33tqen4.js → generate-jvncv862.js} +6 -6
- package/dist/chunks/{location-sqab7qp3.js → generate-k45cm24m.js} +30 -30
- package/dist/chunks/{location-gfrjx8pe.js → generate-karx3kgp.js} +24 -24
- package/dist/chunks/{location-q6y0jr1j.js → generate-kggd2yhz.js} +10 -10
- package/dist/chunks/{location-1w2wqhfv.js → generate-khmqacep.js} +4 -4
- package/dist/chunks/{location-pbf8s9t3.js → generate-kq63he01.js} +5 -5
- package/dist/chunks/{location-4sh6etqy.js → generate-kr6b5ws7.js} +3 -3
- package/dist/chunks/{location-kwb1v3vj.js → generate-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-xwq8mpja.js → generate-m067xvhw.js} +307 -307
- package/dist/chunks/{location-z3v7r765.js → generate-m0ptpkd8.js} +11 -11
- package/dist/chunks/{location-xy41f4x7.js → generate-m4ay8zc3.js} +35 -35
- package/dist/chunks/{location-0xy308ad.js → generate-m8gczy5t.js} +11 -11
- package/dist/chunks/{location-htqjf2p3.js → generate-m8xhzamz.js} +3 -3
- package/dist/chunks/{location-w6zk8pbt.js → generate-m91gvp7t.js} +6 -6
- package/dist/chunks/{location-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-32h6rhct.js → generate-manwb5tf.js} +14 -14
- package/dist/chunks/{location-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{location-ds49x2rx.js → generate-mm2041e2.js} +5 -5
- package/dist/chunks/{location-2ty8egxs.js → generate-mrefkyyq.js} +3 -3
- package/dist/chunks/{location-mnpd334b.js → generate-mrvexgqt.js} +15 -15
- package/dist/chunks/{location-zbh564mk.js → generate-mx4p7qc7.js} +30 -30
- package/dist/chunks/{location-wkehryqc.js → generate-mxxvm3hc.js} +14 -14
- package/dist/chunks/{location-n1n192bv.js → generate-n1n192bv.js} +1 -1
- package/dist/chunks/{location-bm82pab4.js → generate-n80tey8m.js} +17 -17
- package/dist/chunks/{location-bty0wzn7.js → generate-n821n20x.js} +6 -6
- package/dist/chunks/{location-nydcqbxx.js → generate-ncyx88y1.js} +32 -32
- package/dist/chunks/{location-5yxr5f14.js → generate-ncyym10m.js} +6 -6
- package/dist/chunks/{location-em2d8pme.js → generate-nd1pd7yg.js} +9 -9
- package/dist/chunks/{location-6b5zwc3a.js → generate-ngmxgv0g.js} +12 -12
- package/dist/chunks/{location-tx24ndva.js → generate-nr1ht2p9.js} +5 -5
- package/dist/chunks/{location-ef408bse.js → generate-nwvmg0fn.js} +20 -20
- package/dist/chunks/{location-q1yjy5zz.js → generate-nxmm6209.js} +4 -4
- package/dist/chunks/{location-br0tr5aq.js → generate-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-bh0br2f8.js → generate-p5grttz1.js} +10 -10
- package/dist/chunks/{location-h9rm1rrn.js → generate-pfq1ksym.js} +5 -5
- package/dist/chunks/{location-ggrw7xb2.js → generate-pjbmnn5d.js} +10 -10
- package/dist/chunks/{location-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{location-at1kfnmk.js → generate-pnaxc6j9.js} +8 -8
- package/dist/chunks/{location-8sze2n9a.js → generate-py3kkmfq.js} +6 -6
- package/dist/chunks/{location-gssgp24n.js → generate-pzm75kh2.js} +20 -20
- package/dist/chunks/{location-9qphk9mp.js → generate-q4axk96g.js} +15 -15
- package/dist/chunks/{location-y4p39a62.js → generate-q5pynxgh.js} +12 -12
- package/dist/chunks/{location-d1k3f5pq.js → generate-qb4f6xmp.js} +13 -13
- package/dist/chunks/{location-ntvypand.js → generate-qfj50933.js} +27 -27
- package/dist/chunks/{location-82evjk03.js → generate-qgahkyyr.js} +30 -30
- package/dist/chunks/{location-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{location-7n50n386.js → generate-qxm16qy9.js} +7 -7
- package/dist/chunks/{location-2mq1h16s.js → generate-r2m716tb.js} +9 -9
- package/dist/chunks/{location-4egkd47v.js → generate-r2wdjp82.js} +8 -8
- package/dist/chunks/{location-vk0vjr06.js → generate-r4q0brfc.js} +3 -3
- package/dist/chunks/{location-stsvfap6.js → generate-r7z06xw0.js} +31 -31
- package/dist/chunks/{location-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-rert0e01.js → generate-rert0e01.js} +2 -2
- package/dist/chunks/{location-m68xwnrq.js → generate-rh3hvas6.js} +19 -19
- package/dist/chunks/{location-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-ajzsbz6h.js → generate-rjq8wmvv.js} +7 -7
- package/dist/chunks/{location-16nb375z.js → generate-rjyhgtyc.js} +10 -10
- package/dist/chunks/{location-16apx87z.js → generate-rk7eg0n7.js} +33 -33
- package/dist/chunks/{location-m8hhxrfk.js → generate-rkm2zns9.js} +11 -11
- package/dist/chunks/{location-wx6dy300.js → generate-rmn06tv3.js} +4 -4
- package/dist/chunks/{location-akmpr121.js → generate-rt1d4x09.js} +25 -25
- package/dist/chunks/{location-drs64gwb.js → generate-rvesa5k7.js} +13 -13
- package/dist/chunks/{location-23pawfzx.js → generate-rw61g3we.js} +18 -18
- package/dist/chunks/{location-g41nf0e0.js → generate-rwxf188v.js} +9 -9
- package/dist/chunks/{location-bh6fvrw2.js → generate-ryarz677.js} +16 -16
- package/dist/chunks/{location-nfv0j92c.js → generate-s13f39cf.js} +11 -11
- package/dist/chunks/{location-s8d7rejh.js → generate-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-3nmkja6b.js → generate-shy8zm2a.js} +3 -3
- package/dist/chunks/{location-syv4x271.js → generate-syv4x271.js} +1 -1
- package/dist/chunks/{location-z2rty11q.js → generate-sz5rmx8q.js} +3 -3
- package/dist/chunks/{location-wy9rq243.js → generate-szhvfkp6.js} +19 -19
- package/dist/chunks/{location-73ekctke.js → generate-t9ymh72b.js} +11 -11
- package/dist/chunks/{location-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{location-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{location-md74ebjh.js → generate-v08njbym.js} +1 -1
- package/dist/chunks/{location-sr7jmsgt.js → generate-v210v162.js} +7 -7
- package/dist/chunks/{location-07b9dypv.js → generate-v29xn8f1.js} +12 -12
- package/dist/chunks/{location-d216944b.js → generate-v5dkyp31.js} +7 -7
- package/dist/chunks/{location-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-d5cb04kw.js → generate-vbg8rtpq.js} +29 -29
- package/dist/chunks/{location-z1hzzxvs.js → generate-vdq2jh6f.js} +14 -14
- package/dist/chunks/{location-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{location-0j2whhmm.js → generate-vthepxc9.js} +2 -2
- package/dist/chunks/{location-hm0wjybs.js → generate-vwq3bzaf.js} +10 -10
- package/dist/chunks/{location-adxdseqr.js → generate-vy8jrsdb.js} +16 -16
- package/dist/chunks/{location-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-jq30160n.js → generate-w271hm3d.js} +7 -7
- package/dist/chunks/{location-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-q7gf9sas.js → generate-w67mkghx.js} +10 -10
- package/dist/chunks/{location-vs8dydjt.js → generate-w6hqqfrn.js} +8 -8
- package/dist/chunks/{location-97aeaand.js → generate-waskdk5r.js} +4 -4
- package/dist/chunks/{location-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{location-zgn8r0cb.js → generate-wgxkjpdd.js} +25 -25
- package/dist/chunks/{location-ywt8jp22.js → generate-wjr9rjd7.js} +6 -6
- package/dist/chunks/{location-qs1k1512.js → generate-x519dv4j.js} +11 -11
- package/dist/chunks/{location-bdpzzc2x.js → generate-x9j3ktrk.js} +11 -11
- package/dist/chunks/{location-es2kn06e.js → generate-xcd63yev.js} +11 -11
- package/dist/chunks/{location-xfkkasph.js → generate-xfkkasph.js} +1 -1
- package/dist/chunks/{location-5r8dc44b.js → generate-xherg1x9.js} +1 -1
- package/dist/chunks/{location-tmvz21nc.js → generate-xm6xth1b.js} +21 -21
- package/dist/chunks/{location-wyebk0xf.js → generate-xwb84dzk.js} +11 -11
- package/dist/chunks/{location-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-g686f6pq.js → generate-y7nndgyc.js} +9 -9
- package/dist/chunks/{location-0w65kga7.js → generate-y8xq7ga8.js} +9 -9
- package/dist/chunks/{location-zsrhk7tm.js → generate-y945vb8n.js} +8 -8
- package/dist/chunks/{location-r0e2kwbg.js → generate-yad4tbft.js} +4 -4
- package/dist/chunks/{location-a8tjp345.js → generate-yjhj4zwb.js} +37 -37
- package/dist/chunks/{location-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-j58c5xyq.js → generate-z4ztj7g0.js} +9 -9
- package/dist/chunks/{location-bwk1j07r.js → generate-zby0cawh.js} +26 -26
- package/dist/chunks/{location-azf56bk0.js → generate-zdse71m2.js} +6 -6
- package/dist/chunks/{location-gwvrmfwb.js → generate-zpr8mzes.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-25v2n2r1.js → generate-zyz4g0ys.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +114 -114
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +93 -93
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +213 -213
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +225 -225
- 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 +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-496pr060.js +0 -26
- package/dist/chunks/location-e3ek6sz5.js +0 -257
- package/dist/chunks/location-n95b3jav.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-arz7hw7x.js → generate-arz7hw7x.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-xwb84dzk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-66wr1y9a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-ryarz677.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-a01105mq.js";
|
|
19
19
|
import {
|
|
20
20
|
Service18
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-3g642jy4.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-90kmffnn.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-ftpjb7c3.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve2
|
|
33
|
+
} from "./generate-42n7x6v3.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID4,
|
|
36
|
+
Input13,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-wgxkjpdd.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID4
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
|
|
|
267
267
|
model.limit = { ...model.limit, ...config.limit };
|
|
268
268
|
if (config.capabilities?.reasoning !== undefined)
|
|
269
269
|
model.variants = [
|
|
270
|
-
...
|
|
270
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
271
271
|
];
|
|
272
272
|
for (const variant of config.variants ?? []) {
|
|
273
273
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
|
|
|
349
349
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
350
350
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
351
351
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
352
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
352
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
353
353
|
query: input.query,
|
|
354
354
|
providerID: descriptor.providerID
|
|
355
355
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-pyv0edze.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin31,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin31 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin31, exports_tool_input_repair };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-shy8zm2a.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-dpkg50ah.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node69
|
|
18
|
+
} from "./generate-m91gvp7t.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID7,
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service65,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node68
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info15 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID7,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service65 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service65,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node69]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info15({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service65.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node68 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info15, NotFound2, CreateConflict2, Service65, configured11, node68, exports_workspace };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service57,
|
|
3
|
+
node59
|
|
4
|
+
} from "./generate-vy8jrsdb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node35
|
|
8
|
+
} from "./generate-fvay2ke4.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service12,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node14
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service32;
|
|
30
|
+
const jobs = yield* Service57;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service12.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node14 = Node.makeGlobalNode({
|
|
68
|
+
service: Service12,
|
|
69
|
+
layer: Layer.effect(Service12, make),
|
|
70
|
+
deps: [node35, node59]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service12, node14, exports_subagent_job };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-szhvfkp6.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service84,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node88
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service84 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
722
722
|
kind: index === 0 ? "main" : "linked"
|
|
723
723
|
}));
|
|
724
724
|
});
|
|
725
|
-
return
|
|
725
|
+
return Service84.of({
|
|
726
726
|
repo: { discover, clone, create },
|
|
727
727
|
remote: { get: remote },
|
|
728
728
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
739
739
|
objects: { pack: packObjects }
|
|
740
740
|
});
|
|
741
741
|
}));
|
|
742
|
-
var
|
|
742
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
743
743
|
function run(cwd, proc, args) {
|
|
744
744
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
745
745
|
}
|
|
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
|
|
|
806
806
|
return path.resolve(cwd, normalized);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
809
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service71,
|
|
3
|
+
node75
|
|
4
|
+
} from "./generate-g4tehmc6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service40,
|
|
20
|
+
node: () => node43
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service40 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service71;
|
|
64
|
+
return Service40.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node75] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service40, node43, exports_instructions3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node78
|
|
7
|
+
} from "./generate-44e6fh5f.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate = {};
|
|
17
|
+
__export(exports_generate, {
|
|
18
|
+
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service28,
|
|
21
21
|
UnavailableError: () => UnavailableError4,
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
22
|
+
layer: () => layer13,
|
|
23
|
+
node: () => node31
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -37,11 +37,11 @@ class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service28 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer13 = Layer.effect(Service28, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service74;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -71,12 +71,12 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
71
71
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service28.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node31 = makeLocationNode({
|
|
77
|
+
service: Service28,
|
|
78
|
+
layer: layer13,
|
|
79
|
+
deps: [node78, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2, UnavailableError4,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError4, Service28, layer13, node31, exports_generate };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-76m4msn9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./generate-yjhj4zwb.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-rt1d4x09.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions5 = {};
|
|
24
|
+
__export(exports_instructions5, {
|
|
25
|
+
McpInstructions: () => exports_instructions5,
|
|
26
|
+
Service: () => Service42,
|
|
27
|
+
layer: () => layer17,
|
|
28
|
+
node: () => node45
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service42 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service44;
|
|
68
|
+
return Service42.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
@@ -96,6 +96,6 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node45 = makeLocationNode({ service: Service42, layer: layer17, deps: [node47] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service42, layer17, node45, exports_instructions5 };
|