@opencode/core 0.0.0-dev-20114 → 0.0.0-dev-20116
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{workspace-27za9r5g.js → location-01f4j364.js} +48 -48
- package/dist/chunks/{workspace-9cdcmxar.js → location-03t2qqvv.js} +13 -13
- package/dist/chunks/{workspace-tvj5t05b.js → location-0aj75bwd.js} +10 -10
- package/dist/chunks/{workspace-kb9jw9za.js → location-0fx1c86e.js} +8 -8
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{workspace-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-rhj3j0xw.js → location-0pj7r3g9.js} +3 -3
- package/dist/chunks/{workspace-h7e5g0tn.js → location-19xkyn56.js} +6 -6
- package/dist/chunks/{workspace-yp2x3t23.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{workspace-30a43rch.js → location-1ck5k8kv.js} +60 -60
- package/dist/chunks/{workspace-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-bk7jaeqh.js → location-1ed2t66p.js} +4 -4
- package/dist/chunks/{workspace-pyp5frad.js → location-1fw2a5v8.js} +19 -19
- package/dist/chunks/{workspace-9q0fe16k.js → location-1fw2j5nt.js} +15 -15
- package/dist/chunks/{workspace-knht3pjq.js → location-1k0gwr79.js} +5 -5
- package/dist/chunks/{workspace-wg0qqct4.js → location-1mmj9ptd.js} +24 -24
- package/dist/chunks/{workspace-z92dbfgq.js → location-1p1pkch2.js} +4 -4
- package/dist/chunks/{workspace-vkfdnwpx.js → location-1y283654.js} +4 -4
- package/dist/chunks/{workspace-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-fjvydvzm.js → location-23sxaqwc.js} +5 -5
- package/dist/chunks/{workspace-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-cy02d2xc.js → location-297fvhht.js} +6 -6
- package/dist/chunks/{workspace-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{workspace-t5rx070x.js → location-2nm881nd.js} +36 -36
- package/dist/chunks/{workspace-q53vqx2z.js → location-2sdsg8hd.js} +16 -16
- package/dist/chunks/{workspace-5z6rwdjk.js → location-2vwytvym.js} +3 -3
- package/dist/chunks/{workspace-y4b1sr7g.js → location-2xyf62b8.js} +18 -18
- package/dist/chunks/{workspace-9ted079k.js → location-3b3sjaea.js} +25 -25
- package/dist/chunks/{workspace-183dvndp.js → location-3b7yp3yb.js} +9 -9
- package/dist/chunks/{workspace-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-71f1cn11.js → location-3geshwka.js} +46 -46
- package/dist/chunks/{workspace-466thwct.js → location-3h2v8zyx.js} +17 -17
- package/dist/chunks/{workspace-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-c67sf3ms.js → location-3qz3cqmw.js} +9 -9
- package/dist/chunks/{workspace-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-975r8ezm.js → location-3x01x5fw.js} +34 -34
- package/dist/chunks/{workspace-pw8h7q9e.js → location-3xhamg8z.js} +24 -24
- package/dist/chunks/{workspace-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-6qrmzyn8.js → location-4ac1m1qr.js} +25 -25
- package/dist/chunks/{workspace-mcyzx8fc.js → location-4av968fa.js} +11 -11
- package/dist/chunks/{workspace-pkaafs0j.js → location-4bp3k7wq.js} +11 -11
- package/dist/chunks/{workspace-ksytkaze.js → location-4c1rxfbw.js} +30 -30
- package/dist/chunks/{workspace-2xn6s27p.js → location-4k8s27v0.js} +51 -51
- package/dist/chunks/{workspace-h747f910.js → location-4nxzd025.js} +43 -43
- package/dist/chunks/{workspace-wjds8tjc.js → location-4swmeq5r.js} +21 -21
- package/dist/chunks/{workspace-gc4fb455.js → location-4wwqnvbr.js} +4 -4
- package/dist/chunks/{workspace-asrf6d4d.js → location-4y0r7mzr.js} +35 -35
- package/dist/chunks/{workspace-xm9ad1cr.js → location-4zc4m5x1.js} +23 -23
- package/dist/chunks/{workspace-xmpfc1gs.js → location-507seqed.js} +12 -12
- package/dist/chunks/{workspace-56dkfrzf.js → location-53fyba40.js} +4 -4
- package/dist/chunks/{workspace-54tcyq79.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{workspace-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{workspace-2w6fc0zt.js → location-57ez7d0k.js} +7 -7
- package/dist/chunks/{workspace-k6yq57aq.js → location-5cmxdwv8.js} +3 -3
- package/dist/chunks/{workspace-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-5ekn9679.js → location-5ekn9679.js} +1 -1
- package/dist/chunks/{workspace-e89xj288.js → location-5hx7d1d6.js} +5 -5
- package/dist/chunks/{workspace-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-1816vhxd.js → location-60a7aq3m.js} +4 -4
- package/dist/chunks/{workspace-13q1kvsh.js → location-65r5fmg1.js} +6 -6
- package/dist/chunks/{workspace-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{workspace-357vwvaw.js → location-6bbptzqx.js} +13 -13
- package/dist/chunks/{workspace-8076am3r.js → location-6eh7mf2d.js} +42 -42
- package/dist/chunks/{workspace-tnkedzgy.js → location-6h3d6agz.js} +14 -14
- package/dist/chunks/{workspace-xa8fzrz4.js → location-6kjm4skb.js} +30 -30
- package/dist/chunks/{workspace-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-2z54xyv0.js → location-6nwf24cr.js} +28 -28
- package/dist/chunks/{workspace-6f51hy00.js → location-6xsq0j7c.js} +11 -11
- package/dist/chunks/{workspace-ja6mtjvc.js → location-74pmmvr2.js} +23 -23
- package/dist/chunks/{workspace-7tp3f5r3.js → location-768gsh1v.js} +5 -5
- package/dist/chunks/{workspace-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-vwpcpzep.js → location-7dbmnfn4.js} +8 -8
- package/dist/chunks/location-7fj5dwt0.js +18 -0
- package/dist/chunks/{workspace-9vb8s0ef.js → location-7k3q3d83.js} +32 -32
- package/dist/chunks/{workspace-bzbmha14.js → location-7kk85578.js} +10 -10
- package/dist/chunks/{workspace-kkvt8xjw.js → location-7m8brd3v.js} +25 -25
- package/dist/chunks/{workspace-3zvpgha1.js → location-7sd0c8rg.js} +27 -27
- package/dist/chunks/{workspace-q60sw46r.js → location-81y9yw83.js} +32 -32
- package/dist/chunks/{workspace-fhwjz7ks.js → location-8b8ytmh0.js} +27 -27
- package/dist/chunks/{workspace-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-v7bxjhmx.js → location-8eddaw1a.js} +8 -8
- package/dist/chunks/{workspace-schrbh41.js → location-8rq5pj8d.js} +19 -19
- package/dist/chunks/{workspace-3pbxz7sh.js → location-8ssk0f6f.js} +22 -22
- package/dist/chunks/{workspace-e62vcbxn.js → location-8t78hkck.js} +5 -5
- package/dist/chunks/{workspace-r4b24f36.js → location-91nmpsq2.js} +11 -11
- package/dist/chunks/{workspace-9bysvk2w.js → location-9460kg37.js} +15 -15
- package/dist/chunks/{workspace-tka7gdsf.js → location-985n4tmz.js} +35 -35
- package/dist/chunks/{workspace-pkzcwsw4.js → location-9c2t2wzg.js} +20 -20
- package/dist/chunks/{workspace-pztc22em.js → location-9cwbb6wq.js} +17 -17
- package/dist/chunks/{workspace-78hnnhxt.js → location-9e3m1zbj.js} +12 -12
- package/dist/chunks/{workspace-zm1yvs5r.js → location-9px7vs5v.js} +10 -10
- package/dist/chunks/{workspace-az1ye58n.js → location-9w8ge49v.js} +36 -36
- package/dist/chunks/{workspace-0qfaha1m.js → location-a1wfbxb7.js} +3 -3
- package/dist/chunks/{workspace-1gfgk62c.js → location-a2qe2ev9.js} +8 -8
- package/dist/chunks/{workspace-4v7ngy20.js → location-a2rpfkac.js} +4 -4
- package/dist/chunks/{workspace-7kq06j26.js → location-a2xpbx89.js} +18 -18
- package/dist/chunks/{workspace-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-td0mb8yv.js → location-abzvj8se.js} +22 -22
- package/dist/chunks/{workspace-kr59axht.js → location-ac8rsxy9.js} +1 -1
- package/dist/chunks/{workspace-n6f91730.js → location-adb13ap1.js} +8 -8
- package/dist/chunks/{workspace-45d0fyve.js → location-adq9w6n2.js} +20 -20
- package/dist/chunks/{workspace-0g0t9165.js → location-ae1n2vcd.js} +4 -4
- package/dist/chunks/{workspace-c5c81y3p.js → location-agxa4bew.js} +4 -4
- package/dist/chunks/{workspace-pqt57qxs.js → location-am7x992s.js} +37 -37
- package/dist/chunks/{workspace-a09v9r2j.js → location-ar78w6r7.js} +13 -13
- package/dist/chunks/{workspace-ty6tacf3.js → location-axj216nc.js} +5 -5
- package/dist/chunks/{workspace-2wy0jzng.js → location-ayngm31m.js} +6 -6
- package/dist/chunks/{workspace-vmmqyyr9.js → location-azk5qm9y.js} +5 -5
- package/dist/chunks/{workspace-sxz6gkc3.js → location-b27vhd2z.js} +7 -7
- package/dist/chunks/{workspace-re06hfb4.js → location-b2ekx9f0.js} +26 -26
- package/dist/chunks/{workspace-rhr7kre3.js → location-b57qjs4r.js} +19 -19
- package/dist/chunks/{workspace-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-h9ssxcjg.js → location-be3cm6t8.js} +10 -10
- package/dist/chunks/{workspace-bjtzbw4r.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{workspace-9n3yh9qe.js → location-bvh0dnby.js} +19 -19
- package/dist/chunks/{workspace-791jfm05.js → location-bwfm0pq2.js} +11 -11
- package/dist/chunks/{workspace-0e0z5yt4.js → location-c6bhh4n4.js} +15 -15
- package/dist/chunks/{workspace-vqfzq50h.js → location-c8bydgjz.js} +6 -6
- package/dist/chunks/{workspace-h6r3nrb9.js → location-cpj0znwe.js} +4 -4
- package/dist/chunks/{workspace-qmqgtz8f.js → location-d4he2qe1.js} +9 -9
- package/dist/chunks/{workspace-em664rth.js → location-dfgmewgp.js} +20 -20
- package/dist/chunks/{workspace-msnexz9t.js → location-dfsbkvhf.js} +30 -30
- package/dist/chunks/{workspace-ca8b9jkw.js → location-dh3f2wjs.js} +4 -4
- package/dist/chunks/{workspace-az5cyybe.js → location-dvakt18b.js} +5 -5
- package/dist/chunks/{workspace-pnkd16h0.js → location-e4qcyv9a.js} +3 -3
- package/dist/chunks/{workspace-mxrrxz3e.js → location-e5t466vb.js} +18 -18
- package/dist/chunks/{workspace-k2wyf9h9.js → location-e6yahscf.js} +46 -46
- package/dist/chunks/{workspace-rhjbct0v.js → location-eaj1djv9.js} +8 -8
- package/dist/chunks/{workspace-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-06x8he3q.js → location-embw8kgh.js} +4 -4
- package/dist/chunks/{workspace-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-aesn9jmf.js → location-espmheeq.js} +11 -11
- package/dist/chunks/{workspace-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-t0fxg8b9.js → location-evbgk2k8.js} +5 -5
- package/dist/chunks/{workspace-g9177ymk.js → location-f0hb9jkt.js} +7 -7
- package/dist/chunks/{workspace-6xhyt350.js → location-f2zjsb8r.js} +5 -5
- package/dist/chunks/{workspace-g190xswt.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{workspace-ft8my87t.js → location-fd78hjz1.js} +16 -16
- package/dist/chunks/{workspace-m2tre556.js → location-fsbsakce.js} +43 -43
- package/dist/chunks/{workspace-4jk4wxge.js → location-fx2b1hjm.js} +32 -32
- package/dist/chunks/{workspace-yd89mvd7.js → location-fyfmcsz4.js} +8 -8
- package/dist/chunks/{workspace-g44g4t6r.js → location-g1389kf8.js} +15 -15
- package/dist/chunks/{workspace-b8xr8rbz.js → location-g2nw1xqv.js} +18 -18
- package/dist/chunks/location-g2syt5m4.js +26 -0
- package/dist/chunks/{workspace-9x5r1zhq.js → location-gb506f8f.js} +8 -8
- package/dist/chunks/{workspace-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-gfvb90ym.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{workspace-ypzhfwa9.js → location-gmjq4p6e.js} +12 -12
- package/dist/chunks/{workspace-zh0w19mw.js → location-grdhps1x.js} +12 -12
- package/dist/chunks/{workspace-9z7cfjnw.js → location-gsade59m.js} +39 -39
- package/dist/chunks/{workspace-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-qdbakdjh.js → location-h4z1mxff.js} +5 -5
- package/dist/chunks/{workspace-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-e13yqjz3.js → location-h9p3eaf6.js} +54 -54
- package/dist/chunks/{workspace-818pfwc9.js → location-hdthj1pw.js} +8 -8
- package/dist/chunks/{workspace-e0rvhg7q.js → location-hq8x7218.js} +2 -2
- package/dist/chunks/{workspace-myfy8bwe.js → location-hs6snqek.js} +3 -3
- package/dist/chunks/{workspace-sfcb33kz.js → location-hsxnx20j.js} +17 -17
- package/dist/chunks/{workspace-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-505kak1q.js → location-j9kmfek4.js} +13 -13
- package/dist/chunks/{workspace-c4cdms68.js → location-ja6k9001.js} +20 -20
- package/dist/chunks/{workspace-0spbe0cp.js → location-jjvby67f.js} +33 -33
- package/dist/chunks/{workspace-7gc9qn53.js → location-jk4f05ze.js} +32 -32
- package/dist/chunks/{workspace-6x6zqcbs.js → location-jxg8s3q7.js} +34 -34
- package/dist/chunks/{workspace-k3c624dm.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-b601atsc.js → location-k57bwrpv.js} +15 -15
- package/dist/chunks/{workspace-b23ngztz.js → location-kbmv5jj4.js} +10 -10
- package/dist/chunks/{workspace-ww89ca1r.js → location-kkzhas3n.js} +22 -22
- package/dist/chunks/{workspace-8mjagv5b.js → location-kp64qvy5.js} +13 -13
- package/dist/chunks/{workspace-hccbp3fd.js → location-kpagms85.js} +11 -11
- package/dist/chunks/{workspace-z873mpyh.js → location-kqhr74xx.js} +8 -8
- package/dist/chunks/{workspace-91e2qxf2.js → location-kx3h33dw.js} +31 -31
- package/dist/chunks/{workspace-ncfym1m4.js → location-m2gq6g3f.js} +11 -11
- package/dist/chunks/{workspace-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-v0qyj49f.js → location-m4cee681.js} +20 -20
- package/dist/chunks/{workspace-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-zpser4p9.js → location-mm4y1vec.js} +9 -9
- package/dist/chunks/{workspace-7hxn90bs.js → location-mqdgyeyb.js} +43 -43
- package/dist/chunks/location-mxcjqyq2.js +507 -0
- package/dist/chunks/{workspace-dwyehvxd.js → location-mxy24mwp.js} +15 -15
- package/dist/chunks/{workspace-jt0ae3x5.js → location-mxysbntw.js} +16 -16
- package/dist/chunks/{workspace-83me60hv.js → location-mzxp1erh.js} +11 -11
- package/dist/chunks/location-n1vpgy0w.js +252 -0
- package/dist/chunks/{workspace-tq2sjk2m.js → location-n6ksxyfn.js} +26 -26
- package/dist/chunks/{workspace-5mqgys5q.js → location-n7j9881n.js} +35 -35
- package/dist/chunks/{workspace-swfc4c09.js → location-n9gphx1q.js} +57 -57
- package/dist/chunks/{workspace-s8x1qprv.js → location-nk62h6vq.js} +14 -14
- package/dist/chunks/{workspace-9c463c3v.js → location-nzsaey6w.js} +28 -28
- package/dist/chunks/{workspace-s8zy8myc.js → location-p44d8wdy.js} +5 -5
- package/dist/chunks/{workspace-hvf24zfz.js → location-p4m4s18q.js} +11 -11
- package/dist/chunks/{workspace-bqxbmhwc.js → location-p838w68h.js} +11 -11
- package/dist/chunks/{workspace-ae72ha8b.js → location-pgp81qmz.js} +25 -25
- package/dist/chunks/{workspace-5yzzbxa7.js → location-phstrbs2.js} +8 -8
- package/dist/chunks/{workspace-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-m2d0j7c0.js → location-pnv527nz.js} +9 -9
- package/dist/chunks/{workspace-psazpmmj.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{workspace-1qx820s6.js → location-pswh67x4.js} +21 -21
- package/dist/chunks/{workspace-b7vpt2tp.js → location-pvqs4ftm.js} +18 -18
- package/dist/chunks/{workspace-ddevztyh.js → location-pxqk86pg.js} +28 -28
- package/dist/chunks/{workspace-py3kkmfq.js → location-py3kkmfq.js} +2 -2
- package/dist/chunks/{workspace-e57pv4wg.js → location-pycfhy4b.js} +71 -71
- package/dist/chunks/{workspace-vj0qrmre.js → location-q14ch0nx.js} +17 -17
- package/dist/chunks/{workspace-37sfe3bm.js → location-q826ync2.js} +11 -11
- package/dist/chunks/{workspace-7m8xajth.js → location-qaq56wgb.js} +27 -27
- package/dist/chunks/{workspace-sz8868xq.js → location-qj3gnppz.js} +7 -7
- package/dist/chunks/{workspace-s30pz1fr.js → location-qna75g91.js} +20 -20
- package/dist/chunks/{workspace-438c5wf5.js → location-qrk0wdh6.js} +32 -32
- package/dist/chunks/{workspace-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-6bwbzvbk.js → location-qxwwr1gq.js} +28 -28
- package/dist/chunks/{workspace-sfntmzm9.js → location-r3c4069c.js} +1 -1
- package/dist/chunks/{workspace-eq1pz5kg.js → location-r5x6zcsm.js} +3 -3
- package/dist/chunks/{workspace-6wg7wrda.js → location-r7nsrefv.js} +6 -6
- package/dist/chunks/{workspace-ve4pfa0n.js → location-r98e92ep.js} +4 -4
- package/dist/chunks/{workspace-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-ygb2gymn.js → location-rf0y5eh4.js} +29 -29
- package/dist/chunks/{workspace-p0b4ytnr.js → location-rph3zd4r.js} +6 -6
- package/dist/chunks/{workspace-kd2jg7wg.js → location-rscjyhv7.js} +12 -12
- package/dist/chunks/{workspace-a9qpy9ng.js → location-rxt4hayg.js} +24 -24
- package/dist/chunks/{workspace-0za9f44n.js → location-s0xm2j83.js} +1 -1
- package/dist/chunks/{workspace-9zbzdfgd.js → location-s9h9scfs.js} +30 -30
- package/dist/chunks/{workspace-khmhvwbd.js → location-sdz1jvnx.js} +25 -25
- package/dist/chunks/{workspace-z97kzzt3.js → location-shc6e287.js} +6 -6
- package/dist/chunks/{workspace-jhte7jv1.js → location-srm5dkg4.js} +11 -11
- package/dist/chunks/{workspace-rmj3p531.js → location-stgfa99z.js} +5 -5
- package/dist/chunks/{workspace-akzjf690.js → location-sy7bpksq.js} +6 -6
- package/dist/chunks/{workspace-6p5b6z32.js → location-syy9ejxw.js} +6 -6
- package/dist/chunks/{workspace-n0xkpwp9.js → location-t1mex8wk.js} +28 -28
- package/dist/chunks/{workspace-3mdqjwjq.js → location-t499jz6c.js} +91 -91
- package/dist/chunks/{workspace-hgazxmwb.js → location-t4tcrb48.js} +22 -22
- package/dist/chunks/{workspace-p9pz7yr4.js → location-t76e5nz5.js} +13 -13
- package/dist/chunks/{workspace-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-18gvgcyb.js → location-thsgfmbw.js} +37 -37
- package/dist/chunks/{workspace-rv3ajkkz.js → location-tjk393t5.js} +28 -28
- package/dist/chunks/{workspace-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-nn09g6m5.js → location-v9m5zf1e.js} +24 -24
- package/dist/chunks/{workspace-0dp24jhc.js → location-vaqmry9v.js} +22 -22
- package/dist/chunks/{workspace-aahyy29f.js → location-vdzv7yjc.js} +97 -97
- package/dist/chunks/{workspace-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-wqc6684y.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{workspace-0e81x99y.js → location-vmwh049b.js} +6 -6
- package/dist/chunks/{workspace-5ksqsxw4.js → location-vq17w8qr.js} +27 -27
- package/dist/chunks/{workspace-9a5xrdm0.js → location-vyk7vhw6.js} +20 -20
- package/dist/chunks/{workspace-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-7wc442ye.js → location-w00d9zq5.js} +5 -5
- package/dist/chunks/{workspace-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-583w8zzc.js → location-w52q72ce.js} +3 -3
- package/dist/chunks/{workspace-60an1160.js → location-w9fhgmm1.js} +17 -17
- package/dist/chunks/{workspace-56m60q16.js → location-was7srj9.js} +8 -8
- package/dist/chunks/{workspace-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-prq7hedt.js → location-wk5z6jzv.js} +9 -9
- package/dist/chunks/{workspace-4zetm0jd.js → location-wken1bg3.js} +9 -9
- package/dist/chunks/{workspace-ydq9gdxv.js → location-wqzamyz2.js} +10 -10
- package/dist/chunks/{workspace-5rg82yfa.js → location-wv7as3sa.js} +12 -12
- package/dist/chunks/{workspace-bxhncv17.js → location-wy8s1je1.js} +8 -8
- package/dist/chunks/{workspace-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-0yeq2kq4.js → location-x1yd8b8p.js} +183 -183
- package/dist/chunks/{workspace-vs560t14.js → location-xb7aahsd.js} +13 -13
- package/dist/chunks/{workspace-1cxs6ddq.js → location-xbhyazxt.js} +28 -28
- package/dist/chunks/{workspace-sg1hzg94.js → location-xdgdk0j5.js} +44 -44
- package/dist/chunks/{workspace-kgen349b.js → location-xdx7acry.js} +9 -9
- package/dist/chunks/{workspace-xfkkasph.js → location-xfkkasph.js} +1 -1
- package/dist/chunks/{workspace-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-55q8s0tq.js → location-xt03kzcc.js} +22 -22
- package/dist/chunks/{workspace-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-2yqk5d2g.js → location-ycpstswg.js} +8 -8
- package/dist/chunks/{workspace-k1qrnqst.js → location-yf10kn3d.js} +8 -8
- package/dist/chunks/{workspace-0r7yqxbf.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{workspace-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-bxkg3gdp.js → location-yse7wqh5.js} +28 -28
- package/dist/chunks/{workspace-fds0942a.js → location-yzpn3sp5.js} +30 -30
- package/dist/chunks/{workspace-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-xv6wg3rm.js → location-z4th9443.js} +11 -11
- package/dist/chunks/{workspace-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-p1anhhew.js → location-ztassjcr.js} +22 -22
- package/dist/chunks/{workspace-red9fndq.js → location-zvm2bmhj.js} +5 -5
- package/dist/chunks/{workspace-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/effect/app-node-platform.d.ts +1 -2
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- 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/workspace-6kdq0pjd.js +0 -4
- package/dist/chunks/workspace-a9862w5q.js +0 -26
- package/dist/chunks/workspace-cm00fmja.js +0 -252
- package/dist/chunks/workspace-qec8xvn0.js +0 -507
- package/dist/chunks/workspace-v1faaxn9.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-2sdsg8hd.js";
|
|
5
5
|
import {
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./location-6h3d6agz.js";
|
|
9
|
+
import {
|
|
10
|
+
ID15,
|
|
6
11
|
Service78,
|
|
7
12
|
node82
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
ID8,
|
|
11
|
-
Service65,
|
|
12
|
-
node67
|
|
13
|
-
} from "./workspace-wg0qqct4.js";
|
|
13
|
+
} from "./location-1mmj9ptd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./location-vmwh049b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./location-3h2v8zyx.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service76,
|
|
26
|
+
node80
|
|
27
|
+
} from "./location-qna75g91.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service79,
|
|
30
|
+
node83
|
|
31
|
+
} from "./location-a2qe2ev9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service75,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node79
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service75 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service78;
|
|
134
|
+
const sessions = yield* Service77;
|
|
135
|
+
const saved = yield* Service76;
|
|
136
|
+
const hooks = yield* Service79;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID13.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID13.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service75.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node79 = makeLocationNode({
|
|
303
|
+
service: Service75,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node84, node82, node81, node80, node83]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./location-6nwf24cr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-n9gphx1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service67;
|
|
57
|
+
const permission = yield* Service75;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
Service65
|
|
4
|
-
} from "./workspace-wg0qqct4.js";
|
|
5
|
-
import {
|
|
2
|
+
ID15,
|
|
6
3
|
Service78
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./location-1mmj9ptd.js";
|
|
5
|
+
import {
|
|
6
|
+
Service80
|
|
7
|
+
} from "./location-6h3d6agz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service59
|
|
10
|
+
} from "./location-e6yahscf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service70,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-1fw2a5v8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service29
|
|
17
|
+
} from "./location-vdzv7yjc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make4
|
|
20
|
+
} from "./location-6xsq0j7c.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin13
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin13 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service59;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin26 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service70;
|
|
60
|
+
const sessions = yield* Service29;
|
|
61
|
+
const agents = yield* Service78;
|
|
62
|
+
const subagents = yield* make4;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin26 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin13, exports_command };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service40,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node43
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service40.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node43 = makeGlobalNode({ service: Service40, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service40, makeLayer2, layer15, node43, exports_model_transport };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-8ssk0f6f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./location-e6yahscf.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-syy9ejxw.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin17 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service59;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service60;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin22 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin17, exports_compatibility };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-espmheeq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./location-2sdsg8hd.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-985n4tmz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-7k3q3d83.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID7
|
|
20
|
+
} from "./location-4y0r7mzr.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-shc6e287.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID7.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID7.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID7.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID7.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID7.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID7.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|