@opencode/core 0.0.0-dev-21011 → 0.0.0-dev-21014
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 +77 -77
- package/dist/chunks/{form-6q3g8xg3.js → file-retention-0br3sbwn.js} +4 -4
- package/dist/chunks/{form-e97ndpgv.js → file-retention-0ew4pgvh.js} +29 -29
- package/dist/chunks/{form-82rhge12.js → file-retention-0jq9fyba.js} +9 -9
- package/dist/chunks/{form-txrthtyn.js → file-retention-0qp554p5.js} +5 -5
- package/dist/chunks/{form-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-hxhp7dtd.js → file-retention-0z8qyv6e.js} +11 -11
- package/dist/chunks/{form-vmkrwz5c.js → file-retention-12jxavrd.js} +31 -31
- package/dist/chunks/{form-f7g8hjtk.js → file-retention-14g0fqd9.js} +12 -12
- package/dist/chunks/{form-qbr3qg4y.js → file-retention-14ss4vbv.js} +9 -9
- package/dist/chunks/{form-btje6eqz.js → file-retention-169nkwk8.js} +26 -26
- package/dist/chunks/{form-3cbpd81r.js → file-retention-1q8v9ebw.js} +40 -40
- package/dist/chunks/{form-g2hp3vqx.js → file-retention-1t590k4r.js} +16 -16
- package/dist/chunks/{form-6g7e4dd5.js → file-retention-28qsb1ph.js} +9 -9
- package/dist/chunks/{form-n4fsmagx.js → file-retention-317g7k6g.js} +35 -35
- package/dist/chunks/{form-h7s7r6s9.js → file-retention-31xfzrxg.js} +5 -5
- package/dist/chunks/{form-avwt2xsz.js → file-retention-33gt55zk.js} +17 -17
- package/dist/chunks/{form-m4m6ddy0.js → file-retention-343b8twr.js} +31 -31
- package/dist/chunks/{form-fea7gdn7.js → file-retention-35f1txve.js} +4 -4
- package/dist/chunks/{form-a602vx8c.js → file-retention-3a90axj9.js} +24 -24
- package/dist/chunks/{form-x8knmkzv.js → file-retention-3dj4nk9r.js} +10 -10
- package/dist/chunks/{form-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-9c3np669.js → file-retention-3rtxz4nr.js} +8 -8
- package/dist/chunks/{form-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-m9fzqjzy.js → file-retention-3wadahsr.js} +15 -15
- package/dist/chunks/{form-gqtdsdt7.js → file-retention-3y377wv9.js} +4 -4
- package/dist/chunks/{form-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-ez08sjjy.js → file-retention-41jpfhb3.js} +32 -32
- package/dist/chunks/{form-ehgrgyqj.js → file-retention-45z6fg85.js} +48 -48
- package/dist/chunks/{form-pps52h15.js → file-retention-494866tp.js} +25 -25
- package/dist/chunks/{form-tsn8bsdq.js → file-retention-4as0pac5.js} +14 -14
- package/dist/chunks/{form-n3f8xpja.js → file-retention-4jf5r3d7.js} +23 -23
- package/dist/chunks/{form-0v34zmgv.js → file-retention-4nq780rr.js} +8 -8
- package/dist/chunks/{form-snvhch9n.js → file-retention-4qxa3b8n.js} +10 -10
- package/dist/chunks/{form-erv1nza1.js → file-retention-4r8pgdq5.js} +34 -34
- package/dist/chunks/{form-721826nf.js → file-retention-4x4e769q.js} +21 -21
- package/dist/chunks/{form-crapqw80.js → file-retention-4z07f7n3.js} +25 -25
- package/dist/chunks/{form-9rxh9vc4.js → file-retention-4zys1a3z.js} +8 -8
- package/dist/chunks/{form-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{form-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-xja3d10x.js → file-retention-5qmd8552.js} +4 -4
- package/dist/chunks/{form-h7nvm89x.js → file-retention-5wbvgj8p.js} +9 -9
- package/dist/chunks/{form-j4nkbaz2.js → file-retention-5yg5wf9b.js} +37 -37
- package/dist/chunks/{form-5xtgfte3.js → file-retention-5yzzbxa7.js} +8 -8
- package/dist/chunks/file-retention-5z5w0mbt.js +26 -0
- package/dist/chunks/{form-cpxgzvxx.js → file-retention-5zj8cc1q.js} +17 -17
- package/dist/chunks/{form-d0ky9prf.js → file-retention-6b6wpy4c.js} +13 -13
- package/dist/chunks/{form-8svajzjj.js → file-retention-6bdav48n.js} +90 -90
- package/dist/chunks/{form-7x4qn87h.js → file-retention-6bh6zht1.js} +8 -8
- package/dist/chunks/{form-kngtgbps.js → file-retention-6na3g6pg.js} +58 -58
- package/dist/chunks/{form-2g8hje7s.js → file-retention-6vf2fsqw.js} +17 -17
- package/dist/chunks/{form-47swjef3.js → file-retention-6x7z2ytp.js} +24 -24
- package/dist/chunks/{form-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-gztk07db.js → file-retention-70vxy3y5.js} +22 -22
- package/dist/chunks/{form-swjgwa7j.js → file-retention-71dexq5d.js} +11 -11
- package/dist/chunks/{form-y38hkvdm.js → file-retention-76pbprbn.js} +15 -15
- package/dist/chunks/{form-775gj3j1.js → file-retention-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-eh003p28.js → file-retention-7e57dx7y.js} +192 -192
- package/dist/chunks/{form-fnf227f0.js → file-retention-7f00463b.js} +20 -20
- package/dist/chunks/{form-fww2ha2b.js → file-retention-7k2e2df9.js} +10 -10
- package/dist/chunks/{form-8hcfczpt.js → file-retention-7ky6n90g.js} +13 -13
- package/dist/chunks/{form-seewk876.js → file-retention-7nz7jn0r.js} +15 -15
- package/dist/chunks/{form-37npsz1w.js → file-retention-7yatdfkd.js} +26 -26
- package/dist/chunks/{form-bn5ewp0w.js → file-retention-801ybqbd.js} +5 -5
- package/dist/chunks/{form-pqwj5q2q.js → file-retention-82dw7q9y.js} +46 -46
- package/dist/chunks/{form-phz50fbd.js → file-retention-8hxtpvs0.js} +9 -9
- package/dist/chunks/{form-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-r3qasar1.js → file-retention-8s0xtqnd.js} +24 -24
- package/dist/chunks/{form-7fkffz83.js → file-retention-8sze2n9a.js} +8 -8
- package/dist/chunks/{form-yynmaj8z.js → file-retention-8vas296z.js} +5 -5
- package/dist/chunks/{form-hdab2k61.js → file-retention-909p1r3q.js} +6 -6
- package/dist/chunks/{form-8xy5369n.js → file-retention-98c5f06f.js} +15 -15
- package/dist/chunks/{form-xhtqqe1m.js → file-retention-9aqq5nvv.js} +34 -34
- package/dist/chunks/{form-9vhba5v5.js → file-retention-9jjvh5yj.js} +36 -36
- package/dist/chunks/{form-7t3g9e2b.js → file-retention-9p0txavt.js} +5 -5
- package/dist/chunks/{form-xk9sh67x.js → file-retention-9tw73w2d.js} +24 -24
- package/dist/chunks/{form-4kmde3yz.js → file-retention-9zd2w1n5.js} +15 -15
- package/dist/chunks/{form-n7937mg5.js → file-retention-a4pc9c5c.js} +51 -51
- package/dist/chunks/{form-njc0w668.js → file-retention-aa7e2tv8.js} +31 -31
- package/dist/chunks/{form-j50dn89j.js → file-retention-ab62emgm.js} +13 -13
- package/dist/chunks/{form-jqrcj8vr.js → file-retention-afk6yey1.js} +50 -50
- package/dist/chunks/{form-cw11zj9g.js → file-retention-apkf47ca.js} +6 -6
- package/dist/chunks/{form-3c9pez1w.js → file-retention-aqc38cqd.js} +13 -13
- package/dist/chunks/{form-bpbqsjc5.js → file-retention-aqkhk00p.js} +23 -23
- package/dist/chunks/{form-143qq2q9.js → file-retention-arz7hw7x.js} +3 -3
- package/dist/chunks/{form-t3pdfh17.js → file-retention-as4mgesb.js} +35 -35
- package/dist/chunks/{form-e1ev7m0f.js → file-retention-awk6knb3.js} +15 -15
- package/dist/chunks/{form-wxa4kc3h.js → file-retention-b0em60tq.js} +3 -3
- package/dist/chunks/{form-b3f8fkhc.js → file-retention-b3f8fkhc.js} +2 -2
- package/dist/chunks/{form-bn590nze.js → file-retention-b4bz9kxw.js} +1 -1
- package/dist/chunks/{form-e29c15sd.js → file-retention-b4nzaj04.js} +5 -5
- package/dist/chunks/{form-n3vpxe9e.js → file-retention-b70ztsq5.js} +18 -18
- package/dist/chunks/{form-yrey27x9.js → file-retention-b7tkvae9.js} +17 -17
- package/dist/chunks/{form-z5w0btk4.js → file-retention-bcjdeyqn.js} +31 -31
- package/dist/chunks/{form-tv3tk5e7.js → file-retention-berr4p9f.js} +43 -43
- package/dist/chunks/{form-bjx1sjef.js → file-retention-bjx1sjef.js} +2 -2
- package/dist/chunks/{form-mhc8tqjz.js → file-retention-bn2z0vx7.js} +3 -3
- package/dist/chunks/{form-14cdk0s6.js → file-retention-bwg67q4g.js} +41 -41
- package/dist/chunks/{form-ss7kc155.js → file-retention-c0ntss9e.js} +24 -24
- package/dist/chunks/{form-c1fqxshp.js → file-retention-c1fqxshp.js} +3 -3
- package/dist/chunks/file-retention-c3ahp5cr.js +253 -0
- package/dist/chunks/{form-4c3synvf.js → file-retention-cf7mn8e9.js} +20 -20
- package/dist/chunks/{form-g6drypzc.js → file-retention-ck51dxh3.js} +17 -17
- package/dist/chunks/{form-rjj0kxdj.js → file-retention-cn90h94x.js} +37 -37
- package/dist/chunks/{form-g6q9qykm.js → file-retention-cpneeje0.js} +9 -9
- package/dist/chunks/{form-4rgwa650.js → file-retention-csx4qebp.js} +9 -9
- package/dist/chunks/{form-er5phavy.js → file-retention-czy1bpjs.js} +9 -9
- package/dist/chunks/{form-s5fj66ad.js → file-retention-d002rr2p.js} +30 -30
- package/dist/chunks/{form-3hy6f8c4.js → file-retention-d46xqbnr.js} +22 -22
- package/dist/chunks/{form-e02eq8f5.js → file-retention-d6yjde1r.js} +19 -19
- package/dist/chunks/{form-dmm39yex.js → file-retention-d8efssg2.js} +21 -21
- package/dist/chunks/{form-3wy3xfhq.js → file-retention-d9hmp2ka.js} +11 -11
- package/dist/chunks/{form-y2qecmcg.js → file-retention-dhbnfacn.js} +14 -14
- package/dist/chunks/{form-xq6mgr11.js → file-retention-djbp5nh2.js} +6 -6
- package/dist/chunks/{form-dqxsqydv.js → file-retention-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-vkbhjkd5.js → file-retention-dr4d52gw.js} +32 -32
- package/dist/chunks/{form-m84184k4.js → file-retention-dtyzwnrk.js} +5 -5
- package/dist/chunks/file-retention-dxj72tfx.js +18 -0
- package/dist/chunks/{form-5yr40zeg.js → file-retention-dz866tjr.js} +11 -11
- package/dist/chunks/{form-d858xzj7.js → file-retention-eahhehpg.js} +4 -4
- package/dist/chunks/{form-edrmdtr5.js → file-retention-edrmdtr5.js} +1 -1
- package/dist/chunks/{form-eej6y6fw.js → file-retention-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-4aqqpnpa.js → file-retention-eh0pg0ss.js} +9 -9
- package/dist/chunks/{form-nepa0w8v.js → file-retention-ej40pes1.js} +23 -23
- package/dist/chunks/{form-z5pcptfa.js → file-retention-ejvnp2ks.js} +11 -11
- package/dist/chunks/{form-eq8t53aj.js → file-retention-es27v6nt.js} +14 -14
- package/dist/chunks/{form-ffwe724q.js → file-retention-f3myw4xv.js} +22 -22
- package/dist/chunks/{form-6cv5qdzx.js → file-retention-fb37tdxn.js} +10 -10
- package/dist/chunks/{form-dqn38spn.js → file-retention-fbtsrrmm.js} +4 -4
- package/dist/chunks/{form-9k6mxhmg.js → file-retention-fe7xgvze.js} +24 -24
- package/dist/chunks/{form-wf3aqgd2.js → file-retention-fg399ztj.js} +34 -34
- package/dist/chunks/{form-e60rwd5s.js → file-retention-fq2e6s3p.js} +28 -28
- package/dist/chunks/{form-xnz68hwv.js → file-retention-fs90qe41.js} +6 -6
- package/dist/chunks/{form-w39jehkq.js → file-retention-g6yfr6ja.js} +5 -5
- package/dist/chunks/{form-bn0s77k4.js → file-retention-g7swxvb3.js} +18 -18
- package/dist/chunks/{form-vdvkw4gf.js → file-retention-ga6dbr11.js} +48 -48
- package/dist/chunks/{form-c9mm3yn7.js → file-retention-gbqjtqth.js} +25 -25
- package/dist/chunks/{form-rzbepvw2.js → file-retention-gbwx0srj.js} +45 -45
- package/dist/chunks/{form-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-m4v3ppb4.js → file-retention-ghgmervw.js} +18 -18
- package/dist/chunks/{form-p658ffzv.js → file-retention-gsahz1ss.js} +8 -8
- package/dist/chunks/{form-wnvgq5rs.js → file-retention-gwjvbrnw.js} +3 -3
- package/dist/chunks/{form-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-pq3p5sgx.js → file-retention-h748stye.js} +1 -1
- package/dist/chunks/{form-q5e7cmwt.js → file-retention-he27pt63.js} +1 -1
- package/dist/chunks/{form-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-spj3rs7w.js → file-retention-hh6d8b15.js} +28 -28
- package/dist/chunks/{form-zv4abm7d.js → file-retention-hhreayt7.js} +22 -22
- package/dist/chunks/{form-ssyqzp7x.js → file-retention-hmkps6ty.js} +27 -27
- package/dist/chunks/{form-cfjaa9df.js → file-retention-hzw4cxwv.js} +13 -13
- package/dist/chunks/{form-91qna3x0.js → file-retention-j09zfasm.js} +3 -3
- package/dist/chunks/{form-25vxs7my.js → file-retention-j37tk4s1.js} +20 -20
- package/dist/chunks/{form-hdysr67s.js → file-retention-jd9hc5c6.js} +5 -5
- package/dist/chunks/{form-3cz0zj82.js → file-retention-jg32kqvh.js} +19 -19
- package/dist/chunks/{form-jk540des.js → file-retention-jk540des.js} +2 -2
- package/dist/chunks/{form-537k2b6a.js → file-retention-jxgknhbk.js} +5 -5
- package/dist/chunks/{form-h2w3qysh.js → file-retention-jz58ycx9.js} +5 -5
- package/dist/chunks/{form-wzpavc0h.js → file-retention-k28swmkw.js} +45 -45
- package/dist/chunks/{form-25cgwp6q.js → file-retention-kanpa06r.js} +16 -16
- package/dist/chunks/{form-47a0zg4r.js → file-retention-kbf0jh97.js} +4 -4
- package/dist/chunks/{form-skzmvm4j.js → file-retention-kejp1rz3.js} +50 -50
- package/dist/chunks/{form-g1s6c47t.js → file-retention-kg91cx0t.js} +4 -4
- package/dist/chunks/{form-baaqp4zd.js → file-retention-kne8f3cn.js} +4 -4
- package/dist/chunks/{form-wg81ww38.js → file-retention-kqx1b4hy.js} +4 -4
- package/dist/chunks/{form-ghwm7f5x.js → file-retention-kr55r1bg.js} +14 -14
- package/dist/chunks/{form-t24pbkgt.js → file-retention-kzwbv4nn.js} +11 -11
- package/dist/chunks/{form-pwmmzb0q.js → file-retention-m5tv4514.js} +51 -14
- package/dist/chunks/{form-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
- package/dist/chunks/{form-aryc3stw.js → file-retention-me77td0v.js} +5 -5
- package/dist/chunks/{form-3r77nd71.js → file-retention-mf0vtrbq.js} +20 -20
- package/dist/chunks/{form-edrqqpmw.js → file-retention-mmyj435p.js} +22 -22
- package/dist/chunks/{form-e5ephxh3.js → file-retention-mt1habk1.js} +19 -19
- package/dist/chunks/{form-93prh51k.js → file-retention-n9jwdt3t.js} +4 -4
- package/dist/chunks/{form-jh43x2gr.js → file-retention-nay0he7a.js} +25 -25
- package/dist/chunks/{form-a6w21yjg.js → file-retention-nj464p1b.js} +12 -12
- package/dist/chunks/{form-r2z489rp.js → file-retention-nma959mg.js} +3 -3
- package/dist/chunks/{form-3cqwnyj9.js → file-retention-npw39rc8.js} +8 -8
- package/dist/chunks/{form-9pa8tak9.js → file-retention-nqxj0yn4.js} +2 -2
- package/dist/chunks/{form-0ap5nxpg.js → file-retention-nrrv6dtp.js} +7 -7
- package/dist/chunks/{form-ezs570a8.js → file-retention-nvavy7ph.js} +17 -17
- package/dist/chunks/{form-h95dhd2e.js → file-retention-nxefwe56.js} +20 -20
- package/dist/chunks/{form-hq3c8me3.js → file-retention-ny8edt06.js} +4 -4
- package/dist/chunks/{form-hb26dn5q.js → file-retention-pezt36hj.js} +11 -11
- package/dist/chunks/{form-gq6ff74y.js → file-retention-pfk5wy6h.js} +11 -11
- package/dist/chunks/{form-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{form-3p3rsvqq.js → file-retention-pp9wqrm9.js} +15 -15
- package/dist/chunks/{form-jtzsmrk2.js → file-retention-psy6vzvk.js} +10 -10
- package/dist/chunks/{form-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-br1rk1d8.js → file-retention-q2e8ypk4.js} +2 -2
- package/dist/chunks/{form-j08649s7.js → file-retention-q6vgk5tx.js} +26 -26
- package/dist/chunks/{form-505c55rd.js → file-retention-qbfnxdkt.js} +11 -11
- package/dist/chunks/{form-y8j1d83x.js → file-retention-qd5nnggg.js} +36 -36
- package/dist/chunks/{form-6v79zamc.js → file-retention-qk98frm8.js} +98 -98
- package/dist/chunks/{form-be9ztc22.js → file-retention-qkhk7ppk.js} +24 -24
- package/dist/chunks/{form-0ytnbz4y.js → file-retention-qm3ah3vw.js} +8 -8
- package/dist/chunks/{form-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{form-52s9q06w.js → file-retention-qtjfv2pr.js} +16 -16
- package/dist/chunks/{form-vgpxhj99.js → file-retention-qzpyk82z.js} +6 -6
- package/dist/chunks/{form-hzfhha8y.js → file-retention-r3ww6m9v.js} +11 -11
- package/dist/chunks/{form-n3n5kct9.js → file-retention-r6k96hsc.js} +14 -14
- package/dist/chunks/{form-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → file-retention-rert0e01.js} +2 -2
- package/dist/chunks/{form-cr28v8hb.js → file-retention-rf36gdfd.js} +11 -11
- package/dist/chunks/{form-eaj1djv9.js → file-retention-rhjbct0v.js} +8 -8
- package/dist/chunks/{form-rj3eygr5.js → file-retention-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-7xj9awyf.js → file-retention-rk6zbwj7.js} +9 -9
- package/dist/chunks/{form-fgywf1sk.js → file-retention-rnqjhy1g.js} +14 -14
- package/dist/chunks/{form-f7qtgnbp.js → file-retention-s68ta6h4.js} +26 -26
- package/dist/chunks/{form-sa8ekw3f.js → file-retention-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-fhrn9ry2.js → file-retention-sdjmf92r.js} +23 -23
- package/dist/chunks/{form-rv8bg9zk.js → file-retention-snf1tfdw.js} +6 -6
- package/dist/chunks/{form-syv4x271.js → file-retention-syv4x271.js} +1 -1
- package/dist/chunks/{form-s2z0d44b.js → file-retention-sz15zhhw.js} +4 -4
- package/dist/chunks/{form-k10q0rt9.js → file-retention-t0kc1yrm.js} +38 -38
- package/dist/chunks/{form-vkg9we9y.js → file-retention-t8ks3146.js} +13 -13
- package/dist/chunks/{form-608ahxn3.js → file-retention-t9h41g6h.js} +4 -4
- package/dist/chunks/{form-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-ax1t9xtj.js → file-retention-tdhvqp0s.js} +8 -8
- package/dist/chunks/{form-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{form-5xypne46.js → file-retention-tgvthde2.js} +18 -18
- package/dist/chunks/{form-tm0kqsz3.js → file-retention-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-r7pvn046.js → file-retention-trya7axm.js} +8 -8
- package/dist/chunks/{form-bdn2wxed.js → file-retention-ts2hbyr8.js} +18 -18
- package/dist/chunks/{form-g69jfcfp.js → file-retention-ts8jrmeq.js} +4 -4
- package/dist/chunks/{form-hf9tj6qr.js → file-retention-tx96wtwf.js} +6 -6
- package/dist/chunks/{form-tyytaxap.js → file-retention-tyytaxap.js} +1 -1
- package/dist/chunks/{form-99yrpdtp.js → file-retention-v567a2n9.js} +9 -9
- package/dist/chunks/{form-v7p4zvkq.js → file-retention-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-n3pmav1h.js → file-retention-v9aahat3.js} +33 -33
- package/dist/chunks/{form-9sgsjpgv.js → file-retention-vapsbb60.js} +11 -11
- package/dist/chunks/{form-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/file-retention-vfbmtatm.js +513 -0
- package/dist/chunks/{form-rwe7g98w.js → file-retention-vsq3m3qh.js} +63 -63
- package/dist/chunks/{form-satfz2qa.js → file-retention-vyvgz92x.js} +11 -11
- package/dist/chunks/{form-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-84txncab.js → file-retention-w1eejvng.js} +5 -5
- package/dist/chunks/{form-gzw0vxys.js → file-retention-w2xjjsrc.js} +76 -76
- package/dist/chunks/{form-a7bcxdzj.js → file-retention-w3nq1sqw.js} +9 -9
- package/dist/chunks/{form-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-4bmbsd4v.js → file-retention-w4bpjgvx.js} +1 -1
- package/dist/chunks/{form-0ycbn11j.js → file-retention-w9zdepcn.js} +46 -46
- package/dist/chunks/{form-tqnbmqv0.js → file-retention-wby3r2te.js} +11 -11
- package/dist/chunks/{form-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{form-p0kcevce.js → file-retention-ww365c1w.js} +75 -53
- package/dist/chunks/{form-fb4f5xs0.js → file-retention-wwenzjkg.js} +11 -11
- package/dist/chunks/{form-p3p972wa.js → file-retention-x6pyv2yz.js} +5 -5
- package/dist/chunks/{form-kca18nqk.js → file-retention-x9bqbk5n.js} +13 -13
- package/dist/chunks/{form-qqeeq2t9.js → file-retention-xfkkasph.js} +7 -7
- package/dist/chunks/{form-a0w9j8wk.js → file-retention-xftrays8.js} +50 -50
- package/dist/chunks/{form-1yvx7ymw.js → file-retention-xvtgxxrz.js} +32 -32
- package/dist/chunks/{form-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{form-2xdh0w28.js → file-retention-ygdna4kr.js} +5 -5
- package/dist/chunks/{form-b0p9f8mf.js → file-retention-ymq5q27y.js} +44 -44
- package/dist/chunks/{form-f2n192rq.js → file-retention-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-pmrqhd2p.js → file-retention-yrf56wq9.js} +35 -35
- package/dist/chunks/{form-fgem0d3n.js → file-retention-yw8t9dwe.js} +8 -8
- package/dist/chunks/{form-ey95qdp6.js → file-retention-z0bka10m.js} +7 -7
- package/dist/chunks/{form-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-gebfq3xb.js → file-retention-z12nrmke.js} +12 -12
- package/dist/chunks/{form-hcg8wwt0.js → file-retention-z407xa8j.js} +13 -13
- package/dist/chunks/{form-jah5evhf.js → file-retention-z4c2qrqq.js} +8 -8
- package/dist/chunks/{form-928hjf0p.js → file-retention-z7cwpd0j.js} +10 -10
- package/dist/chunks/{form-0bv9cy4y.js → file-retention-z7qkgadb.js} +27 -27
- package/dist/chunks/{form-mqz80whq.js → file-retention-zjgmvxsd.js} +21 -21
- package/dist/chunks/{form-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-f29mbr7f.js → file-retention-zsr4wwhv.js} +4 -4
- package/dist/chunks/{form-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +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 +117 -117
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- 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 +93 -93
- 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 +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- 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 +116 -116
- 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 +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +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 +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +120 -120
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +109 -109
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/provider.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-8kzeb6r2.js +0 -26
- package/dist/chunks/form-9sh4wc5j.js +0 -18
- package/dist/chunks/form-rdc13ccq.js +0 -513
- package/dist/chunks/form-vay30y3j.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → file-retention-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node88
|
|
7
|
+
} from "./file-retention-3wadahsr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service84,
|
|
10
|
+
node87
|
|
11
|
+
} from "./file-retention-tgvthde2.js";
|
|
12
12
|
import {
|
|
13
13
|
Service80,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node83
|
|
15
|
+
} from "./file-retention-qm3ah3vw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info24,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-28qsb1ph.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info23,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node79,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID14 = ID15;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info23 = Info24;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID14
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,12 +98,12 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const git = yield* Service80;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service84;
|
|
106
|
+
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event17.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID14.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event17.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID14.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID14.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID14.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID14.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service76.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node79 = makeGlobalNode({
|
|
310
|
+
service: Service76,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node87, node88, FSUtil.node, node83, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service76;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node79]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID14, Vcs2, Current2, Info23, UpdateInput3, NotFoundError10, root2, Service76, node79, sweepNode2, exports_project };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-retention-3wadahsr.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node87
|
|
9
|
+
} from "./file-retention-tgvthde2.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-4zys1a3z.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./file-retention-5zj8cc1q.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service24,
|
|
25
|
+
node27
|
|
26
|
+
} from "./file-retention-6bdav48n.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service12,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node14
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service12 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service24;
|
|
65
|
+
const store = yield* Service70;
|
|
66
|
+
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service12.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node14 = makeLocationNode({
|
|
151
|
+
service: Service12,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node27, node73, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service12, isUntitled2, layer7, node14, exports_title };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info9 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info6 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info9, exports_provider2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-wby3r2te.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./file-retention-tgvthde2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID17,
|
|
9
|
+
Event20,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./file-retention-qd5nnggg.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-3y377wv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-yrf56wq9.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID7,
|
|
24
|
+
Service58
|
|
25
|
+
} from "./file-retention-ww365c1w.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID5
|
|
28
|
+
} from "./file-retention-317g7k6g.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-apkf47ca.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,11 +70,11 @@ function make7(endpoints = {
|
|
|
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(ID7.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service84;
|
|
76
|
+
const credentials = yield* Service82;
|
|
77
|
+
const providers = yield* Service58;
|
|
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 make7(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: ID7.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: ID7.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make7(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID7.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make7(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(ID7.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.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 make7(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(ID7.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 make7(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(ID7.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(ID7.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make7(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 === ID7.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 !== ID7.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 make7(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID7.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make7(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 !== ID7.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 make7(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID7.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(ID7.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID7.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.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(ID7.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 make7(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 !== ID7.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make7(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: ID7.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID7.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,7 +308,7 @@ function make7(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: ID7.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID5.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID5.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|