@opencode/core 0.0.0-dev-1001 → 0.0.0-dev-1002
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +248 -248
- package/dist/bus.js +86 -86
- package/dist/chunks/{persistent-pty-nhb1ah6j.js → mime-00v0q3ps.js} +25 -25
- package/dist/chunks/{persistent-pty-93svqncp.js → mime-04paqjn1.js} +36 -36
- package/dist/chunks/{persistent-pty-n182t4fm.js → mime-0a69x7w6.js} +3 -3
- package/dist/chunks/{persistent-pty-xmx7xj34.js → mime-0ahs07zn.js} +4 -4
- package/dist/chunks/{persistent-pty-41r3119g.js → mime-0ake8003.js} +16 -16
- package/dist/chunks/{persistent-pty-kx3cst1b.js → mime-0ba2ztv4.js} +8 -8
- package/dist/chunks/{persistent-pty-5ct60pxm.js → mime-0cabcep3.js} +87 -87
- package/dist/chunks/{persistent-pty-0z709a3t.js → mime-0ce4yjwv.js} +19 -19
- package/dist/chunks/{persistent-pty-05pxn8vz.js → mime-0fkaqj9b.js} +27 -27
- package/dist/chunks/{persistent-pty-2eyh4jfa.js → mime-0hr4vtkf.js} +49 -49
- package/dist/chunks/{persistent-pty-hy2s0bvc.js → mime-0j59hwjs.js} +16 -16
- package/dist/chunks/{persistent-pty-0j7gp832.js → mime-0j7gp832.js} +1 -1
- package/dist/chunks/{persistent-pty-p95k8fzz.js → mime-0k712xp3.js} +31 -31
- package/dist/chunks/{persistent-pty-0ma9gw4f.js → mime-0ma9gw4f.js} +2 -2
- package/dist/chunks/{persistent-pty-64dbdwzt.js → mime-0qj729c9.js} +41 -41
- package/dist/chunks/{persistent-pty-99gcf0jn.js → mime-0tx10fr1.js} +26 -26
- package/dist/chunks/{persistent-pty-hvbrkber.js → mime-0z1g7p5e.js} +29 -29
- package/dist/chunks/{persistent-pty-qpfcqkq0.js → mime-10cpkt9m.js} +37 -37
- package/dist/chunks/{persistent-pty-zy3kwcqg.js → mime-11b28181.js} +16 -16
- package/dist/chunks/{persistent-pty-j1nmkkt3.js → mime-11wjt4vg.js} +4 -4
- package/dist/chunks/{persistent-pty-3mk2b9as.js → mime-1221c015.js} +28 -28
- package/dist/chunks/{persistent-pty-ybd7cc9e.js → mime-18b1hh0p.js} +11 -11
- package/dist/chunks/{persistent-pty-j0g55rpq.js → mime-1932chsc.js} +22 -22
- package/dist/chunks/{persistent-pty-a4pqw53f.js → mime-1aahj8ac.js} +16 -16
- package/dist/chunks/{persistent-pty-1aqsckx4.js → mime-1aqsckx4.js} +1 -1
- package/dist/chunks/{persistent-pty-tm4aj56b.js → mime-1km69shg.js} +83 -83
- package/dist/chunks/{persistent-pty-8cb4yb7e.js → mime-1ndn992x.js} +4 -4
- package/dist/chunks/{persistent-pty-msd2a3qm.js → mime-1v2g13eq.js} +4 -4
- package/dist/chunks/{persistent-pty-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-8brzdc2y.js → mime-1y7se44y.js} +5 -5
- package/dist/chunks/{persistent-pty-p7vhpwh8.js → mime-1yq9hg58.js} +5 -5
- package/dist/chunks/{persistent-pty-9h6njyp5.js → mime-26sjgj4q.js} +30 -30
- package/dist/chunks/{persistent-pty-1q07fp1w.js → mime-26wfx3k0.js} +4 -4
- package/dist/chunks/{persistent-pty-27w5k9zf.js → mime-27w5k9zf.js} +2 -2
- package/dist/chunks/{persistent-pty-2fc7eemy.js → mime-2fc7eemy.js} +1 -1
- package/dist/chunks/{persistent-pty-36twwwv3.js → mime-2hw49bcj.js} +14 -14
- package/dist/chunks/{persistent-pty-w9w8mt4n.js → mime-2m2g9ynh.js} +4 -4
- package/dist/chunks/{persistent-pty-2p60zmnr.js → mime-2p60zmnr.js} +2 -2
- package/dist/chunks/{persistent-pty-2s9mae96.js → mime-2s9mae96.js} +3 -3
- package/dist/chunks/{persistent-pty-9vk6zt3b.js → mime-2scz4yqw.js} +39 -39
- package/dist/chunks/{persistent-pty-8pnsnq7c.js → mime-2tt3mwdz.js} +17 -17
- package/dist/chunks/{persistent-pty-s3fpgpvr.js → mime-2vmcwdjj.js} +31 -31
- package/dist/chunks/{persistent-pty-anvcme1c.js → mime-38aws4xb.js} +4 -4
- package/dist/chunks/{persistent-pty-3cbjf1nt.js → mime-3cbjf1nt.js} +2 -2
- package/dist/chunks/{persistent-pty-2k6nhgwk.js → mime-3cewb0zz.js} +10 -10
- package/dist/chunks/{persistent-pty-xvc6mbg8.js → mime-3dck7dxp.js} +6 -6
- package/dist/chunks/{persistent-pty-jfymkvwj.js → mime-3dyyzwcz.js} +15 -15
- package/dist/chunks/{persistent-pty-r45nfa48.js → mime-3ex1ss0s.js} +9 -9
- package/dist/chunks/{persistent-pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-7mx101t4.js → mime-3npghwvr.js} +7 -7
- package/dist/chunks/{persistent-pty-40y6dtc2.js → mime-40y6dtc2.js} +1 -1
- package/dist/chunks/{persistent-pty-r41sfy63.js → mime-40za9wsf.js} +6 -6
- package/dist/chunks/{persistent-pty-44pmzq9c.js → mime-44pmzq9c.js} +2 -2
- package/dist/chunks/{persistent-pty-kc4yyfcj.js → mime-482rwnqn.js} +6 -6
- package/dist/chunks/{persistent-pty-jcsps8nx.js → mime-4bj8gdan.js} +5 -5
- package/dist/chunks/{persistent-pty-4dx1dgte.js → mime-4dx1dgte.js} +1 -1
- package/dist/chunks/{persistent-pty-4f25tdd0.js → mime-4f25tdd0.js} +1 -1
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → mime-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-tnmngv61.js → mime-4t79byk0.js} +33 -33
- package/dist/chunks/{persistent-pty-4v008n1t.js → mime-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-agqj8938.js → mime-56ge6rxt.js} +32 -32
- package/dist/chunks/{persistent-pty-p6g3x2vz.js → mime-5hpcekd7.js} +3 -3
- package/dist/chunks/{persistent-pty-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-bexrc21s.js → mime-5qd1xgp5.js} +22 -22
- package/dist/chunks/{persistent-pty-8ekd8bzf.js → mime-63fjwed2.js} +41 -41
- package/dist/chunks/{persistent-pty-a7x4br4c.js → mime-64vf09yv.js} +13 -13
- package/dist/chunks/{persistent-pty-mgaktmfv.js → mime-6bat6rz9.js} +34 -34
- package/dist/chunks/{persistent-pty-3y2jck2f.js → mime-6e1dg593.js} +19 -19
- package/dist/chunks/{persistent-pty-ehcpw7e6.js → mime-6kk0vrkp.js} +19 -19
- package/dist/chunks/{persistent-pty-p1fwgbq3.js → mime-6nzth9x0.js} +11 -11
- package/dist/chunks/{persistent-pty-tcdxfv61.js → mime-6x4vbzng.js} +56 -56
- package/dist/chunks/{persistent-pty-vwcz1f45.js → mime-6y2b864j.js} +7 -7
- package/dist/chunks/{persistent-pty-985dq78n.js → mime-6yg7d6a1.js} +7 -7
- package/dist/chunks/{persistent-pty-rmy5batf.js → mime-73vwp92h.js} +2 -2
- package/dist/chunks/{persistent-pty-grtyamm0.js → mime-774aqmxp.js} +11 -11
- package/dist/chunks/{persistent-pty-775hqbnd.js → mime-775hqbnd.js} +3 -3
- package/dist/chunks/{persistent-pty-kz39447c.js → mime-79t1beq3.js} +19 -19
- package/dist/chunks/{persistent-pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-s5zrq09q.js → mime-7f840skq.js} +8 -8
- package/dist/chunks/{persistent-pty-p37phdcf.js → mime-7fyb1y34.js} +19 -19
- package/dist/chunks/{persistent-pty-ag480xra.js → mime-7gg79k1b.js} +19 -19
- package/dist/chunks/{persistent-pty-dkpjsqx5.js → mime-7ke2z32d.js} +3 -3
- package/dist/chunks/{persistent-pty-nzkcacg2.js → mime-7pvdk2vy.js} +29 -29
- package/dist/chunks/{persistent-pty-1sfa5jwh.js → mime-7rw4646w.js} +9 -9
- package/dist/chunks/{persistent-pty-9meb4zc7.js → mime-7s7qeqxa.js} +16 -16
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-7weczvnd.js → mime-7weczvnd.js} +1 -1
- package/dist/chunks/{persistent-pty-61gm9nf9.js → mime-7y0nttf2.js} +11 -11
- package/dist/chunks/{persistent-pty-80pdk984.js → mime-80pdk984.js} +1 -1
- package/dist/chunks/{persistent-pty-qmxeky00.js → mime-81fce02f.js} +12 -12
- package/dist/chunks/{persistent-pty-4r500enn.js → mime-825ra36z.js} +5 -5
- package/dist/chunks/{persistent-pty-zaqdb9p1.js → mime-86nh6g86.js} +9 -9
- package/dist/chunks/{persistent-pty-8b3vzgkx.js → mime-8b3vzgkx.js} +1 -1
- package/dist/chunks/{persistent-pty-411zae40.js → mime-8c1we424.js} +15 -15
- package/dist/chunks/{persistent-pty-tg1vr1qt.js → mime-8d2bz6m6.js} +6 -6
- package/dist/chunks/{persistent-pty-5ydr728e.js → mime-8twk4k4v.js} +12 -12
- package/dist/chunks/{persistent-pty-ty8hj3pf.js → mime-8vt0vmyq.js} +3 -3
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-8z6m94af.js → mime-8z6m94af.js} +3 -3
- package/dist/chunks/{persistent-pty-8zv0xmg5.js → mime-8zv0xmg5.js} +1 -1
- package/dist/chunks/{persistent-pty-x23qg440.js → mime-9332tkfq.js} +10 -10
- package/dist/chunks/{persistent-pty-ycmh1q3e.js → mime-93xmyh8q.js} +7 -7
- package/dist/chunks/{persistent-pty-810r6svr.js → mime-95se4fsn.js} +6 -6
- package/dist/chunks/{persistent-pty-ya37bfp4.js → mime-9609p4ym.js} +27 -27
- package/dist/chunks/{persistent-pty-xe6pezxp.js → mime-963hk181.js} +7 -7
- package/dist/chunks/{persistent-pty-dbwqcmzg.js → mime-97c517xp.js} +12 -12
- package/dist/chunks/{persistent-pty-2qz9f4gt.js → mime-9ca6x5v5.js} +13 -13
- package/dist/chunks/{persistent-pty-9carcsz7.js → mime-9cmzxpn8.js} +23 -23
- package/dist/chunks/{persistent-pty-yrrgnf07.js → mime-9jrj4mgs.js} +18 -18
- package/dist/chunks/{persistent-pty-n18yd1gk.js → mime-9rqhy0gk.js} +7 -7
- package/dist/chunks/{persistent-pty-khh8mw4g.js → mime-9vfzrjdj.js} +18 -18
- package/dist/chunks/{persistent-pty-28exm1wx.js → mime-9xkwetm6.js} +8 -8
- package/dist/chunks/{persistent-pty-6ta9r7gp.js → mime-a2ee6xxq.js} +23 -23
- package/dist/chunks/{persistent-pty-xcnybkj9.js → mime-a4f3ppe1.js} +4 -4
- package/dist/chunks/{persistent-pty-b8ffzghj.js → mime-a5s60awv.js} +30 -30
- package/dist/chunks/{persistent-pty-3e280y98.js → mime-ab0xamey.js} +40 -40
- package/dist/chunks/{persistent-pty-7eerh7s0.js → mime-agzhtd20.js} +28 -28
- package/dist/chunks/{persistent-pty-aj7mw0zk.js → mime-aj7mw0zk.js} +2 -2
- package/dist/chunks/{persistent-pty-gmqp8e0b.js → mime-aq433gcw.js} +25 -25
- package/dist/chunks/{persistent-pty-0f8rwma6.js → mime-b1e2bpcr.js} +9 -9
- package/dist/chunks/{persistent-pty-b26ddj6h.js → mime-b26ddj6h.js} +4 -4
- package/dist/chunks/{persistent-pty-61ewkrrx.js → mime-b32qj0s4.js} +10 -10
- package/dist/chunks/{persistent-pty-ahtytztk.js → mime-b69qr9a2.js} +12 -12
- package/dist/chunks/{persistent-pty-r9tg9hee.js → mime-ba8t01zv.js} +13 -13
- package/dist/chunks/{persistent-pty-bb3mmwvh.js → mime-bb3mmwvh.js} +2 -2
- package/dist/chunks/{persistent-pty-vmxsyvj6.js → mime-bhfd478d.js} +4 -4
- package/dist/chunks/{persistent-pty-t8wy1kr3.js → mime-bmsc0fk2.js} +17 -17
- package/dist/chunks/{persistent-pty-326zmjck.js → mime-brsjh5q1.js} +12 -12
- package/dist/chunks/{persistent-pty-xd9cc171.js → mime-bstexjd6.js} +5 -5
- package/dist/chunks/{persistent-pty-fw5q8b89.js → mime-bt87jtmx.js} +20 -20
- package/dist/chunks/{persistent-pty-zpdbqgja.js → mime-by8ty0bx.js} +4 -4
- package/dist/chunks/{persistent-pty-s2g1n26p.js → mime-c0hq1g7s.js} +33 -33
- package/dist/chunks/{persistent-pty-2wpnxafc.js → mime-c677yb62.js} +26 -26
- package/dist/chunks/{persistent-pty-c7cw818c.js → mime-c7cw818c.js} +2 -2
- package/dist/chunks/{persistent-pty-epsccyya.js → mime-ca3qnawq.js} +26 -26
- package/dist/chunks/{persistent-pty-60cxrsw5.js → mime-ca48k592.js} +43 -43
- package/dist/chunks/{persistent-pty-4z750faw.js → mime-cgvmx7kc.js} +31 -31
- package/dist/chunks/{persistent-pty-8tsmr06w.js → mime-crnh494v.js} +32 -32
- package/dist/chunks/{persistent-pty-cwrgdav8.js → mime-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-dgnt1j47.js → mime-d1vjp4v5.js} +25 -25
- package/dist/chunks/{persistent-pty-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-tdwzz66j.js → mime-d5tyajk5.js} +10 -10
- package/dist/chunks/{persistent-pty-bs979tcs.js → mime-d7nabp5d.js} +35 -35
- package/dist/chunks/{persistent-pty-zjbt4vaq.js → mime-dcwz1bs8.js} +23 -23
- package/dist/chunks/{persistent-pty-g6axq7c8.js → mime-dkrnptrz.js} +11 -11
- package/dist/chunks/{persistent-pty-zt8mkgbb.js → mime-dqygfate.js} +5 -5
- package/dist/chunks/{persistent-pty-7a2ka1sn.js → mime-dshdwzc2.js} +50 -50
- package/dist/chunks/{persistent-pty-7pa1k1e1.js → mime-dt2wdp6j.js} +13 -13
- package/dist/chunks/{persistent-pty-dt77769w.js → mime-dt77769w.js} +1 -1
- package/dist/chunks/mime-dv39rb5z.js +571 -0
- package/dist/chunks/{persistent-pty-krvd8yx8.js → mime-dwm3h4bk.js} +35 -35
- package/dist/chunks/{persistent-pty-ne1kdyc5.js → mime-e15y8et8.js} +43 -43
- package/dist/chunks/{persistent-pty-7e2ey0zw.js → mime-e6syfymx.js} +35 -35
- package/dist/chunks/{persistent-pty-1ehex3va.js → mime-e8t5vzc2.js} +49 -49
- package/dist/chunks/{persistent-pty-5thev09r.js → mime-ea6gy4sr.js} +8 -8
- package/dist/chunks/{persistent-pty-hxfd8g55.js → mime-eabcfhvm.js} +8 -8
- package/dist/chunks/{persistent-pty-a9pg4e68.js → mime-eh52qjhz.js} +31 -31
- package/dist/chunks/{persistent-pty-ytw3rkpd.js → mime-ekbhmt5g.js} +11 -11
- package/dist/chunks/{persistent-pty-0kj5gze3.js → mime-emnm51sy.js} +22 -22
- package/dist/chunks/{persistent-pty-gf1e1jmn.js → mime-epv498bk.js} +4 -4
- package/dist/chunks/{persistent-pty-w16qaj0w.js → mime-eq9xd98j.js} +4 -4
- package/dist/chunks/{persistent-pty-eqw4pqj1.js → mime-eqw4pqj1.js} +2 -2
- package/dist/chunks/{persistent-pty-9w6k4h4f.js → mime-er6ds21d.js} +33 -33
- package/dist/chunks/{persistent-pty-wfctrj37.js → mime-etaaxwc6.js} +3 -3
- package/dist/chunks/{persistent-pty-myby21nw.js → mime-evgx98rm.js} +35 -35
- package/dist/chunks/{persistent-pty-y9jn183w.js → mime-ewwxda2t.js} +5 -5
- package/dist/chunks/{persistent-pty-1n0t2dr2.js → mime-fchvxb0c.js} +11 -11
- package/dist/chunks/{persistent-pty-jg5pejh7.js → mime-ferq81me.js} +20 -20
- package/dist/chunks/{persistent-pty-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-wacyf2fg.js → mime-ffz0kz1m.js} +16 -16
- package/dist/chunks/{persistent-pty-fg9p65nk.js → mime-fg9p65nk.js} +2 -2
- package/dist/chunks/{persistent-pty-bmkc31x8.js → mime-fjqqgxdy.js} +5 -5
- package/dist/chunks/{persistent-pty-h9aff3c4.js → mime-fk9c6tsw.js} +20 -20
- package/dist/chunks/{persistent-pty-6sk4m11q.js → mime-fkyqk9w0.js} +5 -5
- package/dist/chunks/{persistent-pty-w27wcpfp.js → mime-ft9fn2jz.js} +18 -18
- package/dist/chunks/{persistent-pty-993eq5vv.js → mime-fx0wgj08.js} +17 -17
- package/dist/chunks/{persistent-pty-weqc7sb9.js → mime-fyfzbt3s.js} +2 -2
- package/dist/chunks/{persistent-pty-fkqc8b83.js → mime-fztvth6z.js} +9 -9
- package/dist/chunks/{persistent-pty-x4eqx4xr.js → mime-g3mxh4ke.js} +23 -23
- package/dist/chunks/{persistent-pty-gbjdnr5j.js → mime-gbjdnr5j.js} +2 -2
- package/dist/chunks/{persistent-pty-ghrv1g9c.js → mime-ghrv1g9c.js} +1 -1
- package/dist/chunks/{persistent-pty-93a1cc45.js → mime-gk3nwkx9.js} +17 -17
- package/dist/chunks/{persistent-pty-9zhrmgbp.js → mime-gnfyg4s7.js} +28 -28
- package/dist/chunks/{persistent-pty-nw5eecxx.js → mime-gnkmn8c6.js} +1 -1
- package/dist/chunks/{persistent-pty-vhhz7aj6.js → mime-gvpf2pvk.js} +9 -9
- package/dist/chunks/{persistent-pty-tg7s7b5t.js → mime-gxs71cxp.js} +4 -4
- package/dist/chunks/{persistent-pty-nys1sh0v.js → mime-gz4a33x5.js} +14 -14
- package/dist/chunks/{persistent-pty-kx14djcc.js → mime-h7xafxse.js} +9 -9
- package/dist/chunks/{persistent-pty-v0wvbz4n.js → mime-hc6w7njp.js} +8 -8
- package/dist/chunks/{persistent-pty-xynthp8b.js → mime-hdvssxsh.js} +8 -8
- package/dist/chunks/{persistent-pty-wt5wyw4j.js → mime-hg44jycr.js} +13 -13
- package/dist/chunks/{persistent-pty-hgzwgvze.js → mime-hgzwgvze.js} +2 -2
- package/dist/chunks/{persistent-pty-w83xh6h5.js → mime-hhxb9x18.js} +20 -20
- package/dist/chunks/{persistent-pty-hj0xet7m.js → mime-hj0xet7m.js} +2 -2
- package/dist/chunks/{persistent-pty-y0f7fy5h.js → mime-hkr9gjwe.js} +32 -32
- package/dist/chunks/{persistent-pty-pbvcgven.js → mime-hn2cwp1c.js} +16 -16
- package/dist/chunks/{persistent-pty-gsj12czv.js → mime-htztzjy7.js} +5 -5
- package/dist/chunks/{persistent-pty-r17fbvme.js → mime-j82m12k7.js} +7 -7
- package/dist/chunks/{persistent-pty-j9nxzz3g.js → mime-j9nxzz3g.js} +3 -3
- package/dist/chunks/{persistent-pty-vg9bpnxv.js → mime-jepjrsvk.js} +5 -5
- package/dist/chunks/{persistent-pty-catc26qr.js → mime-jfbjk41r.js} +17 -17
- package/dist/chunks/{persistent-pty-rdck4jxj.js → mime-jj1r77ac.js} +4 -4
- package/dist/chunks/{persistent-pty-jm70asfg.js → mime-jm70asfg.js} +1 -1
- package/dist/chunks/{persistent-pty-q2vfkj9t.js → mime-jpaec9rs.js} +15 -15
- package/dist/chunks/{persistent-pty-depd50ek.js → mime-jvezsma9.js} +13 -13
- package/dist/chunks/{persistent-pty-cx5r6w7a.js → mime-k6fbwznn.js} +11 -11
- package/dist/chunks/{persistent-pty-a1zem19w.js → mime-k6q6h8n1.js} +43 -43
- package/dist/chunks/{persistent-pty-d0tc4bm9.js → mime-kb583t44.js} +9 -9
- package/dist/chunks/{persistent-pty-b4sm2hyd.js → mime-kb65zd4b.js} +18 -18
- package/dist/chunks/{persistent-pty-38atze3s.js → mime-kh0hrg97.js} +4 -4
- package/dist/chunks/{persistent-pty-wzfa06mn.js → mime-kj9n5bvh.js} +4 -4
- package/dist/chunks/{persistent-pty-rh32f72q.js → mime-kprdxghf.js} +9 -9
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → mime-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-yqzk7gxy.js → mime-kz23hjpn.js} +7 -7
- package/dist/chunks/{persistent-pty-kzczzf4v.js → mime-kzczzf4v.js} +1 -1
- package/dist/chunks/{persistent-pty-awnfb1fx.js → mime-m07f0tx4.js} +4 -4
- package/dist/chunks/{persistent-pty-yz7qpr75.js → mime-m0r9mrhn.js} +6 -6
- package/dist/chunks/{persistent-pty-m1714858.js → mime-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-m7f343jb.js → mime-m18ec9ba.js} +24 -24
- package/dist/chunks/{persistent-pty-bxy19ahd.js → mime-m19brcvm.js} +34 -34
- package/dist/chunks/{persistent-pty-m6vgf9gw.js → mime-m2ftd1x1.js} +18 -18
- package/dist/chunks/{persistent-pty-nd2qx06s.js → mime-m5brqekz.js} +9 -9
- package/dist/chunks/{persistent-pty-ykjy17bf.js → mime-m5c2jw59.js} +8 -8
- package/dist/chunks/{persistent-pty-82rsrcxe.js → mime-m8zx2yvr.js} +3 -3
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-gerka9tj.js → mime-mjrcsjpa.js} +9 -9
- package/dist/chunks/{persistent-pty-6dwjhfha.js → mime-mkqdp8ha.js} +8 -8
- package/dist/chunks/mime-mksa3v89.js +26 -0
- package/dist/chunks/{persistent-pty-gc6rk9wr.js → mime-msenv5x7.js} +6 -6
- package/dist/chunks/{persistent-pty-rrfhe9rb.js → mime-n2cabxf7.js} +3 -3
- package/dist/chunks/{persistent-pty-7k74x5pp.js → mime-n32ag7mj.js} +25 -25
- package/dist/chunks/{persistent-pty-n3j33rb6.js → mime-n3j33rb6.js} +1 -1
- package/dist/chunks/{persistent-pty-qgtht8ak.js → mime-naez7vqj.js} +59 -59
- package/dist/chunks/{persistent-pty-5bqwv307.js → mime-namk50r6.js} +15 -15
- package/dist/chunks/{persistent-pty-xkcbpa04.js → mime-nmvgwxxw.js} +37 -37
- package/dist/chunks/{persistent-pty-99eawj82.js → mime-nnmrexdw.js} +11 -11
- package/dist/chunks/{persistent-pty-4wcdsfwx.js → mime-npcnccrp.js} +18 -18
- package/dist/chunks/{persistent-pty-nx4vzyjd.js → mime-nx4vzyjd.js} +2 -2
- package/dist/chunks/{persistent-pty-3cg8fg0c.js → mime-nytvgrp0.js} +65 -65
- package/dist/chunks/{persistent-pty-gkb3m8fg.js → mime-p09980df.js} +4 -4
- package/dist/chunks/{persistent-pty-wm9776tg.js → mime-p44yt5vy.js} +18 -18
- package/dist/chunks/{persistent-pty-67dpx2gv.js → mime-p7g1zvya.js} +38 -38
- package/dist/chunks/{persistent-pty-4h0enmab.js → mime-p9d43m3x.js} +2 -2
- package/dist/chunks/{persistent-pty-41w8hyyz.js → mime-pgpaa217.js} +46 -46
- package/dist/chunks/{persistent-pty-sdwrp5t9.js → mime-phzf5yet.js} +3 -3
- package/dist/chunks/{persistent-pty-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-wfevek3n.js → mime-pwpbmy9b.js} +7 -7
- package/dist/chunks/{persistent-pty-c5zvymhv.js → mime-px7qpgcn.js} +4 -4
- package/dist/chunks/{persistent-pty-sbh2nemz.js → mime-pxjhnb6b.js} +197 -197
- package/dist/chunks/{persistent-pty-q42tzrxa.js → mime-q42tzrxa.js} +1 -1
- package/dist/chunks/{persistent-pty-1jm0cvp0.js → mime-q836vd83.js} +45 -45
- package/dist/chunks/{persistent-pty-ww7agg2x.js → mime-qg6jv8pj.js} +12 -12
- package/dist/chunks/mime-qmh7vbk2.js +18 -0
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → mime-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-eda2q8fq.js → mime-qx6gtvv2.js} +9 -9
- package/dist/chunks/{persistent-pty-babktaw3.js → mime-qzgp0jr4.js} +4 -4
- package/dist/chunks/{persistent-pty-94e33dpz.js → mime-qzxcgvak.js} +3 -3
- package/dist/chunks/{persistent-pty-99dq0j2d.js → mime-r4hg3w1k.js} +4 -4
- package/dist/chunks/{persistent-pty-nfnfhz13.js → mime-r7tbzq19.js} +9 -9
- package/dist/chunks/{persistent-pty-vgmnkep0.js → mime-rb0xf4jw.js} +46 -46
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-rwhancbm.js → mime-rctmer9q.js} +11 -11
- package/dist/chunks/{persistent-pty-rgc9cx3e.js → mime-rgc9cx3e.js} +2 -2
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-zn6271pz.js → mime-rz4dv3b5.js} +5 -5
- package/dist/chunks/{persistent-pty-s47rahr7.js → mime-s47rahr7.js} +1 -1
- package/dist/chunks/{persistent-pty-5m6a7xby.js → mime-s92vvz56.js} +6 -6
- package/dist/chunks/{persistent-pty-sbya78hr.js → mime-sbya78hr.js} +1 -1
- package/dist/chunks/{persistent-pty-69p42xfb.js → mime-scyx7x44.js} +12 -12
- package/dist/chunks/{persistent-pty-vw0df41f.js → mime-sm941gqn.js} +15 -15
- package/dist/chunks/{persistent-pty-svcy3p9a.js → mime-svcy3p9a.js} +1 -1
- package/dist/chunks/{persistent-pty-m3pj60vj.js → mime-sx820q0t.js} +11 -11
- package/dist/chunks/{persistent-pty-8npv4741.js → mime-t3k6er82.js} +6 -6
- package/dist/chunks/{persistent-pty-dbatw319.js → mime-t48jrnqq.js} +3 -3
- package/dist/chunks/{persistent-pty-k85gbd49.js → mime-t5zrbzvq.js} +14 -14
- package/dist/chunks/{persistent-pty-t8erkws8.js → mime-t8erkws8.js} +2 -2
- package/dist/chunks/{persistent-pty-775jq4ej.js → mime-t8y6ac9x.js} +23 -23
- package/dist/chunks/{persistent-pty-tbpn7jtk.js → mime-tbpn7jtk.js} +1 -1
- package/dist/chunks/{persistent-pty-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-f2ag6bkj.js → mime-tm1g5tkd.js} +13 -13
- package/dist/chunks/{persistent-pty-tr8x705m.js → mime-tr8x705m.js} +1 -1
- package/dist/chunks/{persistent-pty-3c8g2tnf.js → mime-trvkpbht.js} +5 -5
- package/dist/chunks/{persistent-pty-nxq3spkz.js → mime-tve9d1zp.js} +19 -19
- package/dist/chunks/{persistent-pty-tvtps2q9.js → mime-tvtps2q9.js} +1 -1
- package/dist/chunks/{persistent-pty-0a0gkp3j.js → mime-twcr7etv.js} +3 -3
- package/dist/chunks/{persistent-pty-twssxy5n.js → mime-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-28graymx.js → mime-ty4y02pr.js} +10 -10
- package/dist/chunks/{persistent-pty-tycv7n3a.js → mime-tycv7n3a.js} +4 -4
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-57jnzfmk.js → mime-v8fkah3p.js} +8 -8
- package/dist/chunks/{persistent-pty-50mnmyd9.js → mime-va21r2d2.js} +1 -1
- package/dist/chunks/{persistent-pty-k0mz210m.js → mime-vab1tj5a.js} +20 -20
- package/dist/chunks/{persistent-pty-vjf35v1f.js → mime-vjf35v1f.js} +1 -1
- package/dist/chunks/{persistent-pty-yke5mffx.js → mime-vrpzz53w.js} +20 -20
- package/dist/chunks/{persistent-pty-4g3sdj5g.js → mime-vt4r9rmy.js} +9 -9
- package/dist/chunks/{persistent-pty-8xb43s2n.js → mime-vtkyewdg.js} +11 -11
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-pwcqpy7g.js → mime-w4mwx51g.js} +13 -13
- package/dist/chunks/{persistent-pty-wr3re1en.js → mime-w687dnns.js} +4 -4
- package/dist/chunks/{persistent-pty-v0t96s7a.js → mime-w79nt68w.js} +4 -4
- package/dist/chunks/{persistent-pty-zhym9e35.js → mime-w981er33.js} +7 -7
- package/dist/chunks/{persistent-pty-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-gzb1jq95.js → mime-wdnknb52.js} +10 -10
- package/dist/chunks/{persistent-pty-wfdx5ztx.js → mime-wfdx5ztx.js} +1 -1
- package/dist/chunks/{persistent-pty-x9vxb7ws.js → mime-whrbzme4.js} +5 -5
- package/dist/chunks/{persistent-pty-6n3nfrzz.js → mime-wpnj9nzv.js} +36 -36
- package/dist/chunks/{persistent-pty-he212vc7.js → mime-wqfvfa3w.js} +87 -87
- package/dist/chunks/{persistent-pty-t842sf7k.js → mime-wra9y4am.js} +14 -14
- package/dist/chunks/{persistent-pty-c7fp34sz.js → mime-wswerzyc.js} +12 -12
- package/dist/chunks/mime-x0ryjpn5.js +265 -0
- package/dist/chunks/{persistent-pty-q1hdphhq.js → mime-x2dzqpvr.js} +18 -18
- package/dist/chunks/{persistent-pty-ezm8zh6f.js → mime-x3ftxkfb.js} +3 -3
- package/dist/chunks/{persistent-pty-0crsys4t.js → mime-x9d3g3vs.js} +21 -21
- package/dist/chunks/{persistent-pty-m2ty84sg.js → mime-xb1cv5mt.js} +4 -4
- package/dist/chunks/{persistent-pty-v4n7vrjj.js → mime-xekfxd8p.js} +17 -17
- package/dist/chunks/{persistent-pty-xjr6c8m4.js → mime-xjr6c8m4.js} +1 -1
- package/dist/chunks/{persistent-pty-vg3hpwp2.js → mime-xnh3cv2w.js} +29 -29
- package/dist/chunks/{persistent-pty-ckc149ba.js → mime-xqyh6v84.js} +25 -25
- package/dist/chunks/{persistent-pty-xmtvhdvt.js → mime-xs9kh5kc.js} +5 -5
- package/dist/chunks/{persistent-pty-rapa4bye.js → mime-xvjqcpcs.js} +6 -6
- package/dist/chunks/{persistent-pty-fcrd7kek.js → mime-xvn8mnch.js} +4 -4
- package/dist/chunks/{persistent-pty-kmekj7m2.js → mime-xz07m27x.js} +4 -4
- package/dist/chunks/{persistent-pty-5mm5whnz.js → mime-xz8sda1x.js} +56 -56
- package/dist/chunks/{persistent-pty-c9hshhx1.js → mime-y35j1hcy.js} +5 -5
- package/dist/chunks/{persistent-pty-rha71f46.js → mime-y4n6pw34.js} +4 -4
- package/dist/chunks/{persistent-pty-19tdv85a.js → mime-y7hpbmd9.js} +12 -12
- package/dist/chunks/{persistent-pty-pnd10xkk.js → mime-yadf0a0g.js} +28 -28
- package/dist/chunks/{persistent-pty-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-6ayvzx6j.js → mime-yfhwstx4.js} +11 -11
- package/dist/chunks/{persistent-pty-3q2tc700.js → mime-ypkxtf09.js} +18 -18
- package/dist/chunks/{persistent-pty-yr705xyq.js → mime-yr705xyq.js} +1 -1
- package/dist/chunks/{persistent-pty-yvtc2x31.js → mime-yvtc2x31.js} +1 -1
- package/dist/chunks/{persistent-pty-6d8ta6s6.js → mime-yw0tw2pc.js} +4 -4
- package/dist/chunks/{persistent-pty-5jmte679.js → mime-ywd9288b.js} +10 -10
- package/dist/chunks/{persistent-pty-cfks88hm.js → mime-yy1vqjm8.js} +5 -5
- package/dist/chunks/{persistent-pty-55g2q5p5.js → mime-z0c26qk4.js} +2 -2
- package/dist/chunks/{persistent-pty-mfz3sqjd.js → mime-z343qd8z.js} +13 -13
- package/dist/chunks/{persistent-pty-f44rmy8r.js → mime-zrtqr2a8.js} +28 -28
- package/dist/chunks/{persistent-pty-6s53nrwj.js → mime-zs5xp4jv.js} +19 -19
- package/dist/chunks/{persistent-pty-ryekn1f5.js → mime-zsafdzvg.js} +31 -31
- package/dist/chunks/{persistent-pty-qjrh9arn.js → mime-zw057nah.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +100 -100
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-a610t88q.js +0 -18
- package/dist/chunks/persistent-pty-atg1htkd.js +0 -265
- package/dist/chunks/persistent-pty-davgff0s.js +0 -26
- package/dist/chunks/persistent-pty-nkyer32j.js +0 -571
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-108x4f4w.js → mime-108x4f4w.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kah00gy.js → mime-1kah00gy.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3af0jn4w.js → mime-3af0jn4w.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4qk9sjk2.js → mime-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → mime-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6agm2x70.js → mime-6agm2x70.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → mime-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bhmrqjy3.js → mime-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → mime-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-ean2d8b5.js → mime-ean2d8b5.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → mime-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → mime-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-nh4v3znn.js → mime-nh4v3znn.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → mime-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-syrav9an.js → mime-syrav9an.js} +0 -0
- /package/dist/chunks/{persistent-pty-t03h4f5z.js → mime-t03h4f5z.js} +0 -0
- /package/dist/chunks/{persistent-pty-ty7weeps.js → mime-ty7weeps.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-vtarvj67.js → mime-vtarvj67.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x4th4bpe.js → mime-x4th4bpe.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z0h12gs8.js → mime-z0h12gs8.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zxpyjp51.js → mime-zxpyjp51.js} +0 -0
- /package/dist/chunks/{persistent-pty-zz5vv3aq.js → mime-zz5vv3aq.js} +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./mime-2hw49bcj.js";
|
|
5
5
|
import {
|
|
6
6
|
ID18,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
7
|
+
Event18,
|
|
8
|
+
Service83,
|
|
9
|
+
node86
|
|
10
|
+
} from "./mime-a2ee6xxq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node80
|
|
14
|
+
} from "./mime-ffz0kz1m.js";
|
|
15
15
|
import {
|
|
16
16
|
AbsolutePath2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-z5v4ffb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service88,
|
|
20
|
+
node91
|
|
21
|
+
} from "./mime-0j59hwjs.js";
|
|
22
22
|
import {
|
|
23
23
|
substitute2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-7w2ypzdf.js";
|
|
25
25
|
import {
|
|
26
26
|
normalize3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-gz4a33x5.js";
|
|
28
28
|
import {
|
|
29
29
|
names4,
|
|
30
30
|
stripPreferenceMetadata2,
|
|
31
31
|
discover3
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-1y7se44y.js";
|
|
33
33
|
import {
|
|
34
34
|
plan2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./mime-1x2knyw4.js";
|
|
36
36
|
import {
|
|
37
37
|
Document3,
|
|
38
38
|
WellKnownDocument2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-j82m12k7.js";
|
|
40
40
|
import {
|
|
41
41
|
Document2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./mime-4dx1dgte.js";
|
|
43
43
|
import {
|
|
44
44
|
statements2,
|
|
45
45
|
decision2,
|
|
46
46
|
integrationResource2,
|
|
47
47
|
account2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./mime-qzxcgvak.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
50
|
+
Service79,
|
|
51
51
|
Event14,
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
52
|
+
node81
|
|
53
|
+
} from "./mime-npcnccrp.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./mime-9rqn6x4v.js";
|
|
57
57
|
|
|
58
58
|
// src/config.ts
|
|
59
59
|
var exports_config = {};
|
|
60
60
|
__export(exports_config, {
|
|
61
61
|
Config: () => exports_config,
|
|
62
|
-
Options: () =>
|
|
63
|
-
Service: () =>
|
|
62
|
+
Options: () => Options7,
|
|
63
|
+
Service: () => Service77,
|
|
64
64
|
Test: () => Test2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured9,
|
|
66
66
|
latest: () => latest2,
|
|
67
67
|
layer: () => layer25,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node79,
|
|
69
69
|
testLayer: () => testLayer2
|
|
70
70
|
});
|
|
71
71
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
|
|
|
81
81
|
function latest2(entries, key) {
|
|
82
82
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var Options7 = Schema.Struct({
|
|
85
85
|
project: Schema.optional(Schema.Boolean),
|
|
86
86
|
global: Schema.optional(Schema.Boolean),
|
|
87
87
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -90,7 +90,7 @@ var Options6 = Schema.Struct({
|
|
|
90
90
|
content: Schema.optional(Schema.String)
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service77 extends Context.Service()("@opencode/Config") {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -116,16 +116,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
116
116
|
return document ? next.set(integrationID, document) : next;
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
|
-
return Context.empty().pipe(Context.add(
|
|
119
|
+
return Context.empty().pipe(Context.add(Service77, service), Context.add(Test2, service));
|
|
120
120
|
}));
|
|
121
|
-
var layer25 = (options) => Layer.effect(
|
|
121
|
+
var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
122
122
|
const fs = yield* FSUtil.Service;
|
|
123
|
-
const location = yield*
|
|
124
|
-
const watcher = yield*
|
|
125
|
-
const bus = yield*
|
|
126
|
-
const credentials = yield*
|
|
123
|
+
const location = yield* Service88;
|
|
124
|
+
const watcher = yield* Service78;
|
|
125
|
+
const bus = yield* Service91;
|
|
126
|
+
const credentials = yield* Service83;
|
|
127
127
|
const globalService = yield* Global.Service;
|
|
128
|
-
const wellknown = yield*
|
|
128
|
+
const wellknown = yield* Service79;
|
|
129
129
|
const processes = yield* AppProcess.Service;
|
|
130
130
|
const integrations = new Map;
|
|
131
131
|
const context = yield* Effect.context();
|
|
@@ -297,7 +297,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
297
297
|
}, (effect) => reloadLock.withPermit(effect));
|
|
298
298
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
299
299
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
300
|
-
yield* bus.subscribe(
|
|
300
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
301
301
|
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
302
302
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
303
303
|
if (!wellknown.snapshot().length)
|
|
@@ -326,7 +326,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
326
326
|
`);
|
|
327
327
|
yield* requestReload;
|
|
328
328
|
}, (effect) => updateLock.withPermit(effect));
|
|
329
|
-
return
|
|
329
|
+
return Service77.of({
|
|
330
330
|
entries: Effect.fnUntraced(function* () {
|
|
331
331
|
return configs;
|
|
332
332
|
}),
|
|
@@ -346,22 +346,22 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
346
346
|
})
|
|
347
347
|
});
|
|
348
348
|
}));
|
|
349
|
-
function
|
|
349
|
+
function configured9(options) {
|
|
350
350
|
return makeLocationNode({
|
|
351
|
-
service:
|
|
351
|
+
service: Service77,
|
|
352
352
|
layer: layer25(options),
|
|
353
353
|
deps: [
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
node80,
|
|
355
|
+
node94,
|
|
356
356
|
FSUtil.node,
|
|
357
357
|
Global.node,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
358
|
+
node91,
|
|
359
|
+
node86,
|
|
360
|
+
node81,
|
|
361
361
|
AppProcess.node
|
|
362
362
|
]
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
|
-
var
|
|
365
|
+
var node79 = configured9();
|
|
366
366
|
|
|
367
|
-
export { latest2,
|
|
367
|
+
export { latest2, Options7, Service77, Test2, testLayer2, layer25, configured9, node79, exports_config };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./mime-ca48k592.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service88,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node91,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
23
23
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
24
24
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
25
|
-
class
|
|
25
|
+
class Service88 extends Context.Service()("@opencode/Location") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
var layer = (ref) => Layer.effect(
|
|
27
|
+
var node91 = LayerNode.unbound(Service88, tags.values.location);
|
|
28
|
+
var layer = (ref) => Layer.effect(Service88, Effect.gen(function* () {
|
|
29
29
|
const fs = yield* FSUtil.Service;
|
|
30
|
-
const project = yield*
|
|
30
|
+
const project = yield* Service89;
|
|
31
31
|
const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
|
|
32
32
|
const resolved = yield* project.resolve(ref.directory, { persist });
|
|
33
|
-
return
|
|
33
|
+
return Service88.of({
|
|
34
34
|
directory: ref.directory,
|
|
35
35
|
workspaceID: ref.workspaceID,
|
|
36
36
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service85, Effect.gen(function* () {
|
|
|
38
38
|
});
|
|
39
39
|
}));
|
|
40
40
|
var boundNode2 = (ref) => makeLocationNode({
|
|
41
|
-
service:
|
|
41
|
+
service: Service88,
|
|
42
42
|
layer: layer(ref),
|
|
43
|
-
deps: [FSUtil.node,
|
|
43
|
+
deps: [FSUtil.node, node92]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Info30, Ref5, response2, Service88, node91, boundNode2, exports_location };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-xvn8mnch.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-a2ee6xxq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-a5s60awv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service81
|
|
16
|
+
} from "./mime-7pvdk2vy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID15
|
|
19
|
+
} from "./mime-c0hq1g7s.js";
|
|
20
20
|
import {
|
|
21
21
|
load5,
|
|
22
22
|
derive3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-7y0nttf2.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-xvjqcpcs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID20
|
|
29
|
+
} from "./mime-xqyh6v84.js";
|
|
30
30
|
import {
|
|
31
31
|
get5
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service47,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-ea6gy4sr.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-gvpf2pvk.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./mime-a4f3ppe1.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/github-copilot.ts
|
|
45
45
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
73
73
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
74
74
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
75
75
|
var oauth = (app) => ({
|
|
76
|
-
integrationID:
|
|
76
|
+
integrationID: ID17.make("github-copilot"),
|
|
77
77
|
method: {
|
|
78
78
|
id: methodID,
|
|
79
79
|
type: "oauth",
|
|
@@ -171,8 +171,8 @@ var oauth = (app) => ({
|
|
|
171
171
|
var GithubCopilotPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.github.copilot",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const providers = yield*
|
|
175
|
-
const cache = yield*
|
|
174
|
+
const providers = yield* Service81;
|
|
175
|
+
const cache = yield* Service47;
|
|
176
176
|
const http = yield* HttpClient.HttpClient;
|
|
177
177
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
178
178
|
const discovered = yield* start3({
|
|
@@ -185,7 +185,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
185
185
|
if (!connection || credential?.type !== "oauth")
|
|
186
186
|
return { connection, value: {} };
|
|
187
187
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
188
|
-
const headers = (yield* providers.get(
|
|
188
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
189
189
|
const models = yield* cache.get({
|
|
190
190
|
key: modelsKey(connection, url, headers),
|
|
191
191
|
...options,
|
|
@@ -206,7 +206,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
206
206
|
editor.method.update(oauth(ctx.app));
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.provider.transform((evt) => {
|
|
209
|
-
const item = evt.get(
|
|
209
|
+
const item = evt.get(ID16.githubCopilot);
|
|
210
210
|
if (!item)
|
|
211
211
|
return;
|
|
212
212
|
const loaded = discovered.current;
|
|
@@ -235,8 +235,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
if (models.get(
|
|
239
|
-
models.update(
|
|
238
|
+
if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
|
|
239
|
+
models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
240
240
|
model.enabled = false;
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -247,7 +247,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
247
247
|
evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
|
|
248
248
|
const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
|
-
}), { providerID:
|
|
250
|
+
}), { providerID: ID16.githubCopilot });
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
252
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
253
253
|
return;
|
|
@@ -257,12 +257,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
258
258
|
if (interaction !== "conversation-agent")
|
|
259
259
|
evt.headers["x-initiator"] = "agent";
|
|
260
|
-
}), { providerID:
|
|
260
|
+
}), { providerID: ID16.githubCopilot });
|
|
261
261
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
262
262
|
const loaded = discovered.current;
|
|
263
263
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
264
264
|
return;
|
|
265
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
265
|
+
const agent = yield* ctx.agent.get({ agentID: ID20.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
268
|
if (agent?.data.model)
|
|
@@ -273,7 +273,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
273
273
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
274
274
|
return;
|
|
275
275
|
}));
|
|
276
|
-
}), { providerID:
|
|
276
|
+
}), { providerID: ID16.githubCopilot });
|
|
277
277
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
278
278
|
const token = evt.request.headers.get("x-api-key");
|
|
279
279
|
if (!token)
|
|
@@ -281,7 +281,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
281
281
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
282
282
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
283
283
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
284
|
-
}), { providerID:
|
|
284
|
+
}), { providerID: ID16.githubCopilot });
|
|
285
285
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
286
286
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
287
287
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -299,7 +299,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
299
299
|
const gpt = /^gpt-(\d+)/.exec(id);
|
|
300
300
|
const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
|
|
301
301
|
evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
|
|
302
|
-
}), { providerID:
|
|
302
|
+
}), { providerID: ID16.githubCopilot });
|
|
303
303
|
})
|
|
304
304
|
});
|
|
305
305
|
function modelsKey(connection, url, headers) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-xvjqcpcs.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./mime-a2ee6xxq.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-xvn8mnch.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-a5s60awv.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID16,
|
|
19
|
+
Service81
|
|
20
|
+
} from "./mime-7pvdk2vy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./mime-c0hq1g7s.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service47,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./mime-ea6gy4sr.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-482rwnqn.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./mime-gvpf2pvk.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-a4f3ppe1.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make18(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service83;
|
|
83
|
+
const providers = yield* Service81;
|
|
84
|
+
const cache = yield* Service47;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make15(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID16.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID16.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make15(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID16.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,7 +149,7 @@ function make15(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
153
153
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
@@ -189,7 +189,7 @@ function make15(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make15(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID16.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make15(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make15(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID16.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make15(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID16.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID16.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID16.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make15(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID16.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make15(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID16.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make18();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID15.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID15.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make18, AzurePlugin2 };
|