@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-ce4f9bke.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-activity-8xbyqt4m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-activity-jkp0d30b.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service44
|
|
16
|
+
} from "./location-activity-9ytc8xew.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-activity-qcv725q6.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-activity-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service48;
|
|
46
46
|
const database = yield* Service83;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service44;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service48;
|
|
78
|
+
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service44;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,65 +1,65 @@
|
|
|
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
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-csf2jhsg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./location-activity-1d2ep7ra.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-ts2x07a1.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-1696f2f2.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-activity-pkp7htqy.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-activity-4b7v3k4y.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-activity-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-activity-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
305
305
|
const state = create3({
|
|
@@ -377,7 +377,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service12.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node14 = makeLocationNode({
|
|
619
|
+
service: Service12,
|
|
620
620
|
layer: layer7,
|
|
621
|
-
deps: [
|
|
621
|
+
deps: [node86, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-mkvt91jd.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-ce4f9bke.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./location-activity-8xbyqt4m.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node82
|
|
15
|
+
} from "./location-activity-f50jd1y7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-aamtrqep.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info30,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID14 = ID15;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID14
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service78;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID14.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event18.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID14.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID14.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID14.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID14.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service77.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node81 = makeGlobalNode({
|
|
276
|
+
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node82, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID14, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
node71
|
|
7
|
+
} from "./location-activity-1w2hbx1g.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service42,
|
|
17
|
+
node: () => node46,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service42 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service68;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service42.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node46 = makeLocationNode({ service: Service42, layer, deps: [node71] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service42, readText2, syncTextBom2, node46, exports_file_mutation };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-ce4f9bke.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./location-activity-8xbyqt4m.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-1d2ep7ra.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service60,
|
|
21
|
+
node63
|
|
22
|
+
} from "./location-activity-nsxrn5pp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service19,
|
|
25
|
+
node22
|
|
26
|
+
} from "./location-activity-t2z8k6jd.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service8,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service8 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer5 = Layer.effect(Service8, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service19;
|
|
65
|
+
const store = yield* Service60;
|
|
66
66
|
const db = (yield* Service83).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service8.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node10 = makeLocationNode({
|
|
151
|
+
service: Service8,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node86, llmClient2, node22, node63, node87]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service8, isUntitled2, layer5, node10, exports_title };
|