@opencode/core 0.0.0-dev-19757 → 0.0.0-dev-19758
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{formatter-w1k39n5e.js → bus-06dxphr1.js} +4 -4
- package/dist/chunks/{formatter-g34rm5ee.js → bus-098d3mqp.js} +30 -30
- package/dist/chunks/{formatter-xe2dwhgm.js → bus-0b0th7s4.js} +10 -10
- package/dist/chunks/{formatter-nccgq8j4.js → bus-0c8m848g.js} +16 -16
- package/dist/chunks/{formatter-z9s6ggjz.js → bus-0cbj8ajh.js} +9 -9
- package/dist/chunks/{formatter-sh9rh5j7.js → bus-0cm1nqy3.js} +25 -25
- package/dist/chunks/{formatter-7y3w5jth.js → bus-0j9y03t3.js} +40 -40
- package/dist/chunks/{formatter-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-xt2789zt.js → bus-0qzv51dm.js} +30 -30
- package/dist/chunks/{formatter-p6j26bex.js → bus-100ecgng.js} +7 -7
- package/dist/chunks/{formatter-4jv7e9dq.js → bus-10jtetaj.js} +9 -9
- package/dist/chunks/{formatter-7xmff81v.js → bus-110m9arz.js} +15 -15
- package/dist/chunks/{formatter-xfp1mhk8.js → bus-17gne236.js} +4 -4
- package/dist/chunks/{formatter-dy8qh9xy.js → bus-1956heqa.js} +5 -5
- package/dist/chunks/{formatter-szgtqmk5.js → bus-1c4h0esh.js} +6 -6
- package/dist/chunks/{formatter-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-2z5bgv6k.js → bus-1fn7qz6r.js} +9 -9
- package/dist/chunks/{formatter-jcf77vsk.js → bus-1rfd4xxr.js} +2 -2
- package/dist/chunks/{formatter-6anwy9fs.js → bus-1s3p39g4.js} +6 -6
- package/dist/chunks/{formatter-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{formatter-tq9bddfy.js → bus-25bb1hc4.js} +13 -13
- package/dist/chunks/{formatter-6js7ajd4.js → bus-25trdgaf.js} +25 -25
- package/dist/chunks/{formatter-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-sw8vrykn.js → bus-2chdexej.js} +17 -17
- package/dist/chunks/{formatter-vmwh049b.js → bus-2e96adxv.js} +6 -6
- package/dist/chunks/bus-2h9152w8.js +252 -0
- package/dist/chunks/{formatter-fcrkznn8.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{formatter-ceh329e1.js → bus-2msw9s5m.js} +11 -11
- package/dist/chunks/{formatter-kw4y2rsq.js → bus-2r959258.js} +302 -302
- package/dist/chunks/{formatter-hmq6fc40.js → bus-2s6k9xab.js} +11 -11
- package/dist/chunks/{formatter-24rwab1a.js → bus-2tth53p7.js} +31 -31
- package/dist/chunks/{formatter-7815knry.js → bus-2x1qdj5q.js} +11 -11
- package/dist/chunks/{formatter-nwpzj615.js → bus-33dbnsft.js} +9 -9
- package/dist/chunks/{formatter-1ygqh575.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{formatter-c78bbtc9.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{formatter-1yv162eq.js → bus-3838ekre.js} +4 -4
- package/dist/chunks/{formatter-xwrmtca6.js → bus-38ac530a.js} +11 -11
- package/dist/chunks/{formatter-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-87gcxw7f.js → bus-3nse7x66.js} +14 -14
- package/dist/chunks/{formatter-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-zqx8wcya.js → bus-3tq5qxbk.js} +6 -6
- package/dist/chunks/{formatter-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-q52v1zkd.js → bus-441xk2wv.js} +11 -11
- package/dist/chunks/{formatter-kyarz3ws.js → bus-44jp0xn3.js} +4 -4
- package/dist/chunks/{formatter-psve6y68.js → bus-456sctqq.js} +4 -4
- package/dist/chunks/{formatter-c9qv3xyw.js → bus-47xrm495.js} +84 -84
- package/dist/chunks/{formatter-hkxhfj70.js → bus-4a6e8mmv.js} +16 -16
- package/dist/chunks/{formatter-zk1psjwf.js → bus-4bj7sh8v.js} +85 -85
- package/dist/chunks/{formatter-2mmbc3xp.js → bus-4fccdz1z.js} +47 -47
- package/dist/chunks/{formatter-ywmq5p8p.js → bus-4wmfdqaa.js} +15 -15
- package/dist/chunks/{formatter-wbt8he73.js → bus-54spjwjz.js} +18 -18
- package/dist/chunks/{formatter-pgey37v9.js → bus-55xf98n8.js} +12 -12
- package/dist/chunks/{formatter-qqeeq2t9.js → bus-57b9ws8p.js} +4 -4
- package/dist/chunks/{formatter-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{formatter-gs7mtawa.js → bus-5bmybb02.js} +33 -33
- package/dist/chunks/{formatter-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-6q2qzy88.js → bus-5y3kegep.js} +4 -4
- package/dist/chunks/bus-619r8v3y.js +18 -0
- package/dist/chunks/{formatter-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{formatter-s0b4m20z.js → bus-67mc9q1p.js} +8 -8
- package/dist/chunks/{formatter-xhqsr2sb.js → bus-696j2597.js} +53 -53
- package/dist/chunks/{formatter-pstjchew.js → bus-6b0wr2gn.js} +23 -23
- package/dist/chunks/bus-6kdq0pjd.js +4 -0
- package/dist/chunks/{formatter-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-39vx9120.js → bus-6s3pmmk2.js} +8 -8
- package/dist/chunks/{formatter-qzjnbpqp.js → bus-6vaawb56.js} +50 -50
- package/dist/chunks/{formatter-q7daxc3f.js → bus-6xckhbd5.js} +19 -19
- package/dist/chunks/{formatter-st612rmk.js → bus-72macrbw.js} +52 -52
- package/dist/chunks/{formatter-xpzt8j8n.js → bus-7azjdvpr.js} +11 -11
- package/dist/chunks/{formatter-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-q99k41bd.js → bus-7dz8p9xt.js} +29 -29
- package/dist/chunks/{formatter-aj204w2b.js → bus-7q2t57ev.js} +43 -43
- package/dist/chunks/{formatter-6rmnkzfb.js → bus-7qgwwy7f.js} +13 -13
- package/dist/chunks/{formatter-h3b1qqa9.js → bus-7vvypxen.js} +7 -7
- package/dist/chunks/{formatter-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{formatter-gqn8487k.js → bus-7xx1524k.js} +44 -44
- package/dist/chunks/{formatter-0996nyz8.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{formatter-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-06x8he3q.js → bus-8gxqpgph.js} +4 -4
- package/dist/chunks/{formatter-kkjryrew.js → bus-8jr144xf.js} +9 -9
- package/dist/chunks/{formatter-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-wvj88p5n.js → bus-9bzaahhz.js} +21 -21
- package/dist/chunks/{formatter-bh0zzf2s.js → bus-9c3np669.js} +8 -8
- package/dist/chunks/{formatter-2wj8n25z.js → bus-9nepbqpa.js} +6 -6
- package/dist/chunks/{formatter-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-sfmpga1j.js → bus-a471nxk4.js} +24 -24
- package/dist/chunks/{formatter-jfn6ykkf.js → bus-a4rjqnpf.js} +14 -14
- package/dist/chunks/{formatter-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-s61nvhk3.js → bus-adq3kxc0.js} +5 -5
- package/dist/chunks/{formatter-rmk2c50f.js → bus-aeb4sny1.js} +5 -5
- package/dist/chunks/{formatter-qby8jf2p.js → bus-aeck6645.js} +8 -8
- package/dist/chunks/{formatter-3b7cesba.js → bus-ayg85fpn.js} +5 -5
- package/dist/chunks/{formatter-rc8abpkz.js → bus-b4tzb99z.js} +6 -6
- package/dist/chunks/{formatter-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-4jc5c4h4.js → bus-bz85s9hh.js} +1 -1
- package/dist/chunks/{formatter-3ybmm67g.js → bus-c019crvg.js} +14 -14
- package/dist/chunks/{formatter-wrj9kdwa.js → bus-c4mstr5p.js} +1 -1
- package/dist/chunks/{formatter-rfczfd12.js → bus-c7beamen.js} +7 -7
- package/dist/chunks/{formatter-qj8eh1ht.js → bus-cavr175a.js} +4 -4
- package/dist/chunks/{formatter-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-3hr7jtfn.js → bus-ck8c2f3r.js} +22 -22
- package/dist/chunks/{formatter-rmerk4f4.js → bus-cktevt8v.js} +46 -46
- package/dist/chunks/{formatter-djszqvmq.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{formatter-2vywekkr.js → bus-cwbe6ym8.js} +15 -15
- package/dist/chunks/{formatter-6q3qeyxk.js → bus-cyg049pt.js} +5 -5
- package/dist/chunks/{formatter-432zg6d4.js → bus-d3s8mw9x.js} +29 -29
- package/dist/chunks/{formatter-82gda1eq.js → bus-d4g3vwm5.js} +21 -21
- package/dist/chunks/{formatter-xhczph7k.js → bus-d5j16axh.js} +12 -12
- package/dist/chunks/{formatter-k3a03e74.js → bus-d6mgh4yr.js} +8 -8
- package/dist/chunks/{formatter-rz9n75z5.js → bus-d84x1h8e.js} +29 -29
- package/dist/chunks/{formatter-zh9xaa1s.js → bus-dapfwjck.js} +32 -32
- package/dist/chunks/{formatter-47aj3v1p.js → bus-dc69t32x.js} +14 -14
- package/dist/chunks/{formatter-s5cgwvcm.js → bus-dg3w1nd5.js} +3 -3
- package/dist/chunks/{formatter-6h1s4fng.js → bus-dpehwp0a.js} +13 -13
- package/dist/chunks/{formatter-n1tnp0w1.js → bus-dq56eeb5.js} +20 -20
- package/dist/chunks/{formatter-pegh2r6s.js → bus-drwba54j.js} +14 -14
- package/dist/chunks/{formatter-dv1qgsyq.js → bus-dv1qgsyq.js} +1 -1
- package/dist/chunks/{formatter-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
- package/dist/chunks/{formatter-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-skfdyt5m.js → bus-ezbx256a.js} +27 -27
- package/dist/chunks/{formatter-dsxekm4p.js → bus-f010ntnv.js} +19 -19
- package/dist/chunks/{formatter-haqyfn71.js → bus-f4sjgpj8.js} +37 -37
- package/dist/chunks/{formatter-8krhc899.js → bus-f57shvpt.js} +33 -33
- package/dist/chunks/{formatter-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-1zksj7yq.js → bus-fbwcgawc.js} +11 -11
- package/dist/chunks/{formatter-mg63z3hs.js → bus-feyb32n1.js} +18 -18
- package/dist/chunks/{formatter-bgmk75ab.js → bus-ff8g97f7.js} +6 -6
- package/dist/chunks/{formatter-q3rwwjss.js → bus-fp3b2tyn.js} +24 -24
- package/dist/chunks/{formatter-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-pg9911fw.js → bus-g0b57gve.js} +43 -43
- package/dist/chunks/{formatter-ryr25ayn.js → bus-g8d3gcyj.js} +7 -7
- package/dist/chunks/{formatter-g3yyr5p0.js → bus-gbhek550.js} +13 -13
- package/dist/chunks/{formatter-p9wyast9.js → bus-gcsw9y0t.js} +8 -8
- package/dist/chunks/{formatter-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-ss1d5n7s.js → bus-ge6x8gv9.js} +17 -17
- package/dist/chunks/{formatter-zdbfb4d6.js → bus-gf7f2369.js} +6 -6
- package/dist/chunks/{formatter-zab19jja.js → bus-gffqj91w.js} +9 -9
- package/dist/chunks/{formatter-e4346r51.js → bus-gm7vvz5v.js} +17 -17
- package/dist/chunks/{formatter-qrg0q5a9.js → bus-gn047571.js} +25 -25
- package/dist/chunks/{formatter-jwpsb1fs.js → bus-gprn4qe6.js} +24 -24
- package/dist/chunks/{formatter-08ym40nb.js → bus-gv0zjanc.js} +2 -2
- package/dist/chunks/{formatter-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{formatter-ry9ybv6e.js → bus-h3g6m2mf.js} +1 -1
- package/dist/chunks/{formatter-y766knqa.js → bus-h4sy77rb.js} +13 -13
- package/dist/chunks/{formatter-nzyhnfxz.js → bus-h6r3nrb9.js} +4 -4
- package/dist/chunks/{formatter-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-shh6fz4q.js → bus-h6z8d5tn.js} +4 -4
- package/dist/chunks/{formatter-spr8h2ym.js → bus-h8j3vz9y.js} +9 -9
- package/dist/chunks/{formatter-3c1tgrea.js → bus-hdab2k61.js} +6 -6
- package/dist/chunks/{formatter-ks6s6bng.js → bus-hdf6015e.js} +46 -46
- package/dist/chunks/{formatter-76vcy4ng.js → bus-heexpby2.js} +18 -18
- package/dist/chunks/{formatter-bha4atvq.js → bus-hfdr1yjj.js} +4 -4
- package/dist/chunks/{formatter-arr7rt2x.js → bus-hjbpbmpy.js} +19 -19
- package/dist/chunks/{formatter-ekt5sq8n.js → bus-hmhpv68n.js} +11 -11
- package/dist/chunks/{formatter-wbkyxrgf.js → bus-hnr5yq9h.js} +5 -5
- package/dist/chunks/{formatter-8xgg1ta2.js → bus-hrns00hc.js} +3 -3
- package/dist/chunks/{formatter-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-s4jehtr9.js → bus-j8ajybmk.js} +13 -13
- package/dist/chunks/{formatter-z47fxbth.js → bus-ja2b05k4.js} +42 -42
- package/dist/chunks/{formatter-mtz5a3ex.js → bus-jj64m3ds.js} +5 -5
- package/dist/chunks/{formatter-wgcgxnpz.js → bus-jjapnhx6.js} +3 -3
- package/dist/chunks/{formatter-qk09twxp.js → bus-jzy2rg4w.js} +12 -12
- package/dist/chunks/{formatter-c5aq6n3b.js → bus-kcdjsgm9.js} +7 -7
- package/dist/chunks/{formatter-kvz7gft4.js → bus-kg0nn6m1.js} +3 -3
- package/dist/chunks/{formatter-gqf6jkd0.js → bus-kmphysr3.js} +13 -13
- package/dist/chunks/{formatter-bkbe2fp5.js → bus-kprffh1k.js} +12 -12
- package/dist/chunks/{formatter-46kx5wxz.js → bus-m2btv783.js} +11 -11
- package/dist/chunks/{formatter-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/bus-m5kkt6zs.js +26 -0
- package/dist/chunks/{formatter-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-4r1f55er.js → bus-mc494fkv.js} +16 -16
- package/dist/chunks/{formatter-mhkvc446.js → bus-mhkvc446.js} +1 -1
- package/dist/chunks/{formatter-37sjec0g.js → bus-mmj3etnc.js} +11 -11
- package/dist/chunks/{formatter-34nv4jvf.js → bus-mvr5bn4j.js} +12 -12
- package/dist/chunks/{formatter-enbm4ny7.js → bus-mxg2czg2.js} +15 -15
- package/dist/chunks/{formatter-82ppghe7.js → bus-n1y7d7jv.js} +5 -5
- package/dist/chunks/{formatter-wht0dt7x.js → bus-n3akjfbb.js} +3 -3
- package/dist/chunks/{formatter-dtv9hzvh.js → bus-n4avssqr.js} +21 -21
- package/dist/chunks/{formatter-d858xzj7.js → bus-nb9p6b26.js} +4 -4
- package/dist/chunks/{formatter-9rj3xa8n.js → bus-nbtewark.js} +15 -15
- package/dist/chunks/{formatter-aettmwyp.js → bus-nkcyb48x.js} +33 -33
- package/dist/chunks/{formatter-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{formatter-v1kad2yc.js → bus-ns2eanfy.js} +20 -20
- package/dist/chunks/{formatter-0fxerekh.js → bus-nzeerxgc.js} +7 -7
- package/dist/chunks/{formatter-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{formatter-ryvbxndv.js → bus-p139kq9c.js} +25 -25
- package/dist/chunks/{formatter-p28j5sbe.js → bus-p28j5sbe.js} +2 -2
- package/dist/chunks/{formatter-spettxyb.js → bus-p7r1y5kx.js} +3 -3
- package/dist/chunks/{formatter-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-qtdgjjy1.js → bus-pykab6j4.js} +11 -11
- package/dist/chunks/{formatter-yt4sqp67.js → bus-q4jz9h3x.js} +21 -21
- package/dist/chunks/{formatter-a002vgwb.js → bus-q6a741vd.js} +3 -3
- package/dist/chunks/{formatter-sxjzzd7x.js → bus-q6gqpcae.js} +7 -7
- package/dist/chunks/{formatter-g9nqk1j3.js → bus-q9jgfmem.js} +26 -26
- package/dist/chunks/{formatter-6gqwehnk.js → bus-qbfpstdc.js} +11 -11
- package/dist/chunks/{formatter-3fq7r9z3.js → bus-qf472px8.js} +28 -28
- package/dist/chunks/{formatter-pnv527nz.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{formatter-wgdgcqs0.js → bus-qgw0maww.js} +23 -23
- package/dist/chunks/{formatter-98ms71gf.js → bus-qhxefk9a.js} +11 -11
- package/dist/chunks/{formatter-d78wf4jw.js → bus-qr8h26wd.js} +11 -11
- package/dist/chunks/{formatter-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-86d6e2n1.js → bus-rfj6pkw1.js} +33 -33
- package/dist/chunks/{formatter-xc7y8sbe.js → bus-rhykyrb3.js} +27 -27
- package/dist/chunks/{formatter-gaftdbkr.js → bus-rped87jq.js} +35 -35
- package/dist/chunks/{formatter-f7c5yctb.js → bus-rvgr0dnq.js} +3 -3
- package/dist/chunks/{formatter-7tmymnpd.js → bus-s0fe0qa9.js} +9 -9
- package/dist/chunks/{formatter-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
- package/dist/chunks/{formatter-vavx823f.js → bus-saatj7sj.js} +11 -11
- package/dist/chunks/{formatter-cacz7m9f.js → bus-sgz639f1.js} +17 -17
- package/dist/chunks/{formatter-w6fn3d5n.js → bus-sscd0z9x.js} +4 -4
- package/dist/chunks/{formatter-jfq5ya7h.js → bus-sskj22e4.js} +29 -29
- package/dist/chunks/{formatter-4h2p8nkm.js → bus-t2ps0g64.js} +9 -9
- package/dist/chunks/{formatter-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-q3thq4d0.js → bus-td6h23sg.js} +5 -5
- package/dist/chunks/{formatter-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-e8ym8eqq.js → bus-tehawftv.js} +16 -16
- package/dist/chunks/{formatter-mxz1spxe.js → bus-tggcyvkj.js} +13 -13
- package/dist/chunks/{formatter-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-ax3z2rcn.js → bus-v9j9833d.js} +6 -6
- package/dist/chunks/{formatter-d650b0nm.js → bus-vbs1nqmn.js} +18 -18
- package/dist/chunks/{formatter-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-2bh5apgf.js → bus-vgmgvddh.js} +26 -26
- package/dist/chunks/{formatter-j83byb14.js → bus-vncycja5.js} +4 -4
- package/dist/chunks/{formatter-vbgqmq0k.js → bus-vskbemtc.js} +34 -34
- package/dist/chunks/{formatter-5fyzcds6.js → bus-vy4e6tmv.js} +24 -24
- package/dist/chunks/{formatter-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-w7m5m02k.js → bus-w0ksh1wc.js} +27 -27
- package/dist/chunks/{formatter-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-j9gazmrb.js → bus-wb3k4ach.js} +5 -5
- package/dist/chunks/{formatter-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-6ctg8cmm.js → bus-whw3a6ka.js} +11 -11
- package/dist/chunks/{formatter-rmf8y2x7.js → bus-wz82dyvb.js} +19 -19
- package/dist/chunks/{formatter-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-tx9w5tca.js → bus-x353b1jt.js} +8 -8
- package/dist/chunks/{formatter-2jshy6k2.js → bus-x4aqctta.js} +4 -4
- package/dist/chunks/{formatter-zyrceszn.js → bus-x7ksmd0v.js} +168 -168
- package/dist/chunks/{formatter-zs0nrmpk.js → bus-xee2b91r.js} +10 -10
- package/dist/chunks/{formatter-29bjb6a3.js → bus-xfe7h115.js} +17 -17
- package/dist/chunks/{formatter-4r6m9py7.js → bus-xj3yf2be.js} +18 -18
- package/dist/chunks/{formatter-52vhye62.js → bus-xjk1tc7r.js} +22 -22
- package/dist/chunks/{formatter-hn6dtez2.js → bus-xm4abfw6.js} +22 -22
- package/dist/chunks/{formatter-b5wchtbc.js → bus-xrfzp3qw.js} +20 -20
- package/dist/chunks/{formatter-0v0eynhg.js → bus-xxbvdv54.js} +9 -9
- package/dist/chunks/{formatter-4zaq21pg.js → bus-xxq58sya.js} +13 -13
- package/dist/chunks/{formatter-yp6mbb9j.js → bus-y05z3yvm.js} +27 -27
- package/dist/chunks/{formatter-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-c488s98d.js → bus-y5df08dr.js} +5 -5
- package/dist/chunks/{formatter-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-c61a4c85.js → bus-y7nx0r49.js} +24 -24
- package/dist/chunks/{formatter-c0m9hyz0.js → bus-ya6jt93q.js} +9 -9
- package/dist/chunks/{formatter-na2nrvv6.js → bus-yeh1225a.js} +27 -27
- package/dist/chunks/{formatter-xtdfp5ze.js → bus-ymh54tbp.js} +17 -17
- package/dist/chunks/{formatter-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
- package/dist/chunks/{formatter-4d3mce5a.js → bus-ypmjrw8q.js} +37 -37
- package/dist/chunks/{formatter-2cyr096t.js → bus-yqmax6eh.js} +4 -4
- package/dist/chunks/{formatter-ft01kdnj.js → bus-yqphrj09.js} +4 -4
- package/dist/chunks/{formatter-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-0f9afca0.js → bus-yt0fqk68.js} +5 -5
- package/dist/chunks/{formatter-dqcgfggf.js → bus-yyhbbs14.js} +10 -10
- package/dist/chunks/{formatter-vy8be3j0.js → bus-yzrekgkv.js} +5 -5
- package/dist/chunks/{formatter-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-jjp0yg0r.js → bus-z2m37x9y.js} +16 -16
- package/dist/chunks/{formatter-nvb1qhwk.js → bus-z45f81hm.js} +9 -9
- package/dist/chunks/{formatter-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-akrnn5pm.js → bus-za9cx4qh.js} +8 -8
- package/dist/chunks/{formatter-858xx9fq.js → bus-zawb9p3e.js} +3 -3
- package/dist/chunks/{formatter-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-1pj95ama.js → bus-zk0vgq9k.js} +8 -8
- package/dist/chunks/{formatter-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-qb5946j2.js → bus-ztvng5ec.js} +16 -16
- package/dist/chunks/{formatter-pxcfj33x.js → bus-zvtp3jyd.js} +18 -18
- package/dist/chunks/{formatter-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- 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 +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/formatter-9sd31a58.js +0 -26
- package/dist/chunks/formatter-hxa7m5za.js +0 -4
- package/dist/chunks/formatter-q509s3k3.js +0 -18
- package/dist/chunks/formatter-s0mep9za.js +0 -252
- /package/dist/chunks/{formatter-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_skills };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-1rfd4xxr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./bus-d4g3vwm5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./bus-a4rjqnpf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-dpehwp0a.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./bus-72macrbw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service26,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-nbtewark.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin6,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin6 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service53;
|
|
112
|
+
const access = yield* Service26;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
115
|
const location = yield* Service79;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service61;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin39 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output3, toModelContent2, Plugin6, exports_patch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-cavr175a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./bus-za9cx4qh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info10
|
|
12
|
+
} from "./bus-37s12vcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./bus-g8d3gcyj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info17
|
|
18
|
+
} from "./bus-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./bus-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./bus-g0b57gve.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./bus-17gne236.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./bus-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-44jp0xn3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node48
|
|
7
|
+
} from "./bus-xjk1tc7r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./bus-fp3b2tyn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service35
|
|
14
|
+
} from "./bus-619r8v3y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node15,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-vbs1nqmn.js";
|
|
19
19
|
import {
|
|
20
20
|
Service3,
|
|
21
21
|
node5
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-dv1qgsyq.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-2r959258.js";
|
|
27
27
|
import {
|
|
28
28
|
make4,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-td6h23sg.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
Service5,
|
|
34
|
-
node7
|
|
35
|
-
} from "./formatter-z9s6ggjz.js";
|
|
36
|
-
import {
|
|
37
33
|
Service4,
|
|
38
34
|
node6
|
|
39
|
-
} from "./
|
|
35
|
+
} from "./bus-0cbj8ajh.js";
|
|
36
|
+
import {
|
|
37
|
+
Service7,
|
|
38
|
+
node9
|
|
39
|
+
} from "./bus-82rhge12.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./bus-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
128
|
+
const registry = yield* Service35;
|
|
129
|
+
const sdk = yield* Service4;
|
|
130
130
|
const instance = yield* Service3;
|
|
131
|
-
const sources = yield*
|
|
131
|
+
const sources = yield* Service9;
|
|
132
132
|
const modules = yield* make4();
|
|
133
133
|
const bus = yield* Service82;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service7;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
node15,
|
|
210
|
+
node6,
|
|
211
211
|
node5,
|
|
212
|
+
node11,
|
|
212
213
|
node9,
|
|
213
|
-
node6,
|
|
214
214
|
node86,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node48,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-72macrbw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin28 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin28, exports_plan };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service56,
|
|
3
|
+
node59,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-8jr144xf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node53
|
|
9
|
+
} from "./bus-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
Service14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-f010ntnv.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-2h9152w8.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service56, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node53.replace(Layer.succeed(Service51, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node59.replace(Layer.succeed(Service56, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-72macrbw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service40,
|
|
13
|
+
node43
|
|
14
|
+
} from "./bus-cktevt8v.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./bus-d3s8mw9x.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions2 = {};
|
|
25
25
|
__export(exports_instructions2, {
|
|
26
26
|
McpInstructions: () => exports_instructions2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
layer: () => layer11,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer11 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service40;
|
|
69
|
+
return Service31.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
74
|
const source = (value) => make21({
|
|
75
|
-
key:
|
|
75
|
+
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node35 = makeLocationNode({ service: Service31, layer: layer11, deps: [node43] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer11, node35, exports_instructions2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service65,
|
|
10
|
+
node: () => node69
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service65 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service65.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node69 = makeLocationNode({ service: Service65, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service65, node69, exports_hooks };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-2e96adxv.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-72macrbw.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-7dz8p9xt.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-xxq58sya.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|