@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
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-j09zfasm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service43,
|
|
17
|
+
node46
|
|
18
|
+
} from "./project-7v81x33d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./project-73kdj4zj.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service42,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node45
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service42 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service70;
|
|
58
|
+
const image = yield* Service43;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service42.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node45 = makeLocationNode({
|
|
277
|
+
service: Service42,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node46]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./project-pby86dem.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./project-ftkezsz2.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service77;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service54);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./project-rxptwqj8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node20
|
|
13
|
+
} from "./project-s55z37mj.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event4,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError3,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service16,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node19
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content2 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event4 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service78;
|
|
115
|
+
const search = yield* Service17;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service16.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError3({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node19 = makeLocationNode({
|
|
175
|
+
service: Service16,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node82, node20]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make10,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make10, exports_retry };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-9wwfrree.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent = {};
|
|
12
|
+
__export(exports_agent, {
|
|
13
|
+
AgentPlugin: () => exports_agent,
|
|
14
|
+
Plugin: () => Plugin11
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin11 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin48 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID9.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID9.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin48 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin11, exports_agent };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service34,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service34 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service34, awaitActivation2, exports_service };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service49,
|
|
10
|
+
node: () => node51
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service49 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node51 = LayerNode.unbound(Service49, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service49, node51, exports_service2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-86bgjncs.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-kqx1b4hy.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-yrcj3v3g.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./project-pby86dem.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID13.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID13.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID13.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-tw4wzwtt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin13 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin13, exports_plan };
|