@opencode/core 0.0.0-dev-19382 → 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 +83 -83
- package/dist/chunks/{persistent-pty-xyqew3mv.js → file-retention-01z5yxwd.js} +5 -5
- package/dist/chunks/{persistent-pty-za010qp9.js → file-retention-098kyh1n.js} +15 -15
- package/dist/chunks/{persistent-pty-5fk2x3ne.js → file-retention-0aj2jf1n.js} +32 -32
- package/dist/chunks/{persistent-pty-rr02k77t.js → file-retention-0gnnjz3v.js} +4 -4
- package/dist/chunks/{persistent-pty-62ck2ww7.js → file-retention-0hdv8hr0.js} +6 -6
- package/dist/chunks/{persistent-pty-5pxstkb3.js → file-retention-0je2mk44.js} +6 -6
- package/dist/chunks/file-retention-0mesazry.js +4 -0
- package/dist/chunks/{persistent-pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-pg5p62yz.js → file-retention-0v9xjpmp.js} +56 -56
- package/dist/chunks/file-retention-0xpa0xtz.js +247 -0
- package/dist/chunks/{persistent-pty-kr9sgtgf.js → file-retention-11t8qrtw.js} +4 -4
- package/dist/chunks/{persistent-pty-2dqdz844.js → file-retention-145w6188.js} +22 -22
- package/dist/chunks/{persistent-pty-jtwxsvja.js → file-retention-1ct8tqx8.js} +26 -26
- package/dist/chunks/{persistent-pty-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1dfhrqqs.js → file-retention-1eyaby9q.js} +9 -3
- package/dist/chunks/{persistent-pty-q31fgcfb.js → file-retention-1wcfs5an.js} +2 -2
- package/dist/chunks/{persistent-pty-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-k38a9k66.js → file-retention-276j33cf.js} +24 -24
- package/dist/chunks/{persistent-pty-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-3w0fmcng.js → file-retention-2qp6y8xf.js} +5 -5
- package/dist/chunks/{persistent-pty-5qkxfyep.js → file-retention-2y34zzjz.js} +4 -4
- package/dist/chunks/{persistent-pty-tjhr2e2t.js → file-retention-372vbskw.js} +10 -10
- package/dist/chunks/{persistent-pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-0cxbqrwq.js → file-retention-3gtbxjg2.js} +6 -6
- package/dist/chunks/{persistent-pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-aezrryrs.js → file-retention-3jd9t3qm.js} +16 -16
- package/dist/chunks/{persistent-pty-1dnwr72p.js → file-retention-3jxfnes4.js} +33 -33
- package/dist/chunks/{persistent-pty-496txj22.js → file-retention-3jyr1z4v.js} +7 -7
- package/dist/chunks/{persistent-pty-qgwcde76.js → file-retention-3ksxwg4k.js} +27 -27
- package/dist/chunks/{persistent-pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3xgyx5eq.js → file-retention-3wwz76hv.js} +17 -17
- package/dist/chunks/{persistent-pty-hbrvt83f.js → file-retention-4m1wn79y.js} +13 -13
- package/dist/chunks/{persistent-pty-qqgkdyp0.js → file-retention-4t6adyww.js} +9 -9
- package/dist/chunks/{persistent-pty-a1tpkmh4.js → file-retention-4vcrnpx2.js} +13 -3
- package/dist/chunks/file-retention-4vr8ch1c.js +462 -0
- package/dist/chunks/{persistent-pty-mq0g1pjt.js → file-retention-4w6txemy.js} +10 -10
- package/dist/chunks/{persistent-pty-egptq5ne.js → file-retention-4wqzyra5.js} +26 -26
- package/dist/chunks/{persistent-pty-ttv5kw1x.js → file-retention-4wt9y66g.js} +11 -11
- package/dist/chunks/{persistent-pty-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
- package/dist/chunks/{persistent-pty-a9dg8arj.js → file-retention-57a7s0s0.js} +11 -11
- package/dist/chunks/{persistent-pty-f3ymaypt.js → file-retention-5ctkr95j.js} +84 -84
- package/dist/chunks/{persistent-pty-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-8f3c4n8p.js → file-retention-5mpmyavn.js} +46 -46
- package/dist/chunks/{persistent-pty-fgxp3znt.js → file-retention-5q5vxjc4.js} +27 -27
- package/dist/chunks/{persistent-pty-ssrx42ha.js → file-retention-5r18snb0.js} +28 -28
- package/dist/chunks/{persistent-pty-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-0thdkkg9.js → file-retention-65wkgmh5.js} +22 -22
- package/dist/chunks/{persistent-pty-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-j7wq2tw5.js → file-retention-6bsje7ws.js} +3 -3
- package/dist/chunks/{persistent-pty-5gachfgg.js → file-retention-6g22vg9c.js} +8 -8
- package/dist/chunks/{persistent-pty-f2ew84cp.js → file-retention-6jftzada.js} +12 -12
- package/dist/chunks/{persistent-pty-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-r0perv49.js → file-retention-6p79xx13.js} +13 -13
- package/dist/chunks/{persistent-pty-tejv9b0j.js → file-retention-6sjcznm0.js} +24 -24
- package/dist/chunks/{persistent-pty-ab1e930g.js → file-retention-6ydpdfpt.js} +32 -32
- package/dist/chunks/{persistent-pty-rxr84acp.js → file-retention-70kj4k29.js} +19 -19
- package/dist/chunks/{persistent-pty-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-z2r733d6.js → file-retention-747jvnpw.js} +20 -20
- package/dist/chunks/{persistent-pty-f8714f1t.js → file-retention-753tsz20.js} +18 -18
- package/dist/chunks/{persistent-pty-esqtk39r.js → file-retention-75dhgn7f.js} +23 -23
- package/dist/chunks/{persistent-pty-eq21rbs0.js → file-retention-75xqksf8.js} +22 -22
- package/dist/chunks/{persistent-pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-ka3dfe4s.js → file-retention-7h5zs7mz.js} +14 -14
- package/dist/chunks/{persistent-pty-xfwnp4wv.js → file-retention-7zm91xf9.js} +9 -9
- package/dist/chunks/{persistent-pty-q71trj3n.js → file-retention-83k0aw9t.js} +20 -20
- package/dist/chunks/{persistent-pty-844ef7ks.js → file-retention-844ef7ks.js} +1 -1
- package/dist/chunks/{persistent-pty-ydky9c7y.js → file-retention-84j6bdr5.js} +46 -46
- package/dist/chunks/{persistent-pty-cpb6a78b.js → file-retention-85h696dp.js} +35 -35
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-brv10750.js → file-retention-8he2t7jm.js} +27 -27
- package/dist/chunks/{persistent-pty-sznf9k39.js → file-retention-8nahm7e2.js} +6 -6
- package/dist/chunks/{persistent-pty-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-xskhzebk.js → file-retention-8tdr907c.js} +8 -8
- package/dist/chunks/{persistent-pty-egy5b1a6.js → file-retention-8v4qx0e5.js} +17 -17
- package/dist/chunks/{persistent-pty-0zqpp7wj.js → file-retention-90w6g2p5.js} +19 -19
- package/dist/chunks/{persistent-pty-sfxpj00y.js → file-retention-910sr6dw.js} +13 -13
- package/dist/chunks/{persistent-pty-vq1smemt.js → file-retention-91rf1wrq.js} +38 -38
- package/dist/chunks/{persistent-pty-2g1m3br9.js → file-retention-94npywv2.js} +4 -4
- package/dist/chunks/{persistent-pty-00mqm9kf.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{persistent-pty-sv2fejnn.js → file-retention-97k74ssb.js} +26 -26
- package/dist/chunks/{persistent-pty-zm83jvmn.js → file-retention-9f1txmwq.js} +18 -18
- package/dist/chunks/{persistent-pty-xbcdabpt.js → file-retention-9gcr2md5.js} +20 -20
- package/dist/chunks/{persistent-pty-zbqm35g7.js → file-retention-9wx978ps.js} +27 -27
- package/dist/chunks/{persistent-pty-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-prvjh75d.js → file-retention-a7p8711m.js} +22 -22
- package/dist/chunks/{persistent-pty-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-8gxqpgph.js → file-retention-afdssyjb.js} +4 -4
- package/dist/chunks/{persistent-pty-d2eaxeas.js → file-retention-ahtv500y.js} +6 -6
- package/dist/chunks/{persistent-pty-nbzsj80d.js → file-retention-akrnn5pm.js} +8 -8
- package/dist/chunks/{persistent-pty-s3428mxb.js → file-retention-b348asm8.js} +6 -6
- package/dist/chunks/{persistent-pty-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-8gs24b9n.js → file-retention-b8xvyn6f.js} +23 -23
- package/dist/chunks/{persistent-pty-h9gezfnd.js → file-retention-banqffvw.js} +10 -10
- package/dist/chunks/{persistent-pty-k4ewzjtn.js → file-retention-bcnz578n.js} +2 -2
- package/dist/chunks/{persistent-pty-m526qhmk.js → file-retention-bczj9gek.js} +16 -16
- package/dist/chunks/{persistent-pty-w5qx82t0.js → file-retention-bpewhtra.js} +39 -39
- package/dist/chunks/{persistent-pty-bf3rh841.js → file-retention-bw7hten5.js} +3 -3
- package/dist/chunks/{persistent-pty-ppky1t1y.js → file-retention-c5khdk00.js} +7 -7
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/file-retention-d0qewjeg.js +22 -0
- package/dist/chunks/{persistent-pty-2b6sywcb.js → file-retention-d3dfkvzz.js} +11 -11
- package/dist/chunks/{persistent-pty-2g2y3drj.js → file-retention-d750cxjj.js} +15 -15
- package/dist/chunks/{persistent-pty-sqe88krq.js → file-retention-dae8r372.js} +34 -34
- package/dist/chunks/{persistent-pty-df3me751.js → file-retention-dmh4mpcg.js} +16 -16
- package/dist/chunks/{persistent-pty-zs8qganv.js → file-retention-dpazbx79.js} +35 -35
- package/dist/chunks/file-retention-dxj72tfx.js +18 -0
- package/dist/chunks/{persistent-pty-djvn5p54.js → file-retention-dyh18y4s.js} +19 -19
- package/dist/chunks/{persistent-pty-rxpytfvj.js → file-retention-dyh5ke7e.js} +18 -18
- package/dist/chunks/{persistent-pty-s2prs345.js → file-retention-e2q3914e.js} +66 -66
- package/dist/chunks/{persistent-pty-krp391jj.js → file-retention-e5fc1vxw.js} +1 -1
- package/dist/chunks/{persistent-pty-w9nng7hv.js → file-retention-ebah8r6x.js} +6 -6
- package/dist/chunks/{persistent-pty-jnmqjdkf.js → file-retention-ebc7h8jh.js} +4 -4
- package/dist/chunks/{persistent-pty-yp9wmgac.js → file-retention-ecw23q2j.js} +24 -24
- package/dist/chunks/{persistent-pty-1w52t0mb.js → file-retention-efp272bp.js} +39 -39
- package/dist/chunks/{persistent-pty-djc8e50c.js → file-retention-egpdn9z5.js} +11 -11
- package/dist/chunks/{persistent-pty-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-k5ezyj3d.js → file-retention-f3ef4mcb.js} +29 -29
- package/dist/chunks/{persistent-pty-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-4066mr2m.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{persistent-pty-ppnmpad2.js → file-retention-fb8eapp7.js} +30 -30
- package/dist/chunks/{persistent-pty-kmv022h3.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{persistent-pty-6hjj4s54.js → file-retention-fheq99qy.js} +20 -20
- package/dist/chunks/{persistent-pty-t0x5rdq8.js → file-retention-fjmrr6sh.js} +9 -9
- package/dist/chunks/{persistent-pty-cnhax2e6.js → file-retention-fm13v0aj.js} +15 -15
- package/dist/chunks/{persistent-pty-2ht10vg0.js → file-retention-fptf14bk.js} +20 -20
- package/dist/chunks/{persistent-pty-1kpvqeks.js → file-retention-fqfsm8yp.js} +31 -31
- package/dist/chunks/{persistent-pty-g5dj6d40.js → file-retention-fw9y5yd9.js} +23 -23
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-g8dftn7c.js → file-retention-g1gr4bmr.js} +11 -11
- package/dist/chunks/{persistent-pty-fyjrpq2n.js → file-retention-g72gjvtz.js} +6 -6
- package/dist/chunks/{persistent-pty-vz3schgb.js → file-retention-g84nn1aa.js} +20 -20
- package/dist/chunks/{persistent-pty-1eygjsb7.js → file-retention-gcbt0df5.js} +32 -32
- package/dist/chunks/{persistent-pty-jsdanxxx.js → file-retention-gckxsv6v.js} +18 -18
- package/dist/chunks/{persistent-pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-8fq8nx20.js → file-retention-h77cxaca.js} +25 -25
- package/dist/chunks/{persistent-pty-m86bnw2c.js → file-retention-h7ygw6q4.js} +9 -9
- package/dist/chunks/{persistent-pty-bha4atvq.js → file-retention-hfdr1yjj.js} +4 -4
- package/dist/chunks/{persistent-pty-qn4ba14w.js → file-retention-hnr5yq9h.js} +5 -5
- package/dist/chunks/{persistent-pty-ejanc1th.js → file-retention-hnsp6gvf.js} +15 -15
- package/dist/chunks/{persistent-pty-nqnxh7mc.js → file-retention-j15mfg1p.js} +4 -4
- package/dist/chunks/{persistent-pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-dfe8djrf.js → file-retention-j83byb14.js} +4 -4
- package/dist/chunks/{persistent-pty-jefma2gq.js → file-retention-jefma2gq.js} +3 -3
- package/dist/chunks/{persistent-pty-ry6p75md.js → file-retention-jr7591m5.js} +11 -11
- package/dist/chunks/{persistent-pty-jyh705nr.js → file-retention-jy790zpn.js} +13 -13
- package/dist/chunks/{persistent-pty-axp4ehpq.js → file-retention-jyv4pdcd.js} +8 -8
- package/dist/chunks/{persistent-pty-c3kepfq8.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/{persistent-pty-jj63jgrn.js → file-retention-ka2k270b.js} +8 -8
- package/dist/chunks/{persistent-pty-203e24v7.js → file-retention-kb4mbprj.js} +11 -11
- package/dist/chunks/{persistent-pty-fqhavq00.js → file-retention-kc4sfmzp.js} +172 -172
- package/dist/chunks/{persistent-pty-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-xfwn3bvs.js → file-retention-kkta2ctq.js} +27 -27
- package/dist/chunks/{persistent-pty-q3x0tf1z.js → file-retention-ksarex0k.js} +8 -8
- package/dist/chunks/{persistent-pty-3nrktzjr.js → file-retention-ksry9d8f.js} +46 -46
- package/dist/chunks/{persistent-pty-79r1wrqa.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{persistent-pty-t69nnh3p.js → file-retention-m27pyyd3.js} +8 -8
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-zv0yrbwn.js → file-retention-mma0v91q.js} +26 -26
- package/dist/chunks/{persistent-pty-kn9q0df9.js → file-retention-mtjehpx1.js} +83 -83
- package/dist/chunks/{persistent-pty-sdch2j4x.js → file-retention-mv5ftj3m.js} +12 -12
- package/dist/chunks/{persistent-pty-4jwxjs78.js → file-retention-mwmzgnyj.js} +19 -19
- package/dist/chunks/{persistent-pty-bhkdh15s.js → file-retention-mzbpx9yh.js} +8 -8
- package/dist/chunks/{persistent-pty-qsr17ax6.js → file-retention-n1nkedfb.js} +38 -38
- package/dist/chunks/{persistent-pty-x1xcpfha.js → file-retention-n3gg6d5p.js} +9 -9
- package/dist/chunks/{persistent-pty-hm87teft.js → file-retention-n3jzkq55.js} +33 -33
- package/dist/chunks/{persistent-pty-h9rdfrn4.js → file-retention-n5h13zaa.js} +7 -7
- package/dist/chunks/{persistent-pty-rz0qknjf.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{persistent-pty-c53hcw8m.js → file-retention-nd93s368.js} +14 -14
- package/dist/chunks/{persistent-pty-zzdrk7md.js → file-retention-ne8aj7mp.js} +28 -28
- package/dist/chunks/{persistent-pty-bv56xrks.js → file-retention-nhvhf6q8.js} +2 -2
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → file-retention-nhy5jxhy.js} +4 -4
- package/dist/chunks/{persistent-pty-2vgzs72b.js → file-retention-p3p972wa.js} +5 -5
- package/dist/chunks/{persistent-pty-wm96rsv2.js → file-retention-pahz8e0w.js} +5 -5
- package/dist/chunks/{persistent-pty-zw3btwk7.js → file-retention-pdaxh6j6.js} +16 -16
- package/dist/chunks/{persistent-pty-a4zefx4s.js → file-retention-pdbeap0x.js} +35 -35
- package/dist/chunks/{persistent-pty-qwkytnft.js → file-retention-phc8pspp.js} +3 -3
- package/dist/chunks/{persistent-pty-h7x6gk14.js → file-retention-pjjbt500.js} +33 -33
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-2fnsjhej.js → file-retention-pp4q2nd9.js} +50 -50
- package/dist/chunks/{persistent-pty-e8ne7jhy.js → file-retention-ppj7fmgk.js} +21 -21
- package/dist/chunks/{persistent-pty-w76whj5z.js → file-retention-ptyjv6sg.js} +3 -3
- package/dist/chunks/{persistent-pty-jkg31575.js → file-retention-pv3jdcwf.js} +16 -16
- package/dist/chunks/{persistent-pty-hx11cw1n.js → file-retention-q4p7gt18.js} +29 -29
- package/dist/chunks/{persistent-pty-gdvyk2fc.js → file-retention-q51nheh5.js} +8 -8
- package/dist/chunks/{persistent-pty-wzgex4pb.js → file-retention-q62bfh0y.js} +37 -33
- package/dist/chunks/{persistent-pty-j6y2w35b.js → file-retention-q6wpp224.js} +4 -4
- package/dist/chunks/{persistent-pty-1g7epwpd.js → file-retention-qa3qhgw8.js} +7 -7
- package/dist/chunks/{persistent-pty-50mzsvk4.js → file-retention-qj8eh1ht.js} +4 -4
- package/dist/chunks/{persistent-pty-zyehkexa.js → file-retention-qmf2gm4z.js} +10 -10
- package/dist/chunks/{persistent-pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-bw41nzns.js → file-retention-qx7k4qp2.js} +43 -43
- package/dist/chunks/{persistent-pty-pwby03bc.js → file-retention-r0z7zczf.js} +20 -20
- package/dist/chunks/{persistent-pty-r8xr0va3.js → file-retention-r8xr0va3.js} +1 -1
- package/dist/chunks/{persistent-pty-dcj77ap2.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{persistent-pty-qp5gp8ee.js → file-retention-raekatpd.js} +14 -14
- package/dist/chunks/{persistent-pty-bqvjxhzq.js → file-retention-rbygrj0c.js} +6 -6
- package/dist/chunks/{persistent-pty-q0a6gzyv.js → file-retention-rdzktax9.js} +4 -4
- package/dist/chunks/{persistent-pty-w1k39n5e.js → file-retention-rsdf2nvv.js} +4 -4
- package/dist/chunks/{persistent-pty-xcz8yps6.js → file-retention-rsx8nqs6.js} +11 -11
- package/dist/chunks/{persistent-pty-81swgkk7.js → file-retention-rsym84ch.js} +7 -7
- package/dist/chunks/{persistent-pty-05xfxpq7.js → file-retention-rtathh62.js} +8 -8
- package/dist/chunks/{persistent-pty-a8w0823b.js → file-retention-s6b7x209.js} +11 -11
- package/dist/chunks/{persistent-pty-eaj1djv9.js → file-retention-s8d7rejh.js} +6 -6
- package/dist/chunks/{persistent-pty-3mbmw1sq.js → file-retention-sgs3z1tt.js} +35 -35
- package/dist/chunks/{persistent-pty-pavjzv7z.js → file-retention-sjj15vqw.js} +17 -17
- package/dist/chunks/{persistent-pty-psjz8p8b.js → file-retention-skefxpr1.js} +9 -9
- package/dist/chunks/{persistent-pty-9c74y0ya.js → file-retention-sxbnakwy.js} +5 -5
- package/dist/chunks/{persistent-pty-vmbc9md7.js → file-retention-sxpvbsth.js} +9 -9
- package/dist/chunks/{persistent-pty-gpt16vvq.js → file-retention-sy1kpmqf.js} +46 -46
- package/dist/chunks/{persistent-pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-p28nmw69.js → file-retention-th9pr1j7.js} +4 -4
- package/dist/chunks/{persistent-pty-nvh2x716.js → file-retention-tjk5t6k4.js} +4 -4
- package/dist/chunks/{persistent-pty-1tjg7tvh.js → file-retention-tjsj89dc.js} +9 -9
- package/dist/chunks/{persistent-pty-0gr7cw0d.js → file-retention-tm7zr4pr.js} +4 -4
- package/dist/chunks/{persistent-pty-ytcfwrs1.js → file-retention-tsxa73g8.js} +13 -13
- package/dist/chunks/{persistent-pty-pa491p54.js → file-retention-tt4eawst.js} +3 -3
- package/dist/chunks/{persistent-pty-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-2qqgsyc5.js → file-retention-twb5wmxd.js} +5 -5
- package/dist/chunks/{persistent-pty-c2hefdhc.js → file-retention-txd1j2wz.js} +15 -15
- package/dist/chunks/{persistent-pty-1rx0sgk8.js → file-retention-v2rsyevg.js} +9 -9
- package/dist/chunks/{persistent-pty-1xxx0jg9.js → file-retention-vc35pqxv.js} +13 -13
- package/dist/chunks/{persistent-pty-yq2bn28b.js → file-retention-vdq7pbmg.js} +5 -5
- package/dist/chunks/{persistent-pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-6p3c3cwj.js → file-retention-vhdv10mr.js} +24 -24
- package/dist/chunks/{persistent-pty-380vsvkf.js → file-retention-vhkdtr9q.js} +19 -19
- package/dist/chunks/{persistent-pty-0ccq33vw.js → file-retention-vhkpr0st.js} +18 -18
- package/dist/chunks/{persistent-pty-4gh75n31.js → file-retention-vkvntndg.js} +34 -34
- package/dist/chunks/{persistent-pty-wk2d4yp7.js → file-retention-vsjh5n0j.js} +32 -32
- package/dist/chunks/{persistent-pty-v397qx2x.js → file-retention-vtzb9n73.js} +8 -8
- package/dist/chunks/{persistent-pty-d8vze2cf.js → file-retention-vwt4pwz2.js} +15 -15
- package/dist/chunks/{persistent-pty-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-2p82gks5.js → file-retention-w4dyxxvc.js} +14 -14
- package/dist/chunks/{persistent-pty-bq15f1dj.js → file-retention-w78zdbkg.js} +11 -11
- package/dist/chunks/{persistent-pty-42mde3pg.js → file-retention-waa2mmfw.js} +17 -17
- package/dist/chunks/{persistent-pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-c05fm11c.js → file-retention-wnsbns26.js} +20 -20
- package/dist/chunks/{persistent-pty-5bkegwna.js → file-retention-wr0wz2nx.js} +3 -3
- package/dist/chunks/{persistent-pty-rfnzy394.js → file-retention-wx9wy1qm.js} +1 -1
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-wsg5c7h7.js → file-retention-x7s3znm0.js} +26 -26
- package/dist/chunks/{persistent-pty-ra27perh.js → file-retention-xb3fxaqb.js} +9 -9
- package/dist/chunks/{persistent-pty-d9sn21bc.js → file-retention-xhqkdcr0.js} +2 -2
- package/dist/chunks/{persistent-pty-c8ada3m6.js → file-retention-xje3kg99.js} +12 -12
- package/dist/chunks/{persistent-pty-qvxvbnwj.js → file-retention-xnafzea3.js} +27 -27
- package/dist/chunks/{persistent-pty-dwwycwrc.js → file-retention-xphcp306.js} +17 -17
- package/dist/chunks/{persistent-pty-t369btdv.js → file-retention-xq8kymca.js} +11 -11
- package/dist/chunks/{persistent-pty-4v5j83by.js → file-retention-xws4r01w.js} +15 -15
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-zqsxpf7r.js → file-retention-y984hjy8.js} +21 -21
- package/dist/chunks/{persistent-pty-wjhyqx8g.js → file-retention-ygk5pt6v.js} +32 -32
- package/dist/chunks/{persistent-pty-br7dekmv.js → file-retention-ykmmkvse.js} +18 -18
- package/dist/chunks/{persistent-pty-rp5c9stp.js → file-retention-ynnzzba7.js} +3 -3
- package/dist/chunks/{persistent-pty-3rn9y9mm.js → file-retention-ynwbtj63.js} +9 -9
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-cr07tj7n.js → file-retention-yt0fqk68.js} +5 -5
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-kh3ehkc0.js → file-retention-z2ryqxvw.js} +4 -4
- package/dist/chunks/{persistent-pty-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-qcfsefxz.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{persistent-pty-0tpn3p1b.js → file-retention-zdwm66qa.js} +14 -14
- package/dist/chunks/{persistent-pty-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-xfe2x8na.js → file-retention-zhw0490b.js} +16 -16
- package/dist/chunks/{persistent-pty-nxb1d4ft.js → file-retention-zmf3sk4j.js} +46 -46
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-72tn9ghv.js → file-retention-zw7j6aej.js} +10 -10
- package/dist/chunks/{persistent-pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +119 -119
- 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 +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +3 -3
- 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 +7 -7
- 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 +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- 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 +97 -97
- package/dist/mcp/instructions.js +120 -120
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +74 -74
- 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 +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- 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 +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +78 -78
- 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 +74 -74
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- 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 +1 -1
- 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 +129 -129
- 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 +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +85 -85
- 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 +13 -13
- package/dist/shell.js +133 -133
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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/types/session/history.d.ts +80 -0
- package/dist/types/session/transfer.d.ts +44 -0
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +3 -3
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-drn01q1n.js +0 -22
- package/dist/chunks/persistent-pty-qapv375x.js +0 -4
- package/dist/chunks/persistent-pty-vj8pphjv.js +0 -247
- package/dist/chunks/persistent-pty-yaazxw7p.js +0 -462
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → file-retention-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info33
|
|
5
|
+
} from "./file-retention-m27pyyd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info29
|
|
8
|
+
} from "./file-retention-zw7j6aej.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./file-retention-6jftzada.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID8,
|
|
18
|
+
Service66,
|
|
19
|
+
node71
|
|
20
|
+
} from "./file-retention-fqfsm8yp.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event14,
|
|
30
|
+
Service: () => Service65,
|
|
31
|
+
node: () => node70
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event14 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service65 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
41
|
-
const bus = yield*
|
|
42
|
-
const integrations = yield*
|
|
40
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
41
|
+
const bus = yield* Service77;
|
|
42
|
+
const integrations = yield* Service66;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
let current = editor.providers.get(providerID);
|
|
73
73
|
if (!current) {
|
|
74
74
|
current = {
|
|
75
|
-
provider:
|
|
75
|
+
provider: Info33.empty(providerID),
|
|
76
76
|
models: new Map
|
|
77
77
|
};
|
|
78
78
|
editor.providers.set(providerID, current);
|
|
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
90
90
|
let record = editor.providers.get(providerID);
|
|
91
91
|
if (!record) {
|
|
92
92
|
record = {
|
|
93
|
-
provider:
|
|
93
|
+
provider: Info33.empty(providerID),
|
|
94
94
|
models: new Map
|
|
95
95
|
};
|
|
96
96
|
editor.providers.set(providerID, record);
|
|
97
97
|
}
|
|
98
|
-
const model = record.models.get(modelID) ??
|
|
98
|
+
const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
|
|
99
99
|
if (!record.models.has(modelID))
|
|
100
100
|
record.models.set(modelID, model);
|
|
101
101
|
fn(model);
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
129
129
|
}),
|
|
130
130
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
131
131
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
132
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
132
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID8.make(provider.id))));
|
|
133
133
|
})
|
|
134
134
|
},
|
|
135
135
|
model: {
|
|
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
184
184
|
})
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return Service65.of(result);
|
|
188
188
|
}));
|
|
189
189
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
190
|
-
var
|
|
190
|
+
var node70 = makeLocationNode({ service: Service65, layer, deps: [node82, node71] });
|
|
191
191
|
|
|
192
|
-
export {
|
|
192
|
+
export { Service65, node70, exports_catalog2, Event14 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-nhy5jxhy.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./file-retention-65wkgmh5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service54;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./file-retention-3jd9t3qm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service27,
|
|
19
|
+
node: () => node32
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service75;
|
|
29
|
+
return Service27.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
52
|
make21({
|
|
53
|
-
key:
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node32 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node80] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node32, exports_builtins };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-ynnzzba7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node82
|
|
11
|
+
} from "./file-retention-6jftzada.js";
|
|
12
12
|
import {
|
|
13
13
|
Service78,
|
|
14
14
|
node83
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-jefma2gq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-rsym84ch.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-cfpkc3c9.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: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info31,
|
|
41
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: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,11 +94,11 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service77;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID16.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID16.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID16.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID16.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
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));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID16.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node81 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node85, FSUtil.node, node83, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-6bsje7ws.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-ynnzzba7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./file-retention-6jftzada.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info28,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service77;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info28({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node82] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info28, Service74, node79, exports_credential };
|