@opencode/core 0.0.0-dev-20850 → 0.0.0-dev-20852
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/vcs-086esqp9.js +26 -0
- package/dist/chunks/{command-6v23mrsw.js → vcs-0csrw0rg.js} +11 -11
- package/dist/chunks/{command-886t639t.js → vcs-0htv3dc9.js} +9 -9
- package/dist/chunks/{command-nz5tb3mz.js → vcs-0mgfbfk9.js} +13 -13
- package/dist/chunks/{command-sgfee8yb.js → vcs-0pfazcqt.js} +5 -5
- package/dist/chunks/{command-zc7432er.js → vcs-0pr9mksw.js} +30 -30
- package/dist/chunks/{command-vea3bt9n.js → vcs-0sfv069z.js} +8 -8
- package/dist/chunks/{command-684z2rkg.js → vcs-0tknss5k.js} +4 -4
- package/dist/chunks/{command-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-ngkkqbqm.js → vcs-0vga355r.js} +26 -26
- package/dist/chunks/{command-zq51jzx2.js → vcs-15s9tzxd.js} +24 -24
- package/dist/chunks/{command-wggd68j5.js → vcs-19mmt9jm.js} +4 -4
- package/dist/chunks/{command-2x98hj2d.js → vcs-1b7t08e4.js} +6 -6
- package/dist/chunks/{command-x4e9fr25.js → vcs-1g5yqc8z.js} +16 -16
- package/dist/chunks/{command-gj7khvz3.js → vcs-1j76fkgm.js} +11 -11
- package/dist/chunks/{command-kwbgkw7p.js → vcs-1ma3nf4z.js} +3 -3
- package/dist/chunks/{command-wh6zw745.js → vcs-1pxz8ven.js} +5 -5
- package/dist/chunks/{command-d331akc0.js → vcs-1r3s6wg0.js} +21 -21
- package/dist/chunks/{command-n4r3xatb.js → vcs-1vezggaq.js} +4 -4
- package/dist/chunks/{command-k085ax4w.js → vcs-20fcqj0r.js} +9 -9
- package/dist/chunks/{command-4s7sr0a4.js → vcs-235km5t5.js} +8 -8
- package/dist/chunks/{command-5faj6gpx.js → vcs-26f3rcp3.js} +19 -19
- package/dist/chunks/{command-1xfjfm5k.js → vcs-2fgx34m2.js} +20 -20
- package/dist/chunks/{command-7dqw4kz8.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{command-mzydhjeg.js → vcs-2kad87fd.js} +10 -10
- package/dist/chunks/{command-2vvh33eb.js → vcs-2vvh33eb.js} +2 -2
- package/dist/chunks/{command-31xfzrxg.js → vcs-31xfzrxg.js} +2 -2
- package/dist/chunks/{command-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-mxv0ahxn.js → vcs-3fz6v6g7.js} +36 -36
- package/dist/chunks/{command-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{command-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-c10fq8yw.js → vcs-3zbnw38w.js} +70 -70
- package/dist/chunks/{command-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-gj71zhbs.js → vcs-47jkzegy.js} +5 -5
- package/dist/chunks/{command-00832hy7.js → vcs-481njsdn.js} +8 -8
- package/dist/chunks/{command-n7syarbg.js → vcs-4987t165.js} +6 -6
- package/dist/chunks/{command-bz4h3gj4.js → vcs-4dgw1k7b.js} +26 -26
- package/dist/chunks/{command-pv5w45yn.js → vcs-4dnfqdak.js} +8 -8
- package/dist/chunks/{command-ke0v1s51.js → vcs-4e8w5bh1.js} +41 -41
- package/dist/chunks/{command-99tgmy8e.js → vcs-4hefet2q.js} +35 -35
- package/dist/chunks/{command-00v3p02c.js → vcs-4mzh11ac.js} +16 -16
- package/dist/chunks/{command-x7q2mydz.js → vcs-4swtwscf.js} +4 -4
- package/dist/chunks/{command-gnqwsg0j.js → vcs-4t573r9z.js} +9 -9
- package/dist/chunks/{command-4ts7tf6z.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-g686f6pq.js → vcs-4xdpab2z.js} +9 -9
- package/dist/chunks/{command-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{command-qmwxrq4q.js → vcs-55q4pg3x.js} +3 -3
- package/dist/chunks/{command-8dmft94a.js → vcs-59t8e9hp.js} +16 -16
- package/dist/chunks/{command-wh1armcy.js → vcs-5a6bdb3h.js} +30 -30
- package/dist/chunks/{command-ded7ed65.js → vcs-5dwrf02m.js} +13 -13
- package/dist/chunks/{command-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-kzdcqyn1.js → vcs-5nrew705.js} +5 -5
- package/dist/chunks/{command-rqa1jxse.js → vcs-5pyjqqve.js} +2 -2
- package/dist/chunks/{command-yk0w1sxf.js → vcs-5q25jc76.js} +5 -5
- package/dist/chunks/{command-3t1dcsxj.js → vcs-5t6ehpr6.js} +50 -50
- package/dist/chunks/{command-hatca7p1.js → vcs-64x317sc.js} +21 -21
- package/dist/chunks/{command-2w85jf91.js → vcs-6m2e7bc8.js} +3 -3
- package/dist/chunks/{command-xmmcf9bt.js → vcs-6mpsqnn8.js} +5 -5
- package/dist/chunks/{command-b3d0s7yq.js → vcs-6t6pa95g.js} +7 -7
- package/dist/chunks/{command-51p4tjed.js → vcs-6vw52h41.js} +21 -21
- package/dist/chunks/{command-r0p853b9.js → vcs-6x8j28ta.js} +17 -17
- package/dist/chunks/{command-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-3b7e2402.js → vcs-719fesem.js} +9 -9
- package/dist/chunks/{command-7rce4ag1.js → vcs-74kk7wxm.js} +7 -7
- package/dist/chunks/{command-r9vebypt.js → vcs-75v81xpy.js} +19 -19
- package/dist/chunks/{command-c765mh8b.js → vcs-79qaa2kf.js} +9 -9
- package/dist/chunks/{command-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-t4g07myj.js → vcs-7enwnqx2.js} +15 -15
- package/dist/chunks/{command-4h0vb0gq.js → vcs-7gx1y4bm.js} +15 -15
- package/dist/chunks/{command-emhev80g.js → vcs-7k8ewqsg.js} +29 -29
- package/dist/chunks/{command-wkrrhx1g.js → vcs-7zp1n7a7.js} +14 -14
- package/dist/chunks/{command-snnejgvy.js → vcs-84p0rsy4.js} +23 -23
- package/dist/chunks/{command-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{command-r6a4azr4.js → vcs-87s4pnn4.js} +9 -9
- package/dist/chunks/{command-reevcg95.js → vcs-8dp3qddt.js} +19 -19
- package/dist/chunks/{command-0yz1bb5z.js → vcs-8h02xmj1.js} +4 -4
- package/dist/chunks/{command-43b4ysp3.js → vcs-8hzxhjgv.js} +8 -8
- package/dist/chunks/{command-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-rg90hx5t.js → vcs-8mdjf4ye.js} +20 -20
- package/dist/chunks/{command-z65krm0a.js → vcs-8mjwj69h.js} +26 -26
- package/dist/chunks/{command-dehk00jt.js → vcs-913zs37e.js} +15 -15
- package/dist/chunks/{command-ee1byx1z.js → vcs-91nc53vq.js} +33 -33
- package/dist/chunks/{command-91qna3x0.js → vcs-91qna3x0.js} +3 -3
- package/dist/chunks/{command-9rcsrpay.js → vcs-92c95a58.js} +26 -26
- package/dist/chunks/{command-5mgptwxw.js → vcs-9arrdvcr.js} +11 -11
- package/dist/chunks/{command-524nwbbt.js → vcs-9f8e2eft.js} +10 -10
- package/dist/chunks/{command-x7m2pq7s.js → vcs-a1z3z3g0.js} +9 -9
- package/dist/chunks/{command-svcw9x3w.js → vcs-a3zwd18q.js} +12 -12
- package/dist/chunks/{command-hvtsap7v.js → vcs-a52aq9pv.js} +20 -20
- package/dist/chunks/{command-9my8cp47.js → vcs-acv6agwm.js} +30 -30
- package/dist/chunks/{command-db2wf4at.js → vcs-addxnjmp.js} +4 -4
- package/dist/chunks/{command-4jw9kfxa.js → vcs-arj5enh2.js} +10 -10
- package/dist/chunks/{command-a2qe2ev9.js → vcs-at1kfnmk.js} +8 -8
- package/dist/chunks/{command-754hrxp0.js → vcs-b0tzr3db.js} +18 -18
- package/dist/chunks/{command-9ygwj23r.js → vcs-b1tttxvj.js} +18 -18
- package/dist/chunks/{command-hdkng2sj.js → vcs-b3f8fkhc.js} +5 -5
- package/dist/chunks/{command-trs4csaq.js → vcs-bc7rc02h.js} +30 -30
- package/dist/chunks/{command-ts860kc8.js → vcs-bddt2pqj.js} +10 -10
- package/dist/chunks/{command-03eecatj.js → vcs-bnxe6qt4.js} +32 -32
- package/dist/chunks/{command-n94jt7k6.js → vcs-bqk49rdk.js} +11 -11
- package/dist/chunks/{command-h3k0sdzw.js → vcs-bsprd9wx.js} +3 -3
- package/dist/chunks/{command-c41wscbt.js → vcs-c41wscbt.js} +2 -2
- package/dist/chunks/{command-b1nzd013.js → vcs-c4bpxzyg.js} +2 -2
- package/dist/chunks/{command-c8ax2afj.js → vcs-c8ax2afj.js} +2 -2
- package/dist/chunks/{command-c1p4wns8.js → vcs-ccwyehyt.js} +7 -7
- package/dist/chunks/{command-zy43x3f1.js → vcs-cp937pt4.js} +4 -4
- package/dist/chunks/{command-sg56rmc9.js → vcs-cscq17wm.js} +9 -9
- package/dist/chunks/{command-tdcm2knz.js → vcs-d1hzem4k.js} +36 -36
- package/dist/chunks/{command-8k7cnv0y.js → vcs-d4k6vvjm.js} +1 -1
- package/dist/chunks/{command-e53ktggx.js → vcs-dek0q3p9.js} +43 -43
- package/dist/chunks/{command-mm236w6k.js → vcs-dks7depp.js} +17 -17
- package/dist/chunks/{command-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-drwq78ky.js → vcs-drwq78ky.js} +1 -1
- package/dist/chunks/{command-2ej7p5df.js → vcs-dv7vdq8f.js} +13 -13
- package/dist/chunks/{command-125b2gjd.js → vcs-e0ck1vyz.js} +27 -27
- package/dist/chunks/{command-9a3p6fm2.js → vcs-e0s5vzwf.js} +51 -51
- package/dist/chunks/{command-m1q8be4e.js → vcs-e322j8vf.js} +6 -6
- package/dist/chunks/{command-vdwvtvgk.js → vcs-e7max901.js} +47 -47
- package/dist/chunks/{command-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-eaeq0sye.js → vcs-eg7g03rw.js} +7 -7
- package/dist/chunks/{command-nrxc3w5k.js → vcs-egxa6wef.js} +21 -21
- package/dist/chunks/{command-d8npn8xg.js → vcs-ekvengxv.js} +16 -16
- package/dist/chunks/{command-266f832d.js → vcs-epvhvayn.js} +11 -11
- package/dist/chunks/{command-es1vcfrp.js → vcs-es1vcfrp.js} +3 -3
- package/dist/chunks/{command-p42hj8p8.js → vcs-eys57y9b.js} +8 -8
- package/dist/chunks/{command-vy8bzexn.js → vcs-f104y2wp.js} +20 -20
- package/dist/chunks/{command-7qskwz89.js → vcs-f6ehv80r.js} +21 -21
- package/dist/chunks/{command-1078m2ze.js → vcs-f7v1be6r.js} +9 -9
- package/dist/chunks/{command-b4fmh4gz.js → vcs-f8enj7d3.js} +4 -4
- package/dist/chunks/{command-fcs8jd9f.js → vcs-f8xes8ea.js} +31 -31
- package/dist/chunks/{command-z463bfa6.js → vcs-fc20vwn7.js} +32 -32
- package/dist/chunks/{command-gsnj80d9.js → vcs-fjtjx80y.js} +45 -45
- package/dist/chunks/{command-v0es1rhs.js → vcs-fpecnkgp.js} +9 -9
- package/dist/chunks/{command-khmqacep.js → vcs-fxaymqdw.js} +4 -4
- package/dist/chunks/{command-8akyxt9x.js → vcs-fym2egaf.js} +180 -180
- package/dist/chunks/{command-4n4sjte8.js → vcs-g1kbbzwv.js} +20 -20
- package/dist/chunks/{command-p51cfpkz.js → vcs-g1stf5ec.js} +8 -8
- package/dist/chunks/{command-f6zrmd8m.js → vcs-g7sqgjk5.js} +15 -15
- package/dist/chunks/{command-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-gk8qb678.js → vcs-gk8qb678.js} +1 -1
- package/dist/chunks/{command-zzqs5kr4.js → vcs-gkpc65z4.js} +52 -52
- package/dist/chunks/{command-zyfyd078.js → vcs-gmcw3ffg.js} +23 -23
- package/dist/chunks/{command-n8cj0r05.js → vcs-gnf6a704.js} +3 -3
- package/dist/chunks/{command-rmpnsk58.js → vcs-h2sbe1zw.js} +21 -21
- package/dist/chunks/{command-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-xpgsdcx2.js → vcs-h73xewvj.js} +8 -8
- package/dist/chunks/{command-6w6dyk7v.js → vcs-hdtf1423.js} +9 -9
- package/dist/chunks/{command-q5e7cmwt.js → vcs-he27pt63.js} +1 -1
- package/dist/chunks/{command-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/{command-yabdq57b.js → vcs-hhasc4wk.js} +15 -15
- package/dist/chunks/{command-mq9nb5yf.js → vcs-hne8beqj.js} +12 -12
- package/dist/chunks/{command-z4zmw5wd.js → vcs-hqsnmgn9.js} +38 -38
- package/dist/chunks/{command-hyzzdb65.js → vcs-hs4jhd8t.js} +12 -12
- package/dist/chunks/{command-pz0ytm9k.js → vcs-hwbqs4aj.js} +8 -8
- package/dist/chunks/{command-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{command-6rv30qxe.js → vcs-j8hse5kh.js} +5 -5
- package/dist/chunks/{command-nr7p0et9.js → vcs-jdpcmxaq.js} +5 -5
- package/dist/chunks/{command-6qrtx4s9.js → vcs-jpts0yk4.js} +10 -10
- package/dist/chunks/{command-sf6256ff.js → vcs-jrrjh5qh.js} +4 -4
- package/dist/chunks/{command-r5tpv63y.js → vcs-js4prka5.js} +309 -309
- package/dist/chunks/{command-70az54m3.js → vcs-kmqyv7tr.js} +32 -32
- package/dist/chunks/{command-0r9t40ws.js → vcs-ksa5enky.js} +46 -46
- package/dist/chunks/{command-gcxv3h2c.js → vcs-kzr4d4yx.js} +5 -5
- package/dist/chunks/{command-2ztj38qe.js → vcs-m82p2ea3.js} +20 -20
- package/dist/chunks/{command-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-f5rky6pw.js → vcs-mbtj9ds6.js} +32 -32
- package/dist/chunks/{command-rhv7vgb3.js → vcs-n5cyx6pm.js} +3 -3
- package/dist/chunks/{command-p267qznr.js → vcs-nc5zv3b6.js} +32 -32
- package/dist/chunks/{command-gbst0gvm.js → vcs-ncrc9mqf.js} +40 -40
- package/dist/chunks/{command-zkgp92a0.js → vcs-ndgjjs73.js} +19 -19
- package/dist/chunks/{command-y7ppa9zv.js → vcs-nezpkvx6.js} +9 -9
- package/dist/chunks/{command-ed1g29hy.js → vcs-nma959mg.js} +3 -3
- package/dist/chunks/{command-dys7k0s0.js → vcs-npw39rc8.js} +8 -8
- package/dist/chunks/{command-zynkq0bw.js → vcs-nsh8sgfc.js} +10 -10
- package/dist/chunks/{command-e87zkmfq.js → vcs-nwehx7ay.js} +20 -20
- package/dist/chunks/{command-hzs77mdg.js → vcs-nztkk7wb.js} +19 -19
- package/dist/chunks/{command-54e5rmax.js → vcs-p4y3j28t.js} +1 -1
- package/dist/chunks/{command-jdz4qjxc.js → vcs-p9d0rdr1.js} +4 -4
- package/dist/chunks/{command-apj6cajm.js → vcs-pagt2a0d.js} +14 -14
- package/dist/chunks/{command-hrvrjbe0.js → vcs-pe0mrp9z.js} +5 -5
- package/dist/chunks/vcs-pf31ssb9.js +18 -0
- package/dist/chunks/{command-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{command-ycjb11n5.js → vcs-prmgem5b.js} +6 -6
- package/dist/chunks/{command-qkb6y1tc.js → vcs-psw5e8qw.js} +31 -31
- package/dist/chunks/{command-q0xm7vwc.js → vcs-q0xm7vwc.js} +2 -2
- package/dist/chunks/{command-k3cg02ta.js → vcs-q1v8m7mv.js} +5 -5
- package/dist/chunks/{command-0f74e6s6.js → vcs-q8grz0g8.js} +16 -16
- package/dist/chunks/{command-npvtjmwq.js → vcs-qg4yzkf6.js} +15 -15
- package/dist/chunks/{command-eq3njjjt.js → vcs-qjva7zsb.js} +24 -24
- package/dist/chunks/{command-4ekscj25.js → vcs-qjx1ax0j.js} +5 -5
- package/dist/chunks/{command-njrwvgpc.js → vcs-qkh4a7bk.js} +11 -11
- package/dist/chunks/{command-wymw8b6n.js → vcs-qkxbda19.js} +11 -11
- package/dist/chunks/{command-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{command-gvxf58ty.js → vcs-r0a53c5q.js} +13 -13
- package/dist/chunks/{command-hqb6mdaz.js → vcs-r1apfhp5.js} +17 -17
- package/dist/chunks/{command-t5mnyv20.js → vcs-r3vzrrgx.js} +5 -5
- package/dist/chunks/{command-wtkbvwtp.js → vcs-r3z16319.js} +24 -24
- package/dist/chunks/{command-1tc9ms7v.js → vcs-r9vn4tjy.js} +87 -87
- package/dist/chunks/{command-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-eaj1djv9.js → vcs-rhjbct0v.js} +8 -8
- package/dist/chunks/{command-r8xr0va3.js → vcs-rhraev7y.js} +4 -4
- package/dist/chunks/{command-rkprpv83.js → vcs-rkprpv83.js} +2 -2
- package/dist/chunks/{command-erj4chxm.js → vcs-rwrxn7zv.js} +9 -9
- package/dist/chunks/{command-bep02zpa.js → vcs-rxws6bhm.js} +11 -11
- package/dist/chunks/{command-ryr25ayn.js → vcs-ryr25ayn.js} +1 -1
- package/dist/chunks/{command-7ad1qpnj.js → vcs-s6p21de5.js} +16 -16
- package/dist/chunks/{command-7ffperky.js → vcs-s99vwkcp.js} +20 -20
- package/dist/chunks/{command-1ake5xtc.js → vcs-scx6fy7g.js} +15 -15
- package/dist/chunks/{command-hy8hfmse.js → vcs-snenmxcf.js} +5 -5
- package/dist/chunks/{command-sefmw985.js → vcs-ssejya2c.js} +26 -26
- package/dist/chunks/{command-m9r522wj.js → vcs-swn7sb9g.js} +18 -18
- package/dist/chunks/{command-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{command-waskdk5r.js → vcs-sz15zhhw.js} +4 -4
- package/dist/chunks/{command-p6dnv1qh.js → vcs-t0mdjq8w.js} +20 -20
- package/dist/chunks/{command-9gz7rpcg.js → vcs-t0nn02sh.js} +21 -21
- package/dist/chunks/{command-jnyt3wvk.js → vcs-t2n2tt0m.js} +15 -15
- package/dist/chunks/{command-rvea9875.js → vcs-tav3j76w.js} +9 -9
- package/dist/chunks/{command-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{command-3xr281qj.js → vcs-tjc13hta.js} +7 -7
- package/dist/chunks/{command-cccett8t.js → vcs-tjv4f2cx.js} +85 -85
- package/dist/chunks/{command-zmekajch.js → vcs-tjvrccee.js} +19 -19
- package/dist/chunks/{command-tkb22qbm.js → vcs-tkb22qbm.js} +2 -2
- package/dist/chunks/{command-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{command-sx7mvmwx.js → vcs-twez2640.js} +5 -5
- package/dist/chunks/{command-6674vnd9.js → vcs-ty18q8bq.js} +32 -32
- package/dist/chunks/{command-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{command-f4ej5vtm.js → vcs-tztvcf3n.js} +12 -12
- package/dist/chunks/{command-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{command-ja2a058e.js → vcs-v7qp4w0s.js} +4 -4
- package/dist/chunks/{command-7fqkjd9x.js → vcs-va69yy5s.js} +35 -35
- package/dist/chunks/{command-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{command-zryp2me0.js → vcs-vgvem2mc.js} +12 -12
- package/dist/chunks/{command-c41h4f8s.js → vcs-vwvqks9y.js} +3 -3
- package/dist/chunks/{command-48kw51zw.js → vcs-vx3jgdek.js} +3 -3
- package/dist/chunks/{command-8c2fejh3.js → vcs-vysf6yst.js} +45 -45
- package/dist/chunks/{command-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-3grbmg3s.js → vcs-w19yfnah.js} +17 -17
- package/dist/chunks/{command-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/vcs-w8rb82bd.js +253 -0
- package/dist/chunks/{command-xxc15cb4.js → vcs-wavsan29.js} +15 -15
- package/dist/chunks/{command-3ggbdzvf.js → vcs-wc0vytja.js} +36 -36
- package/dist/chunks/{command-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{command-a89e0tac.js → vcs-wj76ss2k.js} +4 -4
- package/dist/chunks/{command-1e7j80nv.js → vcs-wyjf03zf.js} +17 -17
- package/dist/chunks/{command-e3mqmg8e.js → vcs-x01a3e41.js} +9 -9
- package/dist/chunks/{command-sd66kwnn.js → vcs-x1w8kz1j.js} +6 -6
- package/dist/chunks/{command-sf0yp864.js → vcs-x8cycxf4.js} +4 -4
- package/dist/chunks/{command-m7jak9xg.js → vcs-xbbfye0x.js} +17 -17
- package/dist/chunks/{command-50waebaf.js → vcs-xbe1xf1p.js} +10 -10
- package/dist/chunks/{command-h71w788e.js → vcs-xrpg47n6.js} +8 -8
- package/dist/chunks/{command-2vn9a9m5.js → vcs-xsg53x9j.js} +13 -13
- package/dist/chunks/{command-hes1j7ga.js → vcs-xsgk3b13.js} +9 -9
- package/dist/chunks/{command-9xnzsa35.js → vcs-xtcapa33.js} +18 -18
- package/dist/chunks/{command-5t3310k6.js → vcs-xwey7zsm.js} +4 -4
- package/dist/chunks/{command-dtpvhdth.js → vcs-y0bqer6n.js} +5 -5
- package/dist/chunks/{command-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-0651g2m8.js → vcs-y76kf4sb.js} +23 -23
- package/dist/chunks/{command-y9y6emgs.js → vcs-y9zen75t.js} +32 -32
- package/dist/chunks/{command-nt0mjwaw.js → vcs-yczg0ak8.js} +11 -11
- package/dist/chunks/{command-wjr9rjd7.js → vcs-ywt8jp22.js} +6 -6
- package/dist/chunks/{command-8nehyppj.js → vcs-yxp99xgz.js} +20 -20
- package/dist/chunks/{command-s5phpar0.js → vcs-yzq5b05t.js} +9 -9
- package/dist/chunks/{command-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-s98w7xaq.js → vcs-z2hqca5m.js} +13 -13
- package/dist/chunks/{command-141ztcwb.js → vcs-z4656w27.js} +25 -25
- package/dist/chunks/{command-ztm4jwfz.js → vcs-z539r0a3.js} +4 -4
- package/dist/chunks/{command-0g7cgnx9.js → vcs-zjdd0gds.js} +1 -1
- package/dist/chunks/{command-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-f29mbr7f.js → vcs-zsr4wwhv.js} +4 -4
- package/dist/chunks/{command-5ytdfek8.js → vcs-zvewsjf9.js} +16 -16
- package/dist/chunks/{command-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/command-4v7qdvcn.js +0 -18
- package/dist/chunks/command-gzksc6e4.js +0 -26
- package/dist/chunks/command-x8196b4w.js +0 -253
- /package/dist/chunks/{command-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-bw78ga2c.js → vcs-bw78ga2c.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-f8enj7d3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./vcs-2kad87fd.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
22
|
Service: () => Service56,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
25
|
node: () => node60,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -48,7 +48,7 @@ var Manifest2 = Schema.Struct({
|
|
|
48
48
|
|
|
49
49
|
class Service56 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -81,7 +81,7 @@ var configKey = (origin) => `wellknown:config:${origin}`;
|
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
82
|
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service75;
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,7 +113,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
119
|
return Service56.of({
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var node60 = makeGlobalNode({ service: Service56, layer, deps: [httpClient,
|
|
160
|
+
var node60 = makeGlobalNode({ service: Service56, layer, deps: [httpClient, node79, node88] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2, Service56,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service56, Event13, inspect2, resolve3, node60, exports_wellknown };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-e7max901.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin45 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin45, exports_plan };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-f8enj7d3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event3,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options3,
|
|
30
|
+
Service: () => Service29,
|
|
31
|
+
configured: () => configured3,
|
|
32
|
+
layer: () => layer14,
|
|
33
|
+
node: () => node32
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event3 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service29 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service84;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer26 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer26 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service29.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer26 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured3(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service29,
|
|
110
|
+
layer: layer14(options),
|
|
111
111
|
deps: [node88]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node32 = configured3();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event3, Options3, Service29, layer14, configured3, node32, exports_instruction_discovery };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./vcs-e7max901.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./vcs-8mjwj69h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
18
|
Input: () => Input5,
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin23,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description3,
|
|
23
23
|
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name5 = "skill";
|
|
30
30
|
var Input5 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,18 +43,18 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin23 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service31;
|
|
51
|
+
const permission = yield* Service66;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
56
|
input: Input5,
|
|
57
|
-
output:
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
@@ -79,4 +79,4 @@ var Plugin40 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name5, Input5,
|
|
82
|
+
export { name5, Input5, Output3, description3, toModelOutput2, Plugin23, exports_skill2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info13,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info13 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service55
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-tztvcf3n.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./vcs-1g5yqc8z.js";
|
|
10
10
|
import {
|
|
11
11
|
Service54
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-4dgw1k7b.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./vcs-8mjwj69h.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./vcs-4xdpab2z.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-e322j8vf.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin10
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin10 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
42
|
const config = yield* Service54;
|
|
43
|
-
const discovery = yield*
|
|
43
|
+
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
47
|
const watcher = yield* Service55;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
@@ -87,7 +87,7 @@ var Plugin12 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin12 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin12 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin12 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin12 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin10, exports_skill };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-f8enj7d3.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-ksa5enky.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./vcs-1g5yqc8z.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info9,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service50,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node53
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service50 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
62
|
const bus = yield* Service84;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service50.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node53 = makeLocationNode({
|
|
191
|
+
service: Service50,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, InitializeError2, Service50, node53, exports_vcs };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-f8enj7d3.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./vcs-1g5yqc8z.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service34,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node37
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service34 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service34.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [node88, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service34, node37, exports_rpc, define2 };
|