@opencode/core 0.0.0-dev-21045 → 0.0.0-dev-21047
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/{skill-m5hddd6q.js → reference-0170kczj.js} +11 -11
- package/dist/chunks/{skill-z0zyd0ef.js → reference-01es0w8g.js} +11 -11
- package/dist/chunks/{skill-bqxzme6r.js → reference-0sgp6vrq.js} +12 -12
- package/dist/chunks/{skill-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-0wdx92we.js → reference-1311jqsc.js} +19 -19
- package/dist/chunks/{skill-ccwyv0pa.js → reference-132ycjkv.js} +21 -21
- package/dist/chunks/{skill-r8xr0va3.js → reference-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-zrezqavy.js → reference-1fmrbde1.js} +8 -8
- package/dist/chunks/{skill-ajp68dxh.js → reference-1fq98kjr.js} +11 -11
- package/dist/chunks/{skill-9vddtzvp.js → reference-1kwkgjs8.js} +12 -12
- package/dist/chunks/{skill-hftwykng.js → reference-1n7cf0zt.js} +13 -13
- package/dist/chunks/{skill-212xmf9a.js → reference-1qqmef8y.js} +33 -33
- package/dist/chunks/{skill-atavbgkz.js → reference-1wws9p1z.js} +11 -11
- package/dist/chunks/{skill-5br7x87x.js → reference-256smw24.js} +8 -8
- package/dist/chunks/{skill-zmfzsbe1.js → reference-2e24zj1v.js} +3 -3
- package/dist/chunks/{skill-w3x5hx1j.js → reference-2k20t02z.js} +22 -22
- package/dist/chunks/{skill-a2qe2ev9.js → reference-2ktf0ed2.js} +8 -8
- package/dist/chunks/{skill-qecpam0w.js → reference-2sc3sc4p.js} +2 -2
- package/dist/chunks/{skill-5890hqpb.js → reference-2yn5t4yf.js} +34 -34
- package/dist/chunks/{skill-56bnbftg.js → reference-2zmfhp2c.js} +9 -9
- package/dist/chunks/{skill-jxbvv0aw.js → reference-36nn25hb.js} +45 -45
- package/dist/chunks/{skill-3wp61h0g.js → reference-3ec2hwya.js} +13 -13
- package/dist/chunks/{skill-8nca6jp1.js → reference-3emwttkv.js} +12 -12
- package/dist/chunks/{skill-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-h2fjsrzd.js → reference-3fxqyn52.js} +8 -8
- package/dist/chunks/{skill-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3hwn7j4h.js → reference-3hwn7j4h.js} +2 -2
- package/dist/chunks/{skill-1ewrv06v.js → reference-3jxt0407.js} +4 -4
- package/dist/chunks/{skill-65yftmqw.js → reference-3njtpr6j.js} +14 -14
- package/dist/chunks/{skill-8vbzfnhm.js → reference-3q9g49xq.js} +16 -16
- package/dist/chunks/{skill-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-jg8h6zt5.js → reference-48s9929f.js} +14 -14
- package/dist/chunks/{skill-vyr6rcyk.js → reference-4cqhq9mq.js} +19 -19
- package/dist/chunks/{skill-pxkeepf8.js → reference-4f65x4ny.js} +328 -328
- package/dist/chunks/{skill-zy0sdw1z.js → reference-4jfm27c9.js} +11 -11
- package/dist/chunks/{skill-ndzx33k1.js → reference-4t88j5bp.js} +22 -22
- package/dist/chunks/{skill-bw9zjykr.js → reference-51f5btjf.js} +6 -6
- package/dist/chunks/{skill-hqam0wy0.js → reference-51vcra35.js} +11 -11
- package/dist/chunks/{skill-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-gfqyqxhr.js → reference-5527nycg.js} +22 -22
- package/dist/chunks/{skill-nhpkjp8j.js → reference-55t5gfwz.js} +11 -11
- package/dist/chunks/{skill-mrfc6abx.js → reference-5697ag0y.js} +20 -20
- package/dist/chunks/{skill-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-bsg0fcvd.js → reference-5ttccjpc.js} +6 -6
- package/dist/chunks/{skill-y00zfz1c.js → reference-5vxqm9q6.js} +36 -36
- package/dist/chunks/{skill-220zx06x.js → reference-63db42yp.js} +2 -2
- package/dist/chunks/{skill-7rcj81xw.js → reference-63zg3mg5.js} +22 -22
- package/dist/chunks/{skill-81yd02vm.js → reference-65cg4f0c.js} +10 -10
- package/dist/chunks/{skill-cqvw37w8.js → reference-676ffxyw.js} +32 -32
- package/dist/chunks/{skill-bpva2wp7.js → reference-67prdeth.js} +3 -3
- package/dist/chunks/{skill-kthcw1cs.js → reference-6gjn20d2.js} +11 -11
- package/dist/chunks/{skill-ryr25ayn.js → reference-6hh8tjw2.js} +4 -4
- package/dist/chunks/{skill-9sdgvgwq.js → reference-6rbe1m5x.js} +29 -29
- package/dist/chunks/{skill-8bvf1xpb.js → reference-6vrtx8fp.js} +9 -9
- package/dist/chunks/{skill-zbs1jsd6.js → reference-6wg64ttk.js} +3 -3
- package/dist/chunks/{skill-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-axpm0scr.js → reference-74gjv7rp.js} +45 -45
- package/dist/chunks/{skill-775gj3j1.js → reference-775gj3j1.js} +2 -2
- package/dist/chunks/{skill-r9x3d11p.js → reference-78824m1b.js} +12 -12
- package/dist/chunks/{skill-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-0rphmjk3.js → reference-7der4bj9.js} +19 -19
- package/dist/chunks/{skill-0jwsre1p.js → reference-7dqw4kz8.js} +5 -5
- package/dist/chunks/{skill-5gfp0ma2.js → reference-7f4pctag.js} +27 -27
- package/dist/chunks/{skill-0g30ecvz.js → reference-7kcbr8xv.js} +33 -33
- package/dist/chunks/{skill-2ezxh99f.js → reference-7m8vhqjz.js} +3 -3
- package/dist/chunks/{skill-ze76j2m8.js → reference-7qen6kzn.js} +5 -5
- package/dist/chunks/{skill-5hx7d1d6.js → reference-7xyrrtj6.js} +5 -5
- package/dist/chunks/{skill-he27pt63.js → reference-7zt5x37y.js} +1 -1
- package/dist/chunks/{skill-yewrcksy.js → reference-80c1z9kc.js} +15 -15
- package/dist/chunks/{skill-fhy2x42b.js → reference-84d4sta2.js} +37 -37
- package/dist/chunks/{skill-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{skill-5zvv963w.js → reference-85nhzk7w.js} +4 -4
- package/dist/chunks/{skill-bgtr1mty.js → reference-88bhjm42.js} +10 -10
- package/dist/chunks/{skill-dakrqskp.js → reference-8d801c91.js} +11 -11
- package/dist/chunks/{skill-8m6m0r52.js → reference-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-td0n94qx.js → reference-8pedcj79.js} +11 -11
- package/dist/chunks/{skill-j09zfasm.js → reference-91qna3x0.js} +3 -3
- package/dist/chunks/{skill-s2z0d44b.js → reference-97aeaand.js} +4 -4
- package/dist/chunks/{skill-s0ghd5m4.js → reference-9cjp3vjk.js} +11 -11
- package/dist/chunks/{skill-ez6v8vv6.js → reference-9dtek7rd.js} +25 -25
- package/dist/chunks/{skill-j0yywz23.js → reference-9ja41e76.js} +7 -7
- package/dist/chunks/reference-9r6rs471.js +26 -0
- package/dist/chunks/{skill-rndw19bh.js → reference-9v5dq8n9.js} +25 -25
- package/dist/chunks/{skill-4qatf0tw.js → reference-aad9zq7v.js} +13 -13
- package/dist/chunks/{skill-4q7f7q3n.js → reference-agvdfdvn.js} +5 -5
- package/dist/chunks/{skill-fzq0yswt.js → reference-ahz9yk24.js} +14 -14
- package/dist/chunks/{skill-r155yqpy.js → reference-axfvp7va.js} +5 -5
- package/dist/chunks/{skill-djpc0zre.js → reference-axjfn32c.js} +27 -27
- package/dist/chunks/{skill-5kktt8m2.js → reference-azemn7z6.js} +9 -9
- package/dist/chunks/{skill-zag1eh5m.js → reference-azpyr670.js} +14 -14
- package/dist/chunks/{skill-gj71zhbs.js → reference-b674v2dg.js} +5 -5
- package/dist/chunks/{skill-6wes48ct.js → reference-bt0njgmc.js} +17 -17
- package/dist/chunks/reference-by5v678g.js +18 -0
- package/dist/chunks/{skill-rj3eygr5.js → reference-c41wscbt.js} +2 -2
- package/dist/chunks/{skill-bxbwa0gm.js → reference-c74bvw4q.js} +13 -13
- package/dist/chunks/{skill-sa8ekw3f.js → reference-c8ax2afj.js} +2 -2
- package/dist/chunks/{skill-8krm1k23.js → reference-cnzx7642.js} +13 -13
- package/dist/chunks/{skill-3a4mtn8q.js → reference-cqy527p5.js} +8 -8
- package/dist/chunks/{skill-0d0mdbr0.js → reference-crn6sf7s.js} +12 -12
- package/dist/chunks/{skill-h05kb0qd.js → reference-cxy0as94.js} +46 -46
- package/dist/chunks/{skill-snzp8s5d.js → reference-d1bka95m.js} +6 -6
- package/dist/chunks/{skill-g686f6pq.js → reference-d7x0sh0y.js} +9 -9
- package/dist/chunks/{skill-6rsv0a9z.js → reference-d9zmkgd4.js} +20 -20
- package/dist/chunks/{skill-vf7v20ej.js → reference-dfswxmta.js} +20 -20
- package/dist/chunks/{skill-h21k2909.js → reference-djvxnjg8.js} +34 -34
- package/dist/chunks/{skill-dpkg50ah.js → reference-dpkg50ah.js} +1 -1
- package/dist/chunks/{skill-6j7g70nq.js → reference-dq5fx745.js} +28 -28
- package/dist/chunks/{skill-p60bs9yg.js → reference-dqdg7a0v.js} +4 -4
- package/dist/chunks/{skill-dqxsqydv.js → reference-dqxsqydv.js} +1 -1
- package/dist/chunks/{skill-ht13wr3j.js → reference-drqqcwyg.js} +55 -55
- package/dist/chunks/{skill-ft50qagy.js → reference-drqybash.js} +4 -4
- package/dist/chunks/{skill-qqeeq2t9.js → reference-drwq78ky.js} +7 -7
- package/dist/chunks/{skill-c1tsmb8r.js → reference-dxr3qdqn.js} +37 -37
- package/dist/chunks/{skill-72agbcmm.js → reference-dz85ej5f.js} +16 -16
- package/dist/chunks/{skill-86qxvgv6.js → reference-e8vwfchq.js} +6 -6
- package/dist/chunks/{skill-z4cnyhgg.js → reference-e9mw71vf.js} +11 -11
- package/dist/chunks/{skill-s8d7rejh.js → reference-eaj1djv9.js} +6 -6
- package/dist/chunks/{skill-ckp31v8k.js → reference-ec56ww6f.js} +24 -24
- package/dist/chunks/{skill-e80seqcp.js → reference-ed1g29hy.js} +3 -3
- package/dist/chunks/{skill-eej6y6fw.js → reference-eej6y6fw.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-c1fqxshp.js → reference-es1vcfrp.js} +3 -3
- package/dist/chunks/{skill-yeq3t8xt.js → reference-ew5jdcsq.js} +87 -87
- package/dist/chunks/{skill-pmf8s9dx.js → reference-f66eae49.js} +19 -19
- package/dist/chunks/{skill-ys1eskbg.js → reference-f7b5ncsd.js} +23 -23
- package/dist/chunks/{skill-639h3xxe.js → reference-f8p265gv.js} +11 -11
- package/dist/chunks/{skill-6a3zrf3v.js → reference-fqmb1432.js} +8 -8
- package/dist/chunks/{skill-x580hmt1.js → reference-fvgfymht.js} +11 -11
- package/dist/chunks/{skill-k4ayx2j3.js → reference-g51r3c4s.js} +18 -18
- package/dist/chunks/{skill-cwa6csj7.js → reference-g6q9qykm.js} +9 -9
- package/dist/chunks/{skill-w39jehkq.js → reference-g6yfr6ja.js} +5 -5
- package/dist/chunks/{skill-3z212fca.js → reference-g7m13ce8.js} +30 -30
- package/dist/chunks/{skill-ty9fg3f8.js → reference-g7y6ccmm.js} +16 -16
- package/dist/chunks/{skill-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-31zks5jy.js → reference-gm24xgn7.js} +28 -28
- package/dist/chunks/{skill-tp1cmem0.js → reference-gn31e51v.js} +11 -11
- package/dist/chunks/{skill-n0ytg6te.js → reference-gn5tm0bv.js} +7 -7
- package/dist/chunks/{skill-addxnjmp.js → reference-gqtdsdt7.js} +4 -4
- package/dist/chunks/{skill-zsr4wwhv.js → reference-gw7cjrad.js} +4 -4
- package/dist/chunks/{skill-z3wrhw57.js → reference-gw8exty3.js} +13 -13
- package/dist/chunks/{skill-ms9hcft3.js → reference-gwf8vbvc.js} +20 -20
- package/dist/chunks/{skill-dt2484d6.js → reference-h45tnvxx.js} +75 -75
- package/dist/chunks/{skill-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-h7s7r6s9.js → reference-h7s7r6s9.js} +2 -2
- package/dist/chunks/{skill-bacyadyn.js → reference-h90v2x9d.js} +4 -4
- package/dist/chunks/{skill-wecqtg5s.js → reference-hdkng2sj.js} +5 -5
- package/dist/chunks/{skill-hfbyhya8.js → reference-hfbyhya8.js} +2 -2
- package/dist/chunks/{skill-hgz4x7wa.js → reference-hgz4x7wa.js} +1 -1
- package/dist/chunks/{skill-vya7jr0b.js → reference-htrk4y28.js} +9 -9
- package/dist/chunks/{skill-fz0546zy.js → reference-hvg0snfm.js} +18 -18
- package/dist/chunks/{skill-db6ka260.js → reference-hy1n1we9.js} +48 -48
- package/dist/chunks/{skill-j58c5xyq.js → reference-j58c5xyq.js} +2 -2
- package/dist/chunks/{skill-bya0fcmq.js → reference-je5d3c79.js} +12 -12
- package/dist/chunks/{skill-njd1jvr3.js → reference-jfzdx66h.js} +9 -9
- package/dist/chunks/{skill-d8tvwc74.js → reference-jhzvven8.js} +7 -7
- package/dist/chunks/{skill-jk540des.js → reference-jk540des.js} +2 -2
- package/dist/chunks/{skill-n4r3xatb.js → reference-jvf3yq6v.js} +4 -4
- package/dist/chunks/{skill-m6r6f8tv.js → reference-jwyrdafh.js} +16 -16
- package/dist/chunks/{skill-cm8m4w1m.js → reference-k4fxrsyq.js} +15 -15
- package/dist/chunks/{skill-7z8tx2pn.js → reference-kenxh6gd.js} +28 -28
- package/dist/chunks/{skill-khmqacep.js → reference-khmqacep.js} +1 -1
- package/dist/chunks/{skill-b8xqpn46.js → reference-kpdmttv2.js} +11 -11
- package/dist/chunks/{skill-nn6nxwtb.js → reference-kph0xsh6.js} +17 -17
- package/dist/chunks/{skill-hfze897x.js → reference-kprxdv5r.js} +2 -2
- package/dist/chunks/{skill-meq2bhha.js → reference-krdwghjp.js} +5 -5
- package/dist/chunks/{skill-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-maspj1v3.js → reference-maspj1v3.js} +1 -1
- package/dist/chunks/{skill-yjakarkq.js → reference-mpssfq2q.js} +8 -8
- package/dist/chunks/{skill-j0c1115t.js → reference-n0ve5gdb.js} +5 -5
- package/dist/chunks/{skill-ah777z7t.js → reference-n1shqbp3.js} +20 -20
- package/dist/chunks/{skill-15ye86aw.js → reference-n3kdjaet.js} +11 -11
- package/dist/chunks/{skill-j0nbkzx8.js → reference-n5esxn5z.js} +27 -27
- package/dist/chunks/{skill-qt4zyp3s.js → reference-n5xpsxq8.js} +15 -15
- package/dist/chunks/{skill-3cqwnyj9.js → reference-n61013np.js} +8 -8
- package/dist/chunks/{skill-trr50004.js → reference-njp0gf2a.js} +15 -15
- package/dist/chunks/{skill-886rcvra.js → reference-nkqw9m3h.js} +30 -30
- package/dist/chunks/{skill-qa271a1s.js → reference-nm3w2d7y.js} +21 -21
- package/dist/chunks/{skill-wtn0n80d.js → reference-nsxf7brj.js} +40 -40
- package/dist/chunks/{skill-r62ys938.js → reference-nywhfaw1.js} +9 -9
- package/dist/chunks/{skill-52vk9yjk.js → reference-p37hdxy1.js} +35 -35
- package/dist/chunks/{skill-cmwkp3r5.js → reference-p42hj8p8.js} +8 -8
- package/dist/chunks/{skill-01f7406t.js → reference-p474d7yp.js} +19 -19
- package/dist/chunks/{skill-8xdk01f4.js → reference-p70m11t7.js} +11 -11
- package/dist/chunks/{skill-arxc0mkp.js → reference-pjm3t1ca.js} +15 -15
- package/dist/chunks/{skill-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{skill-rys9py6g.js → reference-pr1m8j7y.js} +8 -8
- package/dist/chunks/{skill-hkffa77z.js → reference-pyg4v0b6.js} +4 -4
- package/dist/chunks/{skill-q0xm7vwc.js → reference-q0xm7vwc.js} +2 -2
- package/dist/chunks/{skill-z35pz71e.js → reference-q1m8dxm9.js} +30 -30
- package/dist/chunks/{skill-4fjmcad7.js → reference-q2kevabj.js} +4 -4
- package/dist/chunks/{skill-sncr1wb8.js → reference-q53541n0.js} +34 -34
- package/dist/chunks/{skill-55x9snav.js → reference-q5423ys8.js} +35 -35
- package/dist/chunks/{skill-32v291k9.js → reference-q5ewyrx0.js} +28 -28
- package/dist/chunks/{skill-pnh62jhm.js → reference-qdtbhe1n.js} +5 -5
- package/dist/chunks/{skill-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-g23ky713.js → reference-qs0nx109.js} +21 -21
- package/dist/chunks/{skill-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-03e1xmcc.js → reference-qtq7qc2w.js} +10 -10
- package/dist/chunks/{skill-079e5tqh.js → reference-qxzvmfjp.js} +4 -4
- package/dist/chunks/{skill-8gc0p4kx.js → reference-r83ag541.js} +16 -10
- package/dist/chunks/{skill-ah2wvv4g.js → reference-r8f59mgg.js} +29 -29
- package/dist/chunks/{skill-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-jws6fkes.js → reference-rkprpv83.js} +8 -8
- package/dist/chunks/{skill-a0dr3wh4.js → reference-rpz1svrt.js} +1 -1
- package/dist/chunks/{skill-ns8rbw9m.js → reference-rqf4m8aw.js} +20 -20
- package/dist/chunks/{skill-mcby4hk6.js → reference-rqraeqvr.js} +4 -4
- package/dist/chunks/{skill-mdkgq9hs.js → reference-rsz0h36s.js} +33 -33
- package/dist/chunks/{skill-hh3t29v4.js → reference-rtdaykpn.js} +20 -20
- package/dist/chunks/{skill-x759227d.js → reference-rtg68wpk.js} +21 -21
- package/dist/chunks/{skill-resfzb18.js → reference-rx2dg2kh.js} +45 -45
- package/dist/chunks/{skill-mpfy6g4r.js → reference-rxbse8cr.js} +22 -22
- package/dist/chunks/{skill-266sb5q0.js → reference-rygkxn9n.js} +44 -44
- package/dist/chunks/{skill-sfcyz7s3.js → reference-s0kdr57z.js} +14 -14
- package/dist/chunks/{skill-xrvdqef0.js → reference-s5yya818.js} +30 -30
- package/dist/chunks/{skill-xwmjdzft.js → reference-s6vxrzhc.js} +5 -5
- package/dist/chunks/{skill-z1gwjxrn.js → reference-sa7t01dg.js} +92 -92
- package/dist/chunks/reference-sm5yn6ps.js +253 -0
- package/dist/chunks/{skill-ts7mkfs9.js → reference-ss358qx3.js} +3 -3
- package/dist/chunks/{skill-pfgazgn4.js → reference-sy99d12a.js} +18 -18
- package/dist/chunks/{skill-syv4x271.js → reference-syv4x271.js} +1 -1
- package/dist/chunks/{skill-wp8fkx26.js → reference-t4p70czd.js} +11 -11
- package/dist/chunks/{skill-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{skill-rert0e01.js → reference-tkb22qbm.js} +2 -2
- package/dist/chunks/{skill-tm0kqsz3.js → reference-tm0kqsz3.js} +1 -1
- package/dist/chunks/{skill-tyytaxap.js → reference-tyytaxap.js} +1 -1
- package/dist/chunks/{skill-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
- package/dist/chunks/{skill-v7p4zvkq.js → reference-v7p4zvkq.js} +2 -2
- package/dist/chunks/{skill-fp40df3e.js → reference-vacxjxj3.js} +3 -3
- package/dist/chunks/{skill-vj4shjr4.js → reference-vbm38ps9.js} +5 -5
- package/dist/chunks/{skill-s5xzx6y2.js → reference-vcp5fwvv.js} +19 -19
- package/dist/chunks/{skill-r00gcrkz.js → reference-vd7cyv2z.js} +28 -28
- package/dist/chunks/{skill-7hb0ye5y.js → reference-ve45bn9x.js} +6 -6
- package/dist/chunks/{skill-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-vxdn14wh.js → reference-vm7c5k2y.js} +1 -1
- package/dist/chunks/{skill-z91gs09r.js → reference-vt08q70p.js} +15 -15
- package/dist/chunks/{skill-17g0dp49.js → reference-vvtb55nw.js} +181 -181
- package/dist/chunks/{skill-bee4aq1j.js → reference-vz1ztd4p.js} +24 -24
- package/dist/chunks/{skill-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-bckrrh3s.js → reference-w15h4m28.js} +15 -15
- package/dist/chunks/{skill-y2g3h41r.js → reference-w1s7mmem.js} +22 -22
- package/dist/chunks/{skill-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-0b3sm4h0.js → reference-w4wr1etb.js} +7 -7
- package/dist/chunks/{skill-rk7s9xkn.js → reference-wa9g86nq.js} +4 -4
- package/dist/chunks/{skill-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{skill-6aa28tdc.js → reference-whrbz81v.js} +30 -30
- package/dist/chunks/{skill-ywt8jp22.js → reference-wjr9rjd7.js} +6 -6
- package/dist/chunks/{skill-6fszpdwd.js → reference-wkqr0wp4.js} +50 -50
- package/dist/chunks/{skill-1z6nfgf9.js → reference-wqvnp2kw.js} +4 -4
- package/dist/chunks/{skill-bqpab8f7.js → reference-wwh6ay7x.js} +21 -21
- package/dist/chunks/{skill-assg4cnx.js → reference-wx7k6370.js} +22 -22
- package/dist/chunks/{skill-0qtg9gyw.js → reference-x7qcbpvq.js} +22 -22
- package/dist/chunks/{skill-v419bmwe.js → reference-x8h454cx.js} +25 -25
- package/dist/chunks/{skill-v1y2r70j.js → reference-xwxft369.js} +1 -1
- package/dist/chunks/{skill-8jj608qq.js → reference-xx6qpep6.js} +33 -33
- package/dist/chunks/{skill-a0j2njhq.js → reference-y179arr5.js} +31 -31
- package/dist/chunks/{skill-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-1mnsj1b7.js → reference-y41eqcyh.js} +32 -32
- package/dist/chunks/{skill-vt9q71gc.js → reference-y456k0gx.js} +21 -21
- package/dist/chunks/{skill-6setxp5w.js → reference-y4ny2pth.js} +19 -19
- package/dist/chunks/{skill-rzs3gq0x.js → reference-y72zmemf.js} +8 -8
- package/dist/chunks/{skill-k8cddrez.js → reference-yak3hf0z.js} +56 -56
- package/dist/chunks/{skill-nfhg0zh2.js → reference-ym1z1sce.js} +3 -3
- package/dist/chunks/{skill-srr95ctr.js → reference-ys0m66b2.js} +24 -24
- package/dist/chunks/{skill-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-qpktp63h.js → reference-z4h9wx76.js} +41 -41
- package/dist/chunks/{skill-9bk4xf74.js → reference-zgkz7fqw.js} +33 -33
- package/dist/chunks/{skill-k0w1apbg.js → reference-zjtrsxny.js} +5 -5
- package/dist/chunks/{skill-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-c2nmdtp2.js → reference-zt9b6e62.js} +15 -15
- package/dist/chunks/{skill-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-m21mnn4s.js → reference-zy8qbqak.js} +11 -11
- package/dist/chunks/{skill-pjfhrx59.js → reference-zzdwtnvj.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +117 -117
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- 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 +119 -119
- 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 +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +5 -5
- package/dist/instance.js +359 -359
- 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 +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +83 -83
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- 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 +100 -100
- package/dist/models-dev.js +109 -109
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +76 -76
- 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 +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +135 -135
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +2 -2
- 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 +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 +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 +125 -125
- 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 +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- 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 +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- 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/skill-4v7qdvcn.js +0 -18
- package/dist/chunks/skill-90fncmj6.js +0 -26
- package/dist/chunks/skill-vwygf5dp.js +0 -253
- /package/dist/chunks/{skill-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{skill-pyv0edze.js → reference-pyv0edze.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./skill-wp8fkx26.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./reference-t4p70czd.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./reference-3q9g49xq.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID15,
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./reference-ec56ww6f.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service70,
|
|
22
|
+
node74
|
|
23
|
+
} from "./reference-kenxh6gd.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./reference-gw7cjrad.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./reference-3fxqyn52.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./reference-7zt5x37y.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service32,
|
|
48
|
+
node36
|
|
49
|
+
} from "./reference-7kcbr8xv.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service45,
|
|
52
|
+
node47
|
|
53
|
+
} from "./reference-1n7cf0zt.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./reference-hdkng2sj.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./reference-7qen6kzn.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./reference-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./reference-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service8,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
79
|
layer: () => layer7,
|
|
80
|
-
node: () =>
|
|
80
|
+
node: () => node10,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
};
|
|
173
173
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
174
174
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var layer7 = Layer.effect(
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
175
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
176
|
+
const agents = yield* Service79;
|
|
177
|
+
const bus = yield* Service83;
|
|
178
178
|
const llm = yield* LLMClient.Service;
|
|
179
|
-
const catalog = yield*
|
|
180
|
-
const models = yield*
|
|
181
|
-
const db = (yield*
|
|
182
|
-
const requests = yield*
|
|
179
|
+
const catalog = yield* Service70;
|
|
180
|
+
const models = yield* Service45;
|
|
181
|
+
const db = (yield* Service84).db;
|
|
182
|
+
const requests = yield* Service32;
|
|
183
183
|
const state = create3({
|
|
184
184
|
name: "session-compaction",
|
|
185
185
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -197,7 +197,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
197
197
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
198
198
|
return { status: "skipped" };
|
|
199
199
|
const native = context.model.compaction?.type === "native";
|
|
200
|
-
const agent = native ? undefined : yield* agents.get(
|
|
200
|
+
const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
|
|
201
201
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
202
202
|
return;
|
|
203
203
|
})))) ?? context.model;
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service8.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
482
|
+
var node10 = makeLocationNode({
|
|
483
|
+
service: Service8,
|
|
484
484
|
layer: layer7,
|
|
485
|
-
deps: [
|
|
485
|
+
deps: [node83, node87, node88, llmClient2, node74, node36, node47]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
|
|
|
696
696
|
return 0;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export {
|
|
699
|
+
export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./skill-wp8fkx26.js";
|
|
5
|
-
import {
|
|
6
|
-
reserveSequence2,
|
|
7
2
|
Service84,
|
|
8
3
|
node88
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./reference-t4p70czd.js";
|
|
5
|
+
import {
|
|
6
|
+
reserveSequence2,
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./reference-3q9g49xq.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./reference-c41wscbt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-es1vcfrp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-nkqw9m3h.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./reference-pyg4v0b6.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./reference-g7y6ccmm.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./reference-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./reference-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node29
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
283
|
-
const db = (yield*
|
|
282
|
+
const bus = yield* Service83;
|
|
283
|
+
const db = (yield* Service84).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
286
286
|
id: event.data.sessionID,
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node29, exports_projector };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-p70m11t7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./reference-3q9g49xq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID11,
|
|
9
|
+
Event17,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./reference-q5423ys8.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-gqtdsdt7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-rsz0h36s.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID8,
|
|
24
|
+
Service71
|
|
25
|
+
} from "./reference-676ffxyw.js";
|
|
26
26
|
import {
|
|
27
27
|
ID7
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-kenxh6gd.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-d1bka95m.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const credentials = yield* Service74;
|
|
77
|
+
const providers = yield* Service71;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID8.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID8.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID8.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID8.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID8.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID8.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID8.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID8.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID8.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID8.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID8.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make7();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-3q9g49xq.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service81,
|
|
12
12
|
node85
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-2sc3sc4p.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service40,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node43
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service40 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
42
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service81;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service40.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node87, node85] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service40, node43, exports_rpc, define2 };
|