@opencode/core 0.0.0-dev-20828 → 0.0.0-dev-20829
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/{form-ssbwjptr.js → pty-0cnykqaq.js} +5 -5
- package/dist/chunks/{form-an2yc5xr.js → pty-0f36crf5.js} +35 -35
- package/dist/chunks/{form-ft3bm8wc.js → pty-0hbbthgq.js} +5 -5
- package/dist/chunks/{form-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-njy67wa0.js → pty-0vygd7f8.js} +17 -17
- package/dist/chunks/{form-hbmkw9wp.js → pty-0xcfrkz9.js} +20 -20
- package/dist/chunks/{form-p4mj4rdp.js → pty-1ajx6rf5.js} +8 -8
- package/dist/chunks/{form-8kb1mg34.js → pty-1dmh880y.js} +4 -4
- package/dist/chunks/{form-setc7ajv.js → pty-1gpb38yh.js} +9 -9
- package/dist/chunks/{form-h83xjv7f.js → pty-1pxz8ven.js} +5 -5
- package/dist/chunks/{form-ce02pvrk.js → pty-1qxv4gah.js} +13 -13
- package/dist/chunks/{form-fsbk27r1.js → pty-1rh4yqvv.js} +9 -9
- package/dist/chunks/{form-q941vmqq.js → pty-1sheza49.js} +44 -44
- package/dist/chunks/{form-8v5x19vh.js → pty-281xas1t.js} +24 -24
- package/dist/chunks/{form-7deejnv5.js → pty-28rwbfbs.js} +27 -27
- package/dist/chunks/{form-7dqw4kz8.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{form-c2j9akp4.js → pty-2kpekj74.js} +45 -45
- package/dist/chunks/{form-dypjmpy5.js → pty-2n79zsqk.js} +5 -5
- package/dist/chunks/{form-dyk8dg4h.js → pty-2rqksdxh.js} +28 -28
- package/dist/chunks/{form-2vvh33eb.js → pty-2vvh33eb.js} +2 -2
- package/dist/chunks/{form-edv7wmg4.js → pty-32cjn77w.js} +10 -10
- package/dist/chunks/{form-vfvdkzh7.js → pty-32tw229e.js} +18 -18
- package/dist/chunks/{form-7mehp2db.js → pty-33gphc4y.js} +5 -5
- package/dist/chunks/{form-adtep242.js → pty-34dz50e5.js} +14 -14
- package/dist/chunks/{form-ffsmct6j.js → pty-3f2jm17j.js} +11 -11
- package/dist/chunks/{form-ns6yht8e.js → pty-3fbg59cn.js} +10 -10
- package/dist/chunks/{form-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-98byex5e.js → pty-3h6fbjms.js} +10 -10
- package/dist/chunks/{form-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-s6kxze16.js → pty-3pkc36ya.js} +7 -7
- package/dist/chunks/{form-dw864gpf.js → pty-3pq4wa5c.js} +11 -11
- package/dist/chunks/{form-n6kqnd83.js → pty-3qddgp4y.js} +24 -24
- package/dist/chunks/{form-pk42rxm6.js → pty-3rqkssp8.js} +8 -8
- package/dist/chunks/{form-3ebsda8f.js → pty-3s8fpsh7.js} +40 -40
- package/dist/chunks/{form-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-v36zy0wa.js → pty-3zg7z3bw.js} +13 -13
- package/dist/chunks/{form-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-ff7y9y3v.js → pty-4qb8ma89.js} +28 -28
- package/dist/chunks/{form-c95arbvr.js → pty-4rd96g3b.js} +16 -16
- package/dist/chunks/{form-7v1qqt5d.js → pty-4rt7dqfm.js} +7 -7
- package/dist/chunks/{form-2ccvkpx1.js → pty-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-g9w77p2h.js → pty-4wp3e6bz.js} +8 -8
- package/dist/chunks/{form-kkjh6fan.js → pty-4zyzs0ed.js} +36 -36
- package/dist/chunks/{form-410ssy4d.js → pty-508e6s6p.js} +6 -6
- package/dist/chunks/{form-1c5kbjh1.js → pty-5315f502.js} +6 -6
- package/dist/chunks/{form-2sejkfem.js → pty-5d607bsg.js} +9 -9
- package/dist/chunks/{form-7pggkc53.js → pty-5e3qmt7f.js} +1 -1
- package/dist/chunks/{form-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-ppqr5nhx.js → pty-5n9cp24j.js} +9 -9
- package/dist/chunks/{form-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-zcywpsge.js → pty-5xfmpj1j.js} +11 -11
- package/dist/chunks/{form-fg21g81d.js → pty-5zkvyedw.js} +28 -28
- package/dist/chunks/{form-daeg89qt.js → pty-61r3a0pq.js} +3 -3
- package/dist/chunks/{form-372hk0sy.js → pty-62g730j6.js} +4 -4
- package/dist/chunks/{form-z8x0h9ra.js → pty-62gtt4vs.js} +27 -27
- package/dist/chunks/{form-b0ynatpn.js → pty-688cz1j9.js} +10 -10
- package/dist/chunks/{form-y0e8a50k.js → pty-6dp5gy92.js} +6 -6
- package/dist/chunks/{form-pf6b5592.js → pty-6h6xfm99.js} +11 -11
- package/dist/chunks/{form-5dgjn14j.js → pty-6ma4rgg5.js} +8 -8
- package/dist/chunks/{form-f5qn9b68.js → pty-6q9eydss.js} +5 -5
- package/dist/chunks/{form-espax8zg.js → pty-6rm5yzkt.js} +4 -4
- package/dist/chunks/{form-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-tdc7v4mg.js → pty-736mwy1a.js} +38 -38
- package/dist/chunks/{form-xnbwxy24.js → pty-75ejmma1.js} +23 -23
- package/dist/chunks/{form-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-dmbwbvhk.js → pty-7e6328vk.js} +7 -7
- package/dist/chunks/{form-rkprpv83.js → pty-7fkffz83.js} +4 -4
- package/dist/chunks/{form-secas1cc.js → pty-7g19e4tp.js} +80 -80
- package/dist/chunks/{form-6w4z75dy.js → pty-7ssckh79.js} +14 -14
- package/dist/chunks/{form-2ngk0dg2.js → pty-7twrzkxr.js} +22 -22
- package/dist/chunks/{form-57ys8d4d.js → pty-803mzads.js} +11 -11
- package/dist/chunks/{form-407zx9f2.js → pty-816wh8nz.js} +13 -13
- package/dist/chunks/{form-7qxdy3ab.js → pty-819j0yj5.js} +23 -23
- package/dist/chunks/{form-endy3sye.js → pty-82ayfpam.js} +11 -11
- package/dist/chunks/{form-t49c1kc0.js → pty-835y4q1g.js} +11 -11
- package/dist/chunks/{form-26h36xx0.js → pty-882ve7ed.js} +153 -153
- package/dist/chunks/{form-gmvqaxcm.js → pty-8bzfeptx.js} +167 -167
- package/dist/chunks/{form-j3th3ztc.js → pty-8fqzmfzp.js} +8 -8
- package/dist/chunks/{form-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-qxq0nqwk.js → pty-8ppnx5kq.js} +6 -6
- package/dist/chunks/{form-e9gv8add.js → pty-9m0tzg6a.js} +17 -17
- package/dist/chunks/{form-8gjqxw1x.js → pty-9p8g6ccm.js} +3 -3
- package/dist/chunks/{form-dvs6amxs.js → pty-9q77khpg.js} +5 -5
- package/dist/chunks/{form-chk1c479.js → pty-9qgy8jr1.js} +9 -9
- package/dist/chunks/{form-y0kth46m.js → pty-9xf5g41x.js} +18 -18
- package/dist/chunks/{form-a81m50dc.js → pty-a053vxgn.js} +26 -26
- package/dist/chunks/{form-jewzahs7.js → pty-a89e0tac.js} +4 -4
- package/dist/chunks/{form-81key8bf.js → pty-a9vjqg87.js} +4 -4
- package/dist/chunks/{form-bnwvdr8k.js → pty-af1eyefv.js} +25 -25
- package/dist/chunks/{form-w7m721xm.js → pty-axbkptea.js} +2 -2
- package/dist/chunks/{form-tqp03w29.js → pty-az7915bh.js} +17 -17
- package/dist/chunks/{form-n8vdnqrc.js → pty-b674v2dg.js} +5 -5
- package/dist/chunks/{form-phz50fbd.js → pty-bxqk5pf5.js} +9 -9
- package/dist/chunks/{form-c1fqxshp.js → pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-v241zgxx.js → pty-c2z82zd3.js} +4 -4
- package/dist/chunks/{form-fzb4jpac.js → pty-c84f5e61.js} +13 -13
- package/dist/chunks/{form-gbw80gmv.js → pty-cnhye612.js} +2 -2
- package/dist/chunks/{form-67fm9hxb.js → pty-cyfy6ny6.js} +20 -20
- package/dist/chunks/{form-p9tm5ycc.js → pty-d57w54x3.js} +16 -16
- package/dist/chunks/{form-zwdvdw98.js → pty-d5h7yrcx.js} +43 -43
- package/dist/chunks/{form-4vm585d8.js → pty-dcy4apwd.js} +14 -14
- package/dist/chunks/{form-85zcaa4a.js → pty-dffyxrs7.js} +18 -18
- package/dist/chunks/{form-bhx0crjq.js → pty-djsf3ra4.js} +8 -8
- package/dist/chunks/{form-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-kada6eax.js → pty-drmqggy3.js} +6 -6
- package/dist/chunks/{form-706phk7x.js → pty-drnf6xwf.js} +2 -2
- package/dist/chunks/{form-02xddtc0.js → pty-dxep3sqh.js} +21 -21
- package/dist/chunks/{form-sazevqmq.js → pty-dxx87avg.js} +10 -10
- package/dist/chunks/{form-ymgkxg7n.js → pty-dys7k0s0.js} +11 -11
- package/dist/chunks/{form-5rzwp8tz.js → pty-e80seqcp.js} +3 -3
- package/dist/chunks/{form-1p9yx0fe.js → pty-e920mvbt.js} +23 -23
- package/dist/chunks/{form-dr78sty6.js → pty-ebqxd2ph.js} +21 -21
- package/dist/chunks/{form-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-2b63rq0n.js → pty-efbe88xk.js} +18 -18
- package/dist/chunks/{form-8w44vpkn.js → pty-es811akx.js} +10 -10
- package/dist/chunks/{form-pspzh9gr.js → pty-ev663pnx.js} +3 -3
- package/dist/chunks/{form-qn2g7fdy.js → pty-extdh6e7.js} +22 -22
- package/dist/chunks/{form-t0pyhqcw.js → pty-f2mw6jyj.js} +11 -11
- package/dist/chunks/{form-e1b8n3gh.js → pty-f3zadn6b.js} +11 -11
- package/dist/chunks/{form-9b9geqmr.js → pty-fd80m7p3.js} +32 -32
- package/dist/chunks/{form-9n6wwvty.js → pty-fqq9xsk7.js} +11 -11
- package/dist/chunks/{form-t1dawjzh.js → pty-fqtvmpfq.js} +8 -8
- package/dist/chunks/{form-kqxat9ja.js → pty-fzd7gkan.js} +80 -80
- package/dist/chunks/{form-nx8rb7q9.js → pty-fzep1s2p.js} +13 -13
- package/dist/chunks/{form-cdv4x00t.js → pty-g2x3q6j9.js} +35 -35
- package/dist/chunks/{form-drac6928.js → pty-g3er6je0.js} +5 -5
- package/dist/chunks/{form-e4fpj63v.js → pty-g7g2pdja.js} +4 -4
- package/dist/chunks/{form-espmheeq.js → pty-g8e6zt8f.js} +6 -6
- package/dist/chunks/{form-hg2p2a9v.js → pty-g8yq79xy.js} +14 -14
- package/dist/chunks/pty-gb9jrr1j.js +26 -0
- package/dist/chunks/{form-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-7vrsjqpj.js → pty-gjscf0hp.js} +16 -16
- package/dist/chunks/{form-gk8qb678.js → pty-gk8qb678.js} +1 -1
- package/dist/chunks/{form-eb5pm11b.js → pty-gn2rf22p.js} +11 -11
- package/dist/chunks/{form-nvc3frs4.js → pty-gncde6fa.js} +6 -6
- package/dist/chunks/{form-q0dgg3zj.js → pty-gnp9y88q.js} +18 -18
- package/dist/chunks/{form-whbg0208.js → pty-gskmna2p.js} +20 -20
- package/dist/chunks/{form-0eta6zh7.js → pty-gwkq74jr.js} +24 -24
- package/dist/chunks/{form-wynsndej.js → pty-h64c4a83.js} +8 -8
- package/dist/chunks/{form-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-4tvwpn9h.js → pty-h6ztf8yp.js} +5 -5
- package/dist/chunks/{form-h7s7r6s9.js → pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{form-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-hkffa77z.js → pty-hkffa77z.js} +4 -4
- package/dist/chunks/{form-rzbjs5ks.js → pty-hnym75r4.js} +4 -4
- package/dist/chunks/{form-25cs5cen.js → pty-hpfvhvya.js} +8 -8
- package/dist/chunks/{form-91qna3x0.js → pty-j09zfasm.js} +3 -3
- package/dist/chunks/{form-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{form-aps8hww0.js → pty-j7d1263c.js} +16 -16
- package/dist/chunks/{form-2krnjfyp.js → pty-jbt4rr2d.js} +43 -43
- package/dist/chunks/{form-yqhrhpcs.js → pty-jefh3zb1.js} +19 -19
- package/dist/chunks/{form-02txvjnv.js → pty-jf6x9176.js} +11 -11
- package/dist/chunks/{form-602550ez.js → pty-jtgbyr4a.js} +22 -22
- package/dist/chunks/{form-k4tq5x53.js → pty-jvcn2d3z.js} +48 -48
- package/dist/chunks/{form-wyazd03e.js → pty-jzg6w2y0.js} +9 -9
- package/dist/chunks/{form-hwtfb5gf.js → pty-k1y0s7m5.js} +32 -32
- package/dist/chunks/{form-kqzz1msf.js → pty-k1zym2rk.js} +29 -29
- package/dist/chunks/{form-v7htmggb.js → pty-k3m00qb7.js} +3 -3
- package/dist/chunks/{form-d71bthh7.js → pty-k4ek9np0.js} +18 -18
- package/dist/chunks/{form-v6gtewkg.js → pty-kf5rw7j4.js} +48 -48
- package/dist/chunks/{form-1w2wqhfv.js → pty-khmqacep.js} +4 -4
- package/dist/chunks/{form-am0cn9r6.js → pty-kj20kd1j.js} +40 -40
- package/dist/chunks/{form-zcrspsvn.js → pty-kne8f3cn.js} +4 -4
- package/dist/chunks/{form-jmq43kgc.js → pty-kr6f0vqs.js} +16 -16
- package/dist/chunks/{form-jvqd6gcq.js → pty-ks0ccrx6.js} +8 -8
- package/dist/chunks/{form-g4m1e4g9.js → pty-kxkrnkd5.js} +35 -35
- package/dist/chunks/{form-h4svzz1k.js → pty-m2ca2kay.js} +8 -8
- package/dist/chunks/{form-7gra0nqm.js → pty-m329mjby.js} +5 -5
- package/dist/chunks/{form-3jp0e4zv.js → pty-m632hd4m.js} +13 -13
- package/dist/chunks/{form-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-z2qbjhyn.js → pty-ma48de29.js} +5 -5
- package/dist/chunks/{form-t5h642bt.js → pty-mrhpe6wz.js} +7 -7
- package/dist/chunks/{form-51f5btjf.js → pty-mx9vqzsb.js} +6 -6
- package/dist/chunks/{form-m6wf1b27.js → pty-mxcn0d43.js} +68 -68
- package/dist/chunks/{form-addxnjmp.js → pty-mxvxcxwy.js} +4 -4
- package/dist/chunks/{form-n7d88tpn.js → pty-my4zabxr.js} +2 -2
- package/dist/chunks/{form-kb4rw88y.js → pty-mzw0q7vr.js} +9 -9
- package/dist/chunks/{form-dsn3h2gd.js → pty-n8xxfej3.js} +23 -23
- package/dist/chunks/{form-q84ycsvd.js → pty-na80sj88.js} +31 -31
- package/dist/chunks/{form-he2v6sv2.js → pty-nfs59v65.js} +29 -29
- package/dist/chunks/{form-25gtbz14.js → pty-ngjdjm4k.js} +12 -12
- package/dist/chunks/{form-7yfmjjmm.js → pty-ngvyj94h.js} +19 -19
- package/dist/chunks/{form-3hq3wkzn.js → pty-nrekvyfh.js} +22 -22
- package/dist/chunks/{form-tmnkkjp7.js → pty-nv00r1cz.js} +3 -3
- package/dist/chunks/{form-5r61v62t.js → pty-nyczhf3x.js} +4 -4
- package/dist/chunks/{form-b1pkt330.js → pty-p0anqt4a.js} +35 -35
- package/dist/chunks/{form-8d86b3ha.js → pty-p8aeyc23.js} +25 -25
- package/dist/chunks/{form-n22ba5av.js → pty-pdc17wm4.js} +321 -321
- package/dist/chunks/{form-msrmpw8q.js → pty-pdz1473m.js} +4 -4
- package/dist/chunks/{form-ny6t9171.js → pty-pey5f48j.js} +1 -1
- package/dist/chunks/{form-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{form-gd0tnyjc.js → pty-pnzf6mjf.js} +1 -1
- package/dist/chunks/{form-psfd2gfy.js → pty-pwzbey2q.js} +50 -50
- package/dist/chunks/{form-0r7ekek2.js → pty-pxj76zhh.js} +25 -25
- package/dist/chunks/{form-85fyjh0d.js → pty-py0hhzem.js} +24 -24
- package/dist/chunks/{form-ggjznnsd.js → pty-pzfg0ztk.js} +11 -11
- package/dist/chunks/{form-0j77ygfz.js → pty-q0xm7vwc.js} +6 -6
- package/dist/chunks/{form-8wrxqz42.js → pty-q2v8m3fk.js} +10 -10
- package/dist/chunks/{form-wgngrczc.js → pty-qazrcecv.js} +17 -17
- package/dist/chunks/pty-qc068m1q.js +18 -0
- package/dist/chunks/{form-4t145sc8.js → pty-qcya3rg4.js} +44 -44
- package/dist/chunks/{form-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-drwq78ky.js → pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{form-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{form-tnmf4dev.js → pty-qz98z2ah.js} +9 -9
- package/dist/chunks/{form-t1t87xhv.js → pty-r44wx0p4.js} +5 -5
- package/dist/chunks/{form-t286ahc8.js → pty-r6pqh68g.js} +12 -12
- package/dist/chunks/{form-54ma36ye.js → pty-r94pvvab.js} +4 -4
- package/dist/chunks/{form-tj99qrza.js → pty-razh9zgp.js} +24 -24
- package/dist/chunks/{form-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-dtnvqxqd.js → pty-re8fv4z8.js} +11 -11
- package/dist/chunks/{form-rert0e01.js → pty-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-wnt7wp6b.js → pty-rqjzxqxs.js} +11 -11
- package/dist/chunks/{form-kt428qqn.js → pty-rrcp1k08.js} +11 -11
- package/dist/chunks/{form-p7s7eag1.js → pty-rwa6rxfx.js} +3 -3
- package/dist/chunks/{form-5ppwfcxb.js → pty-rwc2pc3v.js} +11 -11
- package/dist/chunks/{form-a2ew8a62.js → pty-ryr25ayn.js} +4 -4
- package/dist/chunks/{form-hgmkvm58.js → pty-s08bddtt.js} +15 -15
- package/dist/chunks/{form-q266kqc1.js → pty-s0c7z8s7.js} +24 -24
- package/dist/chunks/{form-c2ms8fjw.js → pty-s17w1n1e.js} +20 -20
- package/dist/chunks/{form-xhgknps5.js → pty-s1sr5m6z.js} +13 -13
- package/dist/chunks/{form-d32kv9sd.js → pty-s80jrect.js} +20 -20
- package/dist/chunks/{form-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{form-53qd1f5j.js → pty-s8qr3ezm.js} +27 -27
- package/dist/chunks/{form-m1aw2hct.js → pty-s9435745.js} +21 -21
- package/dist/chunks/{form-sa8ekw3f.js → pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-zyk1yjk8.js → pty-scgrse2b.js} +5 -5
- package/dist/chunks/{form-j85eagxk.js → pty-sdmzpsns.js} +29 -29
- package/dist/chunks/{form-2nkr91ag.js → pty-sh68mvxb.js} +18 -18
- package/dist/chunks/{form-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/{form-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-kz0fxtr4.js → pty-tbr92r1g.js} +10 -10
- package/dist/chunks/{form-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{form-69h1251q.js → pty-thtzhryg.js} +10 -10
- package/dist/chunks/{form-fs0s4xdc.js → pty-tsf8s7tw.js} +32 -32
- package/dist/chunks/{form-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{form-zz7jjxnj.js → pty-v01rw2zy.js} +16 -16
- package/dist/chunks/{form-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{form-83dsgdpz.js → pty-v68v43a8.js} +16 -16
- package/dist/chunks/{form-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{form-98kmy8hf.js → pty-vh716j4k.js} +5 -5
- package/dist/chunks/{form-95ff9q6w.js → pty-vkp0w3yf.js} +14 -14
- package/dist/chunks/{form-k1s8dyb0.js → pty-vqwz5fgy.js} +24 -24
- package/dist/chunks/{form-ny06cy4w.js → pty-vynmhvtw.js} +13 -13
- package/dist/chunks/{form-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-mns24rw2.js → pty-w0y00tyh.js} +15 -15
- package/dist/chunks/{form-84txncab.js → pty-w1eejvng.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-1j6m29mr.js → pty-waskdk5r.js} +9 -9
- package/dist/chunks/{form-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{form-ywt8jp22.js → pty-wjr9rjd7.js} +6 -6
- package/dist/chunks/{form-g23t6sg1.js → pty-wjtb6svr.js} +32 -32
- package/dist/chunks/{form-dbqktatz.js → pty-wze0qs61.js} +21 -21
- package/dist/chunks/{form-zwvaegnk.js → pty-x24b9x88.js} +20 -20
- package/dist/chunks/{form-v797c0nk.js → pty-xbt9ga98.js} +14 -14
- package/dist/chunks/{form-c8gen4ss.js → pty-xkb1khsr.js} +20 -20
- package/dist/chunks/{form-wk5z6jzv.js → pty-xrpg47n6.js} +9 -9
- package/dist/chunks/{form-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-674crf5e.js → pty-y94gemam.js} +13 -13
- package/dist/chunks/{form-78540c8n.js → pty-yak2w91k.js} +5 -5
- package/dist/chunks/{form-q1gp456n.js → pty-yj1m88h6.js} +11 -11
- package/dist/chunks/{form-6zz246r9.js → pty-ynnr5y5c.js} +4 -4
- package/dist/chunks/{form-f2n192rq.js → pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-qst3dbrw.js → pty-ypeaesjs.js} +3 -3
- package/dist/chunks/{form-4z58m4b4.js → pty-yrcj3v3g.js} +4 -4
- package/dist/chunks/{form-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-eq967g2h.js → pty-z2sr2ytx.js} +15 -15
- package/dist/chunks/{form-wvx6w4rx.js → pty-zjm5cem5.js} +13 -13
- package/dist/chunks/{form-782zrs06.js → pty-zmhzecev.js} +5 -5
- package/dist/chunks/{form-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +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 +121 -121
- 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 +123 -123
- 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 +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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- 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 +83 -83
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- 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 +78 -78
- 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 +92 -92
- 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 +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 +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 +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 +78 -78
- 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 +350 -350
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +82 -82
- package/dist/provider.js +101 -101
- 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 +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +3 -3
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- 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 +90 -90
- 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 +85 -85
- 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 +207 -207
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +118 -118
- 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 +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- 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 +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 +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 +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-5jpna63x.js +0 -26
- package/dist/chunks/form-by5v678g.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-bw78ga2c.js → pty-bw78ga2c.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-k3m00qb7.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID8,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info17,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service62,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node65
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID8 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -68,6 +68,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
68
68
|
});
|
|
69
69
|
return Service62.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node65 = makeGlobalNode({ service: Service62, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export { ID8,
|
|
73
|
+
export { ID8, Info17, ListInput5, AddInput2, Service62, node65, exports_saved };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-m329mjby.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service83;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make20 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-my4zabxr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-1dmh880y.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node73,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer26 = Layer.effect(Service69, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service69.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node73 = makeLocationNode({ service: Service69, layer: layer26, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer26, node73, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service60
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-0f36crf5.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
19
|
Input: () => Input11,
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin47,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
@@ -31,7 +31,7 @@ import { Duration, Effect, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
33
|
var name11 = "webfetch";
|
|
34
|
-
var
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,7 +92,7 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin47 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export { name11,
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin47, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./pty-waskdk5r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info13
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info14)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make10(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make10 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-1dmh880y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./pty-q2v8m3fk.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event20,
|
|
21
|
+
ID: () => ID16,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service78,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node82
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event20 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID16 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID16, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID16
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID16,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service78 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service84;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service79;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service78.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node82 = makeLocationNode({
|
|
188
|
+
service: Service78,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node88,
|
|
190
|
+
deps: [node88, node83]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID16, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service78, node82, exports_websearch3, Event20 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Service81,
|
|
18
18
|
node85
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-cnhye612.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service68,
|
|
22
|
+
node71
|
|
23
|
+
} from "./pty-2rqksdxh.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service67,
|
|
33
|
+
node: () => node70
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service67,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node70,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service81;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service68;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node70 = makeLocationNode({
|
|
71
|
+
service: Service67,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node85,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node85, node71]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service67, node70, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|