@opencode/core 2.0.2 → 2.0.4
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 +80 -80
- package/dist/aisdk-native.js +92 -4
- package/dist/aisdk.js +93 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-services-ccxa221s.js → location-0cchtpr4.js} +10 -10
- package/dist/chunks/{location-services-fme7gyv2.js → location-0ekdksbx.js} +27 -27
- package/dist/chunks/{location-services-9q7w8qe9.js → location-0g8qpgb7.js} +5 -5
- package/dist/chunks/{location-services-pqxmvtn6.js → location-0n6bmg1f.js} +15 -15
- package/dist/chunks/{location-services-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/location-15k3fnp5.js +478 -0
- package/dist/chunks/{location-services-yd6mkx5z.js → location-16fm13tn.js} +5 -5
- package/dist/chunks/{location-services-1acjjqhc.js → location-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-services-b3frasm9.js → location-1ajyz94d.js} +11 -11
- package/dist/chunks/{location-services-r986sde3.js → location-1bc7s31c.js} +17 -17
- package/dist/chunks/{location-services-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-3hrj6hc1.js → location-1e34zb65.js} +25 -25
- package/dist/chunks/location-1gfezbxs.js +610 -0
- package/dist/chunks/location-1pjkgqc1.js +76 -0
- package/dist/chunks/{location-services-jxnawz51.js → location-2073epbj.js} +9 -9
- package/dist/chunks/{location-services-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-70d2s7af.js → location-24dcb14g.js} +4 -11
- package/dist/chunks/{location-services-8ztsynak.js → location-26vh48er.js} +10 -10
- package/dist/chunks/{location-services-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-r4p7g342.js → location-2cg15w2x.js} +13 -13
- package/dist/chunks/{location-services-y5r1chhz.js → location-2h5hbqz0.js} +8 -8
- package/dist/chunks/{location-services-fkbdwje6.js → location-2jfw170m.js} +18 -18
- package/dist/chunks/{location-services-9yz08dhv.js → location-2qbra9xj.js} +36 -30
- package/dist/chunks/{location-services-615073jg.js → location-2y4tf7d9.js} +6 -6
- package/dist/chunks/{location-services-3w0fmcng.js → location-37s12vcn.js} +5 -5
- package/dist/chunks/{location-services-n5xg6qpj.js → location-3egkyh9x.js} +14 -11
- package/dist/chunks/{location-services-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/location-41h561sc.js +39 -0
- package/dist/chunks/{location-services-tx9qvpbt.js → location-44ke2mar.js} +5 -5
- package/dist/chunks/{location-services-j7t2khjb.js → location-485fr60v.js} +9 -9
- package/dist/chunks/{location-services-t9wdc6hm.js → location-4gbwy2e3.js} +7 -7
- package/dist/chunks/{location-services-k46ek28k.js → location-4gw20jm7.js} +11 -11
- package/dist/chunks/{location-services-a8kyr2x4.js → location-4kqwnkpq.js} +11 -11
- package/dist/chunks/location-4ndgv5gc.js +97 -0
- package/dist/chunks/{location-services-0mt0kscd.js → location-4pdtgr8m.js} +29 -29
- package/dist/chunks/{location-services-8qgkpww5.js → location-4q5m965g.js} +9 -9
- package/dist/chunks/{location-services-5adankya.js → location-4v7ac2af.js} +31 -28
- package/dist/chunks/{location-services-7fyj755m.js → location-4wv5y4sh.js} +103 -111
- package/dist/chunks/{location-services-n9qvx0dx.js → location-4y7mzcta.js} +32 -31
- package/dist/chunks/{location-services-pvdm847m.js → location-4zwsjqnv.js} +36 -35
- package/dist/chunks/{location-services-vbjhd26x.js → location-53nms1ph.js} +41 -38
- package/dist/chunks/{location-services-kke3pb1j.js → location-54nm7ze4.js} +17 -17
- package/dist/chunks/{location-services-nvksyjxq.js → location-55rvc5qv.js} +20 -20
- package/dist/chunks/{location-services-33w4ejhs.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-services-rsym84ch.js → location-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-services-paegk39x.js → location-5c0f1prt.js} +4 -4
- package/dist/chunks/{location-services-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-1a66p2eq.js → location-5f0yx823.js} +64 -43
- package/dist/chunks/{location-services-paphc93g.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-1m7gs3ah.js → location-5x09agpp.js} +95 -294
- package/dist/chunks/{location-services-0jwsre1p.js → location-607tc6va.js} +5 -5
- package/dist/chunks/{location-services-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{location-services-6h73sxmp.js → location-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-services-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-t1y5sq03.js → location-6qx63egk.js} +91 -90
- package/dist/chunks/{location-services-t6wppts7.js → location-6xbxg5de.js} +6 -6
- package/dist/chunks/{location-services-03g9n59p.js → location-6yk9v5a8.js} +4 -4
- package/dist/chunks/{location-services-8pysh2wa.js → location-71yarwtx.js} +4 -4
- package/dist/chunks/{location-services-tnrzkm65.js → location-71zsbp9a.js} +20 -20
- package/dist/chunks/{location-services-nsme3wtk.js → location-72ewdht9.js} +25 -25
- package/dist/chunks/{location-services-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-z4fsc67a.js → location-7cgd0b8x.js} +18 -18
- package/dist/chunks/{location-services-ghv2730f.js → location-7d92myjq.js} +46 -43
- package/dist/chunks/{location-services-j7wq2tw5.js → location-7w99qc9d.js} +3 -3
- package/dist/chunks/{location-services-fe7neb4g.js → location-7x9k4znd.js} +52 -52
- package/dist/chunks/{location-services-e7vk223c.js → location-7yhrjmqc.js} +27 -27
- package/dist/chunks/{location-services-a5nry4jq.js → location-80pk4fcb.js} +5 -5
- package/dist/chunks/{location-services-h2r7bbkd.js → location-818pfwc9.js} +8 -8
- package/dist/chunks/{location-services-x0mzf5sc.js → location-84fnhy9b.js} +17 -17
- package/dist/chunks/{location-services-tcezcvh9.js → location-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-endx0wqw.js → location-8n64cbn2.js} +2 -2
- package/dist/chunks/{location-services-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-sas8pg5s.js → location-8qwcecfd.js} +1 -1
- package/dist/chunks/{location-services-0artwwxx.js → location-9ar5c0cq.js} +7 -11
- package/dist/chunks/{location-services-542ghrza.js → location-9djwnjxj.js} +48 -48
- package/dist/chunks/{location-services-34cjg5aj.js → location-9e4sgp44.js} +19 -11
- package/dist/chunks/{location-services-0pb75hch.js → location-9ykb5v1y.js} +24 -27
- package/dist/chunks/{location-services-7gvwkz6m.js → location-a1a50ys5.js} +5 -5
- package/dist/chunks/{location-services-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-rmmsmjb4.js → location-a6ntkr4w.js} +4 -4
- package/dist/chunks/location-a8d2vvnh.js +500 -0
- package/dist/chunks/{location-services-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-nwd6ekzm.js → location-aqxshtk7.js} +36 -36
- package/dist/chunks/location-az2ykr48.js +26 -0
- package/dist/chunks/{location-services-x8f1tbsj.js → location-b1ppdmtk.js} +39 -26
- package/dist/chunks/{location-services-xd2p8b6x.js → location-b6f6n79x.js} +16 -13
- package/dist/chunks/{location-services-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-rh0bdmv0.js → location-bccdc2z8.js} +21 -20
- package/dist/chunks/{location-services-r9x9035c.js → location-bd0ss37q.js} +24 -20
- package/dist/chunks/{location-services-1s3p39g4.js → location-bjs2yq5f.js} +6 -6
- package/dist/chunks/{location-services-wv08tht3.js → location-bkpqdbf1.js} +28 -28
- package/dist/chunks/{location-services-sng378jj.js → location-bwan06ag.js} +11 -11
- package/dist/chunks/location-by5v678g.js +18 -0
- package/dist/chunks/{location-services-j26kwb45.js → location-c488s98d.js} +70 -57
- package/dist/chunks/{location-services-xwwz9aqf.js → location-c5gn303e.js} +4 -4
- package/dist/chunks/{location-services-wajnf5bs.js → location-cdbvkm1j.js} +9 -9
- package/dist/chunks/{location-services-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-5a8my2dm.js → location-cjdwydd7.js} +15 -15
- package/dist/chunks/{location-services-42etq36e.js → location-ckz6mm57.js} +53 -48
- package/dist/chunks/{location-services-15f8axbg.js → location-cshhrmft.js} +18 -18
- package/dist/chunks/{location-services-hyqjefsy.js → location-cwwe0xn7.js} +113 -91
- package/dist/chunks/{location-services-nqntf4eh.js → location-cyt4mzy8.js} +73 -73
- package/dist/chunks/{location-services-9bxfga2g.js → location-czd7j84z.js} +8 -8
- package/dist/chunks/{location-services-mz6ae2yf.js → location-d2tce9ap.js} +4 -4
- package/dist/chunks/{location-services-m9e6zxeh.js → location-d4091zmr.js} +15 -19
- package/dist/chunks/{location-services-qr5f7037.js → location-d4h3m1fk.js} +23 -23
- package/dist/chunks/{location-services-t0x5rdq8.js → location-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-services-mjbh00zx.js → location-d6b8948v.js} +9 -15
- package/dist/chunks/{location-services-948cxjmy.js → location-dc94v6gx.js} +31 -28
- package/dist/chunks/{location-services-2hf86re2.js → location-e4z3td0h.js} +48 -49
- package/dist/chunks/{location-services-yj94a1d5.js → location-e8xyxekr.js} +47 -47
- package/dist/chunks/{location-services-3qccx5hy.js → location-ed36h9sa.js} +28 -28
- package/dist/chunks/{location-services-vpbqjthg.js → location-eevr0wqz.js} +13 -13
- package/dist/chunks/location-ef5x83kb.js +15 -0
- package/dist/chunks/{location-services-q6fregp6.js → location-ejrd0ctn.js} +5 -5
- package/dist/chunks/{location-services-zvt5dnpc.js → location-embw8kgh.js} +4 -4
- package/dist/chunks/{location-services-wcg6xr7g.js → location-eqa8eaaa.js} +11 -11
- package/dist/chunks/location-eshsynjd.js +237 -0
- package/dist/chunks/{location-services-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-6xpnb31x.js → location-etryyd25.js} +21 -21
- package/dist/chunks/{location-services-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-tbbfetw3.js → location-fb7w7frq.js} +17 -17
- package/dist/chunks/{location-services-b2r28sfe.js → location-fe5yr6he.js} +27 -32
- package/dist/chunks/{location-services-cfq2tqyc.js → location-fkrjvdfc.js} +31 -31
- package/dist/chunks/{location-services-6hh8tjw2.js → location-fqb2p7cx.js} +4 -4
- package/dist/chunks/{location-services-76h67nm5.js → location-fvezrss0.js} +12 -12
- package/dist/chunks/{location-services-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/location-fzkvtrkw.js +63 -0
- package/dist/chunks/{location-services-jw80jp6b.js → location-g190xswt.js} +4 -4
- package/dist/chunks/{location-services-jj63jgrn.js → location-g1sxm558.js} +9 -9
- package/dist/chunks/{location-services-w365kw1b.js → location-g6kf84zp.js} +8 -8
- package/dist/chunks/{location-services-p1qy1t52.js → location-gap281sm.js} +16 -16
- package/dist/chunks/{location-services-htcxsbd3.js → location-gbxnzk38.js} +48 -34
- package/dist/chunks/{location-services-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-ywn91hmh.js → location-ge2f9a94.js} +20 -20
- package/dist/chunks/{location-services-ha8q569c.js → location-genz7rm5.js} +5 -5
- package/dist/chunks/{location-services-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-vgm7d86c.js → location-gvqzdcce.js} +29 -29
- package/dist/chunks/{location-services-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-m91gvp7t.js → location-h6nxw0pd.js} +6 -6
- package/dist/chunks/{location-services-1ewwg606.js → location-h6qd4a95.js} +56 -66
- package/dist/chunks/location-h6r3nrb9.js +24 -0
- package/dist/chunks/{location-services-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-p0a23dx6.js → location-h896pcm5.js} +6 -6
- package/dist/chunks/{location-services-twbrtgyh.js → location-ha607pgt.js} +6 -6
- package/dist/chunks/{location-services-2tfmgkzg.js → location-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-services-d9627bvv.js → location-htqn1cqw.js} +13 -13
- package/dist/chunks/{location-services-bscb95cy.js → location-j311gd59.js} +7 -7
- package/dist/chunks/{location-services-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-cvtmmhw6.js → location-jjkms2e6.js} +4 -11
- package/dist/chunks/{location-services-585kdyqn.js → location-jnj7tv4d.js} +16 -16
- package/dist/chunks/{location-services-97x9kwse.js → location-jpkvw2np.js} +43 -43
- package/dist/chunks/{location-services-4y66k410.js → location-jppvw2tx.js} +13 -6
- package/dist/chunks/{location-services-fx8h9evn.js → location-jrr2ndyj.js} +3 -3
- package/dist/chunks/{location-services-e1m73h80.js → location-k3rr10ns.js} +32 -32
- package/dist/chunks/location-k624arf9.js +38 -0
- package/dist/chunks/{location-services-hajzqnjk.js → location-k74qzmgf.js} +18 -18
- package/dist/chunks/{location-services-qwkytnft.js → location-k9avtbwf.js} +3 -3
- package/dist/chunks/{location-services-bx9k359n.js → location-k9matq9w.js} +15 -15
- package/dist/chunks/{location-services-xfm7bwgx.js → location-kf09gset.js} +19 -19
- package/dist/chunks/{location-services-hkn3d3em.js → location-m3dp0h2h.js} +8 -8
- package/dist/chunks/{location-services-sjzmzw6k.js → location-m8dm7px8.js} +15 -15
- package/dist/chunks/{location-services-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-zk8c4w5t.js → location-ma15yhyh.js} +5 -5
- package/dist/chunks/{location-services-h0e829jw.js → location-me799xqk.js} +34 -38
- package/dist/chunks/{location-services-tqntqbg3.js → location-mf4knkt4.js} +32 -32
- package/dist/chunks/{location-services-cgryk3d0.js → location-mg9k7fh1.js} +20 -20
- package/dist/chunks/location-mraxsbbc.js +36 -0
- package/dist/chunks/{location-services-1bbkgx8g.js → location-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-services-1cw6jyks.js → location-mz8r4wev.js} +9 -9
- package/dist/chunks/{location-services-vjngb1jq.js → location-n2apd2zv.js} +13 -13
- package/dist/chunks/{location-services-yz6937d7.js → location-nb0t3kxz.js} +16 -16
- package/dist/chunks/{location-services-b1h6aq5y.js → location-ngacfpxr.js} +24 -24
- package/dist/chunks/{location-services-akybccbs.js → location-njhqdk9p.js} +9 -9
- package/dist/chunks/{location-services-xg9t41r3.js → location-nng2ktcm.js} +2 -2
- package/dist/chunks/{location-services-dv1qgsyq.js → location-p37cw4rj.js} +6 -6
- package/dist/chunks/{location-services-hj95hp1y.js → location-p3qxne8d.js} +24 -24
- package/dist/chunks/{location-services-2est6f04.js → location-p6k0w3ef.js} +9 -9
- package/dist/chunks/{location-services-dgmwn8ez.js → location-p84dsdfh.js} +8 -8
- package/dist/chunks/{location-services-req99jdj.js → location-pb8g46v2.js} +73 -102
- package/dist/chunks/{location-services-cydqfn8g.js → location-pe4p6r2b.js} +34 -34
- package/dist/chunks/{location-services-219neeqh.js → location-pfcfnkqj.js} +5 -5
- package/dist/chunks/{location-services-drkq60sc.js → location-pg4czqbe.js} +37 -37
- package/dist/chunks/{location-services-garbmm90.js → location-pht46j1j.js} +24 -36
- package/dist/chunks/{location-services-bcb9n2af.js → location-phz9ppdn.js} +13 -13
- package/dist/chunks/{location-services-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-pn0ragf5.js → location-pnbc4b3j.js} +13 -13
- package/dist/chunks/{location-services-m2d0j7c0.js → location-pnv527nz.js} +9 -9
- package/dist/chunks/{location-services-97gsetns.js → location-ppnykba5.js} +11 -11
- package/dist/chunks/{location-services-csqhwd0e.js → location-q3fve2xg.js} +20 -20
- package/dist/chunks/{location-services-20ct9c8y.js → location-qb3a001x.js} +42 -42
- package/dist/chunks/{location-services-fv23cpfe.js → location-qc69v8fs.js} +8 -10
- package/dist/chunks/{location-services-265kqrgy.js → location-qg3g05ea.js} +4 -11
- package/dist/chunks/{location-services-jv01nqvq.js → location-qn4ba14w.js} +5 -5
- package/dist/chunks/{location-services-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-2gv9ss0t.js → location-qx4vf964.js} +29 -29
- package/dist/chunks/{location-services-3z34j0cx.js → location-r54z1mhc.js} +65 -24
- package/dist/chunks/{location-services-20tey5zg.js → location-r62y7mfn.js} +25 -25
- package/dist/chunks/{location-services-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{location-services-kg06axw8.js → location-rdw6cm16.js} +3 -1
- package/dist/chunks/{location-services-rq8nv58m.js → location-rp6d2jqx.js} +32 -32
- package/dist/chunks/{location-services-x9k84rm6.js → location-rvenhx9v.js} +237 -219
- package/dist/chunks/{location-services-0r684n0p.js → location-rzs3gq0x.js} +8 -8
- package/dist/chunks/{location-services-gsr2pv6w.js → location-s1tbsnwf.js} +24 -17
- package/dist/chunks/{location-services-24w6x0js.js → location-s8367sdj.js} +21 -21
- package/dist/chunks/{location-services-eaj1djv9.js → location-s8d7rejh.js} +6 -6
- package/dist/chunks/{location-services-5agpr7j3.js → location-s9p11epj.js} +17 -17
- package/dist/chunks/{location-services-xvqk5qet.js → location-shtmkj1w.js} +34 -30
- package/dist/chunks/{location-services-adadcvct.js → location-snypfz89.js} +17 -17
- package/dist/chunks/{location-services-fmcxa852.js → location-sqjb25rk.js} +14 -14
- package/dist/chunks/{location-services-3kx4em2y.js → location-sr0mbv75.js} +13 -13
- package/dist/chunks/{location-services-js2cb58t.js → location-st4yk5kb.js} +30 -22
- package/dist/chunks/{location-services-2p1x4cae.js → location-t08nxc7z.js} +25 -19
- package/dist/chunks/{location-services-1emffesh.js → location-t44e5ekz.js} +5 -5
- package/dist/chunks/{location-services-nh7bjnck.js → location-t56ztj25.js} +27 -33
- package/dist/chunks/{location-services-dpv3ckk4.js → location-t5fxxz44.js} +31 -31
- package/dist/chunks/{location-services-4tka16dg.js → location-t5j6jz0m.js} +25 -25
- package/dist/chunks/{location-services-t71tw57v.js → location-t73kfpst.js} +13 -13
- package/dist/chunks/{location-services-eqtkqxc7.js → location-t7gx2zvx.js} +36 -36
- package/dist/chunks/{location-services-7mrkexn2.js → location-t9tr543n.js} +46 -43
- package/dist/chunks/{location-services-vncycja5.js → location-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-services-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/location-tcddack9.js +66 -0
- package/dist/chunks/{location-services-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-rkkpgdp7.js → location-tmq9efvy.js} +24 -24
- package/dist/chunks/{location-services-69j49pks.js → location-tsjh32me.js} +16 -16
- package/dist/chunks/{location-services-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-tf1j6dqp.js → location-txrndw2w.js} +28 -28
- package/dist/chunks/{location-services-pz39f4ja.js → location-typ6ybs4.js} +35 -35
- package/dist/chunks/{location-services-yqzynv2p.js → location-v63zasnn.js} +17 -17
- package/dist/chunks/{location-services-awf1vrqt.js → location-v955qpq7.js} +22 -23
- package/dist/chunks/{location-services-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-1ezhg5n2.js → location-vyy93js0.js} +63 -340
- package/dist/chunks/{location-services-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-wavq5vqb.js → location-wc3fc9cn.js} +4 -9
- package/dist/chunks/{location-services-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-kj36tdkt.js → location-weh21y9w.js} +11 -11
- package/dist/chunks/{location-services-cj7k1vck.js → location-wpt2rh6k.js} +33 -31
- package/dist/chunks/{location-services-sczemkxt.js → location-wv7pem94.js} +12 -12
- package/dist/chunks/{location-services-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-ssjhvfxk.js → location-x1fxwrpv.js} +57 -57
- package/dist/chunks/{location-services-c04yyk0p.js → location-x1war47d.js} +20 -20
- package/dist/chunks/{location-services-y7wy22rx.js → location-x3589ane.js} +32 -32
- package/dist/chunks/{location-services-hjt4xg1x.js → location-xfkkasph.js} +2 -2
- package/dist/chunks/{location-services-db0ywk9p.js → location-xg60yd56.js} +22 -22
- package/dist/chunks/{location-services-p3sqqmz6.js → location-xgwrkgz7.js} +37 -37
- package/dist/chunks/location-xj85r64f.js +247 -0
- package/dist/chunks/{location-services-jxyew9fw.js → location-xr0yzbqe.js} +4 -4
- package/dist/chunks/{location-services-bna2jm49.js → location-y16p1w2y.js} +9 -9
- package/dist/chunks/{location-services-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-2xh74eyw.js → location-y2bp1sda.js} +18 -18
- package/dist/chunks/{location-services-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-d5t04rjd.js → location-y7wqy8pr.js} +22 -22
- package/dist/chunks/location-ycjgd44k.js +68 -0
- package/dist/chunks/{location-services-jwd472vv.js → location-ynp65gvm.js} +7 -7
- package/dist/chunks/{location-services-v9b1dqp1.js → location-yq2q1mjm.js} +11 -11
- package/dist/chunks/{location-services-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-6vgebzwc.js → location-yvny6rkw.js} +24 -24
- package/dist/chunks/{location-services-vv213pfm.js → location-z0ahgr69.js} +32 -32
- package/dist/chunks/{location-services-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-b1yrrjjr.js → location-z0e3fq4k.js} +8 -11
- package/dist/chunks/{location-services-h43s0y1m.js → location-z188jmp0.js} +13 -13
- package/dist/chunks/{location-services-kqd2wwpf.js → location-z2nspjwn.js} +10 -7
- package/dist/chunks/{location-services-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-2mk0xfrn.js → location-z6y26n19.js} +4 -4
- package/dist/chunks/{location-services-byj6491s.js → location-z83nn3gv.js} +18 -18
- package/dist/chunks/{location-services-sxat3wmc.js → location-z9037jhe.js} +11 -11
- package/dist/chunks/{location-services-107p1e5w.js → location-ze4b80hv.js} +61 -54
- package/dist/chunks/{location-services-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-w79zsp0s.js → location-zhq6vg7a.js} +29 -3
- package/dist/chunks/{location-services-vzaj5ab4.js → location-zn93437f.js} +30 -30
- package/dist/chunks/{location-services-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-k4e7wm7p.js → location-zyx4eyj3.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +83 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -19
- package/dist/config/plugin/agent.js +124 -118
- package/dist/config/plugin/command.js +212 -210
- package/dist/config/plugin/compaction.js +158 -156
- package/dist/config/plugin/compatibility.js +145 -0
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -118
- package/dist/config/plugin/image.js +122 -116
- package/dist/config/plugin/instruction.js +89 -86
- package/dist/config/plugin/location-watcher.js +124 -118
- package/dist/config/plugin/mcp.js +131 -127
- package/dist/config/plugin/policy.js +122 -115
- package/dist/config/plugin/provider.js +122 -114
- package/dist/config/plugin/reference.js +124 -118
- package/dist/config/plugin/shell.js +122 -117
- package/dist/config/plugin/skill-file.js +101 -98
- package/dist/config/plugin/skill.js +143 -137
- package/dist/config/plugin/snapshot.js +122 -116
- package/dist/config/plugin/source.js +125 -118
- package/dist/config/plugin/tool-output.js +124 -118
- package/dist/config/plugin/websearch.js +121 -114
- package/dist/config/plugin/worktree.js +124 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +364 -362
- 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 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -91
- 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 +74 -74
- package/dist/file-access.js +103 -100
- package/dist/file-mutation.js +93 -90
- 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 +225 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -85
- package/dist/generate.js +104 -94
- package/dist/git.js +10 -7
- 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 -7
- 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 +355 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +11 -19
- package/dist/integration.js +87 -85
- 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 -132
- package/dist/location-mutation.js +103 -100
- package/dist/location-service-map.js +85 -82
- package/dist/location-services.js +352 -350
- package/dist/location.js +86 -83
- package/dist/mcp/client.js +205 -262
- package/dist/mcp/index.js +103 -118
- package/dist/mcp/instructions.js +124 -121
- package/dist/mcp/oauth.js +281 -38
- package/dist/mcp/stdio.js +89 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -7
- package/dist/model-resolver.js +97 -87
- package/dist/model.js +98 -5
- package/dist/models-dev.js +106 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -100
- package/dist/plugin/command.js +100 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -214
- package/dist/plugin/identity.js +10 -0
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -2
- package/dist/plugin/provider/azure.js +121 -119
- package/dist/plugin/provider/cerebras.js +1 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -115
- package/dist/plugin/provider/digitalocean.js +92 -80
- 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 -81
- package/dist/plugin/provider/gitlab.js +90 -3
- package/dist/plugin/provider/google-vertex.js +89 -2
- package/dist/plugin/provider/kilo.js +1 -2
- package/dist/plugin/provider/llmgateway.js +76 -77
- package/dist/plugin/provider/lmstudio.js +121 -118
- package/dist/plugin/provider/modal.js +91 -80
- package/dist/plugin/provider/nvidia.js +1 -2
- package/dist/plugin/provider/ollama.js +121 -118
- package/dist/plugin/provider/openai.js +91 -79
- package/dist/plugin/provider/opencode.js +92 -80
- package/dist/plugin/provider/openrouter.js +90 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +94 -0
- package/dist/plugin/provider/sap-ai-core.js +90 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -2
- package/dist/plugin/provider/vllm.js +121 -118
- package/dist/plugin/provider/xai.js +90 -78
- package/dist/plugin/provider/zenmux.js +1 -2
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -83
- package/dist/plugin/vcs/hg.js +85 -83
- package/dist/plugin/warming.js +120 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +223 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -86
- package/dist/provider.js +99 -6
- 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 +89 -87
- package/dist/reference/instructions.js +88 -85
- package/dist/reference.js +90 -87
- package/dist/repository-cache.js +80 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -94
- package/dist/rpc.js +85 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -128
- package/dist/session/context.js +150 -148
- package/dist/session/diff.js +96 -0
- 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 -220
- package/dist/session/execution.js +127 -125
- package/dist/session/generate.js +153 -151
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +95 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -111
- package/dist/session/runner/step.js +124 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -168
- package/dist/session/shell.js +137 -132
- package/dist/session/skill.js +102 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -75
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -150
- package/dist/session/to-session-error.js +110 -108
- package/dist/session/transfer.js +221 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -212
- 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 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -99
- package/dist/skill.js +111 -108
- package/dist/snapshot.js +92 -89
- 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 +121 -118
- package/dist/tool/plugin/edit.js +119 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -121
- package/dist/tool/plugin/grep.js +123 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -118
- package/dist/tool/plugin/question.js +104 -101
- package/dist/tool/plugin/read.js +124 -122
- package/dist/tool/plugin/shell.js +213 -211
- package/dist/tool/plugin/skill.js +110 -107
- package/dist/tool/plugin/subagent.js +217 -215
- package/dist/tool/plugin/webfetch.js +107 -104
- package/dist/tool/plugin/websearch.js +111 -108
- package/dist/tool/plugin/write.js +121 -118
- package/dist/tool/read-filesystem.js +99 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/aisdk-native.d.ts +21 -13
- package/dist/types/config/plugin/compatibility.d.ts +5 -0
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config/plugin/worktree.d.ts +2 -2
- package/dist/types/config.d.ts +13 -6
- package/dist/types/github-copilot/models.d.ts +61 -0
- package/dist/types/instance.d.ts +4 -3
- package/dist/types/integration/connection.d.ts +8 -0
- package/dist/types/integration.d.ts +15 -4
- package/dist/types/mcp/client.d.ts +221 -125
- package/dist/types/mcp/index.d.ts +24 -87
- package/dist/types/mcp/oauth.d.ts +30 -51
- package/dist/types/mcp/stdio.d.ts +1 -1
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/modal/models.d.ts +30 -0
- package/dist/types/model-resolver.d.ts +4 -5
- package/dist/types/model.d.ts +37 -3
- package/dist/types/permission/saved.d.ts +4 -0
- package/dist/types/plugin/host.d.ts +5 -3
- package/dist/types/plugin/identity.d.ts +8 -0
- package/dist/types/plugin/internal.d.ts +5 -3
- package/dist/types/plugin/provider/azure.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +2 -1
- package/dist/types/plugin/provider/configured.d.ts +1 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/modal.d.ts +2 -2
- package/dist/types/plugin/provider/prompt-cache-key.d.ts +1 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +2 -1
- package/dist/types/project/schema.d.ts +0 -5
- package/dist/types/project.d.ts +0 -1
- package/dist/types/provider.d.ts +44 -2
- package/dist/types/session/diff.d.ts +48 -0
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/history.d.ts +72 -32
- package/dist/types/session/inbox.d.ts +120 -40
- package/dist/types/session/model-transport.d.ts +6 -1
- package/dist/types/session/runner/model.d.ts +1 -1
- package/dist/types/session/session.d.ts +24 -11
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +12 -1
- package/dist/types/session.d.ts +12 -2
- package/dist/types/skill.d.ts +3 -6
- package/dist/types/state.d.ts +4 -0
- package/dist/types/util/git-executable.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +10 -7
- package/dist/types/variant.d.ts +14 -0
- package/dist/types/worktree/git.d.ts +2 -4
- package/dist/types/worktree/strategies.d.ts +36 -0
- package/dist/types/worktree.d.ts +23 -40
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +9 -0
- 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 +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 -4
- 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 +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 +97 -0
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +8 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -0
- package/dist/worktree.js +95 -94
- package/package.json +19 -23
- package/dist/catalog.js +0 -89
- package/dist/chunks/location-services-1txhhsar.js +0 -36
- package/dist/chunks/location-services-33n3bzdy.js +0 -169
- package/dist/chunks/location-services-35wynegs.js +0 -170
- package/dist/chunks/location-services-69vkpgwa.js +0 -26
- package/dist/chunks/location-services-71q4at8m.js +0 -15
- package/dist/chunks/location-services-a2jtfxjw.js +0 -49
- package/dist/chunks/location-services-c293rtmv.js +0 -113
- package/dist/chunks/location-services-cv4zdsrn.js +0 -193
- package/dist/chunks/location-services-hrnqkpcd.js +0 -20
- package/dist/chunks/location-services-jy6ssemz.js +0 -44
- package/dist/chunks/location-services-pd96nw7e.js +0 -462
- package/dist/chunks/location-services-r6qxwhmr.js +0 -118
- package/dist/chunks/location-services-sakrjbba.js +0 -247
- package/dist/chunks/location-services-v1faaxn9.js +0 -18
- package/dist/chunks/location-services-v64gcnw2.js +0 -55
- package/dist/plugin/provider/alibaba.js +0 -7
- package/dist/plugin/provider/openai-compatible.js +0 -6
- package/dist/plugin/variant.js +0 -11
- package/dist/types/catalog.d.ts +0 -49
- package/dist/types/plugin/provider/alibaba.d.ts +0 -1
- package/dist/types/plugin/provider/openai-compatible.d.ts +0 -1
- package/dist/types/plugin/variant.d.ts +0 -10
- package/dist/types/worktree/refresh.d.ts +0 -2
- package/dist/worktree/refresh.js +0 -347
- /package/dist/chunks/{location-services-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -73,7 +73,9 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
73
73
|
readonly delivery: "steer" | "queue";
|
|
74
74
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
75
75
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
76
|
-
readonly
|
|
76
|
+
readonly time: {
|
|
77
|
+
readonly created: DateTime.Utc;
|
|
78
|
+
};
|
|
77
79
|
} | {
|
|
78
80
|
readonly type: "synthetic";
|
|
79
81
|
readonly payload: {
|
|
@@ -86,14 +88,18 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
86
88
|
readonly delivery: "steer" | "queue";
|
|
87
89
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
88
90
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
89
|
-
readonly
|
|
91
|
+
readonly time: {
|
|
92
|
+
readonly created: DateTime.Utc;
|
|
93
|
+
};
|
|
90
94
|
} | {
|
|
91
95
|
readonly type: "compaction";
|
|
92
96
|
readonly payload: {};
|
|
93
97
|
readonly delivery: "steer" | "queue";
|
|
94
98
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
95
99
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
96
|
-
readonly
|
|
100
|
+
readonly time: {
|
|
101
|
+
readonly created: DateTime.Utc;
|
|
102
|
+
};
|
|
97
103
|
} | {
|
|
98
104
|
readonly type: "move";
|
|
99
105
|
readonly payload: {
|
|
@@ -107,7 +113,9 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
107
113
|
readonly delivery: "steer" | "queue";
|
|
108
114
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
109
115
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
110
|
-
readonly
|
|
116
|
+
readonly time: {
|
|
117
|
+
readonly created: DateTime.Utc;
|
|
118
|
+
};
|
|
111
119
|
} | undefined, never, never>;
|
|
112
120
|
export type Interface = Effect.Success<ReturnType<typeof make>>;
|
|
113
121
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbox", {
|
|
@@ -157,7 +165,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
157
165
|
readonly delivery: "steer" | "queue";
|
|
158
166
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
159
167
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
160
|
-
readonly
|
|
168
|
+
readonly time: {
|
|
169
|
+
readonly created: DateTime.Utc;
|
|
170
|
+
};
|
|
161
171
|
} | {
|
|
162
172
|
readonly type: "synthetic";
|
|
163
173
|
readonly payload: {
|
|
@@ -170,14 +180,18 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
170
180
|
readonly delivery: "steer" | "queue";
|
|
171
181
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
172
182
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
173
|
-
readonly
|
|
183
|
+
readonly time: {
|
|
184
|
+
readonly created: DateTime.Utc;
|
|
185
|
+
};
|
|
174
186
|
} | {
|
|
175
187
|
readonly type: "compaction";
|
|
176
188
|
readonly payload: {};
|
|
177
189
|
readonly delivery: "steer" | "queue";
|
|
178
190
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
179
191
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
180
|
-
readonly
|
|
192
|
+
readonly time: {
|
|
193
|
+
readonly created: DateTime.Utc;
|
|
194
|
+
};
|
|
181
195
|
} | {
|
|
182
196
|
readonly type: "move";
|
|
183
197
|
readonly payload: {
|
|
@@ -191,7 +205,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
191
205
|
readonly delivery: "steer" | "queue";
|
|
192
206
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
193
207
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
194
|
-
readonly
|
|
208
|
+
readonly time: {
|
|
209
|
+
readonly created: DateTime.Utc;
|
|
210
|
+
};
|
|
195
211
|
})[], never, never>;
|
|
196
212
|
reconcile: <Type extends Item["type"]>(request: {
|
|
197
213
|
readonly id: SessionMessage.ID;
|
|
@@ -244,7 +260,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
244
260
|
readonly delivery: "steer" | "queue";
|
|
245
261
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
246
262
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
247
|
-
readonly
|
|
263
|
+
readonly time: {
|
|
264
|
+
readonly created: DateTime.Utc;
|
|
265
|
+
};
|
|
248
266
|
}, {
|
|
249
267
|
readonly type: Type;
|
|
250
268
|
}> | Extract<{
|
|
@@ -259,7 +277,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
259
277
|
readonly delivery: "steer" | "queue";
|
|
260
278
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
261
279
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
262
|
-
readonly
|
|
280
|
+
readonly time: {
|
|
281
|
+
readonly created: DateTime.Utc;
|
|
282
|
+
};
|
|
263
283
|
}, {
|
|
264
284
|
readonly type: Type;
|
|
265
285
|
}> | Extract<{
|
|
@@ -275,7 +295,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
275
295
|
readonly delivery: "steer" | "queue";
|
|
276
296
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
277
297
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
278
|
-
readonly
|
|
298
|
+
readonly time: {
|
|
299
|
+
readonly created: DateTime.Utc;
|
|
300
|
+
};
|
|
279
301
|
}, {
|
|
280
302
|
readonly type: Type;
|
|
281
303
|
}> | undefined, LifecycleConflict, never>;
|
|
@@ -331,7 +353,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
331
353
|
readonly delivery: "steer" | "queue";
|
|
332
354
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
333
355
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
334
|
-
readonly
|
|
356
|
+
readonly time: {
|
|
357
|
+
readonly created: DateTime.Utc;
|
|
358
|
+
};
|
|
335
359
|
}, {
|
|
336
360
|
readonly type: Type;
|
|
337
361
|
}> | Extract<{
|
|
@@ -346,7 +370,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
346
370
|
readonly delivery: "steer" | "queue";
|
|
347
371
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
348
372
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
349
|
-
readonly
|
|
373
|
+
readonly time: {
|
|
374
|
+
readonly created: DateTime.Utc;
|
|
375
|
+
};
|
|
350
376
|
}, {
|
|
351
377
|
readonly type: Type;
|
|
352
378
|
}> | Extract<{
|
|
@@ -362,7 +388,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
362
388
|
readonly delivery: "steer" | "queue";
|
|
363
389
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
364
390
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
365
|
-
readonly
|
|
391
|
+
readonly time: {
|
|
392
|
+
readonly created: DateTime.Utc;
|
|
393
|
+
};
|
|
366
394
|
}, {
|
|
367
395
|
readonly type: Type;
|
|
368
396
|
}> | Extract<{
|
|
@@ -371,7 +399,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
371
399
|
readonly delivery: "steer" | "queue";
|
|
372
400
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
373
401
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
374
|
-
readonly
|
|
402
|
+
readonly time: {
|
|
403
|
+
readonly created: DateTime.Utc;
|
|
404
|
+
};
|
|
375
405
|
}, {
|
|
376
406
|
readonly type: Type;
|
|
377
407
|
}>, LifecycleConflict, never>;
|
|
@@ -385,7 +415,9 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionInbo
|
|
|
385
415
|
readonly delivery: "steer" | "queue";
|
|
386
416
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
387
417
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
388
|
-
readonly
|
|
418
|
+
readonly time: {
|
|
419
|
+
readonly created: DateTime.Utc;
|
|
420
|
+
};
|
|
389
421
|
}, LifecycleConflict, never>;
|
|
390
422
|
cancel: (input: PendingRef) => Effect.Effect<void, LifecycleConflict, never>;
|
|
391
423
|
steer: (input: PendingRef) => Effect.Effect<void, LifecycleConflict, never>;
|
|
@@ -440,7 +472,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
440
472
|
readonly delivery: "steer" | "queue";
|
|
441
473
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
442
474
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
443
|
-
readonly
|
|
475
|
+
readonly time: {
|
|
476
|
+
readonly created: DateTime.Utc;
|
|
477
|
+
};
|
|
444
478
|
} | {
|
|
445
479
|
readonly type: "synthetic";
|
|
446
480
|
readonly payload: {
|
|
@@ -453,14 +487,18 @@ export declare const make: () => Effect.Effect<{
|
|
|
453
487
|
readonly delivery: "steer" | "queue";
|
|
454
488
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
455
489
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
456
|
-
readonly
|
|
490
|
+
readonly time: {
|
|
491
|
+
readonly created: DateTime.Utc;
|
|
492
|
+
};
|
|
457
493
|
} | {
|
|
458
494
|
readonly type: "compaction";
|
|
459
495
|
readonly payload: {};
|
|
460
496
|
readonly delivery: "steer" | "queue";
|
|
461
497
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
462
498
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
463
|
-
readonly
|
|
499
|
+
readonly time: {
|
|
500
|
+
readonly created: DateTime.Utc;
|
|
501
|
+
};
|
|
464
502
|
} | {
|
|
465
503
|
readonly type: "move";
|
|
466
504
|
readonly payload: {
|
|
@@ -474,7 +512,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
474
512
|
readonly delivery: "steer" | "queue";
|
|
475
513
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
476
514
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
477
|
-
readonly
|
|
515
|
+
readonly time: {
|
|
516
|
+
readonly created: DateTime.Utc;
|
|
517
|
+
};
|
|
478
518
|
})[], never, never>;
|
|
479
519
|
reconcile: <Type extends Item["type"]>(request: {
|
|
480
520
|
readonly id: SessionMessage.ID;
|
|
@@ -527,7 +567,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
527
567
|
readonly delivery: "steer" | "queue";
|
|
528
568
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
529
569
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
530
|
-
readonly
|
|
570
|
+
readonly time: {
|
|
571
|
+
readonly created: DateTime.Utc;
|
|
572
|
+
};
|
|
531
573
|
}, {
|
|
532
574
|
readonly type: Type;
|
|
533
575
|
}> | Extract<{
|
|
@@ -542,7 +584,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
542
584
|
readonly delivery: "steer" | "queue";
|
|
543
585
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
544
586
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
545
|
-
readonly
|
|
587
|
+
readonly time: {
|
|
588
|
+
readonly created: DateTime.Utc;
|
|
589
|
+
};
|
|
546
590
|
}, {
|
|
547
591
|
readonly type: Type;
|
|
548
592
|
}> | Extract<{
|
|
@@ -558,7 +602,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
558
602
|
readonly delivery: "steer" | "queue";
|
|
559
603
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
560
604
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
561
|
-
readonly
|
|
605
|
+
readonly time: {
|
|
606
|
+
readonly created: DateTime.Utc;
|
|
607
|
+
};
|
|
562
608
|
}, {
|
|
563
609
|
readonly type: Type;
|
|
564
610
|
}> | undefined, LifecycleConflict, never>;
|
|
@@ -614,7 +660,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
614
660
|
readonly delivery: "steer" | "queue";
|
|
615
661
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
616
662
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
617
|
-
readonly
|
|
663
|
+
readonly time: {
|
|
664
|
+
readonly created: DateTime.Utc;
|
|
665
|
+
};
|
|
618
666
|
}, {
|
|
619
667
|
readonly type: Type;
|
|
620
668
|
}> | Extract<{
|
|
@@ -629,7 +677,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
629
677
|
readonly delivery: "steer" | "queue";
|
|
630
678
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
631
679
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
632
|
-
readonly
|
|
680
|
+
readonly time: {
|
|
681
|
+
readonly created: DateTime.Utc;
|
|
682
|
+
};
|
|
633
683
|
}, {
|
|
634
684
|
readonly type: Type;
|
|
635
685
|
}> | Extract<{
|
|
@@ -645,7 +695,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
645
695
|
readonly delivery: "steer" | "queue";
|
|
646
696
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
647
697
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
648
|
-
readonly
|
|
698
|
+
readonly time: {
|
|
699
|
+
readonly created: DateTime.Utc;
|
|
700
|
+
};
|
|
649
701
|
}, {
|
|
650
702
|
readonly type: Type;
|
|
651
703
|
}> | Extract<{
|
|
@@ -654,7 +706,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
654
706
|
readonly delivery: "steer" | "queue";
|
|
655
707
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
656
708
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
657
|
-
readonly
|
|
709
|
+
readonly time: {
|
|
710
|
+
readonly created: DateTime.Utc;
|
|
711
|
+
};
|
|
658
712
|
}, {
|
|
659
713
|
readonly type: Type;
|
|
660
714
|
}>, LifecycleConflict, never>;
|
|
@@ -668,7 +722,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
668
722
|
readonly delivery: "steer" | "queue";
|
|
669
723
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
670
724
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
671
|
-
readonly
|
|
725
|
+
readonly time: {
|
|
726
|
+
readonly created: DateTime.Utc;
|
|
727
|
+
};
|
|
672
728
|
}, LifecycleConflict, never>;
|
|
673
729
|
cancel: (input: PendingRef) => Effect.Effect<void, LifecycleConflict, never>;
|
|
674
730
|
steer: (input: PendingRef) => Effect.Effect<void, LifecycleConflict, never>;
|
|
@@ -738,7 +794,9 @@ export declare const projectDelivered: (db: import("../database/drizzle.js").Eff
|
|
|
738
794
|
readonly delivery: "steer" | "queue";
|
|
739
795
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
740
796
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
741
|
-
readonly
|
|
797
|
+
readonly time: {
|
|
798
|
+
readonly created: DateTime.Utc;
|
|
799
|
+
};
|
|
742
800
|
} | {
|
|
743
801
|
readonly type: "synthetic";
|
|
744
802
|
readonly payload: {
|
|
@@ -751,14 +809,18 @@ export declare const projectDelivered: (db: import("../database/drizzle.js").Eff
|
|
|
751
809
|
readonly delivery: "steer" | "queue";
|
|
752
810
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
753
811
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
754
|
-
readonly
|
|
812
|
+
readonly time: {
|
|
813
|
+
readonly created: DateTime.Utc;
|
|
814
|
+
};
|
|
755
815
|
} | {
|
|
756
816
|
readonly type: "compaction";
|
|
757
817
|
readonly payload: {};
|
|
758
818
|
readonly delivery: "steer" | "queue";
|
|
759
819
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
760
820
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
761
|
-
readonly
|
|
821
|
+
readonly time: {
|
|
822
|
+
readonly created: DateTime.Utc;
|
|
823
|
+
};
|
|
762
824
|
} | {
|
|
763
825
|
readonly type: "move";
|
|
764
826
|
readonly payload: {
|
|
@@ -772,7 +834,9 @@ export declare const projectDelivered: (db: import("../database/drizzle.js").Eff
|
|
|
772
834
|
readonly delivery: "steer" | "queue";
|
|
773
835
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
774
836
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
775
|
-
readonly
|
|
837
|
+
readonly time: {
|
|
838
|
+
readonly created: DateTime.Utc;
|
|
839
|
+
};
|
|
776
840
|
}, never, never>;
|
|
777
841
|
export declare const projectCancelled: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
778
842
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
@@ -830,7 +894,9 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
830
894
|
readonly delivery: "steer" | "queue";
|
|
831
895
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
832
896
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
833
|
-
readonly
|
|
897
|
+
readonly time: {
|
|
898
|
+
readonly created: DateTime.Utc;
|
|
899
|
+
};
|
|
834
900
|
} | {
|
|
835
901
|
readonly type: "synthetic";
|
|
836
902
|
readonly payload: {
|
|
@@ -843,14 +909,18 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
843
909
|
readonly delivery: "steer" | "queue";
|
|
844
910
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
845
911
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
846
|
-
readonly
|
|
912
|
+
readonly time: {
|
|
913
|
+
readonly created: DateTime.Utc;
|
|
914
|
+
};
|
|
847
915
|
} | {
|
|
848
916
|
readonly type: "compaction";
|
|
849
917
|
readonly payload: {};
|
|
850
918
|
readonly delivery: "steer" | "queue";
|
|
851
919
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
852
920
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
853
|
-
readonly
|
|
921
|
+
readonly time: {
|
|
922
|
+
readonly created: DateTime.Utc;
|
|
923
|
+
};
|
|
854
924
|
} | {
|
|
855
925
|
readonly type: "move";
|
|
856
926
|
readonly payload: {
|
|
@@ -864,7 +934,9 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
864
934
|
readonly delivery: "steer" | "queue";
|
|
865
935
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
866
936
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
867
|
-
readonly
|
|
937
|
+
readonly time: {
|
|
938
|
+
readonly created: DateTime.Utc;
|
|
939
|
+
};
|
|
868
940
|
})[], never, never>;
|
|
869
941
|
export declare const moveIDs: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
870
942
|
$client: import("effect/unstable/sql/SqlClient").SqlClient;
|
|
@@ -919,7 +991,9 @@ export declare const nextPromotable: (db: import("../database/drizzle.js").Effec
|
|
|
919
991
|
readonly delivery: "steer" | "queue";
|
|
920
992
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
921
993
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
922
|
-
readonly
|
|
994
|
+
readonly time: {
|
|
995
|
+
readonly created: DateTime.Utc;
|
|
996
|
+
};
|
|
923
997
|
} | {
|
|
924
998
|
readonly type: "synthetic";
|
|
925
999
|
readonly payload: {
|
|
@@ -932,14 +1006,18 @@ export declare const nextPromotable: (db: import("../database/drizzle.js").Effec
|
|
|
932
1006
|
readonly delivery: "steer" | "queue";
|
|
933
1007
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
934
1008
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
935
|
-
readonly
|
|
1009
|
+
readonly time: {
|
|
1010
|
+
readonly created: DateTime.Utc;
|
|
1011
|
+
};
|
|
936
1012
|
} | {
|
|
937
1013
|
readonly type: "compaction";
|
|
938
1014
|
readonly payload: {};
|
|
939
1015
|
readonly delivery: "steer" | "queue";
|
|
940
1016
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
941
1017
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
942
|
-
readonly
|
|
1018
|
+
readonly time: {
|
|
1019
|
+
readonly created: DateTime.Utc;
|
|
1020
|
+
};
|
|
943
1021
|
} | {
|
|
944
1022
|
readonly type: "move";
|
|
945
1023
|
readonly payload: {
|
|
@@ -953,7 +1031,9 @@ export declare const nextPromotable: (db: import("../database/drizzle.js").Effec
|
|
|
953
1031
|
readonly delivery: "steer" | "queue";
|
|
954
1032
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
955
1033
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
956
|
-
readonly
|
|
1034
|
+
readonly time: {
|
|
1035
|
+
readonly created: DateTime.Utc;
|
|
1036
|
+
};
|
|
957
1037
|
} | undefined, never, never>;
|
|
958
1038
|
/** Which pending rows count: "input" means any item in either delivery mode. */
|
|
959
1039
|
export type Scope = "input" | Delivery;
|
|
@@ -3,8 +3,13 @@ import { type WebSocketChannelExecutor, type WebSocketConnector } from "@opencod
|
|
|
3
3
|
import { Context, Effect, Layer } from "effect";
|
|
4
4
|
import { Socket } from "effect/unstable/socket";
|
|
5
5
|
import { SessionSchema } from "./schema.js";
|
|
6
|
+
/** Selects the connection for one exchange. Its output feeds the affinity key, so changed headers reopen the socket. */
|
|
7
|
+
export interface Handshake {
|
|
8
|
+
readonly url: string;
|
|
9
|
+
readonly headers: Record<string, string>;
|
|
10
|
+
}
|
|
6
11
|
export interface Interface {
|
|
7
|
-
readonly bind: (sessionID: SessionSchema.ID) => WebSocketChannelExecutor;
|
|
12
|
+
readonly bind: (sessionID: SessionSchema.ID, handshake?: (connect: Handshake) => Effect.Effect<Handshake>) => WebSocketChannelExecutor;
|
|
8
13
|
readonly close: (sessionID: SessionSchema.ID) => Effect.Effect<void>;
|
|
9
14
|
readonly closeAll: Effect.Effect<void>;
|
|
10
15
|
}
|
|
@@ -61,6 +61,6 @@ export declare const resolved: (model: LanguageModel, options: {
|
|
|
61
61
|
readonly cost: Model.Info["cost"];
|
|
62
62
|
readonly limit: Model.Info["limit"];
|
|
63
63
|
readonly compaction?: Provider.Compaction;
|
|
64
|
-
readonly
|
|
64
|
+
readonly transport?: Provider.Transport;
|
|
65
65
|
}) => Resolved;
|
|
66
66
|
export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;
|
|
@@ -3,7 +3,6 @@ import { DateTime, Effect, Scope } from "effect";
|
|
|
3
3
|
import type { Agent } from "@opencode/schema/agent";
|
|
4
4
|
import type { Model } from "@opencode/schema/model";
|
|
5
5
|
import type { Permission } from "@opencode/schema/permission";
|
|
6
|
-
import { Event } from "@opencode/schema/event";
|
|
7
6
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
8
7
|
import { Bus } from "../bus.js";
|
|
9
8
|
import { Database } from "../database/database.js";
|
|
@@ -90,7 +89,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
90
89
|
readonly delivery: "steer" | "queue";
|
|
91
90
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
92
91
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
93
|
-
readonly
|
|
92
|
+
readonly time: {
|
|
93
|
+
readonly created: DateTime.Utc;
|
|
94
|
+
};
|
|
94
95
|
} | {
|
|
95
96
|
readonly type: "synthetic";
|
|
96
97
|
readonly payload: {
|
|
@@ -103,14 +104,18 @@ export declare const make: () => Effect.Effect<{
|
|
|
103
104
|
readonly delivery: "steer" | "queue";
|
|
104
105
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
105
106
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
106
|
-
readonly
|
|
107
|
+
readonly time: {
|
|
108
|
+
readonly created: DateTime.Utc;
|
|
109
|
+
};
|
|
107
110
|
} | {
|
|
108
111
|
readonly type: "compaction";
|
|
109
112
|
readonly payload: {};
|
|
110
113
|
readonly delivery: "steer" | "queue";
|
|
111
114
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
112
115
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
113
|
-
readonly
|
|
116
|
+
readonly time: {
|
|
117
|
+
readonly created: DateTime.Utc;
|
|
118
|
+
};
|
|
114
119
|
} | {
|
|
115
120
|
readonly type: "move";
|
|
116
121
|
readonly payload: {
|
|
@@ -124,7 +129,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
124
129
|
readonly delivery: "steer" | "queue";
|
|
125
130
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
126
131
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
127
|
-
readonly
|
|
132
|
+
readonly time: {
|
|
133
|
+
readonly created: DateTime.Utc;
|
|
134
|
+
};
|
|
128
135
|
})[], NotFoundError, never>;
|
|
129
136
|
prompt: (input: PromptRequest) => Effect.Effect<{
|
|
130
137
|
readonly type: "user";
|
|
@@ -172,7 +179,9 @@ export declare const make: () => Effect.Effect<{
|
|
|
172
179
|
readonly delivery: "steer" | "queue";
|
|
173
180
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
174
181
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
175
|
-
readonly
|
|
182
|
+
readonly time: {
|
|
183
|
+
readonly created: DateTime.Utc;
|
|
184
|
+
};
|
|
176
185
|
}, NotFoundError | PromptConflictError | import("./error.js").AttachmentError | import("./error.js").SkillNotFoundError, never>;
|
|
177
186
|
synthetic: (input: {
|
|
178
187
|
id?: SessionMessage.ID;
|
|
@@ -193,14 +202,16 @@ export declare const make: () => Effect.Effect<{
|
|
|
193
202
|
readonly delivery: "steer" | "queue";
|
|
194
203
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
195
204
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
196
|
-
readonly
|
|
205
|
+
readonly time: {
|
|
206
|
+
readonly created: DateTime.Utc;
|
|
207
|
+
};
|
|
197
208
|
}, NotFoundError | SyntheticConflictError, never>;
|
|
198
209
|
shell: (input: {
|
|
199
|
-
id?:
|
|
210
|
+
id?: SessionMessage.ID;
|
|
200
211
|
command: string;
|
|
201
212
|
}) => Effect.Effect<void, NotFoundError, never>;
|
|
202
213
|
skill: (input: {
|
|
203
|
-
|
|
214
|
+
messageID?: SessionMessage.ID;
|
|
204
215
|
skill: Skill.ID;
|
|
205
216
|
resume?: boolean;
|
|
206
217
|
}) => Effect.Effect<void, NotFoundError | import("./error.js").SkillNotFoundError, never>;
|
|
@@ -213,12 +224,14 @@ export declare const make: () => Effect.Effect<{
|
|
|
213
224
|
readonly delivery: "steer" | "queue";
|
|
214
225
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
215
226
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
216
|
-
readonly
|
|
227
|
+
readonly time: {
|
|
228
|
+
readonly created: DateTime.Utc;
|
|
229
|
+
};
|
|
217
230
|
}, NotFoundError | CompactionConflictError, never>;
|
|
218
231
|
wait: () => Effect.Effect<void, NotFoundError, never>;
|
|
219
232
|
resume: () => Effect.Effect<void, NotFoundError | import("./runner/index.js").RunError, never>;
|
|
220
233
|
interrupt: (options?: {
|
|
221
|
-
readonly
|
|
234
|
+
readonly resume?: boolean;
|
|
222
235
|
} | undefined) => Effect.Effect<boolean, never, never>;
|
|
223
236
|
cancelInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void, NotFoundError | InboxConflictError, never>;
|
|
224
237
|
steerInbox: (inboxID: string & import("effect/Brand").Brand<"Session.Message.ID">) => Effect.Effect<void, NotFoundError | InboxConflictError, never>;
|
|
@@ -693,7 +693,7 @@ export declare const SessionMessageTable: import("drizzle-orm/sqlite-core").SQLi
|
|
|
693
693
|
name: string;
|
|
694
694
|
tableName: "session_message";
|
|
695
695
|
dataType: "string";
|
|
696
|
-
data: "compaction" | "system" | "skill" | "shell" | "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "assistant";
|
|
696
|
+
data: "compaction" | "system" | "skill" | "shell" | "agent-switched" | "model-switched" | "location-switched" | "user" | "synthetic" | "assistant" | "idle";
|
|
697
697
|
driverParam: string;
|
|
698
698
|
notNull: true;
|
|
699
699
|
hasDefault: false;
|
|
@@ -895,7 +895,18 @@ export declare const Data: Schema.Struct<{
|
|
|
895
895
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
896
896
|
}>;
|
|
897
897
|
readonly type: Schema.tag<"compaction">;
|
|
898
|
-
}>]
|
|
898
|
+
}>]>, Schema.Struct<{
|
|
899
|
+
readonly type: Schema.tag<"idle">;
|
|
900
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "failed", "interrupted"]>;
|
|
901
|
+
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
902
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
903
|
+
fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
904
|
+
};
|
|
905
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
906
|
+
readonly time: Schema.Struct<{
|
|
907
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
908
|
+
}>;
|
|
909
|
+
}>]>>;
|
|
899
910
|
}>;
|
|
900
911
|
export type Data = SessionTransfer.Data;
|
|
901
912
|
declare const ImportConflictError_base: Schema.Class<ImportConflictError, Schema.TaggedStruct<"SessionTransfer.ImportConflictError", {
|
package/dist/types/session.d.ts
CHANGED
|
@@ -20,7 +20,9 @@ import { SessionGenerate } from "./session/generate.js";
|
|
|
20
20
|
import { SessionMove, DestinationNotFoundError, DestinationNotDirectoryError, DestinationUnavailableError } from "./session/move.js";
|
|
21
21
|
import { Snapshot } from "./snapshot.js";
|
|
22
22
|
import { Session } from "./session/session.js";
|
|
23
|
+
import { TurnRangeError } from "./session/diff.js";
|
|
23
24
|
import type { EventLog } from "@opencode/schema/event-log";
|
|
25
|
+
import type { FileDiff } from "@opencode/schema/file-diff";
|
|
24
26
|
import type { Command } from "./command.js";
|
|
25
27
|
import { SessionEnvironment } from "./session/environment.js";
|
|
26
28
|
export { ListAnchor };
|
|
@@ -111,7 +113,7 @@ type CompactInput = Parameters<Session.Handle["compact"]>[0] & {
|
|
|
111
113
|
};
|
|
112
114
|
type ForkInput = {
|
|
113
115
|
sessionID: SessionSchema.ID;
|
|
114
|
-
|
|
116
|
+
before?: SessionMessage.ID;
|
|
115
117
|
};
|
|
116
118
|
export { AttachmentError, BusyError, CompactionConflictError, InboxConflictError, MessageDecodeError, MessageNotFoundError, NotFoundError, PromptConflictError, SkillNotFoundError, SyntheticConflictError, };
|
|
117
119
|
type InboxItemRef = {
|
|
@@ -119,6 +121,7 @@ type InboxItemRef = {
|
|
|
119
121
|
readonly inboxID: SessionMessage.ID;
|
|
120
122
|
};
|
|
121
123
|
export { DestinationNotFoundError, DestinationNotDirectoryError, DestinationUnavailableError };
|
|
124
|
+
export { TurnRangeError };
|
|
122
125
|
export interface Interface {
|
|
123
126
|
readonly list: (input?: ListInput) => Effect.Effect<{
|
|
124
127
|
readonly data: SessionSchema.Info[];
|
|
@@ -141,6 +144,13 @@ export interface Interface {
|
|
|
141
144
|
messageID: SessionMessage.ID;
|
|
142
145
|
}) => Effect.Effect<SessionMessage.Info | undefined>;
|
|
143
146
|
readonly context: (sessionID: SessionSchema.ID) => Effect.Effect<SessionMessage.Info[], NotFoundError | MessageDecodeError>;
|
|
147
|
+
/** Structured diffs of the files changed by a turn or range of turns; see `SessionDiff.turn`. */
|
|
148
|
+
readonly diff: (input: {
|
|
149
|
+
readonly sessionID: SessionSchema.ID;
|
|
150
|
+
readonly from?: SessionMessage.ID;
|
|
151
|
+
readonly to?: SessionMessage.ID;
|
|
152
|
+
readonly context?: number;
|
|
153
|
+
}) => Effect.Effect<readonly FileDiff.Info[], NotFoundError | MessageNotFoundError | TurnRangeError | Snapshot.Error>;
|
|
144
154
|
/**
|
|
145
155
|
* Durable admitted session work not yet visible in projected history,
|
|
146
156
|
* ordered by admission. Includes unpromoted user and synthetic inputs and
|
|
@@ -208,7 +218,7 @@ export interface Interface {
|
|
|
208
218
|
readonly background: (sessionID: SessionSchema.ID) => Effect.Effect<void, NotFoundError>;
|
|
209
219
|
readonly resume: (sessionID: SessionSchema.ID) => Effect.Effect<void, NotFoundError | SessionRunner.RunError>;
|
|
210
220
|
readonly interrupt: (sessionID: SessionSchema.ID, options?: {
|
|
211
|
-
readonly
|
|
221
|
+
readonly resume?: boolean;
|
|
212
222
|
}) => Effect.Effect<boolean>;
|
|
213
223
|
readonly synthetic: (input: Parameters<Session.Handle["synthetic"]>[0] & {
|
|
214
224
|
sessionID: SessionSchema.ID;
|