@opencode/core 0.0.0-dev-21011 → 0.0.0-dev-21013
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-spj3rs7w.js → formatter-015f3c81.js} +14 -14
- package/dist/chunks/{form-eaj1djv9.js → formatter-02nrjc1r.js} +4 -4
- package/dist/chunks/{form-gzw0vxys.js → formatter-04frbxpp.js} +73 -73
- package/dist/chunks/{form-cr28v8hb.js → formatter-08035mxz.js} +9 -9
- package/dist/chunks/{form-wf3aqgd2.js → formatter-0d2vgyq6.js} +20 -20
- package/dist/chunks/{form-eq8t53aj.js → formatter-0h27695m.js} +14 -14
- package/dist/chunks/{form-9rxh9vc4.js → formatter-0nfx68vs.js} +8 -8
- package/dist/chunks/{form-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-3hy6f8c4.js → formatter-0x81qgcv.js} +26 -26
- package/dist/chunks/{form-25cgwp6q.js → formatter-19nx87eh.js} +16 -16
- package/dist/chunks/{form-e02eq8f5.js → formatter-1edxb1vv.js} +15 -15
- package/dist/chunks/{form-8xy5369n.js → formatter-1h867pj6.js} +15 -15
- package/dist/chunks/{form-f7g8hjtk.js → formatter-1qh5f7t0.js} +3 -3
- package/dist/chunks/{form-dmm39yex.js → formatter-2353axak.js} +18 -18
- package/dist/chunks/{form-fhrn9ry2.js → formatter-283jaw88.js} +14 -14
- package/dist/chunks/formatter-2tm8sjbk.js +253 -0
- package/dist/chunks/{form-baaqp4zd.js → formatter-2vs2nh1n.js} +4 -4
- package/dist/chunks/{form-7t3g9e2b.js → formatter-2wh84egx.js} +3 -3
- package/dist/chunks/{form-h7s7r6s9.js → formatter-31xfzrxg.js} +5 -5
- package/dist/chunks/{form-3p3rsvqq.js → formatter-332njvv8.js} +12 -12
- package/dist/chunks/{form-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-1yvx7ymw.js → formatter-3frqz641.js} +30 -30
- package/dist/chunks/{form-j08649s7.js → formatter-3hdbdc9p.js} +26 -26
- package/dist/chunks/{form-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-jqrcj8vr.js → formatter-3hnj3vj9.js} +50 -50
- package/dist/chunks/{form-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-xq6mgr11.js → formatter-3m9w5d4q.js} +4 -4
- package/dist/chunks/{form-e29c15sd.js → formatter-3n40wvxh.js} +5 -5
- package/dist/chunks/{form-8svajzjj.js → formatter-3p7s2r2p.js} +85 -85
- package/dist/chunks/{form-z5w0btk4.js → formatter-3rj6f3np.js} +18 -18
- package/dist/chunks/{form-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-143qq2q9.js → formatter-48kw51zw.js} +3 -3
- package/dist/chunks/{form-hdab2k61.js → formatter-4mwpykj0.js} +6 -6
- package/dist/chunks/{form-tv3tk5e7.js → formatter-4s59bs54.js} +40 -40
- package/dist/chunks/{form-ezs570a8.js → formatter-4sfwg2ck.js} +17 -17
- package/dist/chunks/{form-w39jehkq.js → formatter-4xpgt2w9.js} +5 -5
- package/dist/chunks/{form-4rgwa650.js → formatter-50gtqem5.js} +9 -9
- package/dist/chunks/{form-br1rk1d8.js → formatter-55t91gwp.js} +2 -2
- package/dist/chunks/{form-93prh51k.js → formatter-56hry5jr.js} +1 -1
- package/dist/chunks/{form-hb26dn5q.js → formatter-5aj6czy3.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-c9mm3yn7.js → formatter-5z5kbpps.js} +21 -21
- package/dist/chunks/{form-nepa0w8v.js → formatter-662wwg4x.js} +16 -16
- package/dist/chunks/{form-aryc3stw.js → formatter-6kskhkf1.js} +5 -5
- package/dist/chunks/{form-14cdk0s6.js → formatter-6p31tnqt.js} +41 -41
- package/dist/chunks/{form-6q3g8xg3.js → formatter-6t4hr8r6.js} +4 -4
- package/dist/chunks/{form-9vhba5v5.js → formatter-6vyn749n.js} +36 -36
- package/dist/chunks/{form-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-8hcfczpt.js → formatter-6xhm7n2c.js} +13 -13
- package/dist/chunks/{form-ss7kc155.js → formatter-6zddjdst.js} +15 -15
- package/dist/chunks/{form-775gj3j1.js → formatter-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-n3f8xpja.js → formatter-7c576772.js} +17 -17
- package/dist/chunks/{form-er5phavy.js → formatter-7ccd9sgx.js} +17 -17
- package/dist/chunks/{form-bn0s77k4.js → formatter-7ejdeqms.js} +18 -18
- package/dist/chunks/{form-n7937mg5.js → formatter-7f82f210.js} +47 -47
- package/dist/chunks/{form-be9ztc22.js → formatter-7g29pkaf.js} +21 -21
- package/dist/chunks/{form-ffwe724q.js → formatter-7qbbv60v.js} +24 -24
- package/dist/chunks/{form-pps52h15.js → formatter-7wnqvywx.js} +20 -20
- package/dist/chunks/{form-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{form-g2hp3vqx.js → formatter-899eqk77.js} +18 -18
- package/dist/chunks/{form-tsn8bsdq.js → formatter-8c2qsf3t.js} +12 -12
- package/dist/chunks/{form-hxhp7dtd.js → formatter-8hac7c6g.js} +11 -11
- package/dist/chunks/{form-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-fnf227f0.js → formatter-8svxbds8.js} +10 -10
- package/dist/chunks/{form-91qna3x0.js → formatter-91qna3x0.js} +3 -3
- package/dist/chunks/{form-wxa4kc3h.js → formatter-9ddcqjst.js} +1 -1
- package/dist/chunks/{form-9sh4wc5j.js → formatter-9sh4wc5j.js} +1 -1
- package/dist/chunks/{form-ey95qdp6.js → formatter-a346vg2z.js} +7 -7
- package/dist/chunks/{form-dqn38spn.js → formatter-a6rx491g.js} +2 -2
- package/dist/chunks/{form-n3pmav1h.js → formatter-ab3n2c3a.js} +29 -29
- package/dist/chunks/{form-7xj9awyf.js → formatter-ad7qy436.js} +9 -9
- package/dist/chunks/{form-hf9tj6qr.js → formatter-adfh29v0.js} +8 -8
- package/dist/chunks/{form-5yr40zeg.js → formatter-afe0v1cd.js} +11 -11
- package/dist/chunks/{form-82rhge12.js → formatter-ajdjch6h.js} +9 -9
- package/dist/chunks/{form-9sgsjpgv.js → formatter-ajp2d162.js} +11 -11
- package/dist/chunks/{form-h2w3qysh.js → formatter-akvc5q3a.js} +5 -5
- package/dist/chunks/{form-vkg9we9y.js → formatter-aqbj56nq.js} +7 -7
- package/dist/chunks/{form-52s9q06w.js → formatter-av61pe84.js} +16 -16
- package/dist/chunks/{form-kngtgbps.js → formatter-b0f1bdm2.js} +36 -36
- package/dist/chunks/{form-qbr3qg4y.js → formatter-b0w5rcd3.js} +9 -9
- package/dist/chunks/{form-skzmvm4j.js → formatter-b72rtwfy.js} +40 -40
- package/dist/chunks/{form-6v79zamc.js → formatter-bc2z15ca.js} +88 -88
- package/dist/chunks/{form-9c3np669.js → formatter-be7qvw84.js} +8 -8
- package/dist/chunks/{form-crapqw80.js → formatter-bgmkc152.js} +28 -28
- package/dist/chunks/{form-pwmmzb0q.js → formatter-bs1j93w2.js} +51 -14
- package/dist/chunks/{form-avwt2xsz.js → formatter-bsysq0ez.js} +20 -20
- package/dist/chunks/{form-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-ehgrgyqj.js → formatter-c1kp7gpd.js} +38 -38
- package/dist/chunks/{form-n3vpxe9e.js → formatter-c2gyfhkp.js} +17 -17
- package/dist/chunks/{form-wg81ww38.js → formatter-c9wbyant.js} +4 -4
- package/dist/chunks/{form-25vxs7my.js → formatter-cb1kb5zz.js} +12 -12
- package/dist/chunks/{form-bn5ewp0w.js → formatter-cc6b32k2.js} +1 -1
- package/dist/chunks/{form-hcg8wwt0.js → formatter-ccr708e6.js} +12 -12
- package/dist/chunks/{form-0ytnbz4y.js → formatter-cd6h4nzs.js} +11 -11
- package/dist/chunks/{form-j4nkbaz2.js → formatter-cp57n86a.js} +36 -36
- package/dist/chunks/{form-vdvkw4gf.js → formatter-crrxh0px.js} +45 -45
- package/dist/chunks/{form-m84184k4.js → formatter-cz2py90e.js} +3 -3
- package/dist/chunks/{form-0v34zmgv.js → formatter-d6h3yzf0.js} +8 -8
- package/dist/chunks/{form-xhtqqe1m.js → formatter-d796kbef.js} +32 -32
- package/dist/chunks/{form-g1s6c47t.js → formatter-d9b0f5kc.js} +7 -7
- package/dist/chunks/{form-x8knmkzv.js → formatter-dqgx37xb.js} +8 -8
- package/dist/chunks/{form-dqxsqydv.js → formatter-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-qqeeq2t9.js → formatter-drwq78ky.js} +7 -7
- package/dist/chunks/{form-zv4abm7d.js → formatter-dsdg21fa.js} +14 -14
- package/dist/chunks/{form-fww2ha2b.js → formatter-dwf3tdgd.js} +10 -10
- package/dist/chunks/{form-erv1nza1.js → formatter-dxxkxqr1.js} +33 -33
- package/dist/chunks/{form-a7bcxdzj.js → formatter-dzw83ac5.js} +9 -9
- package/dist/chunks/{form-g69jfcfp.js → formatter-e4kb0nq8.js} +4 -4
- package/dist/chunks/{form-r2z489rp.js → formatter-e80seqcp.js} +3 -3
- package/dist/chunks/{form-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-edrqqpmw.js → formatter-es3cq489.js} +20 -20
- package/dist/chunks/{form-p658ffzv.js → formatter-ev42yzt1.js} +8 -8
- package/dist/chunks/{form-jah5evhf.js → formatter-ex4y3cq4.js} +8 -8
- package/dist/chunks/{form-3r77nd71.js → formatter-f0bxardp.js} +22 -22
- package/dist/chunks/{form-h95dhd2e.js → formatter-f224v0b1.js} +22 -22
- package/dist/chunks/{form-bn590nze.js → formatter-f26e9619.js} +1 -1
- package/dist/chunks/{form-f29mbr7f.js → formatter-f29mbr7f.js} +1 -1
- package/dist/chunks/{form-eh003p28.js → formatter-f3cxnthp.js} +139 -139
- package/dist/chunks/{form-2k8khapm.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{form-m4m6ddy0.js → formatter-fg1z6pp1.js} +35 -35
- package/dist/chunks/{form-4aqqpnpa.js → formatter-fjgg99jy.js} +12 -12
- package/dist/chunks/{form-y38hkvdm.js → formatter-fmzzfcx7.js} +15 -15
- package/dist/chunks/{form-gebfq3xb.js → formatter-fqbxrgf0.js} +12 -12
- package/dist/chunks/{form-g6q9qykm.js → formatter-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-mqz80whq.js → formatter-g1qebd0t.js} +18 -18
- package/dist/chunks/{form-fgywf1sk.js → formatter-g33e3t29.js} +14 -14
- package/dist/chunks/{form-e60rwd5s.js → formatter-g4t5e3me.js} +15 -15
- package/dist/chunks/{form-vgpxhj99.js → formatter-gbc8mqyx.js} +6 -6
- package/dist/chunks/{form-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-p0kcevce.js → formatter-gg15nyhh.js} +66 -44
- package/dist/chunks/{form-gqtdsdt7.js → formatter-gqtdsdt7.js} +1 -1
- package/dist/chunks/{form-gztk07db.js → formatter-gs412db5.js} +13 -13
- package/dist/chunks/{form-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-3cqwnyj9.js → formatter-hcv80w8f.js} +8 -8
- package/dist/chunks/{form-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-hdysr67s.js → formatter-hjkq67zn.js} +3 -3
- package/dist/chunks/{form-t24pbkgt.js → formatter-hkczk8bw.js} +3 -3
- package/dist/chunks/{form-hq3c8me3.js → formatter-hq3c8me3.js} +1 -1
- package/dist/chunks/{form-rwe7g98w.js → formatter-hvzrs0xr.js} +54 -54
- package/dist/chunks/{form-4bmbsd4v.js → formatter-hxrpfe82.js} +1 -1
- package/dist/chunks/{form-r3qasar1.js → formatter-j26nqjmz.js} +22 -22
- package/dist/chunks/{form-wnvgq5rs.js → formatter-j7mctfem.js} +3 -3
- package/dist/chunks/{form-505c55rd.js → formatter-ja2emt1d.js} +6 -6
- package/dist/chunks/{form-y8j1d83x.js → formatter-je4aj9kh.js} +24 -24
- package/dist/chunks/{form-gq6ff74y.js → formatter-jfqkz3as.js} +11 -11
- package/dist/chunks/{form-3wy3xfhq.js → formatter-jh6atg41.js} +8 -8
- package/dist/chunks/{form-jk540des.js → formatter-jk540des.js} +2 -2
- package/dist/chunks/{form-vkbhjkd5.js → formatter-jkfbaykb.js} +32 -32
- package/dist/chunks/{form-y71avatq.js → formatter-jwcy2c2z.js} +4 -4
- package/dist/chunks/{form-s5fj66ad.js → formatter-jzrhc3ay.js} +14 -14
- package/dist/chunks/{form-cpxgzvxx.js → formatter-k9jhr1nj.js} +14 -14
- package/dist/chunks/{form-pq3p5sgx.js → formatter-kan5fc59.js} +1 -1
- package/dist/chunks/{form-2g8hje7s.js → formatter-kfgdhbhb.js} +11 -11
- package/dist/chunks/{form-jtzsmrk2.js → formatter-kh11x27a.js} +10 -10
- package/dist/chunks/{form-njc0w668.js → formatter-kvesanzg.js} +26 -26
- package/dist/chunks/{form-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → formatter-maspj1v3.js} +1 -1
- package/dist/chunks/{form-3c9pez1w.js → formatter-mfd36709.js} +14 -14
- package/dist/chunks/{form-d0ky9prf.js → formatter-mpmevjqk.js} +13 -13
- package/dist/chunks/{form-928hjf0p.js → formatter-mvtm0qmf.js} +13 -13
- package/dist/chunks/{form-fb4f5xs0.js → formatter-n4hpj17r.js} +11 -11
- package/dist/chunks/{form-phz50fbd.js → formatter-nd4tfyg0.js} +9 -9
- package/dist/chunks/{form-cw11zj9g.js → formatter-nrd63j21.js} +6 -6
- package/dist/chunks/{form-pmrqhd2p.js → formatter-ntvjbsjw.js} +22 -22
- package/dist/chunks/{form-hzfhha8y.js → formatter-nxm27acf.js} +14 -14
- package/dist/chunks/{form-m4v3ppb4.js → formatter-p0gzq3ww.js} +17 -17
- package/dist/chunks/{form-f7qtgnbp.js → formatter-p2zvaqmw.js} +23 -23
- package/dist/chunks/{form-5xtgfte3.js → formatter-p37cw4rj.js} +4 -4
- package/dist/chunks/{form-cfjaa9df.js → formatter-p53nntgz.js} +13 -13
- package/dist/chunks/{form-a6w21yjg.js → formatter-p6tk73t3.js} +15 -15
- package/dist/chunks/{form-n3n5kct9.js → formatter-pdf019mb.js} +17 -17
- package/dist/chunks/{form-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{form-e97ndpgv.js → formatter-pxs52935.js} +14 -14
- package/dist/chunks/{form-vmkrwz5c.js → formatter-pzxf2myn.js} +30 -30
- package/dist/chunks/{form-q0xm7vwc.js → formatter-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-j50dn89j.js → formatter-q1f4s60w.js} +13 -13
- package/dist/chunks/{form-b0p9f8mf.js → formatter-q1kj48yt.js} +20 -20
- package/dist/chunks/{form-0bv9cy4y.js → formatter-q45ag0p8.js} +26 -26
- package/dist/chunks/{form-q5e7cmwt.js → formatter-q5e7cmwt.js} +1 -1
- package/dist/chunks/{form-swjgwa7j.js → formatter-q5eaxa6y.js} +9 -9
- package/dist/chunks/{form-edrmdtr5.js → formatter-qa3qhgw8.js} +7 -7
- package/dist/chunks/{form-a602vx8c.js → formatter-qhvzx7pk.js} +23 -23
- package/dist/chunks/{form-snvhch9n.js → formatter-qhw583k0.js} +11 -11
- package/dist/chunks/{form-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{form-0ycbn11j.js → formatter-qvcdsk4b.js} +46 -46
- package/dist/chunks/{form-kca18nqk.js → formatter-qvwq1zvz.js} +13 -13
- package/dist/chunks/formatter-qz7awyd3.js +26 -0
- package/dist/chunks/{form-3cz0zj82.js → formatter-r65g850v.js} +19 -19
- package/dist/chunks/{form-54ma36ye.js → formatter-r94pvvab.js} +4 -4
- package/dist/chunks/{form-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → formatter-rert0e01.js} +2 -2
- package/dist/chunks/{form-seewk876.js → formatter-rhy9k1rp.js} +15 -15
- package/dist/chunks/{form-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-wzpavc0h.js → formatter-rjerygwq.js} +28 -28
- package/dist/chunks/{form-7fkffz83.js → formatter-rkprpv83.js} +4 -4
- package/dist/chunks/{form-p3p972wa.js → formatter-rmm45jmv.js} +5 -5
- package/dist/chunks/{form-99yrpdtp.js → formatter-rptf7q9a.js} +9 -9
- package/dist/chunks/{form-9pa8tak9.js → formatter-rqa1jxse.js} +2 -2
- package/dist/chunks/{form-rdc13ccq.js → formatter-rz47h1na.js} +321 -321
- package/dist/chunks/{form-tqnbmqv0.js → formatter-s5q76w4b.js} +11 -11
- package/dist/chunks/{form-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-b3f8fkhc.js → formatter-scgrse2b.js} +5 -5
- package/dist/chunks/{form-satfz2qa.js → formatter-sn62p56x.js} +11 -11
- package/dist/chunks/{form-bpbqsjc5.js → formatter-sq4kkv30.js} +18 -18
- package/dist/chunks/{form-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{form-fea7gdn7.js → formatter-sz4t6e64.js} +4 -4
- package/dist/chunks/{form-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-608ahxn3.js → formatter-tcetyb9j.js} +4 -4
- package/dist/chunks/{form-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{form-txrthtyn.js → formatter-te3mz5kp.js} +5 -5
- package/dist/chunks/{form-47a0zg4r.js → formatter-th3em6jy.js} +4 -4
- package/dist/chunks/{form-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-721826nf.js → formatter-tsyk5zzk.js} +19 -19
- package/dist/chunks/{form-g6drypzc.js → formatter-twkrdnw7.js} +13 -13
- package/dist/chunks/{form-xk9sh67x.js → formatter-twpzn2hm.js} +22 -22
- package/dist/chunks/{form-rv8bg9zk.js → formatter-twwzjqdf.js} +3 -3
- package/dist/chunks/{form-r7pvn046.js → formatter-tx6qfw4f.js} +8 -8
- package/dist/chunks/{form-s2z0d44b.js → formatter-txm3e8qz.js} +4 -4
- package/dist/chunks/{form-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{form-4c3synvf.js → formatter-v0267kdd.js} +22 -22
- package/dist/chunks/{form-6g7e4dd5.js → formatter-v0es1rhs.js} +7 -7
- package/dist/chunks/{form-ax1t9xtj.js → formatter-v3651974.js} +8 -8
- package/dist/chunks/{form-n4fsmagx.js → formatter-v3ttaphs.js} +23 -23
- package/dist/chunks/{form-y2qecmcg.js → formatter-v6c6rcwe.js} +8 -8
- package/dist/chunks/{form-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{form-ez08sjjy.js → formatter-vjv51mvx.js} +32 -32
- package/dist/chunks/{form-xja3d10x.js → formatter-vxspw9yr.js} +4 -4
- package/dist/chunks/{form-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-a0w9j8wk.js → formatter-wc72y96k.js} +37 -37
- package/dist/chunks/{form-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{form-e5ephxh3.js → formatter-wg6fdgtk.js} +15 -15
- package/dist/chunks/{form-47swjef3.js → formatter-wg7azwjh.js} +17 -17
- package/dist/chunks/{form-5xypne46.js → formatter-whhqcvh8.js} +15 -15
- package/dist/chunks/{form-bjx1sjef.js → formatter-wjr9rjd7.js} +6 -6
- package/dist/chunks/{form-rjj0kxdj.js → formatter-wr0g8n2t.js} +24 -24
- package/dist/chunks/{form-ssyqzp7x.js → formatter-wsgnknpb.js} +25 -25
- package/dist/chunks/{form-m9fzqjzy.js → formatter-wsvg2szn.js} +14 -14
- package/dist/chunks/{form-537k2b6a.js → formatter-wwt5dmw6.js} +5 -5
- package/dist/chunks/{form-rzbepvw2.js → formatter-x3c01j44.js} +32 -32
- package/dist/chunks/{form-yrey27x9.js → formatter-x40w4ms9.js} +18 -18
- package/dist/chunks/{form-k10q0rt9.js → formatter-x9269a9z.js} +33 -33
- package/dist/chunks/{form-e1ev7m0f.js → formatter-xgaedbr8.js} +13 -13
- package/dist/chunks/{form-yynmaj8z.js → formatter-xk0yahwt.js} +2 -2
- package/dist/chunks/{form-btje6eqz.js → formatter-xxtm58em.js} +24 -24
- package/dist/chunks/{form-mhc8tqjz.js → formatter-xzdszenr.js} +3 -3
- package/dist/chunks/{form-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-d858xzj7.js → formatter-y6mhz57t.js} +4 -4
- package/dist/chunks/{form-bdn2wxed.js → formatter-y8ay14br.js} +22 -22
- package/dist/chunks/{form-37npsz1w.js → formatter-yb185ac2.js} +33 -33
- package/dist/chunks/{form-ghwm7f5x.js → formatter-ybqwpdwm.js} +14 -14
- package/dist/chunks/{form-4kmde3yz.js → formatter-ygfnawd1.js} +12 -12
- package/dist/chunks/{form-h7nvm89x.js → formatter-ygtkbg8j.js} +6 -6
- package/dist/chunks/{form-z5pcptfa.js → formatter-ygz1yfbt.js} +11 -11
- package/dist/chunks/{form-0ap5nxpg.js → formatter-ykgvx44j.js} +7 -7
- package/dist/chunks/{form-f2n192rq.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-xnz68hwv.js → formatter-ysftav9z.js} +6 -6
- package/dist/chunks/{form-jh43x2gr.js → formatter-yvgxm2n5.js} +27 -27
- package/dist/chunks/{form-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-6cv5qdzx.js → formatter-z1bgcsag.js} +12 -12
- package/dist/chunks/{form-7x4qn87h.js → formatter-z2qvtray.js} +8 -8
- package/dist/chunks/{form-9k6mxhmg.js → formatter-z3yc4nfw.js} +21 -21
- package/dist/chunks/{form-2xdh0w28.js → formatter-z6c3x22d.js} +5 -5
- package/dist/chunks/{form-fgem0d3n.js → formatter-ze75yzft.js} +8 -8
- package/dist/chunks/{form-pqwj5q2q.js → formatter-zpa94q1q.js} +38 -38
- package/dist/chunks/{form-3cbpd81r.js → formatter-zpcg010g.js} +32 -32
- package/dist/chunks/{form-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-t3pdfh17.js → formatter-zw5d2dnw.js} +30 -30
- package/dist/chunks/{form-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +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 +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- 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 +121 -121
- 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 +81 -81
- package/dist/database/database.js +74 -74
- 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 +97 -97
- 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 +74 -74
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +93 -93
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +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 +125 -125
- 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 +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +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 +74 -74
- package/dist/plugin/service.js +1 -1
- 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 +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- 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 +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- 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 +1 -1
- 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 +5 -5
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/provider.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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/form-8kzeb6r2.js +0 -26
- package/dist/chunks/form-vay30y3j.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-7g29pkaf.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin31
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin31 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin7 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID16.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID16.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID16.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID16.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID16.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin7 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin31, exports_agent2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service83,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-wsvg2szn.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service82,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-whhqcvh8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node74
|
|
8
|
+
} from "./formatter-ccr708e6.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
20
|
Event: () => Event10,
|
|
21
|
-
ID: () =>
|
|
21
|
+
ID: () => ID6,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service61,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node64
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
@@ -38,19 +38,19 @@ 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
40
|
import { Event as Event10 } from "@opencode/schema/websearch";
|
|
41
|
-
var
|
|
41
|
+
var ID6 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
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([ID6, 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: ID6
|
|
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: ID6,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service61 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(Service61, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service82;
|
|
70
|
+
const kv = yield* Service71;
|
|
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(Service46, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service61.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 node64 = makeLocationNode({
|
|
188
|
+
service: Service61,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node85,
|
|
190
|
+
deps: [node85, node74]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service61, node64, exports_websearch3, Event10 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
@@ -8,14 +8,14 @@ __export(exports_instance2, {
|
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
9
|
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
16
|
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
19
|
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
@@ -29,4 +29,4 @@ function bound2(plugins) {
|
|
|
29
29
|
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Service4,
|
|
32
|
+
export { Service4, node5, bound2, exports_instance2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
node58
|
|
7
|
+
} from "./formatter-qhvzx7pk.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service55,
|
|
17
|
+
node: () => node57,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service55 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service56;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service55.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node57 = makeLocationNode({ service: Service55, layer, deps: [node58] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service55, readText2, syncTextBom2, node57, exports_file_mutation };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-cd6h4nzs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./formatter-b0f1bdm2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./formatter-c2gyfhkp.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-zpa94q1q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin41,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin41 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service16;
|
|
104
|
+
const permission = yield* Service73;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin44 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin41, exports_opencode };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./formatter-twkrdnw7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./formatter-crrxh0px.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./formatter-xgaedbr8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make10
|
|
12
|
+
} from "./formatter-e80seqcp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin18
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin18 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service62;
|
|
36
|
+
const formatter = yield* Service69;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin30 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make10({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin18, exports_formatter };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service82,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-whhqcvh8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
@@ -22,18 +22,18 @@ __export(exports_form, {
|
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError8,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service68,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node71,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID11 = Form.ID;
|
|
39
39
|
var Info21 = Form.Info;
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service68 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service68, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service68.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node71 = makeLocationNode({ service: Service68, layer: layer25, deps: [node85] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID11, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2,
|
|
319
|
+
export { ID11, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer25, node71, validateAnswer2, validateFields2, exports_form, Event16 };
|