@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
|
@@ -3,42 +3,42 @@ import {
|
|
|
3
3
|
} from "./form-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./form-
|
|
6
|
+
Service80
|
|
7
|
+
} from "./form-kmgb3tdh.js";
|
|
8
8
|
import {
|
|
9
9
|
Service76
|
|
10
|
-
} from "./form-
|
|
10
|
+
} from "./form-dszjwkzq.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
13
|
} from "./form-mm06edep.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./form-
|
|
15
|
+
Service68
|
|
16
|
+
} from "./form-7hqvmvs7.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
19
|
} from "./form-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./form-
|
|
22
|
+
Service69
|
|
23
|
+
} from "./form-thtgp2wh.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./form-
|
|
25
|
+
Service67
|
|
26
|
+
} from "./form-djtzg767.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./form-
|
|
28
|
+
Service58
|
|
29
|
+
} from "./form-7cwm169k.js";
|
|
30
30
|
import {
|
|
31
31
|
text2
|
|
32
32
|
} from "./form-8b3vzgkx.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./form-
|
|
34
|
+
Service53
|
|
35
|
+
} from "./form-k4efmry4.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
38
|
} from "./form-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./form-
|
|
40
|
+
Service22
|
|
41
|
+
} from "./form-dnk8746q.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
44
|
} from "./form-3v8g72cx.js";
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
var exports_image_generate = {};
|
|
51
51
|
__export(exports_image_generate, {
|
|
52
52
|
ImageGenerateTool: () => exports_image_generate,
|
|
53
|
-
Input: () =>
|
|
53
|
+
Input: () => Input12,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
|
-
Output: () =>
|
|
56
|
-
Plugin: () =>
|
|
55
|
+
Output: () => Output8,
|
|
56
|
+
Plugin: () => Plugin16,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
|
-
description: () =>
|
|
59
|
-
name: () =>
|
|
58
|
+
description: () => description6,
|
|
59
|
+
name: () => name12
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
62
62
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
65
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
66
66
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
67
|
-
var
|
|
67
|
+
var name12 = "experimental_image_generate";
|
|
68
68
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
69
69
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
70
70
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -75,7 +75,7 @@ var EXTENSIONS = {
|
|
|
75
75
|
"image/webp": ".webp",
|
|
76
76
|
"image/gif": ".gif"
|
|
77
77
|
};
|
|
78
|
-
var
|
|
78
|
+
var description6 = [
|
|
79
79
|
"Generates a new image, or edits existing ones.",
|
|
80
80
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
81
81
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -84,7 +84,7 @@ var description2 = [
|
|
|
84
84
|
"Don't repeat a request unless the user asks."
|
|
85
85
|
].join(`
|
|
86
86
|
`);
|
|
87
|
-
var
|
|
87
|
+
var Input12 = Schema.Struct({
|
|
88
88
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
89
89
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
90
90
|
}),
|
|
@@ -98,25 +98,25 @@ var Input3 = Schema.Struct({
|
|
|
98
98
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
-
var
|
|
101
|
+
var Output8 = Schema.Struct({
|
|
102
102
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin16 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service67;
|
|
110
|
+
const environment = yield* Service68;
|
|
111
|
+
const generate = yield* Service58;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
114
|
const config = yield* Service76;
|
|
115
|
-
const jobs = yield*
|
|
115
|
+
const jobs = yield* Service53;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const models = yield*
|
|
119
|
-
const permission = yield*
|
|
117
|
+
const sessions = yield* Service22;
|
|
118
|
+
const models = yield* Service80;
|
|
119
|
+
const permission = yield* Service69;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -201,7 +201,7 @@ var Plugin20 = {
|
|
|
201
201
|
state: info.status,
|
|
202
202
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
203
203
|
}),
|
|
204
|
-
metadata: { source:
|
|
204
|
+
metadata: { source: name12, jobID: input.id, state: info.status, path: input.file }
|
|
205
205
|
});
|
|
206
206
|
yield* jobs.completeBackground(input.notificationID);
|
|
207
207
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -220,11 +220,11 @@ var Plugin20 = {
|
|
|
220
220
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
221
221
|
return;
|
|
222
222
|
editor.add({
|
|
223
|
-
name:
|
|
223
|
+
name: name12,
|
|
224
224
|
options: { codemode: false },
|
|
225
|
-
description:
|
|
226
|
-
input:
|
|
227
|
-
output:
|
|
225
|
+
description: description6,
|
|
226
|
+
input: Input12,
|
|
227
|
+
output: Output8,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
229
229
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
230
230
|
const model = resolved.model;
|
|
@@ -233,7 +233,7 @@ var Plugin20 = {
|
|
|
233
233
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
234
234
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name12,
|
|
237
237
|
resources: [ref],
|
|
238
238
|
save: ["*"],
|
|
239
239
|
metadata: { ...input, model: ref },
|
|
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
|
|
|
287
287
|
yield* jobs.start({
|
|
288
288
|
id,
|
|
289
289
|
notificationID,
|
|
290
|
-
type:
|
|
290
|
+
type: name12,
|
|
291
291
|
title: input.prompt,
|
|
292
292
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
293
293
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, MAX_INPUT_BYTES2, description6, Input12, Output8, Plugin16, defaultModel2, exports_image_generate };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77,
|
|
3
|
-
|
|
4
|
-
} from "./form-
|
|
3
|
+
node81
|
|
4
|
+
} from "./form-nc4w622v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./form-
|
|
6
|
+
Service88,
|
|
7
|
+
node92
|
|
8
|
+
} from "./form-xcg3rj9z.js";
|
|
9
9
|
import {
|
|
10
10
|
Service76,
|
|
11
|
-
|
|
12
|
-
} from "./form-
|
|
11
|
+
node80
|
|
12
|
+
} from "./form-dszjwkzq.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
var exports_source = {};
|
|
26
26
|
__export(exports_source, {
|
|
27
27
|
ConfigPluginSource: () => exports_source,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service12,
|
|
29
29
|
empty: () => empty2,
|
|
30
|
-
layer: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
layer: () => layer8,
|
|
31
|
+
node: () => node14
|
|
32
32
|
});
|
|
33
33
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
34
34
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -36,13 +36,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
36
36
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
39
|
-
class
|
|
39
|
+
class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
41
|
+
var layer8 = Layer.effect(Service12, Effect.gen(function* () {
|
|
42
42
|
const config = yield* Service76;
|
|
43
43
|
const watcher = yield* Service77;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
|
-
const location = yield*
|
|
45
|
+
const location = yield* Service88;
|
|
46
46
|
const configuredChanges = yield* PubSub.unbounded();
|
|
47
47
|
const watched = new Set;
|
|
48
48
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -61,7 +61,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
61
61
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
return
|
|
64
|
+
return Service12.of({
|
|
65
65
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
66
66
|
const entries = yield* config.entries();
|
|
67
67
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -73,14 +73,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
73
73
|
})), Stream.fromPubSub(configuredChanges))
|
|
74
74
|
});
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node14 = makeLocationNode({
|
|
77
|
+
service: Service12,
|
|
78
|
+
layer: layer8,
|
|
79
|
+
deps: [node80, FSUtil.node, node81, node92]
|
|
80
80
|
});
|
|
81
81
|
var empty2 = makeLocationNode({
|
|
82
|
-
service:
|
|
83
|
-
layer: Layer.succeed(
|
|
82
|
+
service: Service12,
|
|
83
|
+
layer: Layer.succeed(Service12, Service12.of({
|
|
84
84
|
operations: () => Effect.succeed([]),
|
|
85
85
|
changes: () => Stream.never
|
|
86
86
|
})),
|
|
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
|
|
|
138
138
|
})).pipe(Effect.map((operations) => operations.flat()));
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service12, layer8, node14, empty2, exports_source };
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
10
10
|
__export(exports_stored, {
|
|
11
|
-
File: () =>
|
|
11
|
+
File: () => File2,
|
|
12
12
|
FileRef: () => FileRef2,
|
|
13
13
|
Ref: () => Ref2,
|
|
14
14
|
SessionStored: () => exports_stored,
|
|
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
|
|
|
28
28
|
var ref2 = (hash) => `media:${hash}`;
|
|
29
29
|
var { data: _, ...attachment } = FileAttachment.fields;
|
|
30
30
|
var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
|
|
31
|
-
var
|
|
31
|
+
var File2 = Schema.Union([FileAttachment, FileRef2]);
|
|
32
32
|
var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
|
|
33
|
-
var files = Schema.Array(
|
|
33
|
+
var files = Schema.Array(File2).pipe(optional);
|
|
34
34
|
var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
|
|
35
35
|
var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
|
|
36
36
|
|
|
37
|
-
export { Ref2, refHash2, ref2, FileRef2,
|
|
37
|
+
export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
var exports_pending = {};
|
|
7
7
|
__export(exports_pending, {
|
|
8
8
|
PendingTools: () => exports_pending,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make6
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make6() {
|
|
12
12
|
const calls = new Map;
|
|
13
13
|
const replacements = new Map;
|
|
14
14
|
let next;
|
|
@@ -64,4 +64,4 @@ function make10() {
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export {
|
|
67
|
+
export { make6, exports_pending };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./form-
|
|
2
|
+
Service69
|
|
3
|
+
} from "./form-thtgp2wh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service40
|
|
6
6
|
} from "./form-2jjfs7g5.js";
|
|
@@ -31,7 +31,7 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
|
|
|
31
31
|
parsed.hash = "";
|
|
32
32
|
const url = parsed.href;
|
|
33
33
|
const execution = yield* Service40;
|
|
34
|
-
const permission = yield*
|
|
34
|
+
const permission = yield* Service69;
|
|
35
35
|
const source = { type: "tool", messageID: execution.messageID, id: execution.id };
|
|
36
36
|
yield* permission.assert({
|
|
37
37
|
action: "webfetch",
|
|
@@ -10,7 +10,7 @@ __export(exports_console_access, {
|
|
|
10
10
|
configured: () => configured2,
|
|
11
11
|
defaultServer: () => defaultServer2,
|
|
12
12
|
headers: () => headers2,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node17,
|
|
14
14
|
server: () => server2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -19,7 +19,7 @@ var Options2 = Context.Reference("@opencode/ConsoleAccess/Options", {
|
|
|
19
19
|
defaultValue: () => ({ poll: true })
|
|
20
20
|
});
|
|
21
21
|
var configured2 = (options) => makeGlobalNode({ service: Options2, layer: Layer.succeed(Options2, { poll: options?.poll ?? true }), deps: [] });
|
|
22
|
-
var
|
|
22
|
+
var node17 = configured2();
|
|
23
23
|
var defaultServer2 = "https://opencode.ai/console";
|
|
24
24
|
function server2(value) {
|
|
25
25
|
const server = typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer2;
|
|
@@ -33,4 +33,4 @@ function headers2(value) {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export { Options2, configured2,
|
|
36
|
+
export { Options2, configured2, node17, defaultServer2, server2, headers2, exports_console_access };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./form-
|
|
3
|
+
} from "./form-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./form-9rqn6x4v.js";
|
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node4
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node4, exports_update };
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./form-
|
|
5
|
+
Service90,
|
|
6
|
+
node94
|
|
7
|
+
} from "./form-hzvjaebq.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
same2
|
|
13
13
|
} from "./form-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./form-
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./form-cvb39fh3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./form-9rqn6x4v.js";
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service38,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node42,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service38 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
var isError2 = Schema.is(Schema.Union([
|
|
96
96
|
InvalidBranchError2,
|
|
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
107
107
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
111
111
|
const fs = yield* FSUtil.Service;
|
|
112
|
-
const git = yield*
|
|
112
|
+
const git = yield* Service90;
|
|
113
113
|
const flock = yield* EffectFlock.Service;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
|
-
const kv = yield*
|
|
116
|
-
return
|
|
115
|
+
const kv = yield* Service79;
|
|
116
|
+
return Service38.of({
|
|
117
117
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
118
118
|
if (input.branch)
|
|
119
119
|
yield* validateBranch2(input.branch);
|
|
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
179
|
-
service:
|
|
178
|
+
var node42 = makeGlobalNode({
|
|
179
|
+
service: Service38,
|
|
180
180
|
layer,
|
|
181
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
181
|
+
deps: [EffectFlock.node, FSUtil.node, node94, Global.node, node83]
|
|
182
182
|
});
|
|
183
183
|
function errorMessage(error) {
|
|
184
184
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
187
187
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
190
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service38, isError2, validateBranch2, node42, exports_repository_cache };
|
|
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
|
|
|
8
8
|
AGENT_OPTION: () => AGENT_OPTION2,
|
|
9
9
|
ClaudeSystemPrompt: () => exports_system_prompt,
|
|
10
10
|
INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make10,
|
|
12
12
|
utility: () => utility2
|
|
13
13
|
});
|
|
14
14
|
var AGENT_OPTION2 = "claudeCodeAgent";
|
|
@@ -19,7 +19,7 @@ var primary = {
|
|
|
19
19
|
snapshot: false,
|
|
20
20
|
append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function make10(role, instructions) {
|
|
23
23
|
const blocks = [primary.append];
|
|
24
24
|
if (role)
|
|
25
25
|
blocks.push(`# Agent role (from OpenCode)
|
|
@@ -37,4 +37,4 @@ function utility2(prompt) {
|
|
|
37
37
|
`) || "You are a text generation helper. Return only the requested output.";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2,
|
|
40
|
+
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make10, utility2, exports_system_prompt };
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
// src/shell/select.ts
|
|
13
13
|
var exports_select = {};
|
|
14
14
|
__export(exports_select, {
|
|
15
|
-
Options: () =>
|
|
16
|
-
Service: () =>
|
|
15
|
+
Options: () => Options9,
|
|
16
|
+
Service: () => Service87,
|
|
17
17
|
ShellSelect: () => exports_select,
|
|
18
18
|
args: () => args2,
|
|
19
|
-
configured: () =>
|
|
19
|
+
configured: () => configured12,
|
|
20
20
|
environment: () => environment2,
|
|
21
21
|
gitbash: () => gitbash2,
|
|
22
22
|
list: () => list5,
|
|
23
23
|
login: () => login2,
|
|
24
24
|
name: () => name17,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node91,
|
|
26
26
|
ps: () => ps2,
|
|
27
|
-
resolve: () =>
|
|
27
|
+
resolve: () => resolve5
|
|
28
28
|
});
|
|
29
29
|
import path from "path";
|
|
30
30
|
import { readFile } from "fs/promises";
|
|
@@ -44,11 +44,11 @@ var META = {
|
|
|
44
44
|
sh: { login: true },
|
|
45
45
|
zsh: { login: true }
|
|
46
46
|
};
|
|
47
|
-
var
|
|
47
|
+
var Options9 = Schema.Struct({
|
|
48
48
|
gitbash: Schema.optional(Schema.String)
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service87 extends Context.Service()("@opencode/ShellSelect") {
|
|
52
52
|
}
|
|
53
53
|
function stat(file) {
|
|
54
54
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -165,7 +165,7 @@ function environment2(bin, filter) {
|
|
|
165
165
|
}
|
|
166
166
|
var defaultConfigured;
|
|
167
167
|
var defaultCompatible;
|
|
168
|
-
function
|
|
168
|
+
function resolve5(input, configShell, options, bin) {
|
|
169
169
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
170
170
|
if (configShell)
|
|
171
171
|
return select(configShell, options, filter, bin);
|
|
@@ -181,7 +181,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
181
181
|
defaultConfigured = { bin, value };
|
|
182
182
|
return value;
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
resolve5.reset = () => {
|
|
185
185
|
defaultConfigured = undefined;
|
|
186
186
|
defaultCompatible = undefined;
|
|
187
187
|
};
|
|
@@ -189,7 +189,7 @@ async function list5(options, bin) {
|
|
|
189
189
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
190
190
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
191
191
|
}
|
|
192
|
-
var layer = (options) => Layer.effect(
|
|
192
|
+
var layer = (options) => Layer.effect(Service87, Effect.gen(function* () {
|
|
193
193
|
const global = yield* Global.Service;
|
|
194
194
|
const state = create4({
|
|
195
195
|
name: "shell-select",
|
|
@@ -200,16 +200,16 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
200
200
|
}
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
|
-
return
|
|
203
|
+
return Service87.of({
|
|
204
204
|
transform: state.transform,
|
|
205
205
|
reload: state.reload,
|
|
206
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
+
resolve: (input) => Effect.sync(() => resolve5(input, state.get().shell, options, global.bin)),
|
|
207
207
|
list: () => Effect.promise(() => list5(options, global.bin))
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured12(options) {
|
|
211
|
+
return makeLocationNode({ service: Service87, layer: layer(options), deps: [Global.node] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node91 = configured12();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Options9, Service87, gitbash2, name17, login2, ps2, args2, environment2, resolve5, list5, configured12, node91, exports_select };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./form-
|
|
4
|
+
} from "./form-7ypjkqw5.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load6
|
|
13
|
-
} from "./form-
|
|
13
|
+
} from "./form-a9vajmgg.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./form-
|
|
16
|
+
} from "./form-55g2q5p5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./form-9rqn6x4v.js";
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service71,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node73
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service71 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service92;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service71.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node73 = makeGlobalNode({ service: Service71, layer, deps: [node96] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service71, node73, exports_store };
|