@opencode/core 0.0.0-dev-19317 → 0.0.0-dev-19323
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-8wsye86r.js → formatter-00832hy7.js} +8 -8
- package/dist/chunks/{repository-38sxx9hd.js → formatter-05dy3mmw.js} +32 -32
- package/dist/chunks/{repository-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-dj0r9pya.js → formatter-0rz3ymjm.js} +30 -30
- package/dist/chunks/{repository-2c593dpe.js → formatter-0zmbch9c.js} +29 -29
- package/dist/chunks/{repository-cct48r6v.js → formatter-15cfnja2.js} +19 -19
- package/dist/chunks/{repository-1awm1f41.js → formatter-15v2jbpx.js} +12 -12
- package/dist/chunks/{repository-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-1dfhrqqs.js → formatter-1dfhrqqs.js} +2 -2
- package/dist/chunks/{repository-71wj71z5.js → formatter-1djm1bap.js} +11 -11
- package/dist/chunks/{repository-pt8770bk.js → formatter-1dxndaps.js} +6 -6
- package/dist/chunks/{repository-9pntmsg4.js → formatter-1s5bbqd2.js} +5 -5
- package/dist/chunks/{repository-1ygqh575.js → formatter-1ygqh575.js} +2 -2
- package/dist/chunks/{repository-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{repository-2402vzrj.js → formatter-2402vzrj.js} +1 -1
- package/dist/chunks/{repository-16j2nq32.js → formatter-24yrwg43.js} +19 -19
- package/dist/chunks/{repository-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-2vgzs72b.js → formatter-2cmv458r.js} +5 -5
- package/dist/chunks/{repository-pk2244jm.js → formatter-2f04pwep.js} +3 -3
- package/dist/chunks/{repository-2f0bjgcj.js → formatter-2f0bjgcj.js} +2 -2
- package/dist/chunks/{repository-3kem7kwr.js → formatter-2g93c721.js} +16 -16
- package/dist/chunks/{repository-kpgmbxv4.js → formatter-2kahp3dy.js} +12 -12
- package/dist/chunks/{repository-50364jye.js → formatter-2m5q4n8f.js} +46 -46
- package/dist/chunks/{repository-yy3gmdz3.js → formatter-2nbt55tc.js} +8 -8
- package/dist/chunks/{repository-9cq2d911.js → formatter-2q8hwwwc.js} +11 -11
- package/dist/chunks/{repository-fa62265d.js → formatter-2re99ccz.js} +17 -17
- package/dist/chunks/{repository-1ajye52f.js → formatter-2ymxn29j.js} +22 -22
- package/dist/chunks/{repository-89scvk1m.js → formatter-2z1344gj.js} +3 -3
- package/dist/chunks/{repository-f8q7mv7a.js → formatter-380vjcmd.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-y7vh14v8.js → formatter-3mea1sze.js} +11 -11
- package/dist/chunks/{repository-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-4cbfc9qt.js → formatter-3sv4a4je.js} +27 -27
- package/dist/chunks/{repository-txft1z8e.js → formatter-3swc72ss.js} +23 -23
- package/dist/chunks/{repository-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-p55xqwj6.js → formatter-3vq9ncec.js} +41 -41
- package/dist/chunks/{repository-gn1fbr6b.js → formatter-44c3xn2h.js} +9 -9
- package/dist/chunks/{repository-cjwramev.js → formatter-456sctqq.js} +8 -8
- package/dist/chunks/{repository-615kspf3.js → formatter-4999spj6.js} +30 -30
- package/dist/chunks/{repository-fgh0kbhd.js → formatter-4b6bntqd.js} +1 -1
- package/dist/chunks/{repository-s1taq3yv.js → formatter-4bajp7bm.js} +15 -15
- package/dist/chunks/{repository-r4prmjef.js → formatter-4gaxfmfs.js} +10 -10
- package/dist/chunks/{repository-ckjvqjqe.js → formatter-4vbphvac.js} +24 -24
- package/dist/chunks/{repository-z0tfr0p6.js → formatter-4wxgrd29.js} +4 -4
- package/dist/chunks/{repository-594bb0zr.js → formatter-507eqkq3.js} +14 -14
- package/dist/chunks/{repository-6cw0q144.js → formatter-54r2pn5z.js} +4 -4
- package/dist/chunks/{repository-wn91f6p1.js → formatter-56n5z1rw.js} +19 -19
- package/dist/chunks/{repository-mvptyta3.js → formatter-58gq70n5.js} +11 -11
- package/dist/chunks/{repository-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-n7698azc.js → formatter-5fs2kqn8.js} +15 -15
- package/dist/chunks/{repository-wt2bvgvt.js → formatter-5hzqjfjf.js} +11 -11
- package/dist/chunks/{repository-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-y01f7qch.js → formatter-5zrbqe2b.js} +19 -19
- package/dist/chunks/{repository-akymg2m4.js → formatter-5zx2pz03.js} +5 -5
- package/dist/chunks/{repository-hvbtbey6.js → formatter-608425eb.js} +10 -10
- package/dist/chunks/{repository-zhxw6mnd.js → formatter-63bt3mag.js} +2 -2
- package/dist/chunks/{repository-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{repository-164c4x8d.js → formatter-67kygeqd.js} +4 -4
- package/dist/chunks/{repository-zgjvenhq.js → formatter-69vs0mm5.js} +6 -6
- package/dist/chunks/{repository-tts5d3vq.js → formatter-6cybjkxz.js} +15 -15
- package/dist/chunks/{repository-mmwr6ta3.js → formatter-6ef2pfss.js} +16 -16
- package/dist/chunks/{repository-h7ygw6q4.js → formatter-6jnybvqn.js} +9 -9
- package/dist/chunks/{repository-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-nyw36zg8.js → formatter-6nm7gc1x.js} +17 -17
- package/dist/chunks/{repository-wr1pgfqd.js → formatter-6ppv86n3.js} +24 -24
- package/dist/chunks/{repository-t0db4qcz.js → formatter-6s6gjz7c.js} +10 -10
- package/dist/chunks/{repository-jyjh1hv5.js → formatter-6xkfsm7b.js} +9 -9
- package/dist/chunks/{repository-71q4at8m.js → formatter-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-mh0z80me.js → formatter-77tatc9x.js} +10 -10
- package/dist/chunks/{repository-43k15f45.js → formatter-78hqr335.js} +4 -4
- package/dist/chunks/{repository-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-76dvax8j.js → formatter-7czvajng.js} +26 -26
- package/dist/chunks/{repository-02smmm4r.js → formatter-7eze2gq5.js} +24 -24
- package/dist/chunks/{repository-vxwzppst.js → formatter-7t5cqd0r.js} +9 -9
- package/dist/chunks/{repository-fygdb7h7.js → formatter-7ybwwvvx.js} +3 -3
- package/dist/chunks/{repository-fmyvj1jr.js → formatter-7zdm33ac.js} +10 -10
- package/dist/chunks/{repository-x3et2xth.js → formatter-844ef7ks.js} +8 -8
- package/dist/chunks/{repository-arkn2b9y.js → formatter-85tfjvz5.js} +28 -28
- package/dist/chunks/{repository-swtg4spb.js → formatter-85w66kng.js} +9 -9
- package/dist/chunks/{repository-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-e3rrrskg.js → formatter-8fawk0wq.js} +4 -4
- package/dist/chunks/{repository-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-6xrzfrk8.js → formatter-8stavsj4.js} +20 -20
- package/dist/chunks/{repository-1f0q2knt.js → formatter-8zt8zdpt.js} +39 -39
- package/dist/chunks/{repository-rwey6xtr.js → formatter-90wxkfyp.js} +295 -295
- package/dist/chunks/{repository-9j04cpa9.js → formatter-9aw1sd75.js} +25 -25
- package/dist/chunks/{repository-f4ay2dft.js → formatter-9ph45b3w.js} +4 -4
- package/dist/chunks/{repository-hteedcyj.js → formatter-9tv941ec.js} +32 -32
- package/dist/chunks/{repository-1tjg7tvh.js → formatter-9zswys26.js} +9 -9
- package/dist/chunks/{repository-awakh2te.js → formatter-9zyah8pv.js} +29 -29
- package/dist/chunks/{repository-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-2qyxhzr1.js → formatter-a2rjx51z.js} +13 -13
- package/dist/chunks/{repository-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-k6mvgpmx.js → formatter-aasq3zsm.js} +13 -13
- package/dist/chunks/{repository-059964m6.js → formatter-aatmr98r.js} +46 -46
- package/dist/chunks/{repository-e72k63ab.js → formatter-apjqksq4.js} +3 -3
- package/dist/chunks/{repository-vmvf27d6.js → formatter-as2ntxq9.js} +17 -17
- package/dist/chunks/{repository-a08t2777.js → formatter-at0srrj9.js} +11 -11
- package/dist/chunks/{repository-zk0g9nwz.js → formatter-ax3qyspe.js} +10 -10
- package/dist/chunks/{repository-2bqak6vk.js → formatter-b0stxe20.js} +9 -9
- package/dist/chunks/{repository-k16ay38w.js → formatter-b2jx7zxs.js} +1 -1
- package/dist/chunks/{repository-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-983mj5wh.js → formatter-b7c0s4y2.js} +36 -36
- package/dist/chunks/{repository-cq37gk0t.js → formatter-bha4atvq.js} +4 -4
- package/dist/chunks/{repository-t5vzjtwz.js → formatter-bjkwvj0b.js} +21 -21
- package/dist/chunks/{repository-x5wwe36q.js → formatter-bkb79wpa.js} +8 -8
- package/dist/chunks/{repository-994195wy.js → formatter-bn7csmb0.js} +47 -47
- package/dist/chunks/{repository-4r8zj0xa.js → formatter-c23pbdtg.js} +10 -10
- package/dist/chunks/{repository-ahpy00m2.js → formatter-c2p1vz36.js} +25 -25
- package/dist/chunks/{repository-gszsphzc.js → formatter-cap7pekz.js} +5 -5
- package/dist/chunks/{repository-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-fcsd4zs5.js → formatter-cmaetz9z.js} +11 -11
- package/dist/chunks/{repository-hjza1htt.js → formatter-d0b9w6zn.js} +15 -15
- package/dist/chunks/{repository-nv9askeb.js → formatter-d1kz70d9.js} +12 -12
- package/dist/chunks/{repository-cb945wyk.js → formatter-d481hhja.js} +33 -33
- package/dist/chunks/{repository-yg76m3am.js → formatter-d9mhv265.js} +7 -7
- package/dist/chunks/{repository-wa9n8nyq.js → formatter-dep21bfz.js} +2 -2
- package/dist/chunks/{repository-7796pmke.js → formatter-dkg5h5h7.js} +38 -38
- package/dist/chunks/{repository-6zr7k3aq.js → formatter-dkp9jbyh.js} +16 -16
- package/dist/chunks/{repository-8w4ne1ng.js → formatter-dmec30x4.js} +25 -25
- package/dist/chunks/{repository-35adck8a.js → formatter-dsxwnv8x.js} +16 -16
- package/dist/chunks/{repository-8g9ptmgy.js → formatter-dyjcz8ay.js} +56 -56
- package/dist/chunks/{repository-47gsdddb.js → formatter-e82z9tr0.js} +4 -4
- package/dist/chunks/{repository-vzkegt94.js → formatter-e93dqa41.js} +56 -56
- package/dist/chunks/{repository-rhjbct0v.js → formatter-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-tbcgmyg4.js → formatter-eesadx08.js} +46 -46
- package/dist/chunks/{repository-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-n4w1yhk7.js → formatter-ezkasqsa.js} +20 -20
- package/dist/chunks/{repository-yfc3q1gy.js → formatter-f464wbzp.js} +11 -11
- package/dist/chunks/{repository-f828m53h.js → formatter-f828m53h.js} +2 -2
- package/dist/chunks/{repository-yzygp3kb.js → formatter-fbv7gz6y.js} +32 -32
- package/dist/chunks/{repository-vepva715.js → formatter-fcmtdmz7.js} +9 -9
- package/dist/chunks/{repository-qgn6gcr1.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{repository-9t7dzp30.js → formatter-fewmpqq2.js} +25 -25
- package/dist/chunks/{repository-bn183kc6.js → formatter-feyq9nz9.js} +20 -20
- package/dist/chunks/{repository-h165c536.js → formatter-fmwg5sj2.js} +16 -16
- package/dist/chunks/{repository-2p43b4z4.js → formatter-ft2ydrms.js} +8 -8
- package/dist/chunks/{repository-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-7hy3mtbm.js → formatter-fythdanz.js} +9 -9
- package/dist/chunks/{repository-wq9rcnez.js → formatter-g1qe0q0d.js} +32 -32
- package/dist/chunks/formatter-gbadjzag.js +4 -0
- package/dist/chunks/{repository-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-gdvy8fx6.js → formatter-gdvy8fx6.js} +1 -1
- package/dist/chunks/{repository-g8e8xch5.js → formatter-gkammdw2.js} +85 -85
- package/dist/chunks/{repository-bkqb0v3f.js → formatter-gv6qs0q8.js} +6 -6
- package/dist/chunks/{repository-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-9kp37p9x.js → formatter-h11qs7jk.js} +17 -17
- package/dist/chunks/{repository-tfngb0ww.js → formatter-h1n238ac.js} +4 -4
- package/dist/chunks/{repository-sbnsh8k5.js → formatter-h2r7bbkd.js} +6 -6
- package/dist/chunks/{repository-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-qsdt89h7.js → formatter-hden6f01.js} +22 -22
- package/dist/chunks/{repository-g71p6t9p.js → formatter-hmq6fc40.js} +11 -11
- package/dist/chunks/{repository-embw8kgh.js → formatter-hn57h045.js} +4 -4
- package/dist/chunks/{repository-ebn37zs9.js → formatter-hz7rxrk4.js} +20 -20
- package/dist/chunks/{repository-v9t95238.js → formatter-j08z5txv.js} +17 -17
- package/dist/chunks/{repository-2ehqxkpw.js → formatter-j3xb24h1.js} +12 -12
- package/dist/chunks/{repository-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-3dj2kwsy.js → formatter-j6mvre0g.js} +21 -21
- package/dist/chunks/{repository-66v2kt92.js → formatter-jakejc1k.js} +41 -41
- package/dist/chunks/{repository-786rp8pk.js → formatter-jbfk6qbe.js} +11 -11
- package/dist/chunks/{repository-jqb83hwr.js → formatter-jg7bke4g.js} +25 -25
- package/dist/chunks/{repository-wjvnh3e5.js → formatter-jqb8tpfq.js} +2 -2
- package/dist/chunks/{repository-m27pyyd3.js → formatter-jtp7wgq3.js} +8 -8
- package/dist/chunks/{repository-jw80jp6b.js → formatter-jw80jp6b.js} +1 -1
- package/dist/chunks/{repository-66cmz1z4.js → formatter-jy5b41x9.js} +30 -30
- package/dist/chunks/{repository-0xvyn13b.js → formatter-jz0y62hq.js} +54 -54
- package/dist/chunks/{repository-bcn5dnkb.js → formatter-k52252t7.js} +4 -4
- package/dist/chunks/{repository-p66jjbas.js → formatter-k6f2n2fy.js} +8 -8
- package/dist/chunks/{repository-hrxs1993.js → formatter-k7d0894y.js} +6 -6
- package/dist/chunks/{repository-96yt6zt0.js → formatter-kcwf74x3.js} +1 -1
- package/dist/chunks/{repository-bh01taga.js → formatter-ke5bg3pe.js} +7 -7
- package/dist/chunks/{repository-36t2ng94.js → formatter-kfpqrvxm.js} +20 -20
- package/dist/chunks/{repository-kg06axw8.js → formatter-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-m23z2hgx.js → formatter-km6tcm3q.js} +43 -43
- package/dist/chunks/{repository-vbzh8kc2.js → formatter-kr779903.js} +32 -32
- package/dist/chunks/{repository-0bps82y7.js → formatter-kzd68pqg.js} +6 -6
- package/dist/chunks/{repository-tkms5754.js → formatter-m5gt6gr4.js} +27 -27
- package/dist/chunks/{repository-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-w4x6a4ey.js → formatter-mhj2gpj9.js} +3 -3
- package/dist/chunks/{repository-73tb2d7t.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{repository-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-8fkaqdjp.js → formatter-mmtbb532.js} +41 -41
- package/dist/chunks/{repository-k1dwx0ea.js → formatter-mqh1m71v.js} +6 -6
- package/dist/chunks/{repository-a4hnh0bm.js → formatter-mvb3ydwb.js} +11 -11
- package/dist/chunks/{repository-tq3zj2mx.js → formatter-nek9n16k.js} +4 -4
- package/dist/chunks/{repository-ttm38dpy.js → formatter-nvwrp1re.js} +3 -3
- package/dist/chunks/{repository-g48a3zmh.js → formatter-nwd5g3n7.js} +12 -12
- package/dist/chunks/{repository-yn917984.js → formatter-nxm2phx8.js} +13 -13
- package/dist/chunks/{repository-5kptn8c0.js → formatter-p1wf2k30.js} +9 -9
- package/dist/chunks/{repository-hkfg6fzm.js → formatter-p44d8wdy.js} +5 -5
- package/dist/chunks/{repository-6c6pe1h9.js → formatter-p5reg5b3.js} +20 -20
- package/dist/chunks/{repository-php4m0nf.js → formatter-p72z5xx6.js} +2 -2
- package/dist/chunks/{repository-msq0jde0.js → formatter-paegk39x.js} +4 -4
- package/dist/chunks/{repository-045wck3r.js → formatter-pbxc810x.js} +4 -4
- package/dist/chunks/{repository-s6wjkaab.js → formatter-pj6fq5pb.js} +16 -16
- package/dist/chunks/{repository-rk0rec3h.js → formatter-pjmw00w1.js} +9 -9
- package/dist/chunks/{repository-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{repository-kw9bzk6g.js → formatter-pm66mswd.js} +20 -20
- package/dist/chunks/{repository-vncycja5.js → formatter-pmr4s4kc.js} +4 -4
- package/dist/chunks/{repository-zsf3bcce.js → formatter-ptdz73pj.js} +14 -14
- package/dist/chunks/{repository-ksz0h0wp.js → formatter-q1c4k7jk.js} +1 -1
- package/dist/chunks/{repository-w3b0evb0.js → formatter-q3m0pvtr.js} +20 -20
- package/dist/chunks/{repository-1pdzqgga.js → formatter-qkcr7fg6.js} +22 -22
- package/dist/chunks/{repository-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-yjptyezs.js → formatter-qte5z7bc.js} +5 -5
- package/dist/chunks/{repository-kzx5e7cb.js → formatter-rbbz2e5e.js} +171 -171
- package/dist/chunks/{repository-476t6gmh.js → formatter-rdz329w6.js} +18 -18
- package/dist/chunks/{repository-tcjn4qbc.js → formatter-reydm93y.js} +39 -39
- package/dist/chunks/{repository-paks601p.js → formatter-rndh4q5e.js} +30 -30
- package/dist/chunks/{repository-r9babyk8.js → formatter-rstnkd3y.js} +1 -1
- package/dist/chunks/{repository-jb0x01rj.js → formatter-s2vccmkj.js} +26 -26
- package/dist/chunks/{repository-2d626495.js → formatter-sa2p75cm.js} +9 -9
- package/dist/chunks/{repository-zxy676qc.js → formatter-sdewe3f0.js} +17 -17
- package/dist/chunks/{repository-ww34bdfa.js → formatter-snkd7br7.js} +35 -35
- package/dist/chunks/{repository-a5tz83rk.js → formatter-spqcpneg.js} +6 -6
- package/dist/chunks/{repository-cpy6gm2a.js → formatter-ss0awb04.js} +4 -4
- package/dist/chunks/{repository-f76ze5tv.js → formatter-svnm6nqs.js} +33 -33
- package/dist/chunks/{repository-jhhkcjkk.js → formatter-swg097y1.js} +18 -18
- package/dist/chunks/{repository-6prdtfsq.js → formatter-sxtajyff.js} +9 -9
- package/dist/chunks/{repository-j9c14zc8.js → formatter-t8bhz2vr.js} +8 -8
- package/dist/chunks/{repository-z69s9t6b.js → formatter-t8r3ep1g.js} +5 -5
- package/dist/chunks/{repository-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{repository-qmxj8h0d.js → formatter-tfkarycn.js} +9 -9
- package/dist/chunks/{repository-gv6a8nnw.js → formatter-th5km1p3.js} +5 -5
- package/dist/chunks/{repository-jpcfnxx6.js → formatter-tnt0rc0p.js} +15 -15
- package/dist/chunks/{repository-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-gb6yb404.js → formatter-v13qk5h6.js} +35 -35
- package/dist/chunks/formatter-v1faaxn9.js +18 -0
- package/dist/chunks/{repository-jgw85x6m.js → formatter-v219cx7c.js} +20 -20
- package/dist/chunks/{repository-z2v8zvr3.js → formatter-v2e5xjra.js} +24 -24
- package/dist/chunks/{repository-ratrq7cm.js → formatter-v5dkyp31.js} +4 -4
- package/dist/chunks/{repository-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-9pn042z2.js → formatter-vjdqq2ps.js} +11 -11
- package/dist/chunks/{repository-4em4qkvj.js → formatter-vykq01h1.js} +22 -22
- package/dist/chunks/{repository-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-f28ytfvt.js → formatter-w1fjdxqa.js} +19 -19
- package/dist/chunks/{repository-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-p33ejz0k.js → formatter-w79zsp0s.js} +1 -1
- package/dist/chunks/{repository-m1kdqrrt.js → formatter-w8bn9h5m.js} +28 -28
- package/dist/chunks/{repository-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{repository-5ffk5gzk.js → formatter-wf7cxbta.js} +83 -83
- package/dist/chunks/{repository-qg6rt9vr.js → formatter-wpdn7j4k.js} +17 -17
- package/dist/chunks/{repository-2y34zzjz.js → formatter-wzz0kxab.js} +7 -7
- package/dist/chunks/{repository-3ythc6yv.js → formatter-x0511brf.js} +4 -4
- package/dist/chunks/{repository-6xyd484e.js → formatter-x0sgqvmj.js} +14 -14
- package/dist/chunks/{repository-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-zaph8b8m.js → formatter-x1vyefq1.js} +7 -7
- package/dist/chunks/{repository-x43y2vfs.js → formatter-x43y2vfs.js} +2 -2
- package/dist/chunks/{repository-bb1ss1nb.js → formatter-x6erhwpm.js} +25 -25
- package/dist/chunks/{repository-qa2rds3b.js → formatter-x77360f3.js} +25 -25
- package/dist/chunks/{repository-arbskmtj.js → formatter-xgwcrf73.js} +9 -9
- package/dist/chunks/{repository-h7q5ckcv.js → formatter-xnqgmrgw.js} +18 -18
- package/dist/chunks/{repository-n76fdqym.js → formatter-xsdh20fb.js} +5 -5
- package/dist/chunks/{repository-e5dbcc46.js → formatter-xyxwga5q.js} +8 -8
- package/dist/chunks/{repository-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-mf7gv44a.js → formatter-y1jmkgm7.js} +11 -11
- package/dist/chunks/formatter-y4zsdjyj.js +247 -0
- package/dist/chunks/{repository-wsnptkpy.js → formatter-y4zwryx6.js} +17 -17
- package/dist/chunks/{repository-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{repository-5naxf7j8.js → formatter-y7sdqeac.js} +3 -3
- package/dist/chunks/{repository-jk1sm5e0.js → formatter-ydmx1k2a.js} +26 -26
- package/dist/chunks/{repository-gs888y4z.js → formatter-yjhz1ss9.js} +8 -8
- package/dist/chunks/{repository-1acjjqhc.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-2pmrb1d6.js → formatter-yyaa3q2x.js} +7 -7
- package/dist/chunks/{repository-h0r85tvv.js → formatter-yzxhg32c.js} +11 -11
- package/dist/chunks/{repository-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-4c8re0tx.js → formatter-z2g5x8r4.js} +13 -13
- package/dist/chunks/{repository-z63w68vq.js → formatter-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-tesasq7y.js → formatter-z817eph2.js} +11 -11
- package/dist/chunks/{repository-bsbmndgv.js → formatter-zbgrd7e9.js} +1 -1
- package/dist/chunks/{repository-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-f0v0ycm1.js → formatter-zy6n9aja.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +78 -78
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/repository-0mesazry.js +0 -4
- package/dist/chunks/repository-phz3h32g.js +0 -18
- package/dist/chunks/repository-tb3zndzb.js +0 -247
- /package/dist/chunks/{repository-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a1tpkmh4.js → formatter-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → formatter-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → formatter-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info30,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-2f04pwep.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-y7sdqeac.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service79,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-8fawk0wq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service74,
|
|
20
|
+
node79
|
|
21
|
+
} from "./formatter-jakejc1k.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service40,
|
|
24
|
+
node44
|
|
25
|
+
} from "./formatter-kzd68pqg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node43
|
|
34
|
+
} from "./formatter-5zrbqe2b.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-bha4atvq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./formatter-2re99ccz.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./formatter-dkp9jbyh.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node38
|
|
51
|
+
} from "./formatter-hmq6fc40.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
MessageNotAssistantError2,
|
|
56
56
|
MessageIncompleteError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./formatter-k7d0894y.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput4,
|
|
70
|
+
Service70,
|
|
71
|
+
node75
|
|
72
|
+
} from "./formatter-x0sgqvmj.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service64,
|
|
75
|
+
node69
|
|
76
|
+
} from "./formatter-4bajp7bm.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service37,
|
|
79
|
+
node42
|
|
80
|
+
} from "./formatter-snkd7br7.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./formatter-5t3nmthw.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service27,
|
|
86
|
+
node31
|
|
87
|
+
} from "./formatter-6xkfsm7b.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./formatter-fmwg5sj2.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./formatter-ft2ydrms.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service22,
|
|
99
|
+
node26
|
|
100
|
+
} from "./formatter-e93dqa41.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service50,
|
|
103
|
+
node54
|
|
104
|
+
} from "./formatter-00832hy7.js";
|
|
105
105
|
import {
|
|
106
|
-
|
|
107
|
-
} from "./
|
|
106
|
+
make12
|
|
107
|
+
} from "./formatter-d481hhja.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./formatter-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,9 +118,9 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID16,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info30,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
125
|
ListInput: () => ListInput3,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
@@ -128,14 +128,14 @@ __export(exports_session, {
|
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
129
129
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
|
-
NotFoundError: () =>
|
|
131
|
+
NotFoundError: () => NotFoundError9,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service20,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node24
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
148
|
-
var ListInput3 =
|
|
149
|
-
class
|
|
148
|
+
var ListInput3 = ListInput4;
|
|
149
|
+
class Service20 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
153
|
const database = yield* Service80;
|
|
154
154
|
const db = database.db;
|
|
155
155
|
const bus = yield* Service79;
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
156
|
+
const projects = yield* Service74;
|
|
157
|
+
const execution = yield* Service37;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
165
|
-
const sessions = yield*
|
|
159
|
+
const transport = yield* Service27;
|
|
160
|
+
const store = yield* Service70;
|
|
161
|
+
const instances = yield* Service40;
|
|
162
|
+
const moves = yield* Service22;
|
|
163
|
+
const jobs = yield* Service64;
|
|
164
|
+
const environments = yield* Service50;
|
|
165
|
+
const sessions = yield* make12();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service20.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
172
172
|
return recorded;
|
|
173
173
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
174
174
|
if (input.parentID && parent === undefined)
|
|
175
|
-
return yield* new
|
|
175
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
176
176
|
const location = parent?.location ?? input.location;
|
|
177
177
|
if (location === undefined)
|
|
178
178
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node24 = Node.makeGlobalNode({
|
|
314
|
+
service: Service20,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
node69,
|
|
318
|
+
node54,
|
|
319
319
|
node85,
|
|
320
320
|
node84,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
node35,
|
|
324
|
-
llmClient2,
|
|
325
|
-
node58,
|
|
326
|
-
node53,
|
|
327
|
-
node52,
|
|
328
|
-
node30,
|
|
321
|
+
node79,
|
|
322
|
+
node42,
|
|
329
323
|
node31,
|
|
324
|
+
llmClient2,
|
|
325
|
+
node75,
|
|
326
|
+
node44,
|
|
327
|
+
node43,
|
|
328
|
+
node26,
|
|
329
|
+
node27,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node38
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2, ListInput3,
|
|
335
|
+
export { ListAnchor2, ListInput3, Service20, node24, exports_session };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID5,
|
|
3
|
+
Service55
|
|
4
|
+
} from "./formatter-jy5b41x9.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-jtp7wgq3.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service55;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID5.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-8fawk0wq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./formatter-kr779903.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./formatter-4vbphvac.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./formatter-nwd5g3n7.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-k7d0894y.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-pbxc810x.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-nvwrp1re.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-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* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service62;
|
|
58
|
+
const toolOutput = yield* Service51;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-jtp7wgq3.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-15v2jbpx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info17
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info16
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info16, exports_agent3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./formatter-h2r7bbkd.js";
|
|
10
10
|
import {
|
|
11
11
|
Info18
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Info15
|
|
15
|
-
} from "./repository-ratrq7cm.js";
|
|
12
|
+
} from "./formatter-2f0bjgcj.js";
|
|
16
13
|
import {
|
|
17
14
|
Info12
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./formatter-v5dkyp31.js";
|
|
16
|
+
import {
|
|
17
|
+
Info14
|
|
18
|
+
} from "./formatter-p44d8wdy.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-fcrkznn8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./formatter-qte5z7bc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info11
|
|
27
|
+
} from "./formatter-reydm93y.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 "./formatter-h1n238ac.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./formatter-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,7 +84,7 @@ 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(Info11.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
90
|
const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : 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, Info12, ["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, Info16, ["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, Info16, ["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(Info14, 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(Info19, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make15,
|
|
13
|
+
node: () => node38,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make15()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make15(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make15(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node38 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make15, useragent2, layer17, configured6, node38, exports_app };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service38, exports_runner };
|