@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info9,
|
|
6
6
|
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-hw3b7921.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./location-lifecycle-n0qpbrq0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin46,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin46 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info9.make({
|
|
434
434
|
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info9.make({
|
|
441
441
|
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service54;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin46, exports_skill3 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make19({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make13, exports_instructions4 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-b4q8b87x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service21,
|
|
12
|
+
node24
|
|
13
|
+
} from "./location-lifecycle-4ht2td90.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-wdtanhag.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service19,
|
|
27
|
+
layer: () => layer9,
|
|
28
|
+
node: () => node22
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service19 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service21;
|
|
68
|
+
return Service19.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node22 = makeLocationNode({ service: Service19, layer: layer9, deps: [node24] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service19, layer9, node22, exports_instructions3 };
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./location-lifecycle-910czmnb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node76
|
|
13
|
+
} from "./location-lifecycle-6a4qhw64.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event17,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput5,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError9,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service72,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node75
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content3 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput5 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event17 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service72 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service77;
|
|
115
|
+
const search = yield* Service73;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service72.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
135
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
|
|
136
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
137
|
if (info.type !== "File")
|
|
138
138
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
139
139
|
return {
|
|
140
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
140
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error))),
|
|
141
141
|
mime: FSUtil.mimeType(target.real)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node75 = makeLocationNode({
|
|
170
|
+
service: Service72,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node81, node76]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event17, Service72, node75, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-38571c3c.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service30,
|
|
3
|
+
node33
|
|
4
|
+
} from "./location-lifecycle-2tzrr9s8.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service18,
|
|
20
|
+
node: () => node21
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service18 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service30;
|
|
64
|
+
return Service18.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node21 = makeLocationNode({ service: Service18, layer, deps: [node33] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service18, node21, exports_instructions2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-f1kjpmaz.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-5gb8v3q0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service63,
|
|
10
|
+
node: () => node65
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service63 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service63.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node65 = makeLocationNode({ service: Service63, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service63, node65, exports_hooks };
|