@opencode/core 0.0.0-dev-21101 → 0.0.0-dev-21102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{snapshot-hwfsh7vp.js → file-mutation-0a45r66e.js} +10 -10
- package/dist/chunks/{snapshot-s9hnc77e.js → file-mutation-0bn0sq9n.js} +13 -13
- package/dist/chunks/{snapshot-86tsj011.js → file-mutation-0kqmzpgj.js} +4 -4
- package/dist/chunks/{snapshot-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{snapshot-d3g565tf.js → file-mutation-0vhb79zx.js} +45 -45
- package/dist/chunks/{snapshot-r6dd846h.js → file-mutation-10bapksq.js} +45 -45
- package/dist/chunks/file-mutation-1e0042jk.js +513 -0
- package/dist/chunks/{snapshot-sz15zhhw.js → file-mutation-1j6m29mr.js} +9 -9
- package/dist/chunks/{snapshot-es4zr9pq.js → file-mutation-1ja1wxmc.js} +8 -8
- package/dist/chunks/{snapshot-x6yn31hc.js → file-mutation-1nbyw85c.js} +19 -19
- package/dist/chunks/{snapshot-w35dh219.js → file-mutation-1pw9daj1.js} +11 -11
- package/dist/chunks/{snapshot-z6a8t7r8.js → file-mutation-1vq8waa3.js} +27 -27
- package/dist/chunks/{snapshot-70w5npj6.js → file-mutation-24ashckt.js} +35 -35
- package/dist/chunks/{snapshot-vbwdk8d9.js → file-mutation-2ee1qjw3.js} +16 -16
- package/dist/chunks/{snapshot-cwa6csj7.js → file-mutation-2mq1h16s.js} +9 -9
- package/dist/chunks/{snapshot-m6et89k9.js → file-mutation-2njd48f3.js} +4 -4
- package/dist/chunks/{snapshot-0spc84rr.js → file-mutation-31cd2ng7.js} +5 -5
- package/dist/chunks/{snapshot-h7s7r6s9.js → file-mutation-31xfzrxg.js} +5 -5
- package/dist/chunks/{snapshot-bkfykbje.js → file-mutation-32qfxbms.js} +10 -10
- package/dist/chunks/{snapshot-d9vy8dvc.js → file-mutation-34pqwryj.js} +35 -35
- package/dist/chunks/{snapshot-ngpf18tw.js → file-mutation-34yg83yr.js} +15 -15
- package/dist/chunks/{snapshot-fez9dr5g.js → file-mutation-395y8vmn.js} +29 -29
- package/dist/chunks/{snapshot-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-c5p1j3te.js → file-mutation-3h7vgc1c.js} +24 -24
- package/dist/chunks/{snapshot-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{snapshot-9t38rtv2.js → file-mutation-3nn61x4m.js} +18 -18
- package/dist/chunks/{snapshot-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-s5crsm6g.js → file-mutation-3xmz25ae.js} +6 -6
- package/dist/chunks/{snapshot-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-7j2qha59.js → file-mutation-3zy697b6.js} +8 -8
- package/dist/chunks/{snapshot-a4mbaqkz.js → file-mutation-3zzm0etj.js} +24 -24
- package/dist/chunks/{snapshot-677sd819.js → file-mutation-44gm7dpy.js} +14 -14
- package/dist/chunks/file-mutation-49n22trf.js +257 -0
- package/dist/chunks/{snapshot-s9jjc90k.js → file-mutation-4byykzwt.js} +10 -10
- package/dist/chunks/{snapshot-eh6ej367.js → file-mutation-4ekscj25.js} +5 -5
- package/dist/chunks/{snapshot-stznh4mf.js → file-mutation-4p0ag926.js} +9 -9
- package/dist/chunks/{snapshot-fk8sz9va.js → file-mutation-4pxfaks0.js} +4 -4
- package/dist/chunks/{snapshot-0j2x9jqg.js → file-mutation-4x8f5qrc.js} +64 -64
- package/dist/chunks/{snapshot-f1gkxkqm.js → file-mutation-4y2jths2.js} +8 -8
- package/dist/chunks/{snapshot-rjq60bk6.js → file-mutation-523zf4ny.js} +8 -8
- package/dist/chunks/{snapshot-agvpr9a5.js → file-mutation-53rh8r92.js} +15 -15
- package/dist/chunks/{snapshot-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{snapshot-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-vjjaysxc.js → file-mutation-5pyjqqve.js} +2 -2
- package/dist/chunks/{snapshot-cdxmksqt.js → file-mutation-5vma4t00.js} +11 -11
- package/dist/chunks/{snapshot-g37js5c5.js → file-mutation-5xeyj92j.js} +5 -5
- package/dist/chunks/{snapshot-bah8271q.js → file-mutation-6axq4ad7.js} +13 -13
- package/dist/chunks/{snapshot-5jm3j4ds.js → file-mutation-6b5qcyht.js} +11 -11
- package/dist/chunks/{snapshot-9xea56yk.js → file-mutation-6et16byz.js} +4 -4
- package/dist/chunks/{snapshot-de1qm86n.js → file-mutation-6gke9jm0.js} +29 -29
- package/dist/chunks/{snapshot-s7j41gah.js → file-mutation-6n4qjbg5.js} +26 -26
- package/dist/chunks/{snapshot-p5ryf8ss.js → file-mutation-6n6k1agq.js} +32 -32
- package/dist/chunks/{snapshot-w92k2e0p.js → file-mutation-6pc27hjz.js} +4 -4
- package/dist/chunks/{snapshot-z94wva46.js → file-mutation-6qbfyeq4.js} +5 -5
- package/dist/chunks/{snapshot-5dkc9xpe.js → file-mutation-6qr2hpa3.js} +33 -33
- package/dist/chunks/{snapshot-nw91k3fh.js → file-mutation-6rm5yzkt.js} +4 -4
- package/dist/chunks/{snapshot-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{snapshot-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{snapshot-yx44qtr7.js → file-mutation-78mmz05e.js} +3 -3
- package/dist/chunks/{snapshot-0r5d9jf5.js → file-mutation-7apm8bw6.js} +18 -18
- package/dist/chunks/{snapshot-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-yjmz8cqt.js → file-mutation-7f067m2e.js} +4 -4
- package/dist/chunks/{snapshot-nbt9p58f.js → file-mutation-7gzvat6z.js} +18 -18
- package/dist/chunks/{snapshot-bjtjpd2c.js → file-mutation-7x9m82rv.js} +12 -12
- package/dist/chunks/{snapshot-y2qdv1vz.js → file-mutation-82s76q1y.js} +4 -4
- package/dist/chunks/{snapshot-a68c8325.js → file-mutation-831szrnr.js} +47 -47
- package/dist/chunks/{snapshot-hps22v0m.js → file-mutation-83nvk7gf.js} +11 -11
- package/dist/chunks/{snapshot-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{snapshot-x2nk8b67.js → file-mutation-86hr6tyx.js} +14 -14
- package/dist/chunks/{snapshot-7zkbhs7g.js → file-mutation-86qjnnqk.js} +11 -11
- package/dist/chunks/{snapshot-492qvdt0.js → file-mutation-8kpxa52r.js} +191 -191
- package/dist/chunks/{snapshot-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{snapshot-6r9xkm49.js → file-mutation-8nhf552q.js} +15 -15
- package/dist/chunks/{snapshot-4x3rb0w8.js → file-mutation-8xdknktr.js} +8 -8
- package/dist/chunks/{snapshot-j09zfasm.js → file-mutation-91qna3x0.js} +3 -3
- package/dist/chunks/{snapshot-r6hgcfqe.js → file-mutation-928exejz.js} +13 -13
- package/dist/chunks/{snapshot-0ffsdm6v.js → file-mutation-9az4rgkb.js} +22 -22
- package/dist/chunks/{snapshot-a8q86g5b.js → file-mutation-9cd83t7f.js} +20 -20
- package/dist/chunks/{snapshot-5z8jdzjf.js → file-mutation-9qtbwzwj.js} +4 -4
- package/dist/chunks/{snapshot-0x5he72x.js → file-mutation-9tk0xbhp.js} +21 -21
- package/dist/chunks/{snapshot-jp89ygg8.js → file-mutation-a0ngmh7v.js} +42 -42
- package/dist/chunks/{snapshot-fh1dahme.js → file-mutation-a5cb3rxh.js} +4 -4
- package/dist/chunks/{snapshot-w05gqv9f.js → file-mutation-ab0v7xqg.js} +11 -11
- package/dist/chunks/{snapshot-bv99bepe.js → file-mutation-ab17c7dx.js} +10 -10
- package/dist/chunks/{snapshot-x661k3y3.js → file-mutation-addxnjmp.js} +4 -4
- package/dist/chunks/{snapshot-8xdjgfjg.js → file-mutation-ag0c998m.js} +24 -24
- package/dist/chunks/{snapshot-p40mqjmd.js → file-mutation-ahjtwsk1.js} +14 -14
- package/dist/chunks/{snapshot-ehbas0a7.js → file-mutation-atcakhwd.js} +17 -17
- package/dist/chunks/{snapshot-50yj0c0z.js → file-mutation-atmskjxw.js} +19 -19
- package/dist/chunks/{snapshot-138hj3a7.js → file-mutation-atrg28jh.js} +32 -32
- package/dist/chunks/{snapshot-y99xh2az.js → file-mutation-av34pvd4.js} +16 -16
- package/dist/chunks/{snapshot-8zvh60rm.js → file-mutation-b81ahfje.js} +26 -26
- package/dist/chunks/{snapshot-8w65540a.js → file-mutation-bbsgqxz3.js} +5 -5
- package/dist/chunks/{snapshot-fm2hmmny.js → file-mutation-bbzjnv7y.js} +43 -43
- package/dist/chunks/{snapshot-5nnetc6k.js → file-mutation-bddt2pqj.js} +16 -16
- package/dist/chunks/{snapshot-43hb6bsb.js → file-mutation-bdwftekd.js} +24 -24
- package/dist/chunks/{snapshot-fqtx8avk.js → file-mutation-bh35h2a4.js} +29 -29
- package/dist/chunks/{snapshot-nq4gqfza.js → file-mutation-bhja2czc.js} +38 -38
- package/dist/chunks/{snapshot-8q3vp9r4.js → file-mutation-bjzecbrs.js} +5 -5
- package/dist/chunks/{snapshot-2s0t6bcq.js → file-mutation-bwtsbp89.js} +16 -16
- package/dist/chunks/{snapshot-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{snapshot-zhf76q57.js → file-mutation-cba5y8md.js} +3 -3
- package/dist/chunks/{snapshot-zqmntxqq.js → file-mutation-ckc5xesv.js} +53 -53
- package/dist/chunks/{snapshot-v0njwss7.js → file-mutation-cng1644r.js} +17 -17
- package/dist/chunks/{snapshot-mka3dhwy.js → file-mutation-cqbnrm9h.js} +28 -28
- package/dist/chunks/{snapshot-6g3a9wd5.js → file-mutation-cry3q34q.js} +20 -20
- package/dist/chunks/{snapshot-37xj7nnb.js → file-mutation-crygnby0.js} +3 -3
- package/dist/chunks/{snapshot-vw7dfq1f.js → file-mutation-cyz4rac1.js} +17 -17
- package/dist/chunks/{snapshot-f3418nnd.js → file-mutation-cz1vwcws.js} +2 -2
- package/dist/chunks/{snapshot-7ec32wzs.js → file-mutation-dhww0s6x.js} +1 -1
- package/dist/chunks/{snapshot-3adf9fpa.js → file-mutation-dpdqynsp.js} +25 -25
- package/dist/chunks/{snapshot-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{snapshot-dqxsqydv.js → file-mutation-dqxsqydv.js} +1 -1
- package/dist/chunks/{snapshot-57b9ws8p.js → file-mutation-drwq78ky.js} +5 -5
- package/dist/chunks/{snapshot-6p4sgjp5.js → file-mutation-dt4y2tq7.js} +24 -24
- package/dist/chunks/{snapshot-vh0q2jn2.js → file-mutation-e236apxg.js} +6 -6
- package/dist/chunks/{snapshot-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{snapshot-86mh7r7f.js → file-mutation-e3xy4e71.js} +8 -8
- package/dist/chunks/{snapshot-7m79y2cx.js → file-mutation-e7a0tnjd.js} +9 -9
- package/dist/chunks/{snapshot-sxcaecc0.js → file-mutation-e80seqcp.js} +3 -3
- package/dist/chunks/{snapshot-yc2xrc7y.js → file-mutation-eac7ec6d.js} +6 -6
- package/dist/chunks/{snapshot-kxfmvths.js → file-mutation-ed01axam.js} +6 -6
- package/dist/chunks/{snapshot-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{snapshot-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-gbt4bp6d.js → file-mutation-egyn2h7c.js} +7 -7
- package/dist/chunks/{snapshot-jv2yxf29.js → file-mutation-emew9pj0.js} +16 -16
- package/dist/chunks/{snapshot-671nv209.js → file-mutation-es633c8d.js} +20 -20
- package/dist/chunks/{snapshot-vrxrfzbj.js → file-mutation-ettnqe8w.js} +7 -7
- package/dist/chunks/{snapshot-q9nt1xs6.js → file-mutation-f8g1y2jp.js} +19 -19
- package/dist/chunks/{snapshot-3251mqsy.js → file-mutation-f9twm2pk.js} +25 -25
- package/dist/chunks/{snapshot-2k8khapm.js → file-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{snapshot-zy88dcwr.js → file-mutation-fg22vpm1.js} +20 -20
- package/dist/chunks/{snapshot-73kdj4zj.js → file-mutation-fqtvmpfq.js} +8 -8
- package/dist/chunks/{snapshot-32bf673e.js → file-mutation-fssat8nd.js} +14 -14
- package/dist/chunks/{snapshot-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-82cbhrxf.js → file-mutation-gjvt2sw1.js} +25 -25
- package/dist/chunks/{snapshot-zzg669yh.js → file-mutation-gv0fvrxd.js} +14 -14
- package/dist/chunks/{snapshot-mar0b6q5.js → file-mutation-h2m7wh0c.js} +11 -11
- package/dist/chunks/{snapshot-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-n1n192bv.js → file-mutation-h9wp8z5w.js} +4 -4
- package/dist/chunks/{snapshot-9m9j9h8n.js → file-mutation-hgpde3vb.js} +20 -20
- package/dist/chunks/{snapshot-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{snapshot-1afbgrk4.js → file-mutation-hvb11wac.js} +5 -5
- package/dist/chunks/{snapshot-6fatt4mk.js → file-mutation-j58c5xyq.js} +9 -9
- package/dist/chunks/{snapshot-s6s4bjx5.js → file-mutation-jc9d9mw1.js} +13 -13
- package/dist/chunks/{snapshot-7e4w02fq.js → file-mutation-jfnyz2cb.js} +18 -18
- package/dist/chunks/{snapshot-rrzbkqn0.js → file-mutation-jpqkz8s9.js} +50 -50
- package/dist/chunks/file-mutation-jqh9b0xq.js +18 -0
- package/dist/chunks/{snapshot-06x8he3q.js → file-mutation-jvf3yq6v.js} +4 -4
- package/dist/chunks/{snapshot-epdqhck3.js → file-mutation-jxwk72h5.js} +5 -5
- package/dist/chunks/{snapshot-ygs4p11j.js → file-mutation-k9rqwrkg.js} +11 -11
- package/dist/chunks/{snapshot-my865665.js → file-mutation-kecerxq6.js} +5 -5
- package/dist/chunks/{snapshot-1w2wqhfv.js → file-mutation-khmqacep.js} +4 -4
- package/dist/chunks/{snapshot-g686f6pq.js → file-mutation-kjd40bgk.js} +9 -9
- package/dist/chunks/{snapshot-b9y7b4f0.js → file-mutation-kna85462.js} +23 -23
- package/dist/chunks/{snapshot-0zzst1te.js → file-mutation-kp1hjqcq.js} +11 -11
- package/dist/chunks/{snapshot-kqx1b4hy.js → file-mutation-kqx1b4hy.js} +4 -4
- package/dist/chunks/{snapshot-z3z84w1c.js → file-mutation-kvwqxrwb.js} +13 -13
- package/dist/chunks/{snapshot-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{snapshot-5fx6by37.js → file-mutation-m6078mdh.js} +42 -42
- package/dist/chunks/{snapshot-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{snapshot-m64xvjj1.js → file-mutation-mjagy123.js} +5 -5
- package/dist/chunks/{snapshot-8rmax6yr.js → file-mutation-mnv5anne.js} +17 -17
- package/dist/chunks/{snapshot-6hmv31tz.js → file-mutation-mq9ghvnj.js} +18 -18
- package/dist/chunks/{snapshot-wgdvvt83.js → file-mutation-mrp1vw8h.js} +21 -21
- package/dist/chunks/{snapshot-krdey6nc.js → file-mutation-mw3zb6qd.js} +6 -6
- package/dist/chunks/{snapshot-sxzvkvgj.js → file-mutation-mx9vqzsb.js} +6 -6
- package/dist/chunks/{snapshot-y41ncav5.js → file-mutation-nbe12rbe.js} +11 -11
- package/dist/chunks/{snapshot-w6azc5pz.js → file-mutation-np2zj9yp.js} +33 -33
- package/dist/chunks/{snapshot-hk13sqge.js → file-mutation-nr90a0dt.js} +40 -40
- package/dist/chunks/{snapshot-4b9kgzbd.js → file-mutation-ns6qmrtd.js} +19 -19
- package/dist/chunks/{snapshot-65bp1pt7.js → file-mutation-nteb4xfc.js} +9 -9
- package/dist/chunks/{snapshot-p42hj8p8.js → file-mutation-p42hj8p8.js} +1 -1
- package/dist/chunks/{snapshot-ezw0nm5s.js → file-mutation-paerxhb0.js} +13 -13
- package/dist/chunks/file-mutation-pgrantrc.js +26 -0
- package/dist/chunks/{snapshot-3axhngbt.js → file-mutation-pgvws8e3.js} +91 -91
- package/dist/chunks/{snapshot-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-0ebtsmg9.js → file-mutation-py1s82by.js} +9 -9
- package/dist/chunks/{snapshot-g5t3kacw.js → file-mutation-q19wpyyh.js} +23 -23
- package/dist/chunks/{snapshot-ryr25ayn.js → file-mutation-qa3qhgw8.js} +4 -4
- package/dist/chunks/{snapshot-0m1gfjhz.js → file-mutation-qcf9sep0.js} +7 -7
- package/dist/chunks/{snapshot-d43rdmby.js → file-mutation-qhj8gsw7.js} +28 -28
- package/dist/chunks/{snapshot-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{snapshot-44kabqnj.js → file-mutation-qqrcrv2d.js} +11 -11
- package/dist/chunks/{snapshot-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-zcnbtgks.js → file-mutation-qskc9fng.js} +8 -8
- package/dist/chunks/{snapshot-kz0x0eyc.js → file-mutation-qze06xta.js} +27 -27
- package/dist/chunks/{snapshot-45jg96fg.js → file-mutation-r1rs5fcg.js} +9 -9
- package/dist/chunks/{snapshot-nzv4wedz.js → file-mutation-r6twsrbc.js} +11 -11
- package/dist/chunks/{snapshot-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{snapshot-f2rj8t18.js → file-mutation-rg5vjzce.js} +15 -15
- package/dist/chunks/{snapshot-rhjbct0v.js → file-mutation-rhjbct0v.js} +1 -1
- package/dist/chunks/{snapshot-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{snapshot-24pp4dbc.js → file-mutation-rp1sxpnt.js} +4 -4
- package/dist/chunks/{snapshot-c4ytspfp.js → file-mutation-rsk8b1r9.js} +14 -14
- package/dist/chunks/{snapshot-bxbakf7s.js → file-mutation-s0xd9fk5.js} +11 -11
- package/dist/chunks/{snapshot-g2874yvb.js → file-mutation-s7p2cp87.js} +24 -24
- package/dist/chunks/{snapshot-hrr62nz3.js → file-mutation-s9hmt3s5.js} +16 -16
- package/dist/chunks/{snapshot-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{snapshot-a71mrrdx.js → file-mutation-sjsq85cv.js} +17 -17
- package/dist/chunks/{snapshot-wsd2q15t.js → file-mutation-sqxd4b6a.js} +13 -13
- package/dist/chunks/{snapshot-15mjt02z.js → file-mutation-stdh1w8b.js} +11 -11
- package/dist/chunks/{snapshot-ngjfqp91.js → file-mutation-svvw92nk.js} +32 -32
- package/dist/chunks/{snapshot-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{snapshot-990fmxgc.js → file-mutation-t3zmyd3w.js} +33 -33
- package/dist/chunks/{snapshot-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{snapshot-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-24b8xn8e.js → file-mutation-tjn2qjgm.js} +25 -25
- package/dist/chunks/{snapshot-wh6zw745.js → file-mutation-tk14y25j.js} +5 -5
- package/dist/chunks/{snapshot-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{snapshot-jytc1txw.js → file-mutation-tms097mr.js} +17 -17
- package/dist/chunks/{snapshot-yxy2s6v9.js → file-mutation-tr1j93sp.js} +14 -14
- package/dist/chunks/{snapshot-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{snapshot-fpecnkgp.js → file-mutation-v0es1rhs.js} +9 -9
- package/dist/chunks/{snapshot-rc5gr2c6.js → file-mutation-v38qq1xq.js} +10 -10
- package/dist/chunks/{snapshot-2cpvpehx.js → file-mutation-v4r9rrgr.js} +20 -20
- package/dist/chunks/{snapshot-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{snapshot-qkb2ne2d.js → file-mutation-v9ym5vkf.js} +27 -27
- package/dist/chunks/{snapshot-09pvn25w.js → file-mutation-vaer15sz.js} +16 -16
- package/dist/chunks/{snapshot-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-w2808p42.js → file-mutation-vgbe0hx2.js} +6 -6
- package/dist/chunks/{snapshot-v481s08r.js → file-mutation-vhs7bsm8.js} +81 -81
- package/dist/chunks/{snapshot-djng1cng.js → file-mutation-vnrbpqt1.js} +19 -19
- package/dist/chunks/{snapshot-pda9j8pd.js → file-mutation-vx06kqgv.js} +13 -13
- package/dist/chunks/{snapshot-hzrfc1p4.js → file-mutation-vx3jgdek.js} +3 -3
- package/dist/chunks/{snapshot-524wbpge.js → file-mutation-vx9tn3ww.js} +34 -34
- package/dist/chunks/{snapshot-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-yc2dh59q.js → file-mutation-w31qasc1.js} +9 -9
- package/dist/chunks/{snapshot-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-fvn5mafv.js → file-mutation-w80w7egq.js} +26 -26
- package/dist/chunks/{snapshot-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-qa4jrz0k.js → file-mutation-wdbsdckj.js} +32 -32
- package/dist/chunks/{snapshot-8bbfct2p.js → file-mutation-whepmyc8.js} +1 -1
- package/dist/chunks/{snapshot-sknvv7f7.js → file-mutation-whmxtv1k.js} +25 -25
- package/dist/chunks/{snapshot-ywt8jp22.js → file-mutation-wjr9rjd7.js} +6 -6
- package/dist/chunks/{snapshot-a4rgdjbk.js → file-mutation-wq2exejj.js} +34 -34
- package/dist/chunks/{snapshot-bdvq8pjx.js → file-mutation-wq5jrx1v.js} +46 -46
- package/dist/chunks/{snapshot-0n5m0eh4.js → file-mutation-wrmx1wd8.js} +18 -18
- package/dist/chunks/{snapshot-vm0bs8v2.js → file-mutation-wyfpybhz.js} +27 -27
- package/dist/chunks/{snapshot-bg9pb3hs.js → file-mutation-x5wrmng7.js} +11 -11
- package/dist/chunks/{snapshot-qj351k35.js → file-mutation-xfh984c1.js} +17 -17
- package/dist/chunks/{snapshot-2sg8pn63.js → file-mutation-xjpvrdvq.js} +10 -10
- package/dist/chunks/{snapshot-ns4s002r.js → file-mutation-xqevex3y.js} +24 -24
- package/dist/chunks/{snapshot-55m81wnp.js → file-mutation-xtxypabt.js} +12 -12
- package/dist/chunks/{snapshot-ym90h1jm.js → file-mutation-xvjf424w.js} +10 -10
- package/dist/chunks/{snapshot-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-v6pzdj5v.js → file-mutation-y35511gd.js} +19 -19
- package/dist/chunks/{snapshot-99m1svw6.js → file-mutation-y45dsw3d.js} +29 -29
- package/dist/chunks/{snapshot-kkp8zx71.js → file-mutation-y6mhz57t.js} +4 -4
- package/dist/chunks/{snapshot-had4kgfk.js → file-mutation-y8p3zjbc.js} +4 -4
- package/dist/chunks/{snapshot-0205d07w.js → file-mutation-yewqjc3q.js} +43 -43
- package/dist/chunks/{snapshot-q0raz0xt.js → file-mutation-yh7kjdpc.js} +9 -9
- package/dist/chunks/{snapshot-p46j7tk6.js → file-mutation-yk3k7trf.js} +3 -3
- package/dist/chunks/{snapshot-2gkanyf9.js → file-mutation-ykbenvtt.js} +18 -18
- package/dist/chunks/{snapshot-8pmceypm.js → file-mutation-ym72szr7.js} +36 -36
- package/dist/chunks/{snapshot-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
- package/dist/chunks/{snapshot-3g8j9he4.js → file-mutation-yqc6bamn.js} +1 -1
- package/dist/chunks/{snapshot-1tn2wyt6.js → file-mutation-yv1g7dvw.js} +18 -18
- package/dist/chunks/{snapshot-td507s1z.js → file-mutation-yzmsvx3n.js} +13 -13
- package/dist/chunks/{snapshot-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-47jkzegy.js → file-mutation-z6c3x22d.js} +5 -5
- package/dist/chunks/{snapshot-rbh7495a.js → file-mutation-z6szz84x.js} +12 -12
- package/dist/chunks/{snapshot-3y1ebd1j.js → file-mutation-z8abfd22.js} +49 -49
- package/dist/chunks/{snapshot-zdpajj5q.js → file-mutation-ze4328nr.js} +15 -15
- package/dist/chunks/{snapshot-zh88wm2c.js → file-mutation-zj0rakt4.js} +32 -32
- package/dist/chunks/{snapshot-mk34ezcj.js → file-mutation-zj24t7xr.js} +5 -5
- package/dist/chunks/{snapshot-dxjzc6pe.js → file-mutation-zm7ab947.js} +18 -18
- package/dist/chunks/{snapshot-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-gd1hs1dn.js → file-mutation-zx5swzrd.js} +11 -11
- package/dist/chunks/{snapshot-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{snapshot-zyk1yjk8.js → file-mutation-zyk1yjk8.js} +2 -2
- package/dist/chunks/{snapshot-62fwm79t.js → file-mutation-zz5c3g14.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +355 -355
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/snapshot-619r8v3y.js +0 -18
- package/dist/chunks/snapshot-674by1mv.js +0 -257
- package/dist/chunks/snapshot-mt0fy2dx.js +0 -513
- package/dist/chunks/snapshot-zm1xtn2x.js +0 -26
- /package/dist/chunks/{snapshot-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{snapshot-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-cba5y8md.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service34,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service34 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service34.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node38, exports_instruction_entry };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service65
|
|
4
|
+
} from "./file-mutation-s7p2cp87.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service77
|
|
8
|
+
} from "./file-mutation-1vq8waa3.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./file-mutation-z8abfd22.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-vx3jgdek.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service48
|
|
18
|
+
} from "./file-mutation-av34pvd4.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./file-mutation-831szrnr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./file-mutation-pgvws8e3.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./file-mutation-1nbyw85c.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin38,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin38 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service48;
|
|
94
|
+
const agents = yield* Service65;
|
|
95
|
+
const config = yield* Service70;
|
|
96
|
+
const permission = yield* Service62;
|
|
97
|
+
const models = yield* Service77;
|
|
98
|
+
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin29 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description3,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin29 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin29 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name3];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name3, Input3, Output3, description3, Plugin38, exports_subagent };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-s0xd9fk5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./file-mutation-cqbnrm9h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./file-mutation-ag0c998m.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./file-mutation-b81ahfje.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-eac7ec6d.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service80;
|
|
57
|
+
const integrations = yield* Service79;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event19,
|
|
7
|
+
Service80
|
|
8
|
+
} from "./file-mutation-cqbnrm9h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./file-mutation-b81ahfje.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-eac7ec6d.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service80;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-s0xd9fk5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./file-mutation-cqbnrm9h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-ag0c998m.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-b81ahfje.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./file-mutation-1vq8waa3.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-eac7ec6d.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
|
+
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service80;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-vx3jgdek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service45 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service45, node47, exports_service2 };
|