@opencode/core 0.0.0-dev-21003 → 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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{reference-yn5sjats.js → aisdk-0ft0yr9w.js} +6 -6
- package/dist/chunks/{reference-q0xm7vwc.js → aisdk-0j77ygfz.js} +6 -6
- package/dist/chunks/{reference-dzse07y5.js → aisdk-0jkw1j53.js} +5 -5
- package/dist/chunks/{reference-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
- package/dist/chunks/{reference-07770t2t.js → aisdk-0w62qmxp.js} +6 -6
- package/dist/chunks/{reference-j6wkh22k.js → aisdk-175je098.js} +13 -13
- package/dist/chunks/{reference-g57505q5.js → aisdk-1besy32e.js} +11 -11
- package/dist/chunks/{reference-fnrmyyfx.js → aisdk-1nnhzer0.js} +13 -13
- package/dist/chunks/{reference-sxw208y2.js → aisdk-1ryh243x.js} +7 -7
- package/dist/chunks/{reference-nts5xxr4.js → aisdk-1x9qgtwf.js} +4 -4
- package/dist/chunks/aisdk-1yt1z7t3.js +253 -0
- package/dist/chunks/{reference-qby9dwvd.js → aisdk-22sd1qqc.js} +8 -8
- package/dist/chunks/{reference-7wzym38v.js → aisdk-24nt8bd8.js} +43 -42
- package/dist/chunks/{reference-4pw1s8mb.js → aisdk-26r1cp2c.js} +8 -8
- package/dist/chunks/{reference-bacyadyn.js → aisdk-277eer69.js} +4 -4
- package/dist/chunks/{reference-3fk86aw7.js → aisdk-2c0fecmm.js} +4 -4
- package/dist/chunks/{reference-cpc5j1az.js → aisdk-2edpkczn.js} +10 -10
- package/dist/chunks/{reference-jpg3m0rz.js → aisdk-2k4yddvp.js} +6 -6
- package/dist/chunks/{reference-7w8dwfyw.js → aisdk-2rg3ypq9.js} +71 -71
- package/dist/chunks/{reference-h7s7r6s9.js → aisdk-31xfzrxg.js} +5 -5
- package/dist/chunks/{reference-0j98sf6a.js → aisdk-320m6bvr.js} +15 -15
- package/dist/chunks/{reference-r0eebq39.js → aisdk-336bt5mt.js} +13 -13
- package/dist/chunks/{reference-e330pyve.js → aisdk-365avqd2.js} +16 -16
- package/dist/chunks/{reference-wsn7wktm.js → aisdk-36asfxsj.js} +25 -25
- package/dist/chunks/{reference-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3hwn7j4h.js → aisdk-3hwn7j4h.js} +2 -2
- package/dist/chunks/{reference-045azavn.js → aisdk-3nba0ncb.js} +4 -4
- package/dist/chunks/{reference-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-k0w1apbg.js → aisdk-461nxmbv.js} +5 -5
- package/dist/chunks/{reference-gqrspt88.js → aisdk-4644t75q.js} +7 -7
- package/dist/chunks/{reference-ybmjar5a.js → aisdk-48pevnde.js} +4 -4
- package/dist/chunks/{reference-mq8pyd3z.js → aisdk-4g566920.js} +20 -20
- package/dist/chunks/{reference-y3emh7vm.js → aisdk-4ktppzyc.js} +20 -20
- package/dist/chunks/{reference-73qsq1xc.js → aisdk-4kxdvvn7.js} +1 -1
- package/dist/chunks/{reference-knevfgda.js → aisdk-4v7ngy20.js} +4 -4
- package/dist/chunks/{reference-st5htmmp.js → aisdk-517c0j3a.js} +8 -8
- package/dist/chunks/{reference-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
- package/dist/chunks/{reference-7bep4ber.js → aisdk-562rv7bx.js} +45 -45
- package/dist/chunks/{reference-yrcj3v3g.js → aisdk-5dkn69vz.js} +4 -4
- package/dist/chunks/{reference-3a63wq34.js → aisdk-5g0qe9a8.js} +25 -25
- package/dist/chunks/{reference-d3n9z6py.js → aisdk-5gayeh3h.js} +27 -27
- package/dist/chunks/{reference-y3j594wr.js → aisdk-5hd7zffw.js} +24 -24
- package/dist/chunks/{reference-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-gh1krvjx.js → aisdk-5qpywvrf.js} +5 -5
- package/dist/chunks/{reference-epev154h.js → aisdk-5whdm1cm.js} +5 -5
- package/dist/chunks/{reference-65mpxnxp.js → aisdk-5xnb4j2b.js} +25 -25
- package/dist/chunks/{reference-p4mj4rdp.js → aisdk-5yzzbxa7.js} +8 -8
- package/dist/chunks/{reference-feat9d3m.js → aisdk-5zfh5grb.js} +16 -16
- package/dist/chunks/aisdk-619r8v3y.js +18 -0
- package/dist/chunks/{reference-nj1fyrr5.js → aisdk-69w9nwc9.js} +9 -9
- package/dist/chunks/{reference-b6keqepk.js → aisdk-6a78g3gj.js} +12 -12
- package/dist/chunks/{reference-jk540des.js → aisdk-6g107h22.js} +2 -2
- package/dist/chunks/{reference-aeccth9c.js → aisdk-6s1dab92.js} +9 -9
- package/dist/chunks/{reference-ygcyyk2q.js → aisdk-6t5yvsqf.js} +31 -31
- package/dist/chunks/{reference-5p5gqk74.js → aisdk-6wy3h861.js} +15 -15
- package/dist/chunks/{reference-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
- package/dist/chunks/{reference-mb14aw74.js → aisdk-706phk7x.js} +2 -2
- package/dist/chunks/{reference-775gj3j1.js → aisdk-775gj3j1.js} +2 -2
- package/dist/chunks/{reference-ex32qt72.js → aisdk-7b7phb11.js} +20 -20
- package/dist/chunks/{reference-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-g1wkew17.js → aisdk-7ckjrabt.js} +24 -24
- package/dist/chunks/{reference-9wq61tcj.js → aisdk-7dgwhepd.js} +5 -5
- package/dist/chunks/{reference-hs41a4tz.js → aisdk-7gbf977a.js} +11 -11
- package/dist/chunks/{reference-twq12gq3.js → aisdk-7h0wf518.js} +20 -20
- package/dist/chunks/{reference-8vrmbnrg.js → aisdk-7hq2xq6d.js} +8 -8
- package/dist/chunks/{reference-05qzyfy0.js → aisdk-7mdm34a6.js} +12 -12
- package/dist/chunks/{reference-5mdamk89.js → aisdk-7mnjq4d7.js} +18 -18
- package/dist/chunks/{reference-hkm4q0k4.js → aisdk-7ndqc6qy.js} +6 -6
- package/dist/chunks/{reference-vxrvct7x.js → aisdk-7trecd3h.js} +9 -9
- package/dist/chunks/{reference-r8ebydnz.js → aisdk-7tven9c0.js} +9 -9
- package/dist/chunks/{reference-6dh0zb0s.js → aisdk-7vtykagd.js} +7 -7
- package/dist/chunks/{reference-69pqp2ta.js → aisdk-7vv9z2ed.js} +4 -4
- package/dist/chunks/{reference-84txncab.js → aisdk-84txncab.js} +1 -1
- package/dist/chunks/{reference-vyjxqysr.js → aisdk-858m0wch.js} +12 -12
- package/dist/chunks/{reference-w260pzdb.js → aisdk-85zvhnyw.js} +14 -14
- package/dist/chunks/{reference-xg451pjv.js → aisdk-886p3wav.js} +15 -15
- package/dist/chunks/{reference-tgv0byre.js → aisdk-8aysegkf.js} +41 -41
- package/dist/chunks/{reference-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
- package/dist/chunks/{reference-4fx8cncx.js → aisdk-8n9eerv3.js} +13 -13
- package/dist/chunks/{reference-azsz2md7.js → aisdk-8p19n2xp.js} +5 -5
- package/dist/chunks/{reference-3fax4j2d.js → aisdk-8t76jbpz.js} +9 -9
- package/dist/chunks/{reference-j09zfasm.js → aisdk-91qna3x0.js} +3 -3
- package/dist/chunks/{reference-qp4vhx24.js → aisdk-92n1m1fa.js} +14 -14
- package/dist/chunks/{reference-3m53d28j.js → aisdk-9910eere.js} +11 -11
- package/dist/chunks/{reference-7x8122dn.js → aisdk-acxqcypa.js} +18 -18
- package/dist/chunks/{reference-addxnjmp.js → aisdk-addxnjmp.js} +1 -1
- package/dist/chunks/{reference-pnqhs0ew.js → aisdk-anfg2bq0.js} +315 -315
- package/dist/chunks/{reference-6d7dy7s4.js → aisdk-anrd6afq.js} +7 -7
- package/dist/chunks/{reference-0yjtcscn.js → aisdk-arderc4p.js} +16 -16
- package/dist/chunks/{reference-8rqycdgd.js → aisdk-b27vhd2z.js} +7 -7
- package/dist/chunks/{reference-z5wabbt8.js → aisdk-b5wmejpr.js} +23 -23
- package/dist/chunks/{reference-dv357ym8.js → aisdk-b9jm2ncp.js} +75 -75
- package/dist/chunks/{reference-xstzgqxx.js → aisdk-be25vhzd.js} +12 -12
- package/dist/chunks/{reference-0f0tjfsd.js → aisdk-bf08y2sg.js} +17 -17
- package/dist/chunks/{reference-w3x9v1nk.js → aisdk-bhfpg5wx.js} +8 -8
- package/dist/chunks/{reference-3espnbnx.js → aisdk-bj2bytkv.js} +8 -8
- package/dist/chunks/{reference-ywt8jp22.js → aisdk-bjx1sjef.js} +9 -9
- package/dist/chunks/{reference-rj3eygr5.js → aisdk-c41wscbt.js} +2 -2
- package/dist/chunks/{reference-22vjgegp.js → aisdk-c7mxpfa1.js} +3 -3
- package/dist/chunks/{reference-akjh0ytn.js → aisdk-c86e41aq.js} +3 -3
- package/dist/chunks/{reference-sa8ekw3f.js → aisdk-c8ax2afj.js} +2 -2
- package/dist/chunks/{reference-vw1awvyn.js → aisdk-cddbd36g.js} +24 -24
- package/dist/chunks/{reference-3a1k2atw.js → aisdk-cydzxar4.js} +13 -13
- package/dist/chunks/{reference-d606da0a.js → aisdk-czt16v0h.js} +20 -20
- package/dist/chunks/{reference-rwnpnfnn.js → aisdk-d6nd3jxb.js} +5 -5
- package/dist/chunks/{reference-11ewysrm.js → aisdk-d7cgkmja.js} +11 -11
- package/dist/chunks/{reference-mfcg9zf8.js → aisdk-dg8gqthx.js} +14 -14
- package/dist/chunks/{reference-4jfd8c3z.js → aisdk-dh73y53h.js} +1 -1
- package/dist/chunks/{reference-g6q9qykm.js → aisdk-djszqvmq.js} +9 -9
- package/dist/chunks/{reference-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
- package/dist/chunks/{reference-ea3x7rwa.js → aisdk-dqvyxd2t.js} +14 -14
- package/dist/chunks/{reference-dqxsqydv.js → aisdk-dqxsqydv.js} +1 -1
- package/dist/chunks/{reference-5qd3pb7m.js → aisdk-e3qxr5gk.js} +2 -2
- package/dist/chunks/{reference-e80seqcp.js → aisdk-e80seqcp.js} +1 -1
- package/dist/chunks/{reference-eej6y6fw.js → aisdk-eej6y6fw.js} +2 -2
- package/dist/chunks/{reference-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-05k2b1xp.js → aisdk-ejsmjn7x.js} +11 -11
- package/dist/chunks/{reference-st8026tp.js → aisdk-ekz6r8mk.js} +16 -16
- package/dist/chunks/{reference-ghmgawy4.js → aisdk-erbh5zzh.js} +14 -14
- package/dist/chunks/{reference-c1fqxshp.js → aisdk-es1vcfrp.js} +3 -3
- package/dist/chunks/{reference-w1b1nwq4.js → aisdk-f7wzesye.js} +20 -20
- package/dist/chunks/{reference-cpjvpb3f.js → aisdk-fb0560r9.js} +4 -4
- package/dist/chunks/{reference-qgn6gcr1.js → aisdk-fcrkznn8.js} +5 -5
- package/dist/chunks/{reference-khmqacep.js → aisdk-fxaymqdw.js} +4 -4
- package/dist/chunks/{reference-63fpqb2s.js → aisdk-g7gkzvvb.js} +22 -22
- package/dist/chunks/{reference-hgag3gzg.js → aisdk-g96e57nb.js} +13 -13
- package/dist/chunks/{reference-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-98nkzpyj.js → aisdk-gm44sk89.js} +4 -4
- package/dist/chunks/{reference-j3zdfp7k.js → aisdk-gmcs4n02.js} +1 -1
- package/dist/chunks/{reference-67wx5dm0.js → aisdk-h1q8jnec.js} +34 -34
- package/dist/chunks/{reference-gh545k69.js → aisdk-h6fg8q0q.js} +26 -26
- package/dist/chunks/{reference-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-hgz4x7wa.js → aisdk-hgz4x7wa.js} +1 -1
- package/dist/chunks/{reference-zfy1gwfz.js → aisdk-hjec5844.js} +9 -9
- package/dist/chunks/{reference-dckhq1hb.js → aisdk-hk8qf1ba.js} +9 -9
- package/dist/chunks/{reference-kqx1b4hy.js → aisdk-hqhp0zxs.js} +4 -4
- package/dist/chunks/{reference-5h88vxg7.js → aisdk-jawwkm55.js} +30 -30
- package/dist/chunks/{reference-s15r0dtj.js → aisdk-jdgav92x.js} +23 -23
- package/dist/chunks/{reference-pnzf6mjf.js → aisdk-jhdf29st.js} +1 -1
- package/dist/chunks/{reference-q0nrsbdj.js → aisdk-jpb42pwq.js} +10 -10
- package/dist/chunks/{reference-f7avxq1w.js → aisdk-jrbwspxf.js} +34 -34
- package/dist/chunks/{reference-d9vgm7je.js → aisdk-jyntbr3k.js} +2 -2
- package/dist/chunks/aisdk-k0c4p5kd.js +26 -0
- package/dist/chunks/{reference-tbwt21ap.js → aisdk-k1rdhcyh.js} +21 -21
- package/dist/chunks/{reference-baaqp4zd.js → aisdk-k76fn4kw.js} +4 -4
- package/dist/chunks/{reference-nsv0y1w2.js → aisdk-k8jvzrwv.js} +28 -28
- package/dist/chunks/{reference-3x2feh1y.js → aisdk-kfa5xe3b.js} +46 -46
- package/dist/chunks/{reference-ph7ntgm1.js → aisdk-khm3esh1.js} +13 -13
- package/dist/chunks/{reference-9nw2ws3v.js → aisdk-kmnb828p.js} +9 -9
- package/dist/chunks/{reference-4xnzgvdv.js → aisdk-kp9cc527.js} +33 -33
- package/dist/chunks/{reference-ej4ab3hk.js → aisdk-m9tvgbxh.js} +13 -13
- package/dist/chunks/{reference-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-h8brdaj3.js → aisdk-mfxg20sq.js} +18 -18
- package/dist/chunks/{reference-ekmm8y3n.js → aisdk-mhasz1kk.js} +18 -18
- package/dist/chunks/{reference-zrxnpg3c.js → aisdk-mne8yjzc.js} +27 -27
- package/dist/chunks/{reference-4pjps8v2.js → aisdk-mvk40rx3.js} +50 -50
- package/dist/chunks/{reference-c2sed5cq.js → aisdk-n7d88tpn.js} +2 -2
- package/dist/chunks/{reference-e2znmbmd.js → aisdk-n9kwckp6.js} +120 -120
- package/dist/chunks/{reference-a873kzar.js → aisdk-nryfw457.js} +11 -11
- package/dist/chunks/{reference-pz7v2etc.js → aisdk-nx80r8mj.js} +3 -3
- package/dist/chunks/{reference-4my8r6he.js → aisdk-ny14mhqf.js} +6 -6
- package/dist/chunks/{reference-5563pnry.js → aisdk-nz68rjzz.js} +27 -27
- package/dist/chunks/{reference-2wt7exxd.js → aisdk-p463a5js.js} +22 -22
- package/dist/chunks/{reference-smzrgrqh.js → aisdk-p5881kk5.js} +10 -10
- package/dist/chunks/{reference-kpnh5rdh.js → aisdk-p7h48vns.js} +24 -24
- package/dist/chunks/{reference-9c7asnz7.js → aisdk-p7x95z9c.js} +22 -22
- package/dist/chunks/{reference-hw5hqadp.js → aisdk-phrp6p9p.js} +13 -13
- package/dist/chunks/{reference-80z0vyq9.js → aisdk-phz50fbd.js} +9 -9
- package/dist/chunks/{reference-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-mv3hx7wz.js → aisdk-pkj8hqbd.js} +9 -9
- package/dist/chunks/{reference-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{reference-m0vm465r.js → aisdk-pm7rb62s.js} +12 -12
- package/dist/chunks/{reference-s1kvmffy.js → aisdk-prq7hedt.js} +9 -9
- package/dist/chunks/{reference-q8zknr33.js → aisdk-ptm6zg7e.js} +4 -4
- package/dist/chunks/{reference-z6shxvkg.js → aisdk-pvpwwz14.js} +4 -4
- package/dist/chunks/{reference-t8sv6mhx.js → aisdk-pwm71fpt.js} +11 -11
- package/dist/chunks/{reference-z9x144hn.js → aisdk-pxhapvbp.js} +29 -29
- package/dist/chunks/{reference-w92k2e0p.js → aisdk-py3kkmfq.js} +8 -8
- package/dist/chunks/{reference-35ng7dkh.js → aisdk-q4fmv0xv.js} +5 -5
- package/dist/chunks/{reference-6dp98m1b.js → aisdk-q6y4xd80.js} +11 -11
- package/dist/chunks/{reference-hvr28mne.js → aisdk-q75zv39y.js} +11 -11
- package/dist/chunks/{reference-15k4azwb.js → aisdk-q829ppmn.js} +7 -7
- package/dist/chunks/{reference-qbant2sw.js → aisdk-qbtfqa8n.js} +34 -34
- package/dist/chunks/{reference-ry7dydwt.js → aisdk-qdz5kzjt.js} +7 -7
- package/dist/chunks/{reference-hywf2c4r.js → aisdk-qek94as6.js} +11 -11
- package/dist/chunks/{reference-4b6jte38.js → aisdk-qgbrgq2v.js} +13 -13
- package/dist/chunks/{reference-8sw4wp74.js → aisdk-qgkx2jy9.js} +11 -11
- package/dist/chunks/{reference-dsqe59pg.js → aisdk-qhr2m0ep.js} +15 -15
- package/dist/chunks/{reference-d7x4wa82.js → aisdk-qjf34qp8.js} +8 -8
- package/dist/chunks/{reference-1w3r4bph.js → aisdk-qjrg9a9h.js} +4 -4
- package/dist/chunks/{reference-eqrps7ff.js → aisdk-qjthctvt.js} +1 -1
- package/dist/chunks/{reference-kj7j5fxd.js → aisdk-qk0y1qkc.js} +36 -36
- package/dist/chunks/{reference-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
- package/dist/chunks/{reference-yv5nr5jj.js → aisdk-qp9zqy8y.js} +11 -11
- package/dist/chunks/{reference-c85twgwa.js → aisdk-qqf4dp9r.js} +10 -10
- package/dist/chunks/{reference-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-y1w1rhnk.js → aisdk-qttzb7x8.js} +1 -1
- package/dist/chunks/{reference-gjr9q959.js → aisdk-r0nk0p6g.js} +24 -24
- package/dist/chunks/{reference-5jvj1mv1.js → aisdk-rbtqkbmf.js} +14 -14
- package/dist/chunks/{reference-sn87wmz8.js → aisdk-rd57npgt.js} +12 -12
- package/dist/chunks/{reference-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-es4zr9pq.js → aisdk-re585wd9.js} +8 -8
- package/dist/chunks/{reference-v5zagma4.js → aisdk-rm2vb102.js} +3 -3
- package/dist/chunks/{reference-h5m7e0fe.js → aisdk-rpjgfq5s.js} +9 -9
- package/dist/chunks/{reference-fbzf1q28.js → aisdk-s2twap76.js} +3 -3
- package/dist/chunks/{reference-e09akz1d.js → aisdk-s4mbn964.js} +29 -29
- package/dist/chunks/{reference-v8ys44m2.js → aisdk-s8v304em.js} +19 -19
- package/dist/chunks/{reference-1thc74wz.js → aisdk-sa6vc7k5.js} +13 -13
- package/dist/chunks/{reference-wecqtg5s.js → aisdk-scgrse2b.js} +5 -5
- package/dist/chunks/{reference-5srtxftc.js → aisdk-sdmdcrw9.js} +14 -14
- package/dist/chunks/{reference-ngyrtr94.js → aisdk-setc7ajv.js} +9 -9
- package/dist/chunks/{reference-xrdz75pd.js → aisdk-sg2v8j4q.js} +27 -27
- package/dist/chunks/{reference-syv4x271.js → aisdk-syv4x271.js} +1 -1
- package/dist/chunks/{reference-szmcdvhr.js → aisdk-t2pq6zw8.js} +18 -18
- package/dist/chunks/{reference-rhjbct0v.js → aisdk-t550f9t1.js} +4 -4
- package/dist/chunks/{reference-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{reference-xwmnfh3r.js → aisdk-tga0nja1.js} +29 -29
- package/dist/chunks/{reference-q41vf2xe.js → aisdk-thwz582m.js} +18 -18
- package/dist/chunks/{reference-rert0e01.js → aisdk-tkb22qbm.js} +2 -2
- package/dist/chunks/{reference-tm0kqsz3.js → aisdk-tm0kqsz3.js} +1 -1
- package/dist/chunks/{reference-11a129ht.js → aisdk-tm8amqmt.js} +11 -11
- package/dist/chunks/{reference-1bmjn0qh.js → aisdk-tmfxf5e7.js} +11 -11
- package/dist/chunks/{reference-9dwgfb1r.js → aisdk-tsxt64vg.js} +13 -13
- package/dist/chunks/{reference-tyytaxap.js → aisdk-tyytaxap.js} +1 -1
- package/dist/chunks/{reference-fpr0n1zf.js → aisdk-tz8b7tyw.js} +10 -10
- package/dist/chunks/{reference-v0es1rhs.js → aisdk-v0es1rhs.js} +2 -2
- package/dist/chunks/{reference-sqwzxhmw.js → aisdk-v3xd9sm1.js} +18 -18
- package/dist/chunks/{reference-v7p4zvkq.js → aisdk-v7p4zvkq.js} +2 -2
- package/dist/chunks/{reference-nc4qeq29.js → aisdk-vdc3n46x.js} +4 -4
- package/dist/chunks/{reference-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-n0r2pe7t.js → aisdk-vkn90r97.js} +21 -21
- package/dist/chunks/{reference-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-1pxz8ven.js → aisdk-w2h15q85.js} +5 -5
- package/dist/chunks/{reference-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-pgcdf3yp.js → aisdk-w7e5kpev.js} +43 -43
- package/dist/chunks/{reference-r81p8d0w.js → aisdk-wa7335xs.js} +10 -10
- package/dist/chunks/{reference-kna3qw76.js → aisdk-wbkvhq24.js} +44 -44
- package/dist/chunks/{reference-g7ejj7wn.js → aisdk-wcfkssy8.js} +22 -22
- package/dist/chunks/{reference-nr3t94ek.js → aisdk-wd548sk2.js} +24 -24
- package/dist/chunks/{reference-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{reference-j9mnae36.js → aisdk-we8z2qby.js} +25 -25
- package/dist/chunks/{reference-743qse5p.js → aisdk-wfktfps2.js} +6 -6
- package/dist/chunks/{reference-tdxdfn5s.js → aisdk-wkkz5rq7.js} +11 -11
- package/dist/chunks/{reference-avxp0dmd.js → aisdk-x0j36s06.js} +46 -46
- package/dist/chunks/{reference-dxrd75ee.js → aisdk-x3j5jrq4.js} +22 -22
- package/dist/chunks/{reference-ebjm2wn5.js → aisdk-x5hx00nt.js} +15 -15
- package/dist/chunks/{reference-3kfmszx4.js → aisdk-x8wa486h.js} +23 -23
- package/dist/chunks/{reference-zfa7ynd8.js → aisdk-xdjq0qq8.js} +18 -18
- package/dist/chunks/{reference-57b9ws8p.js → aisdk-xfkkasph.js} +7 -7
- package/dist/chunks/{reference-ys9049bt.js → aisdk-xjt5peaa.js} +24 -24
- package/dist/chunks/{reference-8k0z7ge9.js → aisdk-xk4xmd42.js} +33 -33
- package/dist/chunks/{reference-cs9en2hq.js → aisdk-xnys9azd.js} +14 -14
- package/dist/chunks/{reference-bvvg1rh8.js → aisdk-xr09p91z.js} +25 -25
- package/dist/chunks/{reference-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-9as5mz56.js → aisdk-yc062aj4.js} +25 -25
- package/dist/chunks/{reference-2q15wf76.js → aisdk-yeygkejg.js} +20 -20
- package/dist/chunks/{reference-59n1fapm.js → aisdk-yhb062ff.js} +12 -12
- package/dist/chunks/{reference-1acjjqhc.js → aisdk-yp2x3t23.js} +4 -4
- package/dist/chunks/{reference-rgpm01ny.js → aisdk-ypkbb8va.js} +20 -20
- package/dist/chunks/{reference-81ga0fy1.js → aisdk-yptrx5rd.js} +2 -2
- package/dist/chunks/{reference-2d2g0b80.js → aisdk-ysb2aahv.js} +71 -71
- package/dist/chunks/{reference-zwe1k0ej.js → aisdk-yy6txsae.js} +32 -32
- package/dist/chunks/{reference-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-q0vvbzs6.js → aisdk-z16etnk0.js} +20 -20
- package/dist/chunks/{reference-38y3j0a6.js → aisdk-z54ycqme.js} +2 -2
- package/dist/chunks/{reference-gt5bakd5.js → aisdk-z5xt4pvb.js} +15 -15
- package/dist/chunks/{reference-knr7pyte.js → aisdk-z8f110mj.js} +51 -51
- package/dist/chunks/{reference-9hwaqfsw.js → aisdk-zmr78fwr.js} +5 -5
- package/dist/chunks/{reference-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-pmne06ks.js → aisdk-zrrfg2gv.js} +11 -11
- package/dist/chunks/{reference-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{reference-1b7p194a.js → aisdk-zz0kenfz.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +84 -84
- 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 +120 -120
- 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 +119 -119
- 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 +77 -77
- 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 +366 -366
- 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 +74 -74
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- 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 +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +86 -86
- 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 +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- 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 +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- 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 +100 -100
- package/dist/model.js +94 -94
- package/dist/models-dev.js +101 -101
- 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 +3 -3
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- 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 +151 -151
- 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 +210 -210
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- 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 +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- 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 +3 -3
- package/dist/session/session.js +166 -166
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +112 -112
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- 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 +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/reference-keaa5ges.js +0 -253
- package/dist/chunks/reference-mztsg71c.js +0 -26
- package/dist/chunks/reference-n95b3jav.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → aisdk-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-pyv0edze.js → aisdk-pyv0edze.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-rd57npgt.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info21
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-pwm71fpt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-1ryh243x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./aisdk-24nt8bd8.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-sg2v8j4q.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin38
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin38 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service72;
|
|
35
35
|
const location = yield* Service81;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin38, exports_reference };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./aisdk-175je098.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node84
|
|
8
|
+
} from "./aisdk-1ryh243x.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
Service59,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node61
|
|
15
|
+
} from "./aisdk-6wy3h861.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,9 +32,9 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const store = yield* Service59;
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node84, node61]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service55,
|
|
3
3
|
node57
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-886p3wav.js";
|
|
5
5
|
import {
|
|
6
6
|
Service29,
|
|
7
7
|
node32
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-2rg3ypq9.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service12,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node14
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
29
|
const sessions = yield* Service29;
|
|
30
|
-
const jobs = yield*
|
|
30
|
+
const jobs = yield* Service55;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service12.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
67
|
+
var node14 = Node.makeGlobalNode({
|
|
68
|
+
service: Service12,
|
|
69
|
+
layer: Layer.effect(Service12, make),
|
|
70
70
|
deps: [node32, node57]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service12, node14, exports_subagent_job };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-c41wscbt.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./aisdk-175je098.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-4g566920.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node84
|
|
16
|
+
} from "./aisdk-1ryh243x.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info3,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service17,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
61
|
const location = yield* Service81;
|
|
62
62
|
const bus = yield* Service83;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service17.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node20 = makeLocationNode({
|
|
191
|
+
service: Service17,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node86]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service17, node20, exports_vcs };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-rd57npgt.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-pwm71fpt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options10,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options10 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options10, Spec2, exports_plugin3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer6,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer6, exports_unavailable };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
3
|
Service78,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node81
|
|
5
|
+
} from "./aisdk-be25vhzd.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -16,23 +16,23 @@ import {
|
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
18
|
Service77,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node80
|
|
20
|
+
} from "./aisdk-rd57npgt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node64
|
|
24
|
+
} from "./aisdk-hjec5844.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
29
|
Service76,
|
|
30
|
-
|
|
30
|
+
node79,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-pwm71fpt.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service56,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer23,
|
|
52
|
+
node: () => node58,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service56 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
274
|
+
var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
275
275
|
const providers = yield* Service77;
|
|
276
276
|
const models = yield* Service76;
|
|
277
277
|
const integrations = yield* Service78;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service62;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
282
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -306,7 +306,7 @@ var layer26 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service56.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node58 = makeLocationNode({
|
|
327
|
+
service: Service56,
|
|
328
|
+
layer: layer23,
|
|
329
|
+
deps: [node80, node79, node81, Npm.node, node64]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node58, exports_model_resolver };
|