@opencode/core 0.0.0-dev-21212 → 0.0.0-dev-21216
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{config-v210v162.js → location-service-map-00bmw6dv.js} +5 -5
- package/dist/chunks/{config-dea3gwp3.js → location-service-map-00qfyfqm.js} +33 -33
- package/dist/chunks/{config-0jpgft5k.js → location-service-map-095c3p8e.js} +11 -11
- package/dist/chunks/{config-qtezqvee.js → location-service-map-0rzv0d1j.js} +28 -28
- package/dist/chunks/{config-vfycf9ng.js → location-service-map-0sdqqm63.js} +17 -17
- package/dist/chunks/{config-zvjhkatg.js → location-service-map-0t9wd588.js} +8 -8
- package/dist/chunks/{config-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-5eer2xf9.js → location-service-map-14cna52h.js} +8 -8
- package/dist/chunks/{config-8k3b0agb.js → location-service-map-15tcysxs.js} +27 -27
- package/dist/chunks/{config-57qzdvhg.js → location-service-map-16nwpa80.js} +8 -8
- package/dist/chunks/{config-1ep4rre3.js → location-service-map-1ep4rre3.js} +1 -1
- package/dist/chunks/{config-t5scbgyn.js → location-service-map-1jxv9sm4.js} +20 -20
- package/dist/chunks/{config-1rn5pcm9.js → location-service-map-1rn5pcm9.js} +1 -1
- package/dist/chunks/{config-ny8edt06.js → location-service-map-1w2wqhfv.js} +4 -4
- package/dist/chunks/{config-y16m4k0n.js → location-service-map-1wpxw0e7.js} +13 -13
- package/dist/chunks/{config-dsxjqpma.js → location-service-map-1zrcg07n.js} +4 -4
- package/dist/chunks/{config-7gbhzbmk.js → location-service-map-257jsaav.js} +4 -4
- package/dist/chunks/{config-fpak32sp.js → location-service-map-2nzy0f4r.js} +21 -21
- package/dist/chunks/{config-qff65cax.js → location-service-map-2q9f7x5m.js} +26 -26
- package/dist/chunks/{config-h3h6w07a.js → location-service-map-2z5cbw8r.js} +136 -136
- package/dist/chunks/{config-ftr9njzs.js → location-service-map-319an1yx.js} +4 -4
- package/dist/chunks/{config-r51s5bd8.js → location-service-map-38m91e7w.js} +11 -11
- package/dist/chunks/{config-8ybx4ept.js → location-service-map-38vw8686.js} +28 -28
- package/dist/chunks/{config-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/location-service-map-3n1sasz5.js +257 -0
- package/dist/chunks/{config-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-9h1mdt7j.js → location-service-map-401c2z3y.js} +23 -23
- package/dist/chunks/{config-r0wdf4xp.js → location-service-map-46zntf21.js} +3 -3
- package/dist/chunks/{config-4tszw8z9.js → location-service-map-492cpbxd.js} +14 -14
- package/dist/chunks/{config-2q5tx0yx.js → location-service-map-4n2n7a9t.js} +25 -25
- package/dist/chunks/{config-r324nhbh.js → location-service-map-4p7yzny4.js} +95 -95
- package/dist/chunks/{config-fnanefbj.js → location-service-map-4pkavfpm.js} +33 -33
- package/dist/chunks/{config-9hfk5z5c.js → location-service-map-4zt2j45g.js} +34 -34
- package/dist/chunks/{config-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{config-7hdhrm3j.js → location-service-map-5akner74.js} +16 -16
- package/dist/chunks/{config-ehqfapa0.js → location-service-map-5g0ev0pa.js} +24 -24
- package/dist/chunks/{config-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-k2j5a9gy.js → location-service-map-65bxtfdb.js} +35 -35
- package/dist/chunks/{config-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
- package/dist/chunks/{config-68wqtz75.js → location-service-map-68wqtz75.js} +1 -1
- package/dist/chunks/{config-fnhjbz4x.js → location-service-map-6fwebebv.js} +14 -14
- package/dist/chunks/{config-51tppabq.js → location-service-map-6j2zvqwp.js} +46 -46
- package/dist/chunks/{config-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-sdwaewz7.js → location-service-map-6y5p02bj.js} +19 -19
- package/dist/chunks/{config-tk14y25j.js → location-service-map-6yz0wx8n.js} +5 -5
- package/dist/chunks/{config-2gmw2dpq.js → location-service-map-74mrr14e.js} +27 -27
- package/dist/chunks/{config-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{config-1vf4sagb.js → location-service-map-7a5bexz1.js} +49 -49
- package/dist/chunks/{config-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-34qg6jmz.js → location-service-map-7h0xefp6.js} +22 -22
- package/dist/chunks/{config-fpzpr3k4.js → location-service-map-7sk26hzk.js} +22 -22
- package/dist/chunks/{config-16q9tp4m.js → location-service-map-7t33bypp.js} +34 -34
- package/dist/chunks/{config-x3ekcye2.js → location-service-map-7v7pgz0q.js} +2 -2
- package/dist/chunks/{config-x9h2q0x2.js → location-service-map-7xm11bhz.js} +8 -8
- package/dist/chunks/{config-a8nkje97.js → location-service-map-802megp1.js} +11 -11
- package/dist/chunks/{config-jfdnkmkt.js → location-service-map-82g3rv7k.js} +50 -50
- package/dist/chunks/{config-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{config-qy7aswph.js → location-service-map-8bswjjgp.js} +14 -14
- package/dist/chunks/{config-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-e55bvh8p.js → location-service-map-8qam6c2e.js} +2 -2
- package/dist/chunks/{config-6wg7wrda.js → location-service-map-8qh6anns.js} +4 -4
- package/dist/chunks/{config-z9bv8bpa.js → location-service-map-8r8tyc1z.js} +53 -49
- package/dist/chunks/{config-y1wtyber.js → location-service-map-8v47bpy8.js} +9 -9
- package/dist/chunks/{config-j09zfasm.js → location-service-map-91qna3x0.js} +3 -3
- package/dist/chunks/{config-ynmknp8q.js → location-service-map-967benbv.js} +8 -8
- package/dist/chunks/{config-njnqnmx7.js → location-service-map-98v988rn.js} +33 -33
- package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
- package/dist/chunks/{config-f73e5hh7.js → location-service-map-a4ddqgk4.js} +2 -2
- package/dist/chunks/{config-w7vwr9tt.js → location-service-map-a9kfze7j.js} +3 -3
- package/dist/chunks/{config-mtxqk8cw.js → location-service-map-actn3e1v.js} +4 -4
- package/dist/chunks/{config-mxvxcxwy.js → location-service-map-addxnjmp.js} +4 -4
- package/dist/chunks/{config-9pkkzrmj.js → location-service-map-aeb4sny1.js} +5 -5
- package/dist/chunks/{config-s8tqqwqt.js → location-service-map-afqd14vb.js} +14 -14
- package/dist/chunks/{config-45gkgs7n.js → location-service-map-anrgehg3.js} +1 -1
- package/dist/chunks/{config-3zxf4b9k.js → location-service-map-ashebvbj.js} +59 -59
- package/dist/chunks/{config-3vj4c1tg.js → location-service-map-asy6jfg2.js} +13 -13
- package/dist/chunks/{config-0jq9fyba.js → location-service-map-b0dgvpy7.js} +9 -9
- package/dist/chunks/{config-7ys1e3fp.js → location-service-map-b1a3n9tr.js} +17 -17
- package/dist/chunks/{config-2f7exg7q.js → location-service-map-b1bc1nsy.js} +9 -9
- package/dist/chunks/{config-vazjkyfy.js → location-service-map-b1vae2q2.js} +13 -13
- package/dist/chunks/{config-vbmkcdq8.js → location-service-map-b62e5bkf.js} +30 -30
- package/dist/chunks/{config-r3vc3gvd.js → location-service-map-b9jt58w9.js} +29 -29
- package/dist/chunks/{config-tjedn1bk.js → location-service-map-bacyadyn.js} +4 -4
- package/dist/chunks/{config-1807h4mh.js → location-service-map-bay3p9kr.js} +5 -5
- package/dist/chunks/{config-5yzzbxa7.js → location-service-map-br0tr5aq.js} +8 -8
- package/dist/chunks/{config-74jjd7nh.js → location-service-map-brpnx2vf.js} +74 -74
- package/dist/chunks/{config-b08a962v.js → location-service-map-bwv6xb1t.js} +9 -9
- package/dist/chunks/{config-a0qszzgx.js → location-service-map-by3kd3tj.js} +11 -11
- package/dist/chunks/{config-q1jx9m76.js → location-service-map-bzvm0cnt.js} +6 -6
- package/dist/chunks/{config-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
- package/dist/chunks/{config-1gx5mjve.js → location-service-map-c2r6mh48.js} +6 -6
- package/dist/chunks/{config-mgw2gs0s.js → location-service-map-c2w2dwqd.js} +17 -17
- package/dist/chunks/{config-r3r9m3qp.js → location-service-map-c2x08p9n.js} +13 -13
- package/dist/chunks/{config-j7y9krvb.js → location-service-map-c78vfxem.js} +13 -13
- package/dist/chunks/{config-p608aa5p.js → location-service-map-c7yx4yaz.js} +1 -1
- package/dist/chunks/{config-kqky9vda.js → location-service-map-cefewzay.js} +1 -1
- package/dist/chunks/{config-kahzxndq.js → location-service-map-ctvak0k8.js} +19 -19
- package/dist/chunks/{config-fmzqg2fz.js → location-service-map-cyw0d0pn.js} +39 -39
- package/dist/chunks/{config-45fvvkjk.js → location-service-map-cyxa0596.js} +1 -1
- package/dist/chunks/{config-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
- package/dist/chunks/{config-w43s46za.js → location-service-map-dbk9zdbm.js} +7 -7
- package/dist/chunks/{config-39gpxs7w.js → location-service-map-dgjkn76j.js} +29 -29
- package/dist/chunks/{config-ft3hqk2c.js → location-service-map-djszqvmq.js} +9 -9
- package/dist/chunks/{config-60hsndd1.js → location-service-map-dkfwgap5.js} +45 -45
- package/dist/chunks/{config-hbb7npd7.js → location-service-map-dq407baf.js} +6 -6
- package/dist/chunks/{config-qqeeq2t9.js → location-service-map-drwq78ky.js} +7 -7
- package/dist/chunks/{config-dm0ynmtk.js → location-service-map-dw1xgmjd.js} +20 -20
- package/dist/chunks/{config-j19as0a3.js → location-service-map-e21s3t4k.js} +13 -13
- package/dist/chunks/{config-ypt21gan.js → location-service-map-e7c414h7.js} +6 -6
- package/dist/chunks/{config-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-z4ev155g.js → location-service-map-efxe2svv.js} +11 -11
- package/dist/chunks/{config-58hng72m.js → location-service-map-eh6ej367.js} +5 -5
- package/dist/chunks/{config-kh1y9y9d.js → location-service-map-etxek9vz.js} +16 -16
- package/dist/chunks/{config-e31gmyyr.js → location-service-map-evanb8t7.js} +3 -3
- package/dist/chunks/{config-1gtmny4k.js → location-service-map-f41z7tes.js} +15 -15
- package/dist/chunks/{config-7dhmem7g.js → location-service-map-f4mmq9s0.js} +9 -9
- package/dist/chunks/{config-gkj3y0k0.js → location-service-map-f4xkwjff.js} +16 -16
- package/dist/chunks/{config-xkt244va.js → location-service-map-fa6rj1v4.js} +21 -21
- package/dist/chunks/{config-m2e0vr92.js → location-service-map-faabf61n.js} +29 -29
- package/dist/chunks/{config-6yrrv51r.js → location-service-map-fbp34syt.js} +12 -12
- package/dist/chunks/{config-fcrkznn8.js → location-service-map-fcrkznn8.js} +1 -1
- package/dist/chunks/{config-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
- package/dist/chunks/{config-hzrdp0cp.js → location-service-map-ffmwyp5t.js} +20 -20
- package/dist/chunks/{config-1aykj8gn.js → location-service-map-fjs5xx1d.js} +3 -3
- package/dist/chunks/{config-4sw6mv0s.js → location-service-map-fy2hqc1q.js} +4 -4
- package/dist/chunks/{config-7t7x805f.js → location-service-map-gb8w5kfw.js} +32 -32
- package/dist/chunks/{config-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-av7bwmdd.js → location-service-map-gjp6hpyv.js} +13 -13
- package/dist/chunks/{config-sjtacrxe.js → location-service-map-gma3bfjk.js} +88 -88
- package/dist/chunks/{config-6vk863qd.js → location-service-map-gnsyd8gb.js} +7 -7
- package/dist/chunks/{config-7rzjtvmt.js → location-service-map-gpk600j1.js} +15 -15
- package/dist/chunks/{config-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-z3nfqyak.js → location-service-map-h94tf0by.js} +29 -29
- package/dist/chunks/{config-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-tm49e194.js → location-service-map-hje4gfjw.js} +20 -20
- package/dist/chunks/{config-yjvgsn5p.js → location-service-map-hkxm3e55.js} +28 -28
- package/dist/chunks/{config-99swe9qt.js → location-service-map-hrkvd0tq.js} +16 -16
- package/dist/chunks/{config-mrrz5y04.js → location-service-map-hvd586jq.js} +13 -13
- package/dist/chunks/{config-qe7wnvmc.js → location-service-map-hwc678hf.js} +42 -42
- package/dist/chunks/{config-tqev4rw4.js → location-service-map-j08vtfvn.js} +24 -24
- package/dist/chunks/{config-7djdy79w.js → location-service-map-j6j088kp.js} +5 -5
- package/dist/chunks/{config-pm4xaw36.js → location-service-map-j7p9mq2q.js} +2 -2
- package/dist/chunks/{config-trya7axm.js → location-service-map-ja3e6986.js} +8 -8
- package/dist/chunks/{config-nd6sw2xa.js → location-service-map-jcsfzc3h.js} +14 -14
- package/dist/chunks/{config-29x2kfwx.js → location-service-map-jdetxz9w.js} +11 -11
- package/dist/chunks/{config-cf643m85.js → location-service-map-jf1cme0s.js} +39 -39
- package/dist/chunks/{config-34rkz0x9.js → location-service-map-jfqtm2ew.js} +7 -7
- package/dist/chunks/{config-q0nrsbdj.js → location-service-map-jr91tx20.js} +10 -10
- package/dist/chunks/{config-a8rz590j.js → location-service-map-jx4rf5xp.js} +15 -15
- package/dist/chunks/{config-53ev7e15.js → location-service-map-jykm66z2.js} +18 -18
- package/dist/chunks/{config-v9y3ks20.js → location-service-map-k3vcvvpp.js} +16 -16
- package/dist/chunks/{config-5g88gadq.js → location-service-map-k44tkrtw.js} +11 -11
- package/dist/chunks/{config-kdfdhpw1.js → location-service-map-k99vhnga.js} +12 -12
- package/dist/chunks/{config-96w79gab.js → location-service-map-khrjt530.js} +9 -9
- package/dist/chunks/{config-5fec3t3w.js → location-service-map-kqv3x6rj.js} +4 -4
- package/dist/chunks/{config-gbh65n66.js → location-service-map-kqx1b4hy.js} +4 -4
- package/dist/chunks/{config-ervrf9b2.js → location-service-map-kvee8qcs.js} +8 -8
- package/dist/chunks/{config-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
- package/dist/chunks/{config-b28mnwwt.js → location-service-map-kxpjdbte.js} +6 -6
- package/dist/chunks/{config-a1xx1res.js → location-service-map-m3730y03.js} +6 -6
- package/dist/chunks/{config-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{config-b1ba29dw.js → location-service-map-mbavq1sw.js} +9 -9
- package/dist/chunks/{config-nawhhaaq.js → location-service-map-mpzm1wag.js} +13 -13
- package/dist/chunks/{config-a0krqfnt.js → location-service-map-msc3drfx.js} +30 -30
- package/dist/chunks/{config-6cfz2rqh.js → location-service-map-ncgn3stp.js} +16 -16
- package/dist/chunks/{config-41pm01ak.js → location-service-map-nnr6kcyr.js} +3 -3
- package/dist/chunks/{config-33syv8f0.js → location-service-map-nq8h402c.js} +14 -14
- package/dist/chunks/{config-sv0tx6r5.js → location-service-map-nqfqdwma.js} +15 -15
- package/dist/chunks/{config-jsma32sr.js → location-service-map-ntrn937d.js} +47 -47
- package/dist/chunks/{config-wwttcv73.js → location-service-map-nvf39wwg.js} +26 -26
- package/dist/chunks/{config-agcqgxwh.js → location-service-map-p1yrnapr.js} +18 -18
- package/dist/chunks/{config-w5yrvevg.js → location-service-map-p3a5jp4p.js} +11 -11
- package/dist/chunks/{config-1vy4979m.js → location-service-map-p6an086h.js} +20 -20
- package/dist/chunks/{config-r41sfqm3.js → location-service-map-paqqskkb.js} +20 -20
- package/dist/chunks/{config-ky4qq4w5.js → location-service-map-pbcrbrv8.js} +4 -4
- package/dist/chunks/{config-e234cyn1.js → location-service-map-pgfzn12n.js} +6 -6
- package/dist/chunks/{config-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{config-8teas5ch.js → location-service-map-pmhx9pd7.js} +15 -15
- package/dist/chunks/{config-7nzfzz9n.js → location-service-map-pvmwrteb.js} +19 -19
- package/dist/chunks/{config-nrf0g0fb.js → location-service-map-pvsccn8p.js} +9 -9
- package/dist/chunks/{config-pktdb32c.js → location-service-map-q14qd18s.js} +22 -22
- package/dist/chunks/{config-b2bf46k7.js → location-service-map-q1cd0t6v.js} +18 -18
- package/dist/chunks/{config-fd1t11rg.js → location-service-map-qa2f1ryt.js} +4 -4
- package/dist/chunks/{config-pvj66q6s.js → location-service-map-qgrkzz0w.js} +6 -6
- package/dist/chunks/{config-5yn9h0hb.js → location-service-map-qgwwyafb.js} +12 -12
- package/dist/chunks/{config-fdqhxf37.js → location-service-map-qj0s0928.js} +10 -10
- package/dist/chunks/{config-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-xw82k8ba.js → location-service-map-qpx9xaxf.js} +16 -16
- package/dist/chunks/{config-rmnevc7d.js → location-service-map-qr1hhbva.js} +32 -32
- package/dist/chunks/{config-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{config-mek58htc.js → location-service-map-qspgnr4y.js} +15 -15
- package/dist/chunks/{config-tx3r04g2.js → location-service-map-qtxkw744.js} +33 -33
- package/dist/chunks/location-service-map-qwrqcn29.js +26 -0
- package/dist/chunks/{config-b7j4btd3.js → location-service-map-r08fph2t.js} +17 -17
- package/dist/chunks/{config-9jphx3mb.js → location-service-map-r1p7b6yx.js} +8 -8
- package/dist/chunks/{config-kgen349b.js → location-service-map-r36qtfr5.js} +9 -9
- package/dist/chunks/{config-a628wd46.js → location-service-map-r587addj.js} +18 -18
- package/dist/chunks/{config-r70na3yp.js → location-service-map-r70na3yp.js} +2 -2
- package/dist/chunks/{config-qr19ny83.js → location-service-map-rd0jk938.js} +7 -7
- package/dist/chunks/{config-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-rert0e01.js → location-service-map-rert0e01.js} +2 -2
- package/dist/chunks/{config-0gdmqesm.js → location-service-map-rhjbct0v.js} +4 -4
- package/dist/chunks/{config-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
- package/dist/chunks/{config-7fkffz83.js → location-service-map-rkprpv83.js} +4 -4
- package/dist/chunks/{config-rtjghg3d.js → location-service-map-rnkxk3ar.js} +15 -15
- package/dist/chunks/{config-psvv3ym1.js → location-service-map-rp4q3c6k.js} +19 -19
- package/dist/chunks/{config-h27dsna5.js → location-service-map-rtwq7srw.js} +9 -9
- package/dist/chunks/location-service-map-s4xb95kn.js +513 -0
- package/dist/chunks/{config-3ecnqg46.js → location-service-map-s6rp6ys7.js} +1 -1
- package/dist/chunks/{config-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
- package/dist/chunks/{config-ka56qf9d.js → location-service-map-scvv9sag.js} +13 -13
- package/dist/chunks/{config-by2pg9y4.js → location-service-map-sp0bsdgd.js} +30 -30
- package/dist/chunks/{config-rwpsx4ze.js → location-service-map-sr624rrs.js} +18 -18
- package/dist/chunks/{config-2pe0fb9w.js → location-service-map-svxa9yq1.js} +22 -22
- package/dist/chunks/{config-e80seqcp.js → location-service-map-sxcaecc0.js} +3 -3
- package/dist/chunks/{config-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{config-z58scvjt.js → location-service-map-t9aj8749.js} +33 -33
- package/dist/chunks/{config-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{config-m5asysjq.js → location-service-map-tjyx2m6j.js} +11 -11
- package/dist/chunks/{config-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-de3bt2ha.js → location-service-map-tn05n1kc.js} +8 -8
- package/dist/chunks/{config-ex4mby49.js → location-service-map-tqqea4kp.js} +9 -9
- package/dist/chunks/{config-3wrt3kr7.js → location-service-map-typ4pg8f.js} +12 -12
- package/dist/chunks/{config-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{config-e62qcj7p.js → location-service-map-v0xt904d.js} +25 -25
- package/dist/chunks/{config-db5d95d0.js → location-service-map-v62bykzx.js} +16 -16
- package/dist/chunks/{config-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-86z5smpq.js → location-service-map-vcr8ngmq.js} +14 -14
- package/dist/chunks/{config-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{config-1w99e8rb.js → location-service-map-vfz4fb49.js} +28 -28
- package/dist/chunks/{config-eeys6jp4.js → location-service-map-vg8t0wyt.js} +1 -1
- package/dist/chunks/{config-xefpasch.js → location-service-map-vgyxaaj7.js} +3 -3
- package/dist/chunks/{config-n37454w0.js → location-service-map-vqb1gnvk.js} +3 -3
- package/dist/chunks/{config-xcdbt95f.js → location-service-map-vvbpd8x3.js} +17 -17
- package/dist/chunks/{config-wxzk78h0.js → location-service-map-vwf0wa35.js} +22 -22
- package/dist/chunks/{config-k96aks8v.js → location-service-map-vz80twqk.js} +15 -15
- package/dist/chunks/{config-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-tnfencz9.js → location-service-map-w0a66m1n.js} +5 -5
- package/dist/chunks/{config-mx9vqzsb.js → location-service-map-w21bzq9q.js} +6 -6
- package/dist/chunks/{config-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-47jkzegy.js → location-service-map-wbgabvvj.js} +5 -5
- package/dist/chunks/{config-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{config-wybtwzt1.js → location-service-map-webap8fv.js} +17 -17
- package/dist/chunks/{config-y4crs1v2.js → location-service-map-wghkg4d6.js} +21 -21
- package/dist/chunks/{config-9bv4pdph.js → location-service-map-wrf3hj4k.js} +32 -32
- package/dist/chunks/{config-fgk3vbyw.js → location-service-map-x6712ea5.js} +9 -9
- package/dist/chunks/{config-7gx306sf.js → location-service-map-x8p3fx6c.js} +12 -12
- package/dist/chunks/{config-vz6mmxyf.js → location-service-map-x920byc0.js} +32 -32
- package/dist/chunks/{config-qqv6zatd.js → location-service-map-xmj6grbn.js} +24 -24
- package/dist/chunks/{config-nsvyg4h4.js → location-service-map-xqmar4d6.js} +28 -28
- package/dist/chunks/{config-2syaeb1n.js → location-service-map-xsqz2y29.js} +26 -26
- package/dist/chunks/{config-c5ggqzvz.js → location-service-map-xw6avn3p.js} +12 -12
- package/dist/chunks/{config-931tckg1.js → location-service-map-xym13j3g.js} +10 -10
- package/dist/chunks/{config-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-48xwm2jn.js → location-service-map-y1mtycc1.js} +4 -4
- package/dist/chunks/{config-h6310vsd.js → location-service-map-y5rf7nzv.js} +4 -4
- package/dist/chunks/{config-y71avatq.js → location-service-map-y71avatq.js} +1 -1
- package/dist/chunks/{config-b2yyweyd.js → location-service-map-yb1p7tk9.js} +19 -19
- package/dist/chunks/{config-36hcm0df.js → location-service-map-ydd7j0qf.js} +24 -24
- package/dist/chunks/{config-mnfvax3m.js → location-service-map-yjhqggcw.js} +41 -41
- package/dist/chunks/{config-f2n192rq.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-bjx1sjef.js → location-service-map-ywt8jp22.js} +9 -9
- package/dist/chunks/{config-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-fy0smdn8.js → location-service-map-zbcbrt3b.js} +21 -21
- package/dist/chunks/{config-p79dk7q2.js → location-service-map-zkc4c63m.js} +11 -11
- package/dist/chunks/{config-63c46mej.js → location-service-map-zmrxb192.js} +10 -10
- package/dist/chunks/{config-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-jvf3yq6v.js → location-service-map-zvt5dnpc.js} +4 -4
- package/dist/chunks/{config-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-5k8cr4k1.js → location-service-map-zzdtv6s3.js} +8 -8
- 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 +118 -118
- package/dist/config/plugin/command.js +208 -208
- 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 +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +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 +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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 +369 -369
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +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 +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- 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 +357 -357
- 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 +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 +125 -125
- 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 +123 -123
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +6 -6
- 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 +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- 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 +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- 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 +5 -5
- 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 +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +95 -95
- 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 +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- 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 +212 -212
- 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 +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- 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 +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +1 -1
- 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 +88 -88
- package/dist/websearch.js +86 -86
- 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 +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/config-8a8mjsy9.js +0 -26
- package/dist/chunks/config-dxj72tfx.js +0 -18
- package/dist/chunks/config-refhawet.js +0 -513
- package/dist/chunks/config-vjt5wmnj.js +0 -257
- /package/dist/chunks/{config-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e3qxr5gk.js → location-service-map-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-ctvak0k8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service59,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node62
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service59.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node62 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service59, locationLayer2, node62, exports_aisdk };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node51
|
|
4
|
+
} from "./location-service-map-p6an086h.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-fjs5xx1d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node50,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service48;
|
|
59
|
+
return Service47.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node50 = makeLocationNode({ service: Service47, layer, deps: [node51] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service47, resolved2, node50, exports_model };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./location-service-map-hje4gfjw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service65,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-typ4pg8f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service49
|
|
11
|
+
} from "./location-service-map-rnkxk3ar.js";
|
|
12
12
|
import {
|
|
13
13
|
Service53
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-6j2zvqwp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./location-service-map-hrkvd0tq.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin3,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin3 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service65;
|
|
57
|
+
const environment = yield* Service66;
|
|
58
|
+
const formatter = yield* Service49;
|
|
59
59
|
const permission = yield* Service53;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output3, toModelContent2, Plugin3, exports_write };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-service-map-nq8h402c.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service23,
|
|
19
|
+
node: () => node27
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service79;
|
|
29
|
+
return Service23.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service23, node27, exports_builtins };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-faabf61n.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-pvmwrteb.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-service-map-sp0bsdgd.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info27, Ref4, response2,
|
|
43
|
+
export { Info27, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
Service76,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-service-map-pvmwrteb.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node20
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,9 +37,9 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service18 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
44
|
const integrations = yield* Service76;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
@@ -55,12 +55,12 @@ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
55
55
|
});
|
|
56
56
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service18.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node20 = makeLocationNode({
|
|
61
|
+
service: Service18,
|
|
62
|
+
layer: layer10,
|
|
63
|
+
deps: [node80, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
66
|
+
export { InvalidRequestError2, UnavailableError2, Service18, layer10, node20, exports_voice };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-f4xkwjff.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./location-service-map-faabf61n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node77
|
|
13
|
+
} from "./location-service-map-ffmwyp5t.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./location-service-map-nq8h402c.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-sr624rrs.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-j6j088kp.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-6827pfxn.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service82,
|
|
37
|
+
Event21,
|
|
38
|
+
node86
|
|
39
|
+
} from "./location-service-map-2nzy0f4r.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
48
|
Options: () => Options8,
|
|
49
|
-
Service: () =>
|
|
49
|
+
Service: () => Service72,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured10,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer26,
|
|
54
|
+
node: () => node76,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -76,7 +76,7 @@ var Options8 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service72 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service72, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer26 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service79;
|
|
102
|
+
const watcher = yield* Service73;
|
|
103
|
+
const bus = yield* Service84;
|
|
104
|
+
const credentials = yield* Service78;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service82;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -254,8 +254,8 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -283,7 +283,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service72.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured10(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service72,
|
|
301
|
+
layer: layer26(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node77,
|
|
304
|
+
node88,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
+
node83,
|
|
308
|
+
node82,
|
|
307
309
|
node86,
|
|
308
|
-
node84,
|
|
309
|
-
node76,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node76 = configured10();
|
|
315
315
|
|
|
316
|
-
export { latest2, Options8,
|
|
316
|
+
export { latest2, Options8, Service72, Test2, testLayer2, layer26, configured10, node76, exports_config };
|