@opencode/core 0.0.0-dev-21362 → 0.0.0-dev-21366
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 +85 -85
- 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/{tool-pd6tx8e2.js → form-04gde0z7.js} +16 -16
- package/dist/chunks/{tool-zpfaeg84.js → form-04zqcv5b.js} +28 -28
- package/dist/chunks/{tool-wpafx981.js → form-08e8839p.js} +28 -28
- package/dist/chunks/{tool-q2dz4afa.js → form-0dmhk06n.js} +32 -32
- package/dist/chunks/{tool-n37c4crj.js → form-0jq9fyba.js} +9 -9
- package/dist/chunks/{tool-6mbm070j.js → form-0mpb2594.js} +30 -30
- package/dist/chunks/{tool-6ysb8vkt.js → form-0q6bzv9j.js} +17 -17
- package/dist/chunks/{tool-ja6ama36.js → form-0sdf0qey.js} +13 -13
- package/dist/chunks/{tool-stf95kdk.js → form-0thw0tvr.js} +6 -6
- package/dist/chunks/{tool-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-793g28qj.js → form-1271r34y.js} +32 -32
- package/dist/chunks/{tool-yb5r4v0q.js → form-12d1ewzw.js} +9 -9
- package/dist/chunks/{tool-x3jgdmpg.js → form-16bthr3t.js} +8 -8
- package/dist/chunks/{tool-ehkcedfy.js → form-17116gfm.js} +8 -8
- package/dist/chunks/{tool-byq8e8jd.js → form-19d68r03.js} +11 -11
- package/dist/chunks/{tool-yh238p43.js → form-19k05nxq.js} +15 -15
- package/dist/chunks/{tool-myq527w7.js → form-1f52gq3m.js} +22 -22
- package/dist/chunks/{tool-2s6t35ks.js → form-21b5jaqs.js} +4 -4
- package/dist/chunks/{tool-w4sgd07z.js → form-23qegrxz.js} +16 -16
- package/dist/chunks/{tool-ph842b28.js → form-277eer69.js} +4 -4
- package/dist/chunks/{tool-xsft43nm.js → form-2b3trp23.js} +37 -37
- package/dist/chunks/{tool-hqd7seh4.js → form-2e698tw2.js} +18 -18
- package/dist/chunks/{tool-0j3c2sb1.js → form-2em56rg1.js} +11 -11
- package/dist/chunks/{tool-9ay43wn2.js → form-2gpvr3g3.js} +12 -12
- package/dist/chunks/{tool-stcs9p48.js → form-2qwajngy.js} +9 -9
- package/dist/chunks/{tool-0413hwj4.js → form-2sfa3baz.js} +35 -35
- package/dist/chunks/{tool-mhe84b87.js → form-38pf4p3g.js} +41 -41
- package/dist/chunks/{tool-tehwna3t.js → form-3cy6ygha.js} +7 -7
- package/dist/chunks/{tool-m5wnc3h6.js → form-3enf7134.js} +13 -13
- package/dist/chunks/{tool-vw63prre.js → form-3f7eexd0.js} +10 -10
- package/dist/chunks/{tool-aawdsyze.js → form-3gkmwhhy.js} +4 -4
- package/dist/chunks/{tool-08vgyj7k.js → form-3he49gvd.js} +12 -12
- package/dist/chunks/{tool-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-g50kefr8.js → form-3t117dar.js} +12 -12
- package/dist/chunks/{tool-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-1fqwyhye.js → form-3wh0fnkb.js} +55 -55
- package/dist/chunks/{tool-7hrceg3g.js → form-3zbx3h7w.js} +30 -30
- package/dist/chunks/{tool-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-f5ct3k6s.js → form-49091bzx.js} +23 -23
- package/dist/chunks/{tool-q8nrjm55.js → form-4jx3bwb8.js} +8 -8
- package/dist/chunks/{tool-djw0pnbs.js → form-4nscrjds.js} +92 -92
- package/dist/chunks/{tool-8yapk0fv.js → form-4tbmbj09.js} +18 -18
- package/dist/chunks/{tool-zr0b5yc7.js → form-4z0jytq9.js} +21 -21
- package/dist/chunks/{tool-yvvvp4gn.js → form-52fpbh6z.js} +8 -8
- package/dist/chunks/{tool-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-nj4kxd9v.js → form-56gyssj8.js} +35 -35
- package/dist/chunks/{tool-wh6zw745.js → form-57myy5jh.js} +5 -5
- package/dist/chunks/{tool-3p3jney2.js → form-5c3vxfh0.js} +23 -23
- package/dist/chunks/{tool-81f7vt2z.js → form-5fec3t3w.js} +8 -8
- package/dist/chunks/{tool-ztyv0636.js → form-5gt9nc9t.js} +29 -29
- package/dist/chunks/{tool-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-8x9ys1f9.js → form-5mb9cf55.js} +27 -27
- package/dist/chunks/{tool-f872t808.js → form-5nw2wzf9.js} +21 -21
- package/dist/chunks/{tool-trj535fm.js → form-5w8megq2.js} +3 -3
- package/dist/chunks/{tool-dt8v8cc6.js → form-5xda5hqs.js} +16 -16
- package/dist/chunks/{tool-cmwkp3r5.js → form-5yzzbxa7.js} +8 -8
- package/dist/chunks/{tool-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{tool-wjapg7ww.js → form-6ayhefjg.js} +3 -3
- package/dist/chunks/{tool-rf0v5n98.js → form-6jjecsmt.js} +32 -32
- package/dist/chunks/{tool-6pc27hjz.js → form-6pc27hjz.js} +2 -2
- package/dist/chunks/{tool-wss5z80w.js → form-6ss6brbq.js} +3 -3
- package/dist/chunks/{tool-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-g44aby64.js → form-74d9v2fc.js} +13 -13
- package/dist/chunks/{tool-01rpkdw6.js → form-76wqcf0a.js} +2 -2
- package/dist/chunks/{tool-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{tool-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-2fpns0sv.js → form-7bwgwstm.js} +45 -45
- package/dist/chunks/{tool-mn1waazh.js → form-7q7tdt9r.js} +37 -37
- package/dist/chunks/{tool-nd7csjtk.js → form-833me25k.js} +13 -13
- package/dist/chunks/{tool-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{tool-9wjqfw83.js → form-86fpx1fw.js} +4 -4
- package/dist/chunks/{tool-krhn2nch.js → form-877ypse5.js} +12 -12
- package/dist/chunks/{tool-76ejvhhr.js → form-8a2q96p4.js} +15 -15
- package/dist/chunks/form-8d77zc71.js +257 -0
- package/dist/chunks/{tool-455yydvh.js → form-8ejckeyx.js} +28 -28
- package/dist/chunks/{tool-hxtet8kv.js → form-8ja30ehw.js} +6 -6
- package/dist/chunks/{tool-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{tool-cw1n2y8y.js → form-8pxgwx02.js} +17 -17
- package/dist/chunks/{tool-5ee0ck5t.js → form-8vzk4gb7.js} +21 -21
- package/dist/chunks/{tool-rk2kcxcc.js → form-8y2xcxay.js} +15 -15
- package/dist/chunks/{tool-zwevc33g.js → form-92swtbh8.js} +11 -11
- package/dist/chunks/{tool-7vjhz70e.js → form-9d5n2cav.js} +5 -5
- package/dist/chunks/{tool-he8dq86x.js → form-9eh2b9tz.js} +26 -26
- package/dist/chunks/{tool-8d5fwhns.js → form-9j7zhwfa.js} +1 -1
- package/dist/chunks/{tool-w9sgbs7k.js → form-9man8zct.js} +22 -22
- package/dist/chunks/{tool-58vmr7wj.js → form-9nxktn4c.js} +13 -13
- package/dist/chunks/{tool-wpj6vp23.js → form-9qbkfy8j.js} +25 -25
- package/dist/chunks/{tool-a20pjse5.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{tool-atsf9aqe.js → form-a8nkje97.js} +11 -11
- package/dist/chunks/{tool-6zt8z75t.js → form-az5hjsz4.js} +26 -26
- package/dist/chunks/{tool-7kkywtdn.js → form-b6d3184h.js} +10 -10
- package/dist/chunks/{tool-vymc59vb.js → form-b7277dxx.js} +31 -31
- package/dist/chunks/{tool-1rgsmk43.js → form-b8spkqz0.js} +10 -10
- package/dist/chunks/{tool-s1d318ea.js → form-bgg9avxn.js} +3 -3
- package/dist/chunks/{tool-bjx1sjef.js → form-bjx1sjef.js} +2 -2
- package/dist/chunks/{tool-hb7c6vf9.js → form-bkt2f8yx.js} +13 -13
- package/dist/chunks/{tool-gybdh0a0.js → form-bpzz8sk3.js} +27 -27
- package/dist/chunks/{tool-82ep1r6s.js → form-bq2jgg1t.js} +3 -3
- package/dist/chunks/{tool-jv204pn8.js → form-br9ffvj3.js} +3 -3
- package/dist/chunks/{tool-f8fhdr9r.js → form-btxgmbmp.js} +28 -28
- package/dist/chunks/{tool-bzeyqsqd.js → form-bzeyqsqd.js} +1 -1
- package/dist/chunks/{tool-es1vcfrp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{tool-arz7hw7x.js → form-c2sed5cq.js} +3 -3
- package/dist/chunks/{tool-zkaac646.js → form-c6wjmv7c.js} +9 -9
- package/dist/chunks/{tool-s8n8peb1.js → form-cefkz2r6.js} +4 -4
- package/dist/chunks/{tool-mchgfn78.js → form-cgceftma.js} +9 -9
- package/dist/chunks/{tool-qdqb97nm.js → form-ck1zs89s.js} +11 -11
- package/dist/chunks/{tool-xag3qx04.js → form-ctkmsz73.js} +15 -15
- package/dist/chunks/{tool-r1rfp8t8.js → form-d1p465nq.js} +5 -5
- package/dist/chunks/{tool-d2ms787s.js → form-d5sedwsn.js} +10 -10
- package/dist/chunks/form-d6a0dzba.js +26 -0
- package/dist/chunks/{tool-6kfemk62.js → form-d7fb65k9.js} +15 -15
- package/dist/chunks/{tool-dnt051dx.js → form-dg24z682.js} +25 -25
- package/dist/chunks/{tool-b4nzaj04.js → form-dhb2hta4.js} +5 -5
- package/dist/chunks/{tool-7k4nsz29.js → form-djp577me.js} +11 -11
- package/dist/chunks/{tool-drwq78ky.js → form-drwq78ky.js} +1 -1
- package/dist/chunks/{tool-ckjpj2pw.js → form-dsxc0gdn.js} +3 -3
- package/dist/chunks/{tool-hjhxarjg.js → form-dv4gps5g.js} +2 -2
- package/dist/chunks/{tool-x4c1mtyt.js → form-dy50jp3n.js} +11 -11
- package/dist/chunks/{tool-bdx6mn17.js → form-e0z0jdq6.js} +7 -7
- package/dist/chunks/{tool-xr8wmf3z.js → form-e2efsa8y.js} +19 -19
- package/dist/chunks/{tool-bec822vs.js → form-e3m5h7z7.js} +6 -6
- package/dist/chunks/{tool-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{tool-3eneve4b.js → form-e4svjp07.js} +41 -41
- package/dist/chunks/{tool-5g57z1ma.js → form-e7gxy7fd.js} +4 -4
- package/dist/chunks/{tool-4k7jacjp.js → form-e7vcsn0z.js} +9 -9
- package/dist/chunks/{tool-e80seqcp.js → form-e80seqcp.js} +1 -1
- package/dist/chunks/{tool-rns4py0f.js → form-e8c8zgaf.js} +71 -71
- package/dist/chunks/{tool-9eyh9j7p.js → form-ebdsrbwd.js} +26 -26
- package/dist/chunks/{tool-wy45m17f.js → form-edgrr010.js} +2 -2
- package/dist/chunks/{tool-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-cg54xxwj.js → form-eqgdfs9h.js} +12 -12
- package/dist/chunks/{tool-52hb404k.js → form-eqkxs06z.js} +6 -6
- package/dist/chunks/{tool-7cnnqjpd.js → form-ewexpb9k.js} +6 -6
- package/dist/chunks/{tool-7dqw4kz8.js → form-fcrkznn8.js} +5 -5
- package/dist/chunks/{tool-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{tool-p1ayhfez.js → form-ffm3byn0.js} +15 -15
- package/dist/chunks/{tool-w73xcbgf.js → form-fhn4ym0h.js} +17 -17
- package/dist/chunks/{tool-ft3hqk2c.js → form-ft3hqk2c.js} +2 -2
- package/dist/chunks/{tool-0zprb6es.js → form-fwedgtee.js} +25 -25
- package/dist/chunks/{tool-7shzd1td.js → form-g2pewrzk.js} +24 -24
- package/dist/chunks/{tool-4kjbsxnw.js → form-g36kca0s.js} +4 -4
- package/dist/chunks/{tool-esfwjqg1.js → form-g4fh54as.js} +11 -11
- package/dist/chunks/{tool-fxs30z0y.js → form-gatqkby9.js} +23 -23
- package/dist/chunks/{tool-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-rmc73zzm.js → form-gh89cy2x.js} +13 -13
- package/dist/chunks/{tool-xypd4wdp.js → form-ghwdn9we.js} +9 -9
- package/dist/chunks/{tool-86kfezyq.js → form-gqqjwrr4.js} +7 -7
- package/dist/chunks/{tool-ypcn87gg.js → form-gwszmx42.js} +11 -11
- package/dist/chunks/{tool-hbq1mjfv.js → form-h39nf5em.js} +25 -25
- package/dist/chunks/{tool-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-hbb7npd7.js → form-hbb7npd7.js} +3 -3
- package/dist/chunks/{tool-vmdagwb0.js → form-hbfzz612.js} +15 -15
- package/dist/chunks/{tool-2kjm689e.js → form-hded69yb.js} +18 -18
- package/dist/chunks/{tool-fxyrfkeq.js → form-herw6cax.js} +11 -11
- package/dist/chunks/{tool-asd51m7s.js → form-hgp8ga1w.js} +84 -84
- package/dist/chunks/{tool-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-v5e4b0wx.js → form-hhfx60p8.js} +18 -18
- package/dist/chunks/{tool-zgha0hsw.js → form-hp22rb7y.js} +18 -18
- package/dist/chunks/{tool-37nhdnh0.js → form-jcmaxbq8.js} +4 -4
- package/dist/chunks/{tool-rwasyrp5.js → form-jqebagr2.js} +44 -44
- package/dist/chunks/{tool-3nmfsz90.js → form-jypyv8j2.js} +11 -11
- package/dist/chunks/{tool-2tny0edy.js → form-k22705tg.js} +145 -145
- package/dist/chunks/{tool-mhbktqx9.js → form-k42evvpj.js} +9 -9
- package/dist/chunks/{tool-cthpwpgv.js → form-k4a4z99s.js} +50 -50
- package/dist/chunks/{tool-p19xwqz2.js → form-kamqz7n1.js} +9 -9
- package/dist/chunks/{tool-mmwmp5se.js → form-kcgvbftg.js} +11 -11
- package/dist/chunks/{tool-jr4tj8tx.js → form-kedsnqtc.js} +23 -23
- package/dist/chunks/{tool-fxaymqdw.js → form-khmqacep.js} +4 -4
- package/dist/chunks/{tool-dnc7w57r.js → form-km89rq23.js} +11 -11
- package/dist/chunks/{tool-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{tool-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-gftpqfcq.js → form-mg46656p.js} +4 -4
- package/dist/chunks/{tool-cn8yddnn.js → form-mjx4d27a.js} +25 -25
- package/dist/chunks/{tool-7def0ggy.js → form-mmne1w82.js} +37 -37
- package/dist/chunks/{tool-5ehgcgpr.js → form-mmq9wxfe.js} +30 -30
- package/dist/chunks/{tool-z629hdve.js → form-mnqkv3ke.js} +3 -3
- package/dist/chunks/{tool-addxnjmp.js → form-mxvxcxwy.js} +4 -4
- package/dist/chunks/{tool-4e8vs6eh.js → form-n0tq777j.js} +8 -8
- package/dist/chunks/{tool-0nyyp0wg.js → form-n2vqhefj.js} +14 -14
- package/dist/chunks/{tool-r7epa8w9.js → form-n5csmyza.js} +10 -10
- package/dist/chunks/{tool-b762m4xg.js → form-n64j14rh.js} +31 -31
- package/dist/chunks/{tool-bacj9t34.js → form-nd4tfyg0.js} +9 -9
- package/dist/chunks/{tool-vx00tebk.js → form-nyretmae.js} +2 -2
- package/dist/chunks/{tool-v56xwjn6.js → form-nysx7nj2.js} +26 -26
- package/dist/chunks/{tool-vvzbhhck.js → form-p30t7e37.js} +2 -2
- package/dist/chunks/{tool-6efjf592.js → form-pb4fd284.js} +17 -17
- package/dist/chunks/{tool-zc68hza3.js → form-pbq40pk4.js} +14 -14
- package/dist/chunks/{tool-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{tool-pc58ekcv.js → form-pmykfp9p.js} +11 -11
- package/dist/chunks/{tool-a5rre0n2.js → form-pz51kqst.js} +11 -11
- package/dist/chunks/{tool-5bnha4a9.js → form-q0p071b0.js} +2 -2
- package/dist/chunks/{tool-3jt1eddq.js → form-q2r8gbdf.js} +55 -55
- package/dist/chunks/{tool-tzs5ptya.js → form-q55rfppt.js} +20 -20
- package/dist/chunks/{tool-e2hjzebn.js → form-q5asdkn4.js} +4 -4
- package/dist/chunks/{tool-3f43s8b4.js → form-q9177bt4.js} +41 -41
- package/dist/chunks/{tool-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-0r3c1bmw.js → form-qne3fa44.js} +5 -5
- package/dist/chunks/{tool-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-b14jzmzs.js → form-qve897jx.js} +23 -23
- package/dist/chunks/{tool-2t1tfy87.js → form-r17zqvjw.js} +16 -16
- package/dist/chunks/{tool-vbrars45.js → form-r2v4c7r0.js} +8 -8
- package/dist/chunks/{tool-z9hatdac.js → form-r3ndx3a2.js} +15 -15
- package/dist/chunks/{tool-9jtmtwne.js → form-r8jgt09m.js} +13 -13
- package/dist/chunks/form-rap9a73h.js +18 -0
- package/dist/chunks/{tool-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-tkb22qbm.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{tool-c41wscbt.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{tool-9w4ppqge.js → form-rkdvqggb.js} +5 -5
- package/dist/chunks/{tool-61b1kan1.js → form-rnaqt492.js} +23 -23
- package/dist/chunks/{tool-c8ax2afj.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{tool-ry6831an.js → form-sgpss9b5.js} +9 -9
- package/dist/chunks/{tool-1pwk8kcs.js → form-sngg5jzg.js} +14 -14
- package/dist/chunks/{tool-p9e5fkyj.js → form-snx4nqk9.js} +18 -18
- package/dist/chunks/{tool-n4rwe75z.js → form-sq0tjeh0.js} +23 -23
- package/dist/chunks/{tool-0mcdt3xm.js → form-ssk7czj1.js} +20 -20
- package/dist/chunks/{tool-qa3qhgw8.js → form-sxz6gkc3.js} +7 -7
- package/dist/chunks/{tool-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{tool-mhrn1b6p.js → form-t1ydd63c.js} +43 -43
- package/dist/chunks/{tool-rpvr12zk.js → form-t3nryzzt.js} +16 -16
- package/dist/chunks/{tool-qnw1j25x.js → form-t4rshbjx.js} +19 -19
- package/dist/chunks/{tool-rhjbct0v.js → form-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-ck0e8gek.js → form-t9x7ks3k.js} +28 -28
- package/dist/chunks/{tool-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{tool-vnn07649.js → form-thg1vn1a.js} +6 -6
- package/dist/chunks/{tool-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{tool-ctd2f7xq.js → form-tn1wh4ar.js} +27 -27
- package/dist/chunks/{tool-2d2h4qhb.js → form-ty2f8d57.js} +29 -29
- package/dist/chunks/{tool-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-nz56sr1f.js → form-v13b12ef.js} +5 -5
- package/dist/chunks/{tool-v210v162.js → form-v210v162.js} +2 -2
- package/dist/chunks/{tool-cmcz3sb1.js → form-v29px2ne.js} +21 -21
- package/dist/chunks/{tool-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-v7z2bvyd.js → form-v7z2bvyd.js} +1 -1
- package/dist/chunks/{tool-zyx4ag0r.js → form-v8fz4mt5.js} +26 -26
- package/dist/chunks/{tool-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-713g62m8.js → form-vg8a1yvs.js} +315 -315
- package/dist/chunks/{tool-4xcz4xpr.js → form-vmfvcz6g.js} +13 -13
- package/dist/chunks/{tool-zkkgz3mx.js → form-vqkwn4tj.js} +15 -15
- package/dist/chunks/{tool-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-7t04q73r.js → form-w32a45cq.js} +27 -27
- package/dist/chunks/{tool-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-8mv6xfqh.js → form-wbg02h9n.js} +5 -5
- package/dist/chunks/{tool-cg9p582w.js → form-wbppzfdy.js} +9 -9
- package/dist/chunks/{tool-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{tool-kq8anxe4.js → form-wxp1snbt.js} +11 -11
- package/dist/chunks/{tool-p56jdh79.js → form-wy70kt51.js} +1 -1
- package/dist/chunks/{tool-3493q4kq.js → form-x0b6dsea.js} +2 -2
- package/dist/chunks/{tool-mzrjd0cd.js → form-x2xyd8bp.js} +6 -6
- package/dist/chunks/{tool-0976wqw8.js → form-x5bj7jd8.js} +25 -25
- package/dist/chunks/{tool-rdsy7yvm.js → form-x6h5gppg.js} +12 -12
- package/dist/chunks/{tool-c7hvxrkm.js → form-x830gk0v.js} +25 -25
- package/dist/chunks/{tool-c3j8ne37.js → form-xes13cec.js} +15 -15
- package/dist/chunks/{tool-s23kegdt.js → form-xkdqbgma.js} +9 -9
- package/dist/chunks/{tool-2nhcazd0.js → form-xn9d5d7a.js} +16 -16
- package/dist/chunks/{tool-zz29nx1c.js → form-xryw55cn.js} +8 -8
- package/dist/chunks/{tool-dv6fhex8.js → form-xvdstdyg.js} +1 -1
- package/dist/chunks/{tool-t5pnv4sj.js → form-xyjecrh1.js} +32 -32
- package/dist/chunks/{tool-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-bz29cs86.js → form-y1paeth2.js} +20 -20
- package/dist/chunks/{tool-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{tool-073332rd.js → form-yebkwvs3.js} +20 -20
- package/dist/chunks/{tool-twben05b.js → form-ymrej2er.js} +13 -13
- package/dist/chunks/{tool-2ae0q92z.js → form-ynmknp8q.js} +7 -7
- package/dist/chunks/{tool-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{tool-pz07xgh4.js → form-z5gmjsqz.js} +11 -11
- package/dist/chunks/{tool-6tz1jnny.js → form-zghqh9m4.js} +16 -7
- package/dist/chunks/{tool-txssyqt7.js → form-zhpzfnnm.js} +6 -6
- package/dist/chunks/{tool-88jzmhd2.js → form-zj70vn69.js} +8 -8
- package/dist/chunks/{tool-q846csbm.js → form-zpr2q4qf.js} +21 -21
- package/dist/chunks/{tool-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- 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 +87 -87
- 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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- 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 +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- 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 +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- 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 +105 -105
- 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 +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +1 -1
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- 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 +114 -114
- 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 +2 -2
- 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 +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- 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 +4 -4
- 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 +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +205 -205
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/session/error.d.ts +1 -0
- package/dist/types/session/history.d.ts +10 -0
- package/dist/types/session/transfer.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +5 -5
- 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/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/tool-4vgve9x2.js +0 -26
- package/dist/chunks/tool-dxj72tfx.js +0 -18
- package/dist/chunks/tool-xrbvcvxz.js +0 -257
- /package/dist/chunks/{tool-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./form-3wh0fnkb.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-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
|
-
Input: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin40,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin40 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description3,
|
|
104
|
-
input:
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin38 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin40, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./form-92swtbh8.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-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
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
17
|
+
ID: () => ID8,
|
|
18
|
+
Info: () => Info11,
|
|
19
19
|
ListInput: () => ListInput5,
|
|
20
|
-
NotFoundError: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
23
|
UpdateInput: () => UpdateInput3,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node66
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,8 +29,8 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var ID8 = PermissionSaved.ID;
|
|
33
|
+
var Info11 = PermissionSaved.Info;
|
|
34
34
|
var ListInput5 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -40,27 +40,27 @@ var AddInput2 = Schema.Struct({
|
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
42
|
var UpdateInput3 = Schema.Struct({
|
|
43
|
-
id:
|
|
43
|
+
id: ID8,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
48
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
+
id: ID8
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID8,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service63 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const db = (yield*
|
|
62
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
63
|
+
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
66
66
|
return rows.map(info);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID8.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service63.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID8, Info11, ListInput5, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service63, node66, exports_saved };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./form-xn9d5d7a.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-19k05nxq.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -19,12 +19,12 @@ __export(exports_persistent_pty, {
|
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service27,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available2,
|
|
25
25
|
configured: () => configured4,
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
node: () => node30
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -41,7 +41,7 @@ var Options4 = Schema.Struct({
|
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
@@ -51,10 +51,10 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service27 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service27.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
262
|
+
var layer14 = makeLayer();
|
|
263
263
|
var configured4 = (options) => makeGlobalNode({
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
264
|
+
service: Service27,
|
|
265
|
+
layer: options === undefined ? layer14 : makeLayer(options),
|
|
266
|
+
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node30 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4,
|
|
304
|
+
export { Options4, UnavailableError4, NotFoundError4, Service27, layer14, configured4, node30, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-b6d3184h.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make7 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make7();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./form-xn9d5d7a.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-x0b6dsea.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./form-2b3trp23.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
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 Plugin16 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service81;
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
200
|
+
const mcp = yield* Service40;
|
|
201
|
+
const bus = yield* Service84;
|
|
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 { Plugin16, exports_command };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./form-xn9d5d7a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-x0b6dsea.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service48,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node51
|
|
13
|
+
} from "./form-19k05nxq.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
@@ -26,11 +26,11 @@ __export(exports_pty, {
|
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
27
|
ID: () => ID2,
|
|
28
28
|
Info: () => Info3,
|
|
29
|
-
NotFoundError: () =>
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -44,7 +44,7 @@ var Info3 = Pty.Info;
|
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
48
|
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service81;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service48;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node19 = makeLocationNode({
|
|
273
|
+
service: Service17,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node88, node85, node51]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID2, Info3, CreateInput2, UpdateInput2,
|
|
278
|
+
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event3 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Service81,
|
|
18
18
|
node85
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-x0b6dsea.js";
|
|
20
20
|
import {
|
|
21
21
|
Service51,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
node54
|
|
23
|
+
} from "./form-qve897jx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-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
32
|
Service: () => Service50,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node53
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -49,7 +49,7 @@ __export(exports_environment3, {
|
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node53,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -67,10 +67,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
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
68
|
return Service50.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
70
|
+
var node53 = makeLocationNode({
|
|
71
71
|
service: Service50,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node85,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node85, node54]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { Service50,
|
|
76
|
+
export { Service50, node53, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-wxp1snbt.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin7 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin2 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin2 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin7, exports_firecrawl };
|