@opencode/core 0.0.0-dev-19688 → 0.0.0-dev-19689
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 +74 -74
- package/dist/chunks/{git-h5s36vhp.js → snapshot-00f4qkva.js} +32 -32
- package/dist/chunks/{git-wwegwsad.js → snapshot-01q9pgsj.js} +29 -29
- package/dist/chunks/{git-7w8wyhxv.js → snapshot-03j4cxe8.js} +6 -6
- package/dist/chunks/{git-re793hzx.js → snapshot-06g476vj.js} +12 -12
- package/dist/chunks/{git-pg3x4kqe.js → snapshot-08rawchj.js} +2 -2
- package/dist/chunks/{git-5958kjg8.js → snapshot-0gxg51yc.js} +44 -44
- package/dist/chunks/{git-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-jdhbqgq5.js → snapshot-0tcqwbys.js} +9 -9
- package/dist/chunks/{git-yp2x3t23.js → snapshot-1acjjqhc.js} +4 -4
- package/dist/chunks/{git-endx7msf.js → snapshot-1aq6nk49.js} +12 -12
- package/dist/chunks/{git-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-b44e3v9r.js → snapshot-1fcv5vyw.js} +3 -3
- package/dist/chunks/{git-pzt9ey7q.js → snapshot-1fn2a7k6.js} +44 -44
- package/dist/chunks/{git-0aqy2nda.js → snapshot-1jw6smb0.js} +30 -30
- package/dist/chunks/{git-7hdsxj1z.js → snapshot-1mahk76p.js} +5 -5
- package/dist/chunks/{git-7a5pcgfq.js → snapshot-1sfkcn66.js} +9 -9
- package/dist/chunks/{git-k31qzyqw.js → snapshot-1xqv1z7c.js} +20 -20
- package/dist/chunks/{git-4qhq8vrx.js → snapshot-207sxyyq.js} +7 -7
- package/dist/chunks/{git-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{git-tjq74dy7.js → snapshot-246jtn2x.js} +23 -23
- package/dist/chunks/{git-p1f7pd7a.js → snapshot-26fmzar5.js} +15 -15
- package/dist/chunks/{git-w83jn78s.js → snapshot-26j14252.js} +17 -17
- package/dist/chunks/{git-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{git-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-vdtvthcs.js → snapshot-2qyt2nfb.js} +22 -22
- package/dist/chunks/{git-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-f0mn3z3c.js → snapshot-3hhr8k8p.js} +1 -1
- package/dist/chunks/{git-b3ybp4zh.js → snapshot-3r5ts660.js} +11 -11
- package/dist/chunks/{git-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-8esggbej.js → snapshot-4010wd3z.js} +22 -22
- package/dist/chunks/{git-azgsnsww.js → snapshot-46adeqnv.js} +6 -6
- package/dist/chunks/{git-en98q301.js → snapshot-46hpeagr.js} +5 -5
- package/dist/chunks/snapshot-4jz9w57v.js +247 -0
- package/dist/chunks/{git-2brx2yvj.js → snapshot-4pknys3z.js} +20 -20
- package/dist/chunks/{git-hnxpv5p7.js → snapshot-4t3wm3be.js} +57 -57
- package/dist/chunks/{git-w6p3gqyc.js → snapshot-4vtve4mp.js} +2 -2
- package/dist/chunks/{git-4sn99hha.js → snapshot-57ez7d0k.js} +7 -7
- package/dist/chunks/{git-1njp4b6c.js → snapshot-5apx5m5a.js} +11 -11
- package/dist/chunks/{git-5c4hm403.js → snapshot-5c4hm403.js} +3 -3
- package/dist/chunks/{git-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{git-zev0ek28.js → snapshot-5f1mc81s.js} +16 -16
- package/dist/chunks/{git-bp02r99k.js → snapshot-5qc9wd0z.js} +4 -4
- package/dist/chunks/{git-mvpmgt96.js → snapshot-5rpx99za.js} +18 -18
- package/dist/chunks/{git-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-yvhffnst.js → snapshot-607q5haz.js} +12 -12
- package/dist/chunks/{git-aexx1a4j.js → snapshot-62befb19.js} +11 -11
- package/dist/chunks/{git-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{git-48m2d39a.js → snapshot-6a73vzhd.js} +11 -11
- package/dist/chunks/{git-mvk278pt.js → snapshot-6djjrnxx.js} +16 -16
- package/dist/chunks/{git-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-emf92cnb.js → snapshot-6qf541m6.js} +9 -9
- package/dist/chunks/{git-pb1eahw5.js → snapshot-7453smrt.js} +11 -11
- package/dist/chunks/{git-xw736607.js → snapshot-764fbe8q.js} +11 -11
- package/dist/chunks/{git-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-7dqw4kz8.js → snapshot-7dqw4kz8.js} +1 -1
- package/dist/chunks/{git-7ax8pd7e.js → snapshot-7e21z2r2.js} +14 -14
- package/dist/chunks/{git-edtsms1g.js → snapshot-7jtymqs4.js} +4 -4
- package/dist/chunks/{git-smfazwb0.js → snapshot-7nm3av8q.js} +18 -18
- package/dist/chunks/{git-1y1dts9t.js → snapshot-7qwc1t21.js} +18 -18
- package/dist/chunks/{git-wxadz7y9.js → snapshot-7trnp38f.js} +26 -26
- package/dist/chunks/{git-9h1nnr9t.js → snapshot-7vk3dnga.js} +42 -42
- package/dist/chunks/{git-73tb2d7t.js → snapshot-7yh4e7ss.js} +3 -3
- package/dist/chunks/{git-34edgddw.js → snapshot-7zt7v5g7.js} +15 -15
- package/dist/chunks/{git-sxz6gkc3.js → snapshot-806j49yq.js} +7 -7
- package/dist/chunks/{git-ah8yzjey.js → snapshot-8621bfev.js} +13 -13
- package/dist/chunks/{git-6rtfy69a.js → snapshot-8a6qekyq.js} +11 -11
- package/dist/chunks/{git-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-rq5m0cbv.js → snapshot-8nqps4be.js} +27 -27
- package/dist/chunks/{git-394bsjx6.js → snapshot-8pb64713.js} +24 -24
- package/dist/chunks/{git-p37cw4rj.js → snapshot-8v6pyhej.js} +8 -8
- package/dist/chunks/{git-jngk8s4y.js → snapshot-8xzwjy0a.js} +9 -9
- package/dist/chunks/{git-aww827kb.js → snapshot-8yg0x0an.js} +17 -17
- package/dist/chunks/{git-ar27zvmg.js → snapshot-8zwefknb.js} +34 -34
- package/dist/chunks/{git-2459z54m.js → snapshot-9952j3eh.js} +29 -29
- package/dist/chunks/{git-npmzsvgm.js → snapshot-9ck845yc.js} +5 -5
- package/dist/chunks/{git-0brq1vgj.js → snapshot-9hfrzpmf.js} +43 -43
- package/dist/chunks/{git-1gfgk62c.js → snapshot-9jbvj98d.js} +8 -8
- package/dist/chunks/{git-4a836rf9.js → snapshot-9rwf7y86.js} +13 -13
- package/dist/chunks/{git-7hyt9mtw.js → snapshot-a2nzyt7f.js} +23 -23
- package/dist/chunks/{git-mw3qqj8g.js → snapshot-a6e6tngr.js} +5 -5
- package/dist/chunks/{git-nggnyz50.js → snapshot-a9fnxnvr.js} +21 -21
- package/dist/chunks/{git-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{git-c80bgpwy.js → snapshot-abdmf8w1.js} +31 -31
- package/dist/chunks/{git-msbbmz00.js → snapshot-aj3rytnp.js} +47 -47
- package/dist/chunks/{git-r9q1pb8v.js → snapshot-aksyybb4.js} +19 -19
- package/dist/chunks/{git-jqg9rab3.js → snapshot-am07pmtr.js} +35 -35
- package/dist/chunks/{git-thsc5d2e.js → snapshot-am60j996.js} +8 -8
- package/dist/chunks/{git-nscy7z1f.js → snapshot-ap2gsh3h.js} +68 -68
- package/dist/chunks/snapshot-apkv4ejx.js +26 -0
- package/dist/chunks/{git-jbqg4cgc.js → snapshot-b6c8qj9q.js} +52 -52
- package/dist/chunks/{git-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-272sk219.js → snapshot-bjmvfas0.js} +28 -28
- package/dist/chunks/{git-ttjz52p2.js → snapshot-bn5ybc1w.js} +3 -3
- package/dist/chunks/{git-qnmxneha.js → snapshot-bpf1vz34.js} +11 -11
- package/dist/chunks/{git-mqhtvztx.js → snapshot-bq6qt1r6.js} +3 -3
- package/dist/chunks/{git-4n5vra8a.js → snapshot-bsjfgmma.js} +11 -11
- package/dist/chunks/{git-pwmksjqr.js → snapshot-bvamsxbr.js} +4 -4
- package/dist/chunks/{git-dz07z7ns.js → snapshot-bvdw70en.js} +11 -11
- package/dist/chunks/{git-mjagy123.js → snapshot-ce5fknq2.js} +5 -5
- package/dist/chunks/{git-49p1g939.js → snapshot-cgfbfj64.js} +11 -11
- package/dist/chunks/{git-qfrjc8h3.js → snapshot-cgxec6bc.js} +13 -13
- package/dist/chunks/{git-r1m0wred.js → snapshot-cj2z97e6.js} +4 -4
- package/dist/chunks/{git-8m9jqnpz.js → snapshot-crsbja1p.js} +81 -81
- package/dist/chunks/{git-mfhfdr54.js → snapshot-csf2jhsg.js} +4 -4
- package/dist/chunks/{git-63x5kykb.js → snapshot-cwvqk4y3.js} +8 -8
- package/dist/chunks/{git-1mthm0sm.js → snapshot-d8cpseay.js} +5 -5
- package/dist/chunks/{git-z11gs965.js → snapshot-d8wctgve.js} +28 -28
- package/dist/chunks/{git-0afwd2h8.js → snapshot-d9gg16k8.js} +14 -14
- package/dist/chunks/{git-ev2k3srp.js → snapshot-danmbns0.js} +33 -33
- package/dist/chunks/{git-3f75t934.js → snapshot-dgc7mv6n.js} +18 -18
- package/dist/chunks/{git-dj2t23y0.js → snapshot-dj2t23y0.js} +2 -2
- package/dist/chunks/{git-y71avatq.js → snapshot-dpkg50ah.js} +4 -4
- package/dist/chunks/{git-jj57btzv.js → snapshot-dskaycnw.js} +12 -12
- package/dist/chunks/{git-yb4fkh4h.js → snapshot-dt0edbwk.js} +40 -40
- package/dist/chunks/{git-brr2q5yt.js → snapshot-dwe4yvgc.js} +21 -21
- package/dist/chunks/{git-tg4h8n6c.js → snapshot-e364q7ed.js} +5 -5
- package/dist/chunks/{git-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{git-rfshdbx4.js → snapshot-e57neqwz.js} +1 -1
- package/dist/chunks/{git-es6vvgdb.js → snapshot-e5rbc25f.js} +16 -16
- package/dist/chunks/{git-40h9q514.js → snapshot-e726g1sc.js} +5 -5
- package/dist/chunks/{git-vxe9q46s.js → snapshot-easjryfv.js} +8 -8
- package/dist/chunks/{git-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-e1m7z51d.js → snapshot-ex6xsx9s.js} +3 -3
- package/dist/chunks/{git-2g991z4q.js → snapshot-eyy6kwkn.js} +29 -29
- package/dist/chunks/{git-wb6hsfck.js → snapshot-ezk17zv6.js} +4 -4
- package/dist/chunks/{git-7smbwa27.js → snapshot-f2qk5btt.js} +10 -10
- package/dist/chunks/{git-mgqxb6b1.js → snapshot-f38mbwqt.js} +9 -9
- package/dist/chunks/{git-tgpa0z63.js → snapshot-f38wsw69.js} +2 -2
- package/dist/chunks/{git-x64dbq5b.js → snapshot-f3ktkyet.js} +9 -9
- package/dist/chunks/{git-p17938vj.js → snapshot-f7t27zsf.js} +11 -11
- package/dist/chunks/{git-rd0szf9f.js → snapshot-fa5gx39t.js} +4 -4
- package/dist/chunks/{git-jmphe03k.js → snapshot-fab8hzt3.js} +4 -4
- package/dist/chunks/{git-nq7qbqzc.js → snapshot-fhs97t90.js} +9 -9
- package/dist/chunks/{git-0gwebd6g.js → snapshot-fj2s4pge.js} +11 -11
- package/dist/chunks/{git-dj9sq318.js → snapshot-fpmq6gma.js} +5 -5
- package/dist/chunks/{git-bayqcesh.js → snapshot-fvdjta23.js} +24 -24
- package/dist/chunks/{git-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-dnftwyww.js → snapshot-fy0n3ad3.js} +43 -43
- package/dist/chunks/{git-kpjrwsj3.js → snapshot-fy2r6802.js} +12 -12
- package/dist/chunks/{git-1hhj0vvf.js → snapshot-g1e3sd2d.js} +23 -23
- package/dist/chunks/{git-kh9er4nr.js → snapshot-g2k8v8r8.js} +179 -179
- package/dist/chunks/{git-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-mav8hzat.js → snapshot-gfsvdhvh.js} +43 -43
- package/dist/chunks/{git-3jstf9t0.js → snapshot-gqg7eak4.js} +30 -30
- package/dist/chunks/{git-8j88jbyt.js → snapshot-gs7yfewj.js} +11 -11
- package/dist/chunks/{git-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-wspv94s9.js → snapshot-gvqy3dd2.js} +28 -28
- package/dist/chunks/{git-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
- package/dist/chunks/{git-4dgbcxzg.js → snapshot-h6r3nrb9.js} +4 -4
- package/dist/chunks/{git-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-j7ch2sdk.js → snapshot-h72f6tnv.js} +6 -6
- package/dist/chunks/{git-hdnk95c8.js → snapshot-hdnk95c8.js} +2 -2
- package/dist/chunks/{git-61ckr634.js → snapshot-j0zejtxz.js} +18 -18
- package/dist/chunks/{git-bwt763qk.js → snapshot-j1waw5gq.js} +13 -13
- package/dist/chunks/{git-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{git-jnbjc8km.js → snapshot-j74yt2g5.js} +18 -18
- package/dist/chunks/{git-wr8xqqe1.js → snapshot-jjdqm7d4.js} +20 -20
- package/dist/chunks/{git-f559ga5b.js → snapshot-jnbtwfk4.js} +25 -25
- package/dist/chunks/{git-86gz9rn9.js → snapshot-jnw60s8h.js} +43 -43
- package/dist/chunks/{git-k3gnzxs0.js → snapshot-jppvw2tx.js} +5 -5
- package/dist/chunks/snapshot-jqh9b0xq.js +18 -0
- package/dist/chunks/{git-pw9v3g6d.js → snapshot-jsb3pxss.js} +8 -8
- package/dist/chunks/{git-vph80azg.js → snapshot-jtv748sa.js} +3 -3
- package/dist/chunks/{git-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
- package/dist/chunks/{git-7prb58xv.js → snapshot-k8spycg5.js} +310 -310
- package/dist/chunks/{git-44ke2mar.js → snapshot-k9kj6xed.js} +6 -6
- package/dist/chunks/{git-s9pw04c8.js → snapshot-kcdz3qj8.js} +10 -10
- package/dist/chunks/{git-be9rpv02.js → snapshot-krzfj2m8.js} +26 -26
- package/dist/chunks/{git-m0jqrx5p.js → snapshot-m0jqrx5p.js} +2 -2
- package/dist/chunks/{git-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-ge88nhgh.js → snapshot-m40w4ggw.js} +30 -30
- package/dist/chunks/{git-x9ty1f0y.js → snapshot-m76gzppn.js} +14 -14
- package/dist/chunks/{git-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-1ygqh575.js → snapshot-mfqp6xfm.js} +6 -6
- package/dist/chunks/{git-35tmvh3j.js → snapshot-mg0hvqns.js} +24 -24
- package/dist/chunks/{git-wnngper4.js → snapshot-mj930z0j.js} +9 -9
- package/dist/chunks/{git-e870zrf0.js → snapshot-mksgfzgs.js} +5 -5
- package/dist/chunks/{git-jv2s6zs8.js → snapshot-mms0rth5.js} +17 -17
- package/dist/chunks/{git-6xwg4nmq.js → snapshot-mq13vzd7.js} +18 -18
- package/dist/chunks/{git-rqyhz3pj.js → snapshot-mt0b5xka.js} +27 -27
- package/dist/chunks/{git-3hhky1y1.js → snapshot-mtenym90.js} +22 -22
- package/dist/chunks/{git-7hzkr1ps.js → snapshot-mws70f2d.js} +35 -35
- package/dist/chunks/{git-9xp198kc.js → snapshot-n2pbvnb1.js} +13 -13
- package/dist/chunks/{git-mtv12gxd.js → snapshot-n77sqkga.js} +33 -33
- package/dist/chunks/{git-6hknjp7s.js → snapshot-n9sge3bt.js} +25 -25
- package/dist/chunks/{git-y3wpwyaa.js → snapshot-ne3jdqry.js} +6 -6
- package/dist/chunks/{git-8fwcj92t.js → snapshot-nj8we0p3.js} +8 -8
- package/dist/chunks/{git-xw3m6y1d.js → snapshot-nmw676mg.js} +4 -4
- package/dist/chunks/{git-sn5sfsc9.js → snapshot-nvh769ba.js} +10 -10
- package/dist/chunks/{git-bgxcxs0p.js → snapshot-p1nm93x7.js} +5 -5
- package/dist/chunks/{git-va5qff5x.js → snapshot-p57dvf2n.js} +6 -6
- package/dist/chunks/{git-e4n75zk9.js → snapshot-p57xwb4q.js} +10 -10
- package/dist/chunks/{git-txyptwf2.js → snapshot-p5mz5j3d.js} +32 -32
- package/dist/chunks/{git-phjaars8.js → snapshot-phjaars8.js} +6 -6
- package/dist/chunks/{git-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{git-44jrjrja.js → snapshot-pkq1axha.js} +25 -25
- package/dist/chunks/{git-fs3q1v3z.js → snapshot-q7qycedw.js} +6 -6
- package/dist/chunks/{git-dg7a6m6t.js → snapshot-qheeszjc.js} +36 -36
- package/dist/chunks/{git-yhed11z9.js → snapshot-qmj0ngb0.js} +13 -13
- package/dist/chunks/{git-2sejkfem.js → snapshot-qmqgtz8f.js} +9 -9
- package/dist/chunks/{git-5hzjfa47.js → snapshot-qpyhhqtw.js} +15 -15
- package/dist/chunks/{git-00z3vp5f.js → snapshot-qq11w61w.js} +4 -4
- package/dist/chunks/{git-m29mzpwc.js → snapshot-qq3v7fmy.js} +22 -22
- package/dist/chunks/{git-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{git-30480sdz.js → snapshot-rb3j0par.js} +15 -15
- package/dist/chunks/{git-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-hrmdcqyf.js → snapshot-reqevd7p.js} +12 -12
- package/dist/chunks/{git-t550f9t1.js → snapshot-rhjbct0v.js} +4 -4
- package/dist/chunks/{git-1s3p39g4.js → snapshot-rp8jz6x1.js} +6 -6
- package/dist/chunks/{git-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
- package/dist/chunks/{git-6htvnf4m.js → snapshot-s85ya0jf.js} +24 -24
- package/dist/chunks/{git-a1j8dc6z.js → snapshot-sd3xhgkr.js} +22 -22
- package/dist/chunks/{git-e0x13gky.js → snapshot-sk9padpp.js} +34 -34
- package/dist/chunks/{git-magykp64.js → snapshot-t51qk8jz.js} +21 -21
- package/dist/chunks/{git-ftgekngx.js → snapshot-t87fsg1t.js} +27 -27
- package/dist/chunks/{git-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{git-ddqxtkhn.js → snapshot-tk9q31mq.js} +23 -23
- package/dist/chunks/{git-fch79rh9.js → snapshot-ts2x07a1.js} +1 -1
- package/dist/chunks/{git-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{git-g9sspw56.js → snapshot-twkt1809.js} +42 -42
- package/dist/chunks/{git-xkdewt67.js → snapshot-ty8fz9vq.js} +6 -6
- package/dist/chunks/{git-batgxsmv.js → snapshot-v1ahh423.js} +29 -29
- package/dist/chunks/{git-nq152q77.js → snapshot-v2r3tbej.js} +16 -16
- package/dist/chunks/{git-rb96jarx.js → snapshot-v9zvfj8j.js} +11 -11
- package/dist/chunks/{git-c84z0q4x.js → snapshot-vazg77cr.js} +27 -27
- package/dist/chunks/{git-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{git-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-acd4vkpt.js → snapshot-w21bzq9q.js} +6 -6
- package/dist/chunks/{git-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-zdtfb6p9.js → snapshot-w9z0sqn6.js} +25 -25
- package/dist/chunks/{git-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{git-x8xzcv8y.js → snapshot-wey05zv6.js} +13 -13
- package/dist/chunks/{git-evf56c6f.js → snapshot-wfg7nerh.js} +16 -16
- package/dist/chunks/{git-0dm9emf0.js → snapshot-wkaexh7z.js} +20 -20
- package/dist/chunks/{git-mhkh0xea.js → snapshot-wn4q0spz.js} +11 -11
- package/dist/chunks/{git-199hz2pa.js → snapshot-wn8kqq2y.js} +15 -15
- package/dist/chunks/{git-ateq7ehh.js → snapshot-wpwdagq9.js} +28 -28
- package/dist/chunks/{git-ys29gpg0.js → snapshot-ww181tpr.js} +19 -19
- package/dist/chunks/{git-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-ahcdffg7.js → snapshot-x2casbc9.js} +5 -5
- package/dist/chunks/{git-9c3np669.js → snapshot-x8gz1y8e.js} +8 -8
- package/dist/chunks/{git-y235y40c.js → snapshot-x9xp5hgj.js} +76 -76
- package/dist/chunks/{git-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
- package/dist/chunks/{git-a75jqzxp.js → snapshot-xhjxrpb6.js} +29 -29
- package/dist/chunks/{git-nkr6vmt6.js → snapshot-xmath9zk.js} +5 -5
- package/dist/chunks/{git-whhj8d0j.js → snapshot-xzvht6cq.js} +18 -18
- package/dist/chunks/{git-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-0jq9fyba.js → snapshot-y56ehv6b.js} +9 -9
- package/dist/chunks/{git-ekh6p2eh.js → snapshot-y5hw7dgt.js} +7 -7
- package/dist/chunks/{git-5tke6q81.js → snapshot-ykm3sgyz.js} +33 -33
- package/dist/chunks/{git-njww08sa.js → snapshot-ype9g0xz.js} +26 -26
- package/dist/chunks/{git-egy25ryw.js → snapshot-yqdxcjyp.js} +24 -24
- package/dist/chunks/{git-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-4phm5153.js → snapshot-yt0fqk68.js} +5 -5
- package/dist/chunks/{git-vbfgae2j.js → snapshot-z0aj456m.js} +4 -4
- package/dist/chunks/{git-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-d87r4pgk.js → snapshot-z0fqp7db.js} +15 -15
- package/dist/chunks/{git-mqz104rg.js → snapshot-z1f6ds0v.js} +32 -32
- package/dist/chunks/{git-7nkrf797.js → snapshot-z1px11v9.js} +24 -24
- package/dist/chunks/{git-6n4b0dsb.js → snapshot-z3nay82g.js} +9 -9
- package/dist/chunks/{git-r3hv5v0g.js → snapshot-zcqser00.js} +18 -18
- package/dist/chunks/{git-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-15kvcrwf.js → snapshot-zgtd1cs0.js} +17 -17
- package/dist/chunks/{git-ec87kc5z.js → snapshot-zj09a0ew.js} +4 -4
- package/dist/chunks/{git-d4csp169.js → snapshot-zqqb3kxg.js} +8 -8
- package/dist/chunks/{git-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-rhw3s2gk.js → snapshot-zr93be92.js} +47 -47
- package/dist/chunks/{git-y0nb3a38.js → snapshot-zsk2ap5g.js} +9 -9
- package/dist/chunks/{git-ckf8nxjz.js → snapshot-zvt5dnpc.js} +4 -4
- package/dist/chunks/{git-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-xkgjtwvv.js → snapshot-zyr27zb1.js} +10 -10
- package/dist/chunks/{git-qnmy9757.js → snapshot-zzv1d7cz.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- 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 +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +71 -71
- 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.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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- 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 +101 -101
- package/dist/form.js +79 -79
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +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-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +97 -97
- package/dist/models-dev.js +102 -102
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +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 +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +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 +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- 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 +220 -220
- 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 +89 -89
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- 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 +229 -229
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- 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 +74 -74
- 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 +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- 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 +119 -119
- 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 +214 -214
- package/dist/tool/plugin/webfetch.js +109 -109
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +90 -90
- 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 +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/git-8mgf2t6a.js +0 -26
- package/dist/chunks/git-ax8fkkcf.js +0 -247
- package/dist/chunks/git-rap9a73h.js +0 -18
- /package/dist/chunks/{git-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6kdq0pjd.js → snapshot-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info23 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info23, exports_permission2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./snapshot-mg0hvqns.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./snapshot-e5rbc25f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./snapshot-0gxg51yc.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./snapshot-gvqy3dd2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./snapshot-fhs97t90.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-46adeqnv.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin16
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin16 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service69;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service70;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin44 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin44 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin44 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin44 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin44 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin16, exports_skill };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rhjbct0v.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-4t3wm3be.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service39,
|
|
13
|
+
node42
|
|
14
|
+
} from "./snapshot-gfsvdhvh.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./snapshot-00f4qkva.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service37,
|
|
28
|
+
layer: () => layer14,
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service37 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service39;
|
|
69
|
+
return Service37.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node40 = makeLocationNode({ service: Service37, layer: layer14, deps: [node42] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service37, layer14, node40, exports_instructions5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75,
|
|
4
|
+
node79
|
|
5
|
+
} from "./snapshot-krzfj2m8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node78
|
|
16
|
+
} from "./snapshot-eyy6kwkn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service57,
|
|
19
|
+
node60
|
|
20
|
+
} from "./snapshot-wn4q0spz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node77
|
|
27
|
+
} from "./snapshot-9952j3eh.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,7 +36,7 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service56,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -44,7 +44,7 @@ __export(exports_model_resolver, {
|
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
46
|
layer: () => layer22,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node59,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID13,
|
|
58
|
+
modelID: ID12,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID13,
|
|
68
|
+
modelID: ID12,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID13,
|
|
79
|
+
modelID: ID12,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID13,
|
|
90
|
+
modelID: ID12,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID13,
|
|
102
|
+
modelID: ID12,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID13,
|
|
112
|
+
modelID: ID12,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service56 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var layer22 = Layer.effect(
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer22 = Layer.effect(Service56, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service74;
|
|
262
|
+
const models = yield* Service73;
|
|
263
|
+
const integrations = yield* Service75;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service57;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer22 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service56.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
307
|
+
var node59 = makeLocationNode({
|
|
308
|
+
service: Service56,
|
|
309
309
|
layer: layer22,
|
|
310
|
-
deps: [
|
|
310
|
+
deps: [node78, node77, node79, Npm.node, node60]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node59, exports_model_resolver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service74
|
|
4
|
+
} from "./snapshot-eyy6kwkn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./snapshot-0gxg51yc.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service74;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service69);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-m76gzppn.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./snapshot-v2r3tbej.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-fj2s4pge.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service60,
|
|
21
|
+
node63
|
|
22
|
+
} from "./snapshot-7nm3av8q.js";
|
|
23
23
|
import {
|
|
24
24
|
Service29,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node33
|
|
26
|
+
} from "./snapshot-x9xp5hgj.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service80;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
64
|
const context = yield* Service29;
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
65
|
+
const store = yield* Service60;
|
|
66
|
+
const db = (yield* Service81).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node84, llmClient2, node33, node63, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|