@opencode/core 0.0.0-dev-21056 → 0.0.0-dev-21058
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-rcfq2fyt.js → project-08y5q8wd.js} +14 -14
- package/dist/chunks/{form-ev7yx7rh.js → project-0gtcxzh4.js} +24 -24
- package/dist/chunks/{form-2fva7j8r.js → project-0kb2qjdq.js} +35 -35
- package/dist/chunks/{form-nxtvghd9.js → project-0pmjc72x.js} +3 -3
- package/dist/chunks/{form-0r3c1bmw.js → project-0r3c1bmw.js} +2 -2
- package/dist/chunks/{form-b5pcwx3b.js → project-0txttp9t.js} +33 -33
- package/dist/chunks/{form-0vbcp93d.js → project-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-y4x76mtf.js → project-0xvaxfee.js} +26 -26
- package/dist/chunks/{form-tb8cc3q5.js → project-0yh5wqb1.js} +9 -9
- package/dist/chunks/{form-xgg5jmv3.js → project-18n88jqj.js} +14 -14
- package/dist/chunks/{form-jefbb03d.js → project-1av17bgz.js} +44 -44
- package/dist/chunks/{form-k4yyvv17.js → project-1besy32e.js} +11 -11
- package/dist/chunks/{form-7gmkp606.js → project-1gbx2bbx.js} +3 -3
- package/dist/chunks/{form-1h0y1afe.js → project-1j38pfxf.js} +23 -23
- package/dist/chunks/{form-wh6zw745.js → project-1pxz8ven.js} +5 -5
- package/dist/chunks/{form-06szj819.js → project-217ry7f9.js} +5 -5
- package/dist/chunks/{form-wj76ss2k.js → project-277eer69.js} +4 -4
- package/dist/chunks/{form-9wsxw2fw.js → project-29cpf1j0.js} +17 -17
- package/dist/chunks/{form-ra4n65wq.js → project-29qym6xz.js} +4 -4
- package/dist/chunks/{form-kj1apabk.js → project-2f95q5sc.js} +19 -19
- package/dist/chunks/{form-aa8ad63g.js → project-2hxn28a9.js} +11 -11
- package/dist/chunks/{form-smxpbhh2.js → project-2jtmvwcj.js} +45 -45
- package/dist/chunks/{form-qgn6gcr1.js → project-2k8khapm.js} +5 -5
- package/dist/chunks/{form-y7m3bmgm.js → project-2t6h5syz.js} +14 -14
- package/dist/chunks/{form-y3cajcwy.js → project-2yqxmsdx.js} +11 -11
- package/dist/chunks/{form-5s9m1zwe.js → project-330cx653.js} +35 -35
- package/dist/chunks/{form-agpdhjxs.js → project-38cz93yf.js} +28 -28
- package/dist/chunks/{form-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → project-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-jxw20gqk.js → project-3sa7vbkn.js} +10 -10
- package/dist/chunks/{form-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-hzwk08ya.js → project-3vddrp31.js} +10 -10
- package/dist/chunks/{form-gqtdsdt7.js → project-3y377wv9.js} +4 -4
- package/dist/chunks/{form-amk0skfj.js → project-3z7vhxa6.js} +20 -20
- package/dist/chunks/{form-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-fpecnkgp.js → project-4434d9q2.js} +9 -9
- package/dist/chunks/{form-hv6pheye.js → project-464fgrf8.js} +11 -11
- package/dist/chunks/{form-5v3dh65r.js → project-46ekg8ch.js} +1 -1
- package/dist/chunks/{form-vf2z1tm7.js → project-46k4mwc0.js} +21 -21
- package/dist/chunks/{form-xc5q4635.js → project-4g8rzqh2.js} +13 -13
- package/dist/chunks/{form-wsj0w0mv.js → project-4m514emz.js} +4 -4
- package/dist/chunks/{form-4vwczy25.js → project-4ns3h2re.js} +6 -6
- package/dist/chunks/{form-6dcqwygt.js → project-4qzh7fhm.js} +15 -15
- package/dist/chunks/{form-vn2rg10d.js → project-4vht6qym.js} +21 -21
- package/dist/chunks/{form-yprxz05b.js → project-4zpqecgw.js} +22 -22
- package/dist/chunks/{form-pf7swax9.js → project-524rf9nz.js} +44 -44
- package/dist/chunks/{form-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{form-drwq78ky.js → project-57b9ws8p.js} +5 -5
- package/dist/chunks/{form-84qk9gsz.js → project-5bqrbzpz.js} +45 -45
- package/dist/chunks/{form-h1xp1v3c.js → project-5ghbr0aa.js} +18 -18
- package/dist/chunks/{form-6k9x50em.js → project-5gse0wef.js} +18 -18
- package/dist/chunks/{form-rtg907x2.js → project-5gypmxb6.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → project-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-cmwkp3r5.js → project-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-jdcspryj.js → project-66whjjpm.js} +18 -18
- package/dist/chunks/{form-7b61459q.js → project-6a3rfgsm.js} +4 -4
- package/dist/chunks/{form-jpbcjddy.js → project-6e2baheb.js} +34 -34
- package/dist/chunks/{form-qpb8gnty.js → project-6hgkw0ap.js} +13 -13
- package/dist/chunks/{form-h71w788e.js → project-6hjx5zpb.js} +9 -9
- package/dist/chunks/{form-tj6ck4g6.js → project-6rqqpc35.js} +7 -7
- package/dist/chunks/{form-6xb47vfp.js → project-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-abza8qdr.js → project-6zpy51re.js} +23 -23
- package/dist/chunks/{form-3yxrmzra.js → project-6zxpntjp.js} +9 -9
- package/dist/chunks/{form-92swnv4m.js → project-73kdj4zj.js} +8 -8
- package/dist/chunks/{form-775gj3j1.js → project-775gj3j1.js} +2 -2
- package/dist/chunks/{form-64bnfsgg.js → project-77rprrbn.js} +20 -20
- package/dist/chunks/{form-r4c0bnz8.js → project-7ac6etn3.js} +9 -9
- package/dist/chunks/{form-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-4cask09z.js → project-7d1j3gh0.js} +14 -14
- package/dist/chunks/{form-c83m7t30.js → project-7ey2hqh4.js} +3 -3
- package/dist/chunks/{form-a4mbvygq.js → project-7qcbg35h.js} +17 -17
- package/dist/chunks/{form-hbm6e8t2.js → project-7r4qhcrf.js} +18 -18
- package/dist/chunks/{form-drk6xwjx.js → project-7ra1gfj5.js} +3 -3
- package/dist/chunks/{form-vktwk5kv.js → project-7v81x33d.js} +9 -9
- package/dist/chunks/{form-g1xp79vn.js → project-7xybr5h7.js} +16 -16
- package/dist/chunks/{form-t6yga7mn.js → project-846x6n9b.js} +20 -20
- package/dist/chunks/{form-w1eejvng.js → project-84txncab.js} +5 -5
- package/dist/chunks/{form-nbtrgnjj.js → project-86bgjncs.js} +6 -6
- package/dist/chunks/{form-208m9g5p.js → project-8ckc28nh.js} +3 -3
- package/dist/chunks/{form-1m4afec7.js → project-8jhpg3r3.js} +4 -4
- package/dist/chunks/{form-8m6m0r52.js → project-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-nsggt6bk.js → project-97fna9vq.js} +8 -8
- package/dist/chunks/{form-r4yqrmdq.js → project-994b2pxg.js} +5 -5
- package/dist/chunks/{form-wp6gr4w3.js → project-9a6we621.js} +11 -11
- package/dist/chunks/{form-4zrme1de.js → project-9g9rfe9e.js} +16 -16
- package/dist/chunks/{form-gy73by6h.js → project-9qzakqdf.js} +27 -27
- package/dist/chunks/{form-kqk0xaah.js → project-9r8fms9q.js} +13 -13
- package/dist/chunks/{form-ebs300h9.js → project-9rrg1j5j.js} +16 -16
- package/dist/chunks/{form-1dqjdm82.js → project-9sfv06ww.js} +13 -13
- package/dist/chunks/{form-yrk407yr.js → project-9wwfrree.js} +19 -19
- package/dist/chunks/{form-hng1cgat.js → project-a1vqgawf.js} +13 -13
- package/dist/chunks/{form-43e2rsb3.js → project-a43zcwkp.js} +3 -3
- package/dist/chunks/{form-t04neh10.js → project-a44gt5xs.js} +6 -6
- package/dist/chunks/{form-jmpkbkgh.js → project-aa1y9kb9.js} +86 -86
- package/dist/chunks/{form-k4dzxsgh.js → project-agfffypt.js} +24 -24
- package/dist/chunks/{form-vqp5rvg2.js → project-as6z21sy.js} +16 -16
- package/dist/chunks/{form-5gzka0qa.js → project-azhwb1sg.js} +324 -324
- package/dist/chunks/{form-jm30c9hq.js → project-b0jzx5be.js} +1 -1
- package/dist/chunks/{form-6w65dy4w.js → project-b19791qn.js} +25 -25
- package/dist/chunks/{form-tc59g35x.js → project-b22ng80r.js} +6 -6
- package/dist/chunks/{form-5xxj70nj.js → project-b261b8hj.js} +34 -34
- package/dist/chunks/{form-hdkng2sj.js → project-b3f8fkhc.js} +5 -5
- package/dist/chunks/{form-56k16gap.js → project-ba3xh6a2.js} +14 -14
- package/dist/chunks/{form-ywt8jp22.js → project-bjx1sjef.js} +9 -9
- package/dist/chunks/project-by5v678g.js +18 -0
- package/dist/chunks/{form-c1fqxshp.js → project-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-sxzvkvgj.js → project-c8bydgjz.js} +6 -6
- package/dist/chunks/{form-gmprqjvy.js → project-ccd6hyrd.js} +11 -11
- package/dist/chunks/{form-8fwg2sew.js → project-ce17ykb7.js} +5 -5
- package/dist/chunks/{form-gjswpdrn.js → project-cg84fwzy.js} +5 -5
- package/dist/chunks/{form-gdjmt365.js → project-crhch0qz.js} +40 -40
- package/dist/chunks/{form-k1f52h9q.js → project-csctevvr.js} +14 -14
- package/dist/chunks/{form-sg80mhsz.js → project-cyxn42f6.js} +11 -11
- package/dist/chunks/{form-yjpft9tp.js → project-cz8x9c8g.js} +18 -18
- package/dist/chunks/{form-7w913k7t.js → project-d57paz8b.js} +7 -7
- package/dist/chunks/{form-jsxy3aak.js → project-d5bxh3kg.js} +26 -26
- package/dist/chunks/{form-g686f6pq.js → project-d7x0sh0y.js} +9 -9
- package/dist/chunks/{form-qqxx7jtk.js → project-d9kbpe4j.js} +13 -13
- package/dist/chunks/{form-rgh00m86.js → project-dcnp92q7.js} +11 -11
- package/dist/chunks/{form-t3rpkjaz.js → project-dfmpseqs.js} +46 -46
- package/dist/chunks/{form-hk0rgc6d.js → project-dqf667jx.js} +11 -11
- package/dist/chunks/{form-dqxsqydv.js → project-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-127b9nq3.js → project-drnf6xwf.js} +2 -2
- package/dist/chunks/{form-8a9bdsjh.js → project-e1smpma2.js} +71 -71
- package/dist/chunks/{form-eej6y6fw.js → project-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-kqh3wzdw.js → project-ef5jab3p.js} +28 -28
- package/dist/chunks/{form-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-2vs2nh1n.js → project-embw8kgh.js} +4 -4
- package/dist/chunks/{form-q9wtn0es.js → project-ep2q945v.js} +15 -15
- package/dist/chunks/{form-b141wqtp.js → project-esffqqvs.js} +20 -20
- package/dist/chunks/{form-zv8cwpd2.js → project-et7yaydb.js} +11 -11
- package/dist/chunks/{form-8xjcxybm.js → project-etqtjtw0.js} +10 -10
- package/dist/chunks/{form-wpx4gzz2.js → project-f1b4ke4h.js} +5 -5
- package/dist/chunks/{form-5gw4qxnr.js → project-fbyej2qz.js} +5 -5
- package/dist/chunks/{form-cwa6csj7.js → project-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-k68ke2bn.js → project-ftkezsz2.js} +41 -41
- package/dist/chunks/{form-hcg28tba.js → project-fzscntb9.js} +92 -92
- package/dist/chunks/{form-5yky707k.js → project-g16p7fm5.js} +10 -10
- package/dist/chunks/{form-rzyrpfxb.js → project-gashxpx8.js} +10 -10
- package/dist/chunks/{form-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-smb0a5xb.js → project-ggpn5cje.js} +29 -29
- package/dist/chunks/{form-z7wjcsc2.js → project-gj014zr3.js} +17 -17
- package/dist/chunks/{form-0nych2mn.js → project-gsm4wa7c.js} +11 -11
- package/dist/chunks/{form-4sqaep4n.js → project-gvhzaye6.js} +15 -15
- package/dist/chunks/{form-t5acvayd.js → project-gw6dy74d.js} +36 -36
- package/dist/chunks/{form-k4z5awvr.js → project-gxsww4yb.js} +17 -17
- package/dist/chunks/project-gz4v619e.js +26 -0
- package/dist/chunks/{form-zac62jp8.js → project-h39sbrp5.js} +7 -7
- package/dist/chunks/{form-wngp4gtt.js → project-h5gvfa01.js} +16 -16
- package/dist/chunks/{form-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-31xfzrxg.js → project-h7s7r6s9.js} +5 -5
- package/dist/chunks/{form-9a7kxymn.js → project-h8b1e0g7.js} +25 -25
- package/dist/chunks/{form-eppts6fp.js → project-h8r6qxhx.js} +32 -32
- package/dist/chunks/{form-6qzrsqm2.js → project-h9h3ykac.js} +35 -35
- package/dist/chunks/{form-mdd2m0z3.js → project-h9jfk4va.js} +24 -24
- package/dist/chunks/{form-8dj74pby.js → project-hcv80w8f.js} +8 -8
- package/dist/chunks/{form-t6wskrdm.js → project-hfe0sdpn.js} +189 -189
- package/dist/chunks/{form-hgz4x7wa.js → project-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-zwb87n4v.js → project-hsdh5v8b.js} +20 -20
- package/dist/chunks/{form-e8xabe72.js → project-hx9rzx00.js} +7 -7
- package/dist/chunks/{form-91qna3x0.js → project-j09zfasm.js} +3 -3
- package/dist/chunks/{form-x9rba73f.js → project-j6map0at.js} +10 -10
- package/dist/chunks/{form-53f7afnf.js → project-j8nb3x1t.js} +16 -16
- package/dist/chunks/{form-5hsq30f6.js → project-jaj1xxek.js} +35 -35
- package/dist/chunks/{form-vs9744ez.js → project-jfyd8byt.js} +15 -15
- package/dist/chunks/{form-x1rzw1tj.js → project-jmfpatbx.js} +28 -28
- package/dist/chunks/{form-8gwvx2zf.js → project-jycptg83.js} +15 -15
- package/dist/chunks/{form-md48st27.js → project-k05z0ace.js} +19 -19
- package/dist/chunks/{form-3nfgarsn.js → project-k58fcyrb.js} +22 -22
- package/dist/chunks/{form-gkmwv4ke.js → project-kbnja1kr.js} +13 -13
- package/dist/chunks/{form-khmqacep.js → project-khmqacep.js} +1 -1
- package/dist/chunks/{form-gbh65n66.js → project-kqx1b4hy.js} +4 -4
- package/dist/chunks/{form-5hwcexqa.js → project-kvz5847h.js} +22 -22
- package/dist/chunks/{form-kwb1v3vj.js → project-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-m39w2evq.js → project-kwzxrt73.js} +23 -23
- package/dist/chunks/{form-eq84fw80.js → project-kzyk8mcz.js} +42 -42
- package/dist/chunks/{form-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → project-maspj1v3.js} +1 -1
- package/dist/chunks/{form-9pkqejgm.js → project-mmme5mvc.js} +4 -4
- package/dist/chunks/project-mneyqk4y.js +253 -0
- package/dist/chunks/{form-h4ndeedy.js → project-mrbqc0zq.js} +19 -19
- package/dist/chunks/{form-d9m13e9r.js → project-mxjpgj4j.js} +8 -8
- package/dist/chunks/{form-mtpeagzc.js → project-my4zabxr.js} +3 -3
- package/dist/chunks/{form-g5qayb98.js → project-n2g6t4s8.js} +25 -25
- package/dist/chunks/{form-4kx1mebd.js → project-ng4mt1p4.js} +11 -11
- package/dist/chunks/{form-f9mm3zn5.js → project-nhkfd5v3.js} +11 -11
- package/dist/chunks/{form-7b4m8qnh.js → project-nsbd13pa.js} +9 -9
- package/dist/chunks/{form-2scksz81.js → project-nvpqrmqg.js} +24 -24
- package/dist/chunks/{form-y11brde6.js → project-nwxqhh9b.js} +32 -32
- package/dist/chunks/{form-h84nxchg.js → project-pby86dem.js} +30 -30
- package/dist/chunks/{form-5r1bq3xb.js → project-pjbrakwm.js} +23 -23
- package/dist/chunks/{form-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{form-nffbc6ps.js → project-pnzf6mjf.js} +1 -1
- package/dist/chunks/{form-4rxk4s51.js → project-q3rk13xd.js} +8 -8
- package/dist/chunks/{form-qymcxhzz.js → project-q9mystjd.js} +2 -2
- package/dist/chunks/{form-ryr25ayn.js → project-qa3qhgw8.js} +4 -4
- package/dist/chunks/{form-pb9ytg2c.js → project-qen1ec59.js} +1 -1
- package/dist/chunks/{form-qnc92qwc.js → project-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-5jzxxy29.js → project-qper1cvd.js} +12 -12
- package/dist/chunks/{form-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{form-ctz7jbry.js → project-qxmaq0sm.js} +8 -8
- package/dist/chunks/{form-nza4bhrq.js → project-r2v4c7r0.js} +8 -8
- package/dist/chunks/{form-ed1g29hy.js → project-r2z489rp.js} +3 -3
- package/dist/chunks/{form-457z7jt0.js → project-rax2wscr.js} +31 -31
- package/dist/chunks/{form-yhrg5rh5.js → project-rdk8m1yb.js} +5 -5
- package/dist/chunks/{form-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → project-rert0e01.js} +2 -2
- package/dist/chunks/{form-0gdmqesm.js → project-rhjbct0v.js} +4 -4
- package/dist/chunks/{form-rj3eygr5.js → project-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-0gypk62h.js → project-rt5q178g.js} +14 -14
- package/dist/chunks/{form-sh0hqzfg.js → project-rxptwqj8.js} +17 -17
- package/dist/chunks/{form-mcehh85s.js → project-s02j1kc0.js} +6 -6
- package/dist/chunks/{form-gn5zqh62.js → project-s55z37mj.js} +32 -32
- package/dist/chunks/{form-06wf3t83.js → project-s8c9wy2r.js} +4 -4
- package/dist/chunks/{form-sa8ekw3f.js → project-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-gfgv4jym.js → project-scy96xry.js} +41 -41
- package/dist/chunks/{form-9anabrsm.js → project-sk0j6z0a.js} +56 -56
- package/dist/chunks/{form-8998nv06.js → project-sw36zbc0.js} +11 -11
- package/dist/chunks/{form-syv4x271.js → project-syv4x271.js} +1 -1
- package/dist/chunks/{form-s8p93pn6.js → project-t3er826d.js} +4 -4
- package/dist/chunks/{form-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-4hhgvnax.js → project-tbxcyk70.js} +4 -4
- package/dist/chunks/{form-89znhe33.js → project-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-fq26d1sh.js → project-td3rcjyz.js} +12 -12
- package/dist/chunks/{form-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{form-akbddyr6.js → project-tggy4efm.js} +17 -17
- package/dist/chunks/{form-39r0hfe8.js → project-tgmc6crh.js} +6 -6
- package/dist/chunks/{form-tm0kqsz3.js → project-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-g2fkb42c.js → project-tr0zcq97.js} +10 -10
- package/dist/chunks/{form-xet2j094.js → project-tw4wzwtt.js} +57 -57
- package/dist/chunks/{form-rkg4v3e5.js → project-txm3e8qz.js} +9 -9
- package/dist/chunks/{form-tyytaxap.js → project-tyytaxap.js} +1 -1
- package/dist/chunks/{form-sxfhfr8n.js → project-tz21801v.js} +22 -22
- package/dist/chunks/{form-v7p4zvkq.js → project-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-p9tj0t7z.js → project-vd0f7f2n.js} +5 -5
- package/dist/chunks/{form-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{form-j31rstgq.js → project-vh35nqe6.js} +6 -6
- package/dist/chunks/{form-qp0mb5x1.js → project-vpjv6pw6.js} +21 -21
- package/dist/chunks/{form-mt70e7nm.js → project-vr3y5df8.js} +33 -33
- package/dist/chunks/{form-0cg871e2.js → project-vrzt526f.js} +5 -5
- package/dist/chunks/{form-ghpxedsq.js → project-vtbrqbj2.js} +20 -20
- package/dist/chunks/{form-zq2dpeyp.js → project-vvd3ek3r.js} +34 -34
- package/dist/chunks/{form-afvw2z2s.js → project-vyp8f64q.js} +36 -36
- package/dist/chunks/{form-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-cvykycyf.js → project-w2ve3f0z.js} +4 -4
- package/dist/chunks/{form-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-drf1yszw.js → project-w764hn2r.js} +25 -25
- package/dist/chunks/{form-rkprpv83.js → project-w92k2e0p.js} +8 -8
- package/dist/chunks/{form-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{form-we028rk3.js → project-ws0x2x5x.js} +21 -21
- package/dist/chunks/{form-sq1tv70q.js → project-wzece18v.js} +18 -18
- package/dist/chunks/{form-xkqcsmy8.js → project-x342v6qz.js} +3 -3
- package/dist/chunks/{form-fe91w0vx.js → project-x4asfamj.js} +13 -13
- package/dist/chunks/{form-8gkcv90v.js → project-x4t8qxf4.js} +35 -35
- package/dist/chunks/{form-vjabz57c.js → project-xah2gnd0.js} +16 -16
- package/dist/chunks/{form-9mv5neg2.js → project-xd2frmpg.js} +32 -32
- package/dist/chunks/{form-zvq27828.js → project-xmfhmd05.js} +5 -5
- package/dist/chunks/{form-8bkvq3rv.js → project-xqw97vvf.js} +18 -18
- package/dist/chunks/{form-2n2xmxxy.js → project-xwe6v4cn.js} +43 -43
- package/dist/chunks/{form-scbwr62e.js → project-xxjgqtz4.js} +20 -20
- package/dist/chunks/{form-x1g3ar2b.js → project-xzn6n07m.js} +9 -9
- package/dist/chunks/{form-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-y71avatq.js → project-y71avatq.js} +1 -1
- package/dist/chunks/{form-ef7sefg3.js → project-ydbknben.js} +50 -50
- package/dist/chunks/{form-f2n192rq.js → project-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-x390daxx.js → project-yp4cx7tr.js} +33 -33
- package/dist/chunks/{form-8zp79j7j.js → project-yrcj3v3g.js} +4 -4
- package/dist/chunks/{form-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-ktccht67.js → project-zfa7ynd8.js} +18 -18
- package/dist/chunks/{form-n0zxahqz.js → project-zke4s1dj.js} +40 -40
- package/dist/chunks/{form-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-yra4mjqj.js → project-zx3v58va.js} +8 -8
- package/dist/chunks/{form-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- 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 +75 -75
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- 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 +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- 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 +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +91 -91
- 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 +77 -77
- 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 +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +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 +118 -118
- 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 +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 +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +167 -167
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +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 +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- 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 +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 +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 +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +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 +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +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 +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +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 +2 -2
- 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 +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-9zdhvgqs.js +0 -18
- package/dist/chunks/form-dfpckm2y.js +0 -253
- package/dist/chunks/form-wvhg3a55.js +0 -26
- /package/dist/chunks/{form-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → project-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → project-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → project-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → project-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → project-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → project-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-0pmjc72x.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-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
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
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
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info17, ListInput5, AddInput2, Service68, node71, exports_saved };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin9
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin9 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin40 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin9, exports_mcp_codemode_defaults };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-4m514emz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./project-3vddrp31.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-hfe0sdpn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event3,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as Event3, ID as
|
|
39
|
+
import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service84;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service75;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./project-ftkezsz2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./project-gj014zr3.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin33
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin33 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const shell = yield* Service58;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin15 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin33, exports_shell };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./project-agfffypt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./project-pby86dem.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node64
|
|
24
|
+
} from "./project-2yqxmsdx.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service76,
|
|
30
|
+
node80,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./project-vr3y5df8.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./project-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service61,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node63,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID13,
|
|
63
|
+
modelID: ID12,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID13,
|
|
73
|
+
modelID: ID12,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID13,
|
|
84
|
+
modelID: ID12,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID13,
|
|
95
|
+
modelID: ID12,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID13,
|
|
107
|
+
modelID: ID12,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID13,
|
|
117
|
+
modelID: ID12,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service61 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID13.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service77;
|
|
276
|
+
const models = yield* Service76;
|
|
277
|
+
const integrations = yield* Service81;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service62;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service61.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node63 = makeLocationNode({
|
|
327
|
+
service: Service61,
|
|
328
|
+
layer: layer24,
|
|
329
|
+
deps: [node81, node80, node85, Npm.node, node64]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service61, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node63, exports_model_resolver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./project-ftkezsz2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service13
|
|
6
|
+
} from "./project-ft3hqk2c.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
|
+
const policy = yield* Service13;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin31, exports_location_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-pby86dem.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node64
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID13,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service62 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service62.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node64 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service62, locationLayer2, node64, exports_aisdk };
|