@opencode/core 0.0.0-dev-21002 → 0.0.0-dev-21005
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{vcs-1tb1v5ev.js → aisdk-0ft0yr9w.js} +6 -6
- package/dist/chunks/{vcs-q0xm7vwc.js → aisdk-0j77ygfz.js} +6 -6
- package/dist/chunks/{vcs-0hf9g8pg.js → aisdk-0jkw1j53.js} +4 -4
- package/dist/chunks/{vcs-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-1fmrbde1.js → aisdk-0w62qmxp.js} +4 -4
- package/dist/chunks/{vcs-ah8rvg4c.js → aisdk-175je098.js} +18 -18
- package/dist/chunks/{vcs-x8y695va.js → aisdk-1besy32e.js} +9 -9
- package/dist/chunks/{vcs-shg4d3s3.js → aisdk-1nnhzer0.js} +18 -18
- package/dist/chunks/{vcs-x4qxakd8.js → aisdk-1ryh243x.js} +14 -14
- package/dist/chunks/{vcs-djtt3s3s.js → aisdk-1x9qgtwf.js} +4 -4
- package/dist/chunks/aisdk-1yt1z7t3.js +253 -0
- package/dist/chunks/{vcs-4w5f3qm5.js → aisdk-22sd1qqc.js} +8 -8
- package/dist/chunks/{vcs-fkkypdmj.js → aisdk-24nt8bd8.js} +52 -51
- package/dist/chunks/{vcs-6be83pym.js → aisdk-26r1cp2c.js} +10 -10
- package/dist/chunks/{vcs-1y283654.js → aisdk-277eer69.js} +4 -4
- package/dist/chunks/{vcs-nj1prxx4.js → aisdk-2c0fecmm.js} +11 -11
- package/dist/chunks/{vcs-hpav9v7j.js → aisdk-2edpkczn.js} +10 -10
- package/dist/chunks/{vcs-mqbt890h.js → aisdk-2k4yddvp.js} +6 -6
- package/dist/chunks/{vcs-cbgrb52t.js → aisdk-2rg3ypq9.js} +92 -92
- package/dist/chunks/{vcs-h7s7r6s9.js → aisdk-31xfzrxg.js} +5 -5
- package/dist/chunks/{vcs-qmfsx01y.js → aisdk-320m6bvr.js} +11 -11
- package/dist/chunks/{vcs-n2n4nd65.js → aisdk-336bt5mt.js} +13 -13
- package/dist/chunks/{vcs-x1ydr56b.js → aisdk-365avqd2.js} +14 -14
- package/dist/chunks/{vcs-0y9178sh.js → aisdk-36asfxsj.js} +23 -23
- package/dist/chunks/{vcs-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → aisdk-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-7my99p8s.js → aisdk-3nba0ncb.js} +4 -4
- package/dist/chunks/{vcs-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-ydkvqwzr.js → aisdk-461nxmbv.js} +5 -5
- package/dist/chunks/{vcs-pvk9h7ye.js → aisdk-4644t75q.js} +7 -7
- package/dist/chunks/{vcs-dek3yszd.js → aisdk-48pevnde.js} +8 -8
- package/dist/chunks/{vcs-nsfmz8tt.js → aisdk-4g566920.js} +31 -31
- package/dist/chunks/{vcs-zw3g3g1x.js → aisdk-4ktppzyc.js} +13 -13
- package/dist/chunks/{vcs-8gt7cws4.js → aisdk-4kxdvvn7.js} +1 -1
- package/dist/chunks/{vcs-x3gqap9d.js → aisdk-4v7ngy20.js} +4 -4
- package/dist/chunks/{vcs-kpfmcdxe.js → aisdk-517c0j3a.js} +9 -9
- package/dist/chunks/{vcs-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-f9eadqnm.js → aisdk-562rv7bx.js} +48 -48
- package/dist/chunks/{vcs-zsr4wwhv.js → aisdk-5dkn69vz.js} +4 -4
- package/dist/chunks/{vcs-z3yra0za.js → aisdk-5g0qe9a8.js} +32 -32
- package/dist/chunks/{vcs-bpwpdmp6.js → aisdk-5gayeh3h.js} +36 -36
- package/dist/chunks/{vcs-yfx3py7k.js → aisdk-5hd7zffw.js} +27 -27
- package/dist/chunks/{vcs-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-zsfebgt3.js → aisdk-5qpywvrf.js} +5 -5
- package/dist/chunks/{vcs-1cyzrn9t.js → aisdk-5whdm1cm.js} +5 -5
- package/dist/chunks/{vcs-2a1faant.js → aisdk-5xnb4j2b.js} +27 -27
- package/dist/chunks/{vcs-tpw6cwsb.js → aisdk-5yzzbxa7.js} +8 -8
- package/dist/chunks/{vcs-j23bpn8n.js → aisdk-5zfh5grb.js} +12 -12
- package/dist/chunks/{vcs-619r8v3y.js → aisdk-619r8v3y.js} +1 -1
- package/dist/chunks/{vcs-y668eja4.js → aisdk-69w9nwc9.js} +7 -7
- package/dist/chunks/{vcs-1jpbcgyh.js → aisdk-6a78g3gj.js} +12 -12
- package/dist/chunks/{vcs-jk540des.js → aisdk-6g107h22.js} +2 -2
- package/dist/chunks/{vcs-3h28gq8t.js → aisdk-6s1dab92.js} +11 -11
- package/dist/chunks/{vcs-rm3jnwwg.js → aisdk-6t5yvsqf.js} +29 -29
- package/dist/chunks/{vcs-mmcd3y25.js → aisdk-6wy3h861.js} +19 -19
- package/dist/chunks/{vcs-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-5pyjqqve.js → aisdk-706phk7x.js} +2 -2
- package/dist/chunks/{vcs-775gj3j1.js → aisdk-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-gher5wzq.js → aisdk-7b7phb11.js} +22 -22
- package/dist/chunks/{vcs-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-q59b6c1g.js → aisdk-7ckjrabt.js} +11 -11
- package/dist/chunks/{vcs-0f1tk7nc.js → aisdk-7dgwhepd.js} +9 -9
- package/dist/chunks/{vcs-6gmz5a5h.js → aisdk-7gbf977a.js} +11 -11
- package/dist/chunks/{vcs-htg2se70.js → aisdk-7h0wf518.js} +20 -20
- package/dist/chunks/{vcs-zn34g9bn.js → aisdk-7hq2xq6d.js} +8 -8
- package/dist/chunks/{vcs-6r24rnsz.js → aisdk-7mdm34a6.js} +18 -18
- package/dist/chunks/{vcs-twy8zm6z.js → aisdk-7mnjq4d7.js} +18 -18
- package/dist/chunks/{vcs-q4f67jkn.js → aisdk-7ndqc6qy.js} +6 -6
- package/dist/chunks/{vcs-4tp410qx.js → aisdk-7trecd3h.js} +9 -9
- package/dist/chunks/{vcs-q97gq07c.js → aisdk-7tven9c0.js} +13 -13
- package/dist/chunks/{vcs-5zmbjzdj.js → aisdk-7vtykagd.js} +9 -9
- package/dist/chunks/{vcs-r4x4sr0r.js → aisdk-7vv9z2ed.js} +4 -4
- package/dist/chunks/{vcs-84txncab.js → aisdk-84txncab.js} +1 -1
- package/dist/chunks/{vcs-fz44abvp.js → aisdk-858m0wch.js} +16 -16
- package/dist/chunks/{vcs-z3q900tv.js → aisdk-85zvhnyw.js} +16 -16
- package/dist/chunks/{vcs-z1hjjtmz.js → aisdk-886p3wav.js} +16 -16
- package/dist/chunks/{vcs-fgpmrr18.js → aisdk-8aysegkf.js} +43 -43
- package/dist/chunks/{vcs-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-z5xtbmpj.js → aisdk-8n9eerv3.js} +13 -13
- package/dist/chunks/{vcs-grp94e1z.js → aisdk-8p19n2xp.js} +5 -5
- package/dist/chunks/{vcs-c4p0ejxz.js → aisdk-8t76jbpz.js} +7 -7
- package/dist/chunks/{vcs-91qna3x0.js → aisdk-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-8b2wme7z.js → aisdk-92n1m1fa.js} +11 -11
- package/dist/chunks/{vcs-21f3b3bt.js → aisdk-9910eere.js} +11 -11
- package/dist/chunks/{vcs-k5k3dna5.js → aisdk-acxqcypa.js} +18 -18
- package/dist/chunks/{vcs-addxnjmp.js → aisdk-addxnjmp.js} +1 -1
- package/dist/chunks/{vcs-v0n06dx3.js → aisdk-anfg2bq0.js} +317 -317
- package/dist/chunks/{vcs-xjph4n23.js → aisdk-anrd6afq.js} +13 -13
- package/dist/chunks/{vcs-n1t890sy.js → aisdk-arderc4p.js} +20 -20
- package/dist/chunks/{vcs-d216944b.js → aisdk-b27vhd2z.js} +7 -7
- package/dist/chunks/{vcs-2k1h8dtt.js → aisdk-b5wmejpr.js} +23 -23
- package/dist/chunks/{vcs-5g4rv73e.js → aisdk-b9jm2ncp.js} +89 -89
- package/dist/chunks/{vcs-avm6ejk6.js → aisdk-be25vhzd.js} +21 -21
- package/dist/chunks/{vcs-pwjkxr2p.js → aisdk-bf08y2sg.js} +19 -19
- package/dist/chunks/{vcs-eeaf82dq.js → aisdk-bhfpg5wx.js} +8 -8
- package/dist/chunks/{vcs-355z8nep.js → aisdk-bj2bytkv.js} +12 -12
- package/dist/chunks/{vcs-ywt8jp22.js → aisdk-bjx1sjef.js} +9 -9
- package/dist/chunks/{vcs-rj3eygr5.js → aisdk-c41wscbt.js} +2 -2
- package/dist/chunks/{vcs-rbf82wfg.js → aisdk-c7mxpfa1.js} +3 -3
- package/dist/chunks/{vcs-40pbfvyp.js → aisdk-c86e41aq.js} +3 -3
- package/dist/chunks/{vcs-sa8ekw3f.js → aisdk-c8ax2afj.js} +2 -2
- package/dist/chunks/{vcs-md7fw8q5.js → aisdk-cddbd36g.js} +24 -24
- package/dist/chunks/{vcs-ztfgfgr6.js → aisdk-cydzxar4.js} +15 -15
- package/dist/chunks/{vcs-hbs8g1ay.js → aisdk-czt16v0h.js} +20 -20
- package/dist/chunks/{vcs-c4zj21p5.js → aisdk-d6nd3jxb.js} +5 -5
- package/dist/chunks/{vcs-xna3ex39.js → aisdk-d7cgkmja.js} +11 -11
- package/dist/chunks/{vcs-1bpgfjg6.js → aisdk-dg8gqthx.js} +14 -14
- package/dist/chunks/{vcs-5n53gnyw.js → aisdk-dh73y53h.js} +1 -1
- package/dist/chunks/{vcs-djszqvmq.js → aisdk-djszqvmq.js} +2 -2
- package/dist/chunks/{vcs-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
- package/dist/chunks/{vcs-yn8db219.js → aisdk-dqvyxd2t.js} +14 -14
- package/dist/chunks/{vcs-dqxsqydv.js → aisdk-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-5qd3pb7m.js → aisdk-e3qxr5gk.js} +2 -2
- package/dist/chunks/{vcs-ed1g29hy.js → aisdk-e80seqcp.js} +3 -3
- package/dist/chunks/{vcs-eej6y6fw.js → aisdk-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-yf6j18bb.js → aisdk-ejsmjn7x.js} +13 -13
- package/dist/chunks/{vcs-1578bcx0.js → aisdk-ekz6r8mk.js} +22 -22
- package/dist/chunks/{vcs-neeg6wsf.js → aisdk-erbh5zzh.js} +11 -11
- package/dist/chunks/{vcs-c1fqxshp.js → aisdk-es1vcfrp.js} +3 -3
- package/dist/chunks/{vcs-bqtfkyfr.js → aisdk-f7wzesye.js} +24 -24
- package/dist/chunks/{vcs-48ene32n.js → aisdk-fb0560r9.js} +4 -4
- package/dist/chunks/{vcs-0jwsre1p.js → aisdk-fcrkznn8.js} +5 -5
- package/dist/chunks/{vcs-khmqacep.js → aisdk-fxaymqdw.js} +4 -4
- package/dist/chunks/{vcs-q7ws7jse.js → aisdk-g7gkzvvb.js} +26 -26
- package/dist/chunks/{vcs-whpwsaa5.js → aisdk-g96e57nb.js} +13 -13
- package/dist/chunks/{vcs-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-s43x1grm.js → aisdk-gm44sk89.js} +4 -4
- package/dist/chunks/{vcs-8gcentdn.js → aisdk-gmcs4n02.js} +3 -3
- package/dist/chunks/{vcs-9tjft692.js → aisdk-h1q8jnec.js} +33 -33
- package/dist/chunks/{vcs-ac9h05bq.js → aisdk-h6fg8q0q.js} +32 -32
- package/dist/chunks/{vcs-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-hgz4x7wa.js → aisdk-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-nh4kxwt0.js → aisdk-hjec5844.js} +9 -9
- package/dist/chunks/{vcs-fs46k7ky.js → aisdk-hk8qf1ba.js} +9 -9
- package/dist/chunks/{vcs-y88c22bj.js → aisdk-hqhp0zxs.js} +4 -4
- package/dist/chunks/{vcs-4bamcyxc.js → aisdk-jawwkm55.js} +27 -27
- package/dist/chunks/{vcs-zw8422t3.js → aisdk-jdgav92x.js} +20 -20
- package/dist/chunks/{vcs-he27pt63.js → aisdk-jhdf29st.js} +1 -1
- package/dist/chunks/{vcs-9vjjhptz.js → aisdk-jpb42pwq.js} +10 -10
- package/dist/chunks/{vcs-5f99jg87.js → aisdk-jrbwspxf.js} +34 -34
- package/dist/chunks/{vcs-dgp81j3t.js → aisdk-jyntbr3k.js} +2 -2
- package/dist/chunks/aisdk-k0c4p5kd.js +26 -0
- package/dist/chunks/{vcs-r7p6qdsv.js → aisdk-k1rdhcyh.js} +23 -23
- package/dist/chunks/{vcs-k76fn4kw.js → aisdk-k76fn4kw.js} +1 -1
- package/dist/chunks/{vcs-k497z0vf.js → aisdk-k8jvzrwv.js} +34 -34
- package/dist/chunks/{vcs-xyf2nmx4.js → aisdk-kfa5xe3b.js} +51 -51
- package/dist/chunks/{vcs-y8k0zd8p.js → aisdk-khm3esh1.js} +15 -15
- package/dist/chunks/{vcs-fz68r6p6.js → aisdk-kmnb828p.js} +9 -9
- package/dist/chunks/{vcs-ez5ycv5n.js → aisdk-kp9cc527.js} +35 -35
- package/dist/chunks/{vcs-4yc8p7kb.js → aisdk-m9tvgbxh.js} +15 -15
- package/dist/chunks/{vcs-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-z6gjdbzs.js → aisdk-mfxg20sq.js} +19 -19
- package/dist/chunks/{vcs-668ztq2j.js → aisdk-mhasz1kk.js} +16 -16
- package/dist/chunks/{vcs-mdyw7nvd.js → aisdk-mne8yjzc.js} +26 -26
- package/dist/chunks/{vcs-ms053xne.js → aisdk-mvk40rx3.js} +50 -50
- package/dist/chunks/{vcs-vx3jgdek.js → aisdk-n7d88tpn.js} +3 -3
- package/dist/chunks/{vcs-tbwe2c9a.js → aisdk-n9kwckp6.js} +137 -137
- package/dist/chunks/{vcs-p8c9e5me.js → aisdk-nryfw457.js} +8 -8
- package/dist/chunks/{vcs-nd1r567p.js → aisdk-nx80r8mj.js} +6 -6
- package/dist/chunks/{vcs-ebv5d12z.js → aisdk-ny14mhqf.js} +8 -8
- package/dist/chunks/{vcs-tg53gppx.js → aisdk-nz68rjzz.js} +30 -30
- package/dist/chunks/{vcs-7914kyvb.js → aisdk-p463a5js.js} +28 -28
- package/dist/chunks/{vcs-pjg2w144.js → aisdk-p5881kk5.js} +12 -12
- package/dist/chunks/{vcs-61bk2h8h.js → aisdk-p7h48vns.js} +26 -26
- package/dist/chunks/{vcs-jvpnvmvq.js → aisdk-p7x95z9c.js} +24 -24
- package/dist/chunks/{vcs-vg9s5fc7.js → aisdk-phrp6p9p.js} +13 -13
- package/dist/chunks/{vcs-g686f6pq.js → aisdk-phz50fbd.js} +9 -9
- package/dist/chunks/{vcs-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-s2z0d44b.js → aisdk-pkj8hqbd.js} +9 -9
- package/dist/chunks/{vcs-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-csz055n1.js → aisdk-pm7rb62s.js} +18 -18
- package/dist/chunks/{vcs-h71w788e.js → aisdk-prq7hedt.js} +9 -9
- package/dist/chunks/{vcs-160vbk35.js → aisdk-ptm6zg7e.js} +6 -6
- package/dist/chunks/{vcs-yg6fz6yh.js → aisdk-pvpwwz14.js} +6 -6
- package/dist/chunks/{vcs-pcyhycxt.js → aisdk-pwm71fpt.js} +21 -21
- package/dist/chunks/{vcs-pp2en8g7.js → aisdk-pxhapvbp.js} +28 -28
- package/dist/chunks/{vcs-8sze2n9a.js → aisdk-py3kkmfq.js} +6 -6
- package/dist/chunks/{vcs-sykc9y4a.js → aisdk-q4fmv0xv.js} +5 -5
- package/dist/chunks/{vcs-9zk4wsj7.js → aisdk-q6y4xd80.js} +13 -13
- package/dist/chunks/{vcs-7zkbhs7g.js → aisdk-q75zv39y.js} +11 -11
- package/dist/chunks/{vcs-fpwpwt2j.js → aisdk-q829ppmn.js} +9 -9
- package/dist/chunks/{vcs-24he9v5v.js → aisdk-qbtfqa8n.js} +34 -34
- package/dist/chunks/{vcs-04gb909q.js → aisdk-qdz5kzjt.js} +7 -7
- package/dist/chunks/{vcs-jdydegya.js → aisdk-qek94as6.js} +11 -11
- package/dist/chunks/{vcs-z6bhmn1n.js → aisdk-qgbrgq2v.js} +8 -8
- package/dist/chunks/{vcs-ysjjvdxz.js → aisdk-qgkx2jy9.js} +13 -13
- package/dist/chunks/{vcs-by48qtem.js → aisdk-qhr2m0ep.js} +15 -15
- package/dist/chunks/{vcs-9cyjs5rw.js → aisdk-qjf34qp8.js} +15 -15
- package/dist/chunks/{vcs-vxj5642t.js → aisdk-qjrg9a9h.js} +4 -4
- package/dist/chunks/{vcs-hk8a3prq.js → aisdk-qjthctvt.js} +1 -1
- package/dist/chunks/{vcs-gwecef78.js → aisdk-qk0y1qkc.js} +40 -40
- package/dist/chunks/{vcs-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-nfkwcmre.js → aisdk-qp9zqy8y.js} +11 -11
- package/dist/chunks/{vcs-sjds2abp.js → aisdk-qqf4dp9r.js} +14 -14
- package/dist/chunks/{vcs-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-1tbax5fx.js → aisdk-qttzb7x8.js} +1 -1
- package/dist/chunks/{vcs-9sp61vrq.js → aisdk-r0nk0p6g.js} +30 -30
- package/dist/chunks/{vcs-dffwzhx3.js → aisdk-rbtqkbmf.js} +14 -14
- package/dist/chunks/{vcs-ddjjpas1.js → aisdk-rd57npgt.js} +22 -22
- package/dist/chunks/{vcs-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-96kj8cwg.js → aisdk-re585wd9.js} +8 -8
- package/dist/chunks/{vcs-n82j69hc.js → aisdk-rm2vb102.js} +3 -3
- package/dist/chunks/{vcs-y16p1w2y.js → aisdk-rpjgfq5s.js} +9 -9
- package/dist/chunks/{vcs-0pavs806.js → aisdk-s2twap76.js} +3 -3
- package/dist/chunks/{vcs-qgnky12e.js → aisdk-s4mbn964.js} +29 -29
- package/dist/chunks/{vcs-25krrqea.js → aisdk-s8v304em.js} +19 -19
- package/dist/chunks/{vcs-af56v9fc.js → aisdk-sa6vc7k5.js} +13 -13
- package/dist/chunks/{vcs-hdkng2sj.js → aisdk-scgrse2b.js} +5 -5
- package/dist/chunks/{vcs-83jvwe6t.js → aisdk-sdmdcrw9.js} +14 -14
- package/dist/chunks/{vcs-yhq47pcp.js → aisdk-setc7ajv.js} +9 -9
- package/dist/chunks/{vcs-zjcy1aag.js → aisdk-sg2v8j4q.js} +29 -29
- package/dist/chunks/{vcs-syv4x271.js → aisdk-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-edq05rv2.js → aisdk-t2pq6zw8.js} +15 -15
- package/dist/chunks/{vcs-s8d7rejh.js → aisdk-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-s7bft2a2.js → aisdk-tga0nja1.js} +32 -32
- package/dist/chunks/{vcs-tzj08y6r.js → aisdk-thwz582m.js} +20 -20
- package/dist/chunks/{vcs-rert0e01.js → aisdk-tkb22qbm.js} +2 -2
- package/dist/chunks/{vcs-tm0kqsz3.js → aisdk-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-xxbenbth.js → aisdk-tm8amqmt.js} +9 -9
- package/dist/chunks/{vcs-3cqwnyj9.js → aisdk-tmfxf5e7.js} +11 -11
- package/dist/chunks/{vcs-djxw1hj9.js → aisdk-tsxt64vg.js} +7 -7
- package/dist/chunks/{vcs-tyytaxap.js → aisdk-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-th6tgexx.js → aisdk-tz8b7tyw.js} +12 -12
- package/dist/chunks/{vcs-v0es1rhs.js → aisdk-v0es1rhs.js} +2 -2
- package/dist/chunks/{vcs-am4ws78j.js → aisdk-v3xd9sm1.js} +18 -18
- package/dist/chunks/{vcs-v7p4zvkq.js → aisdk-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-evsjv0a1.js → aisdk-vdc3n46x.js} +4 -4
- package/dist/chunks/{vcs-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-zezt0m7y.js → aisdk-vkn90r97.js} +30 -30
- package/dist/chunks/{vcs-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-1pxz8ven.js → aisdk-w2h15q85.js} +5 -5
- package/dist/chunks/{vcs-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-re73r274.js → aisdk-w7e5kpev.js} +53 -53
- package/dist/chunks/{vcs-6j6s0xdp.js → aisdk-wa7335xs.js} +12 -12
- package/dist/chunks/{vcs-mbe1eyf2.js → aisdk-wbkvhq24.js} +43 -43
- package/dist/chunks/{vcs-vnew7dg2.js → aisdk-wcfkssy8.js} +24 -24
- package/dist/chunks/{vcs-3d0ff5fp.js → aisdk-wd548sk2.js} +24 -24
- package/dist/chunks/{vcs-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-m9ddf5g9.js → aisdk-we8z2qby.js} +25 -25
- package/dist/chunks/{vcs-v63z3jcx.js → aisdk-wfktfps2.js} +6 -6
- package/dist/chunks/{vcs-ragh3dks.js → aisdk-wkkz5rq7.js} +9 -9
- package/dist/chunks/{vcs-0nrt08cy.js → aisdk-x0j36s06.js} +43 -43
- package/dist/chunks/{vcs-h8xcjdck.js → aisdk-x3j5jrq4.js} +25 -25
- package/dist/chunks/{vcs-fkc59c5t.js → aisdk-x5hx00nt.js} +17 -17
- package/dist/chunks/{vcs-sjzt1pp5.js → aisdk-x8wa486h.js} +35 -35
- package/dist/chunks/{vcs-88gzfjcr.js → aisdk-xdjq0qq8.js} +12 -12
- package/dist/chunks/{vcs-xfkkasph.js → aisdk-xfkkasph.js} +1 -1
- package/dist/chunks/{vcs-c58szjs1.js → aisdk-xjt5peaa.js} +14 -14
- package/dist/chunks/{vcs-7ktkhff1.js → aisdk-xk4xmd42.js} +25 -25
- package/dist/chunks/{vcs-rbhwerj0.js → aisdk-xnys9azd.js} +14 -14
- package/dist/chunks/{vcs-463mk8vn.js → aisdk-xr09p91z.js} +5 -5
- package/dist/chunks/{vcs-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-y12qzxr1.js → aisdk-yc062aj4.js} +31 -31
- package/dist/chunks/{vcs-a7k6dqkw.js → aisdk-yeygkejg.js} +27 -27
- package/dist/chunks/{vcs-ej2rm2ej.js → aisdk-yhb062ff.js} +12 -12
- package/dist/chunks/{vcs-1acjjqhc.js → aisdk-yp2x3t23.js} +4 -4
- package/dist/chunks/{vcs-cqr7kh8r.js → aisdk-ypkbb8va.js} +20 -20
- package/dist/chunks/{vcs-twk45vqh.js → aisdk-yptrx5rd.js} +2 -2
- package/dist/chunks/{vcs-wkybzx6c.js → aisdk-ysb2aahv.js} +71 -71
- package/dist/chunks/{vcs-wd0x0wcx.js → aisdk-yy6txsae.js} +48 -48
- package/dist/chunks/{vcs-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z2nkd1pg.js → aisdk-z16etnk0.js} +23 -23
- package/dist/chunks/{vcs-frmg48nv.js → aisdk-z54ycqme.js} +2 -2
- package/dist/chunks/{vcs-jkf2fp4f.js → aisdk-z5xt4pvb.js} +18 -18
- package/dist/chunks/{vcs-jqvkw7r1.js → aisdk-z8f110mj.js} +58 -58
- package/dist/chunks/{vcs-ygdna4kr.js → aisdk-zmr78fwr.js} +5 -5
- package/dist/chunks/{vcs-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-dss74jhr.js → aisdk-zrrfg2gv.js} +11 -11
- package/dist/chunks/{vcs-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-jpk4djz3.js → aisdk-zz0kenfz.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- 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 +79 -79
- package/dist/database/database.js +76 -76
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +97 -97
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/discovery.d.ts +1 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/vcs-b35pq53q.js +0 -26
- package/dist/chunks/vcs-k1gaen1k.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → aisdk-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → aisdk-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./aisdk-z16etnk0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service53
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-0jkw1j53.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_command3, {
|
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
22
|
const instances = yield* Service53;
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info14,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-n7d88tpn.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service84,
|
|
11
|
+
node87
|
|
12
|
+
} from "./aisdk-qhr2m0ep.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node86
|
|
17
|
+
} from "./aisdk-175je098.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node85
|
|
21
|
+
} from "./aisdk-4g566920.js";
|
|
22
22
|
import {
|
|
23
23
|
Service53,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
node55
|
|
25
|
+
} from "./aisdk-0jkw1j53.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-es1vcfrp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node54
|
|
34
|
+
} from "./aisdk-cddbd36g.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./aisdk-hqhp0zxs.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-mhasz1kk.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node37
|
|
47
|
+
} from "./aisdk-p7x95z9c.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node88
|
|
51
|
+
} from "./aisdk-7gbf977a.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./aisdk-setc7ajv.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service59,
|
|
68
|
+
node61
|
|
69
|
+
} from "./aisdk-6wy3h861.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service55,
|
|
72
|
+
node57
|
|
73
|
+
} from "./aisdk-886p3wav.js";
|
|
74
74
|
import {
|
|
75
75
|
Service50,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
node53
|
|
77
|
+
} from "./aisdk-h1q8jnec.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./aisdk-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service38,
|
|
83
|
+
node41
|
|
84
|
+
} from "./aisdk-1besy32e.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./aisdk-5zfh5grb.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./aisdk-2k4yddvp.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service57,
|
|
93
|
+
node59
|
|
94
|
+
} from "./aisdk-kmnb828p.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service30,
|
|
100
|
+
node33
|
|
101
|
+
} from "./aisdk-w7e5kpev.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service66,
|
|
104
|
+
node68
|
|
105
|
+
} from "./aisdk-bhfpg5wx.js";
|
|
106
106
|
import {
|
|
107
107
|
make14
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./aisdk-xk4xmd42.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./aisdk-517c0j3a.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info14,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError7,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service29,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node32
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service29 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
158
|
+
const bus = yield* Service83;
|
|
159
|
+
const projects = yield* Service82;
|
|
160
160
|
const execution = yield* Service50;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
162
|
+
const transport = yield* Service38;
|
|
163
|
+
const store = yield* Service59;
|
|
164
164
|
const instances = yield* Service53;
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
165
|
+
const moves = yield* Service30;
|
|
166
|
+
const jobs = yield* Service55;
|
|
167
|
+
const environments = yield* Service66;
|
|
168
|
+
const locations = yield* Service57;
|
|
169
169
|
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service29.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError7({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,7 +281,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node32 = Node.makeGlobalNode({
|
|
331
|
+
service: Service29,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
334
|
+
node57,
|
|
335
|
+
node68,
|
|
336
|
+
node87,
|
|
337
|
+
node86,
|
|
338
|
+
node85,
|
|
339
|
+
node53,
|
|
340
|
+
node41,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
node56,
|
|
342
|
+
node61,
|
|
344
343
|
node55,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
344
|
+
node54,
|
|
345
|
+
node33,
|
|
346
|
+
node37,
|
|
347
|
+
node59,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node88
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service29, node32, exports_session };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node71
|
|
9
|
+
} from "./aisdk-wcfkssy8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./aisdk-k8jvzrwv.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service69;
|
|
335
335
|
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node10 = makeLocationNode({ service: Service8, layer, deps: [
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node71] });
|
|
341
341
|
|
|
342
342
|
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node87
|
|
4
|
+
} from "./aisdk-qhr2m0ep.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service75,
|
|
17
|
+
node: () => node78
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service75 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service84).db;
|
|
26
|
+
return Service75.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service75, node78, exports_kv };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./aisdk-rpjgfq5s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service53
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-0jkw1j53.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-619r8v3y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./aisdk-22sd1qqc.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-setc7ajv.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service42
|
|
23
|
+
} from "./aisdk-r0nk0p6g.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -42,7 +42,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
42
42
|
const instances = yield* Service53;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service68;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service42;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service46;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node86
|
|
5
|
+
} from "./aisdk-175je098.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event9,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
Options: () => Options6,
|
|
27
|
+
Service: () => Service47,
|
|
28
28
|
configured: () => configured6,
|
|
29
29
|
layer: () => layer19,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node50
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,18 +39,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event9 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options6 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service47 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var layer19 = (options) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer19 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make19({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer19 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service47.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -103,12 +103,12 @@ var layer19 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
function configured6(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
106
|
+
service: Service47,
|
|
107
107
|
layer: layer19(options),
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node86]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node50 = configured6();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event9, Options6, Service47, layer19, configured6, node50, exports_instruction_discovery };
|