@opencode/core 0.0.0-dev-19790 → 0.0.0-dev-19794
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{pty-yz0n98jk.js → location-activity-0127mseq.js} +11 -11
- package/dist/chunks/{pty-6zb5jvme.js → location-activity-0d3eppmm.js} +60 -60
- package/dist/chunks/{pty-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-en85tny2.js → location-activity-0q9yp03d.js} +17 -17
- package/dist/chunks/{pty-5xsexkhf.js → location-activity-0rmts1a1.js} +9 -9
- package/dist/chunks/{pty-010xpxbn.js → location-activity-0ycqk32t.js} +11 -11
- package/dist/chunks/{pty-85z0khfw.js → location-activity-11dqjexa.js} +9 -9
- package/dist/chunks/{pty-8sc656s0.js → location-activity-1696f2f2.js} +30 -30
- package/dist/chunks/{pty-f2n192rq.js → location-activity-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-0x0trpnf.js → location-activity-1d2ep7ra.js} +11 -11
- package/dist/chunks/{pty-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-fd3v7rn0.js → location-activity-1vhter9d.js} +35 -35
- package/dist/chunks/{pty-47r0kvy6.js → location-activity-1w2hbx1g.js} +24 -24
- package/dist/chunks/{pty-7cj0vwkb.js → location-activity-1w6nef6a.js} +7 -7
- package/dist/chunks/{pty-2gydggrp.js → location-activity-1x1j0frd.js} +6 -6
- package/dist/chunks/{pty-nwb8yfca.js → location-activity-1xh8ssmd.js} +5 -5
- package/dist/chunks/{pty-p3w99mff.js → location-activity-1y3rywx0.js} +22 -22
- package/dist/chunks/{pty-56gdpj1q.js → location-activity-1ygqh575.js} +9 -9
- package/dist/chunks/{pty-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{pty-vk9pkavn.js → location-activity-22g9fvpg.js} +13 -13
- package/dist/chunks/{pty-2402vzrj.js → location-activity-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-vy078w6d.js → location-activity-27bkjxt6.js} +44 -44
- package/dist/chunks/{pty-z63w68vq.js → location-activity-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-3z5xssby.js → location-activity-2fxk31r8.js} +21 -21
- package/dist/chunks/{pty-ryb794yb.js → location-activity-2jhpv4gd.js} +10 -10
- package/dist/chunks/{pty-d4he2qe1.js → location-activity-2sejkfem.js} +9 -9
- package/dist/chunks/{pty-82kxmdcf.js → location-activity-2zcjvpqm.js} +7 -7
- package/dist/chunks/{pty-n25bj5sj.js → location-activity-32sfse7q.js} +8 -8
- package/dist/chunks/{pty-cs1yg9jz.js → location-activity-342cjt5a.js} +27 -27
- package/dist/chunks/{pty-rhx683sy.js → location-activity-35agz59w.js} +6 -6
- package/dist/chunks/{pty-af04s6ss.js → location-activity-3cz8rj72.js} +5 -5
- package/dist/chunks/{pty-94h3t13q.js → location-activity-3emwtkgg.js} +12 -12
- package/dist/chunks/{pty-2qtz93bp.js → location-activity-3f7nj4jn.js} +4 -4
- package/dist/chunks/{pty-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-rz9v06kn.js → location-activity-3gt99kcb.js} +27 -27
- package/dist/chunks/{pty-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-mh8602s5.js → location-activity-3hrfcd61.js} +23 -23
- package/dist/chunks/{pty-kgbqw58m.js → location-activity-3k64ej12.js} +35 -35
- package/dist/chunks/{pty-8n2c22yw.js → location-activity-3ke2knzt.js} +12 -12
- package/dist/chunks/{pty-09ejbmp6.js → location-activity-3mt66r7c.js} +3 -3
- package/dist/chunks/{pty-4dkhsnmt.js → location-activity-3qr1c5sj.js} +30 -30
- package/dist/chunks/{pty-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-a8rvpzh6.js → location-activity-41rshfzb.js} +37 -37
- package/dist/chunks/{pty-95jkg4sh.js → location-activity-4b7v3k4y.js} +6 -6
- package/dist/chunks/{pty-e8gs20m7.js → location-activity-4nqk0e4d.js} +24 -24
- package/dist/chunks/{pty-8x7kj7de.js → location-activity-4v41x4qk.js} +16 -16
- package/dist/chunks/{pty-vedaqc0n.js → location-activity-4wrwqny8.js} +181 -181
- package/dist/chunks/{pty-h4xx3n44.js → location-activity-4xgcr3mn.js} +5 -5
- package/dist/chunks/{pty-gqgkwrka.js → location-activity-4xmjakdf.js} +23 -23
- package/dist/chunks/{pty-ck33vcq0.js → location-activity-4xn33aat.js} +28 -28
- package/dist/chunks/{pty-xtvm4hh6.js → location-activity-505rds3d.js} +3 -3
- package/dist/chunks/{pty-vw2t0mtq.js → location-activity-558qpgqc.js} +44 -44
- package/dist/chunks/{pty-2deyrhr8.js → location-activity-59rktsjv.js} +13 -13
- package/dist/chunks/{pty-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-m77h72gn.js → location-activity-5hankn48.js} +29 -29
- package/dist/chunks/{pty-bfygd469.js → location-activity-5hkvr5ze.js} +32 -32
- package/dist/chunks/{pty-c6d4h0jp.js → location-activity-5kq76w66.js} +11 -11
- package/dist/chunks/{pty-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-c3xk9fpp.js → location-activity-5tcx1mdj.js} +11 -11
- package/dist/chunks/{pty-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{pty-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-zcz1ktx8.js → location-activity-737h3qkw.js} +3 -3
- package/dist/chunks/{pty-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-0cnsmtwh.js → location-activity-7chtch0f.js} +26 -26
- package/dist/chunks/{pty-zv6tdpnx.js → location-activity-7dbd7q38.js} +37 -37
- package/dist/chunks/{pty-2mvse5z6.js → location-activity-7endx8a2.js} +36 -36
- package/dist/chunks/{pty-q2f6gqtk.js → location-activity-7sx30sz0.js} +6 -6
- package/dist/chunks/{pty-q24nm477.js → location-activity-85zvc8xh.js} +19 -19
- package/dist/chunks/{pty-xfjax5kj.js → location-activity-884h22he.js} +6 -6
- package/dist/chunks/{pty-5j6bqzeb.js → location-activity-8ajpkf82.js} +22 -22
- package/dist/chunks/{pty-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-8p4f9s12.js → location-activity-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-jva4mgym.js → location-activity-8s8mxddj.js} +4 -4
- package/dist/chunks/{pty-hdfkv0ev.js → location-activity-8t81gvaz.js} +63 -63
- package/dist/chunks/{pty-2aet7wja.js → location-activity-8wsye86r.js} +8 -8
- package/dist/chunks/{pty-tqwr2f5g.js → location-activity-8xbyqt4m.js} +12 -12
- package/dist/chunks/{pty-f9mqex9s.js → location-activity-8yg5c1vz.js} +37 -37
- package/dist/chunks/{pty-36ndtc93.js → location-activity-99bx8r98.js} +28 -28
- package/dist/chunks/{pty-r1761eky.js → location-activity-99s6dn9h.js} +30 -30
- package/dist/chunks/{pty-czfptnv9.js → location-activity-9hn6k4tm.js} +8 -8
- package/dist/chunks/{pty-vfqq51fb.js → location-activity-9pzj9sam.js} +17 -17
- package/dist/chunks/{pty-57dcv54h.js → location-activity-9scxrkga.js} +4 -4
- package/dist/chunks/{pty-2x2vnpz5.js → location-activity-9sfgw921.js} +9 -9
- package/dist/chunks/{pty-4zhk9xy1.js → location-activity-9t68tq8c.js} +11 -11
- package/dist/chunks/{pty-5cn1q5nw.js → location-activity-9va0p087.js} +33 -33
- package/dist/chunks/{pty-jn0rbr09.js → location-activity-9wx32pn7.js} +5 -5
- package/dist/chunks/{pty-krbz4bty.js → location-activity-9wzemrxv.js} +5 -5
- package/dist/chunks/{pty-8ktdpdbn.js → location-activity-9ytc8xew.js} +33 -33
- package/dist/chunks/{pty-a1bz86dw.js → location-activity-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-4sn99hha.js → location-activity-aamtrqep.js} +9 -9
- package/dist/chunks/{pty-pfpqttcd.js → location-activity-afs8yyqb.js} +15 -15
- package/dist/chunks/{pty-6d0hcp9d.js → location-activity-akn2509w.js} +10 -10
- package/dist/chunks/{pty-5e15319b.js → location-activity-b29mbqx6.js} +5 -5
- package/dist/chunks/{pty-64amj0r1.js → location-activity-b3mh8yph.js} +21 -21
- package/dist/chunks/{pty-4ekhf7tc.js → location-activity-b4e924yg.js} +7 -7
- package/dist/chunks/{pty-hjvqykt7.js → location-activity-b5m6q9bc.js} +7 -7
- package/dist/chunks/{pty-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-fra5bndy.js → location-activity-bp9cag59.js} +17 -17
- package/dist/chunks/{pty-2xyrgdy7.js → location-activity-bybaje47.js} +15 -15
- package/dist/chunks/{pty-gs3s1a1g.js → location-activity-c27esgm9.js} +8 -8
- package/dist/chunks/{pty-fwrss4ad.js → location-activity-c6ds0c94.js} +4 -4
- package/dist/chunks/{pty-96712bz8.js → location-activity-ce4f9bke.js} +3 -3
- package/dist/chunks/{pty-hgk31n1k.js → location-activity-cf54hzk4.js} +28 -28
- package/dist/chunks/{pty-cfpkc3c9.js → location-activity-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-vyy6cxw9.js → location-activity-cq37gk0t.js} +4 -4
- package/dist/chunks/{pty-w1k39n5e.js → location-activity-csf2jhsg.js} +4 -4
- package/dist/chunks/{pty-1v03ecv9.js → location-activity-cyz11ekf.js} +22 -22
- package/dist/chunks/{pty-k388e6t1.js → location-activity-d3z7xh78.js} +17 -17
- package/dist/chunks/{pty-scs7maqt.js → location-activity-d61eyh6t.js} +8 -8
- package/dist/chunks/location-activity-d81c9xxa.js +492 -0
- package/dist/chunks/{pty-360vn7h3.js → location-activity-dcbzyqdw.js} +3 -3
- package/dist/chunks/{pty-ve4pfa0n.js → location-activity-dfe8djrf.js} +4 -4
- package/dist/chunks/{pty-m70sbz6t.js → location-activity-dhmh7aw6.js} +4 -4
- package/dist/chunks/{pty-jcvsx840.js → location-activity-dm12sjej.js} +20 -20
- package/dist/chunks/{pty-jwcy2c2z.js → location-activity-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-1n42sk3q.js → location-activity-dsetz8zx.js} +13 -13
- package/dist/chunks/{pty-nvgm9hwb.js → location-activity-dye7spcq.js} +30 -30
- package/dist/chunks/{pty-jzp2kyv6.js → location-activity-e0k11qb9.js} +23 -23
- package/dist/chunks/{pty-8kgvtemd.js → location-activity-e1wqas3m.js} +8 -8
- package/dist/chunks/{pty-5qd3pb7m.js → location-activity-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-trt7zypv.js → location-activity-e96ag9v9.js} +33 -33
- package/dist/chunks/{pty-wzjn1tpp.js → location-activity-ea3ctmvw.js} +11 -11
- package/dist/chunks/{pty-wj76ss2k.js → location-activity-eahhehpg.js} +4 -4
- package/dist/chunks/{pty-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-2f0arp29.js → location-activity-ejj6pzc4.js} +44 -44
- package/dist/chunks/{pty-zapz2rcy.js → location-activity-epcby9bt.js} +26 -26
- package/dist/chunks/{pty-73tb2d7t.js → location-activity-eq1pz5kg.js} +3 -3
- package/dist/chunks/{pty-erw5rpbs.js → location-activity-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-82r64hfa.js → location-activity-evgnw4ss.js} +26 -26
- package/dist/chunks/{pty-5whcbe3x.js → location-activity-f0vwc342.js} +20 -20
- package/dist/chunks/{pty-hdns3422.js → location-activity-f1gk7hd0.js} +13 -13
- package/dist/chunks/{pty-kb1rdp05.js → location-activity-f3wste55.js} +41 -41
- package/dist/chunks/{pty-hxpy2fz9.js → location-activity-f50jd1y7.js} +12 -12
- package/dist/chunks/{pty-f828m53h.js → location-activity-f828m53h.js} +2 -2
- package/dist/chunks/{pty-g408yz0d.js → location-activity-faehd238.js} +29 -29
- package/dist/chunks/{pty-607tc6va.js → location-activity-fcrkznn8.js} +5 -5
- package/dist/chunks/{pty-evbgk2k8.js → location-activity-fpmq6gma.js} +5 -5
- package/dist/chunks/{pty-d7wgan7y.js → location-activity-ftmw2c74.js} +17 -17
- package/dist/chunks/{pty-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-gy590f6s.js → location-activity-g0htp5bx.js} +2 -2
- package/dist/chunks/{pty-kns2fx3n.js → location-activity-g5tjfj1j.js} +22 -22
- package/dist/chunks/{pty-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-47qt310b.js → location-activity-gey4je0z.js} +10 -10
- package/dist/chunks/{pty-z9g3fnns.js → location-activity-gfewbcwv.js} +22 -22
- package/dist/chunks/{pty-yvqjf3ez.js → location-activity-ggym2vj4.js} +15 -15
- package/dist/chunks/{pty-39mnaq4c.js → location-activity-gh7r9fp9.js} +16 -16
- package/dist/chunks/{pty-7swn79b1.js → location-activity-gmdw1w1k.js} +9 -9
- package/dist/chunks/{pty-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-jhetzww4.js → location-activity-gwv7ff5n.js} +45 -45
- package/dist/chunks/{pty-cpj0znwe.js → location-activity-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-ajejy050.js → location-activity-hcy8yy3p.js} +19 -19
- package/dist/chunks/{pty-cerhndf8.js → location-activity-hr4a8hfh.js} +20 -20
- package/dist/chunks/{pty-en9axxsm.js → location-activity-hwhpg98a.js} +19 -19
- package/dist/chunks/{pty-q0sdqn78.js → location-activity-hx5re87y.js} +4 -4
- package/dist/chunks/{pty-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-9wh28ea7.js → location-activity-j9z3hfdh.js} +29 -29
- package/dist/chunks/{pty-h5amc0nw.js → location-activity-jahdw3jg.js} +5 -5
- package/dist/chunks/{pty-hzxxpgfe.js → location-activity-jdbtf569.js} +13 -13
- package/dist/chunks/{pty-cdm0dq9n.js → location-activity-jkp0d30b.js} +6 -6
- package/dist/chunks/{pty-m7va1g8x.js → location-activity-jxxakrfy.js} +2 -2
- package/dist/chunks/{pty-k3c624dm.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-8hdvkfsn.js → location-activity-k5r5fkm6.js} +43 -43
- package/dist/chunks/{pty-knb7evpn.js → location-activity-k9kj6xed.js} +6 -6
- package/dist/chunks/{pty-1t1mekng.js → location-activity-kaknqc73.js} +5 -5
- package/dist/chunks/{pty-gx88jzcs.js → location-activity-kgvsc4xe.js} +26 -26
- package/dist/chunks/{pty-n0kbf44j.js → location-activity-kn0baf35.js} +11 -11
- package/dist/chunks/{pty-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-rwwvkkw9.js → location-activity-m6tgpen8.js} +6 -6
- package/dist/chunks/{pty-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-w8hj49dq.js → location-activity-mkvt91jd.js} +47 -47
- package/dist/chunks/{pty-q4hrj6yz.js → location-activity-ms990q8h.js} +23 -23
- package/dist/chunks/{pty-a6ha29gm.js → location-activity-mwff9d1z.js} +48 -48
- package/dist/chunks/{pty-j2dty9kk.js → location-activity-my4ejgx9.js} +19 -19
- package/dist/chunks/{pty-vf5yby4q.js → location-activity-n1zvcsbv.js} +33 -33
- package/dist/chunks/{pty-96k7qteq.js → location-activity-n5x5ztv3.js} +4 -4
- package/dist/chunks/{pty-gyxzt53n.js → location-activity-n7thqm34.js} +17 -17
- package/dist/chunks/{pty-vyqn3nqs.js → location-activity-n8c291r7.js} +6 -6
- package/dist/chunks/{pty-zg3tcem2.js → location-activity-nex89vhn.js} +9 -9
- package/dist/chunks/{pty-92hvatj2.js → location-activity-nfmfy7ka.js} +94 -94
- package/dist/chunks/{pty-gbvfym51.js → location-activity-npam2p76.js} +24 -24
- package/dist/chunks/{pty-xv567rvv.js → location-activity-nq804vd8.js} +10 -10
- package/dist/chunks/{pty-g6v5r3w6.js → location-activity-nsxrn5pp.js} +16 -16
- package/dist/chunks/{pty-5xwkdnk6.js → location-activity-p4y0btc5.js} +11 -11
- package/dist/chunks/{pty-jfq1w6xq.js → location-activity-p6nn8yx3.js} +14 -14
- package/dist/chunks/{pty-256nx13v.js → location-activity-pds74t41.js} +3 -3
- package/dist/chunks/{pty-6a3q5akz.js → location-activity-pj1bassr.js} +10 -10
- package/dist/chunks/{pty-01m48zym.js → location-activity-pj3q0t88.js} +22 -22
- package/dist/chunks/{pty-sdrw2w9p.js → location-activity-pj7p226c.js} +25 -25
- package/dist/chunks/{pty-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{pty-2bm8nv3j.js → location-activity-pkp7htqy.js} +4 -4
- package/dist/chunks/{pty-gtgjs7h2.js → location-activity-pw95ag66.js} +46 -46
- package/dist/chunks/{pty-z9z6sd2a.js → location-activity-pwm3dr09.js} +16 -16
- package/dist/chunks/{pty-cywsvzz8.js → location-activity-q4j74qys.js} +20 -20
- package/dist/chunks/location-activity-q509s3k3.js +18 -0
- package/dist/chunks/{pty-bh7937zs.js → location-activity-q6p4kfbg.js} +25 -25
- package/dist/chunks/{pty-gf229ayp.js → location-activity-q6qw5e9d.js} +18 -18
- package/dist/chunks/{pty-zxtb73ge.js → location-activity-qcnfgy8g.js} +18 -18
- package/dist/chunks/{pty-f35htakt.js → location-activity-qcv725q6.js} +9 -9
- package/dist/chunks/{pty-61a7pyf7.js → location-activity-qeq9gj8d.js} +5 -5
- package/dist/chunks/{pty-d8mfmd5t.js → location-activity-qf4c7ypp.js} +17 -17
- package/dist/chunks/{pty-nq7qbqzc.js → location-activity-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-g02r5t1q.js → location-activity-qmzc0xmp.js} +20 -20
- package/dist/chunks/{pty-1qg96azw.js → location-activity-qs001aqx.js} +11 -11
- package/dist/chunks/{pty-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2x8n49qa.js → location-activity-qspncgd6.js} +10 -10
- package/dist/chunks/{pty-510m7gjw.js → location-activity-qte5z7bc.js} +5 -5
- package/dist/chunks/{pty-rxcdjwh1.js → location-activity-r01t9b5y.js} +6 -6
- package/dist/chunks/{pty-rvf3k54n.js → location-activity-r8vagek2.js} +15 -15
- package/dist/chunks/{pty-t2gsyq25.js → location-activity-r9jnrgwr.js} +23 -23
- package/dist/chunks/{pty-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-gbt6w4kb.js → location-activity-rhjbct0v.js} +8 -8
- package/dist/chunks/{pty-bnv5qe0w.js → location-activity-rx9htnkn.js} +9 -9
- package/dist/chunks/{pty-q3pcyw4n.js → location-activity-s3qy3pkq.js} +5 -5
- package/dist/chunks/{pty-yrznvahk.js → location-activity-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-7hmfndvt.js → location-activity-s8fhwy6j.js} +33 -33
- package/dist/chunks/{pty-7t5qybgj.js → location-activity-secwk0ne.js} +47 -47
- package/dist/chunks/{pty-vdnmec7y.js → location-activity-shd80d53.js} +5 -5
- package/dist/chunks/{pty-y3ajgz1g.js → location-activity-sjrbamsq.js} +15 -15
- package/dist/chunks/{pty-zn6sdvfn.js → location-activity-sw1dbqjn.js} +20 -20
- package/dist/chunks/{pty-wxrzmbxm.js → location-activity-sw3g3drt.js} +16 -16
- package/dist/chunks/{pty-zy6cwck4.js → location-activity-swzjrbcy.js} +11 -11
- package/dist/chunks/{pty-mf55kzn1.js → location-activity-sy5pn4cx.js} +9 -9
- package/dist/chunks/{pty-x6j1wb2z.js → location-activity-t2z8k6jd.js} +84 -84
- package/dist/chunks/{pty-dqhgk4gj.js → location-activity-t55mnw92.js} +11 -11
- package/dist/chunks/{pty-8tcq1ard.js → location-activity-t5hpss70.js} +22 -22
- package/dist/chunks/{pty-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tbz0fdvh.js → location-activity-tbz0fdvh.js} +2 -2
- package/dist/chunks/{pty-89znhe33.js → location-activity-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{pty-bt0s2m4s.js → location-activity-thfxpbq9.js} +16 -16
- package/dist/chunks/{pty-4jc5c4h4.js → location-activity-ts2x07a1.js} +1 -1
- package/dist/chunks/{pty-dkkcfdd5.js → location-activity-tss1y9rk.js} +4 -4
- package/dist/chunks/{pty-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-rrwz5n32.js → location-activity-tx5b72jc.js} +13 -13
- package/dist/chunks/{pty-05k8gwwx.js → location-activity-txzbvn5r.js} +41 -41
- package/dist/chunks/{pty-r4hn1y4t.js → location-activity-vd9b9v9n.js} +4 -4
- package/dist/chunks/{pty-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-ypbv3kf7.js → location-activity-vn5vjjv5.js} +24 -24
- package/dist/chunks/{pty-xpkrztab.js → location-activity-vsbxp9bk.js} +3 -3
- package/dist/chunks/{pty-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-b9w0x7cm.js → location-activity-w5dsex9y.js} +18 -18
- package/dist/chunks/{pty-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{pty-kxdh0s6n.js → location-activity-wfs1y3fr.js} +11 -11
- package/dist/chunks/{pty-mg90z6wk.js → location-activity-whyp0526.js} +18 -18
- package/dist/chunks/location-activity-wntvn2sn.js +252 -0
- package/dist/chunks/{pty-dm7z6sw8.js → location-activity-wrtysnas.js} +11 -11
- package/dist/chunks/{pty-p2bsys5p.js → location-activity-wtx8k504.js} +35 -35
- package/dist/chunks/{pty-v110mek2.js → location-activity-wx503qmq.js} +17 -17
- package/dist/chunks/{pty-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-ty51299p.js → location-activity-x3dv9y6a.js} +8 -8
- package/dist/chunks/{pty-kjq75dje.js → location-activity-x5q7q960.js} +1 -1
- package/dist/chunks/{pty-aqk3dj7t.js → location-activity-x6gwry5r.js} +1 -1
- package/dist/chunks/{pty-zfx1etke.js → location-activity-x6vbza9y.js} +10 -10
- package/dist/chunks/{pty-qa3qhgw8.js → location-activity-xb02k0wq.js} +4 -4
- package/dist/chunks/{pty-15wq8bnm.js → location-activity-xc8tzj2x.js} +11 -11
- package/dist/chunks/{pty-magykp64.js → location-activity-xdk9p2qn.js} +21 -21
- package/dist/chunks/{pty-drwq78ky.js → location-activity-xfkkasph.js} +4 -4
- package/dist/chunks/location-activity-xrsqh21y.js +4 -0
- package/dist/chunks/{pty-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-4641nt7s.js → location-activity-y3fqx0mb.js} +8 -8
- package/dist/chunks/{pty-2jm9246z.js → location-activity-ydp3pv4t.js} +4 -4
- package/dist/chunks/{pty-fjeptm1j.js → location-activity-ymf3z7t2.js} +11 -11
- package/dist/chunks/{pty-src4gryn.js → location-activity-yqbj5rqb.js} +19 -19
- package/dist/chunks/{pty-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/location-activity-yx5m4j68.js +26 -0
- package/dist/chunks/{pty-h8d3bytr.js → location-activity-yypy8zkj.js} +67 -67
- package/dist/chunks/{pty-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-esegqz26.js → location-activity-z2yvfsws.js} +9 -9
- package/dist/chunks/{pty-1hxn8gc9.js → location-activity-zde6s6dc.js} +15 -15
- package/dist/chunks/{pty-mm5kxf07.js → location-activity-ze5v0a14.js} +8 -8
- package/dist/chunks/{pty-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-vr12ekh8.js → location-activity-zex83nyc.js} +9 -9
- package/dist/chunks/{pty-bag4px4n.js → location-activity-zgyntbz7.js} +33 -33
- package/dist/chunks/{pty-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-8ndese90.js → location-activity-zzmq7f85.js} +23 -23
- 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 +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +101 -101
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +94 -94
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +91 -91
- 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/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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/pty-4jzbd5w2.js +0 -492
- package/dist/chunks/pty-56qjdxtm.js +0 -26
- package/dist/chunks/pty-hgd4btym.js +0 -18
- package/dist/chunks/pty-hr9dp009.js +0 -4
- package/dist/chunks/pty-px0fec8t.js +0 -252
- /package/dist/chunks/{pty-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service37,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service37 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service37, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service37.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service30, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node41 = makeGlobalNode({ service: Service37, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service37, node41, exports_environment };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-ce4f9bke.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service82,
|
|
84
84
|
deps: [node87],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./location-activity-0q9yp03d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./location-activity-1w2hbx1g.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./location-activity-w5dsex9y.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-activity-3qr1c5sj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./location-activity-8t81gvaz.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./location-activity-q6qw5e9d.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-activity-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: () => Plugin19,
|
|
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 Input12 = 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 toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin19 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service68;
|
|
90
|
+
const ripgrep = yield* Service67;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service58;
|
|
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: {
|
|
@@ -136,7 +136,7 @@ var Plugin13 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin13 = {
|
|
|
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 Plugin13 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin19, exports_grep };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service23,
|
|
7
|
-
node25
|
|
8
|
-
} from "./pty-gtgjs7h2.js";
|
|
9
|
-
import {
|
|
10
|
-
Service66,
|
|
11
|
-
node69
|
|
12
|
-
} from "./pty-hdfkv0ev.js";
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-activity-8xbyqt4m.js";
|
|
13
5
|
import {
|
|
14
6
|
Service28,
|
|
15
7
|
node31
|
|
16
|
-
} from "./
|
|
8
|
+
} from "./location-activity-pw95ag66.js";
|
|
9
|
+
import {
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./location-activity-8t81gvaz.js";
|
|
13
|
+
import {
|
|
14
|
+
Service32,
|
|
15
|
+
node36
|
|
16
|
+
} from "./location-activity-8ajpkf82.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
|
+
layer: () => layer11,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service28;
|
|
42
|
+
const tools = yield* Service32;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service58;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node30 = makeLocationNode({
|
|
124
|
+
service: Service27,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node36, node31, node86, node61]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service27, layer11, node30, exports_mcp3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./location-activity-0q9yp03d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service67,
|
|
10
|
+
node70
|
|
11
|
+
} from "./location-activity-w5dsex9y.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./location-activity-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
24
|
+
Options: () => Options7,
|
|
25
|
+
Service: () => Service66,
|
|
26
26
|
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node69,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service66 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service67;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service66.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service66.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service66.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,8 +174,8 @@ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured8(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service66, layer: layer22(options), deps: [node80, node70] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node69 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options7, Service66, ripgrepLayer2, fffLayer2, layer22, configured8, node69, exports_search };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-activity-0q9yp03d.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-activity-mwff9d1z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./location-activity-sjrbamsq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make8
|
|
13
|
+
} from "./location-activity-eq1pz5kg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin36 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service70;
|
|
37
|
+
const formatter = yield* Service40;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service76;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin20 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make8({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin20 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin36, exports_formatter };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-activity-8xbyqt4m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service13,
|
|
6
6
|
Event2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-t5hpss70.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -30,7 +30,7 @@ var ModelsDevPlugin2 = define({
|
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
32
|
const modelsDev = yield* Service13;
|
|
33
|
-
const bus = yield*
|
|
33
|
+
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-activity-jkp0d30b.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-q509s3k3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./location-activity-secwk0ne.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|