@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./location-activity-mwff9d1z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./location-activity-3ke2knzt.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service70;
|
|
27
|
+
const output = yield* Service38;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin24 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin32, exports_tool_output };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-ce4f9bke.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-activity-8xbyqt4m.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info33,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service80,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info33 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service80 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info33({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service80.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info33({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event20, Info33, Service80, node84, exports_credential };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-x5q7q960.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-1x1j0frd.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-wtx8k504.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-m6tgpen8.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./location-activity-f50jd1y7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./location-activity-0q9yp03d.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node48,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node48 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error3, Service44, node48, noopLayer2, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event18,
|
|
13
|
+
ID: () => ID15,
|
|
14
|
+
Info: () => Info31,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID15 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info31 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event18 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID15, Current3, Info31, UpdateInput4, Event18, Vcs3, exports_schema };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info5,
|
|
6
6
|
ID3,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-hr4a8hfh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./location-activity-mwff9d1z.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin9,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin9 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info5.make({
|
|
434
434
|
id: ID3.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info5.make({
|
|
441
441
|
id: ID3.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service70;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service12
|
|
3
|
+
} from "./location-activity-4xn33aat.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
NativeCompactionPlugin: () =>
|
|
12
|
-
Plugin: () =>
|
|
9
|
+
var exports_compaction = {};
|
|
10
|
+
__export(exports_compaction, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
+
Plugin: () => Plugin17
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin17 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service12;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin47 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin17, exports_compaction };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|