@opencode/core 0.0.0-dev-19384 → 0.0.0-dev-19386
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{model-resolver-hdn37q54.js → file-retention-01z5yxwd.js} +5 -5
- package/dist/chunks/{model-resolver-r59qmds9.js → file-retention-098kyh1n.js} +15 -15
- package/dist/chunks/{model-resolver-mj27xt9n.js → file-retention-0aj2jf1n.js} +27 -27
- package/dist/chunks/{model-resolver-8nnbah93.js → file-retention-0gnnjz3v.js} +4 -4
- package/dist/chunks/{model-resolver-nda3z8kh.js → file-retention-0hdv8hr0.js} +6 -6
- package/dist/chunks/{model-resolver-fwfyd8fy.js → file-retention-0je2mk44.js} +6 -6
- package/dist/chunks/file-retention-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-1r8xap2c.js → file-retention-0v9xjpmp.js} +54 -54
- package/dist/chunks/file-retention-0xpa0xtz.js +247 -0
- package/dist/chunks/{model-resolver-0a57wjjf.js → file-retention-11t8qrtw.js} +8 -8
- package/dist/chunks/{model-resolver-2neek4c8.js → file-retention-145w6188.js} +19 -19
- package/dist/chunks/{model-resolver-wdgm1b9h.js → file-retention-1ct8tqx8.js} +29 -29
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-1eyaby9q.js → file-retention-1eyaby9q.js} +2 -2
- package/dist/chunks/{model-resolver-gpffk3sd.js → file-retention-1wcfs5an.js} +2 -2
- package/dist/chunks/{model-resolver-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
- package/dist/chunks/{model-resolver-abgeen7n.js → file-retention-276j33cf.js} +24 -24
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2f0bjgcj.js → file-retention-2qp6y8xf.js} +5 -5
- package/dist/chunks/{model-resolver-awaee7qt.js → file-retention-2y34zzjz.js} +6 -6
- package/dist/chunks/{model-resolver-hymdpy01.js → file-retention-372vbskw.js} +10 -10
- package/dist/chunks/{model-resolver-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-4gd74qvs.js → file-retention-3gtbxjg2.js} +6 -6
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-9m7evh4e.js → file-retention-3jd9t3qm.js} +16 -16
- package/dist/chunks/{model-resolver-eg5vnqyk.js → file-retention-3jxfnes4.js} +36 -36
- package/dist/chunks/{model-resolver-7s3an50r.js → file-retention-3jyr1z4v.js} +7 -7
- package/dist/chunks/{model-resolver-v93xbqr2.js → file-retention-3ksxwg4k.js} +26 -26
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-6bpyz9aj.js → file-retention-3wwz76hv.js} +11 -11
- package/dist/chunks/{model-resolver-ma62v64d.js → file-retention-4m1wn79y.js} +13 -13
- package/dist/chunks/{model-resolver-g756tth6.js → file-retention-4t6adyww.js} +9 -9
- package/dist/chunks/{model-resolver-xjmdmay6.js → file-retention-4vcrnpx2.js} +11 -3
- package/dist/chunks/file-retention-4vr8ch1c.js +462 -0
- package/dist/chunks/{model-resolver-bwc3vdty.js → file-retention-4w6txemy.js} +10 -10
- package/dist/chunks/{model-resolver-6sg55drv.js → file-retention-4wqzyra5.js} +31 -31
- package/dist/chunks/{model-resolver-h4rczdf5.js → file-retention-4wt9y66g.js} +14 -14
- package/dist/chunks/{model-resolver-mfqp6xfm.js → file-retention-56gdpj1q.js} +6 -6
- package/dist/chunks/{model-resolver-4h6za3g8.js → file-retention-57a7s0s0.js} +11 -11
- package/dist/chunks/{model-resolver-266ddf5t.js → file-retention-5ctkr95j.js} +82 -82
- package/dist/chunks/{model-resolver-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-ahtyeane.js → file-retention-5mpmyavn.js} +46 -46
- package/dist/chunks/{model-resolver-cejc3es4.js → file-retention-5q5vxjc4.js} +10 -10
- package/dist/chunks/{model-resolver-gg3hwfv5.js → file-retention-5r18snb0.js} +25 -25
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-k36djr8a.js → file-retention-65wkgmh5.js} +18 -18
- package/dist/chunks/{model-resolver-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-9vs0xtad.js → file-retention-6bsje7ws.js} +3 -3
- package/dist/chunks/{model-resolver-cwxby6pr.js → file-retention-6g22vg9c.js} +8 -8
- package/dist/chunks/{model-resolver-34gkz9wj.js → file-retention-6jftzada.js} +12 -12
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-hcb85x7b.js → file-retention-6p79xx13.js} +13 -13
- package/dist/chunks/{model-resolver-wn7wpz7v.js → file-retention-6sjcznm0.js} +23 -23
- package/dist/chunks/{model-resolver-e23m03bd.js → file-retention-6ydpdfpt.js} +32 -32
- package/dist/chunks/{model-resolver-6adjmyr0.js → file-retention-70kj4k29.js} +15 -15
- package/dist/chunks/{model-resolver-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-r5x6zcsm.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/{model-resolver-m9mm4cnh.js → file-retention-747jvnpw.js} +20 -20
- package/dist/chunks/{model-resolver-rsmx3r31.js → file-retention-753tsz20.js} +12 -12
- package/dist/chunks/{model-resolver-kts9wqnk.js → file-retention-75dhgn7f.js} +21 -21
- package/dist/chunks/{model-resolver-g9vkt591.js → file-retention-75xqksf8.js} +22 -22
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → file-retention-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-pxq6bqj6.js → file-retention-7h5zs7mz.js} +9 -9
- package/dist/chunks/{model-resolver-ta08rfq5.js → file-retention-7zm91xf9.js} +9 -9
- package/dist/chunks/{model-resolver-nyxmwzmx.js → file-retention-83k0aw9t.js} +22 -22
- package/dist/chunks/{model-resolver-7b15y959.js → file-retention-844ef7ks.js} +8 -8
- package/dist/chunks/{model-resolver-a165ysxp.js → file-retention-84j6bdr5.js} +44 -44
- package/dist/chunks/{model-resolver-gsa0bc7f.js → file-retention-85h696dp.js} +35 -35
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-v44d1hzb.js → file-retention-8he2t7jm.js} +27 -27
- package/dist/chunks/{model-resolver-32sr25b2.js → file-retention-8nahm7e2.js} +2 -2
- package/dist/chunks/{model-resolver-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-wvh8s2yn.js → file-retention-8tdr907c.js} +5 -5
- package/dist/chunks/{model-resolver-hwwca0qh.js → file-retention-8v4qx0e5.js} +8 -8
- package/dist/chunks/{model-resolver-nmhj9mbj.js → file-retention-90w6g2p5.js} +21 -21
- package/dist/chunks/{model-resolver-bnfv4bke.js → file-retention-910sr6dw.js} +12 -12
- package/dist/chunks/{model-resolver-7jhhyt0b.js → file-retention-91rf1wrq.js} +35 -35
- package/dist/chunks/{model-resolver-dcd7yt0v.js → file-retention-94npywv2.js} +4 -4
- package/dist/chunks/{model-resolver-3y2vzd8j.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{model-resolver-chtn9pha.js → file-retention-97k74ssb.js} +30 -30
- package/dist/chunks/{model-resolver-ebk7g7ej.js → file-retention-9f1txmwq.js} +17 -17
- package/dist/chunks/{model-resolver-9q2j1ek8.js → file-retention-9gcr2md5.js} +23 -23
- package/dist/chunks/{model-resolver-j53p89fq.js → file-retention-9wx978ps.js} +22 -22
- package/dist/chunks/{model-resolver-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-shxa3zc7.js → file-retention-a7p8711m.js} +21 -21
- package/dist/chunks/{model-resolver-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-q5asdkn4.js → file-retention-afdssyjb.js} +4 -4
- package/dist/chunks/{model-resolver-32yfgjtf.js → file-retention-ahtv500y.js} +6 -6
- package/dist/chunks/{model-resolver-h2r7bbkd.js → file-retention-akrnn5pm.js} +8 -8
- package/dist/chunks/{model-resolver-9km4y146.js → file-retention-b348asm8.js} +6 -6
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-fn61cvhn.js → file-retention-b8xvyn6f.js} +20 -20
- package/dist/chunks/{model-resolver-3rr3nb8h.js → file-retention-banqffvw.js} +10 -10
- package/dist/chunks/{model-resolver-8fqcqt95.js → file-retention-bcnz578n.js} +2 -2
- package/dist/chunks/{model-resolver-vnrz4pgq.js → file-retention-bczj9gek.js} +16 -16
- package/dist/chunks/{model-resolver-dtf70dba.js → file-retention-bpewhtra.js} +33 -33
- package/dist/chunks/{model-resolver-7zavcbms.js → file-retention-bw7hten5.js} +3 -3
- package/dist/chunks/{model-resolver-syctdxxv.js → file-retention-c5khdk00.js} +5 -5
- package/dist/chunks/{model-resolver-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/file-retention-d0qewjeg.js +22 -0
- package/dist/chunks/{model-resolver-xmwzbncj.js → file-retention-d3dfkvzz.js} +11 -11
- package/dist/chunks/{model-resolver-qmsqtg79.js → file-retention-d750cxjj.js} +15 -15
- package/dist/chunks/{model-resolver-6p2e52w0.js → file-retention-dae8r372.js} +33 -33
- package/dist/chunks/{model-resolver-k3w3g6yz.js → file-retention-dmh4mpcg.js} +15 -15
- package/dist/chunks/{model-resolver-zqczhjy7.js → file-retention-dpazbx79.js} +26 -26
- package/dist/chunks/file-retention-dxj72tfx.js +18 -0
- package/dist/chunks/{model-resolver-dzdf5n0b.js → file-retention-dyh18y4s.js} +19 -19
- package/dist/chunks/{model-resolver-fmxf2c45.js → file-retention-dyh5ke7e.js} +15 -15
- package/dist/chunks/{model-resolver-pkxy8g8t.js → file-retention-e2q3914e.js} +64 -64
- package/dist/chunks/{model-resolver-v2zxy9vy.js → file-retention-e5fc1vxw.js} +1 -1
- package/dist/chunks/{model-resolver-8q9myf25.js → file-retention-ebah8r6x.js} +6 -6
- package/dist/chunks/{model-resolver-2wyjv582.js → file-retention-ebc7h8jh.js} +4 -4
- package/dist/chunks/{model-resolver-8jv093w6.js → file-retention-ecw23q2j.js} +24 -24
- package/dist/chunks/{model-resolver-0p99qez5.js → file-retention-efp272bp.js} +38 -38
- package/dist/chunks/{model-resolver-h3930hs4.js → file-retention-egpdn9z5.js} +11 -11
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-grf3440t.js → file-retention-f3ef4mcb.js} +24 -24
- package/dist/chunks/{model-resolver-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-4am1wjpn.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{model-resolver-tj8f0xj4.js → file-retention-fb8eapp7.js} +36 -36
- package/dist/chunks/{model-resolver-zsjw64s0.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{model-resolver-shk6rdn6.js → file-retention-fheq99qy.js} +14 -14
- package/dist/chunks/{model-resolver-5kptn8c0.js → file-retention-fjmrr6sh.js} +9 -9
- package/dist/chunks/{model-resolver-zknapg7q.js → file-retention-fm13v0aj.js} +15 -15
- package/dist/chunks/{model-resolver-k1xpzw1w.js → file-retention-fptf14bk.js} +15 -15
- package/dist/chunks/{model-resolver-r0vvnr3j.js → file-retention-fqfsm8yp.js} +23 -23
- package/dist/chunks/{model-resolver-a211gggb.js → file-retention-fw9y5yd9.js} +23 -23
- package/dist/chunks/{model-resolver-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-q77c0ew5.js → file-retention-g1gr4bmr.js} +8 -8
- package/dist/chunks/{model-resolver-9w6qx4ar.js → file-retention-g72gjvtz.js} +8 -8
- package/dist/chunks/{model-resolver-77bj7wjf.js → file-retention-g84nn1aa.js} +36 -36
- package/dist/chunks/{model-resolver-z2kgn23z.js → file-retention-gcbt0df5.js} +26 -26
- package/dist/chunks/{model-resolver-60jadqqn.js → file-retention-gckxsv6v.js} +18 -18
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-6rsb5r8s.js → file-retention-h77cxaca.js} +25 -25
- package/dist/chunks/{model-resolver-es1gkq3r.js → file-retention-h7ygw6q4.js} +9 -9
- package/dist/chunks/{model-resolver-fxqygnfa.js → file-retention-hfdr1yjj.js} +4 -4
- package/dist/chunks/{model-resolver-wbkyxrgf.js → file-retention-hnr5yq9h.js} +5 -5
- package/dist/chunks/{model-resolver-e592wy5s.js → file-retention-hnsp6gvf.js} +17 -17
- package/dist/chunks/{model-resolver-0ft9cg2j.js → file-retention-j15mfg1p.js} +6 -6
- package/dist/chunks/{model-resolver-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-pmr4s4kc.js → file-retention-j83byb14.js} +4 -4
- package/dist/chunks/{model-resolver-0wrbff2f.js → file-retention-jefma2gq.js} +10 -10
- package/dist/chunks/{model-resolver-h8b7tcqs.js → file-retention-jr7591m5.js} +11 -11
- package/dist/chunks/{model-resolver-ee7h6a8j.js → file-retention-jy790zpn.js} +10 -10
- package/dist/chunks/{model-resolver-ak9msbxp.js → file-retention-jyv4pdcd.js} +8 -8
- package/dist/chunks/{model-resolver-cz2fjc0t.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/{model-resolver-121k57vw.js → file-retention-ka2k270b.js} +7 -7
- package/dist/chunks/{model-resolver-20fjk41b.js → file-retention-kb4mbprj.js} +11 -11
- package/dist/chunks/{model-resolver-pe1m764c.js → file-retention-kc4sfmzp.js} +144 -144
- package/dist/chunks/{model-resolver-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-54n99x85.js → file-retention-kkta2ctq.js} +25 -25
- package/dist/chunks/{model-resolver-wea85wnq.js → file-retention-ksarex0k.js} +8 -8
- package/dist/chunks/{model-resolver-h63xhtna.js → file-retention-ksry9d8f.js} +44 -44
- package/dist/chunks/{model-resolver-p905rm1f.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{model-resolver-c1g6mvbq.js → file-retention-m27pyyd3.js} +8 -8
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{model-resolver-qx26rsfj.js → file-retention-mma0v91q.js} +26 -26
- package/dist/chunks/{model-resolver-c8p7nfbc.js → file-retention-mtjehpx1.js} +84 -84
- package/dist/chunks/{model-resolver-vwqc105j.js → file-retention-mv5ftj3m.js} +12 -12
- package/dist/chunks/{model-resolver-bkqqcfdf.js → file-retention-mwmzgnyj.js} +19 -19
- package/dist/chunks/{model-resolver-fc3gg9nv.js → file-retention-mzbpx9yh.js} +8 -8
- package/dist/chunks/{model-resolver-txht7vc4.js → file-retention-n1nkedfb.js} +44 -44
- package/dist/chunks/{model-resolver-vstb6x8b.js → file-retention-n3gg6d5p.js} +17 -17
- package/dist/chunks/{model-resolver-341vskh0.js → file-retention-n3jzkq55.js} +33 -33
- package/dist/chunks/{model-resolver-rjjg3e34.js → file-retention-n5h13zaa.js} +7 -7
- package/dist/chunks/{model-resolver-snxhrb6z.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{model-resolver-gteg2vnc.js → file-retention-nd93s368.js} +14 -14
- package/dist/chunks/{model-resolver-pth6n3j5.js → file-retention-ne8aj7mp.js} +20 -20
- package/dist/chunks/{model-resolver-h6nsps6f.js → file-retention-nhvhf6q8.js} +8 -8
- package/dist/chunks/{model-resolver-47gsdddb.js → file-retention-nhy5jxhy.js} +5 -5
- package/dist/chunks/{model-resolver-xh49vxj8.js → file-retention-p3p972wa.js} +5 -5
- package/dist/chunks/{model-resolver-rjeyb174.js → file-retention-pahz8e0w.js} +8 -8
- package/dist/chunks/{model-resolver-10zhb9cj.js → file-retention-pdaxh6j6.js} +19 -19
- package/dist/chunks/{model-resolver-pj0fhg0j.js → file-retention-pdbeap0x.js} +41 -41
- package/dist/chunks/{model-resolver-6178vqjw.js → file-retention-phc8pspp.js} +3 -3
- package/dist/chunks/{model-resolver-9w6wr46b.js → file-retention-pjjbt500.js} +33 -33
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-6q5arvd8.js → file-retention-pp4q2nd9.js} +43 -43
- package/dist/chunks/{model-resolver-8n5es00k.js → file-retention-ppj7fmgk.js} +23 -23
- package/dist/chunks/{model-resolver-tfjws8eq.js → file-retention-ptyjv6sg.js} +3 -3
- package/dist/chunks/{model-resolver-vs2mxw6e.js → file-retention-pv3jdcwf.js} +16 -16
- package/dist/chunks/{model-resolver-x8qpn73s.js → file-retention-q4p7gt18.js} +24 -24
- package/dist/chunks/{model-resolver-grxcxy9j.js → file-retention-q51nheh5.js} +8 -8
- package/dist/chunks/{model-resolver-412kwdx9.js → file-retention-q62bfh0y.js} +26 -26
- package/dist/chunks/{model-resolver-r2jnt3k9.js → file-retention-q6wpp224.js} +4 -4
- package/dist/chunks/{model-resolver-v5dkyp31.js → file-retention-qa3qhgw8.js} +4 -4
- package/dist/chunks/{model-resolver-jw80jp6b.js → file-retention-qj8eh1ht.js} +4 -4
- package/dist/chunks/{model-resolver-yw2gt92n.js → file-retention-qmf2gm4z.js} +10 -10
- package/dist/chunks/{model-resolver-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-b4cdxvsz.js → file-retention-qx7k4qp2.js} +42 -42
- package/dist/chunks/{model-resolver-zem9gw1c.js → file-retention-r0z7zczf.js} +25 -25
- package/dist/chunks/{model-resolver-r8xr0va3.js → file-retention-r8xr0va3.js} +1 -1
- package/dist/chunks/{model-resolver-wbqy31zn.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{model-resolver-7xhxth10.js → file-retention-raekatpd.js} +9 -9
- package/dist/chunks/{model-resolver-6nxs6bmb.js → file-retention-rbygrj0c.js} +6 -6
- package/dist/chunks/{model-resolver-2szxs6c7.js → file-retention-rdzktax9.js} +4 -4
- package/dist/chunks/{model-resolver-1hc11dc4.js → file-retention-rsdf2nvv.js} +4 -4
- package/dist/chunks/{model-resolver-394mryvr.js → file-retention-rsx8nqs6.js} +11 -11
- package/dist/chunks/{model-resolver-y5mrfvw4.js → file-retention-rsym84ch.js} +9 -9
- package/dist/chunks/{model-resolver-fqj9nv8j.js → file-retention-rtathh62.js} +5 -5
- package/dist/chunks/{model-resolver-6b99yyvg.js → file-retention-s6b7x209.js} +8 -8
- package/dist/chunks/{model-resolver-02nrjc1r.js → file-retention-s8d7rejh.js} +8 -8
- package/dist/chunks/{model-resolver-1g817pcs.js → file-retention-sgs3z1tt.js} +32 -32
- package/dist/chunks/{model-resolver-vy3jd71w.js → file-retention-sjj15vqw.js} +23 -23
- package/dist/chunks/{model-resolver-fz4feqya.js → file-retention-skefxpr1.js} +9 -9
- package/dist/chunks/{model-resolver-mgxq4wd9.js → file-retention-sxbnakwy.js} +5 -5
- package/dist/chunks/{model-resolver-3axs0qpa.js → file-retention-sxpvbsth.js} +9 -9
- package/dist/chunks/{model-resolver-cppeb8e9.js → file-retention-sy1kpmqf.js} +42 -42
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-wkgjqrx7.js → file-retention-th9pr1j7.js} +4 -4
- package/dist/chunks/{model-resolver-n8120r6k.js → file-retention-tjk5t6k4.js} +4 -4
- package/dist/chunks/{model-resolver-esj243wz.js → file-retention-tjsj89dc.js} +9 -9
- package/dist/chunks/{model-resolver-s0hza5ac.js → file-retention-tm7zr4pr.js} +4 -4
- package/dist/chunks/{model-resolver-9a34e234.js → file-retention-tsxa73g8.js} +13 -13
- package/dist/chunks/{model-resolver-qsare228.js → file-retention-tt4eawst.js} +3 -3
- package/dist/chunks/{model-resolver-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-yvx62gnn.js → file-retention-twb5wmxd.js} +5 -5
- package/dist/chunks/{model-resolver-1y2x0aqg.js → file-retention-txd1j2wz.js} +15 -15
- package/dist/chunks/{model-resolver-hvnwc3gd.js → file-retention-v2rsyevg.js} +9 -9
- package/dist/chunks/{model-resolver-nzckpb8h.js → file-retention-vc35pqxv.js} +13 -13
- package/dist/chunks/{model-resolver-wy1grk9j.js → file-retention-vdq7pbmg.js} +3 -3
- package/dist/chunks/{model-resolver-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-ftxm3p3a.js → file-retention-vhdv10mr.js} +24 -24
- package/dist/chunks/{model-resolver-754zj9nk.js → file-retention-vhkdtr9q.js} +19 -19
- package/dist/chunks/{model-resolver-dn00p2xs.js → file-retention-vhkpr0st.js} +18 -18
- package/dist/chunks/{model-resolver-2bhdwkz4.js → file-retention-vkvntndg.js} +36 -36
- package/dist/chunks/{model-resolver-x04m22yd.js → file-retention-vsjh5n0j.js} +29 -29
- package/dist/chunks/{model-resolver-2c9abtxg.js → file-retention-vtzb9n73.js} +8 -8
- package/dist/chunks/{model-resolver-tevc9p4b.js → file-retention-vwt4pwz2.js} +13 -13
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-shzfhh4e.js → file-retention-w4dyxxvc.js} +11 -11
- package/dist/chunks/{model-resolver-4p59xbax.js → file-retention-w78zdbkg.js} +11 -11
- package/dist/chunks/{model-resolver-922arjmq.js → file-retention-waa2mmfw.js} +17 -17
- package/dist/chunks/{model-resolver-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-zzy03re2.js → file-retention-wnsbns26.js} +20 -20
- package/dist/chunks/{model-resolver-3sexfajv.js → file-retention-wr0wz2nx.js} +3 -3
- package/dist/chunks/{model-resolver-3q1jyqhd.js → file-retention-wx9wy1qm.js} +1 -1
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
- package/dist/chunks/{model-resolver-cr4v6k8r.js → file-retention-x7s3znm0.js} +26 -26
- package/dist/chunks/{model-resolver-d7tbmrmr.js → file-retention-xb3fxaqb.js} +9 -9
- package/dist/chunks/{model-resolver-tx1bbn1t.js → file-retention-xhqkdcr0.js} +2 -2
- package/dist/chunks/{model-resolver-ds30tbjg.js → file-retention-xje3kg99.js} +12 -12
- package/dist/chunks/{model-resolver-vex7y4d1.js → file-retention-xnafzea3.js} +27 -27
- package/dist/chunks/{model-resolver-ngmpv4k0.js → file-retention-xphcp306.js} +17 -17
- package/dist/chunks/{model-resolver-x46gjfhs.js → file-retention-xq8kymca.js} +11 -11
- package/dist/chunks/{model-resolver-2de4jeeq.js → file-retention-xws4r01w.js} +12 -12
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-964trts7.js → file-retention-y984hjy8.js} +21 -21
- package/dist/chunks/{model-resolver-62v8g8sf.js → file-retention-ygk5pt6v.js} +32 -32
- package/dist/chunks/{model-resolver-jbad0je3.js → file-retention-ykmmkvse.js} +20 -20
- package/dist/chunks/{model-resolver-mk59f0qp.js → file-retention-ynnzzba7.js} +3 -3
- package/dist/chunks/{model-resolver-2qjqjmaw.js → file-retention-ynwbtj63.js} +6 -6
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-s8zy8myc.js → file-retention-yt0fqk68.js} +5 -5
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-1pjc74g1.js → file-retention-z2ryqxvw.js} +4 -4
- package/dist/chunks/{model-resolver-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-bd9nqr2t.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{model-resolver-7bzsnhgb.js → file-retention-zdwm66qa.js} +12 -12
- package/dist/chunks/{model-resolver-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-h6693ktv.js → file-retention-zhw0490b.js} +13 -13
- package/dist/chunks/{model-resolver-4bbwdacz.js → file-retention-zmf3sk4j.js} +39 -39
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-wdevvqhk.js → file-retention-zw7j6aej.js} +14 -14
- package/dist/chunks/{model-resolver-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 +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +113 -113
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- 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 +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +218 -218
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +7 -7
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
- package/dist/chunks/model-resolver-a5tg2hvh.js +0 -462
- package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
- package/dist/chunks/model-resolver-xfa62wd8.js +0 -22
- package/dist/chunks/model-resolver-ypaemdrr.js +0 -247
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → file-retention-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-zw7j6aej.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./file-retention-sy1kpmqf.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-c5khdk00.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service53;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID15.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make8();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./file-retention-6g22vg9c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./file-retention-ebah8r6x.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-dxj72tfx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service72
|
|
15
|
+
} from "./file-retention-ka2k270b.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-phc8pspp.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service52
|
|
23
|
+
} from "./file-retention-x7s3znm0.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service61;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service72;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service52;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service46;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-m27pyyd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node73
|
|
12
|
+
} from "./file-retention-kb4mbprj.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-bcnz578n.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref3
|
|
20
|
+
} from "./file-retention-zw7j6aej.js";
|
|
21
21
|
import {
|
|
22
22
|
ID8,
|
|
23
23
|
Service66,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
node71
|
|
25
|
+
} from "./file-retention-fqfsm8yp.js";
|
|
26
26
|
import {
|
|
27
27
|
Service65,
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
node70
|
|
29
|
+
} from "./file-retention-ne8aj7mp.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service64,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -43,7 +43,7 @@ __export(exports_model_resolver, {
|
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
45
|
layer: () => layer24,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node69,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
57
|
-
modelID:
|
|
56
|
+
providerID: ID18,
|
|
57
|
+
modelID: ID15,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
60
60
|
get message() {
|
|
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
67
|
-
modelID:
|
|
66
|
+
providerID: ID18,
|
|
67
|
+
modelID: ID15,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
70
70
|
get message() {
|
|
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
77
|
-
modelID:
|
|
76
|
+
providerID: ID18,
|
|
77
|
+
modelID: ID15,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
87
|
-
modelID:
|
|
86
|
+
providerID: ID18,
|
|
87
|
+
modelID: ID15,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
90
90
|
get message() {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,11 +218,11 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var layer24 = Layer.effect(
|
|
221
|
+
var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
222
222
|
const catalog = yield* Service65;
|
|
223
223
|
const integrations = yield* Service66;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service68;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
228
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
@@ -235,7 +235,7 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
235
235
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
236
236
|
return {
|
|
237
237
|
model: runtime,
|
|
238
|
-
ref:
|
|
238
|
+
ref: Ref3.make({
|
|
239
239
|
id: selected.id,
|
|
240
240
|
providerID: selected.providerID,
|
|
241
241
|
...variant === undefined ? {} : { variant }
|
|
@@ -246,7 +246,7 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
246
246
|
compaction: selected.compaction
|
|
247
247
|
};
|
|
248
248
|
});
|
|
249
|
-
return
|
|
249
|
+
return Service64.of({
|
|
250
250
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
251
251
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
252
252
|
if (!selected)
|
|
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
263
263
|
const name = packageName2(packageName);
|
|
264
264
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
266
|
+
var node69 = makeLocationNode({
|
|
267
|
+
service: Service64,
|
|
268
268
|
layer: layer24,
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node70, node71, Npm.node, node73]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
272
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-3jyr1z4v.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-e5fc1vxw.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-m27pyyd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service65
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-ne8aj7mp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./file-retention-sy1kpmqf.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
14
|
const catalog = yield* Service65;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service53);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin34
|
|
3
|
+
} from "./file-retention-rtathh62.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./file-retention-ynwbtj63.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin35
|
|
9
|
+
} from "./file-retention-0hdv8hr0.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./file-retention-8tdr907c.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin34,
|
|
17
|
+
Plugin36,
|
|
18
|
+
Plugin35,
|
|
19
|
+
Plugin37
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured5,
|
|
11
|
+
layer: () => layer15,
|
|
12
|
+
make: () => make15,
|
|
13
|
+
node: () => node38,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make15()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make15(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer15 = (input) => Layer.succeed(Metadata2, make15(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer15(input), deps: [] });
|
|
33
|
+
var node38 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make15, useragent2, layer15, configured5, node38, exports_app };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./file-retention-3jd9t3qm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node22
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service19 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service19.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node22 = makeLocationNode({
|
|
91
|
+
service: Service19,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node80, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service19, node22, exports_formatter2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-retention-6jftzada.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-retention-3jd9t3qm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./file-retention-0mesazry.js";
|
|
12
12
|
import {
|
|
13
13
|
Service50,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node56
|
|
16
|
+
} from "./file-retention-8v4qx0e5.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service20,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node23
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service20 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
60
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service77;
|
|
62
|
+
const location = yield* Service75;
|
|
63
63
|
const shell = yield* Service50;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service20.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node23 = makeLocationNode({
|
|
274
|
+
service: Service20,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node82, node80, node56]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service20, node23, exports_pty, Event4 };
|