@opencode/core 0.0.0-dev-20829 → 0.0.0-dev-20831
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{pty-ks0ccrx6.js → persistent-pty-02xr1zsh.js} +8 -8
- package/dist/chunks/{pty-s17w1n1e.js → persistent-pty-0e0f2wa7.js} +21 -21
- package/dist/chunks/{pty-fd80m7p3.js → persistent-pty-0gwkcvrc.js} +36 -36
- package/dist/chunks/{pty-ypeaesjs.js → persistent-pty-0hvbv0av.js} +3 -3
- package/dist/chunks/{pty-q0xm7vwc.js → persistent-pty-0j77ygfz.js} +6 -6
- package/dist/chunks/{pty-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-hpfvhvya.js → persistent-pty-0tzy42a9.js} +8 -8
- package/dist/chunks/{pty-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-1gpb38yh.js → persistent-pty-0zdym56s.js} +9 -9
- package/dist/chunks/{pty-jtgbyr4a.js → persistent-pty-144fxwck.js} +28 -28
- package/dist/chunks/{pty-n8xxfej3.js → persistent-pty-14d24921.js} +32 -32
- package/dist/chunks/{pty-6ma4rgg5.js → persistent-pty-14gpq9b7.js} +24 -24
- package/dist/chunks/{pty-s80jrect.js → persistent-pty-160dstxj.js} +22 -22
- package/dist/chunks/{pty-3pkc36ya.js → persistent-pty-1djs0tvz.js} +7 -7
- package/dist/chunks/{pty-es811akx.js → persistent-pty-1j1f6xcv.js} +14 -14
- package/dist/chunks/{pty-pzfg0ztk.js → persistent-pty-1jb7jqa2.js} +11 -11
- package/dist/chunks/{pty-ma48de29.js → persistent-pty-1nwxscpy.js} +5 -5
- package/dist/chunks/persistent-pty-24d7twmp.js +253 -0
- package/dist/chunks/{pty-4ts7tf6z.js → persistent-pty-2ccvkpx1.js} +2 -2
- package/dist/chunks/{pty-2k8khapm.js → persistent-pty-2k8khapm.js} +1 -1
- package/dist/chunks/{pty-b674v2dg.js → persistent-pty-2k9fjx65.js} +5 -5
- package/dist/chunks/{pty-0xcfrkz9.js → persistent-pty-2m4gzwzp.js} +22 -22
- package/dist/chunks/{pty-xkb1khsr.js → persistent-pty-2prrfhe7.js} +23 -23
- package/dist/chunks/{pty-zjm5cem5.js → persistent-pty-2rx9dk58.js} +18 -18
- package/dist/chunks/{pty-2vvh33eb.js → persistent-pty-2vvh33eb.js} +2 -2
- package/dist/chunks/{pty-fqtvmpfq.js → persistent-pty-3a83a0n4.js} +8 -8
- package/dist/chunks/{pty-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-djsf3ra4.js → persistent-pty-3pk3ecam.js} +14 -14
- package/dist/chunks/{pty-2rqksdxh.js → persistent-pty-3pxm667c.js} +28 -28
- package/dist/chunks/{pty-k4ek9np0.js → persistent-pty-3r587zht.js} +18 -18
- package/dist/chunks/{pty-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-s0c7z8s7.js → persistent-pty-42qnv940.js} +28 -28
- package/dist/chunks/{pty-wze0qs61.js → persistent-pty-4gkdfnn9.js} +23 -23
- package/dist/chunks/{pty-w0y00tyh.js → persistent-pty-4vfrtg94.js} +17 -17
- package/dist/chunks/{pty-yrcj3v3g.js → persistent-pty-4z58m4b4.js} +4 -4
- package/dist/chunks/{pty-g7g2pdja.js → persistent-pty-52wkb7v6.js} +4 -4
- package/dist/chunks/{pty-r94pvvab.js → persistent-pty-54ma36ye.js} +4 -4
- package/dist/chunks/{pty-dxep3sqh.js → persistent-pty-569s51gv.js} +17 -17
- package/dist/chunks/{pty-32tw229e.js → persistent-pty-58cqhhht.js} +18 -18
- package/dist/chunks/{pty-pwzbey2q.js → persistent-pty-5bcesxs9.js} +50 -50
- package/dist/chunks/{pty-my4zabxr.js → persistent-pty-5epte933.js} +2 -2
- package/dist/chunks/{pty-waskdk5r.js → persistent-pty-5fec3t3w.js} +9 -9
- package/dist/chunks/{pty-82ayfpam.js → persistent-pty-5gz9c728.js} +18 -18
- package/dist/chunks/{pty-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-d5h7yrcx.js → persistent-pty-5tdr691p.js} +51 -51
- package/dist/chunks/{pty-a053vxgn.js → persistent-pty-5vz17b4s.js} +29 -29
- package/dist/chunks/{pty-qz98z2ah.js → persistent-pty-61q6e95h.js} +9 -9
- package/dist/chunks/{pty-qcya3rg4.js → persistent-pty-634seer4.js} +46 -46
- package/dist/chunks/{pty-a9vjqg87.js → persistent-pty-64wq75pw.js} +4 -4
- package/dist/chunks/{pty-9m0tzg6a.js → persistent-pty-6894dtb6.js} +19 -19
- package/dist/chunks/{pty-5e3qmt7f.js → persistent-pty-68j1m62m.js} +1 -1
- package/dist/chunks/{pty-61r3a0pq.js → persistent-pty-6c8xqbzr.js} +3 -3
- package/dist/chunks/{pty-pxj76zhh.js → persistent-pty-6dnepcx2.js} +36 -36
- package/dist/chunks/{pty-jf6x9176.js → persistent-pty-6hf42gwj.js} +14 -14
- package/dist/chunks/{pty-7fkffz83.js → persistent-pty-6pc27hjz.js} +8 -8
- package/dist/chunks/{pty-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-835y4q1g.js → persistent-pty-6z6j1hvd.js} +13 -13
- package/dist/chunks/{pty-k1y0s7m5.js → persistent-pty-6zz29p9f.js} +36 -36
- package/dist/chunks/{pty-5n9cp24j.js → persistent-pty-701ma3hz.js} +13 -13
- package/dist/chunks/{pty-3s8fpsh7.js → persistent-pty-738f4ns0.js} +45 -45
- package/dist/chunks/{pty-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-7g19e4tp.js → persistent-pty-7etbtvrg.js} +88 -88
- package/dist/chunks/{pty-q2v8m3fk.js → persistent-pty-7nzg23qc.js} +10 -10
- package/dist/chunks/{pty-gncde6fa.js → persistent-pty-7rk69q0z.js} +6 -6
- package/dist/chunks/{pty-tsf8s7tw.js → persistent-pty-84q8ddyg.js} +37 -37
- package/dist/chunks/{pty-w1eejvng.js → persistent-pty-84txncab.js} +5 -5
- package/dist/chunks/{pty-jvcn2d3z.js → persistent-pty-8813t3ja.js} +58 -58
- package/dist/chunks/{pty-816wh8nz.js → persistent-pty-89eza7wr.js} +13 -13
- package/dist/chunks/{pty-nv00r1cz.js → persistent-pty-89xxfcnj.js} +3 -3
- package/dist/chunks/{pty-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{pty-3fbg59cn.js → persistent-pty-8bve28yq.js} +16 -16
- package/dist/chunks/{pty-kne8f3cn.js → persistent-pty-8gxqpgph.js} +4 -4
- package/dist/chunks/{pty-v01rw2zy.js → persistent-pty-8hdcmxy1.js} +23 -23
- package/dist/chunks/{pty-kj20kd1j.js → persistent-pty-8km2h22m.js} +47 -47
- package/dist/chunks/{pty-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-p8aeyc23.js → persistent-pty-8v692fxg.js} +20 -20
- package/dist/chunks/{pty-rwa6rxfx.js → persistent-pty-8vhvath1.js} +10 -10
- package/dist/chunks/{pty-32cjn77w.js → persistent-pty-8ztybvde.js} +12 -12
- package/dist/chunks/{pty-62gtt4vs.js → persistent-pty-8zz30m54.js} +29 -29
- package/dist/chunks/{pty-9qgy8jr1.js → persistent-pty-90shh64c.js} +9 -9
- package/dist/chunks/{pty-f3zadn6b.js → persistent-pty-90y2bcva.js} +15 -15
- package/dist/chunks/{pty-j09zfasm.js → persistent-pty-91qna3x0.js} +3 -3
- package/dist/chunks/{pty-6dp5gy92.js → persistent-pty-93224vja.js} +6 -6
- package/dist/chunks/persistent-pty-94sdztrq.js +513 -0
- package/dist/chunks/{pty-jzg6w2y0.js → persistent-pty-955crbjz.js} +9 -9
- package/dist/chunks/{pty-736mwy1a.js → persistent-pty-9cv60dsd.js} +43 -43
- package/dist/chunks/{pty-1ajx6rf5.js → persistent-pty-9hn6k4tm.js} +8 -8
- package/dist/chunks/{pty-s1sr5m6z.js → persistent-pty-9thege9a.js} +18 -18
- package/dist/chunks/{pty-ryr25ayn.js → persistent-pty-a2ew8a62.js} +4 -4
- package/dist/chunks/{pty-v68v43a8.js → persistent-pty-a2zybenq.js} +19 -19
- package/dist/chunks/{pty-9p8g6ccm.js → persistent-pty-a45pyh1f.js} +3 -3
- package/dist/chunks/{pty-dffyxrs7.js → persistent-pty-a5mn6de8.js} +20 -20
- package/dist/chunks/{pty-g2x3q6j9.js → persistent-pty-aat6v70y.js} +38 -38
- package/dist/chunks/{pty-m329mjby.js → persistent-pty-agxmfjyz.js} +12 -12
- package/dist/chunks/{pty-e920mvbt.js → persistent-pty-atfs7mew.js} +25 -25
- package/dist/chunks/{pty-803mzads.js → persistent-pty-avs8edt6.js} +11 -11
- package/dist/chunks/{pty-scgrse2b.js → persistent-pty-b3f8fkhc.js} +5 -5
- package/dist/chunks/{pty-fqq9xsk7.js → persistent-pty-b4tw85s5.js} +19 -19
- package/dist/chunks/{pty-gskmna2p.js → persistent-pty-bfh6ts0t.js} +23 -23
- package/dist/chunks/{pty-c2z82zd3.js → persistent-pty-bphmfkp7.js} +1 -1
- package/dist/chunks/{pty-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{pty-nyczhf3x.js → persistent-pty-cdxr622n.js} +4 -4
- package/dist/chunks/{pty-ev663pnx.js → persistent-pty-cexy6923.js} +3 -3
- package/dist/chunks/{pty-jefh3zb1.js → persistent-pty-cf44fsv6.js} +19 -19
- package/dist/chunks/{pty-s9435745.js → persistent-pty-cmd80gk0.js} +25 -25
- package/dist/chunks/{pty-razh9zgp.js → persistent-pty-cpav9ert.js} +35 -35
- package/dist/chunks/{pty-extdh6e7.js → persistent-pty-cphsypwy.js} +24 -24
- package/dist/chunks/{pty-pey5f48j.js → persistent-pty-cw4cmn70.js} +1 -1
- package/dist/chunks/{pty-7e6328vk.js → persistent-pty-d5xadgfy.js} +7 -7
- package/dist/chunks/{pty-34dz50e5.js → persistent-pty-dmfebxy7.js} +22 -22
- package/dist/chunks/{pty-x24b9x88.js → persistent-pty-dqtqfvp1.js} +23 -23
- package/dist/chunks/{pty-qqeeq2t9.js → persistent-pty-drwq78ky.js} +7 -7
- package/dist/chunks/{pty-gjscf0hp.js → persistent-pty-dxjhrr1d.js} +21 -21
- package/dist/chunks/{pty-mx9vqzsb.js → persistent-pty-dzse07y5.js} +6 -6
- package/dist/chunks/{pty-xbt9ga98.js → persistent-pty-e0hy65w0.js} +18 -18
- package/dist/chunks/{pty-m632hd4m.js → persistent-pty-e14jwtmp.js} +15 -15
- package/dist/chunks/{pty-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-s08bddtt.js → persistent-pty-e6bj23tj.js} +17 -17
- package/dist/chunks/{pty-2kpekj74.js → persistent-pty-e8e8f3ja.js} +43 -43
- package/dist/chunks/{pty-nfs59v65.js → persistent-pty-e8kqavre.js} +35 -35
- package/dist/chunks/{pty-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-zmhzecev.js → persistent-pty-eh6ej367.js} +5 -5
- package/dist/chunks/{pty-3qddgp4y.js → persistent-pty-ezr5zw50.js} +25 -25
- package/dist/chunks/{pty-508e6s6p.js → persistent-pty-f0d3kyvk.js} +6 -6
- package/dist/chunks/{pty-y94gemam.js → persistent-pty-f456mqff.js} +15 -15
- package/dist/chunks/{pty-k1zym2rk.js → persistent-pty-f4mdd15q.js} +28 -28
- package/dist/chunks/{pty-g8yq79xy.js → persistent-pty-faewp65y.js} +14 -14
- package/dist/chunks/{pty-9q77khpg.js → persistent-pty-fhs0xn1t.js} +5 -5
- package/dist/chunks/{pty-5xfmpj1j.js → persistent-pty-fkn54x0f.js} +11 -11
- package/dist/chunks/{pty-7twrzkxr.js → persistent-pty-fkpjc2rv.js} +22 -22
- package/dist/chunks/{pty-khmqacep.js → persistent-pty-fxaymqdw.js} +4 -4
- package/dist/chunks/{pty-5315f502.js → persistent-pty-fyav22tq.js} +9 -9
- package/dist/chunks/{pty-rwc2pc3v.js → persistent-pty-g0e7481p.js} +11 -11
- package/dist/chunks/{pty-sh68mvxb.js → persistent-pty-g6q22p7g.js} +35 -35
- package/dist/chunks/{pty-yj1m88h6.js → persistent-pty-g866pcx9.js} +11 -11
- package/dist/chunks/{pty-pnzf6mjf.js → persistent-pty-gd0tnyjc.js} +1 -1
- package/dist/chunks/{pty-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-dxx87avg.js → persistent-pty-gex86280.js} +23 -23
- package/dist/chunks/{pty-gk8qb678.js → persistent-pty-gk8qb678.js} +1 -1
- package/dist/chunks/{pty-r44wx0p4.js → persistent-pty-gmtsq7zw.js} +11 -11
- package/dist/chunks/{pty-thtzhryg.js → persistent-pty-gpk600j1.js} +15 -15
- package/dist/chunks/{pty-py0hhzem.js → persistent-pty-grey5ade.js} +32 -32
- package/dist/chunks/{pty-1qxv4gah.js → persistent-pty-gsd95hce.js} +15 -15
- package/dist/chunks/{pty-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-h7s7r6s9.js → persistent-pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{pty-sdmzpsns.js → persistent-pty-h9azkfyn.js} +37 -37
- package/dist/chunks/{pty-3zg7z3bw.js → persistent-pty-h9d22378.js} +15 -15
- package/dist/chunks/{pty-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{pty-dcy4apwd.js → persistent-pty-hnv2pp8r.js} +14 -14
- package/dist/chunks/{pty-cyfy6ny6.js → persistent-pty-hp24zg0v.js} +22 -22
- package/dist/chunks/persistent-pty-hqrz8ks6.js +26 -0
- package/dist/chunks/{pty-k3m00qb7.js → persistent-pty-hv8vheb4.js} +3 -3
- package/dist/chunks/{pty-r6pqh68g.js → persistent-pty-hzecydg6.js} +14 -14
- package/dist/chunks/{pty-p0anqt4a.js → persistent-pty-j4pfkapa.js} +35 -35
- package/dist/chunks/{pty-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-6rm5yzkt.js → persistent-pty-j8m1p4p1.js} +4 -4
- package/dist/chunks/{pty-vh716j4k.js → persistent-pty-ja3e6986.js} +8 -8
- package/dist/chunks/{pty-4rd96g3b.js → persistent-pty-jbhnyrkm.js} +16 -16
- package/dist/chunks/{pty-h64c4a83.js → persistent-pty-jka8wpce.js} +8 -8
- package/dist/chunks/{pty-hnym75r4.js → persistent-pty-jvp385my.js} +4 -4
- package/dist/chunks/{pty-wjtb6svr.js → persistent-pty-k1rn6435.js} +34 -34
- package/dist/chunks/{pty-pdz1473m.js → persistent-pty-kar50817.js} +4 -4
- package/dist/chunks/{pty-mzw0q7vr.js → persistent-pty-kkrhqh6v.js} +9 -9
- package/dist/chunks/{pty-hkffa77z.js → persistent-pty-kqx1b4hy.js} +4 -4
- package/dist/chunks/{pty-3h6fbjms.js → persistent-pty-m6dfkh4w.js} +10 -10
- package/dist/chunks/{pty-5d607bsg.js → persistent-pty-m8w6th39.js} +9 -9
- package/dist/chunks/{pty-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-re8fv4z8.js → persistent-pty-mpye8y33.js} +11 -11
- package/dist/chunks/{pty-ngjdjm4k.js → persistent-pty-mx2cfqsv.js} +12 -12
- package/dist/chunks/{pty-0cnykqaq.js → persistent-pty-n1a1n825.js} +5 -5
- package/dist/chunks/{pty-4zyzs0ed.js → persistent-pty-na2yjdh0.js} +38 -38
- package/dist/chunks/{pty-bxqk5pf5.js → persistent-pty-nd4tfyg0.js} +9 -9
- package/dist/chunks/{pty-tbr92r1g.js → persistent-pty-nganhbx0.js} +10 -10
- package/dist/chunks/{pty-ynnr5y5c.js → persistent-pty-nk0sw8df.js} +4 -4
- package/dist/chunks/{pty-vqwz5fgy.js → persistent-pty-nnc7vpek.js} +25 -25
- package/dist/chunks/{pty-62g730j6.js → persistent-pty-nsrqd5vn.js} +4 -4
- package/dist/chunks/{pty-4rt7dqfm.js → persistent-pty-nx42me8w.js} +9 -9
- package/dist/chunks/{pty-efbe88xk.js → persistent-pty-p6r2aq8t.js} +22 -22
- package/dist/chunks/{pty-s8qr3ezm.js → persistent-pty-pjkmwrrf.js} +34 -34
- package/dist/chunks/{pty-4qb8ma89.js → persistent-pty-pjsfg289.js} +29 -29
- package/dist/chunks/{pty-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{pty-az7915bh.js → persistent-pty-pp537qc4.js} +22 -22
- package/dist/chunks/{pty-h6ztf8yp.js → persistent-pty-ps96y3dp.js} +5 -5
- package/dist/chunks/{pty-mxcn0d43.js → persistent-pty-q0n7r88m.js} +74 -74
- package/dist/chunks/{pty-6h6xfm99.js → persistent-pty-q1rsbgjb.js} +11 -11
- package/dist/chunks/{pty-a89e0tac.js → persistent-pty-qbqbaz6q.js} +4 -4
- package/dist/chunks/{pty-5zkvyedw.js → persistent-pty-qftzrsf9.js} +32 -32
- package/dist/chunks/{pty-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-drnf6xwf.js → persistent-pty-qp9vg2jq.js} +2 -2
- package/dist/chunks/{pty-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-j7d1263c.js → persistent-pty-qxrb0a0w.js} +18 -18
- package/dist/chunks/{pty-9xf5g41x.js → persistent-pty-qxyen8t8.js} +33 -33
- package/dist/chunks/{pty-yp2x3t23.js → persistent-pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{pty-vkp0w3yf.js → persistent-pty-r91gjw8r.js} +16 -16
- package/dist/chunks/{pty-axbkptea.js → persistent-pty-r94ff4c7.js} +2 -2
- package/dist/chunks/{pty-33gphc4y.js → persistent-pty-ra3p1t16.js} +5 -5
- package/dist/chunks/{pty-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
- package/dist/chunks/{pty-s8d7rejh.js → persistent-pty-rhjbct0v.js} +4 -4
- package/dist/chunks/{pty-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{pty-mrhpe6wz.js → persistent-pty-rm2gr2zw.js} +9 -9
- package/dist/chunks/{pty-ngvyj94h.js → persistent-pty-rthjw13s.js} +23 -23
- package/dist/chunks/{pty-rrcp1k08.js → persistent-pty-s3rjfqbz.js} +11 -11
- package/dist/chunks/{pty-nrekvyfh.js → persistent-pty-s538wvfd.js} +24 -24
- package/dist/chunks/{pty-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{pty-gwkq74jr.js → persistent-pty-sbd1m1b7.js} +29 -29
- package/dist/chunks/{pty-3pq4wa5c.js → persistent-pty-sbgx06h9.js} +11 -11
- package/dist/chunks/{pty-1dmh880y.js → persistent-pty-sbvtryh7.js} +12 -12
- package/dist/chunks/{pty-fzd7gkan.js → persistent-pty-sghgg3s0.js} +93 -93
- package/dist/chunks/{pty-m2ca2kay.js → persistent-pty-sjaxrz5m.js} +10 -10
- package/dist/chunks/{pty-7ssckh79.js → persistent-pty-sncdfffp.js} +14 -14
- package/dist/chunks/{pty-vynmhvtw.js → persistent-pty-stbxd7bn.js} +13 -13
- package/dist/chunks/{pty-ebqxd2ph.js → persistent-pty-sxbw7s6f.js} +24 -24
- package/dist/chunks/{pty-e80seqcp.js → persistent-pty-sxcaecc0.js} +3 -3
- package/dist/chunks/{pty-0vygd7f8.js → persistent-pty-syp6aatx.js} +21 -21
- package/dist/chunks/{pty-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{pty-75ejmma1.js → persistent-pty-t5rwxd7y.js} +15 -15
- package/dist/chunks/{pty-1sheza49.js → persistent-pty-t7yfe90q.js} +46 -46
- package/dist/chunks/{pty-na80sj88.js → persistent-pty-tazea7qp.js} +35 -35
- package/dist/chunks/{pty-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{pty-kxkrnkd5.js → persistent-pty-tgr3sw9p.js} +40 -40
- package/dist/chunks/{pty-yak2w91k.js → persistent-pty-ts4rn5wj.js} +5 -5
- package/dist/chunks/{pty-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
- package/dist/chunks/persistent-pty-v1faaxn9.js +18 -0
- package/dist/chunks/{pty-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-d57w54x3.js → persistent-pty-vcb8c7ee.js} +16 -16
- package/dist/chunks/{pty-g8e6zt8f.js → persistent-pty-vck5jyqy.js} +11 -11
- package/dist/chunks/{pty-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-cnhye612.js → persistent-pty-vh135k6x.js} +14 -14
- package/dist/chunks/{pty-0hbbthgq.js → persistent-pty-vhyre1cv.js} +5 -5
- package/dist/chunks/{pty-kr6f0vqs.js → persistent-pty-vn1b2x6c.js} +27 -27
- package/dist/chunks/{pty-3f2jm17j.js → persistent-pty-vxywbpnc.js} +11 -11
- package/dist/chunks/{pty-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-1pxz8ven.js → persistent-pty-w2h15q85.js} +5 -5
- package/dist/chunks/{pty-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-gnp9y88q.js → persistent-pty-w851cde3.js} +21 -21
- package/dist/chunks/{pty-z2sr2ytx.js → persistent-pty-wd47s8yt.js} +17 -17
- package/dist/chunks/{pty-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{pty-8bzfeptx.js → persistent-pty-wdg4dznf.js} +175 -175
- package/dist/chunks/{pty-6q9eydss.js → persistent-pty-wrazxve0.js} +5 -5
- package/dist/chunks/{pty-4wp3e6bz.js → persistent-pty-wt8rq1bh.js} +8 -8
- package/dist/chunks/{pty-8fqzmfzp.js → persistent-pty-wv7c6n2j.js} +10 -10
- package/dist/chunks/{pty-281xas1t.js → persistent-pty-wvf4y7rr.js} +22 -22
- package/dist/chunks/{pty-xrpg47n6.js → persistent-pty-x2aynqqh.js} +9 -9
- package/dist/chunks/{pty-mxvxcxwy.js → persistent-pty-x661k3y3.js} +4 -4
- package/dist/chunks/{pty-gn2rf22p.js → persistent-pty-x7hadnwb.js} +11 -11
- package/dist/chunks/{pty-jbt4rr2d.js → persistent-pty-x7zkx1rm.js} +40 -40
- package/dist/chunks/{pty-fzep1s2p.js → persistent-pty-xa9kdnre.js} +13 -13
- package/dist/chunks/{pty-8ppnx5kq.js → persistent-pty-xax0y1c2.js} +6 -6
- package/dist/chunks/{pty-rqjzxqxs.js → persistent-pty-xd5pbsdm.js} +11 -11
- package/dist/chunks/{pty-1rh4yqvv.js → persistent-pty-y0mc46pw.js} +9 -9
- package/dist/chunks/{pty-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-g3er6je0.js → persistent-pty-y5pr3jtj.js} +5 -5
- package/dist/chunks/{pty-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{pty-28rwbfbs.js → persistent-pty-y73n6frr.js} +33 -33
- package/dist/chunks/{pty-3rqkssp8.js → persistent-pty-ydgy0jv4.js} +8 -8
- package/dist/chunks/{pty-0f36crf5.js → persistent-pty-yka93msf.js} +48 -48
- package/dist/chunks/{pty-c84f5e61.js → persistent-pty-ykj0gtdh.js} +13 -13
- package/dist/chunks/{pty-dys7k0s0.js → persistent-pty-ynmknp8q.js} +11 -11
- package/dist/chunks/{pty-wjr9rjd7.js → persistent-pty-ywt8jp22.js} +6 -6
- package/dist/chunks/{pty-qazrcecv.js → persistent-pty-yx87fey7.js} +19 -19
- package/dist/chunks/{pty-drmqggy3.js → persistent-pty-yyqwftvn.js} +8 -8
- package/dist/chunks/{pty-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-2n79zsqk.js → persistent-pty-z1e0ewtp.js} +5 -5
- package/dist/chunks/{pty-kf5rw7j4.js → persistent-pty-z5j4efsn.js} +52 -52
- package/dist/chunks/{pty-688cz1j9.js → persistent-pty-zfth3bf2.js} +6 -6
- package/dist/chunks/{pty-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-f2mw6jyj.js → persistent-pty-zxxyec0p.js} +11 -11
- package/dist/chunks/{pty-819j0yj5.js → persistent-pty-zz23ack4.js} +23 -23
- package/dist/chunks/{pty-af1eyefv.js → persistent-pty-zze9cfmm.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +86 -86
- 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 +120 -120
- 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 +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +95 -95
- 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 +76 -76
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- 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 +101 -101
- 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 +3 -3
- 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 +136 -136
- 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 +87 -87
- 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 +131 -131
- 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 +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +104 -104
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +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 +4 -4
- 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 +119 -119
- 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 +125 -125
- package/dist/plugin/provider/openai.js +97 -97
- 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 +127 -127
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +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 +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- 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 +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +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 +126 -126
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/pty-882ve7ed.js +0 -253
- package/dist/chunks/pty-gb9jrr1j.js +0 -26
- package/dist/chunks/pty-pdc17wm4.js +0 -513
- package/dist/chunks/pty-qc068m1q.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-bw78ga2c.js → persistent-pty-bw78ga2c.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
Service83
|
|
3
|
+
} from "./persistent-pty-sbvtryh7.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./pty-
|
|
6
|
+
} from "./persistent-pty-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
8
|
+
Event19
|
|
9
|
+
} from "./persistent-pty-2prrfhe7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./pty-
|
|
11
|
+
ID13
|
|
12
|
+
} from "./persistent-pty-5vz17b4s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./pty-
|
|
14
|
+
ID12,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./persistent-pty-y73n6frr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./pty-
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./persistent-pty-zz23ack4.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service71;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./persistent-pty-5bcesxs9.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./pty-pkyv6v7h.js";
|
|
6
|
+
} from "./persistent-pty-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./pty-9rqn6x4v.js";
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./pty-
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-sbvtryh7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./pty-
|
|
6
|
+
Service73,
|
|
7
|
+
node76
|
|
8
|
+
} from "./persistent-pty-569s51gv.js";
|
|
9
9
|
import {
|
|
10
|
-
Service82,
|
|
11
|
-
node86
|
|
12
|
-
} from "./pty-6ma4rgg5.js";
|
|
13
|
-
import {
|
|
14
|
-
Ref4,
|
|
15
10
|
Service81,
|
|
16
11
|
node85
|
|
17
|
-
} from "./pty-
|
|
12
|
+
} from "./persistent-pty-14gpq9b7.js";
|
|
13
|
+
import {
|
|
14
|
+
Ref4,
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./persistent-pty-vh135k6x.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./pty-
|
|
20
|
+
} from "./persistent-pty-61q6e95h.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./pty-ec1grn59.js";
|
|
23
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./pty-
|
|
25
|
+
Service55,
|
|
26
|
+
node58
|
|
27
|
+
} from "./persistent-pty-yka93msf.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./pty-
|
|
29
|
+
Service43,
|
|
30
|
+
node46
|
|
31
|
+
} from "./persistent-pty-5gz9c728.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./pty-9rqn6x4v.js";
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service42,
|
|
41
|
+
node: () => node45
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service42 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service55;
|
|
54
|
+
const forms = yield* Service73;
|
|
55
|
+
const rpc = yield* Service43;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service42.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node45 = makeLocationNode({
|
|
89
|
+
service: Service42,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node87, node84, node58, node85, node76, node46]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service42, node45, exports_location_lifecycle };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
Service66
|
|
3
|
+
} from "./persistent-pty-8km2h22m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service14
|
|
6
|
+
} from "./persistent-pty-m8w6th39.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./pty-qsdy395h.js";
|
|
9
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./pty-9rqn6x4v.js";
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service66;
|
|
26
|
+
const policy = yield* Service14;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin6 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_location_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
render3
|
|
3
|
+
} from "./persistent-pty-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./pty-9rqn6x4v.js";
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -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 = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./pty-z5v4ffb3.js";
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service80
|
|
6
|
+
} from "./persistent-pty-vh135k6x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
8
|
+
Service66
|
|
9
|
+
} from "./persistent-pty-8km2h22m.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./pty-
|
|
13
|
+
} from "./persistent-pty-pjsfg289.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./pty-qsdy395h.js";
|
|
16
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./pty-9rqn6x4v.js";
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin29
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin29 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin29, exports_reference };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./persistent-pty-hv8vheb4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service83
|
|
6
|
+
} from "./persistent-pty-sbvtryh7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
8
|
+
Service52
|
|
9
|
+
} from "./persistent-pty-dzse07y5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./pty-vzs5sf6e.js";
|
|
12
|
+
} from "./persistent-pty-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./pty-gftt206x.js";
|
|
15
|
+
} from "./persistent-pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./pty-
|
|
23
|
+
} from "./persistent-pty-0zdym56s.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./pty-ec1grn59.js";
|
|
26
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./pty-
|
|
28
|
+
Service57
|
|
29
|
+
} from "./persistent-pty-1j1f6xcv.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./pty-
|
|
33
|
+
Service50
|
|
34
|
+
} from "./persistent-pty-0e0f2wa7.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./pty-
|
|
36
|
+
Service48
|
|
37
|
+
} from "./persistent-pty-tgr3sw9p.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./pty-
|
|
40
|
+
} from "./persistent-pty-vcb8c7ee.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./pty-
|
|
45
|
+
} from "./persistent-pty-bfh6ts0t.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./pty-
|
|
48
|
+
} from "./persistent-pty-90shh64c.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./pty-
|
|
50
|
+
get4
|
|
51
|
+
} from "./persistent-pty-mx2cfqsv.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./pty-9rqn6x4v.js";
|
|
54
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service57;
|
|
69
|
+
const instances = yield* Service52;
|
|
70
|
+
const execution = yield* Service48;
|
|
71
|
+
const admission = yield* Service50;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError7({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield*
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service85, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
Service83
|
|
3
|
+
} from "./persistent-pty-sbvtryh7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service80
|
|
6
|
+
} from "./persistent-pty-vh135k6x.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./pty-
|
|
9
|
+
Service23
|
|
10
|
+
} from "./persistent-pty-z5j4efsn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./pty-9rqn6x4v.js";
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin45
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin45 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service23;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin45, exports_command2 };
|