@opencode/core 0.0.0-dev-787 → 0.0.0-dev-791
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/agent.js +71 -71
- package/dist/aisdk-native.js +72 -72
- package/dist/aisdk.js +77 -77
- package/dist/app.js +9 -9
- package/dist/artifact.js +194 -194
- package/dist/bus.js +60 -60
- package/dist/chunks/{form-whb2nay0.js → form-01rpw1qv.js} +22 -22
- package/dist/chunks/{form-r0j6xsz8.js → form-05d441b2.js} +22 -22
- package/dist/chunks/{form-3bgf9gas.js → form-0c7bpw4e.js} +3 -3
- package/dist/chunks/{form-4m2hvhqe.js → form-0pzjnp4k.js} +4 -4
- package/dist/chunks/{form-w81j1vy6.js → form-10c0p7z3.js} +7 -7
- package/dist/chunks/{form-w557k37g.js → form-139nhzzp.js} +26 -26
- package/dist/chunks/{form-2swc61r8.js → form-19b2ztj7.js} +8 -8
- package/dist/chunks/{form-zmgx6wkw.js → form-19v0kb1w.js} +7 -7
- package/dist/chunks/{form-afm6xdv3.js → form-1d86nf37.js} +1 -1
- package/dist/chunks/{form-d91gx192.js → form-1p6cc7cx.js} +15 -15
- package/dist/chunks/{form-1p9n8pqr.js → form-1qs0jgz8.js} +8 -8
- package/dist/chunks/{form-bdhd9h6e.js → form-1yq9hg58.js} +4 -4
- package/dist/chunks/{form-w9g24b4r.js → form-2149gj6c.js} +26 -26
- package/dist/chunks/{form-d8jxt81g.js → form-24papxa4.js} +28 -28
- package/dist/chunks/{form-kbtcw8xz.js → form-26wfx3k0.js} +6 -6
- package/dist/chunks/{form-nzzdn40q.js → form-2jmys8k9.js} +32 -32
- package/dist/chunks/{form-k58mk6kn.js → form-2ymbxe2a.js} +15 -15
- package/dist/chunks/{form-t9rqwped.js → form-39n7peaz.js} +17 -17
- package/dist/chunks/{form-c4xned13.js → form-3h6x4vk4.js} +11 -11
- package/dist/chunks/{form-r17fbvme.js → form-3qgwywyc.js} +3 -3
- package/dist/chunks/{form-k2b9ebj4.js → form-3sj1dac3.js} +7 -7
- package/dist/chunks/{form-crrcr980.js → form-495vdj1c.js} +7 -7
- package/dist/chunks/{form-0q0tresn.js → form-49d4rty4.js} +17 -17
- package/dist/chunks/{form-r542h3bh.js → form-4f25tdd0.js} +4 -4
- package/dist/chunks/{form-r71dghqg.js → form-4jenwqe1.js} +27 -27
- package/dist/chunks/{form-r3wrm2s0.js → form-4wzmybmb.js} +13 -13
- package/dist/chunks/{form-v9vs06em.js → form-55g2q5p5.js} +1 -1
- package/dist/chunks/{form-85vwxjmf.js → form-5870dma9.js} +7 -7
- package/dist/chunks/{form-w1ph6wdf.js → form-5czt8ehm.js} +8 -8
- package/dist/chunks/{form-cdamb71v.js → form-5hrkd4hp.js} +6 -6
- package/dist/chunks/{form-m2bzqjs9.js → form-5j8ph1qd.js} +29 -29
- package/dist/chunks/{form-8cg7mtm3.js → form-5whx36p1.js} +3 -3
- package/dist/chunks/{form-sf9ycpb4.js → form-5wmmx33t.js} +6 -6
- package/dist/chunks/{form-1ydwk751.js → form-665akccg.js} +15 -15
- package/dist/chunks/{form-yts2a8qm.js → form-67wwskyb.js} +3 -3
- package/dist/chunks/{form-etrnj9s7.js → form-6f6jm3cp.js} +3 -3
- package/dist/chunks/{form-6w6fvajz.js → form-6qmwk56z.js} +39 -39
- package/dist/chunks/{form-fv0gq29x.js → form-6qsc8bte.js} +14 -14
- package/dist/chunks/{form-1p8n4tg7.js → form-6t6n7z4g.js} +7 -7
- package/dist/chunks/{form-qsrm9yq9.js → form-6y38v4f2.js} +5 -5
- package/dist/chunks/{form-whnhdn7f.js → form-6z00g8bn.js} +4 -4
- package/dist/chunks/{form-zhw1z1kb.js → form-75nzay9j.js} +22 -22
- package/dist/chunks/{form-0gth4b5d.js → form-785kt1nq.js} +30 -30
- package/dist/chunks/{form-nqj08935.js → form-79tfqp9f.js} +1 -1
- package/dist/chunks/{form-bz2rmm6x.js → form-7agpffk8.js} +4 -4
- package/dist/chunks/{form-za7m4eht.js → form-7b6h81bb.js} +4 -4
- package/dist/chunks/{form-y88x6xtw.js → form-7cwm169k.js} +28 -28
- package/dist/chunks/{form-ng5g1vyn.js → form-7hfrmca8.js} +1 -1
- package/dist/chunks/{form-534cnr7j.js → form-7hqvmvs7.js} +17 -17
- package/dist/chunks/{form-a5fx33f2.js → form-7nqkf5r1.js} +4 -4
- package/dist/chunks/{form-jk7vbzey.js → form-7rr5h0zr.js} +8 -8
- package/dist/chunks/{form-s45770bx.js → form-7rv4jjk5.js} +37 -37
- package/dist/chunks/{form-1h7wn8wb.js → form-7stykpj4.js} +33 -33
- package/dist/chunks/{form-pv1fqqkg.js → form-7ypjkqw5.js} +3 -3
- package/dist/chunks/{form-08sxv5h9.js → form-81zmd5dp.js} +16 -16
- package/dist/chunks/{form-kas838dp.js → form-82p7ywwd.js} +1 -1
- package/dist/chunks/{form-e76qcsfg.js → form-88pbdasn.js} +4 -4
- package/dist/chunks/{form-ysme3vfm.js → form-8cnjhhhz.js} +16 -16
- package/dist/chunks/{form-08v1fe0d.js → form-8d70nmw5.js} +10 -10
- package/dist/chunks/{form-qpc8m78k.js → form-8h5tjk24.js} +2 -2
- package/dist/chunks/{form-3bqg2k1d.js → form-8m9dyvqe.js} +7 -7
- package/dist/chunks/{form-5az55tk0.js → form-8rg9h9rf.js} +14 -14
- package/dist/chunks/{form-2qz9vgxk.js → form-90wkhppp.js} +7 -7
- package/dist/chunks/{form-spz5sz38.js → form-963hk181.js} +5 -5
- package/dist/chunks/{form-h2pdg52j.js → form-97efk2he.js} +19 -19
- package/dist/chunks/{form-077tkhm1.js → form-9dd5622s.js} +19 -19
- package/dist/chunks/{form-nd2vd1g9.js → form-9fjscgt9.js} +50 -50
- package/dist/chunks/{form-8mrh1q34.js → form-9me36f2x.js} +7 -7
- package/dist/chunks/{form-p0wr151k.js → form-9n50p2fd.js} +12 -12
- package/dist/chunks/{form-ygcy7kze.js → form-9v17a1m3.js} +10 -10
- package/dist/chunks/{form-strh6rv4.js → form-9x63vb7q.js} +18 -18
- package/dist/chunks/{form-f72sdcfm.js → form-9zt6fxcw.js} +28 -28
- package/dist/chunks/{form-wtnh9baf.js → form-a2ppfby6.js} +18 -18
- package/dist/chunks/{form-eyrz4ycd.js → form-a5shfyb2.js} +7 -7
- package/dist/chunks/{form-msj4mgeb.js → form-a8c6f01y.js} +7 -7
- package/dist/chunks/{form-zmjnchdd.js → form-a9vajmgg.js} +3 -3
- package/dist/chunks/{form-4q7drmzz.js → form-ac3czqys.js} +16 -16
- package/dist/chunks/{form-cdpxzsw5.js → form-amt3fy1y.js} +30 -30
- package/dist/chunks/{form-sf9y72b7.js → form-anvcme1c.js} +3 -3
- package/dist/chunks/{form-7m5j0kb4.js → form-b14sh48k.js} +8 -8
- package/dist/chunks/{form-6mjm7zxm.js → form-b7rebrt2.js} +41 -41
- package/dist/chunks/{form-74t29akg.js → form-bbmj4mnh.js} +134 -134
- package/dist/chunks/{form-brv4jfaf.js → form-bexj7x6s.js} +4 -4
- package/dist/chunks/{form-jkdcm5hg.js → form-bhfd478d.js} +3 -3
- package/dist/chunks/{form-3fy85vkh.js → form-bpkxevtq.js} +4 -4
- package/dist/chunks/{form-5aktsc5z.js → form-bpn4bk7k.js} +16 -16
- package/dist/chunks/{form-4jtdakfj.js → form-c09y0a8j.js} +9 -9
- package/dist/chunks/{form-d4vxj6mz.js → form-c5chrm98.js} +36 -36
- package/dist/chunks/{form-m5e6dbbg.js → form-c8pp1k19.js} +16 -16
- package/dist/chunks/{form-m5vks3yv.js → form-ccxyytbx.js} +5 -5
- package/dist/chunks/{form-rcfczq6v.js → form-ch7k79dh.js} +5 -5
- package/dist/chunks/{form-4jgac5zt.js → form-cjhteg90.js} +5 -5
- package/dist/chunks/{form-5asgddgx.js → form-ckn0kvtp.js} +3 -3
- package/dist/chunks/{form-bg1rqwjw.js → form-cqfxst5x.js} +23 -23
- package/dist/chunks/{form-d8asytdz.js → form-csytqz48.js} +11 -11
- package/dist/chunks/{form-1vz1ns2k.js → form-cvb39fh3.js} +8 -8
- package/dist/chunks/{form-4tqs0jzk.js → form-d8p3t516.js} +3 -3
- package/dist/chunks/{form-4qeh9rjn.js → form-dc1wkmnt.js} +7 -7
- package/dist/chunks/{form-y88ea6bf.js → form-dcqztyc0.js} +14 -14
- package/dist/chunks/{form-6x59me16.js → form-de87a3dm.js} +4 -4
- package/dist/chunks/{form-h7cs4frj.js → form-dee54pyj.js} +18 -18
- package/dist/chunks/{form-zsjmk57r.js → form-dj2nvf49.js} +5 -5
- package/dist/chunks/{form-kdnw01cx.js → form-djtzg767.js} +22 -22
- package/dist/chunks/{form-8tntncgh.js → form-dkpjsqx5.js} +4 -4
- package/dist/chunks/{form-hj956mk8.js → form-dnk8746q.js} +82 -82
- package/dist/chunks/{form-7r8an6fe.js → form-dq8yjqh8.js} +11 -11
- package/dist/chunks/{form-jtxc186n.js → form-dszjwkzq.js} +22 -22
- package/dist/chunks/{form-s7ff7xj8.js → form-dx7w2ywp.js} +17 -17
- package/dist/chunks/{form-dkzzyy3p.js → form-e0nv7jq6.js} +2 -2
- package/dist/chunks/{form-emfjbeb6.js → form-e1gzcs88.js} +14 -14
- package/dist/chunks/{form-25drhth7.js → form-e1x810h0.js} +7 -7
- package/dist/chunks/{form-ftjkm5sx.js → form-e35tjqxj.js} +352 -352
- package/dist/chunks/{form-hk1bjgns.js → form-e4ah3ejq.js} +17 -17
- package/dist/chunks/{form-jmsbq57h.js → form-e8d4rb7h.js} +14 -14
- package/dist/chunks/{form-p1k8q8dm.js → form-egvq556q.js} +1 -1
- package/dist/chunks/{form-1e963z14.js → form-eh2pqcde.js} +11 -11
- package/dist/chunks/{form-62wce9zg.js → form-er2n76ej.js} +10 -10
- package/dist/chunks/{form-vhgc00n4.js → form-erfxr3zn.js} +13 -13
- package/dist/chunks/{form-tvcjrze5.js → form-erppfcw0.js} +13 -13
- package/dist/chunks/{form-w6yaejhr.js → form-f26b0hvj.js} +5 -5
- package/dist/chunks/{form-2bswbpgz.js → form-f4krjp8e.js} +3 -3
- package/dist/chunks/{form-mjsyx3br.js → form-f7295des.js} +8 -8
- package/dist/chunks/{form-zkw232et.js → form-f8vchc90.js} +17 -17
- package/dist/chunks/{form-kzwff88q.js → form-feknp5zt.js} +7 -7
- package/dist/chunks/{form-pyc3gczw.js → form-fnm34e0k.js} +3 -3
- package/dist/chunks/{form-cwp201bk.js → form-fqg2m573.js} +5 -5
- package/dist/chunks/{form-qhaaa42p.js → form-fqms6rvt.js} +11 -11
- package/dist/chunks/{form-zdx72ve0.js → form-fs4enjx7.js} +4 -4
- package/dist/chunks/{form-n9y0drfj.js → form-fyh94gg6.js} +4 -4
- package/dist/chunks/{form-ck4ctv5s.js → form-g3zv75fm.js} +72 -72
- package/dist/chunks/{form-bcpk48rq.js → form-g63xhc1v.js} +25 -25
- package/dist/chunks/{form-7nw90t2b.js → form-gatjdcn9.js} +11 -11
- package/dist/chunks/{form-4z6ejq83.js → form-gm32q8m8.js} +8 -8
- package/dist/chunks/{form-ev846520.js → form-gtr6916j.js} +17 -17
- package/dist/chunks/form-gv6z28ma.js +265 -0
- package/dist/chunks/{form-eam9ngfz.js → form-gvrjngtk.js} +3 -3
- package/dist/chunks/{form-qb4ptby6.js → form-h9xvjfqn.js} +9 -9
- package/dist/chunks/{form-gqmpcfh7.js → form-hdc2a5xz.js} +29 -29
- package/dist/chunks/{form-h71885tz.js → form-hfcy1fgt.js} +2 -2
- package/dist/chunks/{form-4m4g3ztp.js → form-hpj67xa1.js} +1 -1
- package/dist/chunks/{form-ftnnxnk0.js → form-htpmzgt8.js} +18 -18
- package/dist/chunks/{form-w6brw106.js → form-hzvjaebq.js} +8 -8
- package/dist/chunks/{form-yctgsgmg.js → form-jbygarch.js} +8 -8
- package/dist/chunks/form-jexvg71v.js +26 -0
- package/dist/chunks/{form-8ynnnc9x.js → form-jfk5jv3z.js} +11 -11
- package/dist/chunks/{form-g0md4990.js → form-jgkp38kk.js} +11 -11
- package/dist/chunks/{form-20bfbk4x.js → form-jp4e3d39.js} +29 -29
- package/dist/chunks/{form-f159ec1q.js → form-jv5cg5jm.js} +1 -1
- package/dist/chunks/{form-69emmher.js → form-jwj3xwfh.js} +16 -16
- package/dist/chunks/{form-hak3spcr.js → form-jz77ka2x.js} +39 -39
- package/dist/chunks/{form-etbjc7bm.js → form-k1fk9gak.js} +1 -1
- package/dist/chunks/{form-e5v1smj8.js → form-k1ngrrvr.js} +2 -2
- package/dist/chunks/{form-b9my7n24.js → form-k4efmry4.js} +12 -12
- package/dist/chunks/{form-r4wk1s47.js → form-k5daehwd.js} +5 -5
- package/dist/chunks/{form-kkb7zeg6.js → form-k732j073.js} +7 -7
- package/dist/chunks/{form-vt4gvjnz.js → form-kht0bw8h.js} +9 -9
- package/dist/chunks/{form-ryeap3sb.js → form-kmgb3tdh.js} +19 -19
- package/dist/chunks/{form-tprfp288.js → form-kmrmenc1.js} +33 -33
- package/dist/chunks/{form-94e33dpz.js → form-kn4zqwcq.js} +1 -1
- package/dist/chunks/{form-jsc3kmd1.js → form-ktvb9mw0.js} +4 -4
- package/dist/chunks/{form-dw25s8w6.js → form-kyd5p4kc.js} +6 -6
- package/dist/chunks/{form-xfp7ht4r.js → form-m96ddqb0.js} +4 -4
- package/dist/chunks/{form-qmh7vbk2.js → form-me0dhgxs.js} +4 -4
- package/dist/chunks/{form-0tazdck3.js → form-mmdz7z9c.js} +16 -16
- package/dist/chunks/{form-gyjcgtja.js → form-mmynath4.js} +11 -11
- package/dist/chunks/{form-7rem6gay.js → form-mvd4m6v7.js} +24 -24
- package/dist/chunks/{form-d05tpv5s.js → form-my4fcshq.js} +6 -6
- package/dist/chunks/{form-859wtsez.js → form-n1qp63sd.js} +11 -11
- package/dist/chunks/{form-3p5bwpjr.js → form-n3jp0npr.js} +1 -1
- package/dist/chunks/{form-pebd3fx8.js → form-n9fe6bxj.js} +14 -14
- package/dist/chunks/{form-w87f5jj8.js → form-na8r46wf.js} +8 -8
- package/dist/chunks/{form-bgvmpsbb.js → form-nc4w622v.js} +3 -3
- package/dist/chunks/{form-76t83kqq.js → form-nctbn4kr.js} +10 -10
- package/dist/chunks/{form-z0b3rp99.js → form-nrk34cdy.js} +7 -7
- package/dist/chunks/{form-zcmv5xke.js → form-nryt75sa.js} +12 -12
- package/dist/chunks/{form-kw6k3grm.js → form-nt927v07.js} +8 -8
- package/dist/chunks/{form-a4ww6fpm.js → form-nv9tsjma.js} +5 -5
- package/dist/chunks/{form-5g90fmrv.js → form-nw5eecxx.js} +1 -1
- package/dist/chunks/{form-g93tcs9e.js → form-nyerw5g8.js} +9 -9
- package/dist/chunks/{form-jr2msrb8.js → form-nzfywte0.js} +7 -7
- package/dist/chunks/{form-q52thbbg.js → form-p095z00d.js} +12 -12
- package/dist/chunks/{form-yqveydy6.js → form-p76me67c.js} +3 -3
- package/dist/chunks/{form-jz12c36j.js → form-p8pjvayg.js} +1 -1
- package/dist/chunks/{form-venxc8x9.js → form-pb9fhdan.js} +40 -40
- package/dist/chunks/{form-pg93aazs.js → form-pmxqycbb.js} +21 -21
- package/dist/chunks/{form-fg9p65nk.js → form-prq7xxp2.js} +4 -4
- package/dist/chunks/{form-229tvxdn.js → form-px7qpgcn.js} +3 -3
- package/dist/chunks/{form-xa63j88h.js → form-q26nxxn1.js} +3 -3
- package/dist/chunks/{form-0kwy0x33.js → form-q7y3b9g0.js} +3 -3
- package/dist/chunks/{form-t521gf9q.js → form-qa8wq1bx.js} +8 -8
- package/dist/chunks/{form-c0am625a.js → form-qf4h7f4y.js} +17 -17
- package/dist/chunks/{form-cv6amnmh.js → form-qfz6bxfd.js} +3 -3
- package/dist/chunks/{form-35rvwrkz.js → form-qmet73b8.js} +16 -16
- package/dist/chunks/{form-zh4pxxzd.js → form-qn3nex76.js} +10 -10
- package/dist/chunks/{form-njjkp6y7.js → form-qtcppqdt.js} +2 -2
- package/dist/chunks/{form-9ewsxdwp.js → form-qwcxdf4f.js} +31 -31
- package/dist/chunks/{form-jptpdyy1.js → form-r00x6xar.js} +17 -17
- package/dist/chunks/{form-cf3f13z6.js → form-r2jsee34.js} +7 -7
- package/dist/chunks/{form-w2eysc6j.js → form-r41sfy63.js} +4 -4
- package/dist/chunks/{form-v0kt3d5p.js → form-r6dpxxw1.js} +34 -34
- package/dist/chunks/{form-3adw4bt5.js → form-rp6t20zc.js} +7 -7
- package/dist/chunks/{form-vzxj76h2.js → form-s7a9cbah.js} +1 -1
- package/dist/chunks/{form-t9a5srby.js → form-s974wghs.js} +17 -17
- package/dist/chunks/{form-m7e4wn3x.js → form-sbmqae13.js} +37 -37
- package/dist/chunks/{form-2bsf0ydr.js → form-sjta0jj4.js} +24 -24
- package/dist/chunks/{form-vq89e0ys.js → form-sm06k54w.js} +3 -3
- package/dist/chunks/{form-nrkkswm5.js → form-spjexxm5.js} +4 -4
- package/dist/chunks/{form-watd9xyc.js → form-sqmtsnc0.js} +18 -18
- package/dist/chunks/{form-v5n206yn.js → form-sre2qj4k.js} +1 -1
- package/dist/chunks/{form-0xn3qqfa.js → form-srrmv808.js} +6 -6
- package/dist/chunks/{form-3n7gb103.js → form-sx2yhfq6.js} +2 -2
- package/dist/chunks/{form-557a5d2x.js → form-sx5cm6q5.js} +10 -10
- package/dist/chunks/{form-c6w2rarq.js → form-t1dy5emn.js} +7 -7
- package/dist/chunks/{form-0cfnayfa.js → form-t1pcdn2a.js} +12 -12
- package/dist/chunks/{form-nq1mg43n.js → form-t48jrnqq.js} +2 -2
- package/dist/chunks/{form-k1er6ch8.js → form-t5fmgy39.js} +8 -8
- package/dist/chunks/{form-a6a793ff.js → form-t7pxmh1n.js} +5 -5
- package/dist/chunks/{form-hqfcqev6.js → form-t7zcy0tw.js} +4 -4
- package/dist/chunks/{form-9c85yqf9.js → form-tb44hknz.js} +15 -15
- package/dist/chunks/{form-86n7trx6.js → form-tf9vm30n.js} +6 -6
- package/dist/chunks/{form-160yv0cs.js → form-tg1vr1qt.js} +7 -7
- package/dist/chunks/{form-z3x6r1x7.js → form-thtgp2wh.js} +43 -43
- package/dist/chunks/{form-mfnmbggz.js → form-trsw7mcc.js} +30 -30
- package/dist/chunks/{form-xngxe0eg.js → form-twm7m2ma.js} +15 -15
- package/dist/chunks/{form-04g95qft.js → form-v2abt96x.js} +13 -13
- package/dist/chunks/{form-rwpydztv.js → form-v8nw92bz.js} +42 -42
- package/dist/chunks/{form-p4ymwxb0.js → form-vbngttk8.js} +28 -28
- package/dist/chunks/{form-jtq42j1x.js → form-vedxzeza.js} +10 -10
- package/dist/chunks/{form-t4qpp180.js → form-vg4q9z25.js} +5 -5
- package/dist/chunks/{form-qh5g3qaw.js → form-vq0qa3sh.js} +7 -7
- package/dist/chunks/{form-v2x06h94.js → form-vrw307mm.js} +6 -6
- package/dist/chunks/{form-facq85rr.js → form-w5sfctq3.js} +5 -5
- package/dist/chunks/{form-wr3re1en.js → form-w687dnns.js} +3 -3
- package/dist/chunks/{form-za1h6cmh.js → form-w7jfwa7t.js} +3 -3
- package/dist/chunks/{form-ta8ftn0r.js → form-w99myxkr.js} +3 -3
- package/dist/chunks/{form-gz1tw812.js → form-w9gbtwvg.js} +13 -13
- package/dist/chunks/{form-qt3tdkb6.js → form-wd2p9ady.js} +10 -10
- package/dist/chunks/{form-5k4n6v37.js → form-weqc7sb9.js} +3 -3
- package/dist/chunks/{form-k3cx6fhe.js → form-wfdx5ztx.js} +3 -3
- package/dist/chunks/{form-055bjmn7.js → form-wm4c88gv.js} +11 -11
- package/dist/chunks/{form-kfb05gh2.js → form-xa7agtm7.js} +22 -22
- package/dist/chunks/{form-cnf1d5bk.js → form-xaynk9n5.js} +11 -11
- package/dist/chunks/{form-xz2tvs09.js → form-xbknznh5.js} +5 -5
- package/dist/chunks/{form-4pgz2acm.js → form-xcg3rj9z.js} +13 -13
- package/dist/chunks/{form-pc4htsrk.js → form-xdnd5bjh.js} +4 -4
- package/dist/chunks/{form-agbyznsk.js → form-xhkbh2m4.js} +13 -13
- package/dist/chunks/{form-xxschbft.js → form-xjr6c8m4.js} +3 -3
- package/dist/chunks/{form-63xym3gh.js → form-xmx7xj34.js} +3 -3
- package/dist/chunks/{form-9b6aqs4r.js → form-xt638z52.js} +27 -27
- package/dist/chunks/{form-n320gsn2.js → form-xvn8mnch.js} +3 -3
- package/dist/chunks/{form-br5fknxr.js → form-xypxsy7p.js} +10 -10
- package/dist/chunks/{form-19t5ypyb.js → form-y1knm9fe.js} +31 -31
- package/dist/chunks/{form-301m5qae.js → form-y3wh9epp.js} +26 -26
- package/dist/chunks/{form-zz290ktj.js → form-yes8byrk.js} +28 -28
- package/dist/chunks/{form-pw67yfsm.js → form-ygjw22g4.js} +7 -7
- package/dist/chunks/{form-fs8wbmmk.js → form-yhmtfygm.js} +3 -3
- package/dist/chunks/{form-v33b7p49.js → form-yje62p5e.js} +6 -6
- package/dist/chunks/{form-hv52nxmr.js → form-yse1kzrm.js} +77 -77
- package/dist/chunks/{form-hm5bfe36.js → form-ytj9msyr.js} +25 -25
- package/dist/chunks/{form-brwzaxyz.js → form-z36g0r9d.js} +9 -9
- package/dist/chunks/{form-ccj5vgdx.js → form-z7yksqyp.js} +39 -39
- package/dist/chunks/{form-25q2essn.js → form-zdewxzj9.js} +33 -33
- package/dist/chunks/{form-v7k8qgpv.js → form-zgq5ynfz.js} +6 -6
- package/dist/chunks/{form-0db0r454.js → form-zkf772vp.js} +19 -19
- package/dist/chunks/{form-by8ty0bx.js → form-zpdbqgja.js} +3 -3
- package/dist/codemode/fetch.js +106 -106
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +112 -112
- package/dist/command.js +71 -71
- package/dist/config/discovery.js +66 -66
- package/dist/config/integration.js +3 -3
- package/dist/config/normalize.js +80 -80
- package/dist/config/plugin/agent.js +95 -95
- package/dist/config/plugin/command.js +185 -185
- package/dist/config/plugin/compaction.js +127 -127
- package/dist/config/plugin/compatibility.js +110 -110
- package/dist/config/plugin/formatter.js +94 -94
- package/dist/config/plugin/image.js +93 -93
- package/dist/config/plugin/instruction.js +93 -93
- package/dist/config/plugin/location-watcher.js +93 -93
- package/dist/config/plugin/mcp.js +105 -105
- package/dist/config/plugin/policy.js +93 -93
- package/dist/config/plugin/provider.js +93 -93
- package/dist/config/plugin/reference.js +94 -94
- package/dist/config/plugin/shell.js +95 -95
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill.js +113 -113
- package/dist/config/plugin/snapshot.js +93 -93
- package/dist/config/plugin/source.js +96 -96
- package/dist/config/plugin/tool-output.js +93 -93
- package/dist/config/plugin/websearch.js +94 -94
- package/dist/config/plugin/worktree.js +94 -94
- package/dist/config.js +93 -93
- package/dist/console-access.js +3 -3
- package/dist/credential.js +64 -64
- package/dist/database/database.js +58 -58
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +57 -57
- package/dist/database/v1-migration.bun.js +21 -21
- package/dist/effect/app-node-builder.js +278 -278
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +73 -73
- package/dist/environment/index.js +74 -74
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +117 -117
- package/dist/file-mutation.js +75 -75
- package/dist/file-write.js +120 -120
- package/dist/filesystem/file-watch.js +13 -13
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +199 -199
- package/dist/filesystem/search.js +78 -78
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +79 -79
- package/dist/flag.js +93 -93
- package/dist/form.js +65 -65
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +71 -71
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +74 -74
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +75 -75
- package/dist/instructions/builtins.js +70 -70
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +68 -68
- package/dist/job/list.js +3 -3
- package/dist/job/recovery.js +2 -2
- package/dist/job.js +68 -68
- package/dist/kv.js +63 -63
- package/dist/location-activity.js +76 -76
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +70 -70
- package/dist/location-services.js +360 -360
- package/dist/location.js +69 -69
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +52 -52
- package/dist/mcp/connection.js +73 -73
- package/dist/mcp/index.js +86 -86
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +11 -11
- package/dist/mcp/pool.js +75 -75
- package/dist/mcp/stdio.js +114 -114
- package/dist/modal/models.js +74 -74
- package/dist/model-resolver.js +79 -79
- package/dist/model.js +79 -79
- package/dist/models-dev.js +90 -90
- package/dist/permission/saved.js +69 -69
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty.js +62 -62
- package/dist/plugin/agent.js +66 -66
- package/dist/plugin/command.js +85 -85
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +192 -192
- package/dist/plugin/identity.js +4 -4
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +339 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +79 -79
- package/dist/plugin/module.js +92 -92
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +108 -108
- package/dist/plugin/provider/amazon-bedrock.js +76 -76
- package/dist/plugin/provider/azure.js +97 -97
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/claude-agent/aisdk.js +85 -85
- package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
- package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
- package/dist/plugin/provider/claude-agent/index.js +106 -106
- package/dist/plugin/provider/claude-agent/instructions.js +81 -81
- package/dist/plugin/provider/claude-agent/integration.js +82 -82
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +79 -79
- package/dist/plugin/provider/claude-agent/session.js +80 -80
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
- package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +94 -94
- package/dist/plugin/provider/cloudflare-workers-ai.js +94 -94
- package/dist/plugin/provider/configured.js +90 -90
- package/dist/plugin/provider/credential-settings.js +66 -66
- package/dist/plugin/provider/digitalocean.js +78 -78
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +78 -78
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/llmgateway.js +67 -67
- package/dist/plugin/provider/lmstudio.js +100 -100
- package/dist/plugin/provider/local.js +97 -97
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/ollama.js +100 -100
- package/dist/plugin/provider/openai-context-caps.js +76 -76
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +116 -116
- package/dist/plugin/provider/openrouter.js +74 -74
- package/dist/plugin/provider/poe.js +67 -67
- package/dist/plugin/provider/refresh.js +65 -65
- package/dist/plugin/provider/sap-ai-core.js +73 -73
- package/dist/plugin/provider/snowflake-cortex.js +94 -94
- package/dist/plugin/provider/vllm.js +100 -100
- package/dist/plugin/provider/xai.js +74 -74
- package/dist/plugin/provider.js +180 -180
- package/dist/plugin/sdk.js +67 -67
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +111 -111
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +70 -70
- package/dist/plugin/vcs/hg.js +70 -70
- package/dist/plugin/verbosity.js +76 -76
- package/dist/plugin/warming.js +93 -93
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +201 -201
- package/dist/project/schema.js +5 -5
- package/dist/project.js +70 -70
- package/dist/provider.js +78 -78
- package/dist/pty.js +84 -84
- package/dist/reference/instructions.js +74 -74
- package/dist/reference.js +73 -73
- package/dist/repository-cache.js +68 -68
- package/dist/ripgrep.js +77 -77
- package/dist/rpc.js +70 -70
- package/dist/schedule/check.js +196 -196
- package/dist/schedule.js +209 -209
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +93 -93
- package/dist/session/command.js +64 -64
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +70 -70
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +122 -122
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +99 -99
- package/dist/session/inbox.js +106 -106
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +63 -63
- package/dist/session/instructions.js +106 -106
- package/dist/session/model-request.js +127 -127
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +104 -104
- package/dist/session/prompt.js +109 -109
- package/dist/session/revert.js +102 -102
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +204 -204
- package/dist/session/runner/model.js +82 -82
- package/dist/session/runner/publish-llm-event.js +111 -111
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +100 -100
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +142 -142
- package/dist/session/shell.js +103 -103
- package/dist/session/skill.js +109 -109
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +105 -105
- package/dist/session/stored.js +3 -3
- package/dist/session/subagent-job.js +184 -184
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +122 -122
- package/dist/session/usage.js +3 -3
- package/dist/session.js +190 -190
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +104 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +113 -113
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +75 -75
- package/dist/tool/mcp.js +140 -140
- package/dist/tool/plugin/artifact.js +183 -183
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/glob.js +127 -127
- package/dist/tool/plugin/grep.js +128 -128
- package/dist/tool/plugin/image-generate.js +193 -193
- package/dist/tool/plugin/mcp-resource.js +123 -123
- package/dist/tool/plugin/opencode.js +123 -123
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/schedule.js +200 -200
- package/dist/tool/plugin/shell.js +190 -190
- package/dist/tool/plugin/skill.js +117 -117
- package/dist/tool/plugin/subagent.js +191 -191
- package/dist/tool/plugin/todo.js +114 -114
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +80 -80
- package/dist/tool/search.js +74 -74
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +114 -114
- package/dist/usage-limits.js +76 -76
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/migrate.js +74 -74
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +76 -76
- package/dist/vcs.js +71 -71
- package/dist/voice.js +77 -77
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +65 -65
- package/dist/wellknown.js +66 -66
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +72 -72
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/strategies.js +72 -72
- package/dist/worktree.js +82 -82
- package/package.json +9 -9
- package/dist/chunks/form-0pnkskv6.js +0 -26
- package/dist/chunks/form-k4zrb1y4.js +0 -265
- /package/dist/chunks/{form-y3rv9zjk.js → form-0aqjddd3.js} +0 -0
- /package/dist/chunks/{form-xd9kb7g5.js → form-22bgjs7d.js} +0 -0
- /package/dist/chunks/{form-n9st2s08.js → form-2mf0etys.js} +0 -0
- /package/dist/chunks/{form-80mg3ag8.js → form-775hqbnd.js} +0 -0
- /package/dist/chunks/{form-gveczaxv.js → form-8jrrxtbx.js} +0 -0
- /package/dist/chunks/{form-ze75qvmd.js → form-j9nxzz3g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./form-
|
|
3
|
+
} from "./form-k1ngrrvr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./form-
|
|
5
|
+
Service44
|
|
6
|
+
} from "./form-139nhzzp.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./form-
|
|
9
|
+
} from "./form-dkpjsqx5.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
12
|
} from "./form-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./form-
|
|
15
|
+
} from "./form-t7pxmh1n.js";
|
|
16
16
|
import {
|
|
17
17
|
Error2
|
|
18
|
-
} from "./form-
|
|
18
|
+
} from "./form-8rg9h9rf.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./form-
|
|
20
|
+
Service57
|
|
21
|
+
} from "./form-19b2ztj7.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./form-
|
|
24
|
+
} from "./form-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./form-
|
|
27
|
+
} from "./form-sre2qj4k.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./form-
|
|
30
|
+
} from "./form-ckn0kvtp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./form-9rqn6x4v.js";
|
|
@@ -37,7 +37,7 @@ var exports_step = {};
|
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make18
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -50,11 +50,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
50
50
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
51
51
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
52
52
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
53
|
-
var
|
|
53
|
+
var make18 = Effect.gen(function* () {
|
|
54
54
|
const bus = yield* Service91;
|
|
55
55
|
const llm = yield* LLMClient.Service;
|
|
56
|
-
const snapshots = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const snapshots = yield* Service44;
|
|
57
|
+
const toolOutput = yield* Service57;
|
|
58
58
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
59
59
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
60
60
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -231,4 +231,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
231
231
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
232
232
|
};
|
|
233
233
|
|
|
234
|
-
export { Outcome2,
|
|
234
|
+
export { Outcome2, make18, exports_step };
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service34, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer15, node38, exports_model_transport };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./form-
|
|
4
|
+
} from "./form-7ypjkqw5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service91,
|
|
7
7
|
node95
|
|
8
|
-
} from "./form-
|
|
8
|
+
} from "./form-k1ngrrvr.js";
|
|
9
9
|
import {
|
|
10
10
|
create4
|
|
11
11
|
} from "./form-40y6dtc2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./form-
|
|
13
|
+
ID12,
|
|
14
|
+
Service72,
|
|
15
|
+
node74
|
|
16
|
+
} from "./form-f8vchc90.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
19
|
} from "./form-0ma9gw4f.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
join2
|
|
22
22
|
} from "./form-n3j33rb6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./form-
|
|
24
|
+
Service80,
|
|
25
|
+
node84
|
|
26
|
+
} from "./form-kmgb3tdh.js";
|
|
27
27
|
import {
|
|
28
28
|
estimate2
|
|
29
29
|
} from "./form-8wtp7s3z.js";
|
|
@@ -38,35 +38,35 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
isNativeCompaction2,
|
|
40
40
|
load6
|
|
41
|
-
} from "./form-
|
|
41
|
+
} from "./form-a9vajmgg.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./form-
|
|
43
|
+
Service54,
|
|
44
|
+
node56
|
|
45
|
+
} from "./form-ac3czqys.js";
|
|
46
46
|
import {
|
|
47
47
|
toSessionError2,
|
|
48
48
|
contentFilterError2
|
|
49
|
-
} from "./form-
|
|
49
|
+
} from "./form-t7pxmh1n.js";
|
|
50
50
|
import {
|
|
51
51
|
toLLMMessages2
|
|
52
|
-
} from "./form-
|
|
52
|
+
} from "./form-82p7ywwd.js";
|
|
53
53
|
import {
|
|
54
54
|
outputLimit2,
|
|
55
55
|
baseTranscript2,
|
|
56
56
|
unsupportedParts2,
|
|
57
57
|
boundImages2,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./form-
|
|
58
|
+
Service33,
|
|
59
|
+
node37
|
|
60
|
+
} from "./form-g63xhc1v.js";
|
|
61
61
|
import {
|
|
62
62
|
isRetryable2,
|
|
63
63
|
policy2
|
|
64
|
-
} from "./form-
|
|
64
|
+
} from "./form-ckn0kvtp.js";
|
|
65
65
|
import {
|
|
66
66
|
calculateCost2,
|
|
67
67
|
record2,
|
|
68
68
|
add2
|
|
69
|
-
} from "./form-
|
|
69
|
+
} from "./form-4f25tdd0.js";
|
|
70
70
|
import {
|
|
71
71
|
__export
|
|
72
72
|
} from "./form-9rqn6x4v.js";
|
|
@@ -74,13 +74,13 @@ import {
|
|
|
74
74
|
// src/session/compaction.ts
|
|
75
75
|
var exports_compaction2 = {};
|
|
76
76
|
__export(exports_compaction2, {
|
|
77
|
-
Service: () =>
|
|
77
|
+
Service: () => Service9,
|
|
78
78
|
SessionCompaction: () => exports_compaction2,
|
|
79
79
|
buildPrompt: () => buildPrompt2,
|
|
80
80
|
estimateContext: () => estimateContext2,
|
|
81
81
|
estimatePrompt: () => estimatePrompt2,
|
|
82
|
-
layer: () =>
|
|
83
|
-
node: () =>
|
|
82
|
+
layer: () => layer7,
|
|
83
|
+
node: () => node11,
|
|
84
84
|
recentUserMessages: () => recentUserMessages2
|
|
85
85
|
});
|
|
86
86
|
import {
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "@opencode/ai/effect";
|
|
96
96
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
97
97
|
import { Clock, Context, DateTime, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
98
|
-
class
|
|
98
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
99
99
|
}
|
|
100
100
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
101
101
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -186,14 +186,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
186
186
|
};
|
|
187
187
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
188
188
|
var LEGACY_HEADING = "## Additional Context";
|
|
189
|
-
var
|
|
190
|
-
const agents = yield*
|
|
189
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
190
|
+
const agents = yield* Service72;
|
|
191
191
|
const bus = yield* Service91;
|
|
192
192
|
const llm = yield* LLMClient.Service;
|
|
193
|
-
const catalog = yield*
|
|
194
|
-
const models = yield*
|
|
193
|
+
const catalog = yield* Service80;
|
|
194
|
+
const models = yield* Service54;
|
|
195
195
|
const db = (yield* Service92).db;
|
|
196
|
-
const requests = yield*
|
|
196
|
+
const requests = yield* Service33;
|
|
197
197
|
const scope = yield* Scope.Scope;
|
|
198
198
|
const precomputed = new Map;
|
|
199
199
|
const state = create4({
|
|
@@ -206,7 +206,7 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
206
206
|
})
|
|
207
207
|
});
|
|
208
208
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
209
|
-
const agent = native ? undefined : yield* agents.get(
|
|
209
|
+
const agent = native ? undefined : yield* agents.get(ID12.make("compaction"));
|
|
210
210
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
211
211
|
return;
|
|
212
212
|
})))) ?? context.model;
|
|
@@ -588,17 +588,17 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
588
588
|
}, { metadata: outcome.metadata });
|
|
589
589
|
return { status: "completed" };
|
|
590
590
|
});
|
|
591
|
-
return
|
|
591
|
+
return Service9.of({
|
|
592
592
|
transform: state.transform,
|
|
593
593
|
reload: state.reload,
|
|
594
594
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
595
595
|
precompute
|
|
596
596
|
});
|
|
597
597
|
}));
|
|
598
|
-
var
|
|
599
|
-
service:
|
|
600
|
-
layer:
|
|
601
|
-
deps: [
|
|
598
|
+
var node11 = makeLocationNode({
|
|
599
|
+
service: Service9,
|
|
600
|
+
layer: layer7,
|
|
601
|
+
deps: [node74, node95, node96, llmClient2, node84, node37, node56]
|
|
602
602
|
});
|
|
603
603
|
var heldIndex = (held, context) => {
|
|
604
604
|
if (held.firstID !== context.messages[0]?.id || held.initial !== join2(context.initial))
|
|
@@ -797,4 +797,4 @@ var estimateMedia = (mime) => {
|
|
|
797
797
|
return 0;
|
|
798
798
|
};
|
|
799
799
|
|
|
800
|
-
export {
|
|
800
|
+
export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./form-
|
|
4
|
+
} from "./form-k1ngrrvr.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
AbsolutePath2
|
|
14
14
|
} from "./form-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./form-
|
|
16
|
+
Service38,
|
|
17
|
+
node42
|
|
18
|
+
} from "./form-qf4h7f4y.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
@@ -27,31 +27,31 @@ import {
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event7,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
32
|
Info: () => Info10,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service37,
|
|
36
36
|
Source: () => Source3,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node41
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source3 = Reference.Source;
|
|
47
47
|
var Info10 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service37 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service91;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service38;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service37.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node41 = makeLocationNode({
|
|
117
|
+
service: Service37,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node95,
|
|
119
|
+
deps: [Global.node, node95, node42]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source3, Info10,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info10, Service37, node41, exports_reference2, Event7 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./form-
|
|
4
|
+
} from "./form-s974wghs.js";
|
|
5
5
|
import {
|
|
6
6
|
ID15,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info23,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./form-
|
|
10
|
+
} from "./form-kmgb3tdh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./form-9rqn6x4v.js";
|
|
@@ -87,8 +87,8 @@ function limit(value, fallback) {
|
|
|
87
87
|
function build(id, remote, baseURL, previous) {
|
|
88
88
|
const cost = previous?.cost[0];
|
|
89
89
|
const input = previous?.limit.input;
|
|
90
|
-
return
|
|
91
|
-
...
|
|
90
|
+
return Info23.make({
|
|
91
|
+
...Info23.default(providerID, id),
|
|
92
92
|
id,
|
|
93
93
|
modelID: ID15.make(remote.id),
|
|
94
94
|
providerID,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service76
|
|
4
|
-
} from "./form-
|
|
4
|
+
} from "./form-dszjwkzq.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveModel2
|
|
7
|
-
} from "./form-
|
|
7
|
+
} from "./form-7nqkf5r1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./form-9rqn6x4v.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
// src/plugin/warming.ts
|
|
13
13
|
var exports_warming = {};
|
|
14
14
|
__export(exports_warming, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin24,
|
|
16
16
|
WarmingPlugin: () => exports_warming
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var defaults = {
|
|
|
24
24
|
interval: Duration.minutes(4),
|
|
25
25
|
duration: Duration.minutes(30)
|
|
26
26
|
};
|
|
27
|
-
var
|
|
27
|
+
var Plugin24 = define({
|
|
28
28
|
id: "opencode.warming",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
30
|
const config = yield* Service76;
|
|
@@ -144,4 +144,4 @@ function autoInterval(ttl) {
|
|
|
144
144
|
return Duration.millis(Number(match[1]) * units[match[2]] * 0.9);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { Plugin24, exports_warming };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./form-
|
|
3
|
+
} from "./form-k1ngrrvr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
Event14
|
|
7
|
-
} from "./form-
|
|
7
|
+
} from "./form-wd2p9ady.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./form-9rqn6x4v.js";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin54,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin54 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service91;
|
|
@@ -45,4 +45,4 @@ var Plugin36 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin54, exports_plugin };
|
|
@@ -13,7 +13,7 @@ var exports_retry = {};
|
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make19,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make19 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make19, exports_retry };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./form-
|
|
4
|
+
} from "./form-7ypjkqw5.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service91,
|
|
8
8
|
node95
|
|
9
|
-
} from "./form-
|
|
9
|
+
} from "./form-k1ngrrvr.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
12
|
} from "./form-0ma9gw4f.js";
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
} from "./form-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./form-
|
|
18
|
+
} from "./form-a9vajmgg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./form-
|
|
20
|
+
Service71,
|
|
21
|
+
node73
|
|
22
|
+
} from "./form-qn3nex76.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./form-
|
|
24
|
+
Service24,
|
|
25
|
+
node29
|
|
26
|
+
} from "./form-yse1kzrm.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./form-
|
|
30
|
+
} from "./form-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./form-9rqn6x4v.js";
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service7,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node9
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service7 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service91;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service24;
|
|
79
|
+
const store = yield* Service71;
|
|
80
80
|
const db = (yield* Service92).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -158,12 +158,12 @@ Recent conversation:
|
|
|
158
158
|
title: truncate(title)
|
|
159
159
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
160
160
|
});
|
|
161
|
-
return
|
|
161
|
+
return Service7.of({ generate });
|
|
162
162
|
}));
|
|
163
|
-
var
|
|
164
|
-
service:
|
|
165
|
-
layer:
|
|
166
|
-
deps: [node95, llmClient2,
|
|
163
|
+
var node9 = makeLocationNode({
|
|
164
|
+
service: Service7,
|
|
165
|
+
layer: layer5,
|
|
166
|
+
deps: [node95, llmClient2, node29, node73, node96]
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
export {
|
|
169
|
+
export { Service7, isUntitled2, layer5, node9, exports_title };
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
makeLocalDriver2
|
|
6
6
|
} from "./form-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./form-
|
|
8
|
+
Service68
|
|
9
|
+
} from "./form-7hqvmvs7.js";
|
|
10
10
|
import {
|
|
11
11
|
fingerprint2
|
|
12
|
-
} from "./form-
|
|
12
|
+
} from "./form-495vdj1c.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./form-
|
|
14
|
+
make26
|
|
15
|
+
} from "./form-t1dy5emn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./form-9rqn6x4v.js";
|
|
@@ -24,7 +24,7 @@ __export(exports_pool, {
|
|
|
24
24
|
Service: () => Service36,
|
|
25
25
|
key: () => key2,
|
|
26
26
|
layer: () => layer17,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node40
|
|
28
28
|
});
|
|
29
29
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -65,7 +65,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
65
65
|
const scope = yield* Effect.scope;
|
|
66
66
|
const run = yield* FiberSet.makeRuntime();
|
|
67
67
|
const driver = makeLocalDriver2(yield* ChildProcessSpawner);
|
|
68
|
-
const host =
|
|
68
|
+
const host = Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
70
70
|
const slots = new Map;
|
|
71
71
|
const unpoolable = new Set;
|
|
@@ -77,7 +77,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
77
77
|
lock: Semaphore.makeUnsafe(1),
|
|
78
78
|
outcome: Deferred.makeUnsafe(),
|
|
79
79
|
connected: false,
|
|
80
|
-
connection:
|
|
80
|
+
connection: make26({
|
|
81
81
|
name: input.name,
|
|
82
82
|
config: input.config,
|
|
83
83
|
directory: input.directory,
|
|
@@ -179,7 +179,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
179
179
|
});
|
|
180
180
|
const connection = (input) => {
|
|
181
181
|
const state = {};
|
|
182
|
-
const privately = (config) =>
|
|
182
|
+
const privately = (config) => make26({
|
|
183
183
|
...input,
|
|
184
184
|
config,
|
|
185
185
|
authProvider: Effect.suspend(() => state.selected?.authProvider ?? input.authProvider)
|
|
@@ -265,6 +265,6 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
265
265
|
};
|
|
266
266
|
return Service36.of({ connection });
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
268
|
+
var node40 = makeGlobalNode({ service: Service36, layer: layer17, deps: [CrossSpawnSpawner.node, httpFetch] });
|
|
269
269
|
|
|
270
|
-
export { Service36, key2, layer17,
|
|
270
|
+
export { Service36, key2, layer17, node40, exports_pool };
|