@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service49,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured6,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service49 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,7 +199,7 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service49.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
@@ -207,8 +207,8 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured6(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node52 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service49, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured6, node52, exports_select };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-txh28jzs.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID12.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-xpb83r6x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-sspjsgsv.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID7.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-204awwsh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node53
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node53 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service50, node53, canonical3, exports_location_service_map };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-q51nj4rx.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./instruction-discovery-xpb83r6x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-sspjsgsv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID12
|
|
14
|
+
} from "./instruction-discovery-txh28jzs.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID12.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID7.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service61;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node12, exports_location_watcher_policy };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./instruction-discovery-jk9aq817.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin31
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin31 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service51;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin10 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin31, exports_websearch };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-204awwsh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./instruction-discovery-jk9aq817.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service24
|
|
12
|
+
} from "./instruction-discovery-w1j0xy0c.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin26 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service51;
|
|
34
34
|
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service24;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin4 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin26, exports_worktree };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-e3sj3ghv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-th0dg2vq.js";
|
|
9
9
|
import {
|
|
10
10
|
Service76,
|
|
11
11
|
node81
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-204awwsh.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-dxj72tfx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service52,
|
|
18
|
+
node55
|
|
19
|
+
} from "./instruction-discovery-89w3sxnk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./instruction-discovery-m2cdftt8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node12
|
|
26
|
+
} from "./instruction-discovery-p1wf2k30.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service6,
|
|
36
|
+
node: () => node9
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service76;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service52;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service78;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service6.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node9 = makeLocationNode({
|
|
106
|
+
service: Service6,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node55, FSUtil.node, node81, node83, node84, node24, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service6, node9, exports_location_watcher };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-8xja2nts.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-e3sj3ghv.js";
|
|
12
12
|
import {
|
|
13
13
|
Service78,
|
|
14
14
|
node83
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-th0dg2vq.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-e3sj3ghv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-204awwsh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service73,
|
|
14
|
+
node78
|
|
15
|
+
} from "./instruction-discovery-0bsm19da.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,7 +37,7 @@ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service73;
|
|
41
41
|
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node, node81,
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node78]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node14, exports_instructions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./instruction-discovery-47gsdddb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./instruction-discovery-89w3sxnk.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
12
|
Service69
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-gyzffn0d.js";
|
|
14
14
|
import {
|
|
15
15
|
Service76
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-204awwsh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin20 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
35
|
const discovery = yield* Service69;
|
|
@@ -39,7 +39,7 @@ var Plugin6 = define({
|
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service76;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service52;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin20, exports_instruction };
|