@opencode/core 0.0.0-dev-20542 → 0.0.0-dev-20544
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{vcs-spf5hfz2.js → location-lifecycle-061q4pce.js} +89 -89
- package/dist/chunks/{vcs-7nn43tqg.js → location-lifecycle-0dbjc75y.js} +20 -20
- package/dist/chunks/{vcs-1f73aaze.js → location-lifecycle-0m08kv58.js} +27 -27
- package/dist/chunks/{vcs-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-5vqrxjkm.js → location-lifecycle-0tp00n3f.js} +17 -17
- package/dist/chunks/{vcs-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-my9jbn68.js → location-lifecycle-11fe6sx3.js} +5 -5
- package/dist/chunks/{vcs-r8xr0va3.js → location-lifecycle-1acjjqhc.js} +4 -4
- package/dist/chunks/{vcs-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-84h8c373.js → location-lifecycle-1dvck2a7.js} +2 -2
- package/dist/chunks/{vcs-s5cbn5gv.js → location-lifecycle-1fnjp5k2.js} +11 -11
- package/dist/chunks/{vcs-fc6renp4.js → location-lifecycle-1hpkm8ay.js} +25 -25
- package/dist/chunks/{vcs-bw6j7p8n.js → location-lifecycle-1hwney77.js} +10 -10
- package/dist/chunks/{vcs-avv5f6bw.js → location-lifecycle-1ksexcmn.js} +11 -11
- package/dist/chunks/{vcs-m6kqcfab.js → location-lifecycle-1mgv3v64.js} +26 -26
- package/dist/chunks/{vcs-68vs7jp0.js → location-lifecycle-1p2zhkn0.js} +11 -11
- package/dist/chunks/{vcs-krrt2pbg.js → location-lifecycle-1pj67zbx.js} +8 -8
- package/dist/chunks/{vcs-eyttazzr.js → location-lifecycle-1y3ncvm9.js} +40 -40
- package/dist/chunks/{vcs-1g4209et.js → location-lifecycle-21hs5cwd.js} +16 -16
- package/dist/chunks/{vcs-yf10kn3d.js → location-lifecycle-2296s1c0.js} +8 -8
- package/dist/chunks/{vcs-kjfdeayr.js → location-lifecycle-2a4f6v5q.js} +8 -8
- package/dist/chunks/{vcs-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-k7pz3erk.js → location-lifecycle-2b4fjshv.js} +5 -5
- package/dist/chunks/{vcs-6tysj855.js → location-lifecycle-2h4bcnjm.js} +29 -29
- package/dist/chunks/{vcs-0jwsre1p.js → location-lifecycle-2k8khapm.js} +5 -5
- package/dist/chunks/{vcs-rx9ava5n.js → location-lifecycle-2m8jawch.js} +4 -4
- package/dist/chunks/{vcs-j33nfkg3.js → location-lifecycle-2nyffpph.js} +4 -4
- package/dist/chunks/{vcs-hyr7mp4z.js → location-lifecycle-2tzrr9s8.js} +22 -22
- package/dist/chunks/{vcs-gc9nvknh.js → location-lifecycle-33r5dz8z.js} +11 -11
- package/dist/chunks/{vcs-pm8f24c6.js → location-lifecycle-34njhhe5.js} +10 -10
- package/dist/chunks/{vcs-p2r87vr4.js → location-lifecycle-35k2916m.js} +20 -20
- package/dist/chunks/{vcs-cevyjb4d.js → location-lifecycle-37r0976v.js} +7 -7
- package/dist/chunks/{vcs-41vvr2y3.js → location-lifecycle-38571c3c.js} +4 -4
- package/dist/chunks/{vcs-y4226ey0.js → location-lifecycle-3cv4wgvw.js} +9 -9
- package/dist/chunks/{vcs-1y283654.js → location-lifecycle-3ewed21c.js} +4 -4
- package/dist/chunks/{vcs-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-8z91h3sm.js → location-lifecycle-3grjawsb.js} +5 -5
- package/dist/chunks/{vcs-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-k0zzshk0.js → location-lifecycle-3szpxf4e.js} +5 -5
- package/dist/chunks/{vcs-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-addxnjmp.js → location-lifecycle-3y377wv9.js} +4 -4
- package/dist/chunks/{vcs-jervv9x6.js → location-lifecycle-3zbwexce.js} +8 -8
- package/dist/chunks/{vcs-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-v0es1rhs.js → location-lifecycle-4434d9q2.js} +9 -9
- package/dist/chunks/{vcs-9hwaqfsw.js → location-lifecycle-47jkzegy.js} +5 -5
- package/dist/chunks/{vcs-d49dmxja.js → location-lifecycle-48qyzgv8.js} +10 -10
- package/dist/chunks/{vcs-egvvc6yq.js → location-lifecycle-4gpqapdf.js} +44 -44
- package/dist/chunks/{vcs-tta527dv.js → location-lifecycle-4ht2td90.js} +51 -51
- package/dist/chunks/{vcs-4ts7tf6z.js → location-lifecycle-4ts7tf6z.js} +2 -2
- package/dist/chunks/{vcs-d27eh3t3.js → location-lifecycle-4x76qkv8.js} +37 -37
- package/dist/chunks/{vcs-h0thcbq2.js → location-lifecycle-525bad6w.js} +18 -18
- package/dist/chunks/{vcs-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-56gdpj1q.js → location-lifecycle-56gdpj1q.js} +2 -2
- package/dist/chunks/{vcs-80ycrk5c.js → location-lifecycle-58296w7g.js} +8 -8
- package/dist/chunks/{vcs-1dq79xpa.js → location-lifecycle-59k0xwsj.js} +35 -35
- package/dist/chunks/{vcs-kd8b8z06.js → location-lifecycle-5a1bwj15.js} +27 -27
- package/dist/chunks/{vcs-2zavndn1.js → location-lifecycle-5d9gfxm5.js} +31 -31
- package/dist/chunks/{vcs-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-5mm51762.js → location-lifecycle-5gb8v3q0.js} +3 -3
- package/dist/chunks/{vcs-w92r2f21.js → location-lifecycle-5mtaxy7e.js} +36 -36
- package/dist/chunks/{vcs-mkjk38wz.js → location-lifecycle-5sb37669.js} +20 -20
- package/dist/chunks/{vcs-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-bkmkjhmh.js → location-lifecycle-5tgwtrb4.js} +26 -26
- package/dist/chunks/{vcs-qkqy46n6.js → location-lifecycle-5tp5mc0z.js} +17 -17
- package/dist/chunks/{vcs-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{vcs-mnqvabpf.js → location-lifecycle-67j6pqag.js} +15 -15
- package/dist/chunks/{vcs-dpzb953a.js → location-lifecycle-6a4qhw64.js} +32 -32
- package/dist/chunks/{vcs-0zf2vxyq.js → location-lifecycle-6gnb6hk1.js} +18 -18
- package/dist/chunks/{vcs-me0yaqbt.js → location-lifecycle-6hpcj5v3.js} +13 -13
- package/dist/chunks/{vcs-wama9jpe.js → location-lifecycle-6rfy7r9d.js} +33 -33
- package/dist/chunks/{vcs-bjb10bhf.js → location-lifecycle-6x0v3epy.js} +25 -25
- package/dist/chunks/{vcs-f75zav2x.js → location-lifecycle-71az546q.js} +2 -2
- package/dist/chunks/{vcs-1gpb38yh.js → location-lifecycle-744vtqj3.js} +6 -6
- package/dist/chunks/{vcs-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-jg28bfy1.js → location-lifecycle-7cwqg3jv.js} +42 -42
- package/dist/chunks/{vcs-bh2h312c.js → location-lifecycle-7hhqs9ev.js} +11 -11
- package/dist/chunks/{vcs-2cf3b2jy.js → location-lifecycle-7zdfbm64.js} +3 -3
- package/dist/chunks/{vcs-sabta156.js → location-lifecycle-819n4xfa.js} +35 -35
- package/dist/chunks/{vcs-n7v4a6zs.js → location-lifecycle-82017kgq.js} +20 -20
- package/dist/chunks/{vcs-84txncab.js → location-lifecycle-84txncab.js} +1 -1
- package/dist/chunks/{vcs-9phv9fdd.js → location-lifecycle-84wsetqv.js} +24 -24
- package/dist/chunks/{vcs-n3bbtbf3.js → location-lifecycle-880gxvw7.js} +3 -3
- package/dist/chunks/{vcs-exp1wtcs.js → location-lifecycle-88dsh8x0.js} +11 -11
- package/dist/chunks/{vcs-6qcw2y52.js → location-lifecycle-893rahry.js} +32 -32
- package/dist/chunks/{vcs-tcezcvh9.js → location-lifecycle-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-ygrdr60h.js → location-lifecycle-8e28aty2.js} +16 -16
- package/dist/chunks/{vcs-psc03azy.js → location-lifecycle-8ff8zvrx.js} +14 -14
- package/dist/chunks/location-lifecycle-8fx7c703.js +26 -0
- package/dist/chunks/{vcs-b4twkq7r.js → location-lifecycle-8sze2n9a.js} +2 -2
- package/dist/chunks/{vcs-zwdj2e8h.js → location-lifecycle-910czmnb.js} +17 -17
- package/dist/chunks/{vcs-xrstanqz.js → location-lifecycle-911kytge.js} +20 -20
- package/dist/chunks/{vcs-27n8va8w.js → location-lifecycle-96zzk72z.js} +3 -3
- package/dist/chunks/{vcs-r5wgqceq.js → location-lifecycle-9ae44cfy.js} +6 -6
- package/dist/chunks/{vcs-kb9j3d72.js → location-lifecycle-9e5bzkjp.js} +3 -3
- package/dist/chunks/{vcs-vrnerakx.js → location-lifecycle-9naf3h3b.js} +14 -14
- package/dist/chunks/{vcs-2aqmbtyj.js → location-lifecycle-9tkrmsrp.js} +26 -26
- package/dist/chunks/{vcs-drnf6xwf.js → location-lifecycle-9y9sk2j9.js} +2 -2
- package/dist/chunks/{vcs-nkr3xask.js → location-lifecycle-a9b67nrv.js} +28 -28
- package/dist/chunks/{vcs-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-chkwe70y.js → location-lifecycle-aar7s3mw.js} +9 -9
- package/dist/chunks/{vcs-dv0smdjs.js → location-lifecycle-ae40vj86.js} +15 -15
- package/dist/chunks/{vcs-z2x2d8nb.js → location-lifecycle-afkvkv10.js} +11 -11
- package/dist/chunks/location-lifecycle-aw5p1bzv.js +253 -0
- package/dist/chunks/{vcs-my4zabxr.js → location-lifecycle-axe3mf62.js} +3 -3
- package/dist/chunks/{vcs-78kb7271.js → location-lifecycle-axyv4psh.js} +13 -13
- package/dist/chunks/{vcs-wecqtg5s.js → location-lifecycle-b3f8fkhc.js} +5 -5
- package/dist/chunks/{vcs-633bc7gg.js → location-lifecycle-b4q8b87x.js} +50 -50
- package/dist/chunks/{vcs-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-xy0vq4n8.js → location-lifecycle-b7p9mmcs.js} +13 -13
- package/dist/chunks/{vcs-gp0zhvse.js → location-lifecycle-bddk7pqm.js} +30 -30
- package/dist/chunks/{vcs-eeaf82dq.js → location-lifecycle-be7qvw84.js} +8 -8
- package/dist/chunks/{vcs-g31erja1.js → location-lifecycle-c01nkytp.js} +8 -8
- package/dist/chunks/{vcs-6rb86tnz.js → location-lifecycle-c1wfn033.js} +10 -10
- package/dist/chunks/{vcs-5b5aj4v2.js → location-lifecycle-c8cgfd79.js} +4 -4
- package/dist/chunks/{vcs-nrdmrqsx.js → location-lifecycle-cavr175a.js} +4 -4
- package/dist/chunks/{vcs-rt8vjvr0.js → location-lifecycle-cm3wj67j.js} +25 -25
- package/dist/chunks/{vcs-yf4fz14f.js → location-lifecycle-cn4rk5mp.js} +4 -4
- package/dist/chunks/{vcs-qmqgtz8f.js → location-lifecycle-cpneeje0.js} +9 -9
- package/dist/chunks/{vcs-ssh52gjb.js → location-lifecycle-crahewxf.js} +7 -7
- package/dist/chunks/{vcs-vsz3x4t5.js → location-lifecycle-cv53qt83.js} +11 -11
- package/dist/chunks/{vcs-dxbe5etx.js → location-lifecycle-cz5mp6zw.js} +13 -13
- package/dist/chunks/{vcs-dxjr8qb0.js → location-lifecycle-d0apkz1x.js} +16 -16
- package/dist/chunks/{vcs-n06f2vwx.js → location-lifecycle-d29p5ncg.js} +16 -16
- package/dist/chunks/{vcs-wrvch3jb.js → location-lifecycle-d5ywaays.js} +45 -45
- package/dist/chunks/{vcs-b82ykvfb.js → location-lifecycle-dc0c81ep.js} +22 -22
- package/dist/chunks/{vcs-wc1gtajg.js → location-lifecycle-dkrtd87p.js} +8 -8
- package/dist/chunks/{vcs-xkntkrq7.js → location-lifecycle-dmqcgk4z.js} +5 -5
- package/dist/chunks/{vcs-dpkg50ah.js → location-lifecycle-dpkg50ah.js} +1 -1
- package/dist/chunks/{vcs-d45s0hm2.js → location-lifecycle-dtka71h2.js} +24 -24
- package/dist/chunks/{vcs-gxft1d9m.js → location-lifecycle-dwf6zmnn.js} +10 -10
- package/dist/chunks/{vcs-94egvv51.js → location-lifecycle-dwm69vz7.js} +29 -29
- package/dist/chunks/{vcs-f2tpabag.js → location-lifecycle-e6avgvqk.js} +12 -12
- package/dist/chunks/{vcs-89x1chzy.js → location-lifecycle-ea16cwsk.js} +24 -24
- package/dist/chunks/{vcs-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-aay714yp.js → location-lifecycle-en9087x0.js} +12 -12
- package/dist/chunks/{vcs-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-k8kt8k0g.js → location-lifecycle-ewwc48x6.js} +28 -28
- package/dist/chunks/{vcs-tcy7k4rn.js → location-lifecycle-f1kjpmaz.js} +3 -3
- package/dist/chunks/{vcs-dfynq9y8.js → location-lifecycle-f348dfqp.js} +15 -15
- package/dist/chunks/{vcs-3t78edg3.js → location-lifecycle-f8asj3v0.js} +10 -10
- package/dist/chunks/{vcs-5w6ne2rj.js → location-lifecycle-fg14c903.js} +11 -11
- package/dist/chunks/{vcs-8v6pyhej.js → location-lifecycle-g0445xdp.js} +8 -8
- package/dist/chunks/{vcs-26b9v9sx.js → location-lifecycle-g08z8dq8.js} +88 -88
- package/dist/chunks/{vcs-s3k1ghfx.js → location-lifecycle-g8nb572c.js} +188 -188
- package/dist/chunks/{vcs-4a1ejpw3.js → location-lifecycle-gbvvt2rd.js} +21 -21
- package/dist/chunks/{vcs-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-zdkwvzrd.js → location-lifecycle-gd9afk0s.js} +18 -18
- package/dist/chunks/{vcs-kyktj0vd.js → location-lifecycle-gs88pkvr.js} +6 -6
- package/dist/chunks/{vcs-f85drh53.js → location-lifecycle-gsf4mfvw.js} +24 -24
- package/dist/chunks/{vcs-ez1vvzrg.js → location-lifecycle-gsjpzxb5.js} +5 -5
- package/dist/chunks/{vcs-dpa7r3sp.js → location-lifecycle-gwwnqsk8.js} +1 -1
- package/dist/chunks/{vcs-yrdkt02y.js → location-lifecycle-gwy9g9cp.js} +13 -13
- package/dist/chunks/{vcs-h86m2kqr.js → location-lifecycle-gwznxh9r.js} +4 -4
- package/dist/chunks/{vcs-7e8sen0c.js → location-lifecycle-gy00b4px.js} +32 -32
- package/dist/chunks/{vcs-3cegwx68.js → location-lifecycle-h2b79v29.js} +2 -2
- package/dist/chunks/{vcs-cxqpwn2x.js → location-lifecycle-h4e8knmw.js} +8 -8
- package/dist/chunks/{vcs-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-mjqndqed.js → location-lifecycle-h9qs4w9g.js} +12 -12
- package/dist/chunks/{vcs-q0mxarp9.js → location-lifecycle-hdcxjhkc.js} +21 -21
- package/dist/chunks/{vcs-rez1pkj2.js → location-lifecycle-hmx5nkgf.js} +48 -48
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +18 -0
- package/dist/chunks/{vcs-sk6f6663.js → location-lifecycle-hw3b7921.js} +18 -18
- package/dist/chunks/{vcs-nqf1a8vv.js → location-lifecycle-j3r1f5f2.js} +17 -17
- package/dist/chunks/{vcs-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-zrayvwax.js → location-lifecycle-jdayrf5p.js} +25 -25
- package/dist/chunks/{vcs-76n77kwq.js → location-lifecycle-jr83h071.js} +20 -20
- package/dist/chunks/{vcs-f1g2race.js → location-lifecycle-k1crjkkb.js} +10 -10
- package/dist/chunks/{vcs-xtvkrcq6.js → location-lifecycle-k2v0xxpy.js} +32 -32
- package/dist/chunks/{vcs-v0emqez4.js → location-lifecycle-k4a7v8bn.js} +11 -11
- package/dist/chunks/{vcs-0ryd0fps.js → location-lifecycle-kbqjp078.js} +5 -5
- package/dist/chunks/{vcs-wh6zw745.js → location-lifecycle-kjdm35cs.js} +5 -5
- package/dist/chunks/{vcs-cg8113cm.js → location-lifecycle-kwctbf7w.js} +9 -9
- package/dist/chunks/{vcs-2mn2xacz.js → location-lifecycle-m164ajwd.js} +19 -19
- package/dist/chunks/{vcs-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-kty4dv98.js → location-lifecycle-mf34zbxj.js} +11 -11
- package/dist/chunks/{vcs-7d24rw0e.js → location-lifecycle-mpr4bnn1.js} +17 -17
- package/dist/chunks/{vcs-18b1etme.js → location-lifecycle-mthz10xn.js} +28 -28
- package/dist/chunks/{vcs-r5x6zcsm.js → location-lifecycle-mvfsc1pv.js} +3 -3
- package/dist/chunks/{vcs-mg2z0cw8.js → location-lifecycle-n0a89n4g.js} +24 -24
- package/dist/chunks/{vcs-cdw9nh7g.js → location-lifecycle-n0qpbrq0.js} +44 -44
- package/dist/chunks/{vcs-n1n192bv.js → location-lifecycle-n1n192bv.js} +1 -1
- package/dist/chunks/{vcs-032g16hx.js → location-lifecycle-n2amha0h.js} +11 -11
- package/dist/chunks/{vcs-sqz8vfts.js → location-lifecycle-n8vwsn6h.js} +11 -11
- package/dist/chunks/{vcs-tbzahsjw.js → location-lifecycle-nbe4w6xg.js} +12 -12
- package/dist/chunks/{vcs-p29q1m0x.js → location-lifecycle-nms2wt4g.js} +14 -14
- package/dist/chunks/{vcs-mq44vbk9.js → location-lifecycle-npxhwpaz.js} +21 -21
- package/dist/chunks/{vcs-ns3eape4.js → location-lifecycle-ns3eape4.js} +1 -1
- package/dist/chunks/{vcs-hk12qhj6.js → location-lifecycle-nt5yg2md.js} +30 -30
- package/dist/chunks/{vcs-05y52jq2.js → location-lifecycle-nxeekfv0.js} +23 -23
- package/dist/chunks/{vcs-2cawvqkb.js → location-lifecycle-p2svhgs8.js} +18 -18
- package/dist/chunks/{vcs-agrc1xj0.js → location-lifecycle-p9cwmtnh.js} +3 -3
- package/dist/chunks/{vcs-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-gs3s1a1g.js → location-lifecycle-pn3cc07s.js} +8 -8
- package/dist/chunks/{vcs-mprmhdhs.js → location-lifecycle-pnvzdt63.js} +6 -6
- package/dist/chunks/{vcs-gngkw3v3.js → location-lifecycle-prq7hedt.js} +9 -9
- package/dist/chunks/{vcs-ghsygkbs.js → location-lifecycle-py94dew6.js} +55 -55
- package/dist/chunks/{vcs-q0xm7vwc.js → location-lifecycle-q0xm7vwc.js} +2 -2
- package/dist/chunks/{vcs-444j15kp.js → location-lifecycle-qd06wrk4.js} +42 -42
- package/dist/chunks/{vcs-k1yszdcb.js → location-lifecycle-qd53sc6s.js} +21 -21
- package/dist/chunks/{vcs-1wazn8nx.js → location-lifecycle-qg1dxwny.js} +5 -5
- package/dist/chunks/{vcs-p4mrt67q.js → location-lifecycle-qgdsxw13.js} +18 -18
- package/dist/chunks/{vcs-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-qk4ehg30.js → location-lifecycle-qnxksr5a.js} +34 -34
- package/dist/chunks/{vcs-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-4k5ht055.js → location-lifecycle-qzzs1xc5.js} +13 -13
- package/dist/chunks/{vcs-2xxdjjs3.js → location-lifecycle-r2jqd7kh.js} +4 -4
- package/dist/chunks/{vcs-jgytgpzc.js → location-lifecycle-r2zbaadd.js} +10 -10
- package/dist/chunks/{vcs-ta961bqk.js → location-lifecycle-ram0ygt7.js} +6 -6
- package/dist/chunks/{vcs-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-m3drsj2y.js → location-lifecycle-rernm79y.js} +15 -15
- package/dist/chunks/{vcs-tv7qhnrz.js → location-lifecycle-rhygb5vz.js} +32 -32
- package/dist/chunks/{vcs-rx68spbt.js → location-lifecycle-rjskn9df.js} +44 -44
- package/dist/chunks/{vcs-m7b1awws.js → location-lifecycle-rrd4qz5h.js} +16 -16
- package/dist/chunks/{vcs-cevjbcfc.js → location-lifecycle-rtx7nsaa.js} +10 -10
- package/dist/chunks/{vcs-2br74stp.js → location-lifecycle-rwzfmm4e.js} +4 -4
- package/dist/chunks/{vcs-anrc0yrh.js → location-lifecycle-rxbw1nce.js} +30 -30
- package/dist/chunks/{vcs-qm0v3jhh.js → location-lifecycle-ryr25ayn.js} +7 -7
- package/dist/chunks/{vcs-7m6w379t.js → location-lifecycle-s4f6agx1.js} +10 -10
- package/dist/chunks/{vcs-2namw3xg.js → location-lifecycle-s7jc9pwx.js} +3 -3
- package/dist/chunks/{vcs-8rr00yh2.js → location-lifecycle-sn3cptvh.js} +9 -9
- package/dist/chunks/{vcs-px4escs4.js → location-lifecycle-sz9gegs6.js} +18 -18
- package/dist/chunks/{vcs-zee1rnkq.js → location-lifecycle-t2az9yje.js} +4 -4
- package/dist/chunks/{vcs-s8d7rejh.js → location-lifecycle-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-4k1naajh.js → location-lifecycle-te0t49k2.js} +30 -30
- package/dist/chunks/{vcs-496rqfwn.js → location-lifecycle-tvft88yj.js} +12 -12
- package/dist/chunks/{vcs-3pvr2b0s.js → location-lifecycle-tx3jtc6f.js} +35 -35
- package/dist/chunks/{vcs-gn3vc2fg.js → location-lifecycle-v1xty7y4.js} +11 -11
- package/dist/chunks/{vcs-ybpswvk8.js → location-lifecycle-v68g6wmz.js} +39 -39
- package/dist/chunks/{vcs-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-wdmcq2dv.js → location-lifecycle-vw7wvyac.js} +18 -18
- package/dist/chunks/{vcs-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-qg3b25dp.js → location-lifecycle-w5dhw84v.js} +8 -8
- package/dist/chunks/{vcs-s9xxw18e.js → location-lifecycle-w5rka97k.js} +9 -9
- package/dist/chunks/{vcs-x639pxmy.js → location-lifecycle-w9c3fasb.js} +9 -9
- package/dist/chunks/{vcs-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-jq1ee2ph.js → location-lifecycle-wdtanhag.js} +25 -25
- package/dist/chunks/{vcs-nw351ncq.js → location-lifecycle-wrqhzqe6.js} +20 -20
- package/dist/chunks/{vcs-d2e4n0dz.js → location-lifecycle-wykvkkng.js} +27 -27
- package/dist/chunks/{vcs-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-9hg28wmb.js → location-lifecycle-x1v8p9tg.js} +22 -22
- package/dist/chunks/{vcs-pmsv8f6n.js → location-lifecycle-x27mk1f7.js} +2 -2
- package/dist/chunks/{vcs-x3gqap9d.js → location-lifecycle-x3gqap9d.js} +1 -1
- package/dist/chunks/{vcs-ea462v4r.js → location-lifecycle-x8dzr4wn.js} +3 -3
- package/dist/chunks/{vcs-hnr8f6ws.js → location-lifecycle-xb50yt4b.js} +4 -4
- package/dist/chunks/{vcs-ay68nmfm.js → location-lifecycle-xdggbtd6.js} +17 -17
- package/dist/chunks/{vcs-g5w8qwbj.js → location-lifecycle-xfkkasph.js} +4 -4
- package/dist/chunks/{vcs-5yz6eqax.js → location-lifecycle-xkqvhxkq.js} +45 -45
- package/dist/chunks/{vcs-neg4rnba.js → location-lifecycle-xn2taqs8.js} +11 -11
- package/dist/chunks/{vcs-s2emygws.js → location-lifecycle-xqq1v675.js} +70 -70
- package/dist/chunks/{vcs-qxjc9qry.js → location-lifecycle-xyafkbt0.js} +3 -3
- package/dist/chunks/{vcs-hbsztvnn.js → location-lifecycle-xysr0336.js} +33 -33
- package/dist/chunks/{vcs-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-w5ystqj3.js → location-lifecycle-yb7hkqdw.js} +8 -8
- package/dist/chunks/{vcs-kd3y9bnn.js → location-lifecycle-ycnt8qav.js} +11 -11
- package/dist/chunks/{vcs-3maw4159.js → location-lifecycle-yfnz24wt.js} +35 -35
- package/dist/chunks/{vcs-5r69sf90.js → location-lifecycle-yh47nrta.js} +6 -6
- package/dist/chunks/{vcs-akk93w6q.js → location-lifecycle-yj4pw853.js} +8 -8
- package/dist/chunks/{vcs-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/location-lifecycle-ytgd15hp.js +507 -0
- package/dist/chunks/{vcs-4bpbtp0a.js → location-lifecycle-ywxshz3p.js} +5 -5
- package/dist/chunks/{vcs-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-bgs9y14h.js → location-lifecycle-z2qbjhyn.js} +5 -5
- package/dist/chunks/{vcs-r7hw61av.js → location-lifecycle-z4knkhav.js} +3 -3
- package/dist/chunks/{vcs-v5xzwmgq.js → location-lifecycle-z4vapwce.js} +20 -20
- package/dist/chunks/{vcs-gwwtdvqe.js → location-lifecycle-z6kn09km.js} +11 -11
- package/dist/chunks/{vcs-873yzq4y.js → location-lifecycle-zbdj16p8.js} +9 -9
- package/dist/chunks/{vcs-bv6943e1.js → location-lifecycle-zjbv19xv.js} +1 -1
- package/dist/chunks/{vcs-1sjf069y.js → location-lifecycle-zpva5yp6.js} +12 -12
- package/dist/chunks/{vcs-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/vcs-0djvsza3.js +0 -507
- package/dist/chunks/vcs-jqh9b0xq.js +0 -18
- package/dist/chunks/vcs-q6es4t5x.js +0 -26
- package/dist/chunks/vcs-xmbxbqg7.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./location-lifecycle-910czmnb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service77;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-38571c3c.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-x1v8p9tg.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service49,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer19,
|
|
27
|
+
node: () => node51
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service49.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer19 = makeLayer();
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service49,
|
|
265
|
+
layer: options === undefined ? layer19 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node51 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError3, NotFoundError6, Service49, layer19, configured4, node51, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-p9cwmtnh.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-9e5bzkjp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-yj4pw853.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-9y9sk2j9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service62,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node64
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service62 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service62.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node64 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service62, node64, exports_store };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-p9cwmtnh.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-38571c3c.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-axe3mf62.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-lifecycle-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service33,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node35,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service33 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service33, make16());
|
|
231
|
+
var node35 = makeGlobalNode({ service: Service33, layer: layer16, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service33, make16, layer16, node35, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-bddk7pqm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-te0t49k2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-p9cwmtnh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-38571c3c.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-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: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service81,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
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 ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
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(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service81.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(Service78, 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: input.id ??
|
|
79
|
+
const credential = new Info28({
|
|
80
|
+
id: input.id ?? ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID17, OAuth3, Key4, Value2, Event20, Info28, Service81, node85, exports_credential };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-crahewxf.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-zjbv19xv.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|