@opencode/core 0.0.0-dev-19885 → 0.0.0-dev-19887
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{app-1a6p2twq.js → variant-00z3vp5f.js} +4 -4
- package/dist/chunks/{app-0gdmqesm.js → variant-02nrjc1r.js} +8 -8
- package/dist/chunks/{app-g5zpxqd5.js → variant-07dehahr.js} +47 -47
- package/dist/chunks/{app-20ycjnd3.js → variant-085d9kjp.js} +6 -6
- package/dist/chunks/{app-7ghxp6dc.js → variant-097skfh9.js} +11 -11
- package/dist/chunks/{app-x2rmejqt.js → variant-0gz9grtj.js} +13 -13
- package/dist/chunks/variant-0mesazry.js +4 -0
- package/dist/chunks/{app-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-gfpj78pk.js → variant-0wjn3002.js} +4 -4
- package/dist/chunks/{app-ybgh1m9m.js → variant-0x8f21sw.js} +19 -19
- package/dist/chunks/{app-h4z1mxff.js → variant-150yg2gd.js} +5 -5
- package/dist/chunks/{app-8n69n882.js → variant-15nepkqg.js} +8 -8
- package/dist/chunks/{app-yp2x3t23.js → variant-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-f6h44vt5.js → variant-1fv74gqc.js} +6 -6
- package/dist/chunks/{app-16rcg4y4.js → variant-1gd09dgh.js} +19 -19
- package/dist/chunks/{app-gs5memm2.js → variant-1gd24jtv.js} +9 -9
- package/dist/chunks/{app-26ym7a2d.js → variant-1hc11dc4.js} +4 -4
- package/dist/chunks/{app-7vneq8n3.js → variant-1hr2mhh3.js} +10 -10
- package/dist/chunks/{app-ps5kdaeb.js → variant-1kzy0zmf.js} +32 -32
- package/dist/chunks/{app-876jnmkn.js → variant-1t1pnz9z.js} +22 -22
- package/dist/chunks/{app-7hnsdr40.js → variant-20d59fy3.js} +28 -28
- package/dist/chunks/{app-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → variant-2402vzrj.js} +5 -5
- package/dist/chunks/{app-wq38yxfv.js → variant-278hf439.js} +1 -1
- package/dist/chunks/{app-x9qt50vx.js → variant-27d62n88.js} +13 -13
- package/dist/chunks/{app-tfxsda3f.js → variant-27qaaqv4.js} +35 -35
- package/dist/chunks/{app-qfdknrj4.js → variant-28mf290z.js} +3 -3
- package/dist/chunks/{app-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-2pjc63d4.js → variant-2jz473v5.js} +1 -1
- package/dist/chunks/{app-bdqrk2vk.js → variant-2y34zzjz.js} +4 -4
- package/dist/chunks/variant-313b5xwg.js +26 -0
- package/dist/chunks/{app-d7fy9tms.js → variant-31vzqgg6.js} +20 -20
- package/dist/chunks/{app-bd9kkww0.js → variant-39bnkv12.js} +18 -18
- package/dist/chunks/{app-grfgd9mf.js → variant-3cc71383.js} +30 -30
- package/dist/chunks/{app-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-qmznc2j1.js → variant-3g2czk59.js} +26 -26
- package/dist/chunks/{app-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-88yxd0gw.js → variant-3mvav4ey.js} +51 -51
- package/dist/chunks/{app-06r2eyqd.js → variant-3pkp6ed2.js} +6 -6
- package/dist/chunks/{app-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-v6h6kk4n.js → variant-41jardw5.js} +47 -47
- package/dist/chunks/{app-kfpfq9wx.js → variant-43epg6g5.js} +11 -11
- package/dist/chunks/{app-915nf07v.js → variant-48wt5vck.js} +11 -11
- package/dist/chunks/{app-5v8q48de.js → variant-4mszv00j.js} +31 -31
- package/dist/chunks/{app-07can071.js → variant-4qd323fw.js} +25 -25
- package/dist/chunks/{app-4v7qdvcn.js → variant-4v7qdvcn.js} +1 -1
- package/dist/chunks/{app-8kefq0e4.js → variant-516vmk6c.js} +18 -18
- package/dist/chunks/{app-x3qv8ryf.js → variant-572jzhdq.js} +63 -63
- package/dist/chunks/{app-drwq78ky.js → variant-57b9ws8p.js} +5 -5
- package/dist/chunks/{app-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{app-2npqe2nd.js → variant-5hrxhm7r.js} +37 -37
- package/dist/chunks/{app-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
- package/dist/chunks/{app-xapv5k3j.js → variant-5sm13ap8.js} +41 -41
- package/dist/chunks/{app-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-p33jdkfk.js → variant-5v7tkgjc.js} +6 -6
- package/dist/chunks/{app-6nshdwd7.js → variant-5w4ft1qc.js} +33 -33
- package/dist/chunks/{app-mm16ex40.js → variant-62y7kwp4.js} +9 -9
- package/dist/chunks/{app-44zmf7q8.js → variant-64gzdevb.js} +43 -43
- package/dist/chunks/{app-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{app-01s6r663.js → variant-66cq7m8j.js} +17 -17
- package/dist/chunks/{app-3m4ehbcm.js → variant-6a52w1rv.js} +10 -10
- package/dist/chunks/{app-pps41de9.js → variant-6dtxgrp9.js} +12 -12
- package/dist/chunks/{app-cz4gxkeh.js → variant-6jd4s47c.js} +54 -54
- package/dist/chunks/{app-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-v7ax49y9.js → variant-6skrka6j.js} +18 -18
- package/dist/chunks/{app-xg9j3gxx.js → variant-6tt6f4cv.js} +5 -5
- package/dist/chunks/{app-thph1k7c.js → variant-6ztqgmqc.js} +32 -32
- package/dist/chunks/{app-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-20zx6c52.js → variant-7f3ctpdg.js} +24 -24
- package/dist/chunks/{app-nk1wytkm.js → variant-7p374f9a.js} +30 -30
- package/dist/chunks/{app-m3pgw4q9.js → variant-7qvbcjd2.js} +24 -24
- package/dist/chunks/{app-57ez7d0k.js → variant-81swgkk7.js} +7 -7
- package/dist/chunks/{app-swk9pkgd.js → variant-88405f1d.js} +11 -11
- package/dist/chunks/{app-79mnhcfn.js → variant-8ank75fn.js} +8 -8
- package/dist/chunks/{app-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-fpxm7379.js → variant-8eg5n7pr.js} +3 -3
- package/dist/chunks/{app-dj2t23y0.js → variant-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-709xpvx9.js → variant-8pccpkv9.js} +12 -12
- package/dist/chunks/{app-yy70n6y7.js → variant-8svftxcg.js} +31 -31
- package/dist/chunks/{app-gcq2fxm3.js → variant-8wxt10s7.js} +12 -12
- package/dist/chunks/{app-zy4aaz3n.js → variant-90cg2g8q.js} +3 -3
- package/dist/chunks/{app-dpfenvj7.js → variant-915gmmzb.js} +6 -6
- package/dist/chunks/{app-kytjdcrv.js → variant-93c7gg90.js} +57 -57
- package/dist/chunks/{app-f8wvxc75.js → variant-93dczpz5.js} +9 -9
- package/dist/chunks/{app-e14sp09f.js → variant-94q2vb6w.js} +9 -9
- package/dist/chunks/{app-cxgg6zzr.js → variant-94yyaa2b.js} +12 -12
- package/dist/chunks/{app-png4bzvj.js → variant-9cgekm8q.js} +24 -24
- package/dist/chunks/{app-014xdmgp.js → variant-9dd9xg2p.js} +23 -23
- package/dist/chunks/{app-zmnyjegj.js → variant-9g8a7bky.js} +18 -18
- package/dist/chunks/{app-s1kvmffy.js → variant-9jzp6rtr.js} +9 -9
- package/dist/chunks/{app-y5xn5bba.js → variant-9m0akj9h.js} +17 -17
- package/dist/chunks/{app-p7a39gy5.js → variant-9r15s34d.js} +6 -6
- package/dist/chunks/{app-xhpeghz7.js → variant-9rfbr6hz.js} +10 -10
- package/dist/chunks/{app-dw1nbz2e.js → variant-9vfjrq5h.js} +10 -10
- package/dist/chunks/{app-0hr54mt4.js → variant-9vw53jv9.js} +31 -31
- package/dist/chunks/{app-9pe371ph.js → variant-9wzaqa2h.js} +14 -14
- package/dist/chunks/{app-5c4hm403.js → variant-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-z6p9zkzw.js → variant-a1nrrezy.js} +44 -44
- package/dist/chunks/{app-0sa6p4t3.js → variant-a3dggatn.js} +11 -11
- package/dist/chunks/{app-f5js084j.js → variant-a3gwct9m.js} +15 -15
- package/dist/chunks/{app-wt8910j7.js → variant-a6mn06rp.js} +13 -13
- package/dist/chunks/{app-9jn97mr4.js → variant-aa6hsmkn.js} +10 -10
- package/dist/chunks/{app-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{app-wx5y01fx.js → variant-amg8rfa2.js} +11 -11
- package/dist/chunks/{app-7x1nw6gz.js → variant-ayn9mra6.js} +12 -12
- package/dist/chunks/{app-2f21k4jq.js → variant-b552dcrd.js} +17 -17
- package/dist/chunks/{app-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-jzz4kwyh.js → variant-b7p55gh1.js} +4 -4
- package/dist/chunks/{app-0tv5m9zy.js → variant-brn88sfy.js} +15 -15
- package/dist/chunks/{app-3e6x224v.js → variant-bxqmztkz.js} +16 -16
- package/dist/chunks/{app-rh2h7bz2.js → variant-c3t2bp3a.js} +21 -21
- package/dist/chunks/{app-vmv0kd87.js → variant-c73kwvag.js} +6 -6
- package/dist/chunks/{app-d4he2qe1.js → variant-c765mh8b.js} +9 -9
- package/dist/chunks/{app-tn0aqsam.js → variant-c78bbtc9.js} +5 -5
- package/dist/chunks/{app-6r8xth9q.js → variant-c8mrws9h.js} +11 -11
- package/dist/chunks/{app-57m20ys8.js → variant-cfaphf43.js} +5 -5
- package/dist/chunks/{app-m0jqrx5p.js → variant-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-2hsx99jb.js → variant-cftckq0s.js} +36 -36
- package/dist/chunks/{app-d4awevab.js → variant-cg8ytmw3.js} +9 -9
- package/dist/chunks/{app-8v6pyhej.js → variant-cmwkp3r5.js} +8 -8
- package/dist/chunks/{app-arndb05z.js → variant-cpa7r820.js} +8 -8
- package/dist/chunks/{app-ebe9bak5.js → variant-cpj0znwe.js} +4 -4
- package/dist/chunks/{app-3b1q5j1v.js → variant-cpy6gm2a.js} +6 -6
- package/dist/chunks/{app-y76zn1vz.js → variant-cx02vxsr.js} +5 -5
- package/dist/chunks/{app-va20k388.js → variant-d0x602ma.js} +17 -17
- package/dist/chunks/{app-abfe342y.js → variant-d212tg40.js} +5 -5
- package/dist/chunks/{app-7hwc72pw.js → variant-dvqvac0p.js} +41 -41
- package/dist/chunks/{app-d78xx6qz.js → variant-dvsy15m8.js} +23 -23
- package/dist/chunks/{app-azynnvek.js → variant-dy8yawtr.js} +63 -63
- package/dist/chunks/{app-qzjq96ve.js → variant-e6qgb6k4.js} +46 -46
- package/dist/chunks/{app-jw57wrad.js → variant-ecmqvc26.js} +13 -13
- package/dist/chunks/{app-7w8wfers.js → variant-eeycyz4a.js} +27 -27
- package/dist/chunks/{app-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-b6mrn51r.js → variant-ehewexsg.js} +11 -11
- package/dist/chunks/{app-y15xkh2n.js → variant-ehrsfzb1.js} +23 -23
- package/dist/chunks/{app-35w9qdzz.js → variant-ekqy63t1.js} +9 -9
- package/dist/chunks/{app-tb5xxcc9.js → variant-epcvb57q.js} +85 -85
- package/dist/chunks/{app-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{app-yxms1dgw.js → variant-etkqpky2.js} +27 -27
- package/dist/chunks/{app-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-zkmmppc2.js → variant-f4cxmw91.js} +7 -7
- package/dist/chunks/{app-dsqt3g70.js → variant-f5pacdp8.js} +4 -4
- package/dist/chunks/{app-hdnk95c8.js → variant-f828m53h.js} +2 -2
- package/dist/chunks/{app-x4e5jp7e.js → variant-ffe81100.js} +10 -10
- package/dist/chunks/{app-x8chr5sc.js → variant-fka5stg3.js} +28 -28
- package/dist/chunks/{app-sjgwehbe.js → variant-fqwnfb02.js} +15 -15
- package/dist/chunks/{app-8j10kyg7.js → variant-fr6qf1zc.js} +11 -11
- package/dist/chunks/{app-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-bg2gq5qa.js → variant-fxqygnfa.js} +4 -4
- package/dist/chunks/{app-c2k60acp.js → variant-g3dn61zq.js} +17 -17
- package/dist/chunks/{app-axtvtek4.js → variant-g8d3gcyj.js} +4 -4
- package/dist/chunks/{app-7b4r5at6.js → variant-g9k4x51g.js} +17 -17
- package/dist/chunks/{app-t0b82sn3.js → variant-gb29kbhr.js} +13 -13
- package/dist/chunks/{app-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-rfjpkbyr.js → variant-gg31f38h.js} +175 -175
- package/dist/chunks/{app-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-h2tx7zx9.js → variant-h5wsamaq.js} +17 -17
- package/dist/chunks/{app-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-wxyrkypr.js → variant-hj7e2epa.js} +12 -12
- package/dist/chunks/{app-7gvwkz6m.js → variant-hkfg6fzm.js} +5 -5
- package/dist/chunks/{app-wa17x0f6.js → variant-hnx7q02n.js} +23 -23
- package/dist/chunks/{app-senw7f5q.js → variant-hs5kqjts.js} +5 -5
- package/dist/chunks/{app-zdb8sah8.js → variant-htdv981f.js} +14 -14
- package/dist/chunks/{app-yrhthkpk.js → variant-j4sd9pby.js} +37 -37
- package/dist/chunks/{app-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{app-aswv42tr.js → variant-j6g6334x.js} +11 -11
- package/dist/chunks/{app-rj6d5p5e.js → variant-j7wq2tw5.js} +3 -3
- package/dist/chunks/{app-wxtfr31w.js → variant-jap74bcr.js} +22 -22
- package/dist/chunks/{app-zc72yjq3.js → variant-jb9mn43j.js} +15 -15
- package/dist/chunks/{app-7ekr1ah4.js → variant-jdjqvkac.js} +25 -25
- package/dist/chunks/{app-wks3bq41.js → variant-jdng17b1.js} +37 -37
- package/dist/chunks/{app-55y9qcck.js → variant-jdwv10rw.js} +5 -5
- package/dist/chunks/{app-qbkt3cqr.js → variant-jgv4nkbw.js} +14 -14
- package/dist/chunks/{app-m85z7vph.js → variant-jsghq5te.js} +11 -11
- package/dist/chunks/{app-4d4f54qe.js → variant-jsxtg3j8.js} +43 -43
- package/dist/chunks/{app-vy4zg7qh.js → variant-jtazzn7t.js} +12 -12
- package/dist/chunks/{app-2pnhn36q.js → variant-jw80jp6b.js} +21 -21
- package/dist/chunks/{app-c1ef6zpr.js → variant-k3kfa9gp.js} +3 -3
- package/dist/chunks/{app-g2qchbvm.js → variant-k6eqzays.js} +18 -18
- package/dist/chunks/{app-fdaj3cxn.js → variant-k8fevvw5.js} +30 -30
- package/dist/chunks/{app-0j8d1df6.js → variant-khnj79zv.js} +3 -3
- package/dist/chunks/{app-7mvfcvez.js → variant-kkavjeyb.js} +19 -19
- package/dist/chunks/{app-5mj83k5s.js → variant-kpc0mqwz.js} +11 -11
- package/dist/chunks/{app-y9p6qzzr.js → variant-kpzqpbrb.js} +44 -44
- package/dist/chunks/{app-688dcwrg.js → variant-kq76qga6.js} +11 -11
- package/dist/chunks/{app-d0kf8th3.js → variant-m145exmz.js} +11 -11
- package/dist/chunks/{app-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-kca364mm.js → variant-m9rt4wgq.js} +8 -8
- package/dist/chunks/{app-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-56gdpj1q.js → variant-mfqp6xfm.js} +6 -6
- package/dist/chunks/{app-r5x6zcsm.js → variant-mhkvc446.js} +3 -3
- package/dist/chunks/{app-jnmfw45r.js → variant-mqp0p4ed.js} +3 -3
- package/dist/chunks/{app-1zcc4bn4.js → variant-mr2zf1rc.js} +11 -11
- package/dist/chunks/{app-d9ytdjw8.js → variant-ms2v0qr0.js} +22 -22
- package/dist/chunks/{app-3vaynbq5.js → variant-mtmgf2mp.js} +3 -3
- package/dist/chunks/{app-711sgqvm.js → variant-mx58xnyt.js} +9 -9
- package/dist/chunks/{app-03matkmd.js → variant-mz35w27a.js} +17 -17
- package/dist/chunks/{app-v19j2x38.js → variant-mzsct20j.js} +10 -10
- package/dist/chunks/{app-zswdvhgs.js → variant-nad2v9ex.js} +23 -23
- package/dist/chunks/{app-tb9xm78q.js → variant-nrg4g80p.js} +5 -5
- package/dist/chunks/{app-k3c624dm.js → variant-nzks3jc8.js} +3 -3
- package/dist/chunks/{app-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
- package/dist/chunks/{app-8trhq89n.js → variant-p8cqx264.js} +7 -7
- package/dist/chunks/{app-p29sx5d2.js → variant-pdbczg48.js} +17 -17
- package/dist/chunks/{app-ttsb85y1.js → variant-pfjwdz76.js} +7 -7
- package/dist/chunks/{app-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{app-1wr3afwe.js → variant-q10etjjv.js} +5 -5
- package/dist/chunks/{app-m2d0j7c0.js → variant-qg0jgkcp.js} +9 -9
- package/dist/chunks/{app-2k8khapm.js → variant-qgn6gcr1.js} +5 -5
- package/dist/chunks/{app-6c2r5v8w.js → variant-qhcyyzn5.js} +4 -4
- package/dist/chunks/{app-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{app-11823ez3.js → variant-qwkytnft.js} +9 -9
- package/dist/chunks/{app-bawrj3b9.js → variant-r80zjrs5.js} +2 -2
- package/dist/chunks/{app-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-q4gtzsax.js → variant-rnjj76x0.js} +32 -32
- package/dist/chunks/{app-g6ckadgp.js → variant-rx7r49gh.js} +16 -16
- package/dist/chunks/{app-psst68c8.js → variant-rzfvqdtr.js} +32 -32
- package/dist/chunks/{app-xgpvyysx.js → variant-s0nvp0g4.js} +93 -93
- package/dist/chunks/{app-zw4pk1bw.js → variant-s857ash9.js} +5 -5
- package/dist/chunks/{app-nm6tfe9e.js → variant-sbnsh8k5.js} +11 -11
- package/dist/chunks/{app-9n0txh3w.js → variant-sh8m3jxd.js} +32 -32
- package/dist/chunks/{app-2fvbvr4z.js → variant-sr4j9exx.js} +13 -13
- package/dist/chunks/{app-d0zj62h6.js → variant-swskkvne.js} +16 -16
- package/dist/chunks/{app-39dgwvb1.js → variant-t36nynp6.js} +27 -27
- package/dist/chunks/{app-49yvn64x.js → variant-t54f161w.js} +1 -1
- package/dist/chunks/{app-yj47cjx3.js → variant-t6zx2q9y.js} +17 -17
- package/dist/chunks/variant-t8sg433j.js +252 -0
- package/dist/chunks/{app-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-89znhe33.js → variant-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{app-h5gvbxth.js → variant-tfsfntr4.js} +17 -17
- package/dist/chunks/{app-jewzahs7.js → variant-tfzngn12.js} +4 -4
- package/dist/chunks/{app-vwcr4tjx.js → variant-tgqfcp4w.js} +9 -9
- package/dist/chunks/{app-rfdx9aph.js → variant-tkfgnrzv.js} +21 -21
- package/dist/chunks/{app-ddt2bs9e.js → variant-ttqh24zm.js} +4 -4
- package/dist/chunks/{app-68zcn1pn.js → variant-ttyd8st6.js} +5 -5
- package/dist/chunks/{app-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{app-5vt9esmq.js → variant-v0aj06hd.js} +23 -23
- package/dist/chunks/{app-gh58188p.js → variant-v30pefx0.js} +15 -15
- package/dist/chunks/{app-7ka5mwj0.js → variant-v4ke4x03.js} +24 -24
- package/dist/chunks/{app-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{app-bvfp0cee.js → variant-vf1cc59j.js} +30 -30
- package/dist/chunks/{app-v62cs5sj.js → variant-vg2pwr63.js} +22 -22
- package/dist/chunks/{app-nm3p96rh.js → variant-vvhhcha4.js} +25 -25
- package/dist/chunks/{app-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wpm2rk0p.js → variant-w4axh9wz.js} +4 -4
- package/dist/chunks/{app-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{app-k27386pf.js → variant-wq301bav.js} +28 -28
- package/dist/chunks/{app-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-ykf0jhfk.js → variant-x3aw69dw.js} +24 -24
- package/dist/chunks/{app-aky1hhm0.js → variant-x62bxqam.js} +25 -25
- package/dist/chunks/{app-yrq83nnf.js → variant-x8reb4st.js} +16 -16
- package/dist/chunks/{app-4y9pqhyv.js → variant-x9mtwtp0.js} +4 -4
- package/dist/chunks/{app-1s3za36d.js → variant-xbzbcj9a.js} +4 -4
- package/dist/chunks/{app-w3jg838k.js → variant-xdrba4jw.js} +9 -9
- package/dist/chunks/{app-fab6kdz8.js → variant-xf4yhzac.js} +24 -24
- package/dist/chunks/{app-knb7evpn.js → variant-xfdrc2qg.js} +4 -4
- package/dist/chunks/{app-5nb2d01r.js → variant-xg9t41r3.js} +2 -2
- package/dist/chunks/{app-c38jyzps.js → variant-xy0kj34c.js} +8 -8
- package/dist/chunks/{app-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-ckqwygw2.js → variant-y6dnbhqf.js} +33 -33
- package/dist/chunks/{app-y71avatq.js → variant-y71avatq.js} +1 -1
- package/dist/chunks/{app-bw1ynhc4.js → variant-ycs2q99w.js} +15 -15
- package/dist/chunks/{app-57e9z27j.js → variant-yg6nt6v4.js} +8 -8
- package/dist/chunks/{app-hcz3zddy.js → variant-yjptyezs.js} +5 -5
- package/dist/chunks/{app-20dk8r1s.js → variant-yqtmxgrc.js} +31 -31
- package/dist/chunks/{app-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-s4enseaf.js → variant-yrznvahk.js} +2 -2
- package/dist/chunks/{app-csxzn776.js → variant-yz0zb41s.js} +12 -12
- package/dist/chunks/{app-bdwsy2v9.js → variant-yzx8t958.js} +4 -4
- package/dist/chunks/{app-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-y2nmavtm.js → variant-z4n4vdj7.js} +31 -31
- package/dist/chunks/{app-29x78va6.js → variant-z63w68vq.js} +6 -6
- package/dist/chunks/{app-d883tjw7.js → variant-z8jac80z.js} +28 -28
- package/dist/chunks/{app-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-h6jr292a.js → variant-zj09a0ew.js} +4 -4
- package/dist/chunks/{app-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-dgda83gr.js → variant-zs17qpra.js} +317 -317
- package/dist/chunks/{app-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/app-39c2k6vv.js +0 -26
- package/dist/chunks/app-qtvmxc8s.js +0 -4
- package/dist/chunks/app-rb2dwyb3.js +0 -252
- /package/dist/chunks/{app-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → variant-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-mqp0p4ed.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./variant-9r15s34d.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-1hc11dc4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-fr6qf1zc.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-3g2czk59.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service23
|
|
21
|
+
} from "./variant-epcvb57q.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./variant-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service56;
|
|
36
36
|
const database = yield* Service83;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service23;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./variant-jtazzn7t.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service59,
|
|
16
|
+
node62
|
|
17
|
+
} from "./variant-9rfbr6hz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service45,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node48,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service45 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service59;
|
|
110
|
+
return Service45.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node48 = makeGlobalNode({
|
|
171
|
+
service: Service45,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node62]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node48, exports_repository_cache };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./variant-4mszv00j.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node79
|
|
9
|
+
} from "./variant-x3aw69dw.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service75,
|
|
24
|
+
node: () => node78
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service75 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service76;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service75.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [node79, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service75, node78, exports_ripgrep };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./variant-x8reb4st.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service76
|
|
12
|
+
} from "./variant-x3aw69dw.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./variant-htdv981f.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-1kzy0zmf.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service70
|
|
26
|
+
} from "./variant-dy8yawtr.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./variant-9g8a7bky.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./variant-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin47,
|
|
41
|
+
name: () => name11,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin47 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service76;
|
|
90
|
+
const ripgrep = yield* Service75;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service69;
|
|
93
|
+
const permission = yield* Service70;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input11,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin3 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin3 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin3 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output7, toModelContent6, Plugin47, exports_grep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./variant-41jardw5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./variant-xdrba4jw.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service40;
|
|
26
|
+
const image = yield* Service49;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin23 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin10, exports_image };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info29 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info29, SessionSchema2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./variant-z8jac80z.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service30,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node33
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service30 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service44;
|
|
67
|
+
return Service30.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make20({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node47] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service30, node33, exports_instructions3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service68,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node71,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service68 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service68.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured10(options) {
|
|
210
|
+
return makeLocationNode({ service: Service68, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node71 = configured10();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service68, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node71, exports_select };
|