@opencode/core 0.0.0-dev-20583 → 0.0.0-dev-20587
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/{file-mutation-fbck328a.js → reference-0a424z4m.js} +24 -24
- package/dist/chunks/{file-mutation-tmjgp03p.js → reference-0dh5pvxp.js} +37 -37
- package/dist/chunks/{file-mutation-zkpkevqb.js → reference-0fmqyjny.js} +17 -17
- package/dist/chunks/{file-mutation-q0xm7vwc.js → reference-0j77ygfz.js} +6 -6
- package/dist/chunks/{file-mutation-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-eea3fma5.js → reference-0te1aq7m.js} +29 -29
- package/dist/chunks/{file-mutation-j4k4y6cp.js → reference-0v0fh1f4.js} +44 -44
- package/dist/chunks/{file-mutation-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-rpfmaskv.js → reference-0w7ej8g6.js} +86 -86
- package/dist/chunks/reference-0yw8jrmx.js +26 -0
- package/dist/chunks/{file-mutation-2cwknq7w.js → reference-13st69t8.js} +11 -11
- package/dist/chunks/{file-mutation-rzg0yy35.js → reference-18pd0k8w.js} +11 -11
- package/dist/chunks/{file-mutation-1r1edwa1.js → reference-1ahxm6sd.js} +33 -33
- package/dist/chunks/{file-mutation-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-1dvck2a7.js → reference-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-mutation-sazhseep.js → reference-1hj56dzs.js} +13 -13
- package/dist/chunks/{file-mutation-g1epjwmz.js → reference-1jy03gaj.js} +10 -7
- package/dist/chunks/{file-mutation-ts23464c.js → reference-1p07q0wb.js} +2 -2
- package/dist/chunks/{file-mutation-5s0bmr25.js → reference-1qnvanna.js} +21 -21
- package/dist/chunks/{file-mutation-97jxdyep.js → reference-1sx5ttk3.js} +45 -45
- package/dist/chunks/{file-mutation-47qpzrds.js → reference-1tdshpj3.js} +41 -41
- package/dist/chunks/{file-mutation-r6s1zymw.js → reference-1v231d3m.js} +35 -35
- package/dist/chunks/{file-mutation-8hkfkb27.js → reference-1xxd6k95.js} +8 -8
- package/dist/chunks/{file-mutation-9n9hgcd8.js → reference-276fgt7k.js} +18 -18
- package/dist/chunks/{file-mutation-cwsxj1fy.js → reference-28at9kpj.js} +16 -16
- package/dist/chunks/{file-mutation-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-10t9a2f3.js → reference-2c7hjkzv.js} +13 -13
- package/dist/chunks/{file-mutation-4ts7tf6z.js → reference-2ccvkpx1.js} +2 -2
- package/dist/chunks/{file-mutation-6hbe8yta.js → reference-2ghygp50.js} +10 -10
- package/dist/chunks/{file-mutation-qgn6gcr1.js → reference-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-f73rjn58.js → reference-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-mutation-wtr910ek.js → reference-2z6nk9rc.js} +17 -17
- package/dist/chunks/{file-mutation-77hgjsk3.js → reference-33vkvr6x.js} +32 -32
- package/dist/chunks/{file-mutation-rk1r2hx8.js → reference-3556dn8t.js} +1 -1
- package/dist/chunks/{file-mutation-g31erja1.js → reference-3cd9n481.js} +9 -9
- package/dist/chunks/{file-mutation-anfj9sc3.js → reference-3dptaw0d.js} +11 -11
- package/dist/chunks/{file-mutation-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-dzbkcwn2.js → reference-3v047kxf.js} +16 -16
- package/dist/chunks/{file-mutation-d7y24xev.js → reference-3yp4znr7.js} +13 -13
- package/dist/chunks/{file-mutation-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-dx2gcj3s.js → reference-40etmpxy.js} +20 -20
- package/dist/chunks/{file-mutation-ayb65py8.js → reference-4bevpzhv.js} +6 -6
- package/dist/chunks/{file-mutation-x48v3pqg.js → reference-4dq32q0a.js} +8 -8
- package/dist/chunks/{file-mutation-qpjyd557.js → reference-4h0sqrpn.js} +15 -15
- package/dist/chunks/{file-mutation-ehn96ckv.js → reference-4jrcr0tk.js} +17 -17
- package/dist/chunks/{file-mutation-93ygb5af.js → reference-4mwpykj0.js} +6 -6
- package/dist/chunks/{file-mutation-608kr7kb.js → reference-4n407jcq.js} +10 -10
- package/dist/chunks/{file-mutation-12wrqg79.js → reference-4rzegzkw.js} +20 -20
- package/dist/chunks/{file-mutation-w48dyk57.js → reference-4tbp73he.js} +11 -11
- package/dist/chunks/{file-mutation-ceetf7sw.js → reference-4ttn132a.js} +8 -8
- package/dist/chunks/{file-mutation-f29mbr7f.js → reference-4z58m4b4.js} +4 -4
- package/dist/chunks/{file-mutation-1kprmeav.js → reference-51r1ga28.js} +35 -35
- package/dist/chunks/{file-mutation-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-mfqp6xfm.js → reference-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-mutation-w19d8598.js → reference-57b9ws8p.js} +4 -4
- package/dist/chunks/{file-mutation-2w5dyyz8.js → reference-57e9z27j.js} +8 -8
- package/dist/chunks/{file-mutation-gbdpq833.js → reference-5cqz128n.js} +16 -16
- package/dist/chunks/{file-mutation-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-q752a12t.js → reference-5e1anv4t.js} +22 -22
- package/dist/chunks/{file-mutation-v03f7qed.js → reference-5eqgw8nb.js} +8 -8
- package/dist/chunks/{file-mutation-dsq8k9r4.js → reference-5ga8pmy8.js} +33 -33
- package/dist/chunks/{file-mutation-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-e2t1g78s.js → reference-5w2vcsqn.js} +180 -180
- package/dist/chunks/{file-mutation-7q62a8nt.js → reference-5w6ne2rj.js} +11 -11
- package/dist/chunks/{file-mutation-tfj6v96f.js → reference-60zx66yq.js} +46 -45
- package/dist/chunks/{file-mutation-dra5cftj.js → reference-6121h2h6.js} +2 -2
- package/dist/chunks/{file-mutation-s1wxmayf.js → reference-62rnp32c.js} +10 -10
- package/dist/chunks/{file-mutation-2j93mrye.js → reference-62txs9jh.js} +11 -11
- package/dist/chunks/{file-mutation-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-exm9kzsb.js → reference-6apts7gk.js} +5 -5
- package/dist/chunks/{file-mutation-94mz8ebf.js → reference-6jw82w3c.js} +25 -25
- package/dist/chunks/{file-mutation-0t7934bj.js → reference-6n0c2nxw.js} +37 -37
- package/dist/chunks/{file-mutation-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-mutation-71az546q.js → reference-71az546q.js} +2 -2
- package/dist/chunks/{file-mutation-sxsdhb2f.js → reference-75c7h6s3.js} +19 -19
- package/dist/chunks/{file-mutation-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-bx1kzrbd.js → reference-7mnt2941.js} +24 -24
- package/dist/chunks/{file-mutation-zy0jt0ey.js → reference-7r0707g4.js} +37 -37
- package/dist/chunks/{file-mutation-skq3snf0.js → reference-7zy8br1g.js} +3 -3
- package/dist/chunks/{file-mutation-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-wzpg4398.js → reference-89anvpvk.js} +5 -5
- package/dist/chunks/{file-mutation-6a6378pm.js → reference-8c1ypbfp.js} +23 -23
- package/dist/chunks/{file-mutation-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/reference-8eazr78z.js +253 -0
- package/dist/chunks/{file-mutation-166kng33.js → reference-8mbscqky.js} +8 -8
- package/dist/chunks/{file-mutation-gka6nvrt.js → reference-8zs2xvcx.js} +17 -17
- package/dist/chunks/{file-mutation-90hpmr2t.js → reference-906tg66d.js} +11 -11
- package/dist/chunks/{file-mutation-5cz6gggr.js → reference-9707ta7n.js} +24 -24
- package/dist/chunks/{file-mutation-vkt86nx4.js → reference-9bzydxt0.js} +21 -21
- package/dist/chunks/{file-mutation-9e5bzkjp.js → reference-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-mutation-sznyev98.js → reference-9eh6sf6d.js} +5 -5
- package/dist/chunks/{file-mutation-g5krbyz9.js → reference-9f35bx3k.js} +15 -15
- package/dist/chunks/{file-mutation-9qwqd80z.js → reference-9nxp2j1r.js} +12 -12
- package/dist/chunks/{file-mutation-cdbfhxhg.js → reference-9q26wnhp.js} +17 -17
- package/dist/chunks/reference-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-mutation-93t1mf90.js → reference-9sqgpkz6.js} +11 -11
- package/dist/chunks/{file-mutation-ft0c77xz.js → reference-a2xqkxgc.js} +18 -18
- package/dist/chunks/{file-mutation-48cwc0wb.js → reference-a7ykahx8.js} +22 -22
- package/dist/chunks/{file-mutation-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-gqtdsdt7.js → reference-addxnjmp.js} +4 -4
- package/dist/chunks/{file-mutation-79ajbfyg.js → reference-ae75as9k.js} +4 -4
- package/dist/chunks/{file-mutation-7tt1yyek.js → reference-aen5yss8.js} +20 -20
- package/dist/chunks/{file-mutation-eqv7r0bw.js → reference-as4zy6vm.js} +6 -6
- package/dist/chunks/{file-mutation-yjx32v1s.js → reference-as7cf5zz.js} +4 -4
- package/dist/chunks/{file-mutation-n9vhqagr.js → reference-avw4htaf.js} +26 -26
- package/dist/chunks/{file-mutation-49exe669.js → reference-axs6pdy0.js} +5 -5
- package/dist/chunks/{file-mutation-gapccta5.js → reference-axsdja44.js} +20 -20
- package/dist/chunks/{file-mutation-s1gjyzhy.js → reference-b5hvc6g6.js} +4 -4
- package/dist/chunks/{file-mutation-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-qvb3nf84.js → reference-be7qvw84.js} +8 -8
- package/dist/chunks/{file-mutation-0qtgexh9.js → reference-bgjpcfh1.js} +46 -46
- package/dist/chunks/{file-mutation-w7w59cfp.js → reference-bk2zmp9c.js} +13 -13
- package/dist/chunks/{file-mutation-btbmdjwj.js → reference-bp8fbaqn.js} +4 -4
- package/dist/chunks/{file-mutation-pa8pe2x7.js → reference-br0tr5aq.js} +8 -8
- package/dist/chunks/{file-mutation-9kr929zm.js → reference-brt5an88.js} +7 -7
- package/dist/chunks/{file-mutation-4rt0ga34.js → reference-bydnjh3t.js} +9 -9
- package/dist/chunks/{file-mutation-gez6wwhh.js → reference-c02d881x.js} +15 -15
- package/dist/chunks/{file-mutation-a8bn8zg0.js → reference-c20khjev.js} +21 -21
- package/dist/chunks/{file-mutation-zx95ftzb.js → reference-c2sed5cq.js} +3 -3
- package/dist/chunks/{file-mutation-vc6v0gj3.js → reference-c384rd0k.js} +4 -4
- package/dist/chunks/{file-mutation-xz8rcs7k.js → reference-cfypbh6h.js} +25 -25
- package/dist/chunks/{file-mutation-0swngr03.js → reference-ckapse2z.js} +24 -24
- package/dist/chunks/{file-mutation-vxmhavab.js → reference-cpna35qm.js} +10 -10
- package/dist/chunks/{file-mutation-m1khtztb.js → reference-crdrr85v.js} +5 -5
- package/dist/chunks/{file-mutation-px76j0pk.js → reference-csmvz898.js} +9 -9
- package/dist/chunks/{file-mutation-awnyytxj.js → reference-d5m53j50.js} +36 -32
- package/dist/chunks/{file-mutation-w22zc6e5.js → reference-da456p6f.js} +28 -28
- package/dist/chunks/{file-mutation-zrtb0087.js → reference-dkr6ry3g.js} +10 -10
- package/dist/chunks/{file-mutation-nxm207yx.js → reference-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mutation-qykvrrtg.js → reference-e3cpgeff.js} +11 -11
- package/dist/chunks/{file-mutation-5qd3pb7m.js → reference-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-e2k83wgv.js → reference-e51et464.js} +5 -5
- package/dist/chunks/{file-mutation-72p9t9gb.js → reference-e8mb8cqx.js} +31 -31
- package/dist/chunks/{file-mutation-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-capa8hmm.js → reference-ek9c5stx.js} +8 -8
- package/dist/chunks/{file-mutation-58mk5nmy.js → reference-eptmzqw1.js} +15 -15
- package/dist/chunks/{file-mutation-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-68cfq5az.js → reference-ez6c34s8.js} +20 -20
- package/dist/chunks/{file-mutation-3gepn018.js → reference-f0k10bmp.js} +8 -8
- package/dist/chunks/{file-mutation-k1qrnqst.js → reference-f5gy8qwh.js} +8 -8
- package/dist/chunks/{file-mutation-bmdr62wy.js → reference-f65bz2q7.js} +5 -5
- package/dist/chunks/{file-mutation-bj8e23yz.js → reference-f79gec3w.js} +24 -24
- package/dist/chunks/{file-mutation-9xb4p3aq.js → reference-f9a4pn72.js} +7 -7
- package/dist/chunks/{file-mutation-th8qagft.js → reference-fedq4t26.js} +8 -8
- package/dist/chunks/{file-mutation-hh8qm7ej.js → reference-fmt1hs8y.js} +19 -19
- package/dist/chunks/{file-mutation-v0es1rhs.js → reference-fpecnkgp.js} +9 -9
- package/dist/chunks/{file-mutation-x6n59cg4.js → reference-ftyfyfhe.js} +14 -14
- package/dist/chunks/{file-mutation-9txt07q0.js → reference-fzztmtyv.js} +86 -86
- package/dist/chunks/{file-mutation-zqcjw91e.js → reference-g047z55c.js} +15 -15
- package/dist/chunks/{file-mutation-ab0bv3vs.js → reference-g7xeyaj0.js} +10 -10
- package/dist/chunks/{file-mutation-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-ceze7etz.js → reference-gnw3t1dc.js} +3 -3
- package/dist/chunks/{file-mutation-93cdtzk6.js → reference-gqpz8759.js} +11 -11
- package/dist/chunks/{file-mutation-6b9m9qth.js → reference-gwcpdn4r.js} +8 -8
- package/dist/chunks/{file-mutation-m80q8nre.js → reference-h1wh6nnm.js} +4 -4
- package/dist/chunks/{file-mutation-pwk6y6g7.js → reference-h26940z0.js} +30 -30
- package/dist/chunks/{file-mutation-h2b79v29.js → reference-h2b79v29.js} +2 -2
- package/dist/chunks/{file-mutation-h0tn9bp1.js → reference-h2tzc275.js} +21 -21
- package/dist/chunks/{file-mutation-cdy1429m.js → reference-h4pjr44c.js} +17 -17
- package/dist/chunks/{file-mutation-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-nkh7czpt.js → reference-h9353qrc.js} +24 -24
- package/dist/chunks/{file-mutation-f56msdte.js → reference-hasf9nkd.js} +48 -48
- package/dist/chunks/{file-mutation-6s812hbs.js → reference-hdrn7jtd.js} +24 -24
- package/dist/chunks/{file-mutation-f27gt3fb.js → reference-hggj5nbt.js} +67 -67
- package/dist/chunks/{file-mutation-123xm1e3.js → reference-hneefbm4.js} +9 -9
- package/dist/chunks/{file-mutation-2st2vgs8.js → reference-hnn8dgg2.js} +24 -24
- package/dist/chunks/{file-mutation-bygr0fca.js → reference-hryntbm6.js} +42 -42
- package/dist/chunks/{file-mutation-84xy7cmd.js → reference-j02h87v3.js} +3 -3
- package/dist/chunks/{file-mutation-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-ybtvq2mj.js → reference-jax8j6c6.js} +13 -13
- package/dist/chunks/{file-mutation-ftmsc343.js → reference-jh2kc7t1.js} +17 -17
- package/dist/chunks/{file-mutation-gxxtbefb.js → reference-jk02jdk9.js} +26 -26
- package/dist/chunks/{file-mutation-w6pb9j5w.js → reference-jt8tan63.js} +14 -14
- package/dist/chunks/{file-mutation-3xe73pcq.js → reference-k16ae6jh.js} +26 -26
- package/dist/chunks/{file-mutation-7y74vpaj.js → reference-k8r11mjf.js} +18 -18
- package/dist/chunks/{file-mutation-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-ngt3qdhm.js → reference-m74y07zs.js} +5 -5
- package/dist/chunks/{file-mutation-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-y5beyqvm.js → reference-mb14aw74.js} +2 -2
- package/dist/chunks/{file-mutation-8ne23mfp.js → reference-merhc0f7.js} +15 -15
- package/dist/chunks/{file-mutation-peptrfgf.js → reference-mkh9k1h6.js} +24 -24
- package/dist/chunks/{file-mutation-d2vx756y.js → reference-mm5yq9f6.js} +6 -6
- package/dist/chunks/{file-mutation-en7r6a3x.js → reference-mr4yzd1n.js} +11 -11
- package/dist/chunks/{file-mutation-g8srsgrp.js → reference-msxdz3am.js} +5 -5
- package/dist/chunks/{file-mutation-a1gpj94z.js → reference-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-mutation-kb6vbnxp.js → reference-mwwxnxty.js} +4 -4
- package/dist/chunks/{file-mutation-wjmj7svf.js → reference-mzw9gwxy.js} +21 -21
- package/dist/chunks/{file-mutation-aawfa1p8.js → reference-mzzkv1b5.js} +1 -1
- package/dist/chunks/{file-mutation-c779czcw.js → reference-n21nhzwg.js} +9 -9
- package/dist/chunks/{file-mutation-24wzahvd.js → reference-n7szyvye.js} +18 -18
- package/dist/chunks/{file-mutation-mbrh99t5.js → reference-n90frd9p.js} +5 -5
- package/dist/chunks/{file-mutation-b6nfqgtw.js → reference-nh77y64w.js} +10 -10
- package/dist/chunks/{file-mutation-z39s51pd.js → reference-nxpdv9mh.js} +22 -22
- package/dist/chunks/{file-mutation-7jvbf81s.js → reference-p5wc048m.js} +33 -33
- package/dist/chunks/{file-mutation-s7h584sa.js → reference-pj1gdqhf.js} +9 -9
- package/dist/chunks/{file-mutation-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-6136cgh5.js → reference-q0a6wh5g.js} +54 -54
- package/dist/chunks/{file-mutation-7zkbhs7g.js → reference-q9099wq0.js} +9 -9
- package/dist/chunks/{file-mutation-ryr25ayn.js → reference-qa3qhgw8.js} +4 -4
- package/dist/chunks/{file-mutation-39kj94aj.js → reference-qapy5d55.js} +13 -13
- package/dist/chunks/{file-mutation-05j2y7x7.js → reference-qjy48y5a.js} +9 -9
- package/dist/chunks/{file-mutation-cwa6csj7.js → reference-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-mutation-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-t6fvfsyt.js → reference-qz5yzqrb.js} +1 -1
- package/dist/chunks/{file-mutation-ep44p4pe.js → reference-r44petzp.js} +12 -12
- package/dist/chunks/{file-mutation-j8k9xj39.js → reference-r9zdjfxd.js} +30 -30
- package/dist/chunks/{file-mutation-a9bm1b1m.js → reference-rarzp9d6.js} +45 -45
- package/dist/chunks/{file-mutation-awzyrsce.js → reference-rcz0qr92.js} +9 -9
- package/dist/chunks/{file-mutation-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-wv396vej.js → reference-rhjbct0v.js} +8 -8
- package/dist/chunks/{file-mutation-180jb965.js → reference-rt8ggq5v.js} +16 -16
- package/dist/chunks/{file-mutation-f3d9psnk.js → reference-rvwrtnmj.js} +36 -36
- package/dist/chunks/{file-mutation-v5azp370.js → reference-rx5v959s.js} +48 -48
- package/dist/chunks/{file-mutation-jpqsftmp.js → reference-s489hxh6.js} +36 -36
- package/dist/chunks/{file-mutation-wyahmztr.js → reference-s48prvxc.js} +5 -5
- package/dist/chunks/{file-mutation-j4dpp98w.js → reference-s8262drx.js} +27 -27
- package/dist/chunks/{file-mutation-yeav80qa.js → reference-sexz0h36.js} +17 -17
- package/dist/chunks/{file-mutation-yvd37te7.js → reference-sfq2mayw.js} +19 -19
- package/dist/chunks/{file-mutation-k09a0f44.js → reference-sjcrvc3z.js} +12 -12
- package/dist/chunks/reference-smgnyfxh.js +507 -0
- package/dist/chunks/{file-mutation-xtqdhsn8.js → reference-t52a3v9d.js} +3 -3
- package/dist/chunks/{file-mutation-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-y6mhz57t.js → reference-tbmac1c7.js} +4 -4
- package/dist/chunks/{file-mutation-jcvj30yp.js → reference-tbv9z12t.js} +16 -16
- package/dist/chunks/{file-mutation-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-2w56afta.js → reference-td76xh55.js} +4 -4
- package/dist/chunks/{file-mutation-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-5qrrcsc2.js → reference-tedbzwbh.js} +9 -9
- package/dist/chunks/{file-mutation-mbgxsypk.js → reference-tgjyt6x8.js} +31 -31
- package/dist/chunks/{file-mutation-6nwe3trr.js → reference-vaaeps5c.js} +10 -10
- package/dist/chunks/{file-mutation-j3qw8rc6.js → reference-vaws9nke.js} +23 -23
- package/dist/chunks/{file-mutation-g60yh954.js → reference-vbdbrvqk.js} +33 -33
- package/dist/chunks/{file-mutation-40bnz8b2.js → reference-vcyfbsct.js} +11 -11
- package/dist/chunks/{file-mutation-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-a026aj5z.js → reference-vh4dbhj0.js} +34 -34
- package/dist/chunks/{file-mutation-d3gcvv3k.js → reference-vhtvrbyw.js} +10 -10
- package/dist/chunks/{file-mutation-agrw7dk4.js → reference-vkp904sp.js} +11 -11
- package/dist/chunks/{file-mutation-21kzj585.js → reference-vqkrcv5y.js} +12 -12
- package/dist/chunks/{file-mutation-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-dssbfrwz.js → reference-w2h15q85.js} +5 -5
- package/dist/chunks/{file-mutation-94qxd8wt.js → reference-w36x1trb.js} +3 -3
- package/dist/chunks/{file-mutation-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-7jdtyktx.js → reference-w9z1evgj.js} +9 -9
- package/dist/chunks/{file-mutation-5h9mcdhs.js → reference-wadaxy67.js} +25 -25
- package/dist/chunks/{file-mutation-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-d15mmqf3.js → reference-wf5a3he0.js} +11 -11
- package/dist/chunks/{file-mutation-qkrdv68w.js → reference-x6xjy9sr.js} +26 -26
- package/dist/chunks/{file-mutation-d9ygp6ze.js → reference-xasgz6m5.js} +7 -7
- package/dist/chunks/{file-mutation-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-8k1b3hgn.js → reference-xkwk6fd6.js} +24 -24
- package/dist/chunks/{file-mutation-a81dbpn4.js → reference-xwjbp7xw.js} +51 -51
- package/dist/chunks/{file-mutation-j4jm9w3p.js → reference-xwz313q0.js} +23 -23
- package/dist/chunks/{file-mutation-qxjc9qry.js → reference-xyafkbt0.js} +3 -3
- package/dist/chunks/{file-mutation-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-9z4end1d.js → reference-y1pgr5ms.js} +13 -13
- package/dist/chunks/{file-mutation-0pzykd19.js → reference-yc4mm6dw.js} +32 -32
- package/dist/chunks/{file-mutation-2sq0rgeb.js → reference-ydm7tw01.js} +26 -26
- package/dist/chunks/{file-mutation-5w26m471.js → reference-yeezw0cj.js} +11 -11
- package/dist/chunks/{file-mutation-43mj7s4s.js → reference-yn6nbke9.js} +11 -11
- package/dist/chunks/{file-mutation-r8xr0va3.js → reference-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-mutation-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-kc6n47mc.js → reference-z493x013.js} +6 -6
- package/dist/chunks/{file-mutation-ygdna4kr.js → reference-z6c3x22d.js} +5 -5
- package/dist/chunks/{file-mutation-w7n29mqq.js → reference-z6sqrxtq.js} +6 -6
- package/dist/chunks/{file-mutation-8gqyy45k.js → reference-z91awrxv.js} +18 -18
- package/dist/chunks/{file-mutation-kzrvy21g.js → reference-zcatgnda.js} +12 -12
- package/dist/chunks/{file-mutation-k66mh8t8.js → reference-zn5p4xjj.js} +4 -4
- package/dist/chunks/{file-mutation-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-1qxsyfe0.js → reference-zwc3pnar.js} +25 -25
- package/dist/chunks/{file-mutation-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-wecqtg5s.js → reference-zyk1yjk8.js} +5 -5
- package/dist/chunks/{file-mutation-6wz7chbs.js → reference-zzrgx2qg.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +85 -85
- 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 +363 -363
- 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/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 +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +103 -101
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +135 -135
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +118 -118
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +14 -14
- package/dist/types/model.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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/file-mutation-2r7ew65j.js +0 -26
- package/dist/chunks/file-mutation-8fke18e1.js +0 -253
- package/dist/chunks/file-mutation-kjjjense.js +0 -507
- package/dist/chunks/file-mutation-rap9a73h.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-b5hvc6g6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service67,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer22,
|
|
33
|
+
node: () => node70
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer22 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service67.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service67,
|
|
110
|
+
layer: layer22(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node70 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options9, Service67, layer22, configured9, node70, exports_instruction_discovery };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin43,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin43 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin43, exports_tool_input_repair };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node73
|
|
4
|
+
} from "./reference-ydm7tw01.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service36,
|
|
20
|
+
node: () => node39
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service36 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service70;
|
|
64
|
+
return Service36.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make20({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [node73] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service36, node39, exports_instructions5 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-w36x1trb.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node48 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node48, exports_environment };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-b5hvc6g6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./reference-tbv9z12t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./reference-0a424z4m.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service48,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node50
|
|
20
|
+
} from "./reference-5e1anv4t.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node63
|
|
24
|
+
} from "./reference-8mbscqky.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service46,
|
|
27
|
+
node48
|
|
28
|
+
} from "./reference-be7qvw84.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-c2sed5cq.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service64,
|
|
35
|
+
node67
|
|
36
|
+
} from "./reference-1tdshpj3.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./reference-q9099wq0.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./reference-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service45,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node47
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service79;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service48;
|
|
95
|
+
const environment = yield* Service50;
|
|
96
|
+
const hooks = yield* Service60;
|
|
97
|
+
const environments = yield* Service46;
|
|
98
|
+
const config = yield* Service64;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service45.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node47 = makeLocationNode({
|
|
329
|
+
service: Service45,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
|
|
333
|
+
node83,
|
|
334
334
|
Global.node,
|
|
335
|
+
node50,
|
|
335
336
|
node52,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
node46,
|
|
337
|
+
node63,
|
|
338
|
+
node48,
|
|
339
|
+
node67,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service45, cleanup2, node47, exports_shell4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
node52
|
|
7
|
+
} from "./reference-0a424z4m.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service16,
|
|
17
|
+
node: () => node18,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service16 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service50;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service16.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [node52] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin41 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin28 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin41, exports_mcp_codemode_defaults };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service12,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service12 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service12,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service12, node14, bound2, exports_instance2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-c2sed5cq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -21,7 +21,7 @@ __export(exports_error2, {
|
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
22
|
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2,
|
|
119
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|