@opencode/core 0.0.0-dev-20352 → 0.0.0-dev-20356
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-c004dztw.js → project-01b2nk25.js} +15 -15
- package/dist/chunks/{repository-nhhjke7j.js → project-072d3ke0.js} +32 -32
- package/dist/chunks/{repository-xkvh4geq.js → project-0878msad.js} +14 -14
- package/dist/chunks/{repository-q5eaght4.js → project-0aqwtw9c.js} +13 -13
- package/dist/chunks/{repository-rhjbct0v.js → project-0gdmqesm.js} +4 -4
- package/dist/chunks/{repository-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-510m7gjw.js → project-0r7yqxbf.js} +5 -5
- package/dist/chunks/{repository-8v0wpe9a.js → project-0s7psmf3.js} +1 -1
- package/dist/chunks/{repository-egzk107n.js → project-0yzz1bpd.js} +26 -26
- package/dist/chunks/{repository-f6crgew4.js → project-14pjqsw5.js} +35 -35
- package/dist/chunks/{repository-cgrhxsa3.js → project-17s5n6t0.js} +86 -86
- package/dist/chunks/{repository-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-jykef5d1.js → project-1enaff33.js} +6 -6
- package/dist/chunks/{repository-2f1nz937.js → project-1hzm83a3.js} +13 -13
- package/dist/chunks/{repository-68nshxa6.js → project-1qpfrbew.js} +8 -8
- package/dist/chunks/{repository-t4mkatd1.js → project-1shstth8.js} +15 -15
- package/dist/chunks/{repository-rk6rxajv.js → project-1tyxkk7v.js} +32 -32
- package/dist/chunks/{repository-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{repository-651j3map.js → project-29qm0wq5.js} +23 -23
- package/dist/chunks/{repository-ze5v0a14.js → project-2a4f6v5q.js} +5 -5
- package/dist/chunks/{repository-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-sthvb5x1.js → project-2d8g41z0.js} +5 -5
- package/dist/chunks/{repository-1t78xq53.js → project-2tb6ny1p.js} +32 -32
- package/dist/chunks/{repository-3evcb5zj.js → project-3856nbqk.js} +16 -16
- package/dist/chunks/{repository-1htr6rpv.js → project-395kcsa0.js} +6 -6
- package/dist/chunks/{repository-kafqk5jk.js → project-39nh3gac.js} +11 -11
- package/dist/chunks/{repository-j7ym9e45.js → project-3bxd3j1q.js} +6 -6
- package/dist/chunks/{repository-wvk32vad.js → project-3ca0bmfd.js} +29 -29
- package/dist/chunks/{repository-c78bbtc9.js → project-3cfzdc8e.js} +5 -5
- package/dist/chunks/{repository-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-2wzypx1n.js → project-3j6fv4nn.js} +17 -17
- package/dist/chunks/{repository-q6xx7p24.js → project-3s53nyp7.js} +24 -24
- package/dist/chunks/{repository-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-c4tdq55k.js → project-40ctg4xk.js} +23 -23
- package/dist/chunks/{repository-t5mjxwy3.js → project-4qg7k24a.js} +11 -11
- package/dist/chunks/{repository-2bkc2hwm.js → project-4qqqe9ph.js} +39 -39
- package/dist/chunks/{repository-68hr7k1q.js → project-4sg0qqqr.js} +12 -12
- package/dist/chunks/{repository-2h1t32pr.js → project-4ytqk5q0.js} +32 -32
- package/dist/chunks/{repository-j6rk38x8.js → project-52d0evsq.js} +6 -6
- package/dist/chunks/{repository-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-1ygqh575.js → project-56gdpj1q.js} +9 -9
- package/dist/chunks/{repository-mw7g4815.js → project-57dkzzcj.js} +10 -10
- package/dist/chunks/{repository-57ez7d0k.js → project-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-hysc82bv.js → project-5cks982w.js} +6 -6
- package/dist/chunks/{repository-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-189qmn9h.js → project-5kmj8a77.js} +15 -15
- package/dist/chunks/{repository-62ejqpb6.js → project-5m8wngbv.js} +18 -18
- package/dist/chunks/{repository-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-qgn6gcr1.js → project-607tc6va.js} +5 -5
- package/dist/chunks/{repository-9nepbqpa.js → project-64mbz47k.js} +6 -6
- package/dist/chunks/{repository-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{repository-xgq8gdmp.js → project-6a90sj0r.js} +20 -20
- package/dist/chunks/{repository-pg6spdy4.js → project-6c2v4ws9.js} +22 -22
- package/dist/chunks/{repository-07770t2t.js → project-6d6xcght.js} +6 -6
- package/dist/chunks/{repository-tv69crpr.js → project-6de9kzwx.js} +23 -23
- package/dist/chunks/{repository-d3k17np3.js → project-6f50nh7r.js} +7 -7
- package/dist/chunks/{repository-8tpf93gf.js → project-6j2q8pwq.js} +5 -5
- package/dist/chunks/{repository-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-6vjt9qdm.js → project-6r8gf4vt.js} +10 -10
- package/dist/chunks/{repository-jegft3cb.js → project-6v6z346v.js} +3 -3
- package/dist/chunks/{repository-q31akcb0.js → project-6xfxz08t.js} +17 -17
- package/dist/chunks/{repository-phrv7jvf.js → project-6xzdaz95.js} +10 -10
- package/dist/chunks/{repository-ct075mb4.js → project-6zkzrtmg.js} +27 -27
- package/dist/chunks/{repository-hrr95837.js → project-77vbs49e.js} +25 -25
- package/dist/chunks/{repository-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-hqz04k4r.js → project-7fywwnp8.js} +5 -5
- package/dist/chunks/{repository-0k2wfs9t.js → project-7k5g5h3h.js} +11 -11
- package/dist/chunks/{repository-sk0a9wxs.js → project-7kzmyqxz.js} +24 -24
- package/dist/chunks/{repository-hyd6jxmg.js → project-7maxm005.js} +36 -36
- package/dist/chunks/{repository-yt87a29d.js → project-7zdfjpaf.js} +8 -8
- package/dist/chunks/{repository-z3bmnw1t.js → project-7zhqx0r2.js} +17 -17
- package/dist/chunks/{repository-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{repository-dpvyfqkt.js → project-8ay87enk.js} +13 -13
- package/dist/chunks/{repository-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-eeaf82dq.js → project-8n69n882.js} +8 -8
- package/dist/chunks/{repository-ryxzv394.js → project-8p1n5kzm.js} +1 -1
- package/dist/chunks/{repository-n118nb8y.js → project-8t1g6eyt.js} +31 -31
- package/dist/chunks/{repository-z0tnxes5.js → project-8y61pqpd.js} +7 -7
- package/dist/chunks/{repository-gfvb90ym.js → project-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-5g3whhj5.js → project-9bf000qt.js} +11 -11
- package/dist/chunks/{repository-fqkxgm96.js → project-9tef4xa6.js} +25 -25
- package/dist/chunks/{repository-vgepzxbh.js → project-9x77fmbz.js} +4 -4
- package/dist/chunks/{repository-ggxxq9e3.js → project-9y2xma3b.js} +18 -18
- package/dist/chunks/{repository-pmrjrcra.js → project-9ybqhkdr.js} +4 -4
- package/dist/chunks/project-9zdhvgqs.js +18 -0
- package/dist/chunks/{repository-d2aac7k2.js → project-a1a50ys5.js} +5 -5
- package/dist/chunks/{repository-11dqjexa.js → project-a3ftg8j6.js} +9 -9
- package/dist/chunks/{repository-1q5awywt.js → project-a694798e.js} +5 -5
- package/dist/chunks/{repository-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-68y7phbn.js → project-afed7ext.js} +5 -5
- package/dist/chunks/{repository-cjq0wb7m.js → project-ag37rm3p.js} +12 -12
- package/dist/chunks/project-agjs0zsw.js +26 -0
- package/dist/chunks/{repository-z8m9sg1x.js → project-amfjbzn6.js} +8 -8
- package/dist/chunks/{repository-vmej4yqe.js → project-avb1xd8t.js} +13 -13
- package/dist/chunks/{repository-3801kdgp.js → project-axs6pdy0.js} +5 -5
- package/dist/chunks/{repository-ceye5a6y.js → project-b2bq2q2h.js} +11 -11
- package/dist/chunks/{repository-4w4r35f3.js → project-b4cd6zbv.js} +41 -41
- package/dist/chunks/{repository-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-k0afheae.js → project-b6z5kj38.js} +26 -26
- package/dist/chunks/{repository-ph842b28.js → project-bacyadyn.js} +4 -4
- package/dist/chunks/{repository-r24thsjn.js → project-bekm1yvf.js} +4 -4
- package/dist/chunks/{repository-gb4bvp6x.js → project-bkhdt41m.js} +10 -10
- package/dist/chunks/{repository-h95gg6ea.js → project-bkjffg37.js} +26 -26
- package/dist/chunks/{repository-f4w8v7wm.js → project-bkr283zm.js} +36 -36
- package/dist/chunks/{repository-y8gv42p7.js → project-c2pegpsk.js} +21 -21
- package/dist/chunks/{repository-g190xswt.js → project-cavr175a.js} +4 -4
- package/dist/chunks/{repository-jdmpkwnd.js → project-cfebf2b3.js} +18 -18
- package/dist/chunks/{repository-1qts0z0q.js → project-cg278hgw.js} +11 -11
- package/dist/chunks/{repository-54tcyq79.js → project-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cqwfdt06.js → project-cmet8kw7.js} +22 -22
- package/dist/chunks/{repository-7v81x33d.js → project-csmvz898.js} +9 -9
- package/dist/chunks/{repository-ajmvp7mk.js → project-cyaky418.js} +3 -3
- package/dist/chunks/{repository-rh2hsk8b.js → project-cz67tnsk.js} +21 -21
- package/dist/chunks/{repository-0hf9g8pg.js → project-d1mtykxg.js} +6 -6
- package/dist/chunks/{repository-0cksrbmj.js → project-d7fjbfjm.js} +4 -4
- package/dist/chunks/{repository-45155fbs.js → project-dbqhdgwa.js} +9 -9
- package/dist/chunks/{repository-7jvsaej3.js → project-dc8a0e4c.js} +33 -33
- package/dist/chunks/{repository-k76fn4kw.js → project-ddt2bs9e.js} +4 -4
- package/dist/chunks/{repository-57b9ws8p.js → project-drwq78ky.js} +5 -5
- package/dist/chunks/{repository-261mrjx3.js → project-dzgh9fhm.js} +16 -16
- package/dist/chunks/{repository-qg932bxn.js → project-e72d9hmz.js} +12 -12
- package/dist/chunks/{repository-e926va73.js → project-easxsp29.js} +2 -2
- package/dist/chunks/{repository-714k4hxg.js → project-eatefz1s.js} +11 -11
- package/dist/chunks/{repository-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-ntffmwex.js → project-erdet7sg.js} +10 -10
- package/dist/chunks/{repository-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-pgtgcehs.js → project-ev5h5ydt.js} +16 -16
- package/dist/chunks/{repository-t9qyc2v5.js → project-ezzzks3g.js} +15 -15
- package/dist/chunks/{repository-dr6rw3cj.js → project-f2k3y3vz.js} +14 -14
- package/dist/chunks/{repository-1acjjqhc.js → project-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-hjxf57fq.js → project-f2vmp4t1.js} +5 -5
- package/dist/chunks/{repository-5et3b08f.js → project-f322zf8a.js} +10 -10
- package/dist/chunks/{repository-yf10kn3d.js → project-f7rj482f.js} +8 -8
- package/dist/chunks/{repository-818pfwc9.js → project-fad6j005.js} +8 -8
- package/dist/chunks/{repository-5nnetc6k.js → project-fcbbx3j9.js} +15 -15
- package/dist/chunks/{repository-k446xp98.js → project-fep3pdp6.js} +322 -322
- package/dist/chunks/{repository-c7wcnyb2.js → project-fjw551ks.js} +17 -17
- package/dist/chunks/{repository-zy5m56k1.js → project-fmj8bsa7.js} +50 -50
- package/dist/chunks/{repository-w83eeq1m.js → project-fqjdsq6b.js} +26 -26
- package/dist/chunks/{repository-g7ah9nn8.js → project-fzq9b8e0.js} +4 -4
- package/dist/chunks/{repository-zc13yrkz.js → project-g0shecj4.js} +18 -18
- package/dist/chunks/{repository-cs5pa8hc.js → project-g2xem7mq.js} +15 -15
- package/dist/chunks/{repository-qmqgtz8f.js → project-g6q9qykm.js} +9 -9
- package/dist/chunks/{repository-v5dkyp31.js → project-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-tf07drr7.js → project-gcvekh3w.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-624pvf4j.js → project-gec46073.js} +16 -16
- package/dist/chunks/{repository-3a83a0n4.js → project-gs3s1a1g.js} +8 -8
- package/dist/chunks/{repository-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-nqs75tn6.js → project-gycsprcg.js} +20 -20
- package/dist/chunks/{repository-8q7cq0y1.js → project-gynv5cx7.js} +2 -2
- package/dist/chunks/{repository-g5agzp2h.js → project-h6b02349.js} +5 -5
- package/dist/chunks/{repository-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-a3rxqfj7.js → project-h6wyq11a.js} +20 -20
- package/dist/chunks/{repository-w7zbkbxn.js → project-hqe4fdw9.js} +24 -24
- package/dist/chunks/{repository-sz5fezm3.js → project-hstednbn.js} +8 -8
- package/dist/chunks/{repository-xwh5h11n.js → project-htevdsp6.js} +16 -16
- package/dist/chunks/{repository-kwr781mf.js → project-hx9j0tnp.js} +35 -35
- package/dist/chunks/{repository-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-bm7e081z.js → project-j8xxef54.js} +4 -4
- package/dist/chunks/{repository-n3zs05y3.js → project-jaqv1zgp.js} +8 -8
- package/dist/chunks/{repository-4zvzj0v8.js → project-je116bp6.js} +25 -25
- package/dist/chunks/{repository-9pwzs4p0.js → project-jhkpzm07.js} +13 -13
- package/dist/chunks/{repository-p8zygv0q.js → project-jj9pxt8a.js} +2 -2
- package/dist/chunks/{repository-g913nc6q.js → project-jrc6xc47.js} +35 -35
- package/dist/chunks/{repository-cxvvms8d.js → project-jwv1tpse.js} +25 -25
- package/dist/chunks/{repository-nzks3jc8.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-5frpvc34.js → project-kbwf032e.js} +2 -2
- package/dist/chunks/{repository-g71p6t9p.js → project-kpt1qdq7.js} +11 -11
- package/dist/chunks/{repository-w8jykqna.js → project-kxeqqz93.js} +12 -12
- package/dist/chunks/{repository-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-kg69vmj2.js → project-m6m7f38k.js} +4 -4
- package/dist/chunks/{repository-84hyfrea.js → project-m9ty708k.js} +11 -11
- package/dist/chunks/{repository-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-mevypv3g.js → project-mcdwv36b.js} +11 -11
- package/dist/chunks/{repository-kba3fr7g.js → project-mhhs4gcd.js} +43 -43
- package/dist/chunks/{repository-mbkc2shv.js → project-mqp59dgv.js} +30 -30
- package/dist/chunks/{repository-e9ggwzdx.js → project-mv21s43e.js} +28 -28
- package/dist/chunks/{repository-gfx92qwz.js → project-mwhk2m9m.js} +5 -5
- package/dist/chunks/{repository-6tea82hd.js → project-mwx6kxq6.js} +11 -11
- package/dist/chunks/{repository-f14sxx3q.js → project-n1gphgks.js} +39 -39
- package/dist/chunks/{repository-679fyftg.js → project-n6ay0naj.js} +48 -48
- package/dist/chunks/{repository-57v3ej5y.js → project-n9cj0wre.js} +19 -19
- package/dist/chunks/{repository-427t97hr.js → project-ncnm8wen.js} +1 -1
- package/dist/chunks/{repository-fds2nvya.js → project-nt9whnnx.js} +20 -20
- package/dist/chunks/{repository-fcbbdvr4.js → project-nz3ky2x1.js} +5 -5
- package/dist/chunks/{repository-p5r3qn5k.js → project-nzep5kp0.js} +43 -43
- package/dist/chunks/{repository-qhb41jv0.js → project-pe58eyng.js} +9 -9
- package/dist/chunks/{repository-6ersrjne.js → project-pf2hb43r.js} +6 -6
- package/dist/chunks/{repository-t7rh5px3.js → project-pfvk3f1h.js} +10 -10
- package/dist/chunks/{repository-9hn6k4tm.js → project-phstrbs2.js} +8 -8
- package/dist/chunks/{repository-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{repository-nq7qbqzc.js → project-pnv527nz.js} +9 -9
- package/dist/chunks/{repository-wfv0ggfj.js → project-px6qakvs.js} +25 -25
- package/dist/chunks/{repository-amygrq69.js → project-pykhz9mf.js} +5 -5
- package/dist/chunks/{repository-eqbts54k.js → project-q5ny0xm2.js} +8 -8
- package/dist/chunks/{repository-5cc8va4r.js → project-q6ffwytb.js} +29 -29
- package/dist/chunks/{repository-sqzb8cf5.js → project-q6r2g4xj.js} +18 -18
- package/dist/chunks/project-qgym36w0.js +252 -0
- package/dist/chunks/{repository-e1yepcxr.js → project-qm4097qr.js} +3 -3
- package/dist/chunks/{repository-ty11c6cb.js → project-qnmpdahd.js} +48 -48
- package/dist/chunks/{repository-rac6q0fx.js → project-qq9nedxw.js} +17 -17
- package/dist/chunks/{repository-ncxk7mek.js → project-qrj3wnkg.js} +12 -12
- package/dist/chunks/{repository-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-5qkxfyep.js → project-qsxf26yz.js} +6 -6
- package/dist/chunks/{repository-2bvh0we5.js → project-qt41wyaw.js} +5 -5
- package/dist/chunks/{repository-ay26b5gj.js → project-qwz4cyrr.js} +14 -14
- package/dist/chunks/{repository-2m2430dv.js → project-qxbk3bdb.js} +17 -17
- package/dist/chunks/{repository-tkcsd86e.js → project-r0xrbqbv.js} +6 -6
- package/dist/chunks/{repository-cq196h5x.js → project-r2tk4372.js} +17 -17
- package/dist/chunks/{repository-fm7pkbpd.js → project-r3knsq37.js} +44 -44
- package/dist/chunks/{repository-fm6sh9qr.js → project-r4czcqfh.js} +8 -8
- package/dist/chunks/{repository-73tb2d7t.js → project-r5x6zcsm.js} +3 -3
- package/dist/chunks/{repository-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-js6wsnat.js → project-re3t6z20.js} +10 -10
- package/dist/chunks/{repository-6zchv2y5.js → project-rjb06q8w.js} +66 -66
- package/dist/chunks/{repository-1p07q0wb.js → project-rkprpv83.js} +4 -4
- package/dist/chunks/{repository-d30kejrb.js → project-snw098qj.js} +8 -8
- package/dist/chunks/{repository-xgz7xnxt.js → project-sr67wv65.js} +44 -44
- package/dist/chunks/{repository-c28rbkyy.js → project-t503hra4.js} +11 -11
- package/dist/chunks/{repository-ctst3a0g.js → project-t5p73v1q.js} +24 -24
- package/dist/chunks/{repository-t9zs3egg.js → project-t9zs3egg.js} +1 -1
- package/dist/chunks/{repository-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-bk7jaeqh.js → project-tazp3vs0.js} +4 -4
- package/dist/chunks/{repository-kn49tj2b.js → project-tcdk566h.js} +22 -22
- package/dist/chunks/{repository-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{repository-j6t7fyz5.js → project-tf6f15mf.js} +19 -19
- package/dist/chunks/{repository-gm80mkxd.js → project-tfb7wsn7.js} +11 -11
- package/dist/chunks/{repository-mws1fs1s.js → project-tj25kyyd.js} +6 -6
- package/dist/chunks/{repository-7x45ykdv.js → project-tj4fg8zh.js} +7 -7
- package/dist/chunks/{repository-90ns4yw4.js → project-tkmktw5m.js} +13 -13
- package/dist/chunks/{repository-z4wz31t7.js → project-tnj7w1ns.js} +85 -85
- package/dist/chunks/{repository-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-xp1f59hc.js → project-v28mczge.js} +22 -22
- package/dist/chunks/{repository-gtvp5jzx.js → project-v6t56ak3.js} +14 -14
- package/dist/chunks/{repository-8y978tw0.js → project-vdzkh65a.js} +15 -15
- package/dist/chunks/{repository-jds6geqk.js → project-veknk6k5.js} +9 -9
- package/dist/chunks/{repository-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-h713wcgv.js → project-vj6g15k9.js} +24 -24
- package/dist/chunks/{repository-kcwt9byc.js → project-vme540ew.js} +3 -3
- package/dist/chunks/{repository-1w6vsqf1.js → project-vz3kzhcq.js} +24 -24
- package/dist/chunks/{repository-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-n39pqsm3.js → project-w010rjay.js} +27 -27
- package/dist/chunks/{repository-nd3xy12x.js → project-w099a06a.js} +9 -9
- package/dist/chunks/{repository-va3kv9qe.js → project-w0gv56zd.js} +20 -20
- package/dist/chunks/{repository-84txncab.js → project-w1eejvng.js} +5 -5
- package/dist/chunks/{repository-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-6q6c536h.js → project-w8p5fr4d.js} +26 -26
- package/dist/chunks/{repository-psazpmmj.js → project-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{repository-4sgdpdjj.js → project-wgekj4qb.js} +3 -3
- package/dist/chunks/{repository-5vkcqs6a.js → project-wh0hmwac.js} +20 -20
- package/dist/chunks/{repository-vphpe97r.js → project-ws2zt9bt.js} +11 -11
- package/dist/chunks/{repository-nepvhc7d.js → project-wt0nnffb.js} +35 -35
- package/dist/chunks/{repository-j2xcdt51.js → project-wx196b1m.js} +23 -23
- package/dist/chunks/{repository-17e1d76f.js → project-x04bbqq1.js} +22 -22
- package/dist/chunks/{repository-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-h9pnpq88.js → project-x3gqap9d.js} +4 -4
- package/dist/chunks/{repository-xkntkrq7.js → project-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-zm8ah4y0.js → project-xs98p9c0.js} +3 -3
- package/dist/chunks/{repository-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dnxkq42g.js → project-y6bex35g.js} +4 -4
- package/dist/chunks/{repository-dpkg50ah.js → project-y71avatq.js} +4 -4
- package/dist/chunks/{repository-pfsc0j31.js → project-ybkv2jt6.js} +11 -11
- package/dist/chunks/{repository-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-hsf9s0cc.js → project-ysyj05xv.js} +27 -27
- package/dist/chunks/{repository-1x8cbfj5.js → project-yw5zhsjr.js} +6 -6
- package/dist/chunks/{repository-bjtzbw4r.js → project-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-0t8pzcx6.js → project-z59whknb.js} +173 -173
- package/dist/chunks/{repository-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-7sgf9crj.js → project-z88ew3v7.js} +11 -11
- package/dist/chunks/{repository-4h65bg6x.js → project-zb4gqkjh.js} +24 -24
- package/dist/chunks/{repository-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-j6f48vym.js → project-zg5102wc.js} +20 -20
- package/dist/chunks/{repository-5wekx1sj.js → project-zke1m8at.js} +20 -20
- package/dist/chunks/{repository-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-syf57q56.js → project-zsr4wwhv.js} +4 -4
- package/dist/chunks/{repository-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/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 +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +5 -5
- 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 +92 -92
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-1x11rq2a.js +0 -18
- package/dist/chunks/repository-cxer2zqt.js +0 -26
- package/dist/chunks/repository-qj0neyac.js +0 -252
- /package/dist/chunks/{repository-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-ysyj05xv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service61,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node64
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID11,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service61 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service61.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node64 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service61, locationLayer2, node64, exports_aisdk };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-9ybqhkdr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-jj9pxt8a.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service50,
|
|
14
|
+
node52
|
|
15
|
+
} from "./project-f2k3y3vz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service50;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node52]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service69,
|
|
10
|
+
node: () => node72
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service69 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service69.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service69, node72, exports_hooks };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-6v6z346v.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9ybqhkdr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./project-d1mtykxg.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service31
|
|
16
|
+
} from "./project-px6qakvs.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-52d0evsq.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./project-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service39;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service31;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service39;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service31;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID9 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID9,
|
|
7
|
+
export { ID9, Info20, SessionSchema2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make6,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -55,7 +55,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
55
55
|
return { retry: true, attempt, delay: normalized };
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
59
59
|
const decide = yield* policy2(sessionID);
|
|
60
60
|
const wait = (input) => Effect.gen(function* () {
|
|
61
61
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -72,4 +72,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
72
72
|
return { decide, wait };
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
export { isRetryable2, policy2,
|
|
75
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./project-c2pegpsk.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./project-fad6j005.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-fzq9b8e0.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./project-nzep5kp0.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin17
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin17 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service44;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin41 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID16.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID16.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin17, exports_agent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./project-zke1m8at.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-jj9pxt8a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./project-nzep5kp0.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service44;
|
|
40
|
+
const watcher = yield* Service45;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node46, FSUtil.node, node47, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-jj9pxt8a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-6v6z346v.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9ybqhkdr.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-wd3x2cqz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-z07pqspn.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-w0gv56zd.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./project-tazp3vs0.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./project-5kmj8a77.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./project-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./project-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node23
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node23, exports_projector };
|