@opencode/core 0.0.0-dev-19933 → 0.0.0-dev-19934
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 +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +89 -89
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-services-06dxphr1.js → persistent-pty-06dxphr1.js} +1 -1
- package/dist/chunks/{location-services-41rx6xpw.js → persistent-pty-0akym11d.js} +16 -16
- package/dist/chunks/{location-services-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/{location-services-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-2h0n3pvm.js → persistent-pty-0rqdjtcb.js} +4 -4
- package/dist/chunks/{location-services-0rj48pfy.js → persistent-pty-0zkrmmra.js} +13 -13
- package/dist/chunks/{location-services-vyxpt3wn.js → persistent-pty-13f6jh0f.js} +25 -25
- package/dist/chunks/{location-services-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-sbgaavdd.js → persistent-pty-1ev3hptz.js} +13 -13
- package/dist/chunks/{location-services-sa4w9a46.js → persistent-pty-1g2zd6q9.js} +1 -1
- package/dist/chunks/{location-services-e1pavmxr.js → persistent-pty-1p0trksj.js} +8 -8
- package/dist/chunks/{location-services-qa03ng1b.js → persistent-pty-1w7qre35.js} +32 -32
- package/dist/chunks/{location-services-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-8scdvrd9.js → persistent-pty-26v7198b.js} +25 -25
- package/dist/chunks/{location-services-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-s12geb02.js → persistent-pty-2gbsvbx5.js} +12 -12
- package/dist/chunks/{location-services-14ejk6kr.js → persistent-pty-2hsgj57k.js} +15 -15
- package/dist/chunks/{location-services-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-yaarn63p.js → persistent-pty-2rnnjxth.js} +7 -7
- package/dist/chunks/{location-services-avzbvtge.js → persistent-pty-2wzrjk5c.js} +30 -30
- package/dist/chunks/{location-services-3ykzfd22.js → persistent-pty-2y34zzjz.js} +9 -9
- package/dist/chunks/{location-services-54v9494h.js → persistent-pty-2ym62d1y.js} +1 -1
- package/dist/chunks/{location-services-jewzahs7.js → persistent-pty-3ewed21c.js} +4 -4
- package/dist/chunks/{location-services-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-n61zs1tf.js → persistent-pty-3fs6smyb.js} +11 -11
- package/dist/chunks/{location-services-nfwd4y0h.js → persistent-pty-3gs18der.js} +19 -19
- package/dist/chunks/{location-services-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-evbgk2k8.js → persistent-pty-3w0fmcng.js} +5 -5
- package/dist/chunks/{location-services-nha1rwb4.js → persistent-pty-4113bgx8.js} +8 -8
- package/dist/chunks/{location-services-g0brck71.js → persistent-pty-41ssmn02.js} +86 -86
- package/dist/chunks/{location-services-tj6ctq7t.js → persistent-pty-431eg44t.js} +10 -10
- package/dist/chunks/{location-services-k9kj6xed.js → persistent-pty-44ke2mar.js} +6 -6
- package/dist/chunks/{location-services-egwaa4j7.js → persistent-pty-4acetgwp.js} +2 -2
- package/dist/chunks/{location-services-gj3qr3g2.js → persistent-pty-4e13r3ts.js} +16 -16
- package/dist/chunks/{location-services-s0aexzn2.js → persistent-pty-4kg54np8.js} +16 -16
- package/dist/chunks/{location-services-xaf9sk1m.js → persistent-pty-4pxrwfad.js} +21 -21
- package/dist/chunks/{location-services-amsysvbs.js → persistent-pty-4vdcjjmt.js} +11 -11
- package/dist/chunks/{location-services-xn4a2vfg.js → persistent-pty-4yy5d4qw.js} +1 -1
- package/dist/chunks/{location-services-sns0d4xz.js → persistent-pty-4z7tbtat.js} +4 -4
- package/dist/chunks/{location-services-8djvvjxb.js → persistent-pty-5531r29v.js} +19 -19
- package/dist/chunks/{location-services-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-services-q65ygsy9.js → persistent-pty-57sn279e.js} +10 -10
- package/dist/chunks/{location-services-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{location-services-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-5b2n9wtc.js → persistent-pty-5dbxvay1.js} +26 -26
- package/dist/chunks/{location-services-f4mmxbf4.js → persistent-pty-5h8807ma.js} +14 -14
- package/dist/chunks/persistent-pty-5kmakpsy.js +492 -0
- package/dist/chunks/{location-services-3b7ncy0a.js → persistent-pty-5rfwsh5d.js} +3 -3
- package/dist/chunks/{location-services-qeseq2md.js → persistent-pty-5rt7pep6.js} +3 -3
- package/dist/chunks/{location-services-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-sxa34a4z.js → persistent-pty-61h0qsnp.js} +12 -12
- package/dist/chunks/{location-services-shyynm3y.js → persistent-pty-63mpdmm6.js} +30 -30
- package/dist/chunks/{location-services-ahk5atfs.js → persistent-pty-65w3833t.js} +12 -12
- package/dist/chunks/{location-services-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{location-services-agp03ejd.js → persistent-pty-68tggvtb.js} +9 -9
- package/dist/chunks/{location-services-1r1dat18.js → persistent-pty-69cccy7z.js} +15 -15
- package/dist/chunks/{location-services-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-h2r7bbkd.js → persistent-pty-6n88yxkj.js} +8 -8
- package/dist/chunks/{location-services-p26b5pq5.js → persistent-pty-6p5ms1em.js} +22 -22
- package/dist/chunks/{location-services-mv2f6kph.js → persistent-pty-6p7zr8ep.js} +14 -14
- package/dist/chunks/{location-services-k4e92dms.js → persistent-pty-6tr59r50.js} +9 -9
- package/dist/chunks/{location-services-nt0s1zvs.js → persistent-pty-6vrsc7tt.js} +18 -18
- package/dist/chunks/{location-services-den0y6mq.js → persistent-pty-6yh2fsej.js} +11 -11
- package/dist/chunks/{location-services-pccv5wmk.js → persistent-pty-6zthmp17.js} +30 -30
- package/dist/chunks/{location-services-r99kzjq4.js → persistent-pty-71vt42kc.js} +3 -3
- package/dist/chunks/{location-services-6pbst28s.js → persistent-pty-74fmk9vn.js} +12 -12
- package/dist/chunks/{location-services-wxjeszww.js → persistent-pty-75q2ps1k.js} +1 -1
- package/dist/chunks/{location-services-padsqcqg.js → persistent-pty-78b8afjy.js} +11 -11
- package/dist/chunks/{location-services-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-0drgwj0w.js → persistent-pty-7fmgbjr3.js} +9 -9
- package/dist/chunks/{location-services-e6hf2w1z.js → persistent-pty-7s8gb34t.js} +30 -30
- package/dist/chunks/{location-services-aq066r76.js → persistent-pty-82ahnwkf.js} +17 -17
- package/dist/chunks/{location-services-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-5rsnc0wz.js → persistent-pty-8hz3g5y0.js} +18 -18
- package/dist/chunks/{location-services-g9jp0y5t.js → persistent-pty-8y3s9r1h.js} +6 -6
- package/dist/chunks/{location-services-e0b31sa2.js → persistent-pty-90y57r1y.js} +6 -6
- package/dist/chunks/{location-services-01saf27s.js → persistent-pty-92xv3hjf.js} +18 -18
- package/dist/chunks/{location-services-zzrsh38e.js → persistent-pty-9c77jpjf.js} +1 -1
- package/dist/chunks/{location-services-fqhbsnr5.js → persistent-pty-9ex8f1cq.js} +8 -8
- package/dist/chunks/{location-services-vwf963ta.js → persistent-pty-9h0hyds4.js} +17 -17
- package/dist/chunks/{location-services-6ehegarm.js → persistent-pty-9tx45s8b.js} +27 -27
- package/dist/chunks/{location-services-9kmbd9mt.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/persistent-pty-a7qcy6v8.js +26 -0
- package/dist/chunks/{location-services-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-hx5ww8wt.js → persistent-pty-ab8cnxkj.js} +5 -5
- package/dist/chunks/{location-services-x8ebxbs7.js → persistent-pty-aba8dj31.js} +11 -11
- package/dist/chunks/{location-services-xwnqybcm.js → persistent-pty-ace40s22.js} +7 -7
- package/dist/chunks/{location-services-ddt2bs9e.js → persistent-pty-afdssyjb.js} +4 -4
- package/dist/chunks/{location-services-qa3qhgw8.js → persistent-pty-b27vhd2z.js} +4 -4
- package/dist/chunks/{location-services-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-7kesnrr4.js → persistent-pty-b7r080c3.js} +10 -10
- package/dist/chunks/{location-services-qvk8q52w.js → persistent-pty-bmcyf7gj.js} +20 -20
- package/dist/chunks/{location-services-3akw3t53.js → persistent-pty-bph3v013.js} +16 -16
- package/dist/chunks/{location-services-br0tr5aq.js → persistent-pty-br0tr5aq.js} +1 -1
- package/dist/chunks/{location-services-hgnyvvad.js → persistent-pty-brg56pc6.js} +23 -23
- package/dist/chunks/{location-services-88pzrjvm.js → persistent-pty-bsgfsq91.js} +14 -14
- package/dist/chunks/{location-services-g4e5a8px.js → persistent-pty-btpphd88.js} +22 -22
- package/dist/chunks/{location-services-bz85s9hh.js → persistent-pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{location-services-reqnm6dy.js → persistent-pty-cdq49ytp.js} +25 -25
- package/dist/chunks/{location-services-zdt4b259.js → persistent-pty-cv5frkqy.js} +1 -1
- package/dist/chunks/{location-services-ajqzprg7.js → persistent-pty-cwtvnkts.js} +8 -8
- package/dist/chunks/{location-services-jh1by5q0.js → persistent-pty-d0fsejzd.js} +32 -32
- package/dist/chunks/{location-services-d4he2qe1.js → persistent-pty-d4he2qe1.js} +2 -2
- package/dist/chunks/{location-services-3smbx4tg.js → persistent-pty-de5mzfxd.js} +29 -29
- package/dist/chunks/{location-services-v9wys9g0.js → persistent-pty-deq2z4hf.js} +3 -3
- package/dist/chunks/{location-services-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-services-hpeaj78a.js → persistent-pty-dk2em0p3.js} +8 -8
- package/dist/chunks/{location-services-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
- package/dist/chunks/{location-services-mbvw0189.js → persistent-pty-e84rd1xk.js} +14 -14
- package/dist/chunks/{location-services-0ryd0fps.js → persistent-pty-e8qyrgb1.js} +5 -5
- package/dist/chunks/{location-services-rhjbct0v.js → persistent-pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-services-qmkefe1x.js → persistent-pty-edwvx061.js} +4 -4
- package/dist/chunks/{location-services-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-ca10maaz.js → persistent-pty-encztx8n.js} +28 -28
- package/dist/chunks/{location-services-cc1yeevh.js → persistent-pty-epqb7qpy.js} +3 -3
- package/dist/chunks/{location-services-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-services-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-xp73bz4m.js → persistent-pty-ffw5jcp2.js} +20 -20
- package/dist/chunks/{location-services-qcx6v6fb.js → persistent-pty-fr9ym6sp.js} +27 -27
- package/dist/chunks/{location-services-nzbxqn7q.js → persistent-pty-fsy2n4n3.js} +9 -9
- package/dist/chunks/{location-services-rph3zd4r.js → persistent-pty-fvanntqq.js} +6 -6
- package/dist/chunks/{location-services-cxhh1rn6.js → persistent-pty-fwft7q1r.js} +3 -3
- package/dist/chunks/{location-services-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-jtzqzwva.js → persistent-pty-gb9jw3zf.js} +6 -6
- package/dist/chunks/{location-services-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/persistent-pty-gfx0waae.js +252 -0
- package/dist/chunks/{location-services-hc7n3jk5.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{location-services-3vrsxnng.js → persistent-pty-grhxn6he.js} +22 -22
- package/dist/chunks/{location-services-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-j6amyfha.js → persistent-pty-gxr7q3nf.js} +18 -18
- package/dist/chunks/{location-services-5wna4smh.js → persistent-pty-h4eh15d6.js} +20 -20
- package/dist/chunks/{location-services-p7nsp59h.js → persistent-pty-h6jr292a.js} +4 -4
- package/dist/chunks/{location-services-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-services-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-services-hqxaqnsz.js → persistent-pty-hds23wzw.js} +11 -11
- package/dist/chunks/{location-services-p74jqh8w.js → persistent-pty-hmp6wt3x.js} +11 -11
- package/dist/chunks/{location-services-qgx1rdqs.js → persistent-pty-hnac9jpe.js} +13 -13
- package/dist/chunks/{location-services-bj7tvmw6.js → persistent-pty-hq654dja.js} +25 -25
- package/dist/chunks/{location-services-fkv5dgng.js → persistent-pty-hv2snex1.js} +14 -14
- package/dist/chunks/{location-services-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-h71w788e.js → persistent-pty-j58c5xyq.js} +9 -9
- package/dist/chunks/{location-services-npedgy9w.js → persistent-pty-j9vp638d.js} +39 -39
- package/dist/chunks/{location-services-1z8qb3ex.js → persistent-pty-jcz9anth.js} +47 -47
- package/dist/chunks/{location-services-byqm21fr.js → persistent-pty-jdvrzx2t.js} +20 -20
- package/dist/chunks/{location-services-mf9m2v67.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{location-services-mhjr3rfr.js → persistent-pty-jfcm29bp.js} +4 -4
- package/dist/chunks/{location-services-4ths69c4.js → persistent-pty-jpxb4059.js} +11 -11
- package/dist/chunks/{location-services-qjhg5syr.js → persistent-pty-jsqr29s7.js} +16 -16
- package/dist/chunks/{location-services-k1h24f7j.js → persistent-pty-jsx9wcxe.js} +2 -2
- package/dist/chunks/{location-services-yxww1zge.js → persistent-pty-jtwa0aj6.js} +11 -11
- package/dist/chunks/{location-services-veab9ysh.js → persistent-pty-jzphxtev.js} +8 -8
- package/dist/chunks/{location-services-qby9dwvd.js → persistent-pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{location-services-jw80jp6b.js → persistent-pty-k2h4r4s0.js} +4 -4
- package/dist/chunks/{location-services-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{location-services-smn8w5fw.js → persistent-pty-k6w2t1ya.js} +4 -4
- package/dist/chunks/{location-services-w30j99fm.js → persistent-pty-kfgf5fep.js} +19 -19
- package/dist/chunks/{location-services-jk7fjn0h.js → persistent-pty-kftvnv3j.js} +14 -14
- package/dist/chunks/{location-services-wvepaptn.js → persistent-pty-kkzayper.js} +30 -30
- package/dist/chunks/{location-services-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-services-pnv527nz.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-services-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-heepps64.js → persistent-pty-mbgq0mmx.js} +4 -4
- package/dist/chunks/{location-services-hzzsfrh9.js → persistent-pty-mfs5sj5t.js} +6 -6
- package/dist/chunks/{location-services-cjwramev.js → persistent-pty-mg83pbjr.js} +8 -8
- package/dist/chunks/{location-services-y9ksa81c.js → persistent-pty-mmmrdbr8.js} +11 -11
- package/dist/chunks/{location-services-c3nq68wy.js → persistent-pty-mnaz46m9.js} +76 -76
- package/dist/chunks/{location-services-mvfsc1pv.js → persistent-pty-mvfsc1pv.js} +1 -1
- package/dist/chunks/{location-services-dnnw2ag8.js → persistent-pty-n2eg1d0h.js} +18 -18
- package/dist/chunks/{location-services-p435d5mj.js → persistent-pty-n36xcpgr.js} +5 -5
- package/dist/chunks/{location-services-cnxm6v10.js → persistent-pty-n4j23rry.js} +2 -2
- package/dist/chunks/{location-services-zwb7d1wn.js → persistent-pty-nm55ymfc.js} +25 -25
- package/dist/chunks/{location-services-y35sf2j4.js → persistent-pty-nqyhrfcc.js} +4 -4
- package/dist/chunks/{location-services-avymfndx.js → persistent-pty-nyacxbzj.js} +40 -40
- package/dist/chunks/{location-services-dndbn6tq.js → persistent-pty-p0h2c1j9.js} +12 -12
- package/dist/chunks/{location-services-0gsvpvz9.js → persistent-pty-p3x7gx7a.js} +23 -23
- package/dist/chunks/{location-services-wm5dzp9x.js → persistent-pty-p4a5cx5p.js} +14 -14
- package/dist/chunks/{location-services-35jdh5gh.js → persistent-pty-p513dnzd.js} +106 -106
- package/dist/chunks/{location-services-5s3efz6b.js → persistent-pty-p52j3anj.js} +42 -42
- package/dist/chunks/{location-services-qpbc7zwf.js → persistent-pty-p84dsdfh.js} +8 -8
- package/dist/chunks/{location-services-6n4b0dsb.js → persistent-pty-patgj9rf.js} +9 -9
- package/dist/chunks/{location-services-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-csx807mm.js → persistent-pty-q3j5ebgq.js} +19 -19
- package/dist/chunks/{location-services-txs978d1.js → persistent-pty-q8pxfdwq.js} +4 -4
- package/dist/chunks/{location-services-pck9b22e.js → persistent-pty-qc5y93g2.js} +25 -25
- package/dist/chunks/{location-services-a2dxn8dm.js → persistent-pty-qdwxcfza.js} +9 -9
- package/dist/chunks/{location-services-qn4ba14w.js → persistent-pty-qn4ba14w.js} +2 -2
- package/dist/chunks/{location-services-gxmtjddh.js → persistent-pty-qr405v0d.js} +5 -5
- package/dist/chunks/{location-services-2xk65d5p.js → persistent-pty-qryrftmh.js} +36 -36
- package/dist/chunks/{location-services-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-zyj38zv2.js → persistent-pty-qsx6xwjc.js} +24 -24
- package/dist/chunks/{location-services-dvz5qkvp.js → persistent-pty-qt5mdn6g.js} +6 -6
- package/dist/chunks/{location-services-ct491mk2.js → persistent-pty-qw85ht6d.js} +31 -31
- package/dist/chunks/{location-services-15ykkz21.js → persistent-pty-r2a07nrz.js} +10 -10
- package/dist/chunks/{location-services-nfgkmr26.js → persistent-pty-r2w5wzr7.js} +13 -13
- package/dist/chunks/{location-services-8jwr28ks.js → persistent-pty-r449bwkw.js} +8 -8
- package/dist/chunks/{location-services-vfw0v6d8.js → persistent-pty-r4wc6fxm.js} +5 -5
- package/dist/chunks/{location-services-13gzpw2v.js → persistent-pty-r5zvm12r.js} +2 -2
- package/dist/chunks/{location-services-n5vz0cry.js → persistent-pty-r72bb3g5.js} +3 -3
- package/dist/chunks/{location-services-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-yp2x3t23.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{location-services-hw0dh7gd.js → persistent-pty-rr6jacvf.js} +34 -34
- package/dist/chunks/{location-services-5p2kwt9x.js → persistent-pty-rvt9ga0f.js} +21 -21
- package/dist/chunks/{location-services-1gd24jtv.js → persistent-pty-rya495mf.js} +11 -11
- package/dist/chunks/{location-services-1t9ytmqw.js → persistent-pty-s4b84khr.js} +9 -9
- package/dist/chunks/{location-services-bnq2yade.js → persistent-pty-s4mb84p1.js} +36 -36
- package/dist/chunks/{location-services-6fp3x2e4.js → persistent-pty-s83kg3p0.js} +15 -15
- package/dist/chunks/{location-services-gkkm038p.js → persistent-pty-s8cev9wy.js} +14 -14
- package/dist/chunks/{location-services-7jr5wnf4.js → persistent-pty-s9ax1raf.js} +33 -33
- package/dist/chunks/{location-services-wz3jkm9t.js → persistent-pty-sqdxss6w.js} +11 -11
- package/dist/chunks/{location-services-bpyqak8g.js → persistent-pty-sxn79y37.js} +9 -9
- package/dist/chunks/{location-services-gcc43v15.js → persistent-pty-sz24j28z.js} +17 -17
- package/dist/chunks/{location-services-k75p7jbd.js → persistent-pty-t4nhm12y.js} +14 -14
- package/dist/chunks/{location-services-1nwxscpy.js → persistent-pty-t71v2ka4.js} +5 -5
- package/dist/chunks/{location-services-qr7n58p5.js → persistent-pty-t808dn5w.js} +27 -27
- package/dist/chunks/{location-services-b1160vm0.js → persistent-pty-ta417yjh.js} +18 -18
- package/dist/chunks/{location-services-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-88zcg80h.js → persistent-pty-tbgyadps.js} +8 -8
- package/dist/chunks/{location-services-p28j5sbe.js → persistent-pty-tbz0fdvh.js} +5 -5
- package/dist/chunks/{location-services-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-cphcvfjg.js → persistent-pty-td55jj2j.js} +14 -14
- package/dist/chunks/{location-services-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-jhf3jymm.js → persistent-pty-tegs1ycp.js} +6 -6
- package/dist/chunks/{location-services-66qy9qj4.js → persistent-pty-tfxzrdmk.js} +13 -13
- package/dist/chunks/{location-services-6v9pdapk.js → persistent-pty-tnasdg6y.js} +31 -31
- package/dist/chunks/{location-services-97y1acd2.js → persistent-pty-tvc0b3mj.js} +10 -10
- package/dist/chunks/{location-services-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-5tsc8w82.js → persistent-pty-tvtydw96.js} +38 -38
- package/dist/chunks/{location-services-smsg9td2.js → persistent-pty-twca9fjq.js} +7 -7
- package/dist/chunks/{location-services-ktbvhxdy.js → persistent-pty-v4px02z6.js} +25 -25
- package/dist/chunks/{location-services-f07eqm4g.js → persistent-pty-va45f1s8.js} +30 -30
- package/dist/chunks/{location-services-swz3aexg.js → persistent-pty-vcdb3gbk.js} +1 -1
- package/dist/chunks/{location-services-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-9466nf0f.js → persistent-pty-vg6ckggx.js} +64 -64
- package/dist/chunks/{location-services-nea05py3.js → persistent-pty-vmnj2x1v.js} +13 -13
- package/dist/chunks/{location-services-ve4pfa0n.js → persistent-pty-vncycja5.js} +4 -4
- package/dist/chunks/{location-services-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-d3s8x8d0.js → persistent-pty-w18y63wv.js} +24 -24
- package/dist/chunks/{location-services-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-3x2ckdv1.js → persistent-pty-w65z2jz3.js} +8 -8
- package/dist/chunks/{location-services-wqjxr3aq.js → persistent-pty-w6qqzf7t.js} +2 -2
- package/dist/chunks/{location-services-43d6ch47.js → persistent-pty-wayd1cz3.js} +11 -11
- package/dist/chunks/{location-services-nfh8hxhr.js → persistent-pty-wcycnpg6.js} +11 -11
- package/dist/chunks/{location-services-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-3pb9af0k.js → persistent-pty-wk2ay995.js} +9 -9
- package/dist/chunks/{location-services-b24tsyng.js → persistent-pty-wngp58at.js} +20 -20
- package/dist/chunks/{location-services-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-r4dxhd0k.js → persistent-pty-x38sqvf4.js} +6 -6
- package/dist/chunks/{location-services-7b6mncz0.js → persistent-pty-x5x7kcgs.js} +16 -16
- package/dist/chunks/{location-services-zzzk6brv.js → persistent-pty-xaftkv44.js} +52 -52
- package/dist/chunks/{location-services-dgt1zz73.js → persistent-pty-xcjhgh37.js} +6 -6
- package/dist/chunks/{location-services-7d60y72p.js → persistent-pty-xcrk435t.js} +18 -18
- package/dist/chunks/{location-services-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{location-services-5v7ahtzb.js → persistent-pty-xjbekv6e.js} +28 -28
- package/dist/chunks/{location-services-91ww8zqm.js → persistent-pty-xjebcb6c.js} +7 -7
- package/dist/chunks/{location-services-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-97fmyryk.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{location-services-tr93dsz8.js → persistent-pty-yppwdz7t.js} +9 -9
- package/dist/chunks/{location-services-btetab1a.js → persistent-pty-yqz4sd6t.js} +5 -5
- package/dist/chunks/{location-services-fj726280.js → persistent-pty-yr8p71ks.js} +14 -14
- package/dist/chunks/{location-services-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-rvt91he9.js → persistent-pty-ysfwx83j.js} +8 -8
- package/dist/chunks/{location-services-7gvwkz6m.js → persistent-pty-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-services-vk1pnjq9.js → persistent-pty-ytpw4txd.js} +11 -11
- package/dist/chunks/{location-services-s3e3s6xq.js → persistent-pty-ytqvkck2.js} +5 -5
- package/dist/chunks/{location-services-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-3yy68sra.js → persistent-pty-z52a6mw5.js} +15 -15
- package/dist/chunks/{location-services-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-zb1czzx9.js → persistent-pty-ze9ygk7z.js} +11 -11
- package/dist/chunks/{location-services-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-hyvan7kf.js → persistent-pty-zq3sp2de.js} +29 -29
- package/dist/chunks/{location-services-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-1ddyqjqr.js → persistent-pty-zsphfh87.js} +16 -16
- package/dist/chunks/{location-services-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +87 -87
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +119 -119
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- 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 +78 -78
- 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 +91 -91
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +105 -105
- 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 +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +74 -74
- 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 +93 -93
- package/dist/model.js +91 -91
- package/dist/models-dev.js +100 -100
- 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 +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +1 -1
- 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 +119 -119
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +90 -90
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- 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 +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +4 -4
- 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 +1 -1
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- 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 +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +84 -84
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-services-1rx1b2j9.js +0 -492
- package/dist/chunks/location-services-4v7qdvcn.js +0 -18
- package/dist/chunks/location-services-mg5wag8c.js +0 -252
- package/dist/chunks/location-services-z8f6hzd1.js +0 -26
- /package/dist/chunks/{location-services-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./persistent-pty-hmp6wt3x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./persistent-pty-4e13r3ts.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./persistent-pty-tegs1ycp.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,38 +20,38 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-ybhbtxjg.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service64
|
|
29
|
+
} from "./persistent-pty-x5x7kcgs.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service59
|
|
34
|
+
} from "./persistent-pty-2wzrjk5c.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service57
|
|
37
|
+
} from "./persistent-pty-p52j3anj.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./persistent-pty-0akym11d.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./persistent-pty-v4px02z6.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./persistent-pty-yppwdz7t.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./persistent-pty-s4b84khr.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,12 +63,12 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
66
|
+
const bus = yield* Service82;
|
|
67
|
+
const database = yield* Service83;
|
|
68
|
+
const store = yield* Service64;
|
|
69
|
+
const instances = yield* Service60;
|
|
70
|
+
const execution = yield* Service57;
|
|
71
|
+
const admission = yield* Service59;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service60, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service60, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service60, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service82, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-n4j23rry.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service44,
|
|
10
|
+
node48
|
|
11
|
+
} from "./persistent-pty-6vrsc7tt.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service36,
|
|
26
|
+
configured: () => configured5,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer15,
|
|
29
|
+
node: () => node40,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service36 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service36, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service78;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service44;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service36.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service36, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service36.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service36.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer15 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service78;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured5(options) {
|
|
186
|
+
return makeLocationNode({ service: Service36, layer: layer15(options), deps: [node82, node48] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node40 = configured5();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service36, ripgrepLayer2, fffLayer2, layer15, configured5, node40, exports_search };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service49,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service49 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service49.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node53 = makeLocationNode({
|
|
143
|
+
service: Service49,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node53, exports_tool_output2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./persistent-pty-4e13r3ts.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
11
|
Service75,
|
|
12
12
|
node79,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Event17
|
|
14
|
+
} from "./persistent-pty-jsqr29s7.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
20
|
node82
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-n4j23rry.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,7 +37,7 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
40
|
+
Event: () => Event16,
|
|
41
41
|
ID: () => ID13,
|
|
42
42
|
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
@@ -64,7 +64,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
67
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
68
68
|
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -226,7 +226,7 @@ function index(providerID, models) {
|
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
228
|
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
229
|
-
const bus = yield*
|
|
229
|
+
const bus = yield* Service82;
|
|
230
230
|
const integrations = yield* Service75;
|
|
231
231
|
const location = yield* Service78;
|
|
232
232
|
const state = create3({
|
|
@@ -346,7 +346,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
349
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
350
|
return Service74.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var node78 = makeLocationNode({ service: Service74, layer, deps: [
|
|
359
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node86, node79, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node78, exports_provider3,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node78, exports_provider3, Event16 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./persistent-pty-rr6jacvf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin45 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin46, exports_warming };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-hmp6wt3x.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./persistent-pty-4e13r3ts.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-jexxy024.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info21,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer22,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node63,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info21,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service59 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info21.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer22 = Layer.effect(Service59, make18());
|
|
231
|
+
var node63 = makeGlobalNode({ service: Service59, layer: layer22, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service59, make18, layer22, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|