@opencode/core 0.0.0-dev-1169 → 0.0.0-dev-1179
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +5 -5
- package/dist/artifact.js +257 -257
- package/dist/bus.js +80 -80
- package/dist/chunks/{schema-aj7mw0zk.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{schema-pmpqfy7z.js → location-07qnb2a9.js} +32 -32
- package/dist/chunks/{schema-mmk0jhxb.js → location-0aekehyv.js} +15 -15
- package/dist/chunks/{schema-65g7jm80.js → location-0ekwy2tv.js} +18 -18
- package/dist/chunks/{schema-0j7gp832.js → location-0j7gp832.js} +1 -1
- package/dist/chunks/{schema-7k5jmvhj.js → location-0m3187re.js} +21 -21
- package/dist/chunks/{schema-0ma9gw4f.js → location-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schema-9rtfsky6.js → location-0nqcan8y.js} +29 -29
- package/dist/chunks/{schema-vgp39c3q.js → location-10f7w4cc.js} +19 -19
- package/dist/chunks/{schema-pjf82mvf.js → location-10t768hb.js} +33 -33
- package/dist/chunks/{schema-s02m1st8.js → location-18znffw0.js} +29 -29
- package/dist/chunks/{schema-1aqsckx4.js → location-1aqsckx4.js} +1 -1
- package/dist/chunks/{schema-2hpjgcj7.js → location-1bx6cned.js} +15 -15
- package/dist/chunks/{schema-27w5k9zf.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-9nh708zh.js → location-1m2wk9v5.js} +6 -6
- package/dist/chunks/{schema-6a3nme33.js → location-1vj6xvjw.js} +18 -18
- package/dist/chunks/{schema-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-1yq9hg58.js → location-1yq9hg58.js} +1 -1
- package/dist/chunks/{schema-t9vhjqng.js → location-20h34wnp.js} +16 -16
- package/dist/chunks/{schema-etrnj9s7.js → location-233argac.js} +6 -6
- package/dist/chunks/{schema-xv3aaf54.js → location-2abzm25x.js} +13 -13
- package/dist/chunks/{schema-2fc7eemy.js → location-2fc7eemy.js} +1 -1
- package/dist/chunks/{schema-6y4qc4mp.js → location-2h9m3223.js} +14 -14
- package/dist/chunks/{schema-f6aj1kd5.js → location-2njzdmfy.js} +15 -15
- package/dist/chunks/{schema-2p60zmnr.js → location-2p60zmnr.js} +2 -2
- package/dist/chunks/{schema-s1xc4ekk.js → location-2rxv96ss.js} +8 -8
- package/dist/chunks/{schema-4zcepfyr.js → location-2y8q1569.js} +4 -4
- package/dist/chunks/{schema-a6kay9xz.js → location-2zey878g.js} +8 -8
- package/dist/chunks/{schema-1p6p0791.js → location-30m4s9qv.js} +7 -7
- package/dist/chunks/{schema-xznbj9qp.js → location-37xrhg99.js} +22 -22
- package/dist/chunks/{schema-fq23ffp0.js → location-3drk4kfk.js} +7 -7
- package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/location-3khabdj8.js +26 -0
- package/dist/chunks/{schema-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-vz5bqa0f.js → location-3pfs30kn.js} +12 -12
- package/dist/chunks/{schema-r17fbvme.js → location-3qgwywyc.js} +4 -4
- package/dist/chunks/{schema-2m6srr37.js → location-3sp0ngqj.js} +13 -13
- package/dist/chunks/{schema-xneeh6s4.js → location-3vy7qf6d.js} +13 -13
- package/dist/chunks/{schema-nstbetgn.js → location-3w8a4vh4.js} +8 -8
- package/dist/chunks/{schema-40y6dtc2.js → location-40y6dtc2.js} +1 -1
- package/dist/chunks/{schema-44pmzq9c.js → location-44pmzq9c.js} +2 -2
- package/dist/chunks/{schema-vtkvgxem.js → location-453w9m5z.js} +14 -14
- package/dist/chunks/{schema-6c25bs39.js → location-487t1s35.js} +17 -17
- package/dist/chunks/{schema-dsgstd3d.js → location-4b0zbebg.js} +15 -15
- package/dist/chunks/{schema-4dx1dgte.js → location-4dx1dgte.js} +1 -1
- package/dist/chunks/{schema-4f25tdd0.js → location-4f25tdd0.js} +1 -1
- package/dist/chunks/{schema-7a9m1j2x.js → location-4p430f57.js} +8 -8
- package/dist/chunks/{schema-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-nbbfmg35.js → location-4ydnaq49.js} +9 -9
- package/dist/chunks/{schema-pe69sqjx.js → location-51qrcxr9.js} +10 -9
- package/dist/chunks/{schema-f0wpasqh.js → location-520q9z14.js} +3 -3
- package/dist/chunks/{schema-9wxzp1qr.js → location-54jv2wzs.js} +26 -26
- package/dist/chunks/{schema-01h9qvbn.js → location-54mwx2mf.js} +30 -30
- package/dist/chunks/{schema-ksd47y91.js → location-5cfgnwdt.js} +30 -30
- package/dist/chunks/{schema-0jfy4hkm.js → location-5j27558h.js} +11 -11
- package/dist/chunks/{schema-g2183vvk.js → location-5jgktrgx.js} +3 -3
- package/dist/chunks/{schema-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-95zwqs5c.js → location-5rd0v6y0.js} +140 -140
- package/dist/chunks/{schema-7tfjg757.js → location-5sfzg2cr.js} +12 -12
- package/dist/chunks/{schema-qmqqtqcn.js → location-5shjjg2v.js} +3 -3
- package/dist/chunks/{schema-626jn072.js → location-5wddjt8m.js} +21 -21
- package/dist/chunks/{schema-5whx36p1.js → location-5whx36p1.js} +1 -1
- package/dist/chunks/{schema-n5k4x34p.js → location-5yz9twxg.js} +51 -51
- package/dist/chunks/{schema-5zpqhmp2.js → location-5zpqhmp2.js} +3 -3
- package/dist/chunks/{schema-e2sh8fdv.js → location-627853rm.js} +9 -9
- package/dist/chunks/{schema-yts2a8qm.js → location-67wwskyb.js} +4 -4
- package/dist/chunks/{schema-963hk181.js → location-68cs06h1.js} +5 -5
- package/dist/chunks/{schema-9hjrmeye.js → location-6syc23cm.js} +8 -8
- package/dist/chunks/{schema-e5q9zwm8.js → location-6wbggnwm.js} +12 -12
- package/dist/chunks/{schema-6y2b864j.js → location-6y2b864j.js} +1 -1
- package/dist/chunks/{schema-yyb7x4q2.js → location-6zdnk2ay.js} +34 -34
- package/dist/chunks/{schema-054zc0xd.js → location-74pdjgc4.js} +3 -3
- package/dist/chunks/{schema-775hqbnd.js → location-775hqbnd.js} +3 -3
- package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-cn0khwc2.js → location-7dffjqxb.js} +17 -17
- package/dist/chunks/{schema-ync0ket7.js → location-7fx8nsmy.js} +5 -5
- package/dist/chunks/{schema-1fqa7gdp.js → location-7n6fyy26.js} +3 -3
- package/dist/chunks/{schema-s5jhzpr9.js → location-7nfcbe58.js} +27 -27
- package/dist/chunks/{schema-nfdz4xt8.js → location-7nhv6fwk.js} +36 -36
- package/dist/chunks/{schema-v8vtkzra.js → location-7t1scbq3.js} +79 -79
- package/dist/chunks/{schema-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-7weczvnd.js → location-7weczvnd.js} +1 -1
- package/dist/chunks/{schema-1awa9fg3.js → location-7xf9shm2.js} +9 -9
- package/dist/chunks/{schema-9zf7nxcy.js → location-7z3v8rbt.js} +10 -10
- package/dist/chunks/{schema-yj5p50qd.js → location-7zne7j5x.js} +5 -5
- package/dist/chunks/{schema-80pdk984.js → location-80pdk984.js} +1 -1
- package/dist/chunks/{schema-yhy601mr.js → location-832r0z2t.js} +9 -9
- package/dist/chunks/{schema-swtby07c.js → location-834sk437.js} +4 -4
- package/dist/chunks/{schema-85jq8dht.js → location-85jq8dht.js} +1 -1
- package/dist/chunks/{schema-zk8ezkjv.js → location-8a9mkwdh.js} +8 -8
- package/dist/chunks/{schema-8b3vzgkx.js → location-8b3vzgkx.js} +1 -1
- package/dist/chunks/{schema-essv7e64.js → location-8djrpyw1.js} +8 -8
- package/dist/chunks/{schema-m98552er.js → location-8dvxgptq.js} +2 -2
- package/dist/chunks/{schema-32zvh7m8.js → location-8fyfc21t.js} +29 -29
- package/dist/chunks/{schema-ca2kttj4.js → location-8hbdfrk8.js} +4 -4
- package/dist/chunks/{schema-8kjyvwy5.js → location-8kjyvwy5.js} +1 -1
- package/dist/chunks/{schema-37rq3n90.js → location-8nqeb6jh.js} +24 -24
- package/dist/chunks/{schema-2gpvmrfd.js → location-8r6kez7m.js} +40 -38
- package/dist/chunks/{schema-35jtqnzh.js → location-8s5nypsy.js} +15 -15
- package/dist/chunks/{schema-bb3mmwvh.js → location-8sxe6kv8.js} +2 -2
- package/dist/chunks/{schema-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-s62h8xwa.js → location-8xxagg6y.js} +16 -16
- package/dist/chunks/{schema-8zv0xmg5.js → location-8zv0xmg5.js} +1 -1
- package/dist/chunks/{schema-sf9y72b7.js → location-90ct6wq4.js} +4 -4
- package/dist/chunks/{schema-txgthtwa.js → location-9dxxrkg1.js} +8 -8
- package/dist/chunks/{schema-x2199xg7.js → location-9f03aksa.js} +26 -26
- package/dist/chunks/{schema-nvrhh2jh.js → location-9fx97vxq.js} +28 -28
- package/dist/chunks/{schema-93f9eha0.js → location-9ge0any9.js} +20 -20
- package/dist/chunks/{schema-t5zz07dm.js → location-9ghhvxgs.js} +22 -22
- package/dist/chunks/{schema-p1tqk3wj.js → location-9n0cta27.js} +3 -3
- package/dist/chunks/{schema-3xnqrhgf.js → location-9vzqnq6b.js} +32 -32
- package/dist/chunks/{schema-hatv92we.js → location-a5e1wvpv.js} +9 -9
- package/dist/chunks/{schema-pet7zff3.js → location-a7gm47h5.js} +16 -16
- package/dist/chunks/{schema-894qcq1y.js → location-ang7raqx.js} +59 -59
- package/dist/chunks/{schema-00pd6sp3.js → location-avv30etj.js} +8 -8
- package/dist/chunks/{schema-3cbjf1nt.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schema-b26ddj6h.js → location-b26ddj6h.js} +4 -4
- package/dist/chunks/{schema-b7nkz392.js → location-b7nkz392.js} +1 -1
- package/dist/chunks/{schema-bb65ze16.js → location-bb65ze16.js} +3 -3
- package/dist/chunks/{schema-3p57dcxh.js → location-bex4xsk5.js} +4 -4
- package/dist/chunks/{schema-5n0rnk8e.js → location-bhfd478d.js} +4 -4
- package/dist/chunks/{schema-wvp6s5r8.js → location-bq0q5ae9.js} +36 -36
- package/dist/chunks/{schema-ar7qhdy9.js → location-brdz3nbr.js} +14 -14
- package/dist/chunks/{schema-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{schema-sswnp1hr.js → location-btyxa42k.js} +15 -15
- package/dist/chunks/{schema-by8ty0bx.js → location-by8ty0bx.js} +1 -1
- package/dist/chunks/location-c128d798.js +457 -0
- package/dist/chunks/{schema-82t6hvvc.js → location-c1k776k8.js} +4 -4
- package/dist/chunks/{schema-fc93665r.js → location-c1sfsxsr.js} +8 -8
- package/dist/chunks/{schema-0dpgc71n.js → location-ca4281kv.js} +19 -19
- package/dist/chunks/{schema-cd40mm2x.js → location-cedjfvec.js} +25 -25
- package/dist/chunks/{schema-dszy2cs3.js → location-cr6p4hnc.js} +4 -4
- package/dist/chunks/{schema-s5pjjcby.js → location-crf83wvf.js} +9 -9
- package/dist/chunks/{schema-6h8vcvjm.js → location-ctmpqb7w.js} +9 -9
- package/dist/chunks/{schema-cwrgdav8.js → location-cwrgdav8.js} +2 -2
- package/dist/chunks/{schema-djejg4dy.js → location-d0pmvwgf.js} +9 -9
- package/dist/chunks/{schema-pmpycxtw.js → location-d4dk6fd1.js} +14 -14
- package/dist/chunks/{schema-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-8akjpyn6.js → location-dbatw319.js} +3 -3
- package/dist/chunks/{schema-160yv0cs.js → location-ddvn7d3w.js} +8 -8
- package/dist/chunks/{schema-7zqxd1dh.js → location-dn2hn5p2.js} +8 -8
- package/dist/chunks/{schema-cqmt8zzz.js → location-dsbqjjxc.js} +7 -7
- package/dist/chunks/{schema-dt77769w.js → location-dt77769w.js} +1 -1
- package/dist/chunks/{schema-hcnkffw2.js → location-e5pdsp4h.js} +11 -11
- package/dist/chunks/{schema-28yt5ya3.js → location-e7gstf88.js} +8 -8
- package/dist/chunks/{schema-pj4g6jw6.js → location-ekhvmsd2.js} +9 -9
- package/dist/chunks/{schema-m8071f4b.js → location-en70vxsw.js} +1 -1
- package/dist/chunks/{schema-eqw4pqj1.js → location-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schema-12t8q5ww.js → location-eys28pne.js} +23 -23
- package/dist/chunks/{schema-p021jaq0.js → location-f4xv0kx9.js} +10 -10
- package/dist/chunks/{schema-jpg972ga.js → location-f649f4qw.js} +5 -5
- package/dist/chunks/{schema-5cxze2ek.js → location-fcv347h7.js} +20 -20
- package/dist/chunks/{schema-h5gm5jf1.js → location-ffvvmdd5.js} +7 -7
- package/dist/chunks/{schema-fg9p65nk.js → location-fg9p65nk.js} +2 -2
- package/dist/chunks/{schema-ymfq94hg.js → location-fje0em3a.js} +17 -17
- package/dist/chunks/{schema-e36kjsvh.js → location-fqf9k8bj.js} +6 -6
- package/dist/chunks/{schema-4vhxd4fz.js → location-fyvewnmw.js} +2 -2
- package/dist/chunks/{schema-hw67g06k.js → location-g0fycf8m.js} +34 -21
- package/dist/chunks/{schema-eestr1ap.js → location-g2mcafwx.js} +11 -11
- package/dist/chunks/{schema-k3ggfjkb.js → location-g3nkktaq.js} +2 -2
- package/dist/chunks/{schema-0vb5mjcv.js → location-g5s9nrqb.js} +19 -19
- package/dist/chunks/{schema-90kfgkgm.js → location-g6eh4kmy.js} +12 -12
- package/dist/chunks/{schema-fqpvdrje.js → location-g8317pvp.js} +6 -6
- package/dist/chunks/{schema-7357t78n.js → location-g96z14v2.js} +7 -7
- package/dist/chunks/{schema-gbjdnr5j.js → location-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schema-yrzcpjjp.js → location-ggj4zh1g.js} +34 -34
- package/dist/chunks/{schema-ghrv1g9c.js → location-ghrv1g9c.js} +1 -1
- package/dist/chunks/{schema-ktck1cjp.js → location-gwyytpcj.js} +6 -6
- package/dist/chunks/{schema-87kxp3gn.js → location-gx76kxxn.js} +11 -11
- package/dist/chunks/{schema-jg2ygqjd.js → location-h0j0r0ej.js} +8 -8
- package/dist/chunks/{schema-7xwq3sd0.js → location-h7bze1ap.js} +6 -6
- package/dist/chunks/{schema-bq0ysetc.js → location-hazcdx0a.js} +14 -14
- package/dist/chunks/{schema-mkqrt9r1.js → location-hb8jp00h.js} +14 -14
- package/dist/chunks/{schema-5c0ay57s.js → location-hced1q2j.js} +4 -4
- package/dist/chunks/{schema-7afn9zz1.js → location-hcrwe74w.js} +21 -21
- package/dist/chunks/location-hdcjwryz.js +34 -0
- package/dist/chunks/{schema-7y3w56wa.js → location-hesc68bg.js} +3 -3
- package/dist/chunks/{schema-dnern54h.js → location-hqtkd67t.js} +11 -11
- package/dist/chunks/location-hw97mp2c.js +145 -0
- package/dist/chunks/{schema-g44npge0.js → location-hwvn16gh.js} +19 -19
- package/dist/chunks/{schema-8jv95stc.js → location-j217sy44.js} +6 -6
- package/dist/chunks/{schema-pve6n1f6.js → location-j2gp4875.js} +20 -20
- package/dist/chunks/{schema-k278m6zw.js → location-j9avjeqn.js} +37 -37
- package/dist/chunks/{schema-j9nxzz3g.js → location-j9nxzz3g.js} +3 -3
- package/dist/chunks/{schema-ayevjdp6.js → location-jdnvwwde.js} +4 -4
- package/dist/chunks/{schema-r6ar04y2.js → location-jh2tgb1s.js} +18 -18
- package/dist/chunks/{schema-ae2hmq0b.js → location-jj4ss8qz.js} +24 -24
- package/dist/chunks/{schema-jm70asfg.js → location-jm70asfg.js} +1 -1
- package/dist/chunks/{schema-4w9c1rv8.js → location-jqzg9pfr.js} +77 -77
- package/dist/chunks/{schema-gvah0j30.js → location-jrbvgdj6.js} +9 -9
- package/dist/chunks/{schema-1yzf0qyg.js → location-kcw9t9ea.js} +31 -31
- package/dist/chunks/{schema-dwwyec8z.js → location-kgmdm1mc.js} +6 -6
- package/dist/chunks/{schema-vmqe41cb.js → location-kj9n5bvh.js} +4 -4
- package/dist/chunks/{schema-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schema-1zt50wep.js → location-kw6qjj90.js} +12 -12
- package/dist/chunks/{schema-kzczzf4v.js → location-kzczzf4v.js} +1 -1
- package/dist/chunks/{schema-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{schema-xh9sbx5d.js → location-m8d5br9n.js} +29 -29
- package/dist/chunks/{schema-m90tx7mw.js → location-m90tx7mw.js} +1 -1
- package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-8z6m94af.js → location-mb7mbhnz.js} +3 -3
- package/dist/chunks/{schema-bszd1e77.js → location-mbhm97dq.js} +5 -5
- package/dist/chunks/{schema-me0dhgxs.js → location-me0dhgxs.js} +1 -1
- package/dist/chunks/{schema-qjjf83ye.js → location-mpce7fj6.js} +6 -6
- package/dist/chunks/{schema-zxxfjzbm.js → location-ms8w9w9p.js} +7 -7
- package/dist/chunks/{schema-msd2a3qm.js → location-msd2a3qm.js} +4 -4
- package/dist/chunks/{schema-egv7nm33.js → location-mvzyv7p1.js} +20 -20
- package/dist/chunks/{schema-qqan37dg.js → location-mw69dbej.js} +66 -56
- package/dist/chunks/{schema-n320gsn2.js → location-n320gsn2.js} +1 -1
- package/dist/chunks/{schema-7w972mxx.js → location-nbpfc68v.js} +28 -28
- package/dist/chunks/{schema-q4bddqzm.js → location-ndrffskx.js} +12 -12
- package/dist/chunks/{schema-83r2q2tc.js → location-nkbgqbmq.js} +28 -28
- package/dist/chunks/{schema-ym2hf25x.js → location-nkyv4gy5.js} +9 -9
- package/dist/chunks/{schema-wjt8g24f.js → location-nrh4pmd8.js} +42 -42
- package/dist/chunks/{schema-kny7n17h.js → location-nszxejq2.js} +46 -46
- package/dist/chunks/{schema-34nzn3j8.js → location-nts6hgg5.js} +21 -21
- package/dist/chunks/{schema-3gt03n7r.js → location-nw6v9rk5.js} +20 -20
- package/dist/chunks/{schema-cb9p0hr3.js → location-nww9qz4b.js} +5 -5
- package/dist/chunks/{schema-tamm6359.js → location-nyajycgy.js} +34 -34
- package/dist/chunks/{schema-akbak9kn.js → location-p575bqkg.js} +10 -10
- package/dist/chunks/{schema-qfbkhxhn.js → location-p6sfwv0d.js} +4 -4
- package/dist/chunks/{schema-v1nrzbej.js → location-p9ym6sf6.js} +4 -4
- package/dist/chunks/{schema-7tf6362t.js → location-pazav6xj.js} +29 -29
- package/dist/chunks/{schema-b6cq1fvz.js → location-pb8daj1x.js} +4 -4
- package/dist/chunks/{schema-ns5s5x7n.js → location-pdp6kg1x.js} +10 -10
- package/dist/chunks/{schema-zz0y7mj6.js → location-pf5q8n97.js} +20 -20
- package/dist/chunks/{schema-z583g8kc.js → location-pjmvzs6b.js} +4 -4
- package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{schema-y5ken5vs.js → location-ppztpcxx.js} +5 -5
- package/dist/chunks/{schema-5xymd101.js → location-pwpfzbzq.js} +12 -12
- package/dist/chunks/{schema-229tvxdn.js → location-px7qpgcn.js} +4 -4
- package/dist/chunks/{schema-ph6zr0my.js → location-q2nqhswr.js} +22 -22
- package/dist/chunks/{schema-pp2hmg1m.js → location-q3kx4bqk.js} +7 -7
- package/dist/chunks/{schema-wrfejyj7.js → location-qbkag7ec.js} +11 -11
- package/dist/chunks/{schema-ntn2vp5r.js → location-qcdb8wvz.js} +20 -20
- package/dist/chunks/{schema-3n8639p5.js → location-qd1ydz3q.js} +23 -23
- package/dist/chunks/{schema-j8exsrxy.js → location-qdahr5f4.js} +26 -26
- package/dist/chunks/{schema-cce0647p.js → location-qg5v6165.js} +39 -39
- package/dist/chunks/{schema-n9g0jqka.js → location-qh9pvwbk.js} +30 -30
- package/dist/chunks/{schema-1wdt4fx4.js → location-qjx3z6qm.js} +8 -8
- package/dist/chunks/{schema-ep6pe98a.js → location-qk5sk9d1.js} +5 -5
- package/dist/chunks/{schema-s85z3cra.js → location-qkc3z5ds.js} +4 -4
- package/dist/chunks/{schema-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-3ew67rpx.js → location-qtpykmg2.js} +19 -19
- package/dist/chunks/location-qwz12hkq.js +16 -0
- package/dist/chunks/{schema-djbn8b3v.js → location-r35hstgm.js} +23 -23
- package/dist/chunks/{schema-w2eysc6j.js → location-r41sfy63.js} +6 -6
- package/dist/chunks/{schema-9rwnj3cf.js → location-r4970t12.js} +21 -21
- package/dist/chunks/{schema-87g0g3vw.js → location-r6f883a9.js} +43 -43
- package/dist/chunks/{schema-2tkbb2hd.js → location-r972m2ky.js} +20 -20
- package/dist/chunks/{schema-7a2p64p0.js → location-r9denkp6.js} +20 -20
- package/dist/chunks/{schema-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-2p7ww4m4.js → location-rc43dema.js} +35 -35
- package/dist/chunks/{schema-yve512cx.js → location-rck93akh.js} +9 -9
- package/dist/chunks/{schema-j9x1g365.js → location-re0c2r0c.js} +25 -25
- package/dist/chunks/{schema-rgc9cx3e.js → location-rgc9cx3e.js} +2 -2
- package/dist/chunks/{schema-94e33dpz.js → location-rj7jtxy8.js} +3 -3
- package/dist/chunks/{schema-7c8hwk2v.js → location-rraahxd6.js} +16 -16
- package/dist/chunks/{schema-jxw3nqfr.js → location-rva2sgyw.js} +8 -8
- package/dist/chunks/{schema-ngrhmx0y.js → location-ryjene5e.js} +34 -34
- package/dist/chunks/{schema-ns3f0y8s.js → location-s103wdxn.js} +12 -12
- package/dist/chunks/{schema-q0cx4jd1.js → location-s295w65z.js} +9 -9
- package/dist/chunks/{schema-jpaeaxj3.js → location-s3cahzjb.js} +10 -10
- package/dist/chunks/{schema-fb3jq07n.js → location-s8zafhs6.js} +4 -4
- package/dist/chunks/{schema-ynq5d5wj.js → location-sbssw13n.js} +13 -13
- package/dist/chunks/{schema-sbya78hr.js → location-sbya78hr.js} +1 -1
- package/dist/chunks/{schema-53m7ep8y.js → location-sf64733g.js} +44 -44
- package/dist/chunks/{schema-gsm10rjf.js → location-sgt8g3bn.js} +4 -4
- package/dist/chunks/{schema-hgzwgvze.js → location-sjjhs5t5.js} +2 -2
- package/dist/chunks/{schema-xfk334w4.js → location-sqp3n15g.js} +5 -5
- package/dist/chunks/{schema-svcy3p9a.js → location-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-p94p4v4n.js → location-t62dywgn.js} +4 -4
- package/dist/chunks/{schema-ba5f9dy2.js → location-tb2mrvc9.js} +4 -4
- package/dist/chunks/{schema-tbpn7jtk.js → location-tbpn7jtk.js} +1 -1
- package/dist/chunks/{schema-knq5zpdc.js → location-tc7r93jj.js} +8 -8
- package/dist/chunks/{schema-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-wgtjsce3.js → location-tfrxry9m.js} +2 -2
- package/dist/chunks/{schema-tg7s7b5t.js → location-tg7s7b5t.js} +1 -1
- package/dist/chunks/{schema-tr8x705m.js → location-tr8x705m.js} +1 -1
- package/dist/chunks/{schema-tvtps2q9.js → location-tvtps2q9.js} +1 -1
- package/dist/chunks/{schema-twssxy5n.js → location-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-qr8vfs2f.js → location-v0etzcgg.js} +53 -53
- package/dist/chunks/{schema-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-sgmpg1at.js → location-v5xc4kg7.js} +15 -15
- package/dist/chunks/{schema-pkdvs1r0.js → location-v6h1p5ye.js} +5 -5
- package/dist/chunks/{schema-55a1w20j.js → location-v7mv4svd.js} +17 -17
- package/dist/chunks/{schema-73tv2q91.js → location-v9z6vtxw.js} +8 -8
- package/dist/chunks/{schema-y682mywm.js → location-vegs8bg1.js} +10 -10
- package/dist/chunks/{schema-zf02ae39.js → location-vgrxzska.js} +29 -29
- package/dist/chunks/{schema-vjf35v1f.js → location-vjf35v1f.js} +1 -1
- package/dist/chunks/{schema-41ta799d.js → location-vvvpnzd1.js} +4 -4
- package/dist/chunks/{schema-7mpsrzpa.js → location-vxjwgjgd.js} +5 -5
- package/dist/chunks/{schema-6a3yqv2r.js → location-w0194dze.js} +3 -3
- package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wr3re1en.js → location-w687dnns.js} +4 -4
- package/dist/chunks/{schema-tmgn3zs9.js → location-w6h8d6n2.js} +21 -21
- package/dist/chunks/{schema-w79nt68w.js → location-w79nt68w.js} +1 -1
- package/dist/chunks/{schema-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-t2trxbvf.js → location-wasyvcmp.js} +26 -26
- package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{schema-apvw9r81.js → location-weab279a.js} +11 -11
- package/dist/chunks/{schema-nx4vzyjd.js → location-wegkxhrn.js} +2 -2
- package/dist/chunks/{schema-2s709x84.js → location-wgvnftve.js} +8 -8
- package/dist/chunks/{schema-c7cw818c.js → location-wt99tj4q.js} +5 -5
- package/dist/chunks/{schema-nd6a1rw0.js → location-wtv6jfvz.js} +3 -3
- package/dist/chunks/{schema-980raww3.js → location-wvpj03x8.js} +12 -12
- package/dist/chunks/{schema-x150ncgg.js → location-x150ncgg.js} +2 -2
- package/dist/chunks/{schema-jvnqdmg7.js → location-x7ey9rzq.js} +370 -362
- package/dist/chunks/{schema-92mnqtsa.js → location-x809x4sb.js} +12 -12
- package/dist/chunks/{schema-h1wwt2d4.js → location-x9mgr81e.js} +29 -29
- package/dist/chunks/{schema-pfgfzn9w.js → location-xbyghwr8.js} +16 -16
- package/dist/chunks/{schema-jh3vmqnb.js → location-xd5x38mr.js} +91 -79
- package/dist/chunks/{schema-bfmj02kq.js → location-xd8a83k1.js} +16 -16
- package/dist/chunks/{schema-4m48desf.js → location-xdemnhpf.js} +11 -11
- package/dist/chunks/{schema-3adw4bt5.js → location-xjbsd7zy.js} +9 -9
- package/dist/chunks/{schema-xxschbft.js → location-xjr6c8m4.js} +4 -4
- package/dist/chunks/{schema-0ahs07zn.js → location-xmx7xj34.js} +4 -4
- package/dist/chunks/{schema-e4shjbcy.js → location-xrte0c5k.js} +19 -19
- package/dist/chunks/{schema-qrnbag0z.js → location-xt1t7w4z.js} +31 -31
- package/dist/chunks/{schema-hagqs1d2.js → location-xvgdw3tt.js} +21 -21
- package/dist/chunks/{schema-9sk33afj.js → location-xz07m27x.js} +6 -6
- package/dist/chunks/{schema-y3p3hzkr.js → location-y3p3hzkr.js} +2 -2
- package/dist/chunks/{schema-jyqxtn40.js → location-y3w468jq.js} +13 -13
- package/dist/chunks/{schema-fcha702q.js → location-y4vwvzm9.js} +15 -15
- package/dist/chunks/{schema-pstexa60.js → location-y9742c9s.js} +8 -8
- package/dist/chunks/{schema-tqwq9s5x.js → location-ya097w5s.js} +30 -30
- package/dist/chunks/{schema-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-yepd7x5v.js → location-yepd7x5v.js} +2 -2
- package/dist/chunks/{schema-ed7x67as.js → location-ygjzxj3k.js} +3 -3
- package/dist/chunks/{schema-040bqqk0.js → location-yh8nrrbm.js} +1 -1
- package/dist/chunks/{schema-0khwxjqg.js → location-yh91mnek.js} +4 -4
- package/dist/chunks/{schema-gy85zcy8.js → location-ymsxw2w0.js} +28 -21
- package/dist/chunks/{schema-yr705xyq.js → location-yr705xyq.js} +1 -1
- package/dist/chunks/{schema-yvtc2x31.js → location-yvtc2x31.js} +1 -1
- package/dist/chunks/{schema-bjnxymnv.js → location-yzakgra2.js} +18 -18
- package/dist/chunks/{schema-pwm9xzc0.js → location-z46n6vb7.js} +15 -15
- package/dist/chunks/location-z8jdt7n2.js +273 -0
- package/dist/chunks/{schema-zded71tf.js → location-zded71tf.js} +3 -3
- package/dist/chunks/{schema-kad56yks.js → location-zex02exw.js} +17 -17
- package/dist/chunks/{schema-q7n78wgf.js → location-zj395kaq.js} +10 -10
- package/dist/chunks/{schema-5sq7dtyr.js → location-zv3jqzhg.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +148 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +100 -100
- package/dist/effect/app-node-builder.js +443 -439
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +132 -132
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +437 -433
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +177 -177
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +434 -430
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +170 -502
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +149 -122
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +146 -119
- package/dist/plugin/fork-notice.js +8 -0
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +413 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +134 -134
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +111 -111
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +110 -110
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -141
- package/dist/plugin/provider/local.js +141 -138
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -141
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +136 -136
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +132 -132
- package/dist/plugin/provider/vllm.js +144 -141
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +240 -240
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +421 -417
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +97 -97
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +251 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +265 -265
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +174 -174
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +263 -263
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +153 -153
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +145 -145
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +172 -172
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +259 -259
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +192 -192
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +242 -242
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +208 -208
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +250 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +242 -242
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +241 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +172 -172
- package/dist/tool/plugin/image-generate.js +250 -250
- package/dist/tool/plugin/mcp-events.js +171 -0
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +152 -152
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +257 -257
- package/dist/tool/plugin/shell.js +248 -248
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +247 -247
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +159 -159
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +172 -172
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +166 -166
- package/dist/types/flag.d.ts +2 -2
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/mcp/client.d.ts +78 -1
- package/dist/types/mcp/connection.d.ts +2 -0
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/mcp/pool.d.ts +1 -0
- package/dist/types/plugin/fork-notice.d.ts +2 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +1 -1
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/tool/plugin/mcp-events.d.ts +10 -0
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/schema-n0yx1q4a.js +0 -26
- package/dist/chunks/schema-qp3r9mzz.js +0 -273
- package/dist/chunks/schema-y32xxt00.js +0 -16
- /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kah00gy.js → location-1kah00gy.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4qk9sjk2.js → location-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → location-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6agm2x70.js → location-6agm2x70.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-7rvsyqjv.js → location-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → location-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-ean2d8b5.js → location-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-nh4v3znn.js → location-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → location-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-qtf35215.js → location-qtf35215.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-syrav9an.js → location-syrav9an.js} +0 -0
- /package/dist/chunks/{schema-t03h4f5z.js → location-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schema-ty7weeps.js → location-ty7weeps.js} +0 -0
- /package/dist/chunks/{schema-v2dnd5dt.js → location-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-vtarvj67.js → location-vtarvj67.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x4th4bpe.js → location-x4th4bpe.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
- /package/dist/chunks/{schema-zxpyjp51.js → location-zxpyjp51.js} +0 -0
- /package/dist/chunks/{schema-zz5vv3aq.js → location-zz5vv3aq.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service88
|
|
6
|
+
} from "./location-hb8jp00h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./location-r9denkp6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service65,
|
|
12
12
|
readText2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-y3w468jq.js";
|
|
14
14
|
import {
|
|
15
15
|
invocation2,
|
|
16
16
|
Service74
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-8xxagg6y.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-37xrhg99.js";
|
|
21
21
|
import {
|
|
22
22
|
fileDiff2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-6prwharc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service15
|
|
26
|
+
} from "./location-nkbgqbmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/edit.ts
|
|
32
32
|
var exports_edit = {};
|
|
33
33
|
__export(exports_edit, {
|
|
34
34
|
EditTool: () => exports_edit,
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
38
|
-
name: () =>
|
|
35
|
+
Input: () => Input13,
|
|
36
|
+
Output: () => Output9,
|
|
37
|
+
Plugin: () => Plugin19,
|
|
38
|
+
name: () => name13
|
|
39
39
|
});
|
|
40
40
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name13 = "edit";
|
|
44
|
+
var Input13 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input7 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output9 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -243,20 +243,20 @@ var countBefore = (positions, offset) => {
|
|
|
243
243
|
}
|
|
244
244
|
return low;
|
|
245
245
|
};
|
|
246
|
-
var
|
|
246
|
+
var Plugin19 = {
|
|
247
247
|
id: "opencode.tool.edit",
|
|
248
248
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
249
|
-
const fileMutation = yield*
|
|
250
|
-
const fileWrite = yield*
|
|
251
|
-
const environment = yield*
|
|
252
|
-
const location = yield*
|
|
249
|
+
const fileMutation = yield* Service65;
|
|
250
|
+
const fileWrite = yield* Service15;
|
|
251
|
+
const environment = yield* Service72;
|
|
252
|
+
const location = yield* Service88;
|
|
253
253
|
const permission = yield* Service74;
|
|
254
254
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
255
|
-
name:
|
|
255
|
+
name: name13,
|
|
256
256
|
options: { codemode: false, permission: "edit" },
|
|
257
257
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
258
|
-
input:
|
|
259
|
-
output:
|
|
258
|
+
input: Input13,
|
|
259
|
+
output: Output9,
|
|
260
260
|
execute: (input, context) => {
|
|
261
261
|
return Effect.gen(function* () {
|
|
262
262
|
if (input.oldString === input.newString) {
|
|
@@ -318,4 +318,4 @@ ${hint}` : ""}`
|
|
|
318
318
|
})
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { name13, Input13, Output9, Plugin19, exports_edit };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/opencode-watches.ts
|
|
9
9
|
var exports_opencode_watches = {};
|
|
@@ -16,7 +16,7 @@ __export(exports_opencode_watches, {
|
|
|
16
16
|
WINDOW_LIMIT: () => WINDOW_LIMIT2,
|
|
17
17
|
fence: () => fence2,
|
|
18
18
|
header: () => header2,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make18,
|
|
20
20
|
shellTarget: () => shellTarget2
|
|
21
21
|
});
|
|
22
22
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -77,7 +77,7 @@ var Problem = Schema.Struct({ message: Schema.optional(Schema.String), limit: Sc
|
|
|
77
77
|
var ShellInput = Schema.Struct({ command: Schema.String });
|
|
78
78
|
var ShellOutput = Schema.Struct({ exit: Schema.optional(Schema.Number), output: Schema.String });
|
|
79
79
|
var hubs = new Map;
|
|
80
|
-
var
|
|
80
|
+
var make18 = Effect.fnUntraced(function* (ctx, http) {
|
|
81
81
|
const scope = yield* Scope.Scope;
|
|
82
82
|
let current;
|
|
83
83
|
const streakKey = (sessionID) => `watch-streak:${sessionID}`;
|
|
@@ -476,4 +476,4 @@ ${text}
|
|
|
476
476
|
${ticks}`;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
export { header2, LEASE_CLOSE_CODE2, OVERSIZED_CLOSE_CODE2, ACK_LIMIT2, WINDOW_LIMIT2, PROMPT_LIMIT2,
|
|
479
|
+
export { header2, LEASE_CLOSE_CODE2, OVERSIZED_CLOSE_CODE2, ACK_LIMIT2, WINDOW_LIMIT2, PROMPT_LIMIT2, make18, shellTarget2, fence2, exports_opencode_watches };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5zpqhmp2.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-fcv347h7.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-8xxagg6y.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-7nfcbe58.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-z46n6vb7.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2,
|
|
3
3
|
insertBatches2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-jm70asfg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service79,
|
|
7
7
|
enabled3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-487t1s35.js";
|
|
9
9
|
import {
|
|
10
10
|
BlobTable2,
|
|
11
11
|
BlobRefTable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mb7mbhnz.js";
|
|
13
13
|
import {
|
|
14
14
|
refHash2,
|
|
15
15
|
ref2,
|
|
16
16
|
FileRef2,
|
|
17
17
|
ToolFileRef2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-fg9p65nk.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/blob.ts
|
|
24
24
|
var exports_blob = {};
|
|
@@ -199,7 +199,7 @@ var read4 = Effect.fnUntraced(function* (db, hash) {
|
|
|
199
199
|
});
|
|
200
200
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
201
201
|
var enabled2 = Effect.gen(function* () {
|
|
202
|
-
const flag = yield* Effect.serviceOption(
|
|
202
|
+
const flag = yield* Effect.serviceOption(Service79);
|
|
203
203
|
if (Option.isNone(flag))
|
|
204
204
|
return false;
|
|
205
205
|
return yield* flag.value.enabled("media_blob");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
original2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tg7s7b5t.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-tr8x705m.js";
|
|
7
7
|
import {
|
|
8
8
|
versionError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-2p60zmnr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/claude/session.ts
|
|
15
15
|
var exports_session = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-pazav6xj.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./location-487t1s35.js";
|
|
10
10
|
import {
|
|
11
11
|
invocation2,
|
|
12
12
|
Service74
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-8xxagg6y.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/todo.ts
|
|
19
19
|
var exports_todo = {};
|
|
20
20
|
__export(exports_todo, {
|
|
21
21
|
Info: () => Info2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
Output: () =>
|
|
24
|
-
Plugin: () =>
|
|
22
|
+
Input: () => Input11,
|
|
23
|
+
Output: () => Output7,
|
|
24
|
+
Plugin: () => Plugin17,
|
|
25
25
|
TodoTool: () => exports_todo,
|
|
26
|
-
name: () =>
|
|
26
|
+
name: () => name11,
|
|
27
27
|
summarize: () => summarize2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -40,17 +40,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
40
40
|
`;
|
|
41
41
|
|
|
42
42
|
// src/tool/plugin/todo.ts
|
|
43
|
-
var
|
|
43
|
+
var name11 = "todowrite";
|
|
44
44
|
var Info2 = Schema.Struct({
|
|
45
45
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
46
46
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
47
47
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Input11 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
todos: Schema.Array(Info2)
|
|
55
55
|
});
|
|
56
56
|
var summarize2 = (todos) => {
|
|
@@ -64,25 +64,25 @@ var summarize2 = (todos) => {
|
|
|
64
64
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
65
65
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin17 = {
|
|
68
68
|
id: "opencode.tool.todo",
|
|
69
69
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
70
70
|
const config = yield* Service80;
|
|
71
71
|
const permission = yield* Service74;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
73
|
-
const flags = yield*
|
|
73
|
+
const flags = yield* Service79;
|
|
74
74
|
const enabled = () => flags.resolve(loaded.entries).todo.enabled;
|
|
75
75
|
yield* ctx.tool.transform((editor) => {
|
|
76
76
|
if (!enabled())
|
|
77
77
|
return;
|
|
78
78
|
editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name11,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: todowrite_default,
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input11,
|
|
83
|
+
output: Output7,
|
|
84
84
|
execute: (input, context) => permission.assert({
|
|
85
|
-
action:
|
|
85
|
+
action: name11,
|
|
86
86
|
resources: ["*"],
|
|
87
87
|
save: ["*"],
|
|
88
88
|
...invocation2(context)
|
|
@@ -96,4 +96,4 @@ var Plugin31 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { name11, Info2, Input11, Output7, summarize2, Plugin17, exports_todo };
|
|
@@ -1,55 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service93,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-jdnvwwde.js";
|
|
8
|
+
import {
|
|
9
|
+
Event18,
|
|
10
|
+
Service86,
|
|
11
|
+
node88
|
|
12
|
+
} from "./location-9ge0any9.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service88,
|
|
11
15
|
node90
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service90,
|
|
15
|
-
node92
|
|
16
|
-
} from "./schema-mkqrt9r1.js";
|
|
16
|
+
} from "./location-hb8jp00h.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
21
|
-
import {
|
|
22
|
-
ID20,
|
|
23
|
-
Service89,
|
|
24
|
-
node91
|
|
25
|
-
} from "./schema-4m48desf.js";
|
|
18
|
+
Service72,
|
|
19
|
+
node73
|
|
20
|
+
} from "./location-r9denkp6.js";
|
|
26
21
|
import {
|
|
27
22
|
reconcile2,
|
|
28
23
|
create4
|
|
29
|
-
} from "./
|
|
24
|
+
} from "./location-40y6dtc2.js";
|
|
30
25
|
import {
|
|
31
|
-
|
|
32
|
-
MethodID2,
|
|
26
|
+
ID20,
|
|
33
27
|
Service87,
|
|
34
28
|
node89
|
|
35
|
-
} from "./
|
|
29
|
+
} from "./location-xdemnhpf.js";
|
|
36
30
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
ID18,
|
|
32
|
+
MethodID2,
|
|
33
|
+
Service85,
|
|
34
|
+
node87
|
|
35
|
+
} from "./location-fcv347h7.js";
|
|
36
|
+
import {
|
|
37
|
+
node81,
|
|
38
|
+
enabled3
|
|
39
|
+
} from "./location-487t1s35.js";
|
|
40
|
+
import {
|
|
41
|
+
make27
|
|
42
|
+
} from "./location-51qrcxr9.js";
|
|
39
43
|
import {
|
|
40
|
-
|
|
44
|
+
Service38,
|
|
41
45
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
46
|
+
node41
|
|
47
|
+
} from "./location-ymsxw2w0.js";
|
|
44
48
|
import {
|
|
45
49
|
__export
|
|
46
|
-
} from "./
|
|
50
|
+
} from "./location-9rqn6x4v.js";
|
|
47
51
|
|
|
48
52
|
// src/mcp/index.ts
|
|
49
53
|
var exports_mcp4 = {};
|
|
50
54
|
__export(exports_mcp4, {
|
|
51
55
|
Mcp: () => exports_mcp4,
|
|
52
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError5,
|
|
53
57
|
Options: () => Options3,
|
|
54
58
|
PromptsChanged: () => PromptsChanged2,
|
|
55
59
|
Resource: () => Resource2,
|
|
@@ -57,12 +61,12 @@ __export(exports_mcp4, {
|
|
|
57
61
|
ResourceContent: () => ResourceContent2,
|
|
58
62
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
63
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
64
|
+
Service: () => Service37,
|
|
61
65
|
Status: () => Status3,
|
|
62
66
|
ToolCallError: () => ToolCallError2,
|
|
63
67
|
configured: () => configured3,
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
68
|
+
layer: () => layer17,
|
|
69
|
+
node: () => node40
|
|
66
70
|
});
|
|
67
71
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
72
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -95,7 +99,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
95
99
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
96
100
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
97
101
|
|
|
98
|
-
class
|
|
102
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
99
103
|
server: ServerName2
|
|
100
104
|
}) {
|
|
101
105
|
get message() {
|
|
@@ -128,7 +132,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
132
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
133
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
134
|
|
|
131
|
-
class
|
|
135
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
132
136
|
}
|
|
133
137
|
var Options3 = Schema.Struct({
|
|
134
138
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -136,15 +140,16 @@ var Options3 = Schema.Struct({
|
|
|
136
140
|
version: Schema.String
|
|
137
141
|
}))
|
|
138
142
|
});
|
|
139
|
-
var
|
|
140
|
-
const location = yield*
|
|
141
|
-
const environment = yield*
|
|
143
|
+
var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
144
|
+
const location = yield* Service88;
|
|
145
|
+
const environment = yield* Service72;
|
|
142
146
|
const bus = yield* Service93;
|
|
143
|
-
const forms = yield*
|
|
144
|
-
const integration = yield*
|
|
145
|
-
const credentials = yield*
|
|
147
|
+
const forms = yield* Service87;
|
|
148
|
+
const integration = yield* Service85;
|
|
149
|
+
const credentials = yield* Service86;
|
|
146
150
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
151
|
+
const pool = yield* Service38;
|
|
152
|
+
const mcpEvents = yield* enabled3("mcp_events");
|
|
148
153
|
const root = yield* Effect.scope;
|
|
149
154
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
155
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -175,7 +180,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
175
180
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
181
|
authorize: () => Effect.gen(function* () {
|
|
177
182
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
183
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service86, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
184
|
})
|
|
180
185
|
});
|
|
181
186
|
}).pipe(Scope.provide(scope));
|
|
@@ -183,7 +188,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
183
188
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
184
189
|
const entry = entries.get(name);
|
|
185
190
|
if (!entry)
|
|
186
|
-
return yield* new
|
|
191
|
+
return yield* new NotFoundError5({ server: name });
|
|
187
192
|
return entry;
|
|
188
193
|
});
|
|
189
194
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -196,7 +201,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
196
201
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
202
|
return;
|
|
198
203
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ server: name, config: entry.config, credential }).pipe(Effect.provideService(
|
|
204
|
+
return yield* McpOAuth.connectProvider({ server: name, config: entry.config, credential }).pipe(Effect.provideService(Service86, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
205
|
});
|
|
201
206
|
const elicitation = {
|
|
202
207
|
create: (input) => Effect.gen(function* () {
|
|
@@ -238,7 +243,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
238
243
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
239
244
|
};
|
|
240
245
|
}));
|
|
241
|
-
}).pipe(Effect.provideService(
|
|
246
|
+
}).pipe(Effect.provideService(Service88, location)),
|
|
242
247
|
complete: (input) => Effect.gen(function* () {
|
|
243
248
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
244
249
|
if (!formID)
|
|
@@ -270,11 +275,12 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
270
275
|
status: { status: "pending" },
|
|
271
276
|
startup: Latch.makeUnsafe(),
|
|
272
277
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
273
|
-
connection: (pooled ? share :
|
|
278
|
+
connection: (pooled ? share : make27)({
|
|
274
279
|
name,
|
|
275
280
|
config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
|
|
276
281
|
directory: location.directory,
|
|
277
282
|
clientInfo: options?.clientInfo,
|
|
283
|
+
mcpEvents,
|
|
278
284
|
authProvider: Effect.suspend(() => selectCredential(entry).pipe(Effect.flatMap((credential) => connectProvider(name, entry, credential)))),
|
|
279
285
|
elicitation,
|
|
280
286
|
environment,
|
|
@@ -412,7 +418,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
412
418
|
clientInfo: options?.clientInfo
|
|
413
419
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
420
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
421
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
416
422
|
const register = Effect.gen(function* () {
|
|
417
423
|
if (closed) {
|
|
418
424
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -485,7 +491,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
485
491
|
yield* entry.connection.start;
|
|
486
492
|
}).pipe(locks.withLock(name));
|
|
487
493
|
});
|
|
488
|
-
fork(bus.subscribe(
|
|
494
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
489
495
|
const state = create4({
|
|
490
496
|
name: "mcp",
|
|
491
497
|
initial: () => ({
|
|
@@ -511,7 +517,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
511
517
|
}),
|
|
512
518
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
519
|
});
|
|
514
|
-
return
|
|
520
|
+
return Service37.of({
|
|
515
521
|
transform: state.transform,
|
|
516
522
|
reload: state.reload,
|
|
517
523
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -634,6 +640,9 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
634
640
|
uri: input.uri,
|
|
635
641
|
contents: result.contents.map((part) => ("text" in part) ? { type: "text", uri: part.uri, text: part.text, mimeType: part.mimeType } : { type: "blob", uri: part.uri, blob: part.blob, mimeType: part.mimeType })
|
|
636
642
|
});
|
|
643
|
+
}),
|
|
644
|
+
events: Effect.fn("MCP.events")(function* (server) {
|
|
645
|
+
return (yield* connected(ServerName2.make(server))).client?.events;
|
|
637
646
|
})
|
|
638
647
|
});
|
|
639
648
|
}));
|
|
@@ -645,21 +654,22 @@ function mergeCatalogs(catalogs) {
|
|
|
645
654
|
}
|
|
646
655
|
function configured3(options) {
|
|
647
656
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
657
|
+
service: Service37,
|
|
658
|
+
layer: layer17(options),
|
|
650
659
|
deps: [
|
|
651
|
-
|
|
652
|
-
|
|
660
|
+
node90,
|
|
661
|
+
node73,
|
|
662
|
+
node81,
|
|
653
663
|
node95,
|
|
654
|
-
node91,
|
|
655
664
|
node89,
|
|
656
|
-
|
|
665
|
+
node87,
|
|
666
|
+
node88,
|
|
657
667
|
httpFetch,
|
|
658
|
-
|
|
668
|
+
node41
|
|
659
669
|
]
|
|
660
670
|
});
|
|
661
671
|
}
|
|
662
|
-
var
|
|
672
|
+
var node40 = configured3();
|
|
663
673
|
function toElicitationField(key, property, required) {
|
|
664
674
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
675
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +720,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
720
|
}
|
|
711
721
|
}
|
|
712
722
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
723
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options3, layer17, configured3, node40, exports_mcp4 };
|