@opencode/core 0.0.0-dev-19769 → 0.0.0-dev-19772
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{repository-3srb4c33.js → file-018x1ems.js} +15 -15
- package/dist/chunks/{repository-eaj1djv9.js → file-02nrjc1r.js} +4 -4
- package/dist/chunks/{repository-85ph882g.js → file-0777derp.js} +2 -2
- package/dist/chunks/{repository-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-vxd5ygdv.js → file-12fxvqn6.js} +29 -29
- package/dist/chunks/{repository-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-vd6cqa4j.js → file-1gp0z8vk.js} +8 -8
- package/dist/chunks/{repository-paegk39x.js → file-1hc11dc4.js} +4 -4
- package/dist/chunks/{repository-818pfwc9.js → file-1qg96azw.js} +8 -8
- package/dist/chunks/file-1x11rq2a.js +18 -0
- package/dist/chunks/{repository-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{repository-tz3nmx0j.js → file-22br4zbr.js} +29 -29
- package/dist/chunks/{repository-fkd8950d.js → file-22wh6ycc.js} +20 -20
- package/dist/chunks/{repository-rbsrykmc.js → file-23bnecbk.js} +20 -20
- package/dist/chunks/{repository-mmvpf3z9.js → file-263r72ym.js} +20 -20
- package/dist/chunks/{repository-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-wnbgtmcr.js → file-2dvm09dd.js} +24 -24
- package/dist/chunks/{repository-tcg29b4q.js → file-2jz473v5.js} +1 -1
- package/dist/chunks/{repository-2m6tdwb7.js → file-2rx2wg8g.js} +1 -1
- package/dist/chunks/{repository-23sxaqwc.js → file-2y34zzjz.js} +6 -6
- package/dist/chunks/{repository-k8374c5q.js → file-2zzhbfmj.js} +1 -1
- package/dist/chunks/{repository-xv0a7vy5.js → file-304h1yg1.js} +27 -27
- package/dist/chunks/{repository-ej74qwfk.js → file-31wqgk5p.js} +10 -10
- package/dist/chunks/{repository-se91gbej.js → file-361xm3ya.js} +33 -33
- package/dist/chunks/file-3cg6k2ga.js +252 -0
- package/dist/chunks/{repository-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-ayec40qr.js → file-3fhknkx8.js} +20 -20
- package/dist/chunks/{repository-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-5bgvk8my.js → file-3kke03kt.js} +146 -146
- package/dist/chunks/{repository-8gtmmj3e.js → file-3my6v4az.js} +30 -30
- package/dist/chunks/{repository-yqgrxd6e.js → file-3qzhexf6.js} +15 -15
- package/dist/chunks/{repository-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-gyk8a0b3.js → file-41verw56.js} +28 -28
- package/dist/chunks/{repository-7c3st4jz.js → file-42mthp08.js} +26 -26
- package/dist/chunks/{repository-4qkvfqqk.js → file-46zss07m.js} +28 -28
- package/dist/chunks/{repository-rqx49y6e.js → file-4938m1cx.js} +280 -280
- package/dist/chunks/{repository-v1nykaf9.js → file-4dnw4fzb.js} +22 -22
- package/dist/chunks/{repository-an855pfc.js → file-4ghcrmft.js} +26 -26
- package/dist/chunks/{repository-95nee50p.js → file-4qenbd9f.js} +1 -1
- package/dist/chunks/{repository-98bk4qe8.js → file-4wywpd95.js} +7 -7
- package/dist/chunks/{repository-02cs18yf.js → file-4y2x8jxf.js} +42 -42
- package/dist/chunks/{repository-0r7yqxbf.js → file-510m7gjw.js} +5 -5
- package/dist/chunks/{repository-80783bh5.js → file-55j2v9k6.js} +20 -20
- package/dist/chunks/{repository-56gdpj1q.js → file-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-81swgkk7.js → file-57ez7d0k.js} +7 -7
- package/dist/chunks/{repository-vk6zr57k.js → file-58vybx2g.js} +12 -12
- package/dist/chunks/{repository-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-scv7p57g.js → file-5e1pzs32.js} +9 -9
- package/dist/chunks/{repository-rwtc3fw1.js → file-5fkxaj5s.js} +3 -3
- package/dist/chunks/{repository-qyzwb919.js → file-5gwdj91r.js} +18 -18
- package/dist/chunks/{repository-7arn502q.js → file-5jsx19yx.js} +18 -18
- package/dist/chunks/{repository-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-e188km2a.js → file-5vx8nhhg.js} +11 -11
- package/dist/chunks/{repository-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{repository-p1dtcdn6.js → file-66rhs1hf.js} +38 -38
- package/dist/chunks/{repository-122dvtp1.js → file-6grmf33y.js} +13 -13
- package/dist/chunks/{repository-6h73sxmp.js → file-6h73sxmp.js} +1 -1
- package/dist/chunks/{repository-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cc3rhb19.js → file-6mypyd4y.js} +55 -55
- package/dist/chunks/{repository-btjhzyrj.js → file-6r536pd1.js} +50 -50
- package/dist/chunks/{repository-9gzsgfm4.js → file-6v4peh9p.js} +16 -16
- package/dist/chunks/{repository-7g7gx5pj.js → file-702gse62.js} +15 -15
- package/dist/chunks/{repository-9ws33mfb.js → file-73cb9t05.js} +5 -5
- package/dist/chunks/{repository-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-6y44j97d.js → file-7bzk74m1.js} +18 -18
- package/dist/chunks/{repository-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-7j2qha59.js → file-7sbn2nrf.js} +8 -8
- package/dist/chunks/{repository-9ppytv0z.js → file-7xps8bb1.js} +27 -27
- package/dist/chunks/{repository-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{repository-qb3z2rd2.js → file-81tjde9w.js} +3 -3
- package/dist/chunks/{repository-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-3j8q1kjc.js → file-8nkxt6xp.js} +34 -34
- package/dist/chunks/{repository-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-yexpv489.js → file-8xbbjbhd.js} +35 -35
- package/dist/chunks/{repository-1hgfyhjr.js → file-8y3wyrth.js} +13 -13
- package/dist/chunks/{repository-9b1atvvx.js → file-8zvwwgc2.js} +20 -20
- package/dist/chunks/{repository-yn2ye6x1.js → file-91342nd3.js} +25 -25
- package/dist/chunks/{repository-9b6r1n9h.js → file-94s2pdns.js} +43 -43
- package/dist/chunks/{repository-851wtqqf.js → file-956z8k1a.js} +2 -2
- package/dist/chunks/{repository-2z51qmx0.js → file-9eyeqmd2.js} +24 -24
- package/dist/chunks/{repository-2tfmgkzg.js → file-9gr8y5ys.js} +4 -4
- package/dist/chunks/{repository-pwb6zpac.js → file-9xbxnfqb.js} +18 -18
- package/dist/chunks/{repository-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-kj2sv36s.js → file-a6f6mbr6.js} +3 -3
- package/dist/chunks/{repository-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-4gawe8x4.js → file-ac8gkyem.js} +9 -9
- package/dist/chunks/{repository-s9kcfb9z.js → file-ad2z09fz.js} +1 -1
- package/dist/chunks/{repository-7k43vd6t.js → file-ame7p0bf.js} +39 -39
- package/dist/chunks/{repository-4jnysezt.js → file-az4c37nw.js} +20 -20
- package/dist/chunks/{repository-bydnjh3t.js → file-b0dgvpy7.js} +9 -9
- package/dist/chunks/{repository-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-jywznmgw.js → file-b9ahwkd2.js} +9 -9
- package/dist/chunks/{repository-tbmac1c7.js → file-bacyadyn.js} +4 -4
- package/dist/chunks/{repository-sx1n432n.js → file-bct739vz.js} +4 -4
- package/dist/chunks/{repository-2wb81fjp.js → file-bj93k3jd.js} +12 -12
- package/dist/chunks/{repository-nw2nz702.js → file-bjn91642.js} +4 -4
- package/dist/chunks/{repository-3gq312nc.js → file-bpnjy3z7.js} +14 -14
- package/dist/chunks/{repository-p6z56n1j.js → file-by1dj0rw.js} +10 -10
- package/dist/chunks/{repository-t0fxg8b9.js → file-c78bbtc9.js} +5 -5
- package/dist/chunks/{repository-fbw0vhp1.js → file-cb7w9rn9.js} +6 -6
- package/dist/chunks/{repository-e36qgvhn.js → file-cd9my3v1.js} +11 -11
- package/dist/chunks/{repository-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-5xtgfte3.js → file-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-5pdbn9ps.js → file-csk5y31k.js} +17 -17
- package/dist/chunks/{repository-m2542dxt.js → file-d1mbserq.js} +4 -4
- package/dist/chunks/{repository-qpbc7zwf.js → file-d383cjmk.js} +8 -8
- package/dist/chunks/{repository-1tmm29rr.js → file-dgf6d44x.js} +6 -6
- package/dist/chunks/{repository-57b9ws8p.js → file-drwq78ky.js} +5 -5
- package/dist/chunks/{repository-sfkj0ta1.js → file-dtqg9ce1.js} +5 -5
- package/dist/chunks/{repository-1c6rvf29.js → file-dv7aa87v.js} +37 -37
- package/dist/chunks/{repository-ejwr8mgp.js → file-e34x8y7p.js} +12 -12
- package/dist/chunks/{repository-dzrcb86n.js → file-e3fp033c.js} +26 -26
- package/dist/chunks/{repository-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-3jmhxbye.js → file-ehy7cw58.js} +10 -10
- package/dist/chunks/{repository-8gxqpgph.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{repository-erw5rpbs.js → file-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-pyx37xrr.js → file-f6jg9yks.js} +26 -26
- package/dist/chunks/{repository-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{repository-vd3gnyv8.js → file-ff3zbyyz.js} +9 -9
- package/dist/chunks/{repository-tehh278v.js → file-fgrqxmc5.js} +13 -13
- package/dist/chunks/{repository-hrsq9gd1.js → file-fhmyd1cc.js} +9 -9
- package/dist/chunks/{repository-bbtvb4qv.js → file-fjtsztdw.js} +6 -6
- package/dist/chunks/{repository-3tq5qxbk.js → file-fkjmw100.js} +4 -4
- package/dist/chunks/{repository-rkhtkbzg.js → file-fpkmmq0f.js} +15 -15
- package/dist/chunks/{repository-g8atgw3j.js → file-ftdzjz2b.js} +6 -6
- package/dist/chunks/{repository-gbgzsaak.js → file-fvbnea60.js} +37 -37
- package/dist/chunks/{repository-qdakzt9p.js → file-fwcvyjm4.js} +9 -9
- package/dist/chunks/{repository-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-fxmgg4aj.js → file-fxmgg4aj.js} +1 -1
- package/dist/chunks/{repository-k12tcn4w.js → file-fxzbpcn9.js} +9 -9
- package/dist/chunks/{repository-7bz5ees8.js → file-g5fh27jm.js} +27 -27
- package/dist/chunks/{repository-jef2745y.js → file-g6mb1r40.js} +13 -13
- package/dist/chunks/{repository-cwa6csj7.js → file-g6q9qykm.js} +9 -9
- package/dist/chunks/{repository-e248x3jn.js → file-g7jvb7c9.js} +12 -12
- package/dist/chunks/{repository-8sp84cjn.js → file-g7z2c8ev.js} +18 -18
- package/dist/chunks/{repository-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-wdw0r690.js → file-gq8aqzna.js} +8 -8
- package/dist/chunks/{repository-v4hmrze8.js → file-gr0d3prr.js} +10 -10
- package/dist/chunks/{repository-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-z73117hq.js → file-gwyevam5.js} +6 -6
- package/dist/chunks/{repository-n8a799tr.js → file-h0jmq7yk.js} +24 -24
- package/dist/chunks/{repository-6ymf14rh.js → file-h0zs8ypv.js} +10 -10
- package/dist/chunks/{repository-xrpj31b0.js → file-h36v7wj5.js} +5 -5
- package/dist/chunks/{repository-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-xcd0eash.js → file-h896pcm5.js} +6 -6
- package/dist/chunks/{repository-64ec3t10.js → file-h9bw0csn.js} +15 -15
- package/dist/chunks/{repository-dv9a7byg.js → file-hah04hfd.js} +1 -1
- package/dist/chunks/{repository-w6xp1hem.js → file-hhvxj0xs.js} +2 -2
- package/dist/chunks/{repository-0f9afca0.js → file-hkfg6fzm.js} +5 -5
- package/dist/chunks/{repository-ne89hd12.js → file-hmwvdnz2.js} +62 -62
- package/dist/chunks/{repository-cefpf2j3.js → file-hphfs7r7.js} +17 -17
- package/dist/chunks/{repository-wdy8ayv0.js → file-hqfwp6f0.js} +31 -31
- package/dist/chunks/{repository-328cx775.js → file-hxzqr5y1.js} +46 -46
- package/dist/chunks/{repository-aejz0fra.js → file-hywk6jf9.js} +17 -17
- package/dist/chunks/{repository-vqxaxcf1.js → file-hz1es13a.js} +13 -13
- package/dist/chunks/{repository-2wk1s5ej.js → file-j18yem6v.js} +9 -9
- package/dist/chunks/{repository-a04068z3.js → file-j55ehytx.js} +30 -30
- package/dist/chunks/{repository-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-21yy59vd.js → file-j6vme8qb.js} +17 -17
- package/dist/chunks/{repository-74zwf8gc.js → file-ja67c5z9.js} +86 -86
- package/dist/chunks/{repository-m4x4s9k7.js → file-jh2tjjwa.js} +8 -8
- package/dist/chunks/{repository-xkz7c9k1.js → file-k1324ekq.js} +22 -22
- package/dist/chunks/{repository-nzks3jc8.js → file-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-yaamm28n.js → file-k83v2y4t.js} +27 -27
- package/dist/chunks/{repository-11faaktz.js → file-kbhnhzqb.js} +15 -15
- package/dist/chunks/{repository-f0173z6s.js → file-kewrzfp7.js} +4 -4
- package/dist/chunks/{repository-6brvp8jk.js → file-kjesn8ee.js} +8 -8
- package/dist/chunks/{repository-h196rex3.js → file-kynetcxa.js} +28 -28
- package/dist/chunks/{repository-fhqgz6t0.js → file-kz33qt24.js} +28 -28
- package/dist/chunks/{repository-m3fdjcah.js → file-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-2rt9jbq4.js → file-m3pxzh9s.js} +3 -3
- package/dist/chunks/{repository-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-g190xswt.js → file-magykp64.js} +4 -4
- package/dist/chunks/{repository-ryr25ayn.js → file-mtq6xxnx.js} +7 -7
- package/dist/chunks/{repository-3pvrcrbr.js → file-mw9xfcqs.js} +13 -13
- package/dist/chunks/{repository-at1kfnmk.js → file-n0tq777j.js} +8 -8
- package/dist/chunks/{repository-21418s17.js → file-n1jh56hb.js} +22 -22
- package/dist/chunks/{repository-1ax7tqy2.js → file-n31hfr13.js} +12 -12
- package/dist/chunks/{repository-z9jh4hq6.js → file-n5fr74k4.js} +10 -10
- package/dist/chunks/{repository-dkepx75h.js → file-n86jpvhn.js} +11 -11
- package/dist/chunks/{repository-ppqt0576.js → file-nb532tg8.js} +11 -11
- package/dist/chunks/{repository-xx5d256e.js → file-nbpc3svs.js} +10 -10
- package/dist/chunks/{repository-n6wrsq7f.js → file-nk46f8av.js} +6 -6
- package/dist/chunks/{repository-3f29nsc9.js → file-nqjmnyjs.js} +11 -11
- package/dist/chunks/{repository-qss189bp.js → file-nqsne9m4.js} +10 -10
- package/dist/chunks/file-nvdf328w.js +26 -0
- package/dist/chunks/{repository-nzyhnfxz.js → file-nzyhnfxz.js} +1 -1
- package/dist/chunks/{repository-w4arg62q.js → file-p0b4ytnr.js} +6 -6
- package/dist/chunks/{repository-8dbdhz5n.js → file-p0rshxbh.js} +15 -15
- package/dist/chunks/{repository-5v1trjgx.js → file-p244d6rq.js} +16 -16
- package/dist/chunks/{repository-p28j5sbe.js → file-p28j5sbe.js} +2 -2
- package/dist/chunks/{repository-nms28mnr.js → file-p8pa7sfy.js} +11 -11
- package/dist/chunks/{repository-c9thm2jp.js → file-pht2kxnm.js} +26 -22
- package/dist/chunks/{repository-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{repository-zbx1chvt.js → file-px5sh37w.js} +11 -11
- package/dist/chunks/{repository-tmrdwbct.js → file-q4629ca0.js} +13 -13
- package/dist/chunks/{repository-fhs97t90.js → file-qg0jgkcp.js} +9 -9
- package/dist/chunks/{repository-1fg9yqa8.js → file-qjbq15hs.js} +4 -4
- package/dist/chunks/{repository-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-k73yd5yd.js → file-r3pg8356.js} +3 -3
- package/dist/chunks/{repository-m8akdy0v.js → file-r7nh0yvy.js} +24 -24
- package/dist/chunks/{repository-5w45afp5.js → file-r8cnjpdy.js} +3 -3
- package/dist/chunks/{repository-rdw6cm16.js → file-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-3sz2bchy.js → file-rmkrm11x.js} +15 -15
- package/dist/chunks/{repository-5zhg5203.js → file-rtbbky2x.js} +7 -7
- package/dist/chunks/{repository-99e2g3zc.js → file-rtqwcmtr.js} +35 -35
- package/dist/chunks/{repository-38d1cmqw.js → file-s56qzf8n.js} +23 -23
- package/dist/chunks/{repository-s5erq2b1.js → file-s5e6zdc6.js} +15 -15
- package/dist/chunks/{repository-mt8rgcqf.js → file-s6j88jt8.js} +3 -3
- package/dist/chunks/{repository-pjy5167v.js → file-sez37x1t.js} +26 -26
- package/dist/chunks/{repository-qdvbds2a.js → file-sp8y8b7b.js} +20 -20
- package/dist/chunks/{repository-6gcwrvb4.js → file-t44gpkd9.js} +9 -9
- package/dist/chunks/{repository-snkcc4fb.js → file-t7ffcjc5.js} +4 -4
- package/dist/chunks/{repository-1z7773kr.js → file-t8t6b7x0.js} +10 -10
- package/dist/chunks/{repository-tqd2p7vb.js → file-t9s0mbhm.js} +15 -15
- package/dist/chunks/{repository-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{repository-y4e3v118.js → file-tkd8wqpt.js} +18 -18
- package/dist/chunks/{repository-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-j7j31x51.js → file-tz2j9nz1.js} +6 -6
- package/dist/chunks/{repository-hmc4zdtv.js → file-tz47dz5v.js} +2 -2
- package/dist/chunks/{repository-xwfaabrj.js → file-v23xd7nj.js} +6 -6
- package/dist/chunks/{repository-zd485wpt.js → file-v53gfhad.js} +7 -7
- package/dist/chunks/{repository-spdwqtpn.js → file-v5brccvm.js} +9 -9
- package/dist/chunks/{repository-krbqxjpe.js → file-v9qkps81.js} +8 -8
- package/dist/chunks/{repository-aj9sfs2c.js → file-vcewcf3p.js} +7 -7
- package/dist/chunks/{repository-xetzeabr.js → file-vcnb347p.js} +21 -21
- package/dist/chunks/{repository-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-7ns1f3fm.js → file-vtede9h4.js} +5 -5
- package/dist/chunks/{repository-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-29eh7px0.js → file-w418y777.js} +15 -15
- package/dist/chunks/{repository-ccs15j7g.js → file-w676f2yv.js} +22 -22
- package/dist/chunks/{repository-0294hark.js → file-w6dmyrhq.js} +88 -88
- package/dist/chunks/{repository-tgyp3sag.js → file-w7bw98z6.js} +30 -30
- package/dist/chunks/{repository-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{repository-xv28g7bs.js → file-wf1szsxf.js} +4 -4
- package/dist/chunks/{repository-ce65tj11.js → file-wj40hwr9.js} +43 -43
- package/dist/chunks/{repository-rz6nd0at.js → file-wkmpenx3.js} +20 -20
- package/dist/chunks/{repository-kypwaetd.js → file-ws1k4zdc.js} +14 -14
- package/dist/chunks/{repository-aqcfb23j.js → file-wvp89zrt.js} +9 -9
- package/dist/chunks/{repository-etckb5nd.js → file-wxsy39h8.js} +24 -24
- package/dist/chunks/{repository-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-pnstgbf5.js → file-x2dr3d7k.js} +16 -16
- package/dist/chunks/{repository-96r3cgq7.js → file-x3rxtwc7.js} +9 -9
- package/dist/chunks/{repository-vm6v9059.js → file-xfzgb354.js} +11 -11
- package/dist/chunks/{repository-xg9t41r3.js → file-xg9t41r3.js} +2 -2
- package/dist/chunks/{repository-7a8n5hjw.js → file-xgt31tjm.js} +8 -8
- package/dist/chunks/{repository-zqkcer71.js → file-xshcj497.js} +27 -27
- package/dist/chunks/{repository-j7d6k5qg.js → file-xsqcdhn5.js} +3 -3
- package/dist/chunks/{repository-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dpkg50ah.js → file-y71avatq.js} +4 -4
- package/dist/chunks/{repository-1vr0zdnx.js → file-y8n92kwn.js} +6 -6
- package/dist/chunks/{repository-k7smy2rd.js → file-ya5dy726.js} +6 -6
- package/dist/chunks/{repository-89avhe1g.js → file-ydt9pqf5.js} +11 -11
- package/dist/chunks/{repository-tf0sfjy1.js → file-yebv8twa.js} +13 -13
- package/dist/chunks/{repository-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-fn8r46yt.js → file-yqcj9em5.js} +23 -23
- package/dist/chunks/{repository-sfq66c4x.js → file-yr29whj8.js} +27 -27
- package/dist/chunks/{repository-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-e48wdnmq.js → file-yt24apy5.js} +15 -15
- package/dist/chunks/{repository-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-3pkejnne.js → file-z2yza9q7.js} +26 -26
- package/dist/chunks/{repository-jp1thbes.js → file-z3nk8zw6.js} +36 -36
- package/dist/chunks/{repository-c2d5mwvj.js → file-z3v71fe4.js} +47 -47
- package/dist/chunks/{repository-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-qmyzm461.js → file-zen0tk5x.js} +12 -12
- package/dist/chunks/{repository-kjczd05a.js → file-zg8bah5t.js} +19 -19
- package/dist/chunks/{repository-s9a2knzy.js → file-zhvjewb1.js} +8 -8
- package/dist/chunks/{repository-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-1z0t5xwh.js → file-zyfew8ns.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +74 -74
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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/id/id.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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +90 -90
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +221 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +84 -84
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/repository-by5v678g.js +0 -18
- package/dist/chunks/repository-e83h8wp6.js +0 -252
- package/dist/chunks/repository-p7df8h7a.js +0 -26
- /package/dist/chunks/{repository-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → file-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-j7wq2tw5.js → file-j7wq2tw5.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → file-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → file-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./file-ame7p0bf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./file-g7jvb7c9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service58;
|
|
27
|
+
const output = yield* Service64;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin19 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin18, exports_tool_output };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./file-p0rshxbh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service42
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-wkmpenx3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./file-h0jmq7yk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./file-g7jvb7c9.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-y8n92kwn.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-d1mbserq.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-m3pxzh9s.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
57
|
const snapshots = yield* Service42;
|
|
58
|
-
const toolOutput = yield*
|
|
58
|
+
const toolOutput = yield* Service64;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-y8n92kwn.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-6r536pd1.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-3qzhexf6.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-hz1es13a.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin36 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin40 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin36, exports_exa };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-42mthp08.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID4.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./file-e34x8y7p.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service83,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-bpnjy3z7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service82,
|
|
17
17
|
node85
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-p0rshxbh.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-3my6v4az.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-fpkmmq0f.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service53,
|
|
34
|
+
node55
|
|
35
|
+
} from "./file-v5brccvm.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make15
|
|
42
|
+
} from "./file-xgt31tjm.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service33
|
|
45
|
+
} from "./file-sp8y8b7b.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -54,18 +54,18 @@ __export(exports_worktree2, {
|
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
56
|
Event: () => Event6,
|
|
57
|
-
Info: () =>
|
|
57
|
+
Info: () => Info6,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service32,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node35
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info6 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -96,16 +96,16 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
96
96
|
}
|
|
97
97
|
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service32 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service53;
|
|
108
|
+
const gitStrategy = yield* make15;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service33).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service32.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node35 = Node.makeGlobalNode({
|
|
265
|
+
service: Service32,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node55]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service32, node35, exports_worktree2, OperationError2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node84 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node84, exports_git3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service82,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-p0rshxbh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service28,
|
|
7
|
+
node31
|
|
8
|
+
} from "./file-hxzqr5y1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service72,
|
|
11
11
|
node75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-6r536pd1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service38,
|
|
15
|
+
node41
|
|
16
|
+
} from "./file-h0jmq7yk.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
layer: () => layer12,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service24 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service28;
|
|
42
|
+
const tools = yield* Service38;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service72;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node28 = makeLocationNode({
|
|
124
|
+
service: Service24,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node41, node31, node85, node75]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service24, layer12, node28, exports_mcp3 };
|