@opencode/core 0.0.0-dev-19579 → 0.0.0-dev-19581
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 +74 -74
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{form-8hqxenar.js → instruction-discovery-05ycnpe0.js} +13 -13
- package/dist/chunks/{form-f8mg9gyz.js → instruction-discovery-07jrefzd.js} +10 -10
- package/dist/chunks/{form-reen7spn.js → instruction-discovery-09pf4w3w.js} +43 -43
- package/dist/chunks/{form-b91mn11g.js → instruction-discovery-0bsm19da.js} +14 -14
- package/dist/chunks/{form-034vs93c.js → instruction-discovery-0g8c9wsq.js} +12 -12
- package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
- package/dist/chunks/{form-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-wnbmemrg.js → instruction-discovery-0r2154bh.js} +13 -13
- package/dist/chunks/{form-0v53mg2y.js → instruction-discovery-0v53mg2y.js} +1 -1
- package/dist/chunks/{form-4jk0qxj4.js → instruction-discovery-0w62qmxp.js} +4 -4
- package/dist/chunks/{form-w1xzjbfc.js → instruction-discovery-0xxd26ed.js} +32 -32
- package/dist/chunks/{form-4g59p92v.js → instruction-discovery-1149fz5m.js} +18 -18
- package/dist/chunks/{form-84hmmsmt.js → instruction-discovery-1cq304tz.js} +8 -8
- package/dist/chunks/{form-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-qefbaqqz.js → instruction-discovery-1eqpekc3.js} +27 -27
- package/dist/chunks/{form-s9pykxaw.js → instruction-discovery-1qkvmnrk.js} +9 -9
- package/dist/chunks/{form-56gdpj1q.js → instruction-discovery-1ygqh575.js} +9 -9
- package/dist/chunks/{form-cj6rzf7k.js → instruction-discovery-1zsfrhab.js} +11 -11
- package/dist/chunks/{form-t82d6hjp.js → instruction-discovery-204awwsh.js} +2 -2
- package/dist/chunks/{form-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{form-qm7jrdpz.js → instruction-discovery-2336b01z.js} +8 -8
- package/dist/chunks/{form-r6dxm90c.js → instruction-discovery-24xp8727.js} +5 -5
- package/dist/chunks/{form-x0e6qwje.js → instruction-discovery-29eh7px0.js} +16 -16
- package/dist/chunks/{form-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-c0gy5km3.js → instruction-discovery-2a7hagjp.js} +6 -6
- package/dist/chunks/{form-jva4mgym.js → instruction-discovery-2evyaa68.js} +4 -4
- package/dist/chunks/{form-j7wq2tw5.js → instruction-discovery-2f04pwep.js} +3 -3
- package/dist/chunks/{form-5tr8dvhg.js → instruction-discovery-2xxmc7cf.js} +4 -4
- package/dist/chunks/{form-24emcxgn.js → instruction-discovery-31etx02j.js} +26 -26
- package/dist/chunks/{form-xe7fems8.js → instruction-discovery-31javdb0.js} +35 -35
- package/dist/chunks/{form-tkqggtee.js → instruction-discovery-3322m8p3.js} +20 -20
- package/dist/chunks/{form-263s9v33.js → instruction-discovery-3ew4m7q6.js} +13 -13
- package/dist/chunks/{form-2hjtz03m.js → instruction-discovery-3f76wpd5.js} +18 -18
- package/dist/chunks/{form-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-6n88yxkj.js → instruction-discovery-3pbjq009.js} +8 -8
- package/dist/chunks/{form-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-a70ftxcy.js → instruction-discovery-3ssj3ww7.js} +9 -9
- package/dist/chunks/{form-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-46dv5p65.js → instruction-discovery-467061by.js} +13 -13
- package/dist/chunks/{form-nhy5jxhy.js → instruction-discovery-47gsdddb.js} +5 -5
- package/dist/chunks/{form-15nepkqg.js → instruction-discovery-4c2df9zx.js} +8 -8
- package/dist/chunks/{form-bpjnc74n.js → instruction-discovery-4cpgq4cc.js} +28 -28
- package/dist/chunks/{form-5a0rkgkm.js → instruction-discovery-4jb6bhwp.js} +20 -20
- package/dist/chunks/{form-5fw77hhz.js → instruction-discovery-4kmcff89.js} +6 -6
- package/dist/chunks/{form-0hdj05wv.js → instruction-discovery-4xy9dkpy.js} +11 -11
- package/dist/chunks/{form-t3g6pxg0.js → instruction-discovery-4yz848db.js} +85 -85
- package/dist/chunks/{form-qntdvq9j.js → instruction-discovery-55a4dvpq.js} +5 -5
- package/dist/chunks/{form-p3bcj275.js → instruction-discovery-576zes89.js} +13 -13
- package/dist/chunks/{form-hx9rn9d5.js → instruction-discovery-5ayethk7.js} +26 -26
- package/dist/chunks/{form-5cd5fjqe.js → instruction-discovery-5cd5fjqe.js} +1 -1
- package/dist/chunks/{form-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{form-zrhjfbn0.js → instruction-discovery-5kdtjrmj.js} +11 -11
- package/dist/chunks/{form-d45djpte.js → instruction-discovery-5rcy5zfz.js} +8 -8
- package/dist/chunks/{form-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-xcs4r9b9.js → instruction-discovery-5vfvjnq9.js} +9 -9
- package/dist/chunks/{form-xz722xdc.js → instruction-discovery-60dv3xzb.js} +18 -18
- package/dist/chunks/{form-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{form-cp29dvgs.js → instruction-discovery-66mhmsn4.js} +31 -31
- package/dist/chunks/{form-0s1e1pf5.js → instruction-discovery-6gmnvvkm.js} +16 -16
- package/dist/chunks/{form-6h73sxmp.js → instruction-discovery-6h73sxmp.js} +1 -1
- package/dist/chunks/{form-pnv527nz.js → instruction-discovery-6jnybvqn.js} +9 -9
- package/dist/chunks/{form-qpfg8bns.js → instruction-discovery-6jpyrg4s.js} +24 -24
- package/dist/chunks/{form-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-8wntykbh.js → instruction-discovery-6mz6tvq5.js} +11 -11
- package/dist/chunks/{form-gnx4ytbv.js → instruction-discovery-6s9eyz9r.js} +4 -4
- package/dist/chunks/{form-71q4at8m.js → instruction-discovery-71q4at8m.js} +1 -1
- package/dist/chunks/{form-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-n1x5wxj8.js → instruction-discovery-7cbmgzv6.js} +20 -20
- package/dist/chunks/{form-g4h4g9a5.js → instruction-discovery-7d6bmd3a.js} +11 -11
- package/dist/chunks/{form-2k8khapm.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-1vr0zdnx.js → instruction-discovery-7p797550.js} +3 -3
- package/dist/chunks/{form-81swgkk7.js → instruction-discovery-81swgkk7.js} +2 -2
- package/dist/chunks/{form-q76hhjq3.js → instruction-discovery-89w3sxnk.js} +22 -22
- package/dist/chunks/{form-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-ntznpfwc.js → instruction-discovery-8nxra1qt.js} +41 -41
- package/dist/chunks/{form-dj2t23y0.js → instruction-discovery-8p4f9s12.js} +2 -2
- package/dist/chunks/{form-721s8qah.js → instruction-discovery-8xja2nts.js} +3 -3
- package/dist/chunks/{form-nb8hcmkq.js → instruction-discovery-8ynz9q9t.js} +10 -10
- package/dist/chunks/{form-x8sv5g7y.js → instruction-discovery-96vcv1xt.js} +9 -9
- package/dist/chunks/{form-xeshd39k.js → instruction-discovery-9ea36rc9.js} +15 -15
- package/dist/chunks/{form-21gwcqqh.js → instruction-discovery-9r8010we.js} +26 -26
- package/dist/chunks/{form-5c4hm403.js → instruction-discovery-a1bz86dw.js} +3 -3
- package/dist/chunks/{form-1ff0effc.js → instruction-discovery-a8nah55w.js} +1 -1
- package/dist/chunks/{form-8y1r9423.js → instruction-discovery-a9d5zgsa.js} +6 -6
- package/dist/chunks/{form-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{form-2y1qhgm0.js → instruction-discovery-achzyrtm.js} +24 -24
- package/dist/chunks/{form-nedb85dc.js → instruction-discovery-akw77m90.js} +1 -1
- package/dist/chunks/{form-71xf56m3.js → instruction-discovery-b516dq0a.js} +24 -24
- package/dist/chunks/{form-mzag3zw5.js → instruction-discovery-b59h87nb.js} +22 -22
- package/dist/chunks/{form-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-e6hmchc5.js → instruction-discovery-bgxcxs0p.js} +5 -5
- package/dist/chunks/{form-c90hj8gh.js → instruction-discovery-bkgt0f7r.js} +6 -6
- package/dist/chunks/{form-vnsejen8.js → instruction-discovery-bqg84384.js} +8 -8
- package/dist/chunks/{form-98vnk7qm.js → instruction-discovery-br6x063d.js} +37 -37
- package/dist/chunks/{form-z3pw5915.js → instruction-discovery-c78bbtc9.js} +5 -5
- package/dist/chunks/{form-10ynt1h5.js → instruction-discovery-c858zq6n.js} +19 -19
- package/dist/chunks/{form-vhmnsspb.js → instruction-discovery-cag3dkq7.js} +47 -47
- package/dist/chunks/{form-m0jqrx5p.js → instruction-discovery-cfpkc3c9.js} +2 -2
- package/dist/chunks/{form-gkfk1ff3.js → instruction-discovery-cnv6zcsa.js} +9 -9
- package/dist/chunks/{form-23pqda6t.js → instruction-discovery-cpy6gm2a.js} +6 -6
- package/dist/chunks/{form-jmezxmf7.js → instruction-discovery-cxa9xrmy.js} +2 -2
- package/dist/chunks/{form-dfzjqex4.js → instruction-discovery-d1r5081s.js} +5 -5
- package/dist/chunks/{form-hcc73bfp.js → instruction-discovery-dc5xctzr.js} +7 -7
- package/dist/chunks/{form-wtzp478w.js → instruction-discovery-ddxgy26g.js} +11 -11
- package/dist/chunks/{form-jzzy94zk.js → instruction-discovery-depwzj9d.js} +9 -9
- package/dist/chunks/{form-y3e2hzgf.js → instruction-discovery-dmzw6rw6.js} +15 -15
- package/dist/chunks/{form-qhhnphw5.js → instruction-discovery-dp2agtj6.js} +4 -4
- package/dist/chunks/{form-4xkpg0wv.js → instruction-discovery-dskh6dxk.js} +6 -6
- package/dist/chunks/instruction-discovery-dxj72tfx.js +18 -0
- package/dist/chunks/{form-m515h74k.js → instruction-discovery-e3sj3ghv.js} +4 -4
- package/dist/chunks/{form-vc4e6k4r.js → instruction-discovery-e3wb4dtq.js} +4 -4
- package/dist/chunks/{form-4nan19nd.js → instruction-discovery-e57g4pz2.js} +9 -9
- package/dist/chunks/{form-bndc73cn.js → instruction-discovery-e5nv3ght.js} +5 -5
- package/dist/chunks/{form-nj2exdv8.js → instruction-discovery-e5xvs4je.js} +14 -14
- package/dist/chunks/{form-eaj1djv9.js → instruction-discovery-eaj1djv9.js} +1 -1
- package/dist/chunks/{form-fgmem6tq.js → instruction-discovery-ecy2pf0r.js} +26 -26
- package/dist/chunks/{form-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-dgdatac4.js → instruction-discovery-egqv6rqr.js} +23 -23
- package/dist/chunks/{form-w2sm5ssb.js → instruction-discovery-emg27mrw.js} +4 -4
- package/dist/chunks/{form-pyjnsg48.js → instruction-discovery-eq7swvfq.js} +5 -5
- package/dist/chunks/{form-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-2ns1f0yc.js → instruction-discovery-f31z517w.js} +25 -25
- package/dist/chunks/{form-k2h4r4s0.js → instruction-discovery-f3ngv102.js} +4 -4
- package/dist/chunks/{form-y4gz4htj.js → instruction-discovery-f5kdqpe9.js} +4 -4
- package/dist/chunks/{form-hdnk95c8.js → instruction-discovery-f828m53h.js} +2 -2
- package/dist/chunks/{form-axryf22p.js → instruction-discovery-ferfphdt.js} +5 -5
- package/dist/chunks/{form-sw3tg7qr.js → instruction-discovery-fjnrjabq.js} +18 -18
- package/dist/chunks/{form-qzenrqsn.js → instruction-discovery-fjvjtyp7.js} +10 -10
- package/dist/chunks/{form-j10454sr.js → instruction-discovery-fkxar7y7.js} +27 -27
- package/dist/chunks/{form-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-qvn3tka3.js → instruction-discovery-g8471784.js} +2 -2
- package/dist/chunks/{form-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-wn0tjn2g.js → instruction-discovery-gnteyxz3.js} +10 -10
- package/dist/chunks/{form-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-prmd6100.js → instruction-discovery-gy5h8amq.js} +30 -30
- package/dist/chunks/{form-5514jwe9.js → instruction-discovery-gyzffn0d.js} +9 -9
- package/dist/chunks/{form-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-d6zg999z.js → instruction-discovery-h14mq1gc.js} +6 -6
- package/dist/chunks/{form-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-tfx62rqv.js → instruction-discovery-hcpenznv.js} +28 -28
- package/dist/chunks/{form-t8a3bn55.js → instruction-discovery-he72wpxw.js} +48 -48
- package/dist/chunks/{form-yqp46f6p.js → instruction-discovery-hht8ajtf.js} +17 -17
- package/dist/chunks/{form-3e9pe5ze.js → instruction-discovery-hzkh0c3y.js} +16 -16
- package/dist/chunks/{form-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{form-2464tg96.js → instruction-discovery-j7cezvn8.js} +12 -12
- package/dist/chunks/{form-950320p1.js → instruction-discovery-j9x3b8zr.js} +18 -18
- package/dist/chunks/{form-7ek43f41.js → instruction-discovery-jbh3ykpj.js} +22 -22
- package/dist/chunks/{form-xv4vzzz6.js → instruction-discovery-jd1cggaz.js} +10 -10
- package/dist/chunks/{form-z31g4fd5.js → instruction-discovery-jk9aq817.js} +38 -38
- package/dist/chunks/{form-3be45edw.js → instruction-discovery-jrbkzpap.js} +7 -7
- package/dist/chunks/{form-qynpn6w3.js → instruction-discovery-jvg9q05s.js} +9 -9
- package/dist/chunks/{form-hdqqk1vd.js → instruction-discovery-jvp8cqk8.js} +18 -18
- package/dist/chunks/{form-6ge2d8aw.js → instruction-discovery-ke7epktj.js} +24 -24
- package/dist/chunks/{form-kg06axw8.js → instruction-discovery-kg06axw8.js} +1 -1
- package/dist/chunks/{form-za6hx6wm.js → instruction-discovery-khed0hnt.js} +7 -7
- package/dist/chunks/{form-qjbrcyxd.js → instruction-discovery-knt44wch.js} +35 -35
- package/dist/chunks/{form-y85e4phv.js → instruction-discovery-kp71jgdb.js} +16 -16
- package/dist/chunks/{form-a7ytq3d6.js → instruction-discovery-ktzgdaax.js} +3 -3
- package/dist/chunks/{form-rh2xq39j.js → instruction-discovery-m2cdftt8.js} +20 -20
- package/dist/chunks/{form-jg0d4mdm.js → instruction-discovery-m2mejb3x.js} +9 -9
- package/dist/chunks/{form-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-24vd9xje.js → instruction-discovery-margh26n.js} +5 -5
- package/dist/chunks/{form-j4tst3gk.js → instruction-discovery-mc7kc1hr.js} +13 -13
- package/dist/chunks/{form-73tb2d7t.js → instruction-discovery-mhkvc446.js} +3 -3
- package/dist/chunks/{form-fkrhk1yf.js → instruction-discovery-mqpbx4ns.js} +31 -31
- package/dist/chunks/{form-11myjmvz.js → instruction-discovery-mrtj9dhg.js} +9 -9
- package/dist/chunks/{form-t56yk56z.js → instruction-discovery-mvw3re8x.js} +15 -15
- package/dist/chunks/{form-ev3qxag4.js → instruction-discovery-mw1jfac3.js} +20 -20
- package/dist/chunks/{form-c2pb17nf.js → instruction-discovery-mzhmj7bd.js} +25 -25
- package/dist/chunks/{form-m07et3yq.js → instruction-discovery-neey9an0.js} +13 -13
- package/dist/chunks/{form-vm4ppm64.js → instruction-discovery-nm03esje.js} +3 -3
- package/dist/chunks/{form-4ntvxm1s.js → instruction-discovery-nmp047qm.js} +5 -5
- package/dist/chunks/{form-f4vwxjec.js → instruction-discovery-nn2x33dh.js} +8 -8
- package/dist/chunks/{form-bppreckh.js → instruction-discovery-p1hrn2gb.js} +11 -11
- package/dist/chunks/{form-94np39z2.js → instruction-discovery-p1wf2k30.js} +9 -9
- package/dist/chunks/{form-en7gpa1e.js → instruction-discovery-p5hp467q.js} +8 -8
- package/dist/chunks/{form-e74942tb.js → instruction-discovery-p73ycp2m.js} +13 -13
- package/dist/chunks/{form-e1zg437k.js → instruction-discovery-pahebq9z.js} +24 -24
- package/dist/chunks/{form-04tk5mmt.js → instruction-discovery-pdqnr8ky.js} +8 -8
- package/dist/chunks/{form-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{form-xm6ck93a.js → instruction-discovery-pr9ddhq1.js} +9 -9
- package/dist/chunks/{form-eraanh1f.js → instruction-discovery-prbnmmzj.js} +4 -4
- package/dist/chunks/{form-kbya2g6z.js → instruction-discovery-pt94v0dq.js} +11 -11
- package/dist/chunks/{form-rcjb3hxv.js → instruction-discovery-px95xeqk.js} +13 -13
- package/dist/chunks/{form-ckrmy1qx.js → instruction-discovery-pyakq9xe.js} +12 -12
- package/dist/chunks/{form-tpw6cwsb.js → instruction-discovery-q26tgv94.js} +8 -8
- package/dist/chunks/{form-t6nyzhp3.js → instruction-discovery-q4eww03h.js} +1 -1
- package/dist/chunks/{form-nw13281a.js → instruction-discovery-q51nj4rx.js} +8 -8
- package/dist/chunks/{form-fe9gw4d2.js → instruction-discovery-q8pa9zed.js} +31 -31
- package/dist/chunks/{form-fswk7hek.js → instruction-discovery-q9w6kzq6.js} +1 -1
- package/dist/chunks/{form-fvbmgar6.js → instruction-discovery-qep3fpkz.js} +25 -25
- package/dist/chunks/{form-bfz2wy86.js → instruction-discovery-qjgx9y1s.js} +6 -6
- package/dist/chunks/{form-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{form-r9mregkx.js → instruction-discovery-r9mregkx.js} +2 -2
- package/dist/chunks/{form-q77t93j3.js → instruction-discovery-rb2hzr3p.js} +6 -6
- package/dist/chunks/{form-mqqr0pb6.js → instruction-discovery-rd6mxdwp.js} +15 -15
- package/dist/chunks/{form-52dmf901.js → instruction-discovery-rd8rqxp5.js} +11 -11
- package/dist/chunks/{form-pq6x3deh.js → instruction-discovery-rpnr8cb6.js} +149 -149
- package/dist/chunks/instruction-discovery-rswm333q.js +247 -0
- package/dist/chunks/{form-r4crfyhm.js → instruction-discovery-rtwvbq70.js} +17 -17
- package/dist/chunks/{form-bevp2kp2.js → instruction-discovery-rxt5rt7a.js} +5 -5
- package/dist/chunks/{form-esmaevsk.js → instruction-discovery-s25fgqsy.js} +20 -20
- package/dist/chunks/{form-xg9t41r3.js → instruction-discovery-s8610hey.js} +2 -2
- package/dist/chunks/{form-d2aac7k2.js → instruction-discovery-s8zy8myc.js} +5 -5
- package/dist/chunks/{form-zc81rp9a.js → instruction-discovery-sh9dxjmw.js} +17 -17
- package/dist/chunks/{form-31ymd36f.js → instruction-discovery-srw1bakm.js} +64 -64
- package/dist/chunks/{form-ymgtrn6d.js → instruction-discovery-sspjsgsv.js} +25 -25
- package/dist/chunks/{form-fm2qvscf.js → instruction-discovery-sxz6gkc3.js} +7 -7
- package/dist/chunks/{form-bm1s3069.js → instruction-discovery-t0z5je0s.js} +4 -4
- package/dist/chunks/{form-9gga9nrc.js → instruction-discovery-t4r2wmn9.js} +11 -11
- package/dist/chunks/{form-0twxtbkf.js → instruction-discovery-t9art4ws.js} +25 -25
- package/dist/chunks/{form-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/instruction-discovery-tgqwab6w.js +466 -0
- package/dist/chunks/{form-raec4cfz.js → instruction-discovery-th0dg2vq.js} +5 -5
- package/dist/chunks/{form-j6m5np4d.js → instruction-discovery-th0ff346.js} +4 -4
- package/dist/chunks/{form-97xtfh9v.js → instruction-discovery-tjdkaywk.js} +18 -18
- package/dist/chunks/{form-mk5c6pca.js → instruction-discovery-tk7tn7wd.js} +1 -1
- package/dist/chunks/{form-534t03c2.js → instruction-discovery-tnhwht6b.js} +12 -12
- package/dist/chunks/{form-ez2razam.js → instruction-discovery-trfw72b7.js} +20 -20
- package/dist/chunks/{form-abehngfh.js → instruction-discovery-tt9b6k2v.js} +47 -47
- package/dist/chunks/{form-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{form-rk93ytwn.js → instruction-discovery-txh28jzs.js} +6 -6
- package/dist/chunks/{form-fvw5gb9z.js → instruction-discovery-txvzm6v5.js} +6 -6
- package/dist/chunks/{form-tnbypbhe.js → instruction-discovery-v1y5m4t8.js} +17 -17
- package/dist/chunks/{form-426fp41w.js → instruction-discovery-v3378vpc.js} +21 -21
- package/dist/chunks/{form-hqgez0f8.js → instruction-discovery-v51ke3n3.js} +78 -78
- package/dist/chunks/{form-1p8nc3em.js → instruction-discovery-v8pznkhb.js} +29 -29
- package/dist/chunks/{form-1tkc0b12.js → instruction-discovery-v8rs5zs4.js} +8 -8
- package/dist/chunks/{form-65z534qn.js → instruction-discovery-vcje91pj.js} +13 -13
- package/dist/chunks/{form-wmnxc830.js → instruction-discovery-ve6nm2s5.js} +6 -6
- package/dist/chunks/{form-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/instruction-discovery-vhakd8d7.js +26 -0
- package/dist/chunks/{form-wb5drhdh.js → instruction-discovery-vj81abmq.js} +7 -7
- package/dist/chunks/{form-6gwebs4h.js → instruction-discovery-vmtsx19c.js} +20 -20
- package/dist/chunks/{form-h0m8g62z.js → instruction-discovery-vnkksd87.js} +6 -6
- package/dist/chunks/{form-wq47cn3q.js → instruction-discovery-vt6mrpr2.js} +1 -1
- package/dist/chunks/{form-ndqtf2h8.js → instruction-discovery-vyqn3nqs.js} +6 -6
- package/dist/chunks/{form-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-b447kr2a.js → instruction-discovery-w1j0xy0c.js} +30 -30
- package/dist/chunks/{form-w1k39n5e.js → instruction-discovery-w1k39n5e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-6byvmcg7.js → instruction-discovery-w4qm5dy3.js} +23 -23
- package/dist/chunks/{form-w4zk9745.js → instruction-discovery-w4zk9745.js} +1 -1
- package/dist/chunks/{form-x5xbzaa3.js → instruction-discovery-w50gdyna.js} +16 -16
- package/dist/chunks/{form-bv4kvpvk.js → instruction-discovery-w5c8nb9b.js} +21 -21
- package/dist/chunks/{form-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{form-x25rkjwp.js → instruction-discovery-wezpxa1b.js} +11 -11
- package/dist/chunks/{form-4j1v6vvv.js → instruction-discovery-whrhfa39.js} +4 -4
- package/dist/chunks/{form-xpb882n5.js → instruction-discovery-wky51bez.js} +30 -30
- package/dist/chunks/{form-s0w6xev2.js → instruction-discovery-wm38pcq2.js} +14 -14
- package/dist/chunks/{form-szd1nzgf.js → instruction-discovery-wphgnc0y.js} +24 -24
- package/dist/chunks/{form-h5cfkvzn.js → instruction-discovery-wqbkkb71.js} +17 -17
- package/dist/chunks/{form-7zgmv3d0.js → instruction-discovery-wqd9v7e0.js} +39 -39
- package/dist/chunks/{form-055h4mnd.js → instruction-discovery-wqqsessn.js} +7 -7
- package/dist/chunks/{form-fgx0j8wy.js → instruction-discovery-x0qks5pt.js} +24 -24
- package/dist/chunks/{form-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-75s9xry6.js → instruction-discovery-x7pn7bnf.js} +15 -15
- package/dist/chunks/{form-h2fnsspk.js → instruction-discovery-xd2p8b6x.js} +11 -11
- package/dist/chunks/{form-8dx337tp.js → instruction-discovery-xpb83r6x.js} +28 -28
- package/dist/chunks/{form-j24mk0r1.js → instruction-discovery-xypz8b97.js} +11 -11
- package/dist/chunks/{form-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-x0wd78c0.js → instruction-discovery-y3hzsdv3.js} +41 -41
- package/dist/chunks/{form-dpkg50ah.js → instruction-discovery-y71avatq.js} +4 -4
- package/dist/chunks/{form-4ykyx8vs.js → instruction-discovery-yfxfe5g2.js} +32 -32
- package/dist/chunks/{form-yp2x3t23.js → instruction-discovery-yp2x3t23.js} +1 -1
- package/dist/chunks/{form-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{form-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-f2ck635b.js → instruction-discovery-z0pd17yf.js} +8 -8
- package/dist/chunks/{form-fdtqxjqf.js → instruction-discovery-z21b7j6a.js} +11 -11
- package/dist/chunks/{form-bwmmvwpj.js → instruction-discovery-z223d6cr.js} +11 -11
- package/dist/chunks/{form-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{form-25y9ayt4.js → instruction-discovery-zc355dxs.js} +11 -11
- package/dist/chunks/{form-ag4rn41e.js → instruction-discovery-zcrspsvn.js} +4 -4
- package/dist/chunks/{form-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-jrh4h7b1.js → instruction-discovery-zf0jhj2x.js} +3 -3
- package/dist/chunks/{form-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +74 -74
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/form-cfpwp5xv.js +0 -26
- package/dist/chunks/form-gbadjzag.js +0 -4
- package/dist/chunks/form-phz3h32g.js +0 -18
- package/dist/chunks/form-sh5yaj5r.js +0 -466
- package/dist/chunks/form-xkp71aat.js +0 -247
- /package/dist/chunks/{form-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{form-hrnqkpcd.js → instruction-discovery-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-paphc93g.js → instruction-discovery-paphc93g.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./instruction-discovery-jk9aq817.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./instruction-discovery-neey9an0.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const shell = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin2 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin19, exports_shell };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node5
|
|
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(Service8, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node5, exports_update };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-txh28jzs.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Info22,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-5rcy5zfz.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID12.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID9.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID9.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -91,7 +91,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
91
91
|
return Info22.make({
|
|
92
92
|
...Info22.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID9.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-txh28jzs.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-5rcy5zfz.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service59
|
|
4
|
+
} from "./instruction-discovery-sspjsgsv.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-txh28jzs.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service59;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID7.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-8xja2nts.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin40,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin40 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin31 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin40, exports_opencode };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./instruction-discovery-7cbmgzv6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service71
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-fjnrjabq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
56
|
+
const forms = yield* Service66;
|
|
57
57
|
const permission = yield* Service71;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name13, description6,
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -400,4 +400,4 @@ function update3(adapter, event) {
|
|
|
400
400
|
return project(event);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
export {
|
|
403
|
+
export { update2, exports_message_updater };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-q51nj4rx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-e3sj3ghv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event13
|
|
10
|
+
} from "./instruction-discovery-xpb83r6x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-sspjsgsv.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-txh28jzs.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID7.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID7.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID12.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin2 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID12.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-e3sj3ghv.js";
|
|
5
5
|
import {
|
|
6
6
|
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service63,
|
|
17
|
+
node66
|
|
18
|
+
} from "./instruction-discovery-sh9dxjmw.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event14,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info21,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service62,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node65
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event14 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info21 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service62 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service63;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info21.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info21.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service62.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node65 = makeLocationNode({
|
|
116
|
+
service: Service62,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node66]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info21, Service62, node65, exports_reference2, Event14 };
|