@opencode/core 0.0.0-dev-21252 → 0.0.0-dev-21253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{pty-04zfcyt8.js → location-service-map-04k4tfkv.js} +11 -11
- package/dist/chunks/{pty-nqvxt6f2.js → location-service-map-0b4vcyee.js} +8 -8
- package/dist/chunks/{pty-qk7mv1xs.js → location-service-map-0b7fzb2t.js} +7 -7
- package/dist/chunks/{pty-0vbcp93d.js → location-service-map-0emb60td.js} +2 -2
- package/dist/chunks/{pty-yq97mf54.js → location-service-map-0ftb6bkr.js} +24 -24
- package/dist/chunks/{pty-bsg7vvxy.js → location-service-map-0jecb6bt.js} +17 -17
- package/dist/chunks/{pty-kmnwckzv.js → location-service-map-0sapgepd.js} +11 -11
- package/dist/chunks/{pty-2vx1pgcs.js → location-service-map-0sgd8qaf.js} +16 -16
- package/dist/chunks/{pty-6ts7sypm.js → location-service-map-0xspzhtc.js} +12 -12
- package/dist/chunks/{pty-k0dv98ax.js → location-service-map-0zcas32x.js} +13 -13
- package/dist/chunks/{pty-4yqhvzx8.js → location-service-map-10tjy8f3.js} +13 -13
- package/dist/chunks/{pty-w579sh2t.js → location-service-map-11vd7v3k.js} +16 -16
- package/dist/chunks/{pty-vfjbdpbc.js → location-service-map-1a6d4tpk.js} +20 -20
- package/dist/chunks/{pty-ghttpbhe.js → location-service-map-1az5ecc6.js} +22 -22
- package/dist/chunks/location-service-map-1fkhxkr9.js +257 -0
- package/dist/chunks/{pty-hskj05ts.js → location-service-map-1s8x17fn.js} +34 -34
- package/dist/chunks/{pty-y6yhjvhw.js → location-service-map-28scebvh.js} +13 -13
- package/dist/chunks/{pty-qrsxyz47.js → location-service-map-2b8txd85.js} +11 -11
- package/dist/chunks/{pty-5gzjtbzb.js → location-service-map-2ktf0ed2.js} +8 -8
- package/dist/chunks/{pty-4k4fvchf.js → location-service-map-2nhbp4ey.js} +11 -11
- package/dist/chunks/{pty-w3t90m8a.js → location-service-map-2smeayfc.js} +11 -11
- package/dist/chunks/{pty-vj4msk15.js → location-service-map-2wjjq69z.js} +25 -25
- package/dist/chunks/{pty-79efq26t.js → location-service-map-2wv1w4ht.js} +31 -31
- package/dist/chunks/{pty-f83dkk6g.js → location-service-map-2wzsrfv9.js} +4 -4
- package/dist/chunks/{pty-hccfxqt2.js → location-service-map-2yqzctst.js} +24 -24
- package/dist/chunks/{pty-dng94c05.js → location-service-map-31gfn46a.js} +32 -32
- package/dist/chunks/{pty-mqrd7sth.js → location-service-map-34yf9apc.js} +5 -5
- package/dist/chunks/{pty-kgrkq9ry.js → location-service-map-3db608qv.js} +44 -44
- package/dist/chunks/{pty-j1e1vdpa.js → location-service-map-3fex6f4e.js} +27 -27
- package/dist/chunks/{pty-jym867d0.js → location-service-map-3gbegrpe.js} +11 -11
- package/dist/chunks/{pty-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-7d4ryxry.js → location-service-map-3mhcap8g.js} +25 -25
- package/dist/chunks/{pty-ztsrdpdj.js → location-service-map-3n1f9gjw.js} +3 -3
- package/dist/chunks/{pty-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-emdb9ywx.js → location-service-map-3wpps7p7.js} +14 -14
- package/dist/chunks/{pty-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-gj71zhbs.js → location-service-map-43kvem2p.js} +5 -5
- package/dist/chunks/{pty-mftp4jgp.js → location-service-map-448df8b6.js} +15 -15
- package/dist/chunks/{pty-h0bbvnbm.js → location-service-map-47kyhsf5.js} +92 -92
- package/dist/chunks/{pty-8xqdgpeg.js → location-service-map-4af8amen.js} +4 -4
- package/dist/chunks/{pty-aepr7q13.js → location-service-map-4f1cmjbr.js} +175 -175
- package/dist/chunks/{pty-ghzt5075.js → location-service-map-4xdpqd00.js} +23 -23
- package/dist/chunks/{pty-r94pvvab.js → location-service-map-54ma36ye.js} +4 -4
- package/dist/chunks/{pty-ep1c6evs.js → location-service-map-58gf644q.js} +15 -15
- package/dist/chunks/{pty-ry6831an.js → location-service-map-5e1pzs32.js} +9 -9
- package/dist/chunks/{pty-b3qw4ny2.js → location-service-map-5hyxmv2s.js} +18 -18
- package/dist/chunks/{pty-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-56swpcfg.js → location-service-map-5mjy3nze.js} +11 -11
- package/dist/chunks/{pty-eys57y9b.js → location-service-map-5xtgfte3.js} +8 -8
- package/dist/chunks/{pty-qgn6gcr1.js → location-service-map-607tc6va.js} +5 -5
- package/dist/chunks/{pty-v8wcx65a.js → location-service-map-61ccqgbk.js} +33 -33
- package/dist/chunks/{pty-p62ktq1b.js → location-service-map-63axe1xw.js} +22 -22
- package/dist/chunks/{pty-wez1ajrw.js → location-service-map-66n522bf.js} +7 -7
- package/dist/chunks/{pty-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
- package/dist/chunks/{pty-0prfbnza.js → location-service-map-68c6bywe.js} +15 -15
- package/dist/chunks/{pty-mgxskf66.js → location-service-map-69c1rm2y.js} +37 -37
- package/dist/chunks/{pty-sj1k89gn.js → location-service-map-6dhkbmar.js} +22 -22
- package/dist/chunks/{pty-bzqqb8ta.js → location-service-map-6e05mvjn.js} +3 -3
- package/dist/chunks/{pty-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-b532nts2.js → location-service-map-701zgde4.js} +46 -46
- package/dist/chunks/{pty-k4j5e150.js → location-service-map-7475ye8q.js} +19 -19
- package/dist/chunks/{pty-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{pty-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-y7j6ns4a.js → location-service-map-7gzr8fcx.js} +38 -38
- package/dist/chunks/{pty-6kgydgrk.js → location-service-map-7styb3mj.js} +12 -12
- package/dist/chunks/{pty-bqqqx74r.js → location-service-map-7wz66va2.js} +45 -45
- package/dist/chunks/{pty-0jxg87fr.js → location-service-map-84gf0929.js} +6 -6
- package/dist/chunks/{pty-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{pty-y94agb53.js → location-service-map-89xs86m8.js} +33 -33
- package/dist/chunks/{pty-f8bebqmw.js → location-service-map-8dew01v7.js} +9 -9
- package/dist/chunks/{pty-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-v5dkyp31.js → location-service-map-8rqycdgd.js} +7 -7
- package/dist/chunks/{pty-nb8d4sea.js → location-service-map-8z89m2ag.js} +8 -8
- package/dist/chunks/{pty-j09zfasm.js → location-service-map-91qna3x0.js} +3 -3
- package/dist/chunks/{pty-5rqr18hk.js → location-service-map-96kdejr0.js} +9 -9
- package/dist/chunks/{pty-waskdk5r.js → location-service-map-97aeaand.js} +4 -4
- package/dist/chunks/{pty-b8fv3x8g.js → location-service-map-99r3jdkb.js} +7 -7
- package/dist/chunks/{pty-d54gtgr2.js → location-service-map-9cmxz3t2.js} +11 -11
- package/dist/chunks/{pty-qj9dcjzw.js → location-service-map-9daafeqq.js} +5 -5
- package/dist/chunks/{pty-khtxvdmw.js → location-service-map-9e7as449.js} +21 -21
- package/dist/chunks/{pty-eywv91wk.js → location-service-map-9v965wtz.js} +24 -24
- package/dist/chunks/{pty-9vrga451.js → location-service-map-9vrga451.js} +1 -1
- package/dist/chunks/{pty-r86349qm.js → location-service-map-9yj7qnam.js} +6 -6
- package/dist/chunks/{pty-nzsdqqv9.js → location-service-map-9z5vgmdz.js} +30 -30
- package/dist/chunks/{pty-8fmtb3sq.js → location-service-map-a2qhda9k.js} +36 -36
- package/dist/chunks/{pty-8djhns2y.js → location-service-map-a392m9tg.js} +3 -3
- package/dist/chunks/{pty-v2r51t0g.js → location-service-map-a3n0rbz6.js} +8 -8
- package/dist/chunks/{pty-ev6dmhwt.js → location-service-map-a6m2mr7x.js} +13 -13
- package/dist/chunks/{pty-x0tkdd4v.js → location-service-map-a78mngf1.js} +18 -18
- package/dist/chunks/{pty-613s401q.js → location-service-map-ags159dz.js} +21 -21
- package/dist/chunks/{pty-ws3rr3fx.js → location-service-map-ar493ya2.js} +30 -30
- package/dist/chunks/{pty-vq0fwg4j.js → location-service-map-aranr509.js} +12 -12
- package/dist/chunks/{pty-x5jhdhzv.js → location-service-map-asrhbzgz.js} +2 -2
- package/dist/chunks/{pty-qe7qwmvw.js → location-service-map-atsmnjdq.js} +42 -42
- package/dist/chunks/{pty-16nt522w.js → location-service-map-av46q1hz.js} +32 -32
- package/dist/chunks/{pty-6w7ed4zb.js → location-service-map-avfwhhjy.js} +12 -12
- package/dist/chunks/{pty-n1900k66.js → location-service-map-b1g4ws88.js} +1 -1
- package/dist/chunks/{pty-be2m8mkb.js → location-service-map-b36q4kbz.js} +24 -24
- package/dist/chunks/{pty-j5y9yxpr.js → location-service-map-b5c23w0p.js} +26 -26
- package/dist/chunks/{pty-bzeyqsqd.js → location-service-map-bzeyqsqd.js} +1 -1
- package/dist/chunks/{pty-3hsqsy3q.js → location-service-map-c1ngtfbq.js} +17 -17
- package/dist/chunks/{pty-17h4d3k8.js → location-service-map-c2evp3mb.js} +24 -24
- package/dist/chunks/{pty-f59ep6tb.js → location-service-map-c39sscj7.js} +11 -11
- package/dist/chunks/{pty-c41wscbt.js → location-service-map-c41wscbt.js} +2 -2
- package/dist/chunks/{pty-5vvprwm6.js → location-service-map-c64jw2v5.js} +2 -2
- package/dist/chunks/{pty-c8ax2afj.js → location-service-map-c8ax2afj.js} +2 -2
- package/dist/chunks/{pty-rqhgjz8j.js → location-service-map-ca1k71y4.js} +13 -13
- package/dist/chunks/{pty-zcrspsvn.js → location-service-map-ca7w653e.js} +4 -4
- package/dist/chunks/{pty-k283101k.js → location-service-map-ce60aw2j.js} +11 -11
- package/dist/chunks/{pty-75ar5t22.js → location-service-map-cfbvewbn.js} +6 -6
- package/dist/chunks/{pty-2x278s08.js → location-service-map-chr7e2hv.js} +36 -36
- package/dist/chunks/{pty-jqzezgch.js → location-service-map-cjcnyykf.js} +12 -12
- package/dist/chunks/{pty-5k0aebbb.js → location-service-map-cv873j2b.js} +22 -22
- package/dist/chunks/{pty-79qaa2kf.js → location-service-map-cwa6csj7.js} +9 -9
- package/dist/chunks/{pty-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
- package/dist/chunks/{pty-1s33mprc.js → location-service-map-d7p6t65s.js} +19 -19
- package/dist/chunks/{pty-xw6wytjz.js → location-service-map-dk02pm8q.js} +23 -23
- package/dist/chunks/{pty-dpkg50ah.js → location-service-map-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-tt8gc4fv.js → location-service-map-dq407baf.js} +6 -6
- package/dist/chunks/{pty-57b9ws8p.js → location-service-map-drwq78ky.js} +5 -5
- package/dist/chunks/{pty-bx3wj5v5.js → location-service-map-dsh1t1z2.js} +15 -15
- package/dist/chunks/{pty-8dff8bqa.js → location-service-map-dtqg9ce1.js} +5 -5
- package/dist/chunks/{pty-mgq3c1d5.js → location-service-map-dw3etbem.js} +5 -5
- package/dist/chunks/{pty-9587ae3r.js → location-service-map-e6hb6vng.js} +9 -9
- package/dist/chunks/{pty-c7zza6wf.js → location-service-map-e80seqcp.js} +3 -3
- package/dist/chunks/{pty-a5jmndgx.js → location-service-map-e9tzdgc6.js} +20 -20
- package/dist/chunks/{pty-eaj1djv9.js → location-service-map-eaj1djv9.js} +1 -1
- package/dist/chunks/{pty-59j4ht07.js → location-service-map-eb7k65g0.js} +20 -20
- package/dist/chunks/{pty-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-eh6ej367.js → location-service-map-eh6ej367.js} +2 -2
- package/dist/chunks/{pty-txbw3nms.js → location-service-map-ejjgsgye.js} +6 -6
- package/dist/chunks/{pty-wrh894z7.js → location-service-map-eqacf8hd.js} +28 -28
- package/dist/chunks/{pty-xg5ymnxc.js → location-service-map-er4sfmr8.js} +4 -4
- package/dist/chunks/{pty-eyqpj6mq.js → location-service-map-erhtex29.js} +11 -11
- package/dist/chunks/{pty-es1vcfrp.js → location-service-map-es1vcfrp.js} +3 -3
- package/dist/chunks/{pty-1acjjqhc.js → location-service-map-f2n192rq.js} +4 -4
- package/dist/chunks/{pty-exxz27fe.js → location-service-map-f5nc8xkq.js} +25 -25
- package/dist/chunks/{pty-m35e3w0r.js → location-service-map-f6pzc08s.js} +13 -13
- package/dist/chunks/{pty-wq2f1mye.js → location-service-map-famg5fp1.js} +16 -16
- package/dist/chunks/{pty-g6yfr6ja.js → location-service-map-fb8ejb83.js} +5 -5
- package/dist/chunks/{pty-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
- package/dist/chunks/{pty-q0tnd1dz.js → location-service-map-fvgetzaa.js} +15 -15
- package/dist/chunks/{pty-d6ex36fs.js → location-service-map-fww2ha2b.js} +10 -10
- package/dist/chunks/{pty-5pa1jwxy.js → location-service-map-fxkn1a9p.js} +12 -12
- package/dist/chunks/{pty-xrdmrr14.js → location-service-map-fxmbkhcp.js} +5 -5
- package/dist/chunks/{pty-pgf8gcr8.js → location-service-map-g6qfs4dp.js} +40 -40
- package/dist/chunks/{pty-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-9m0hg6kw.js → location-service-map-gejxznp6.js} +3 -3
- package/dist/chunks/{pty-gqtdsdt7.js → location-service-map-gqtdsdt7.js} +1 -1
- package/dist/chunks/{pty-k8h85fj7.js → location-service-map-gsx6pe7c.js} +2 -2
- package/dist/chunks/{pty-mhwem8sv.js → location-service-map-gws55fmq.js} +16 -16
- package/dist/chunks/{pty-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/location-service-map-ht5y0zrb.js +18 -0
- package/dist/chunks/location-service-map-hv6btyz4.js +517 -0
- package/dist/chunks/{pty-mthh58nh.js → location-service-map-hwtpwc3p.js} +33 -33
- package/dist/chunks/{pty-dbvaw56v.js → location-service-map-j1zmzch7.js} +40 -40
- package/dist/chunks/{pty-51f5btjf.js → location-service-map-j5w2yx54.js} +6 -6
- package/dist/chunks/{pty-emtnyy8a.js → location-service-map-jds9f11v.js} +18 -18
- package/dist/chunks/{pty-wy73jbek.js → location-service-map-jj12p2mg.js} +10 -10
- package/dist/chunks/{pty-1v2js5qj.js → location-service-map-jjmjy7n9.js} +13 -13
- package/dist/chunks/{pty-4xdpab2z.js → location-service-map-jjwt9gb5.js} +9 -9
- package/dist/chunks/{pty-t8c3xmsp.js → location-service-map-jjzg35dh.js} +9 -9
- package/dist/chunks/{pty-38m8qhc5.js → location-service-map-jnzjas8r.js} +11 -11
- package/dist/chunks/{pty-dbe6ax9h.js → location-service-map-jx0nnva4.js} +31 -31
- package/dist/chunks/{pty-sbb270gk.js → location-service-map-k5qd8j02.js} +8 -8
- package/dist/chunks/{pty-kawxgbzv.js → location-service-map-k796dn9k.js} +16 -16
- package/dist/chunks/{pty-gq21vk3h.js → location-service-map-ka04c9zv.js} +19 -19
- package/dist/chunks/{pty-fxaymqdw.js → location-service-map-khmqacep.js} +4 -4
- package/dist/chunks/{pty-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
- package/dist/chunks/{pty-5p4ea1z6.js → location-service-map-m5p5j9xj.js} +15 -15
- package/dist/chunks/{pty-tenjkvjc.js → location-service-map-m8rw2j5b.js} +19 -19
- package/dist/chunks/{pty-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{pty-knfhyvcc.js → location-service-map-mgba95gv.js} +11 -11
- package/dist/chunks/{pty-8btm942h.js → location-service-map-mm2knkg8.js} +2 -2
- package/dist/chunks/{pty-h62q6qsm.js → location-service-map-mnx7k8vc.js} +13 -13
- package/dist/chunks/{pty-b5s7rv85.js → location-service-map-ms4gjrr7.js} +24 -24
- package/dist/chunks/{pty-zz1sb3nm.js → location-service-map-n0w78gez.js} +25 -25
- package/dist/chunks/{pty-c4mkfy92.js → location-service-map-n3w8tb9d.js} +4 -4
- package/dist/chunks/{pty-t5bkfr6y.js → location-service-map-n5r3786w.js} +26 -26
- package/dist/chunks/{pty-mx4xths8.js → location-service-map-ndq1ymza.js} +30 -30
- package/dist/chunks/{pty-2vfvkkyx.js → location-service-map-nj3favr9.js} +4 -4
- package/dist/chunks/{pty-vak501x5.js → location-service-map-npdy8e12.js} +79 -79
- package/dist/chunks/{pty-6sk5sj01.js → location-service-map-nvs26cvk.js} +28 -28
- package/dist/chunks/{pty-9z80hxc4.js → location-service-map-nvt3sax2.js} +25 -25
- package/dist/chunks/{pty-h0c8h6v4.js → location-service-map-pdfn7pxf.js} +17 -17
- package/dist/chunks/{pty-kt7fyp0h.js → location-service-map-pgdtwhhg.js} +59 -59
- package/dist/chunks/{pty-z2b2xe7d.js → location-service-map-phzapgrk.js} +3 -3
- package/dist/chunks/{pty-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{pty-k7vqg6gp.js → location-service-map-pmwgnym2.js} +10 -10
- package/dist/chunks/{pty-pyp098nx.js → location-service-map-ppaqnmap.js} +16 -16
- package/dist/chunks/{pty-5py0qphe.js → location-service-map-ptgg3xn9.js} +21 -21
- package/dist/chunks/{pty-carp9cx2.js → location-service-map-pvwg65fr.js} +20 -20
- package/dist/chunks/{pty-tye2g5vs.js → location-service-map-qfm8vkbj.js} +5 -5
- package/dist/chunks/{pty-9kr8jvk4.js → location-service-map-qgfpz6tp.js} +9 -9
- package/dist/chunks/{pty-h9sr2fx8.js → location-service-map-qn8kc66f.js} +43 -43
- package/dist/chunks/{pty-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-ah7q5eh6.js → location-service-map-r06414qr.js} +8 -8
- package/dist/chunks/{pty-ax36eyar.js → location-service-map-r3q6pmcz.js} +4 -4
- package/dist/chunks/{pty-8t56p07m.js → location-service-map-r58bmem3.js} +27 -27
- package/dist/chunks/{pty-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-znp2av2g.js → location-service-map-rjqn9db2.js} +89 -89
- package/dist/chunks/{pty-espax8zg.js → location-service-map-rk7s9xkn.js} +4 -4
- package/dist/chunks/{pty-1p07q0wb.js → location-service-map-rkprpv83.js} +4 -4
- package/dist/chunks/{pty-rgg94day.js → location-service-map-rnbsmhp9.js} +26 -26
- package/dist/chunks/{pty-xnpn367r.js → location-service-map-rp7q7g95.js} +5 -5
- package/dist/chunks/{pty-89bb6baa.js → location-service-map-rqqqmm2x.js} +8 -8
- package/dist/chunks/{pty-rywzfdxh.js → location-service-map-rywzfdxh.js} +1 -1
- package/dist/chunks/{pty-dyx7hmrq.js → location-service-map-rzn2an3n.js} +11 -11
- package/dist/chunks/{pty-5mq5fr1q.js → location-service-map-sgkpgvr9.js} +14 -14
- package/dist/chunks/{pty-zdj3kqwc.js → location-service-map-snd0hbat.js} +47 -47
- package/dist/chunks/{pty-5pckqsa0.js → location-service-map-sydtq5bh.js} +20 -20
- package/dist/chunks/{pty-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{pty-ms4hbghf.js → location-service-map-t31wr33a.js} +50 -50
- package/dist/chunks/{pty-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-8n5y01rv.js → location-service-map-tbt64xkh.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{pty-09mdhsg2.js → location-service-map-thrv6eee.js} +8 -8
- package/dist/chunks/{pty-tkb22qbm.js → location-service-map-tkb22qbm.js} +2 -2
- package/dist/chunks/{pty-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{pty-vfmy936b.js → location-service-map-txj2b6t6.js} +12 -12
- package/dist/chunks/{pty-ydh080vk.js → location-service-map-ty26n7g5.js} +25 -25
- package/dist/chunks/{pty-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-dys7k0s0.js → location-service-map-v0p83vcd.js} +8 -8
- package/dist/chunks/{pty-ajfgb3zy.js → location-service-map-v1hpn28h.js} +4 -4
- package/dist/chunks/{pty-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-w2veat89.js → location-service-map-va6wyqyx.js} +50 -50
- package/dist/chunks/{pty-j4x75x50.js → location-service-map-vcw4d86h.js} +19 -19
- package/dist/chunks/{pty-m1z5ek08.js → location-service-map-ve88pny4.js} +8 -8
- package/dist/chunks/{pty-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-gp4w86nb.js → location-service-map-vgdxb0jt.js} +24 -24
- package/dist/chunks/{pty-h9t9rr5j.js → location-service-map-vkaav4je.js} +8 -8
- package/dist/chunks/{pty-j7jn4qex.js → location-service-map-vkc6zmcv.js} +26 -26
- package/dist/chunks/{pty-gecaqdc7.js → location-service-map-vvp3v339.js} +13 -13
- package/dist/chunks/{pty-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-25875qsz.js → location-service-map-w11h8f2h.js} +21 -21
- package/dist/chunks/{pty-mf5sjjt4.js → location-service-map-w3207yhs.js} +1 -1
- package/dist/chunks/{pty-w0pcsx04.js → location-service-map-w37ctcs1.js} +5 -5
- package/dist/chunks/{pty-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-y7vwj9hc.js → location-service-map-w86w6dhq.js} +37 -37
- package/dist/chunks/{pty-qsswj7nd.js → location-service-map-wb7w7em4.js} +13 -13
- package/dist/chunks/{pty-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{pty-7qcm40ym.js → location-service-map-wex158da.js} +11 -11
- package/dist/chunks/{pty-ewzhehhx.js → location-service-map-wg6gta6c.js} +47 -47
- package/dist/chunks/{pty-5kgk83bb.js → location-service-map-wvg18ghq.js} +21 -21
- package/dist/chunks/{pty-5g9mj0x8.js → location-service-map-wx3hxqax.js} +36 -36
- package/dist/chunks/{pty-8c229cqm.js → location-service-map-wxg87nfm.js} +39 -39
- package/dist/chunks/{pty-273j735v.js → location-service-map-x5d7sdr8.js} +3 -3
- package/dist/chunks/{pty-j8hg5m6j.js → location-service-map-x6mp1g8n.js} +14 -14
- package/dist/chunks/{pty-kr25s46q.js → location-service-map-x8nj1mzk.js} +5 -5
- package/dist/chunks/{pty-wcnw1vw1.js → location-service-map-x8sfg8by.js} +4 -4
- package/dist/chunks/{pty-5q287mz9.js → location-service-map-xc22q6s2.js} +17 -17
- package/dist/chunks/{pty-75v6ymbe.js → location-service-map-xtkp9zx0.js} +14 -14
- package/dist/chunks/{pty-sz1e9eqn.js → location-service-map-y0b997cv.js} +19 -19
- package/dist/chunks/{pty-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-fna3snnf.js → location-service-map-y4hpq52y.js} +18 -18
- package/dist/chunks/{pty-xrpg47n6.js → location-service-map-y56ehv6b.js} +9 -9
- package/dist/chunks/{pty-2ggmd3qz.js → location-service-map-y6pmxrw9.js} +9 -9
- package/dist/chunks/{pty-4bm5ja14.js → location-service-map-ybfnsx4m.js} +4 -4
- package/dist/chunks/{pty-8whp40kv.js → location-service-map-yeejah88.js} +3 -3
- package/dist/chunks/{pty-2edtnx9x.js → location-service-map-yw6r4h5c.js} +9 -9
- package/dist/chunks/{pty-ywt8jp22.js → location-service-map-ywt8jp22.js} +2 -2
- package/dist/chunks/{pty-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-vjkhbcr1.js → location-service-map-z0wyxbsd.js} +22 -22
- package/dist/chunks/{pty-z18fegx4.js → location-service-map-z18fegx4.js} +1 -1
- package/dist/chunks/{pty-bmv70x53.js → location-service-map-z5gskwp1.js} +27 -27
- package/dist/chunks/{pty-7jvyjmqp.js → location-service-map-z7kyq5k2.js} +45 -45
- package/dist/chunks/location-service-map-zgc7v4ez.js +26 -0
- package/dist/chunks/{pty-dwy6gwr4.js → location-service-map-zpmvmy5f.js} +4 -4
- package/dist/chunks/{pty-4ar0dv3a.js → location-service-map-zprbgp1k.js} +20 -20
- package/dist/chunks/{pty-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-gb91ecjr.js → location-service-map-zyeqhx24.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +74 -74
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/pty-619r8v3y.js +0 -18
- package/dist/chunks/pty-b31pqyrf.js +0 -26
- package/dist/chunks/pty-yjxftd19.js +0 -257
- package/dist/chunks/pty-ypw97atq.js +0 -517
- /package/dist/chunks/{pty-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./location-service-map-3wpps7p7.js";
|
|
9
9
|
import {
|
|
10
10
|
Service58
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-9cmxz3t2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./location-service-map-68c6bywe.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service57,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-jj12p2mg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service77
|
|
22
|
+
} from "./location-service-map-7gzr8fcx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service53,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-a78mngf1.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin2 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
111
|
const environment = yield* Service58;
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
112
|
+
const access = yield* Service53;
|
|
113
|
+
const fileMutation = yield* Service57;
|
|
114
|
+
const formatter = yield* Service74;
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service77;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin23 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service84,
|
|
4
|
+
node88
|
|
5
|
+
} from "./location-service-map-famg5fp1.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service6,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node8
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service6 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service84;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service6.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node88] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service6, layer6, node8, exports_sdk };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./location-service-map-va6wyqyx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./location-service-map-61ccqgbk.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const snapshot = yield* Service56;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin8 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_snapshot };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service80,
|
|
10
|
+
node: () => node84
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service80 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service80.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node84 = makeLocationNode({ service: Service80, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service80, node84, exports_hooks };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-1az5ecc6.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent2 = {};
|
|
12
12
|
__export(exports_agent2, {
|
|
13
13
|
AgentPlugin: () => exports_agent2,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin44
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin44 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin47 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID15.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID15.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin47 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./location-service-map-famg5fp1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-service-map-3wpps7p7.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
9
|
Service29
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-wxg87nfm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin42
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin42 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
199
|
+
const location = yield* Service82;
|
|
200
200
|
const mcp = yield* Service29;
|
|
201
|
-
const bus = yield*
|
|
201
|
+
const bus = yield* Service84;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin42, exports_command2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-famg5fp1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service29,
|
|
7
7
|
node32
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-wxg87nfm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./location-service-map-7gzr8fcx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service37,
|
|
15
|
+
node39
|
|
16
|
+
} from "./location-service-map-b36q4kbz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
26
|
layer: () => layer14,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name15,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
29
|
node: () => node31
|
|
30
30
|
});
|
|
@@ -33,15 +33,15 @@ import { McpEvent } from "@opencode/schema/mcp-event";
|
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer14 = Layer.effect(
|
|
40
|
+
var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service29;
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
42
|
+
const tools = yield* Service37;
|
|
43
|
+
const bus = yield* Service84;
|
|
44
|
+
const permission = yield* Service77;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name15(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: { input: input ?? {} },
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
123
|
var node31 = makeLocationNode({
|
|
124
|
-
service:
|
|
124
|
+
service: Service27,
|
|
125
125
|
layer: layer14,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node39, node32, node88, node81]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name15, Service27, layer14, node31, exports_mcp3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-famg5fp1.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-y0b997cv.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service49,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured6,
|
|
26
|
+
layer: () => layer22,
|
|
27
|
+
node: () => node51
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options7 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service49.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer22 = makeLayer();
|
|
263
|
+
var configured6 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service49,
|
|
265
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
266
|
+
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node51 = configured6();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError3, NotFoundError7, Service49, layer22, configured6, node51, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID12,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-11vd7v3k.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|