hypercore-cli 1.1.2 → 1.4.0
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/LICENSE +92 -21
- package/README.md +8 -1
- package/dist/App-YMX7FSXR.js +1 -0
- package/dist/api-ELP6F4NC.js +1 -0
- package/dist/auth-SICBMA3P.js +1 -0
- package/dist/auth-X6CUT3DW.js +1 -0
- package/dist/background-ACODXSUG.js +1 -0
- package/dist/backlog-JD2IM336.js +1 -0
- package/dist/chunk-2QI2IU2V.js +1 -0
- package/dist/chunk-3KFRDIPQ.js +1 -0
- package/dist/chunk-42C5J7PN.js +1 -0
- package/dist/chunk-4D7XVJ7Q.js +1 -0
- package/dist/chunk-5KUSGQP2.js +1 -0
- package/dist/chunk-5OEFAGD5.js +1 -0
- package/dist/chunk-AUQ64BK2.js +1 -0
- package/dist/chunk-AV244H5C.js +1 -0
- package/dist/chunk-BQVBEFS4.js +1 -0
- package/dist/chunk-BYWQLFP2.js +1 -0
- package/dist/chunk-C6YL7UHE.js +1 -0
- package/dist/chunk-COITWWZJ.js +1 -0
- package/dist/chunk-CR7UUJVX.js +1 -0
- package/dist/chunk-E3MULLBX.js +1 -0
- package/dist/chunk-EZHYVJGQ.js +1 -0
- package/dist/chunk-FAMURNNH.js +1 -0
- package/dist/chunk-FGP56E4W.js +1 -0
- package/dist/chunk-FHGATV5B.js +1 -0
- package/dist/chunk-I2G27Y5P.js +1 -0
- package/dist/chunk-IKF43TX2.js +1 -0
- package/dist/chunk-INSPHCBN.js +1 -0
- package/dist/chunk-JHMV366T.js +1 -0
- package/dist/chunk-L52HX5SX.js +1 -0
- package/dist/chunk-LQMDUKIE.js +1 -0
- package/dist/chunk-M3MTKGA5.js +1 -0
- package/dist/chunk-MPO54FU3.js +1 -0
- package/dist/chunk-PVKCZI6A.js +1 -0
- package/dist/chunk-Q7KEPCYL.js +1 -0
- package/dist/chunk-ROBZ6PAL.js +1 -0
- package/dist/chunk-RXB5BS2N.js +1 -0
- package/dist/chunk-RZ3HNYMT.js +1 -0
- package/dist/chunk-UCGLRMTG.js +1 -0
- package/dist/chunk-UEHJVRKB.js +1 -0
- package/dist/chunk-UZYX5GGF.js +1 -0
- package/dist/chunk-XQJBB725.js +1 -0
- package/dist/chunk-YXCRL6K3.js +1 -0
- package/dist/claude-US2QPRBA.js +1 -0
- package/dist/commands-EKPWCB3T.js +1 -0
- package/dist/commands-GYNKP5WV.js +1 -0
- package/dist/commands-QHJLREPM.js +1 -0
- package/dist/config-2OUL5FLS.js +1 -0
- package/dist/config-loader-N7IBWN2P.js +1 -0
- package/dist/diagnose-NLHN4SAJ.js +1 -0
- package/dist/display-RYAW2GFB.js +1 -0
- package/dist/extractor-3KTM2IUL.js +1 -0
- package/dist/feature-flag-VVIF5FJG.js +1 -0
- package/dist/history-3R2UHRDQ.js +1 -0
- package/dist/index.js +1 -402
- package/dist/instance-registry-I5AIVJE2.js +1 -0
- package/dist/keybindings-RN3A7CRW.js +1 -0
- package/dist/loader-3IKPXP4R.js +1 -0
- package/dist/network-K5HRJE44.js +1 -0
- package/dist/notify-O6FNVHC4.js +1 -0
- package/dist/openai-compat-IPCMINVF.js +1 -0
- package/dist/panels-2R5YEFXH.js +1 -0
- package/dist/permissions-5O7KVAXU.js +1 -0
- package/dist/prompt-VWFPFM4N.js +1 -0
- package/dist/quality-GPQD25UL.js +1 -0
- package/dist/repl-CL4SYHU4.js +1 -0
- package/dist/roadmap-QRZODSNJ.js +1 -0
- package/dist/server-PKOHK5M2.js +1 -0
- package/dist/session-5HDDQQP6.js +1 -0
- package/dist/skills-DXWSVJSU.js +1 -0
- package/dist/store-WXXTKTTL.js +1 -0
- package/dist/team-N2GF4YYS.js +1 -0
- package/dist/telemetry-NT4UZLBS.js +1 -0
- package/dist/test-runner-F6B6RH3S.js +1 -0
- package/dist/theme-JJJ6ABR2.js +1 -0
- package/dist/upgrade-RUG3R7R5.js +1 -0
- package/dist/verify-6OGRY2PR.js +1 -0
- package/dist/version-4RHTDUNQ.js +1 -0
- package/dist/web/static/app.js +1 -562
- package/dist/web/static/index.html +114 -126
- package/dist/web/static/mirror.css +1 -1001
- package/dist/web/static/mirror.html +155 -178
- package/dist/web/static/mirror.js +1 -1125
- package/dist/web/static/onboard.css +1 -302
- package/dist/web/static/onboard.html +121 -145
- package/dist/web/static/onboard.js +1 -300
- package/dist/web/static/style.css +1 -602
- package/dist/web/static/utils.js +1 -0
- package/dist/web/static/workspace.css +1 -1568
- package/dist/web/static/workspace.html +369 -402
- package/dist/web/static/workspace.js +1 -1683
- package/dist/web-CIC7ZKBM.js +1 -0
- package/package.json +26 -4
- package/dist/api-JHHOZTL6.js +0 -162
- package/dist/auth-5QFJLW7J.js +0 -21
- package/dist/background-2EGCAAQH.js +0 -14
- package/dist/backlog-Q2NZCLNY.js +0 -24
- package/dist/chunk-2CMSCWQW.js +0 -162
- package/dist/chunk-4DVYJAJL.js +0 -57
- package/dist/chunk-5GDYH676.js +0 -271
- package/dist/chunk-5NLVGLD7.js +0 -66
- package/dist/chunk-6XTEAFZQ.js +0 -575
- package/dist/chunk-AQBSMYLT.js +0 -2025
- package/dist/chunk-BE46C7JW.js +0 -46
- package/dist/chunk-CLKIMCXZ.js +0 -139
- package/dist/chunk-DN4ASQ26.js +0 -167
- package/dist/chunk-DUWREZXK.js +0 -173
- package/dist/chunk-FCW3K6F2.js +0 -263
- package/dist/chunk-GFORWAMW.js +0 -251
- package/dist/chunk-GH7E2OJE.js +0 -223
- package/dist/chunk-GU2FZQ6A.js +0 -69
- package/dist/chunk-I7WI3BMB.js +0 -161
- package/dist/chunk-IOPKN5GD.js +0 -190
- package/dist/chunk-LBVHDGZE.js +0 -133
- package/dist/chunk-MGLJ53QN.js +0 -219
- package/dist/chunk-NETIY5UB.js +0 -134
- package/dist/chunk-NP47L7LG.js +0 -288
- package/dist/chunk-O6MG7TOH.js +0 -58
- package/dist/chunk-OPZYEVYR.js +0 -150
- package/dist/chunk-R3GPQC7I.js +0 -393
- package/dist/chunk-R5T3A2NQ.js +0 -166
- package/dist/chunk-RKB2JOV2.js +0 -43
- package/dist/chunk-RNG3K465.js +0 -80
- package/dist/chunk-TGTYKBGC.js +0 -86
- package/dist/chunk-UCX4VZCT.js +0 -681
- package/dist/chunk-WHLVZCQY.js +0 -245
- package/dist/chunk-Y6HMJZDJ.js +0 -1505
- package/dist/chunk-ZSBHUGWR.js +0 -262
- package/dist/claude-4BX3MJSK.js +0 -12
- package/dist/commands-2X4OB5RF.js +0 -128
- package/dist/commands-GLBCEVQK.js +0 -1044
- package/dist/commands-IINRNBYX.js +0 -232
- package/dist/config-RSNQJQPS.js +0 -8
- package/dist/config-loader-SXO674TF.js +0 -24
- package/dist/diagnose-7UPLS7I4.js +0 -12
- package/dist/display-IIUBEYWN.js +0 -58
- package/dist/extractor-D3XWOAXI.js +0 -129
- package/dist/history-6I6FADAU.js +0 -180
- package/dist/index.d.ts +0 -1
- package/dist/instance-registry-J7UJ7U4Z.js +0 -15
- package/dist/keybindings-PDXIOV3O.js +0 -15
- package/dist/loader-GKEYT6Y7.js +0 -58
- package/dist/network-JYGHQXAR.js +0 -279
- package/dist/notify-HPTALZDC.js +0 -14
- package/dist/openai-compat-R7EKWG6Z.js +0 -12
- package/dist/permissions-JUKXMNDH.js +0 -10
- package/dist/prompt-UWHSZU4P.js +0 -166
- package/dist/quality-ST7PPNFR.js +0 -16
- package/dist/repl-QHIZ2JGF.js +0 -3374
- package/dist/roadmap-5OBEKROY.js +0 -17
- package/dist/server-HCNIP7ZQ.js +0 -57
- package/dist/session-5EBECDUP.js +0 -21
- package/dist/skills-HBQQTYO4.js +0 -175
- package/dist/store-FKUTR7GW.js +0 -25
- package/dist/team-7BBBP5YQ.js +0 -385
- package/dist/telemetry-6R4EIE6O.js +0 -30
- package/dist/test-runner-AUAGIBNM.js +0 -619
- package/dist/theme-3SYJ3UQA.js +0 -14
- package/dist/upgrade-MZFH7OCN.js +0 -83
- package/dist/verify-JUDKTPKZ.js +0 -14
- package/dist/web-KS3FUGJA.js +0 -39
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0xc7e227,_0x484226){const _0xc06d41={_0x230737:0x32b,_0x2a8d55:'*Mds',_0x2839c4:0x327,_0x3e7fec:'k^Mv',_0x3c37cc:0x6c,_0x48bdb1:0x78,_0x36265c:'%z15',_0x32eac5:'6E2U',_0x5d8cad:'#)nu',_0x27dc2:0x68,_0x4890f3:0x323,_0xc0f079:'v]rr',_0x5e50c5:'@Lk!'},_0x58d1dd={_0x3496b6:0x154},_0xd12436=_0xc7e227();function _0x2627ca(_0xd75ba2,_0x55a1df){return _0x4c26(_0xd75ba2-_0x58d1dd._0x3496b6,_0x55a1df);}function _0x1c8405(_0x1901ba,_0x113c18){return _0x4c26(_0x113c18- -0x161,_0x1901ba);}while(!![]){try{const _0x126483=parseInt(_0x2627ca(_0xc06d41._0x230737,_0xc06d41._0x2a8d55))/0x1+-parseInt(_0x2627ca(_0xc06d41._0x2839c4,'m9(t'))/0x2*(parseInt(_0x1c8405(_0xc06d41._0x3e7fec,_0xc06d41._0x3c37cc))/0x3)+parseInt(_0x1c8405('pI^(',_0xc06d41._0x48bdb1))/0x4+-parseInt(_0x1c8405(_0xc06d41._0x36265c,0x83))/0x5+parseInt(_0x1c8405(_0xc06d41._0x32eac5,0x81))/0x6+-parseInt(_0x1c8405(_0xc06d41._0x5d8cad,_0xc06d41._0x27dc2))/0x7+-parseInt(_0x2627ca(_0xc06d41._0x4890f3,_0xc06d41._0xc0f079))/0x8*(-parseInt(_0x1c8405(_0xc06d41._0x5e50c5,0x82))/0x9);if(_0x126483===_0x484226)break;else _0xd12436['push'](_0xd12436['shift']());}catch(_0x5df95c){_0xd12436['push'](_0xd12436['shift']());}}}(_0x55b4,0x1a826));function _0x55b4(){const _0x4f16fb=['W4hcVvpcM2ZcHY/cVCkEt2e2','kSkBdmkhn8odb8kwnXPjW6q','dSoCtmkmv8kuW4NdKquauLO','W5OMWQJdPrlcUYtcKW','WP7dGatdLmkciG','lLSc','eI/cRmoWW557WRtdTCkyFwxdNq','cCo3W6vViHdcR8oJj8otW7jO','WRLavCkg','whKsW6Sev8o5eWL9DXW','DrTEW79i','EmkwW7WpW7JdVCkNW7tcR8o9yq','xmk8hSo9kq','W4pcUfxcHMVcKxBdNa','WQdcR3JdO8oozSoH','WQq/WO/dM8kOWRhcISow','baZcLSkEW7VdGtldMq','dCoCW6T3qq','lCkucmkepmoemCkAbIfkW4a','ACkktIpdRCkziCkEW5i','WOqaBYxcQSobW7D3m8omW4qR','W68pdCobW7hdGeRcLmkEWPxcV8oF','AJa9cK7dQbxcRa','qCkSWRunmr3cOX8DF8kMda','rv3dHCk6W73dR0BdSq','W58hW7ldSCo/WRSlW4ddUg4a','qCoCWOuGwCkBzmoOWRZcM3m','W5ldK8kid0LHBvpdKJO9'];_0x55b4=function(){return _0x4f16fb;};return _0x55b4();}import{R as _0x133efd}from'./chunk-YXCRL6K3.js';import'./chunk-CR7UUJVX.js';import'./chunk-5KUSGQP2.js';import'./chunk-XQJBB725.js';import'./chunk-C6YL7UHE.js';import'./chunk-UEHJVRKB.js';import'./chunk-RZ3HNYMT.js';import'./chunk-JHMV366T.js';import'./chunk-E3MULLBX.js';import'./chunk-INSPHCBN.js';import'./chunk-UCGLRMTG.js';import'./chunk-AUQ64BK2.js';import'./chunk-COITWWZJ.js';import'./chunk-5OEFAGD5.js';import'./chunk-Q7KEPCYL.js';import'./chunk-FAMURNNH.js';import'./chunk-UZYX5GGF.js';function _0x31340c(_0x59b777,_0x1d55af){return _0x4c26(_0x59b777-0x39e,_0x1d55af);}import'./chunk-FGP56E4W.js';import'./chunk-RXB5BS2N.js';import'./chunk-PVKCZI6A.js';import'./chunk-EZHYVJGQ.js';import'./chunk-42C5J7PN.js';import'./chunk-2QI2IU2V.js';function _0x4c26(_0x68fdc8,_0x3f344d){_0x68fdc8=_0x68fdc8-0x1c9;const _0x55b4b0=_0x55b4();let _0x4c2603=_0x55b4b0[_0x68fdc8];if(_0x4c26['maKALF']===undefined){var _0x413119=function(_0xba29de){const _0x195cd1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x79391e='',_0x8ee014='';for(let _0x397a0d=0x0,_0x155520,_0x318beb,_0x506e5a=0x0;_0x318beb=_0xba29de['charAt'](_0x506e5a++);~_0x318beb&&(_0x155520=_0x397a0d%0x4?_0x155520*0x40+_0x318beb:_0x318beb,_0x397a0d++%0x4)?_0x79391e+=String['fromCharCode'](0xff&_0x155520>>(-0x2*_0x397a0d&0x6)):0x0){_0x318beb=_0x195cd1['indexOf'](_0x318beb);}for(let _0xea3a30=0x0,_0x6d6dd1=_0x79391e['length'];_0xea3a30<_0x6d6dd1;_0xea3a30++){_0x8ee014+='%'+('00'+_0x79391e['charCodeAt'](_0xea3a30)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8ee014);};const _0x254bd5=function(_0x1c0dc2,_0x615b55){let _0x56239c=[],_0x256e13=0x0,_0x1e84ef,_0x2f3723='';_0x1c0dc2=_0x413119(_0x1c0dc2);let _0x708721;for(_0x708721=0x0;_0x708721<0x100;_0x708721++){_0x56239c[_0x708721]=_0x708721;}for(_0x708721=0x0;_0x708721<0x100;_0x708721++){_0x256e13=(_0x256e13+_0x56239c[_0x708721]+_0x615b55['charCodeAt'](_0x708721%_0x615b55['length']))%0x100,_0x1e84ef=_0x56239c[_0x708721],_0x56239c[_0x708721]=_0x56239c[_0x256e13],_0x56239c[_0x256e13]=_0x1e84ef;}_0x708721=0x0,_0x256e13=0x0;for(let _0x210baf=0x0;_0x210baf<_0x1c0dc2['length'];_0x210baf++){_0x708721=(_0x708721+0x1)%0x100,_0x256e13=(_0x256e13+_0x56239c[_0x708721])%0x100,_0x1e84ef=_0x56239c[_0x708721],_0x56239c[_0x708721]=_0x56239c[_0x256e13],_0x56239c[_0x256e13]=_0x1e84ef,_0x2f3723+=String['fromCharCode'](_0x1c0dc2['charCodeAt'](_0x210baf)^_0x56239c[(_0x56239c[_0x708721]+_0x56239c[_0x256e13])%0x100]);}return _0x2f3723;};_0x4c26['QoujQf']=_0x254bd5,_0x4c26['SJjDNK']={},_0x4c26['maKALF']=!![];}const _0x3d7f5f=_0x55b4b0[0x0],_0x339e77=_0x68fdc8+_0x3d7f5f,_0x337e9d=_0x4c26['SJjDNK'][_0x339e77];return!_0x337e9d?(_0x4c26['vchGZI']===undefined&&(_0x4c26['vchGZI']=!![]),_0x4c2603=_0x4c26['QoujQf'](_0x4c2603,_0x3f344d),_0x4c26['SJjDNK'][_0x339e77]=_0x4c2603):_0x4c2603=_0x337e9d,_0x4c2603;}async function f(_0x4cce64,_0x4e5bae=0xc8a,_0x3b4347=_0x31340c(0x57b,'9c4&')+'1'){const _0x511013={_0x163a57:'E53H',_0x7db912:0x3ef,_0x18b50f:0x3f2,_0x5de675:'&m9X',_0x1c5f0e:'5RXW'},_0x430312={_0x2f8fd9:0x125,_0x4a205c:'zl@v',_0x3865bc:'HwRe',_0x44d16c:0x2cf,_0x36123a:'B)3w',_0x47a1c6:'9[QE',_0xdb842a:0x2dd};function _0x1e2269(_0xc8f183,_0x7b5d80){return _0x31340c(_0x7b5d80- -0x50b,_0xc8f183);}function _0x11e60e(_0x5e1d66,_0x34e27c){return _0x31340c(_0x5e1d66- -0x18d,_0x34e27c);}const _0x322c3c={'yIoMI':function(_0x4482b2,_0x579a4f,_0x4828d9,_0x2ab246){return _0x4482b2(_0x579a4f,_0x4828d9,_0x2ab246);},'TEbqC':_0x1e2269(_0x511013._0x163a57,0x67),'jWgGH':_0x11e60e(_0x511013._0x7db912,'JV#k')};let {server:_0x574c64,port:_0x403b31}=await _0x322c3c[_0x11e60e(_0x511013._0x18b50f,_0x511013._0x5de675)](_0x133efd,_0x4cce64,_0x4e5bae,_0x3b4347),_0x2a38c9=!0x1,_0x1678f5=()=>{function _0x2c8136(_0x17fe2c,_0x535b22){return _0x1e2269(_0x535b22,_0x17fe2c- -0x197);}if(_0x2a38c9)return;function _0x5a597d(_0x1fd2f5,_0x42af8a){return _0x1e2269(_0x1fd2f5,_0x42af8a-0x270);}_0x2a38c9=!0x0,console['log']('\x0a\x20\x20Shutt'+'ing\x20down'+_0x2c8136(-_0x430312._0x2f8fd9,_0x430312._0x4a205c)+_0x5a597d(_0x430312._0x3865bc,_0x430312._0x44d16c)+_0x2c8136(-0x13a,_0x430312._0x36123a)+_0x5a597d(_0x430312._0x47a1c6,0x2d8)),_0x574c64['close'](()=>{process['exit'](0x0);}),setTimeout(()=>process[_0x2c8136(-0x12c,'#)nu')](0x1),0x1388)[_0x5a597d(_0x430312._0x47a1c6,_0x430312._0xdb842a)]();};process['on'](_0x322c3c['TEbqC'],_0x1678f5),process['on'](_0x322c3c[_0x11e60e(0x3ed,_0x511013._0x1c5f0e)],_0x1678f5),await new Promise(()=>{});}export{f as startWebServer};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hypercore-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "AI-Native CLI Shell — multi-model, production lines, MCP tools, team collaboration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,12 +14,22 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"dev": "tsx src/index.ts",
|
|
17
|
-
"build": "tsup src/index.ts --format esm --
|
|
17
|
+
"build": "tsup src/index.ts --format esm --clean --minify --no-dts && node scripts/build-static.mjs && node scripts/obfuscate.mjs",
|
|
18
18
|
"test": "vitest run",
|
|
19
|
+
"test:packaging": "node scripts/test-packaging.mjs",
|
|
20
|
+
"test:e2e:smoke": "node tests/e2e/run-smoke.mjs",
|
|
19
21
|
"test:e2e:api": "node tests/e2e/run-api-regression.mjs",
|
|
22
|
+
"test:e2e:full": "node tests/e2e/run-full-regression.mjs",
|
|
23
|
+
"test:e2e:ui": "node tests/e2e/run-ui-e2e.mjs",
|
|
24
|
+
"test:e2e:cli": "node tests/e2e/run-cli-ux.mjs",
|
|
25
|
+
"test:e2e:chaos": "node tests/e2e/run-reliability.mjs",
|
|
26
|
+
"test:e2e:all": "node tests/e2e/run-deep-regression.mjs",
|
|
20
27
|
"test:watch": "vitest",
|
|
21
28
|
"typecheck": "tsc --noEmit",
|
|
22
|
-
"
|
|
29
|
+
"typecheck:tests": "tsc --project tsconfig.tests.json --noEmit",
|
|
30
|
+
"verify": "npm run typecheck && npm run typecheck:tests && npm run build && npm run test:packaging && npm test && npm audit --audit-level=high",
|
|
31
|
+
"verify:deep": "npm run verify && npm run test:e2e:all",
|
|
32
|
+
"prepublishOnly": "npm run verify:deep"
|
|
23
33
|
},
|
|
24
34
|
"keywords": [
|
|
25
35
|
"ai",
|
|
@@ -35,7 +45,7 @@
|
|
|
35
45
|
"automation"
|
|
36
46
|
],
|
|
37
47
|
"author": "V.W.",
|
|
38
|
-
"license": "
|
|
48
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
39
49
|
"repository": {
|
|
40
50
|
"type": "git",
|
|
41
51
|
"url": "https://github.com/vionwilliams/hypercore-cli"
|
|
@@ -49,16 +59,28 @@
|
|
|
49
59
|
"@inquirer/prompts": "^8.3.0",
|
|
50
60
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
51
61
|
"chalk": "^5.6.2",
|
|
62
|
+
"cli-highlight": "^2.1.11",
|
|
52
63
|
"commander": "^14.0.3",
|
|
64
|
+
"ink": "^5.2.1",
|
|
65
|
+
"ink-spinner": "^5.0.0",
|
|
53
66
|
"marked": "^15.0.12",
|
|
54
67
|
"marked-terminal": "^7.3.0",
|
|
55
68
|
"openai": "^6.25.0",
|
|
56
69
|
"ora": "^9.3.0",
|
|
70
|
+
"react": "^18.3.1",
|
|
71
|
+
"string-width": "^7.2.0",
|
|
72
|
+
"strip-ansi": "^7.2.0",
|
|
73
|
+
"wrap-ansi": "^9.0.2",
|
|
57
74
|
"ws": "^8.19.0"
|
|
58
75
|
},
|
|
59
76
|
"devDependencies": {
|
|
60
77
|
"@types/node": "^25.3.2",
|
|
78
|
+
"@types/react": "^18.3.28",
|
|
61
79
|
"@types/ws": "^8.18.1",
|
|
80
|
+
"esbuild": "^0.27.0",
|
|
81
|
+
"ink-testing-library": "^4.0.0",
|
|
82
|
+
"javascript-obfuscator": "^5.3.0",
|
|
83
|
+
"playwright": "^1.58.2",
|
|
62
84
|
"tsup": "^8.5.1",
|
|
63
85
|
"tsx": "^4.21.0",
|
|
64
86
|
"typescript": "^5.9.3",
|
package/dist/api-JHHOZTL6.js
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
executeRound,
|
|
3
|
-
gatherProfile,
|
|
4
|
-
getLatestRound,
|
|
5
|
-
listRounds,
|
|
6
|
-
loadAllProfiles,
|
|
7
|
-
loadNetworkConfig,
|
|
8
|
-
loadRound,
|
|
9
|
-
saveNetworkConfig,
|
|
10
|
-
updateProfileField
|
|
11
|
-
} from "./chunk-UCX4VZCT.js";
|
|
12
|
-
import {
|
|
13
|
-
parseBody,
|
|
14
|
-
sendError,
|
|
15
|
-
sendJSON
|
|
16
|
-
} from "./chunk-AQBSMYLT.js";
|
|
17
|
-
import "./chunk-DN4ASQ26.js";
|
|
18
|
-
import {
|
|
19
|
-
loadTeam
|
|
20
|
-
} from "./chunk-DUWREZXK.js";
|
|
21
|
-
import "./chunk-NETIY5UB.js";
|
|
22
|
-
import {
|
|
23
|
-
validateToken
|
|
24
|
-
} from "./chunk-5NLVGLD7.js";
|
|
25
|
-
import "./chunk-6XTEAFZQ.js";
|
|
26
|
-
import "./chunk-Y6HMJZDJ.js";
|
|
27
|
-
import "./chunk-GFORWAMW.js";
|
|
28
|
-
import "./chunk-GU2FZQ6A.js";
|
|
29
|
-
import "./chunk-R3GPQC7I.js";
|
|
30
|
-
import "./chunk-BE46C7JW.js";
|
|
31
|
-
import "./chunk-RNG3K465.js";
|
|
32
|
-
import "./chunk-FCW3K6F2.js";
|
|
33
|
-
import "./chunk-5GDYH676.js";
|
|
34
|
-
import "./chunk-CLKIMCXZ.js";
|
|
35
|
-
import "./chunk-I7WI3BMB.js";
|
|
36
|
-
import "./chunk-WHLVZCQY.js";
|
|
37
|
-
import "./chunk-TGTYKBGC.js";
|
|
38
|
-
|
|
39
|
-
// src/network/api.ts
|
|
40
|
-
function getToken(req) {
|
|
41
|
-
const auth = req.headers.authorization;
|
|
42
|
-
if (!auth?.startsWith("Bearer ")) return null;
|
|
43
|
-
return auth.slice(7);
|
|
44
|
-
}
|
|
45
|
-
async function authenticate(req, teamId) {
|
|
46
|
-
const token = getToken(req);
|
|
47
|
-
if (!token) return null;
|
|
48
|
-
const team = await loadTeam(teamId);
|
|
49
|
-
if (!team) return null;
|
|
50
|
-
const member = validateToken(team, token);
|
|
51
|
-
if (!member) return null;
|
|
52
|
-
return { memberId: member.id, memberName: member.name };
|
|
53
|
-
}
|
|
54
|
-
async function handleNetworkApiRequest(req, res, config, pathname) {
|
|
55
|
-
const method = req.method || "GET";
|
|
56
|
-
const parts = pathname.replace("/api/network/", "").split("/");
|
|
57
|
-
const teamId = parts[0];
|
|
58
|
-
const resource = parts[1];
|
|
59
|
-
const subResource = parts[2];
|
|
60
|
-
if (!teamId) {
|
|
61
|
-
sendError(res, "\u7F3A\u5C11 teamId", 400);
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
const auth = await authenticate(req, teamId);
|
|
65
|
-
if (!auth) {
|
|
66
|
-
sendError(res, "\u8BA4\u8BC1\u5931\u8D25", 401);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
if (resource === "profile" && !subResource && method === "GET") {
|
|
70
|
-
const profile = await gatherProfile(teamId, auth.memberId, auth.memberName);
|
|
71
|
-
sendJSON(res, { profile });
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
if (resource === "profile" && !subResource && method === "PUT") {
|
|
75
|
-
const body = await parseBody(req);
|
|
76
|
-
const field = body.field;
|
|
77
|
-
const value = body.value;
|
|
78
|
-
if (!field || !["skills", "needs", "offerings", "customNote"].includes(field)) {
|
|
79
|
-
sendError(res, "\u65E0\u6548\u5B57\u6BB5\uFF0C\u652F\u6301: skills, needs, offerings, customNote", 400);
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
const profile = await updateProfileField(
|
|
83
|
-
teamId,
|
|
84
|
-
auth.memberId,
|
|
85
|
-
field,
|
|
86
|
-
value
|
|
87
|
-
);
|
|
88
|
-
if (!profile) {
|
|
89
|
-
sendError(res, "Profile \u4E0D\u5B58\u5728\uFF0C\u8BF7\u5148\u91C7\u96C6", 404);
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
sendJSON(res, { profile });
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
if (resource === "profiles" && method === "GET") {
|
|
96
|
-
const profiles = await loadAllProfiles(teamId);
|
|
97
|
-
sendJSON(res, { profiles });
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
if (resource === "run" && method === "POST") {
|
|
101
|
-
try {
|
|
102
|
-
const round = await executeRound(teamId, auth.memberId, config);
|
|
103
|
-
sendJSON(res, { round });
|
|
104
|
-
} catch (err) {
|
|
105
|
-
sendError(res, `\u6267\u884C\u5931\u8D25: ${err instanceof Error ? err.message : String(err)}`);
|
|
106
|
-
}
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
if (resource === "rounds" && !subResource && method === "GET") {
|
|
110
|
-
const rounds = await listRounds(teamId);
|
|
111
|
-
const summaries = rounds.map((r) => ({
|
|
112
|
-
id: r.id,
|
|
113
|
-
status: r.status,
|
|
114
|
-
startedAt: r.startedAt,
|
|
115
|
-
completedAt: r.completedAt,
|
|
116
|
-
triggeredBy: r.triggeredBy,
|
|
117
|
-
matchCount: r.matches.length,
|
|
118
|
-
dialogueCount: r.dialogues.length,
|
|
119
|
-
digestCount: r.digests.length,
|
|
120
|
-
totalTokenUsage: r.totalTokenUsage,
|
|
121
|
-
error: r.error
|
|
122
|
-
}));
|
|
123
|
-
sendJSON(res, { rounds: summaries });
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
if (resource === "rounds" && subResource && method === "GET") {
|
|
127
|
-
const round = await loadRound(teamId, subResource);
|
|
128
|
-
if (!round) {
|
|
129
|
-
sendError(res, "\u8F6E\u6B21\u4E0D\u5B58\u5728", 404);
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
sendJSON(res, { round });
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
|
-
if (resource === "digest" && method === "GET") {
|
|
136
|
-
const latestRound = await getLatestRound(teamId);
|
|
137
|
-
if (!latestRound) {
|
|
138
|
-
sendJSON(res, { digest: null, message: "\u6682\u65E0\u8F6E\u6B21\u8BB0\u5F55" });
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
const myDigest = latestRound.digests.find((d) => d.memberId === auth.memberId);
|
|
142
|
-
sendJSON(res, { digest: myDigest || null, roundId: latestRound.id });
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
if (resource === "config" && method === "GET") {
|
|
146
|
-
const netConfig = await loadNetworkConfig(teamId);
|
|
147
|
-
sendJSON(res, { config: netConfig });
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
if (resource === "config" && method === "PUT") {
|
|
151
|
-
const body = await parseBody(req);
|
|
152
|
-
const existing = await loadNetworkConfig(teamId);
|
|
153
|
-
const updated = { ...existing, ...body };
|
|
154
|
-
await saveNetworkConfig(teamId, updated);
|
|
155
|
-
sendJSON(res, { config: updated });
|
|
156
|
-
return;
|
|
157
|
-
}
|
|
158
|
-
sendError(res, "Not Found", 404);
|
|
159
|
-
}
|
|
160
|
-
export {
|
|
161
|
-
handleNetworkApiRequest
|
|
162
|
-
};
|
package/dist/auth-5QFJLW7J.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
clearLocalToken,
|
|
3
|
-
generateId,
|
|
4
|
-
generateJoinCode,
|
|
5
|
-
generateToken,
|
|
6
|
-
isOwner,
|
|
7
|
-
loadLocalToken,
|
|
8
|
-
saveLocalToken,
|
|
9
|
-
validateToken
|
|
10
|
-
} from "./chunk-5NLVGLD7.js";
|
|
11
|
-
import "./chunk-I7WI3BMB.js";
|
|
12
|
-
export {
|
|
13
|
-
clearLocalToken,
|
|
14
|
-
generateId,
|
|
15
|
-
generateJoinCode,
|
|
16
|
-
generateToken,
|
|
17
|
-
isOwner,
|
|
18
|
-
loadLocalToken,
|
|
19
|
-
saveLocalToken,
|
|
20
|
-
validateToken
|
|
21
|
-
};
|
package/dist/backlog-Q2NZCLNY.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addItem,
|
|
3
|
-
archiveItem,
|
|
4
|
-
doneItem,
|
|
5
|
-
getItem,
|
|
6
|
-
getStats,
|
|
7
|
-
listItems,
|
|
8
|
-
pickItem,
|
|
9
|
-
reopenItem,
|
|
10
|
-
updateItem,
|
|
11
|
-
updateItemMetrics
|
|
12
|
-
} from "./chunk-MGLJ53QN.js";
|
|
13
|
-
export {
|
|
14
|
-
addItem,
|
|
15
|
-
archiveItem,
|
|
16
|
-
doneItem,
|
|
17
|
-
getItem,
|
|
18
|
-
getStats,
|
|
19
|
-
listItems,
|
|
20
|
-
pickItem,
|
|
21
|
-
reopenItem,
|
|
22
|
-
updateItem,
|
|
23
|
-
updateItemMetrics
|
|
24
|
-
};
|
package/dist/chunk-2CMSCWQW.js
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
// src/admin/telemetry.ts
|
|
2
|
-
import { join } from "path";
|
|
3
|
-
import { appendFile, stat, rename, mkdir } from "fs/promises";
|
|
4
|
-
import { existsSync } from "fs";
|
|
5
|
-
var HYPERCORE_DIR = join(process.env.HOME || "~", ".hypercore");
|
|
6
|
-
var TELEMETRY_DIR = join(HYPERCORE_DIR, "telemetry");
|
|
7
|
-
var EVENTS_FILE = join(TELEMETRY_DIR, "events.jsonl");
|
|
8
|
-
var MAX_FILE_SIZE = 10 * 1024 * 1024;
|
|
9
|
-
var enabled = true;
|
|
10
|
-
async function ensureDir() {
|
|
11
|
-
if (!existsSync(TELEMETRY_DIR)) {
|
|
12
|
-
await mkdir(TELEMETRY_DIR, { recursive: true });
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
async function rotateIfNeeded() {
|
|
16
|
-
try {
|
|
17
|
-
const s = await stat(EVENTS_FILE);
|
|
18
|
-
if (s.size > MAX_FILE_SIZE) {
|
|
19
|
-
const archivePath = join(TELEMETRY_DIR, "events.1.jsonl");
|
|
20
|
-
await rename(EVENTS_FILE, archivePath);
|
|
21
|
-
}
|
|
22
|
-
} catch {
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
function trackEvent(event, data = {}) {
|
|
26
|
-
if (!enabled) return;
|
|
27
|
-
const entry = {
|
|
28
|
-
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
29
|
-
event,
|
|
30
|
-
...data
|
|
31
|
-
};
|
|
32
|
-
(async () => {
|
|
33
|
-
try {
|
|
34
|
-
await ensureDir();
|
|
35
|
-
await rotateIfNeeded();
|
|
36
|
-
await appendFile(EVENTS_FILE, JSON.stringify(entry) + "\n", "utf-8");
|
|
37
|
-
} catch {
|
|
38
|
-
}
|
|
39
|
-
})();
|
|
40
|
-
}
|
|
41
|
-
function trackCmdExec(cmd, args, durationMs, ok, err) {
|
|
42
|
-
trackEvent("cmd_exec", { cmd, args, duration_ms: durationMs, ok, ...err ? { err } : {} });
|
|
43
|
-
}
|
|
44
|
-
function trackSessionStart(sessionId, model, provider) {
|
|
45
|
-
trackEvent("session_start", { session_id: sessionId, model, provider });
|
|
46
|
-
}
|
|
47
|
-
function trackSessionEnd(sessionId, rounds, tokensIn, tokensOut, durationMs) {
|
|
48
|
-
trackEvent("session_end", {
|
|
49
|
-
session_id: sessionId,
|
|
50
|
-
rounds,
|
|
51
|
-
tokens_in: tokensIn,
|
|
52
|
-
tokens_out: tokensOut,
|
|
53
|
-
duration_ms: durationMs
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function trackLineRun(line, topic, durationMs, ok, err) {
|
|
57
|
-
trackEvent("line_run", { line, topic, duration_ms: durationMs, ok, ...err ? { err } : {} });
|
|
58
|
-
}
|
|
59
|
-
function trackError(errorType, message, sourceFile, cmdContext) {
|
|
60
|
-
trackEvent("error", {
|
|
61
|
-
error_type: errorType,
|
|
62
|
-
message: message.slice(0, 200),
|
|
63
|
-
// 截断,不存长堆栈
|
|
64
|
-
source_file: sourceFile,
|
|
65
|
-
...cmdContext ? { cmd_context: cmdContext } : {}
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function trackModelSwitch(fromModel, toModel, ok) {
|
|
69
|
-
trackEvent("model_switch", { from_model: fromModel, to_model: toModel, ok });
|
|
70
|
-
}
|
|
71
|
-
function trackWebStart(host, port, lanMode) {
|
|
72
|
-
trackEvent("web_start", { host, port, lan_mode: lanMode });
|
|
73
|
-
}
|
|
74
|
-
function trackTeamAction(action, teamId, memberCount) {
|
|
75
|
-
trackEvent("team_action", { action, ...teamId ? { team_id: teamId } : {}, ...memberCount != null ? { member_count: memberCount } : {} });
|
|
76
|
-
}
|
|
77
|
-
async function readEvents(days = 7) {
|
|
78
|
-
const events = [];
|
|
79
|
-
const cutoff = /* @__PURE__ */ new Date();
|
|
80
|
-
cutoff.setDate(cutoff.getDate() - days);
|
|
81
|
-
const cutoffStr = cutoff.toISOString();
|
|
82
|
-
for (const file of [EVENTS_FILE, join(TELEMETRY_DIR, "events.1.jsonl")]) {
|
|
83
|
-
if (!existsSync(file)) continue;
|
|
84
|
-
try {
|
|
85
|
-
const { readFile } = await import("fs/promises");
|
|
86
|
-
const content = await readFile(file, "utf-8");
|
|
87
|
-
for (const line of content.split("\n")) {
|
|
88
|
-
if (!line.trim()) continue;
|
|
89
|
-
try {
|
|
90
|
-
const evt = JSON.parse(line);
|
|
91
|
-
if (evt.ts >= cutoffStr) {
|
|
92
|
-
events.push(evt);
|
|
93
|
-
}
|
|
94
|
-
} catch {
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
} catch {
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return events.sort((a, b) => a.ts.localeCompare(b.ts));
|
|
101
|
-
}
|
|
102
|
-
async function getEventsSummary(days = 7) {
|
|
103
|
-
const events = await readEvents(days);
|
|
104
|
-
const eventCounts = {};
|
|
105
|
-
const cmdCounts = {};
|
|
106
|
-
let sessionCount = 0;
|
|
107
|
-
let totalRounds = 0;
|
|
108
|
-
const errorMap = {};
|
|
109
|
-
for (const evt of events) {
|
|
110
|
-
eventCounts[evt.event] = (eventCounts[evt.event] || 0) + 1;
|
|
111
|
-
if (evt.event === "cmd_exec") {
|
|
112
|
-
const cmd = String(evt.cmd || "unknown");
|
|
113
|
-
if (!cmdCounts[cmd]) cmdCounts[cmd] = { total: 0, ok: 0, fail: 0 };
|
|
114
|
-
cmdCounts[cmd].total++;
|
|
115
|
-
if (evt.ok) cmdCounts[cmd].ok++;
|
|
116
|
-
else cmdCounts[cmd].fail++;
|
|
117
|
-
}
|
|
118
|
-
if (evt.event === "session_end") {
|
|
119
|
-
sessionCount++;
|
|
120
|
-
totalRounds += evt.rounds || 0;
|
|
121
|
-
}
|
|
122
|
-
if (evt.event === "error") {
|
|
123
|
-
const errType = String(evt.error_type || "unknown");
|
|
124
|
-
errorMap[errType] = (errorMap[errType] || 0) + 1;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
const errors = Object.entries(errorMap).map(([type, count]) => ({ type, count })).sort((a, b) => b.count - a.count);
|
|
128
|
-
const now = /* @__PURE__ */ new Date();
|
|
129
|
-
const from = new Date(now);
|
|
130
|
-
from.setDate(from.getDate() - days);
|
|
131
|
-
return {
|
|
132
|
-
totalEvents: events.length,
|
|
133
|
-
eventCounts,
|
|
134
|
-
cmdCounts,
|
|
135
|
-
totalSessions: sessionCount,
|
|
136
|
-
avgSessionRounds: sessionCount > 0 ? Math.round(totalRounds / sessionCount * 10) / 10 : 0,
|
|
137
|
-
errors,
|
|
138
|
-
period: { from: from.toISOString().slice(0, 10), to: now.toISOString().slice(0, 10), days }
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
function setTelemetryEnabled(value) {
|
|
142
|
-
enabled = value;
|
|
143
|
-
}
|
|
144
|
-
function getEventsFilePath() {
|
|
145
|
-
return EVENTS_FILE;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export {
|
|
149
|
-
trackEvent,
|
|
150
|
-
trackCmdExec,
|
|
151
|
-
trackSessionStart,
|
|
152
|
-
trackSessionEnd,
|
|
153
|
-
trackLineRun,
|
|
154
|
-
trackError,
|
|
155
|
-
trackModelSwitch,
|
|
156
|
-
trackWebStart,
|
|
157
|
-
trackTeamAction,
|
|
158
|
-
readEvents,
|
|
159
|
-
getEventsSummary,
|
|
160
|
-
setTelemetryEnabled,
|
|
161
|
-
getEventsFilePath
|
|
162
|
-
};
|
package/dist/chunk-4DVYJAJL.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// src/ui/notify.ts
|
|
2
|
-
import { exec } from "child_process";
|
|
3
|
-
import os from "os";
|
|
4
|
-
var notificationsEnabled = true;
|
|
5
|
-
function setNotificationsEnabled(enabled) {
|
|
6
|
-
notificationsEnabled = enabled;
|
|
7
|
-
}
|
|
8
|
-
function isNotificationsEnabled() {
|
|
9
|
-
return notificationsEnabled;
|
|
10
|
-
}
|
|
11
|
-
function sendNotification(title, body, subtitle) {
|
|
12
|
-
if (!notificationsEnabled) return;
|
|
13
|
-
const platform = os.platform();
|
|
14
|
-
try {
|
|
15
|
-
if (platform === "darwin") {
|
|
16
|
-
const subtitlePart = subtitle ? ` subtitle "${escapeOsascript(subtitle)}"` : "";
|
|
17
|
-
const script = `display notification "${escapeOsascript(body)}" with title "${escapeOsascript(title)}"${subtitlePart} sound name "default"`;
|
|
18
|
-
exec(`osascript -e '${script}'`, () => {
|
|
19
|
-
});
|
|
20
|
-
} else if (platform === "linux") {
|
|
21
|
-
const escapedTitle = escapeShell(title);
|
|
22
|
-
const escapedBody = escapeShell(body);
|
|
23
|
-
exec(`notify-send "${escapedTitle}" "${escapedBody}" --app-name=Hypercore`, () => {
|
|
24
|
-
});
|
|
25
|
-
} else if (platform === "win32") {
|
|
26
|
-
const escapedTitle = title.replace(/'/g, "''");
|
|
27
|
-
const escapedBody = body.replace(/'/g, "''");
|
|
28
|
-
const ps = `[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null; $template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02); $textNodes = $template.GetElementsByTagName('text'); $textNodes.Item(0).AppendChild($template.CreateTextNode('${escapedTitle}')); $textNodes.Item(1).AppendChild($template.CreateTextNode('${escapedBody}')); $toast = [Windows.UI.Notifications.ToastNotification]::new($template); [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('Hypercore').Show($toast)`;
|
|
29
|
-
exec(`powershell -Command "${ps}"`, () => {
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
} catch {
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function bellNotify() {
|
|
36
|
-
process.stdout.write("\x07");
|
|
37
|
-
}
|
|
38
|
-
function notifyIfLong(title, body, durationMs, thresholdMs = 1e4) {
|
|
39
|
-
if (durationMs >= thresholdMs) {
|
|
40
|
-
sendNotification(title, body);
|
|
41
|
-
bellNotify();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
function escapeOsascript(str) {
|
|
45
|
-
return str.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
46
|
-
}
|
|
47
|
-
function escapeShell(str) {
|
|
48
|
-
return str.replace(/"/g, '\\"').replace(/\$/g, "\\$").replace(/`/g, "\\`");
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export {
|
|
52
|
-
setNotificationsEnabled,
|
|
53
|
-
isNotificationsEnabled,
|
|
54
|
-
sendNotification,
|
|
55
|
-
bellNotify,
|
|
56
|
-
notifyIfLong
|
|
57
|
-
};
|