@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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-1rfd4xxr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./bus-0j9y03t3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service24
|
|
12
|
+
} from "./bus-ztvng5ec.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin43
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin43 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service44;
|
|
34
34
|
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service24;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin28 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin43, exports_worktree };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./bus-a471nxk4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./bus-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service51;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service68), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-44jp0xn3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./bus-25trdgaf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./bus-y7nx0r49.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./bus-mvr5bn4j.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-2e96adxv.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-x4aqctta.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-q6a741vd.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service66;
|
|
58
|
+
const toolOutput = yield* Service47;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y5df08dr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service81;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make20 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service59,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node63
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service59 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service59.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node63 = makeLocationNode({ service: Service59, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service59, node63, exports_image2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-2s6k9xab.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-44jp0xn3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./bus-0qzv51dm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-7dz8p9xt.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-sskj22e4.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service82;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID13.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.transport = models.provider.get(model.providerID)?.provider.transport ?? "websocket";
|
|
200
200
|
if (!chatgpt)
|
|
@@ -223,9 +223,9 @@ var OpenAIPlugin2 = define({
|
|
|
223
223
|
evt.baseURL = codexBaseURL;
|
|
224
224
|
evt.headers.originator = "opencode";
|
|
225
225
|
evt.headers["session-id"] = evt.sessionID;
|
|
226
|
-
}), { providerID:
|
|
226
|
+
}), { providerID: ID13.openai });
|
|
227
227
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
228
|
-
yield* bus.subscribe(
|
|
228
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
function headers(contentType, app) {
|
|
@@ -316,4 +316,4 @@ function claim(token) {
|
|
|
316
316
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-44jp0xn3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node81,
|
|
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 Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
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,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).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 })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node86] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-44jp0xn3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event11,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service57,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer21,
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event11 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service57 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service57.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service57,
|
|
110
|
+
layer: layer21(options),
|
|
111
111
|
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node61 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event11, Options9, Service57, layer21, configured10, node61, exports_instruction_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-kcdjsgm9.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|