@opencode/core 0.0.0-dev-20969 → 0.0.0-dev-20970
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/{filesystem-f1418zp3.js → location-service-map-0e0z4xs4.js} +27 -27
- package/dist/chunks/{filesystem-eaj1djv9.js → location-service-map-0gdmqesm.js} +8 -8
- package/dist/chunks/{filesystem-7x6mdxf8.js → location-service-map-0hws4rz6.js} +10 -10
- package/dist/chunks/{filesystem-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
- package/dist/chunks/{filesystem-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-6rm5yzkt.js → location-service-map-0xqyf95c.js} +4 -4
- package/dist/chunks/{filesystem-v13g4sj1.js → location-service-map-15gp8gwp.js} +20 -20
- package/dist/chunks/{filesystem-d5pb17pk.js → location-service-map-1cwtqt4r.js} +24 -24
- package/dist/chunks/{filesystem-1ffvrpkg.js → location-service-map-1ffvrpkg.js} +2 -2
- package/dist/chunks/{filesystem-gd72kns9.js → location-service-map-1g7cdmxb.js} +25 -25
- package/dist/chunks/{filesystem-bjahvz15.js → location-service-map-1j6f3fcz.js} +3 -3
- package/dist/chunks/{filesystem-97aeaand.js → location-service-map-1j6m29mr.js} +9 -9
- package/dist/chunks/{filesystem-k60gdc8d.js → location-service-map-1nswxt31.js} +17 -17
- package/dist/chunks/{filesystem-yrcj3v3g.js → location-service-map-1rn5pcm9.js} +4 -4
- package/dist/chunks/{filesystem-fya5pxx9.js → location-service-map-2f8xmtvs.js} +10 -10
- package/dist/chunks/{filesystem-m7w6ry8k.js → location-service-map-2gbtb9ex.js} +33 -33
- package/dist/chunks/{filesystem-n0dejpnd.js → location-service-map-2kgr186q.js} +29 -29
- package/dist/chunks/{filesystem-xvc52nav.js → location-service-map-2sxk7h72.js} +33 -33
- package/dist/chunks/{filesystem-3jvm98xe.js → location-service-map-2wdjt9g8.js} +11 -11
- package/dist/chunks/{filesystem-50tcwssc.js → location-service-map-333jpv82.js} +1 -1
- package/dist/chunks/{filesystem-b9fxgaae.js → location-service-map-3a7h0qtw.js} +14 -14
- package/dist/chunks/{filesystem-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-nhtvjeyc.js → location-service-map-3p5gpzs5.js} +33 -33
- package/dist/chunks/{filesystem-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-a78w3xhb.js → location-service-map-3sw2dssw.js} +18 -18
- package/dist/chunks/{filesystem-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-ash8wba5.js → location-service-map-3z39tkdq.js} +7 -7
- package/dist/chunks/{filesystem-wh0v2wjt.js → location-service-map-3z3xn5yy.js} +30 -30
- package/dist/chunks/{filesystem-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-qvaxqqvn.js → location-service-map-40jkzs91.js} +35 -35
- package/dist/chunks/{filesystem-jp4tahhf.js → location-service-map-44asg7d3.js} +50 -50
- package/dist/chunks/{filesystem-h2vzssh9.js → location-service-map-47yqzcwx.js} +30 -30
- package/dist/chunks/{filesystem-azpq3pjs.js → location-service-map-4f3wm1ac.js} +18 -18
- package/dist/chunks/{filesystem-1d99jg21.js → location-service-map-4h8beb84.js} +50 -50
- package/dist/chunks/{filesystem-eq20ba7x.js → location-service-map-4ns3h2re.js} +4 -4
- package/dist/chunks/{filesystem-9zsn4ryv.js → location-service-map-4ybf7fnk.js} +11 -11
- package/dist/chunks/{filesystem-rk3q4hq2.js → location-service-map-50n7yzyq.js} +25 -25
- package/dist/chunks/{filesystem-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-jac8zx36.js → location-service-map-58sy987p.js} +17 -17
- package/dist/chunks/{filesystem-d6kg2w02.js → location-service-map-5jz5gmkx.js} +26 -26
- package/dist/chunks/{filesystem-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-zrbwd74c.js → location-service-map-5mq28h2t.js} +14 -14
- package/dist/chunks/{filesystem-w2ejb1sn.js → location-service-map-5tjn6tpp.js} +12 -12
- package/dist/chunks/{filesystem-0amcbn5s.js → location-service-map-5wbv3d1w.js} +13 -13
- package/dist/chunks/{filesystem-p37cw4rj.js → location-service-map-5xtgfte3.js} +4 -4
- package/dist/chunks/{filesystem-pnzf6mjf.js → location-service-map-68wqtz75.js} +1 -1
- package/dist/chunks/{filesystem-am6f2qjv.js → location-service-map-6bjhz71w.js} +11 -11
- package/dist/chunks/{filesystem-jk540des.js → location-service-map-6g107h22.js} +2 -2
- package/dist/chunks/{filesystem-nm25s7jz.js → location-service-map-6jpm8ex2.js} +11 -11
- package/dist/chunks/{filesystem-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{filesystem-pbwex7x3.js → location-service-map-79nhj7b6.js} +34 -34
- package/dist/chunks/{filesystem-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-0jwsre1p.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{filesystem-54t2qdpv.js → location-service-map-7k1rdhbp.js} +11 -11
- package/dist/chunks/{filesystem-rbpvdgf0.js → location-service-map-7ph0vnsv.js} +5 -5
- package/dist/chunks/{filesystem-3q1fa1xg.js → location-service-map-7zdn2k09.js} +11 -11
- package/dist/chunks/{filesystem-hh0gybm5.js → location-service-map-80m1sdbk.js} +315 -315
- package/dist/chunks/{filesystem-80scg3y3.js → location-service-map-80scg3y3.js} +1 -1
- package/dist/chunks/{filesystem-w1eejvng.js → location-service-map-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-srnsn3q2.js → location-service-map-89x5zc49.js} +11 -11
- package/dist/chunks/{filesystem-2ayk62t9.js → location-service-map-8acdjqfv.js} +21 -21
- package/dist/chunks/{filesystem-f3crtseh.js → location-service-map-8fe0d2sh.js} +4 -4
- package/dist/chunks/{filesystem-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-wfskyrtt.js → location-service-map-8v3872mr.js} +15 -15
- package/dist/chunks/{filesystem-hh0ptvjq.js → location-service-map-8z12w5mn.js} +14 -14
- package/dist/chunks/{filesystem-9e6tnrqh.js → location-service-map-9a1mrhyh.js} +11 -11
- package/dist/chunks/{filesystem-f6tzyt39.js → location-service-map-9byyftbt.js} +29 -29
- package/dist/chunks/{filesystem-qq49mz5j.js → location-service-map-9m4mwgwd.js} +9 -9
- package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
- package/dist/chunks/{filesystem-7pqqbnk7.js → location-service-map-9t8w0vez.js} +3 -3
- package/dist/chunks/{filesystem-04z81fpd.js → location-service-map-a22dk6g9.js} +42 -42
- package/dist/chunks/{filesystem-4n895ea0.js → location-service-map-a5e101j6.js} +4 -4
- package/dist/chunks/{filesystem-mwdfvsrc.js → location-service-map-a7z0fe8c.js} +1 -1
- package/dist/chunks/{filesystem-m5kx5r4g.js → location-service-map-a8hvaj9p.js} +13 -13
- package/dist/chunks/{filesystem-addxnjmp.js → location-service-map-addxnjmp.js} +1 -1
- package/dist/chunks/{filesystem-b55f9bw7.js → location-service-map-agg557zn.js} +11 -11
- package/dist/chunks/{filesystem-zarpn6yq.js → location-service-map-ah1t51zw.js} +12 -12
- package/dist/chunks/{filesystem-35hq6fdz.js → location-service-map-ah9s4888.js} +5 -5
- package/dist/chunks/{filesystem-2tz6nn1d.js → location-service-map-apbyd0y0.js} +15 -15
- package/dist/chunks/{filesystem-37ea9c2d.js → location-service-map-at1kfnmk.js} +8 -8
- package/dist/chunks/{filesystem-f3dt93wk.js → location-service-map-av4ka64b.js} +93 -93
- package/dist/chunks/{filesystem-xh6zv5p8.js → location-service-map-avdzqnth.js} +3 -3
- package/dist/chunks/{filesystem-scgrse2b.js → location-service-map-b3f8fkhc.js} +5 -5
- package/dist/chunks/{filesystem-kkjcmgcs.js → location-service-map-b5ab48k5.js} +33 -33
- package/dist/chunks/{filesystem-e89xj288.js → location-service-map-b7v4cx43.js} +5 -5
- package/dist/chunks/{filesystem-brkftcds.js → location-service-map-bg0scr0s.js} +5 -5
- package/dist/chunks/{filesystem-wm97b409.js → location-service-map-bpqmbvp8.js} +20 -20
- package/dist/chunks/{filesystem-zcfehvc5.js → location-service-map-brzr8pgk.js} +4 -4
- package/dist/chunks/{filesystem-krxv5ast.js → location-service-map-bz1ch3a7.js} +34 -34
- package/dist/chunks/{filesystem-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
- package/dist/chunks/{filesystem-x642km10.js → location-service-map-c67afrq3.js} +6 -6
- package/dist/chunks/{filesystem-a7jeddqa.js → location-service-map-c9y76qr3.js} +9 -9
- package/dist/chunks/{filesystem-qmqgtz8f.js → location-service-map-cwa6csj7.js} +9 -9
- package/dist/chunks/{filesystem-7nes44hp.js → location-service-map-d2s7sfgk.js} +2 -2
- package/dist/chunks/{filesystem-q37cayrb.js → location-service-map-dbd4bcxh.js} +27 -27
- package/dist/chunks/{filesystem-088y8j6m.js → location-service-map-ddnd35kk.js} +9 -9
- package/dist/chunks/{filesystem-dy6phfej.js → location-service-map-djvdn7j4.js} +29 -29
- package/dist/chunks/{filesystem-rp2821x6.js → location-service-map-dn85cbp5.js} +22 -22
- package/dist/chunks/{filesystem-anq8x8fx.js → location-service-map-dn8fxr7e.js} +19 -19
- package/dist/chunks/{filesystem-chh1qf5w.js → location-service-map-dnxwqgza.js} +23 -23
- package/dist/chunks/{filesystem-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-2f41x624.js → location-service-map-dprgbttx.js} +18 -18
- package/dist/chunks/{filesystem-d9ebg897.js → location-service-map-dqss8s9h.js} +17 -17
- package/dist/chunks/{filesystem-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
- package/dist/chunks/{filesystem-9h22qa0h.js → location-service-map-drmqggy3.js} +8 -8
- package/dist/chunks/{filesystem-5pyjqqve.js → location-service-map-drnf6xwf.js} +2 -2
- package/dist/chunks/{filesystem-xya6rnzh.js → location-service-map-dvzj1xmf.js} +13 -13
- package/dist/chunks/{filesystem-pp5cqqtv.js → location-service-map-dwwb2yn6.js} +11 -11
- package/dist/chunks/{filesystem-j2xzv77w.js → location-service-map-dzj3pesk.js} +1 -1
- package/dist/chunks/{filesystem-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-qaevhgds.js → location-service-map-e59gya24.js} +10 -10
- package/dist/chunks/{filesystem-dk1jwvm3.js → location-service-map-eegn9671.js} +2 -2
- package/dist/chunks/{filesystem-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-0j8yhgsx.js → location-service-map-ek79twyn.js} +6 -6
- package/dist/chunks/{filesystem-6zwe5z01.js → location-service-map-f6vptca4.js} +48 -48
- package/dist/chunks/{filesystem-hjyx165y.js → location-service-map-fahd1t22.js} +8 -8
- package/dist/chunks/{filesystem-bvjcet60.js → location-service-map-fdn2kncn.js} +149 -149
- package/dist/chunks/{filesystem-gkdycpm2.js → location-service-map-fjmme1zd.js} +9 -9
- package/dist/chunks/{filesystem-wx36b1j2.js → location-service-map-fkrwggfj.js} +10 -10
- package/dist/chunks/{filesystem-zwmh7mk0.js → location-service-map-ftxqeyfp.js} +27 -27
- package/dist/chunks/{filesystem-gc4jdv56.js → location-service-map-fwh25w6r.js} +35 -35
- package/dist/chunks/{filesystem-ny8edt06.js → location-service-map-fxaymqdw.js} +4 -4
- package/dist/chunks/{filesystem-z92d7xwv.js → location-service-map-g16zfax1.js} +28 -28
- package/dist/chunks/{filesystem-51tqp85b.js → location-service-map-gbh65n66.js} +4 -4
- package/dist/chunks/{filesystem-hwhn336e.js → location-service-map-gc30vjt8.js} +14 -14
- package/dist/chunks/{filesystem-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-17vn99m1.js → location-service-map-gfvfhfth.js} +11 -11
- package/dist/chunks/{filesystem-s83rft3p.js → location-service-map-gh8rs6tp.js} +9 -9
- package/dist/chunks/{filesystem-b802xj85.js → location-service-map-gq9mz0q5.js} +25 -25
- package/dist/chunks/{filesystem-gyscva2z.js → location-service-map-gvmyet0t.js} +2 -2
- package/dist/chunks/{filesystem-fww2ha2b.js → location-service-map-gwaf4cyv.js} +9 -9
- package/dist/chunks/{filesystem-891td7wt.js → location-service-map-gybmckzj.js} +31 -31
- package/dist/chunks/{filesystem-7qw3bype.js → location-service-map-h36qpgyc.js} +5 -5
- package/dist/chunks/{filesystem-wn36fw8j.js → location-service-map-h3damvf7.js} +21 -21
- package/dist/chunks/{filesystem-57m3nn06.js → location-service-map-h5ctynge.js} +47 -47
- package/dist/chunks/{filesystem-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-pgsm1jra.js → location-service-map-h796dgtk.js} +23 -23
- package/dist/chunks/{filesystem-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
- package/dist/chunks/{filesystem-479xfgw2.js → location-service-map-hbhk3w7g.js} +22 -22
- package/dist/chunks/{filesystem-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-sm28yfzz.js → location-service-map-hse9bmtq.js} +3 -3
- package/dist/chunks/{filesystem-gtymtyg6.js → location-service-map-htr2xv6b.js} +6 -6
- package/dist/chunks/{filesystem-8rpbtay5.js → location-service-map-hw1z087j.js} +7 -7
- package/dist/chunks/{filesystem-wsfdahkn.js → location-service-map-hw81jkqg.js} +12 -12
- package/dist/chunks/{filesystem-7ye1622v.js → location-service-map-hxxxkake.js} +24 -24
- package/dist/chunks/{filesystem-42vvks9a.js → location-service-map-hy35aq5e.js} +12 -12
- package/dist/chunks/{filesystem-j09zfasm.js → location-service-map-j09zfasm.js} +3 -3
- package/dist/chunks/{filesystem-mfgzhhge.js → location-service-map-j0z1hbm7.js} +5 -5
- package/dist/chunks/{filesystem-04rd1xjf.js → location-service-map-j26e8f99.js} +31 -31
- package/dist/chunks/{filesystem-df9r6vr8.js → location-service-map-j4xtsjbj.js} +23 -23
- package/dist/chunks/{filesystem-y8fj3v1k.js → location-service-map-jgrj7vpb.js} +10 -10
- package/dist/chunks/{filesystem-pnkbpv6t.js → location-service-map-jvvc3tfq.js} +9 -9
- package/dist/chunks/{filesystem-1vvyf17e.js → location-service-map-jxntzgs7.js} +28 -28
- package/dist/chunks/{filesystem-4052cchc.js → location-service-map-jz647r1p.js} +11 -11
- package/dist/chunks/{filesystem-rde5ychf.js → location-service-map-k73fr1k7.js} +20 -20
- package/dist/chunks/{filesystem-m8azxxds.js → location-service-map-k7wxww75.js} +11 -11
- package/dist/chunks/{filesystem-axz3bbsr.js → location-service-map-kc16ztxm.js} +15 -15
- package/dist/chunks/location-service-map-kf3mbpd3.js +253 -0
- package/dist/chunks/{filesystem-brxt6bhf.js → location-service-map-kfj9hn6k.js} +20 -20
- package/dist/chunks/{filesystem-dytxdk7n.js → location-service-map-kg0ryrs1.js} +34 -34
- package/dist/chunks/{filesystem-esay8zmc.js → location-service-map-kjttyt96.js} +17 -17
- package/dist/chunks/{filesystem-zcrspsvn.js → location-service-map-kne8f3cn.js} +4 -4
- package/dist/chunks/{filesystem-st4n5fmc.js → location-service-map-krpype3t.js} +16 -16
- package/dist/chunks/{filesystem-m52bgz96.js → location-service-map-kt13rzk4.js} +32 -32
- package/dist/chunks/{filesystem-x0f2qx15.js → location-service-map-kvh9ex0n.js} +3 -3
- package/dist/chunks/{filesystem-cqj6hj84.js → location-service-map-kvsv9rq3.js} +17 -17
- package/dist/chunks/{filesystem-ea274jfg.js → location-service-map-kxqng4z4.js} +16 -16
- package/dist/chunks/{filesystem-2jysb6nv.js → location-service-map-kz8sfr61.js} +3 -3
- package/dist/chunks/{filesystem-88hkx883.js → location-service-map-m329mjby.js} +12 -12
- package/dist/chunks/{filesystem-ntd76dtp.js → location-service-map-m47hdp86.js} +8 -8
- package/dist/chunks/{filesystem-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-me4fzj2s.js → location-service-map-mcwdvdbx.js} +9 -9
- package/dist/chunks/{filesystem-7q7p1rgy.js → location-service-map-ms1sgmgt.js} +10 -10
- package/dist/chunks/{filesystem-4mwpykj0.js → location-service-map-mx9vqzsb.js} +6 -6
- package/dist/chunks/{filesystem-vx3jgdek.js → location-service-map-my4zabxr.js} +3 -3
- package/dist/chunks/{filesystem-cb63bp6n.js → location-service-map-n3gkh2k8.js} +4 -4
- package/dist/chunks/{filesystem-93ea1xn4.js → location-service-map-n7chbqxk.js} +21 -21
- package/dist/chunks/{filesystem-6kzp9tjq.js → location-service-map-n8vdnqrc.js} +5 -5
- package/dist/chunks/{filesystem-gyvk3j9r.js → location-service-map-ns04df5e.js} +15 -15
- package/dist/chunks/{filesystem-2mvwd2j5.js → location-service-map-nszkg83g.js} +19 -19
- package/dist/chunks/location-service-map-pc3mwg2h.js +513 -0
- package/dist/chunks/{filesystem-g4y5gz37.js → location-service-map-pd14fbdd.js} +6 -6
- package/dist/chunks/{filesystem-nd4tfyg0.js → location-service-map-phz50fbd.js} +9 -9
- package/dist/chunks/{filesystem-ast615dg.js → location-service-map-pj97maf1.js} +25 -25
- package/dist/chunks/{filesystem-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-xrg7s2x1.js → location-service-map-pp6tmt8p.js} +10 -10
- package/dist/chunks/{filesystem-djjx68bv.js → location-service-map-pp7c1v3z.js} +37 -37
- package/dist/chunks/{filesystem-t3825hcj.js → location-service-map-pxpx7y6c.js} +55 -55
- package/dist/chunks/{filesystem-6pc27hjz.js → location-service-map-py3kkmfq.js} +6 -6
- package/dist/chunks/{filesystem-6gw469qx.js → location-service-map-pynx3rzn.js} +6 -6
- package/dist/chunks/{filesystem-8gk143f9.js → location-service-map-q15xqe5w.js} +15 -15
- package/dist/chunks/{filesystem-m70nxkxe.js → location-service-map-qn90mm7z.js} +14 -14
- package/dist/chunks/{filesystem-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-e8yng8xa.js → location-service-map-qv519ymt.js} +45 -45
- package/dist/chunks/{filesystem-98zt1fkg.js → location-service-map-qwqqzdxk.js} +8 -8
- package/dist/chunks/{filesystem-e80seqcp.js → location-service-map-r2z489rp.js} +3 -3
- package/dist/chunks/{filesystem-b72x306p.js → location-service-map-r37wb9bh.js} +13 -13
- package/dist/chunks/{filesystem-g8272p2k.js → location-service-map-r5p8p72t.js} +10 -10
- package/dist/chunks/{filesystem-3rtxz4nr.js → location-service-map-r61qxybf.js} +8 -8
- package/dist/chunks/{filesystem-0nb2yaj7.js → location-service-map-r80kwpvr.js} +9 -9
- package/dist/chunks/{filesystem-yfyzdc7t.js → location-service-map-r8bwyjs3.js} +32 -32
- package/dist/chunks/{filesystem-zx414vf8.js → location-service-map-ra8aazcz.js} +15 -15
- package/dist/chunks/{filesystem-t6vsspdg.js → location-service-map-ratrq7cm.js} +7 -7
- package/dist/chunks/{filesystem-38xz3wm4.js → location-service-map-rdb1svpf.js} +34 -34
- package/dist/chunks/{filesystem-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-rert0e01.js → location-service-map-rert0e01.js} +2 -2
- package/dist/chunks/{filesystem-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
- package/dist/chunks/{filesystem-sptbfbhr.js → location-service-map-rwme0grx.js} +15 -15
- package/dist/chunks/{filesystem-yhq47pcp.js → location-service-map-ry082wg0.js} +9 -9
- package/dist/chunks/{filesystem-nghv1tg0.js → location-service-map-s0gydmaw.js} +23 -23
- package/dist/chunks/{filesystem-6vt1d4a8.js → location-service-map-s2t00s75.js} +12 -12
- package/dist/chunks/location-service-map-s315gvtx.js +26 -0
- package/dist/chunks/{filesystem-a7tjv382.js → location-service-map-s68q802c.js} +13 -13
- package/dist/chunks/{filesystem-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
- package/dist/chunks/{filesystem-4r3st4w3.js → location-service-map-sb86xevf.js} +12 -12
- package/dist/chunks/{filesystem-x1n3xk5a.js → location-service-map-shm9gt2y.js} +12 -12
- package/dist/chunks/{filesystem-t8jmph7p.js → location-service-map-sx3pjf9c.js} +31 -31
- package/dist/chunks/{filesystem-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-ma3vsd6k.js → location-service-map-t58ss6va.js} +11 -11
- package/dist/chunks/{filesystem-pj3rwfnx.js → location-service-map-t8ne3r2q.js} +12 -12
- package/dist/chunks/{filesystem-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-m77a8waw.js → location-service-map-tbt5dvb1.js} +19 -19
- package/dist/chunks/{filesystem-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-zrd4nqr3.js → location-service-map-tgnnk969.js} +19 -19
- package/dist/chunks/{filesystem-vrrq7v3g.js → location-service-map-tk14y25j.js} +5 -5
- package/dist/chunks/{filesystem-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{filesystem-90vpw73y.js → location-service-map-txd8c2hd.js} +4 -4
- package/dist/chunks/{filesystem-kfpaqgkr.js → location-service-map-txqtqxhq.js} +22 -22
- package/dist/chunks/{filesystem-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-0bg0bx69.js → location-service-map-v0es1rhs.js} +5 -5
- package/dist/chunks/{filesystem-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-rrpgd0ny.js → location-service-map-vb8wgay5.js} +8 -8
- package/dist/chunks/{filesystem-m2sg2d0v.js → location-service-map-vcc1d1p0.js} +3 -3
- package/dist/chunks/{filesystem-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-xg164bxt.js → location-service-map-vjwphg0n.js} +34 -34
- package/dist/chunks/{filesystem-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-f5ea8hdq.js → location-service-map-w0cr6kn3.js} +22 -22
- package/dist/chunks/{filesystem-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-vk98rgmp.js → location-service-map-w76n4hge.js} +19 -19
- package/dist/chunks/{filesystem-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-c60gsmre.js → location-service-map-wqptjszz.js} +21 -21
- package/dist/chunks/{filesystem-nybg9njq.js → location-service-map-wyazz7bw.js} +12 -12
- package/dist/chunks/{filesystem-erv775vn.js → location-service-map-x5hsf6rj.js} +17 -17
- package/dist/chunks/{filesystem-33xa9rtw.js → location-service-map-xe9ktzb9.js} +25 -25
- package/dist/chunks/{filesystem-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-yvtwbw85.js → location-service-map-xh49hxk7.js} +75 -75
- package/dist/chunks/{filesystem-kw3sp2bd.js → location-service-map-xmpwqgz4.js} +9 -9
- package/dist/chunks/{filesystem-5bbq7g0g.js → location-service-map-xsgpdrvd.js} +41 -41
- package/dist/chunks/{filesystem-r90cpetc.js → location-service-map-y1em8rf3.js} +11 -11
- package/dist/chunks/{filesystem-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-njhqdk9p.js → location-service-map-y56ehv6b.js} +5 -5
- package/dist/chunks/{filesystem-9018w457.js → location-service-map-ydah9gdn.js} +84 -84
- package/dist/chunks/{filesystem-b7e4t0g9.js → location-service-map-yfv96e1b.js} +24 -24
- package/dist/chunks/{filesystem-ppnsdmbh.js → location-service-map-ykw935pc.js} +33 -33
- package/dist/chunks/{filesystem-f2n192rq.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-qr891hhg.js → location-service-map-yytnj0xn.js} +15 -15
- package/dist/chunks/{filesystem-06d3crh0.js → location-service-map-z029qf89.js} +5 -5
- package/dist/chunks/{filesystem-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-qsdp7can.js → location-service-map-z186befd.js} +2 -2
- package/dist/chunks/{filesystem-fs5j28yz.js → location-service-map-z1zdzsfj.js} +53 -53
- package/dist/chunks/{filesystem-96q3gpsm.js → location-service-map-z2dcak32.js} +33 -33
- package/dist/chunks/{filesystem-72rw85ce.js → location-service-map-z3507kbh.js} +11 -11
- package/dist/chunks/{filesystem-45m3bn54.js → location-service-map-z37zr1de.js} +4 -4
- package/dist/chunks/{filesystem-929jc9q6.js → location-service-map-z5s28eht.js} +14 -14
- package/dist/chunks/{filesystem-3n46ts9y.js → location-service-map-zcf38hqe.js} +9 -9
- package/dist/chunks/{filesystem-47f1pje9.js → location-service-map-zh94prq5.js} +11 -11
- package/dist/chunks/{filesystem-qf76qvkk.js → location-service-map-zjtrsxny.js} +5 -5
- package/dist/chunks/{filesystem-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-03apfjcg.js → location-service-map-zx2dwjq0.js} +3 -3
- package/dist/chunks/{filesystem-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +101 -94
- 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 +100 -100
- package/dist/model.js +104 -104
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +3 -3
- 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 +119 -119
- package/dist/plugin/optimize.js +4 -4
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- 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 +4 -4
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +84 -84
- 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 +137 -137
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- 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 +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +116 -116
- 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 +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- 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 +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-1x11rq2a.js +0 -18
- package/dist/chunks/filesystem-szeb262z.js +0 -513
- package/dist/chunks/filesystem-tr1gc2fq.js +0 -253
- package/dist/chunks/filesystem-vddt4hr5.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node55
|
|
5
|
+
} from "./location-service-map-agg557zn.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-1rn5pcm9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./location-service-map-at1kfnmk.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-4h8beb84.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9a1mrhyh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./location-service-map-1g7cdmxb.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service35,
|
|
28
|
+
node38
|
|
29
|
+
} from "./location-service-map-4ybf7fnk.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./location-service-map-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-service-map-68wqtz75.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service34,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer12,
|
|
48
|
+
node: () => node37,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer12 = Layer.effect(Service34, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service74;
|
|
162
|
+
const transport = yield* Service35;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -167,7 +167,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
167
167
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
168
168
|
const tools = input.tools ?? {
|
|
169
169
|
definitions: [],
|
|
170
|
-
execute: () => new
|
|
170
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
171
171
|
};
|
|
172
172
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
173
173
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service34.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node37 = makeLocationNode({
|
|
275
|
+
service: Service34,
|
|
276
|
+
layer: layer12,
|
|
277
|
+
deps: [node78, node38, node55]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer12, node37, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service72,
|
|
8
8
|
node75
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-6jpm8ex2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service22,
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,12 +58,12 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service22 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
66
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
67
|
const environment = yield* Service72;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service22.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node24 = makeLocationNode({ service: Service22, layer, deps: [node75, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service22, node24, exports_ripgrep };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-agg557zn.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin20,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin20 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin19 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin20, exports_tavily };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-3z39tkdq.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-s2t00s75.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event20,
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./location-service-map-3p5gpzs5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node72
|
|
13
|
+
} from "./location-service-map-1cwtqt4r.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-6g107h22.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-4f3wm1ac.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-r5p8p72t.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service70,
|
|
37
|
+
Event15,
|
|
38
|
+
node73
|
|
39
|
+
} from "./location-service-map-k73fr1k7.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
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service68,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured8,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer25,
|
|
54
|
+
node: () => node71,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -75,7 +75,7 @@ var Options4 = Schema.Struct({
|
|
|
75
75
|
content: Schema.optional(Schema.String)
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class Service68 extends Context.Service()("@opencode/Config") {
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -93,16 +93,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
93
93
|
setEntries: (next) => Ref.set(entries, next),
|
|
94
94
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
95
95
|
});
|
|
96
|
-
return Context.empty().pipe(Context.add(
|
|
96
|
+
return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
|
|
97
97
|
}));
|
|
98
|
-
var
|
|
98
|
+
var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const location = yield*
|
|
101
|
-
const watcher = yield*
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const credentials = yield*
|
|
100
|
+
const location = yield* Service81;
|
|
101
|
+
const watcher = yield* Service69;
|
|
102
|
+
const bus = yield* Service84;
|
|
103
|
+
const credentials = yield* Service80;
|
|
104
104
|
const globalService = yield* Global.Service;
|
|
105
|
-
const wellknown = yield*
|
|
105
|
+
const wellknown = yield* Service70;
|
|
106
106
|
const processes = yield* AppProcess.Service;
|
|
107
107
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
108
108
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
185
185
|
});
|
|
186
186
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
187
187
|
return [
|
|
188
|
-
...yield* Effect.forEach(
|
|
188
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
189
189
|
new Directory({ type: "directory", path: directory })
|
|
190
190
|
];
|
|
191
191
|
});
|
|
@@ -253,8 +253,8 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
253
253
|
}, (effect) => reloadLock.withPermit(effect));
|
|
254
254
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
255
255
|
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 }));
|
|
256
|
-
yield* bus.subscribe(
|
|
257
|
-
yield* bus.subscribe(
|
|
256
|
+
yield* bus.subscribe(Event20.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 }));
|
|
257
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
258
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
259
259
|
if (!wellknown.snapshot().length)
|
|
260
260
|
return Effect.void;
|
|
@@ -267,7 +267,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
267
267
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
268
268
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
269
269
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
270
|
-
const candidates =
|
|
270
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
271
271
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
272
272
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
273
273
|
`;
|
|
@@ -282,7 +282,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
282
282
|
`);
|
|
283
283
|
yield* requestReload;
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service68.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -294,22 +294,22 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
294
294
|
update
|
|
295
295
|
});
|
|
296
296
|
}));
|
|
297
|
-
function
|
|
297
|
+
function configured8(options) {
|
|
298
298
|
return makeLocationNode({
|
|
299
|
-
service:
|
|
300
|
-
layer:
|
|
299
|
+
service: Service68,
|
|
300
|
+
layer: layer25(options),
|
|
301
301
|
deps: [
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
node72,
|
|
303
|
+
node88,
|
|
304
304
|
FSUtil.node,
|
|
305
305
|
Global.node,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
node85,
|
|
307
|
+
node84,
|
|
308
|
+
node73,
|
|
309
309
|
AppProcess.node
|
|
310
310
|
]
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var node71 = configured8();
|
|
314
314
|
|
|
315
|
-
export { latest2,
|
|
315
|
+
export { latest2, Options7, Service68, Test2, testLayer2, layer25, configured8, node71, exports_config };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
10
10
|
import {
|
|
11
11
|
Service72
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-6jpm8ex2.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service22
|
|
16
|
+
} from "./location-service-map-yytnj0xn.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-79nhj7b6.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service49
|
|
26
|
+
} from "./location-service-map-4h8beb84.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./location-service-map-3sw2dssw.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin2,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin2 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
89
|
const environment = yield* Service72;
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
90
|
+
const ripgrep = yield* Service22;
|
|
91
|
+
const location = yield* Service81;
|
|
92
|
+
const access = yield* Service17;
|
|
93
|
+
const permission = yield* Service49;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin6 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin6 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
|