@opencode/core 0.0.0-dev-20869 → 0.0.0-dev-20871
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{app-80n2q3k2.js → vcs-027pbxtr.js} +11 -11
- package/dist/chunks/{app-sh464p2a.js → vcs-0846j24m.js} +11 -11
- package/dist/chunks/{app-m6y0zvmj.js → vcs-0be9ae0k.js} +49 -49
- package/dist/chunks/{app-jwv7ab79.js → vcs-0bmnjpfs.js} +6 -6
- package/dist/chunks/{app-tch7tvez.js → vcs-0cyvwnra.js} +33 -33
- package/dist/chunks/{app-68ewgcbh.js → vcs-0k2gez87.js} +14 -14
- package/dist/chunks/{app-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-xgwyrrdn.js → vcs-0xcsww42.js} +43 -43
- package/dist/chunks/{app-yy1n54gt.js → vcs-10bqs83d.js} +40 -40
- package/dist/chunks/{app-8ank75fn.js → vcs-166kng33.js} +8 -8
- package/dist/chunks/{app-63wnj9j6.js → vcs-16tmjrr7.js} +24 -24
- package/dist/chunks/{app-39hpvgmm.js → vcs-17tyfhk4.js} +3 -3
- package/dist/chunks/{app-ywt8jp22.js → vcs-1ffvrpkg.js} +6 -6
- package/dist/chunks/{app-63rtzcv5.js → vcs-1my53vbz.js} +11 -11
- package/dist/chunks/{app-8ryk0bb9.js → vcs-1nwxscpy.js} +5 -5
- package/dist/chunks/{app-aydw6pj6.js → vcs-1taggxgy.js} +20 -20
- package/dist/chunks/{app-ccbzs5ke.js → vcs-25j7r69p.js} +11 -11
- package/dist/chunks/{app-6st13dsz.js → vcs-25mbgvqh.js} +43 -43
- package/dist/chunks/{app-wd4kg7y4.js → vcs-2dp4snf0.js} +18 -18
- package/dist/chunks/{app-pgp3z5ww.js → vcs-2e69fd2h.js} +5 -5
- package/dist/chunks/{app-c6w70q5q.js → vcs-2e9b3ynm.js} +9 -9
- package/dist/chunks/{app-dkam6wfd.js → vcs-2ea3t0jj.js} +25 -25
- package/dist/chunks/{app-p5habw4k.js → vcs-2p5zs7nk.js} +11 -11
- package/dist/chunks/{app-967benbv.js → vcs-2r1j4600.js} +11 -11
- package/dist/chunks/{app-yp6wf8a8.js → vcs-2tn753d6.js} +41 -41
- package/dist/chunks/{app-2vvh33eb.js → vcs-2vvh33eb.js} +2 -2
- package/dist/chunks/{app-q6etbxd8.js → vcs-2ynabkvb.js} +32 -32
- package/dist/chunks/{app-ggh5vxa4.js → vcs-2z25gc85.js} +22 -22
- package/dist/chunks/{app-nse7bvmp.js → vcs-312bjry1.js} +4 -4
- package/dist/chunks/{app-h7s7r6s9.js → vcs-31xfzrxg.js} +5 -5
- package/dist/chunks/{app-4j7c152f.js → vcs-368r6vx6.js} +3 -3
- package/dist/chunks/{app-ehpc8g6x.js → vcs-39hv3347.js} +16 -16
- package/dist/chunks/{app-1n3m9rgy.js → vcs-3c0f89xm.js} +35 -35
- package/dist/chunks/{app-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-f32z929x.js → vcs-3hq7pe8n.js} +50 -50
- package/dist/chunks/{app-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{app-rqa1jxse.js → vcs-3nz0bd4c.js} +2 -2
- package/dist/chunks/{app-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-3rzxewf5.js → vcs-3xww3h3h.js} +14 -14
- package/dist/chunks/{app-6hn9w2zf.js → vcs-3yjz6fr8.js} +15 -15
- package/dist/chunks/{app-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-654srqjb.js → vcs-497pgnjq.js} +30 -30
- package/dist/chunks/{app-3nsqmd1a.js → vcs-4dn37e14.js} +60 -60
- package/dist/chunks/{app-w3k8bph0.js → vcs-4hs5nmtq.js} +19 -19
- package/dist/chunks/{app-645432n5.js → vcs-4jd83hme.js} +52 -52
- package/dist/chunks/{app-bn0cwgt9.js → vcs-4jgprc7m.js} +4 -4
- package/dist/chunks/{app-9w4afe7t.js → vcs-4kersrq5.js} +14 -14
- package/dist/chunks/{app-48kw51zw.js → vcs-4pa8nav4.js} +2 -2
- package/dist/chunks/{app-8ffn8j2f.js → vcs-4r1q1eat.js} +65 -65
- package/dist/chunks/{app-dttpjcwk.js → vcs-4syghzxd.js} +11 -11
- package/dist/chunks/{app-2ccvkpx1.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{app-f7qp41vh.js → vcs-4v3q8nh8.js} +30 -30
- package/dist/chunks/{app-g686f6pq.js → vcs-4xdpab2z.js} +9 -9
- package/dist/chunks/{app-57myy5jh.js → vcs-4xpgt2w9.js} +5 -5
- package/dist/chunks/{app-aakd6xvv.js → vcs-5dnm1jtf.js} +25 -25
- package/dist/chunks/{app-126ak2wx.js → vcs-5kz1eb2j.js} +27 -27
- package/dist/chunks/{app-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{app-qekfhsw8.js → vcs-5r04pg3k.js} +330 -330
- package/dist/chunks/{app-0cwwqbbc.js → vcs-5x2cfpbf.js} +13 -13
- package/dist/chunks/{app-zsve94pq.js → vcs-5ytf2jfy.js} +24 -24
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{app-kxm6gfc0.js → vcs-64c77ye3.js} +11 -11
- package/dist/chunks/{app-5pb7hz8n.js → vcs-65sxefze.js} +20 -20
- package/dist/chunks/{app-1csqsn22.js → vcs-6thf5f3z.js} +19 -19
- package/dist/chunks/{app-agxmfjyz.js → vcs-6tvzbcgz.js} +12 -12
- package/dist/chunks/{app-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{app-we8yz6k6.js → vcs-6ygjhr04.js} +13 -13
- package/dist/chunks/{app-3v6e4e7t.js → vcs-6z5a4wk8.js} +20 -20
- package/dist/chunks/{app-kf81pv8e.js → vcs-71zvy8dy.js} +21 -21
- package/dist/chunks/{app-wh06bkxb.js → vcs-782se3sb.js} +190 -190
- package/dist/chunks/{app-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-dbt2w9wc.js → vcs-7d74ybtc.js} +32 -32
- package/dist/chunks/{app-9k4a3bw7.js → vcs-7q6ad26h.js} +2 -2
- package/dist/chunks/{app-4sc2w5gh.js → vcs-866m1jdt.js} +6 -6
- package/dist/chunks/{app-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{app-x9h7wam8.js → vcs-8sfa5c6m.js} +36 -36
- package/dist/chunks/{app-91qna3x0.js → vcs-91qna3x0.js} +3 -3
- package/dist/chunks/{app-cmywtj0r.js → vcs-92wkekne.js} +25 -25
- package/dist/chunks/{app-xbteeacz.js → vcs-a1cxz87x.js} +16 -16
- package/dist/chunks/{app-d0n9y4ak.js → vcs-a3thhpmw.js} +13 -13
- package/dist/chunks/{app-bvbe45be.js → vcs-a628g5fs.js} +23 -23
- package/dist/chunks/{app-5jasy4zy.js → vcs-a8cswz11.js} +11 -11
- package/dist/chunks/{app-4hbe72yg.js → vcs-a8mkqgf2.js} +24 -24
- package/dist/chunks/{app-jk5m7wtj.js → vcs-aeg5rtj6.js} +4 -4
- package/dist/chunks/{app-2cg1s41s.js → vcs-agfqwhr2.js} +51 -51
- package/dist/chunks/{app-wh6pa4pr.js → vcs-akvc9nd2.js} +10 -10
- package/dist/chunks/{app-ex5k5847.js → vcs-avskyz6d.js} +21 -21
- package/dist/chunks/{app-pe1d7mzy.js → vcs-aw6heq8a.js} +26 -26
- package/dist/chunks/{app-40pp8vcy.js → vcs-awc9wf28.js} +47 -47
- package/dist/chunks/{app-jp84zbjv.js → vcs-b2qkenvk.js} +6 -6
- package/dist/chunks/{app-zyk1yjk8.js → vcs-b3f8fkhc.js} +5 -5
- package/dist/chunks/{app-aen32wra.js → vcs-b647d22a.js} +12 -12
- package/dist/chunks/{app-jnq4k1mk.js → vcs-bm84a6ma.js} +10 -10
- package/dist/chunks/{app-s5nxcym9.js → vcs-bmbsb43g.js} +4 -4
- package/dist/chunks/{app-y62vgzb6.js → vcs-bxg5dfge.js} +22 -22
- package/dist/chunks/{app-rj3eygr5.js → vcs-c41wscbt.js} +2 -2
- package/dist/chunks/{app-sa8ekw3f.js → vcs-c8ax2afj.js} +2 -2
- package/dist/chunks/{app-t7tdbr53.js → vcs-cam0371k.js} +32 -32
- package/dist/chunks/{app-zed1drc7.js → vcs-ce5jyjev.js} +10 -10
- package/dist/chunks/{app-2sejkfem.js → vcs-cpneeje0.js} +9 -9
- package/dist/chunks/{app-43w88rtf.js → vcs-ctt5zw2n.js} +26 -26
- package/dist/chunks/{app-b7158qe7.js → vcs-cwv6zy4y.js} +85 -85
- package/dist/chunks/{app-7gkhcjt3.js → vcs-d3z73vbv.js} +5 -5
- package/dist/chunks/{app-c1wxnnkw.js → vcs-dn1bgb5b.js} +15 -15
- package/dist/chunks/{app-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{app-xfkkasph.js → vcs-drwq78ky.js} +4 -4
- package/dist/chunks/{app-e85fmvyr.js → vcs-dsn3a26r.js} +1 -1
- package/dist/chunks/{app-4r2daqkg.js → vcs-dyfpa17v.js} +20 -20
- package/dist/chunks/{app-h0vknvkg.js → vcs-e21ryx48.js} +8 -8
- package/dist/chunks/{app-rhjbct0v.js → vcs-eaj1djv9.js} +8 -8
- package/dist/chunks/{app-8h6tmd6x.js → vcs-ecge003d.js} +35 -35
- package/dist/chunks/{app-92y9xj1k.js → vcs-edmpqn45.js} +8 -8
- package/dist/chunks/{app-7s2tn799.js → vcs-eeaf82dq.js} +8 -8
- package/dist/chunks/{app-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{app-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-c2sezbny.js → vcs-efhq09kz.js} +31 -31
- package/dist/chunks/{app-vngf8d3m.js → vcs-eqasdz4j.js} +18 -18
- package/dist/chunks/{app-c1fqxshp.js → vcs-es1vcfrp.js} +3 -3
- package/dist/chunks/{app-jq0h21b4.js → vcs-es211df5.js} +23 -23
- package/dist/chunks/{app-pj70c9t1.js → vcs-ez2bcpbz.js} +35 -35
- package/dist/chunks/{app-4z58m4b4.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{app-55m7546p.js → vcs-f768v67h.js} +49 -49
- package/dist/chunks/{app-fxy8vhnv.js → vcs-fc0t6a5f.js} +17 -17
- package/dist/chunks/{app-7dqw4kz8.js → vcs-fcrkznn8.js} +5 -5
- package/dist/chunks/{app-byvmm8xf.js → vcs-fdj20w9a.js} +24 -24
- package/dist/chunks/{app-kxscsbxh.js → vcs-fpp2shsw.js} +6 -6
- package/dist/chunks/{app-266brs4d.js → vcs-fr6g643d.js} +4 -4
- package/dist/chunks/{app-fk66q6s2.js → vcs-fw9wgxqa.js} +34 -34
- package/dist/chunks/{app-khmqacep.js → vcs-fxaymqdw.js} +4 -4
- package/dist/chunks/{app-y5xf72q8.js → vcs-fyaym6e6.js} +4 -4
- package/dist/chunks/{app-cmwkp3r5.js → vcs-g0445xdp.js} +4 -4
- package/dist/chunks/{app-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-cw1b37ck.js → vcs-ge2qvn92.js} +6 -6
- package/dist/chunks/{app-49e6sacj.js → vcs-gh6yskk8.js} +17 -17
- package/dist/chunks/{app-k0w1apbg.js → vcs-gm31ynds.js} +5 -5
- package/dist/chunks/{app-2qtbaqat.js → vcs-gqads2ya.js} +9 -9
- package/dist/chunks/{app-8ket6zmy.js → vcs-gvxrta76.js} +28 -28
- package/dist/chunks/{app-42x0fzkc.js → vcs-gxebhbq7.js} +4 -4
- package/dist/chunks/{app-63ctvwnc.js → vcs-h1fz3f88.js} +9 -9
- package/dist/chunks/{app-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/vcs-harb8jx2.js +26 -0
- package/dist/chunks/{app-sxzvkvgj.js → vcs-hdab2k61.js} +6 -6
- package/dist/chunks/{app-hcy8yy3p.js → vcs-hdm35yc0.js} +13 -13
- package/dist/chunks/{app-wavet3za.js → vcs-henbqntn.js} +37 -37
- package/dist/chunks/{app-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/{app-5pg768wk.js → vcs-hz3mdpwn.js} +28 -28
- package/dist/chunks/{app-s1yb0y3m.js → vcs-j209qe7h.js} +30 -30
- package/dist/chunks/{app-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{app-19yveewj.js → vcs-j6p31266.js} +11 -11
- package/dist/chunks/{app-wb904358.js → vcs-j8xej44d.js} +17 -17
- package/dist/chunks/{app-62ryt339.js → vcs-jbsbkydh.js} +32 -32
- package/dist/chunks/{app-jsfacqh7.js → vcs-jfkgqr1h.js} +18 -18
- package/dist/chunks/{app-11zcdp55.js → vcs-jh1606gc.js} +38 -38
- package/dist/chunks/{app-g1y8dykg.js → vcs-jty2b48d.js} +9 -9
- package/dist/chunks/{app-n8gzxa90.js → vcs-k08pfc51.js} +16 -16
- package/dist/chunks/{app-mxvxcxwy.js → vcs-k22b66k8.js} +4 -4
- package/dist/chunks/{app-a4mvceq8.js → vcs-k638bx1v.js} +45 -45
- package/dist/chunks/{app-vtt0yr3x.js → vcs-kad49353.js} +16 -16
- package/dist/chunks/{app-7y0epqa2.js → vcs-kfk5k4be.js} +13 -13
- package/dist/chunks/{app-ew9hd8vc.js → vcs-knmerc28.js} +10 -10
- package/dist/chunks/{app-ycwc8r1q.js → vcs-kz2ak9g2.js} +25 -25
- package/dist/chunks/{app-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-k3ryqzxm.js → vcs-maqbn5g5.js} +15 -15
- package/dist/chunks/{app-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{app-nmbenmzd.js → vcs-mf9ta1xn.js} +8 -8
- package/dist/chunks/{app-fw93gc87.js → vcs-mp53wpqx.js} +22 -22
- package/dist/chunks/{app-k6d78qqe.js → vcs-mq1zhn59.js} +12 -12
- package/dist/chunks/{app-6kgcptny.js → vcs-n9vc7x7y.js} +18 -18
- package/dist/chunks/{app-scw5nn1f.js → vcs-ng6agez8.js} +11 -11
- package/dist/chunks/{app-5rzwp8tz.js → vcs-nma959mg.js} +3 -3
- package/dist/chunks/{app-2n22hbhk.js → vcs-nsj070s2.js} +27 -27
- package/dist/chunks/{app-ptcv67a8.js → vcs-nx5rhv7m.js} +24 -24
- package/dist/chunks/{app-ca8ch1kx.js → vcs-p586dcm5.js} +28 -28
- package/dist/chunks/{app-7x0vz439.js → vcs-p77ajynp.js} +24 -24
- package/dist/chunks/{app-jbgsxe89.js → vcs-p8bkgt52.js} +13 -13
- package/dist/chunks/{app-0h1t9hhx.js → vcs-pcwsepp3.js} +35 -35
- package/dist/chunks/{app-y6pqxfrx.js → vcs-pghcygtd.js} +5 -5
- package/dist/chunks/{app-5y92amgg.js → vcs-pgqm3tqp.js} +9 -9
- package/dist/chunks/{app-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{app-m9df4mwj.js → vcs-pnnjh0kq.js} +1 -1
- package/dist/chunks/{app-7g1f461v.js → vcs-prksa11n.js} +20 -20
- package/dist/chunks/{app-d3y6n0b6.js → vcs-pyg4v0b6.js} +4 -4
- package/dist/chunks/{app-0j77ygfz.js → vcs-q0xm7vwc.js} +6 -6
- package/dist/chunks/{app-gd0tnyjc.js → vcs-q5e7cmwt.js} +1 -1
- package/dist/chunks/{app-5063kx6z.js → vcs-qa6sv8f2.js} +19 -19
- package/dist/chunks/{app-gn06jdvv.js → vcs-qa7z0hws.js} +35 -35
- package/dist/chunks/{app-vg5cwhw4.js → vcs-qccr93cs.js} +13 -13
- package/dist/chunks/{app-6mtgj6n4.js → vcs-qgsaj67g.js} +42 -42
- package/dist/chunks/{app-rwqjqqt5.js → vcs-qj1kn97d.js} +5 -5
- package/dist/chunks/{app-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-40w0xx72.js → vcs-qqtwe9jw.js} +8 -8
- package/dist/chunks/{app-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{app-8tbbejhz.js → vcs-qwryyce5.js} +72 -72
- package/dist/chunks/{app-k2ce0czk.js → vcs-r7s26dny.js} +13 -13
- package/dist/chunks/{app-v3f8fc8n.js → vcs-r8xabzzd.js} +18 -18
- package/dist/chunks/{app-54ma36ye.js → vcs-r94pvvab.js} +4 -4
- package/dist/chunks/{app-drksenfd.js → vcs-rcq240yq.js} +34 -34
- package/dist/chunks/{app-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-8sze2n9a.js → vcs-rkprpv83.js} +6 -6
- package/dist/chunks/{app-fry405sg.js → vcs-rmrf6f1s.js} +11 -11
- package/dist/chunks/{app-z0bx6qnm.js → vcs-rp6acqjd.js} +23 -23
- package/dist/chunks/{app-qvy8pk9k.js → vcs-rrvsk7kb.js} +8 -8
- package/dist/chunks/{app-b27vhd2z.js → vcs-ryr25ayn.js} +4 -4
- package/dist/chunks/{app-k91gc0jy.js → vcs-s0fdspgh.js} +27 -27
- package/dist/chunks/{app-tvx3ze46.js → vcs-s15m782p.js} +7 -7
- package/dist/chunks/{app-8tsdq50x.js → vcs-s26hbv8p.js} +4 -4
- package/dist/chunks/{app-5gx2dqw2.js → vcs-s3qakcq2.js} +25 -25
- package/dist/chunks/{app-bfwe4mek.js → vcs-s4eaajd5.js} +9 -9
- package/dist/chunks/{app-awxny801.js → vcs-shrk45xr.js} +35 -35
- package/dist/chunks/{app-mk5csem8.js → vcs-sjkqkpav.js} +11 -11
- package/dist/chunks/{app-813reag3.js → vcs-sq7c9q36.js} +19 -19
- package/dist/chunks/{app-fmcqyzhx.js → vcs-sqmzwr9m.js} +9 -9
- package/dist/chunks/{app-jjns9wqe.js → vcs-sw98rjn3.js} +97 -97
- package/dist/chunks/{app-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{app-vnmmwy3f.js → vcs-t7c85dgn.js} +31 -31
- package/dist/chunks/{app-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-89znhe33.js → vcs-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{app-mcgqzvd9.js → vcs-tenqbnmp.js} +20 -20
- package/dist/chunks/{app-8fe5btdt.js → vcs-tfw4wa1p.js} +9 -9
- package/dist/chunks/{app-v0es1rhs.js → vcs-tg7bkhef.js} +7 -7
- package/dist/chunks/{app-rert0e01.js → vcs-tkb22qbm.js} +2 -2
- package/dist/chunks/{app-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{app-x3ge2z6w.js → vcs-tr54p1dw.js} +5 -5
- package/dist/chunks/{app-tce9zrn2.js → vcs-tswf4nyy.js} +30 -30
- package/dist/chunks/{app-5mybcs4y.js → vcs-tvxpzwpn.js} +6 -6
- package/dist/chunks/{app-t89z56g6.js → vcs-twa74zd6.js} +24 -24
- package/dist/chunks/{app-kqv3x6rj.js → vcs-txm3e8qz.js} +9 -9
- package/dist/chunks/{app-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{app-6b3pt9n1.js → vcs-v3x4kj38.js} +25 -25
- package/dist/chunks/{app-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{app-mwwt3j53.js → vcs-vac5g51f.js} +14 -14
- package/dist/chunks/{app-xr7qpqw1.js → vcs-vej3xsr7.js} +3 -3
- package/dist/chunks/{app-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{app-j8m1p4p1.js → vcs-vfjhn2wd.js} +4 -4
- package/dist/chunks/{app-z51gv6m0.js → vcs-vg6da4m0.js} +7 -7
- package/dist/chunks/{app-jvradgpg.js → vcs-vpsr7n6v.js} +18 -18
- package/dist/chunks/{app-n14sntt5.js → vcs-vrw3gsr4.js} +24 -24
- package/dist/chunks/{app-7zmnq52c.js → vcs-vywzeekt.js} +18 -18
- package/dist/chunks/{app-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-84txncab.js → vcs-w1eejvng.js} +5 -5
- package/dist/chunks/{app-n4k3ngcx.js → vcs-w2tmhhwy.js} +15 -15
- package/dist/chunks/{app-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-rdzyy7xj.js → vcs-w9dpv18m.js} +33 -33
- package/dist/chunks/{app-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{app-wzwc2bjk.js → vcs-wedh7s5e.js} +14 -14
- package/dist/chunks/{app-05e2b5zz.js → vcs-wjrz22kk.js} +3 -3
- package/dist/chunks/{app-wnqd2x0z.js → vcs-wtfnvg2q.js} +22 -22
- package/dist/chunks/{app-22bc55e1.js → vcs-wvh0hgrq.js} +11 -11
- package/dist/chunks/{app-kr262pew.js → vcs-wyxbt0gx.js} +20 -20
- package/dist/chunks/{app-3znbxrpv.js → vcs-x25y7vnj.js} +8 -8
- package/dist/chunks/{app-tmgwhk11.js → vcs-xgczhdrs.js} +5 -5
- package/dist/chunks/{app-kva3jtqv.js → vcs-xtzay8t5.js} +4 -4
- package/dist/chunks/{app-map07x52.js → vcs-y1by9cg9.js} +5 -5
- package/dist/chunks/{app-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-4a82xx0b.js → vcs-y7g091qg.js} +11 -11
- package/dist/chunks/{app-9s8t2v1x.js → vcs-ybzp76zr.js} +28 -28
- package/dist/chunks/{app-pvnbzk4g.js → vcs-yc1h17zv.js} +11 -11
- package/dist/chunks/{app-dx0ahrbs.js → vcs-yegmnrcf.js} +11 -11
- package/dist/chunks/{app-z6c3x22d.js → vcs-ygdna4kr.js} +5 -5
- package/dist/chunks/{app-xz435p25.js → vcs-yk6ehcpt.js} +153 -153
- package/dist/chunks/{app-1acjjqhc.js → vcs-yp2x3t23.js} +4 -4
- package/dist/chunks/{app-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-ydgy0jv4.js → vcs-z2qvtray.js} +6 -6
- package/dist/chunks/{app-xrz9xsm0.js → vcs-z4p0v79k.js} +5 -5
- package/dist/chunks/{app-82rhge12.js → vcs-z4ztj7g0.js} +9 -9
- package/dist/chunks/{app-pp7vqexr.js → vcs-z7xgjgz1.js} +11 -11
- package/dist/chunks/{app-06x8he3q.js → vcs-zav06jzw.js} +4 -4
- package/dist/chunks/{app-0274hr8t.js → vcs-zds3bn5a.js} +29 -29
- package/dist/chunks/{app-0psha3gp.js → vcs-zjq775dv.js} +16 -16
- package/dist/chunks/{app-r6cdn25y.js → vcs-znjvq2a2.js} +38 -38
- package/dist/chunks/{app-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-fgy1h6a8.js → vcs-zxspgnte.js} +15 -15
- 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 +83 -83
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- 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 +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- 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 +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- 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 +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/app-ah9hg7x6.js +0 -26
- package/dist/chunks/app-dxj72tfx.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{app-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-a1cxz87x.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-3c0f89xm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./vcs-k08pfc51.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info20,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service70,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node74
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service70 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service78;
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service70.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node74 = makeLocationNode({
|
|
191
|
+
service: Service70,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node82, node87]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info20, Mode2, DiffError2, InitializeError2, Service70, node74, exports_vcs };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-a1cxz87x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./vcs-qccr93cs.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service41,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service41 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service82;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service41.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node44 = makeLocationNode({
|
|
188
|
+
service: Service41,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node86]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service41, node44, exports_websearch3, Event7 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./vcs-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service59,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node62,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event10 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service59 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service59.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service59.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service59).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service59, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service59, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node62 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options9, Service59, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node62, exports_watcher };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./vcs-0be9ae0k.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service22,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-akvc9nd2.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin49
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin49 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service58;
|
|
34
|
+
const managed = yield* Service22;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin17 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin49, exports_policy };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./app-dttpjcwk.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./vcs-4syghzxd.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./vcs-a1cxz87x.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID10,
|
|
26
|
+
Info: () => Info18,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service68,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node72
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
|
-
var
|
|
40
|
+
var Key3 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event15 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info18 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID10,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
56
|
-
const db = (yield*
|
|
57
|
-
const bus = yield*
|
|
55
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
56
|
+
const db = (yield* Service84).db;
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info18({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service68.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info18({
|
|
82
|
+
id: input.id ?? ID10.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88, node87] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID10, OAuth3, Key3, External2, Value2, Event15, Info18, Service68, node72, exports_credential };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-pnnjh0kq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-866m1jdt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./vcs-hdab2k61.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./vcs-agfqwhr2.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|