@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-8xja2nts.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-e3sj3ghv.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event13,
|
|
24
|
+
ID: () => ID8,
|
|
25
|
+
Info: () => Info20,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service61,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node64
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID8 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event13 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info20 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID8,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service61 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info20({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service61.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info20({
|
|
80
|
+
id: ID8.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID8, OAuth3, Key3, Value2, Event13, Info20, Service61, node64, exports_credential };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./instruction-discovery-jk9aq817.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./instruction-discovery-p1wf2k30.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin19 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_location_watcher2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./instruction-discovery-jk9aq817.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./instruction-discovery-v3378vpc.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./instruction-discovery-hht8ajtf.js";
|
|
17
17
|
import {
|
|
18
18
|
Service71
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-fjnrjabq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-0g8c9wsq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service49,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-neey9an0.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service45
|
|
37
|
+
} from "./instruction-discovery-wqd9v7e0.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./instruction-discovery-4yz848db.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instruction-discovery-2xxmc7cf.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin38 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service27;
|
|
122
|
+
const jobs = yield* Service64;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service67;
|
|
125
|
+
const access = yield* Service15;
|
|
126
|
+
const shell = yield* Service45;
|
|
127
|
+
const shellSelect = yield* Service49;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
129
|
const permission = yield* Service71;
|
|
130
|
-
const config = yield*
|
|
130
|
+
const config = yield* Service51;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin29 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name5,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin29 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name5,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input5,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin29 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name5,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name5];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin38, exports_shell2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AlibabaPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-71q4at8m.js";
|
|
4
4
|
import {
|
|
5
5
|
AmazonBedrockPlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-nm03esje.js";
|
|
7
7
|
import {
|
|
8
8
|
AzurePlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-3322m8p3.js";
|
|
10
10
|
import {
|
|
11
11
|
CerebrasPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-akw77m90.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-bkgt0f7r.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-rb2hzr3p.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DigitalOceanPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-467061by.js";
|
|
25
25
|
import {
|
|
26
26
|
DynamicProviderPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-vzcthcp8.js";
|
|
28
28
|
import {
|
|
29
29
|
GatewayPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-669tq793.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-wky51bez.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instruction-discovery-f5kdqpe9.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instruction-discovery-ferfphdt.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instruction-discovery-a8nah55w.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./instruction-discovery-dskh6dxk.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./instruction-discovery-fjvjtyp7.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./instruction-discovery-tjdkaywk.js";
|
|
52
52
|
import {
|
|
53
53
|
NvidiaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./instruction-discovery-vt6mrpr2.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./instruction-discovery-jrbkzpap.js";
|
|
58
58
|
import {
|
|
59
59
|
OpenAIPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./instruction-discovery-e5xvs4je.js";
|
|
61
61
|
import {
|
|
62
62
|
SnowflakeCortexPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./instruction-discovery-v1y5m4t8.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenAICompatiblePlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./instruction-discovery-hrnqkpcd.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./instruction-discovery-hzkh0c3y.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./instruction-discovery-t0z5je0s.js";
|
|
73
73
|
import {
|
|
74
74
|
PerplexityPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./instruction-discovery-veqvce7d.js";
|
|
76
76
|
import {
|
|
77
77
|
PoePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./instruction-discovery-nmp047qm.js";
|
|
79
79
|
import {
|
|
80
80
|
SapAICorePlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./instruction-discovery-55a4dvpq.js";
|
|
82
82
|
import {
|
|
83
83
|
VercelPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./instruction-discovery-tk7tn7wd.js";
|
|
85
85
|
import {
|
|
86
86
|
VenicePlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./instruction-discovery-yrhqyw5v.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./instruction-discovery-07jrefzd.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./instruction-discovery-p1hrn2gb.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./instruction-discovery-q4eww03h.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z63w68vq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service76
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-204awwsh.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-6gmnvvkm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin6 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service76;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin6, exports_git };
|