yo-moss-ai 0.0.20 → 0.0.21
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/bin/runtime-manifest.json +1 -1
- package/dist/assets/esp-flasher-CLKzE7JE.js +2 -2
- package/dist/assets/index-C1bPuFAs.js +45 -0
- package/dist/assets/{index-Bcf5kQZF.css → index-CzQKR67c.css} +1 -1
- package/dist/index.html +2 -2
- package/dist-server/board-presets.mjs +1 -1
- package/dist-server/camera.mjs +1 -1
- package/dist-server/dev-ui.mjs +1 -1
- package/dist-server/device-chat-sync.mjs +1 -1
- package/dist-server/device-config-view.mjs +1 -1
- package/dist-server/device-focus.mjs +1 -1
- package/dist-server/device-http.mjs +1 -1
- package/dist-server/device-identity.mjs +1 -1
- package/dist-server/device-presence.mjs +1 -1
- package/dist-server/device-probe.mjs +1 -1
- package/dist-server/device-registry.mjs +1 -1
- package/dist-server/device-routes.mjs +1 -1
- package/dist-server/device-runtime.mjs +1 -1
- package/dist-server/device-session.mjs +1 -1
- package/dist-server/ffmpeg.mjs +1 -1
- package/dist-server/gimbal-control.mjs +1 -1
- package/dist-server/home-path.mjs +1 -1
- package/dist-server/index.mjs +1 -1
- package/dist-server/ir-import-validate.mjs +1 -1
- package/dist-server/known-scan-device.mjs +1 -1
- package/dist-server/lan-discover.mjs +1 -1
- package/dist-server/listen-port.mjs +1 -1
- package/dist-server/mcp/backoff.mjs +1 -1
- package/dist-server/mcp/bridge-manager.mjs +1 -1
- package/dist-server/mcp/builtin-tools.mjs +1 -1
- package/dist-server/mcp/dedupe-servers.mjs +1 -1
- package/dist-server/mcp/doctor.mjs +1 -1
- package/dist-server/mcp/fixtures/echo-mcp.mjs +1 -1
- package/dist-server/mcp/fixtures/hotkey-mcp.mjs +1 -1
- package/dist-server/mcp/fixtures/mihome-mcp.mjs +1 -1
- package/dist-server/mcp/fixtures/onvif-mcp.mjs +1 -1
- package/dist-server/mcp/fixtures/shell-mcp.mjs +1 -1
- package/dist-server/mcp/fixtures/yunxiangji-mcp.mjs +1 -1
- package/dist-server/mcp/hotkey-agent-docs.mjs +1 -1
- package/dist-server/mcp/hotkey-driver.mjs +1 -1
- package/dist-server/mcp/hotkey-handlers.mjs +1 -1
- package/dist-server/mcp/hotkey-import-validate.mjs +1 -1
- package/dist-server/mcp/hotkey-store.mjs +1 -1
- package/dist-server/mcp/http-client.mjs +1 -1
- package/dist-server/mcp/http-pipe.mjs +1 -1
- package/dist-server/mcp/local-probe.mjs +1 -1
- package/dist-server/mcp/marketplace.mjs +1 -1
- package/dist-server/mcp/onvif-handlers.mjs +1 -1
- package/dist-server/mcp/parse-server-json.mjs +1 -1
- package/dist-server/mcp/paths.mjs +1 -1
- package/dist-server/mcp/routes.mjs +1 -1
- package/dist-server/mcp/schema.mjs +1 -1
- package/dist-server/mcp/settings.mjs +1 -1
- package/dist-server/mcp/shell-approval.mjs +1 -1
- package/dist-server/mcp/shell-policy.mjs +1 -1
- package/dist-server/mcp/shell-trash.mjs +1 -1
- package/dist-server/mcp/stdio-pipe.mjs +1 -1
- package/dist-server/mcp/store.mjs +1 -1
- package/dist-server/mcp/task-notify.mjs +1 -1
- package/dist-server/mcp/ws-connect.mjs +1 -1
- package/dist-server/mcp/yunxiangji.mjs +1 -1
- package/dist-server/media-cache.mjs +1 -1
- package/dist-server/mihome/cloud.mjs +1 -1
- package/dist-server/mihome/devices.mjs +1 -1
- package/dist-server/mihome/local.mjs +1 -1
- package/dist-server/mihome/mcp-desc.mjs +1 -1
- package/dist-server/mihome/queue.mjs +1 -1
- package/dist-server/mihome/rc4.mjs +1 -1
- package/dist-server/mihome/routes.mjs +1 -1
- package/dist-server/mihome/service.mjs +1 -1
- package/dist-server/mihome/sign.mjs +1 -1
- package/dist-server/mihome/spec.mjs +1 -1
- package/dist-server/mihome/store.mjs +1 -1
- package/dist-server/onboard-preview.mjs +1 -1
- package/dist-server/tab-focus.mjs +1 -1
- package/dist-server/voice-wake.mjs +1 -1
- package/package.json +1 -1
- package/dist/assets/index-DPFHeUnK.js +0 -45
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x41f13b,_0xb49f74){const _0x3dc0e1=_0x14ac,_0x45434f=_0x41f13b();while(!![]){try{const _0x5c0472=-parseInt(_0x3dc0e1(0x1ca))/0x1*(parseInt(_0x3dc0e1(0x1cb))/0x2)+parseInt(_0x3dc0e1(0x1c7))/0x3*(-parseInt(_0x3dc0e1(0x1c4))/0x4)+parseInt(_0x3dc0e1(0x1d0))/0x5*(-parseInt(_0x3dc0e1(0x1c9))/0x6)+-parseInt(_0x3dc0e1(0x1c1))/0x7+-parseInt(_0x3dc0e1(0x1c8))/0x8*(-parseInt(_0x3dc0e1(0x1cc))/0x9)+-parseInt(_0x3dc0e1(0x1c2))/0xa*(parseInt(_0x3dc0e1(0x1cd))/0xb)+-parseInt(_0x3dc0e1(0x1ce))/0xc*(-parseInt(_0x3dc0e1(0x1d1))/0xd);if(_0x5c0472===_0xb49f74)break;else _0x45434f['push'](_0x45434f['shift']());}catch(_0x57189c){_0x45434f['push'](_0x45434f['shift']());}}}(_0x46ca,0x9bc41));function _0x46ca(){const _0x2e7cd6=['nJK2ntuWmMjHB0rvra','ndq3ENLlwMLS','mJGZnMXLAffjsq','mJuYmtq3nM94EfHnzG','mJjbq2zxD28','mtG4nZi1mNfwt1byEq','zMLUza','nuHZv2vMCq','mZuXwKHgtfPd','mtm0odyYufDrCLfu','ntGZnduZmfPdqw9quG','DhjPBq','mZy1ndq0y2z0z1Dq','AxnbCNjH','y2XPzw50','mZLywLb2rgi','mtzurLr5Au8'];_0x46ca=function(){return _0x2e7cd6;};return _0x46ca();}export function deviceMatches(_0x3a8493,_0x52b322){const _0x290ede=_0x14ac,_0x3d6b52=String(_0x52b322||'')[_0x290ede(0x1c3)]();if(!_0x3d6b52||!_0x3a8493)return![];return _0x3a8493['id']===_0x3d6b52||_0x3a8493['mac']===_0x3d6b52||_0x3a8493[_0x290ede(0x1c6)+'Id']===_0x3d6b52;}export function pickFocusedDeviceId(_0x26f3b0,_0x8edc2e=[]){const _0x1b55bf=_0x14ac,_0x6b74e1=String(_0x26f3b0||'')['trim']();if(!_0x6b74e1)return'';const _0x54e9c8=(Array[_0x1b55bf(0x1c5)+'y'](_0x8edc2e)?_0x8edc2e:[])[_0x1b55bf(0x1cf)](_0x3d411c=>deviceMatches(_0x3d411c,_0x6b74e1));return _0x54e9c8?.['id']||_0x6b74e1;}function _0x14ac(_0x2661f1,_0x30b674){_0x2661f1=_0x2661f1-0x1c1;const _0x46ca4c=_0x46ca();let _0x14ac78=_0x46ca4c[_0x2661f1];if(_0x14ac['BVSbYj']===undefined){var _0x5145d5=function(_0x52b6a9){const _0x238e31='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3a8493='',_0x52b322='';for(let _0x3d6b52=0x0,_0x26f3b0,_0x8edc2e,_0x6b74e1=0x0;_0x8edc2e=_0x52b6a9['charAt'](_0x6b74e1++);~_0x8edc2e&&(_0x26f3b0=_0x3d6b52%0x4?_0x26f3b0*0x40+_0x8edc2e:_0x8edc2e,_0x3d6b52++%0x4)?_0x3a8493+=String['fromCharCode'](0xff&_0x26f3b0>>(-0x2*_0x3d6b52&0x6)):0x0){_0x8edc2e=_0x238e31['indexOf'](_0x8edc2e);}for(let _0x54e9c8=0x0,_0x3d411c=_0x3a8493['length'];_0x54e9c8<_0x3d411c;_0x54e9c8++){_0x52b322+='%'+('00'+_0x3a8493['charCodeAt'](_0x54e9c8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x52b322);};_0x14ac['EcriZf']=_0x5145d5,_0x14ac['MRLtFe']={},_0x14ac['BVSbYj']=!![];}const _0x50cee8=_0x46ca4c[0x0],_0x412c2e=_0x2661f1+_0x50cee8,_0x5312da=_0x14ac['MRLtFe'][_0x412c2e];return!_0x5312da?(_0x14ac78=_0x14ac['EcriZf'](_0x14ac78),_0x14ac['MRLtFe'][_0x412c2e]=_0x14ac78):_0x14ac78=_0x5312da,_0x14ac78;}export function withDeviceQuery(_0x19b645,_0x64b01c){const _0x381b05=_0x14ac,_0x15f4e9=String(_0x64b01c||'')[_0x381b05(0x1c3)]();if(!_0x19b645)return _0x19b645;if(!_0x15f4e9)return _0x19b645;return{'path':_0x19b645,'query':{'device':_0x15f4e9}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x59731d=_0xe4e1;(function(_0x2a9bb8,_0x330162){const _0x4ddb2a=_0xe4e1,_0x1d67a7=_0x2a9bb8();while(!![]){try{const _0x42844d=-parseInt(_0x4ddb2a(0x174))/0x1+parseInt(_0x4ddb2a(0x16c))/0x2*(parseInt(_0x4ddb2a(0x163))/0x3)+parseInt(_0x4ddb2a(0x162))/0x4*(-parseInt(_0x4ddb2a(0x179))/0x5)+-parseInt(_0x4ddb2a(0x173))/0x6+-parseInt(_0x4ddb2a(0x178))/0x7+-parseInt(_0x4ddb2a(0x172))/0x8+-parseInt(_0x4ddb2a(0x16d))/0x9*(-parseInt(_0x4ddb2a(0x171))/0xa);if(_0x42844d===_0x330162)break;else _0x1d67a7['push'](_0x1d67a7['shift']());}catch(_0x1859f4){_0x1d67a7['push'](_0x1d67a7['shift']());}}}(_0x4f9a,0x831f6));function _0xe4e1(_0x30acf3,_0x314738){_0x30acf3=_0x30acf3-0x162;const _0x4f9a75=_0x4f9a();let _0xe4e1c7=_0x4f9a75[_0x30acf3];if(_0xe4e1['gUGATs']===undefined){var _0x20f371=function(_0x238878){const _0x5830ed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x537f46='',_0x4e7783='';for(let _0x215d76=0x0,_0x3eec33,_0x523b1c,_0x34f541=0x0;_0x523b1c=_0x238878['charAt'](_0x34f541++);~_0x523b1c&&(_0x3eec33=_0x215d76%0x4?_0x3eec33*0x40+_0x523b1c:_0x523b1c,_0x215d76++%0x4)?_0x537f46+=String['fromCharCode'](0xff&_0x3eec33>>(-0x2*_0x215d76&0x6)):0x0){_0x523b1c=_0x5830ed['indexOf'](_0x523b1c);}for(let _0x27f49c=0x0,_0x2e51c0=_0x537f46['length'];_0x27f49c<_0x2e51c0;_0x27f49c++){_0x4e7783+='%'+('00'+_0x537f46['charCodeAt'](_0x27f49c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4e7783);};_0xe4e1['ptxebD']=_0x20f371,_0xe4e1['bbOyxp']={},_0xe4e1['gUGATs']=!![];}const _0x4acb62=_0x4f9a75[0x0],_0xfb2d9=_0x30acf3+_0x4acb62,_0x5d2a0e=_0xe4e1['bbOyxp'][_0xfb2d9];return!_0x5d2a0e?(_0xe4e1c7=_0xe4e1['ptxebD'](_0xe4e1c7),_0xe4e1['bbOyxp'][_0xfb2d9]=_0xe4e1c7):_0xe4e1c7=_0x5d2a0e,_0xe4e1c7;}export const WAKE_HOLD_MS=0xfa0;export function voiceFromWakeAck(_0x537f46={}){const _0x249c68=_0xe4e1,_0x4e7783=_0x537f46['ok']!==![],_0x215d76=String(_0x537f46[_0x249c68(0x167)+'e']||'')[_0x249c68(0x166)](),_0x3eec33=String(_0x537f46[_0x249c68(0x16e)]||'')[_0x249c68(0x166)]();if(!_0x4e7783)return{'error':_0x215d76===_0x249c68(0x177)+'ting'?_0x249c68(0x177)+_0x249c68(0x168):_0x215d76||_0x249c68(0x175)};if(_0x215d76===_0x249c68(0x177)+_0x249c68(0x168))return{'voice':_0x249c68(0x177)+_0x249c68(0x168),'skipInvoke':!![]};if(_0x215d76===_0x249c68(0x169)+'ng')return{'voice':'idle'};if(_0x215d76===_0x249c68(0x170))return{'voice':_0x249c68(0x177)+_0x249c68(0x168)};if(_0x3eec33===_0x249c68(0x165)+_0x249c68(0x176)||_0x3eec33===_0x249c68(0x16a)+'ng'||_0x3eec33===_0x249c68(0x177)+_0x249c68(0x168))return{'voice':_0x3eec33};return{'voice':_0x249c68(0x177)+_0x249c68(0x168)};}export function shouldApplyRemoteVoice({remoteVoice:remoteVoice='',localVoice:localVoice=_0x59731d(0x16f),wokeAt:wokeAt=0x0,now:now=Date[_0x59731d(0x164)](),holdMs:holdMs=WAKE_HOLD_MS}={}){const _0x15c83c=_0x59731d,_0x523b1c=String(remoteVoice||'')[_0x15c83c(0x166)]();if(!_0x523b1c)return![];const _0x34f541=String(localVoice||_0x15c83c(0x16f));if(_0x523b1c===_0x34f541)return![];const _0x27f49c=wokeAt>0x0&&now-wokeAt<holdMs;if(_0x27f49c&&_0x34f541===_0x15c83c(0x177)+_0x15c83c(0x168)&&_0x523b1c===_0x15c83c(0x16f))return![];return!![];}function _0x4f9a(){const _0x5eca42=['m3r2DNzyCq','BM93','BgLZDgvU','DhjPBq','BwvZC2fN','DgLUzW','Dg9Nz2XP','C3bLywTP','ywn0AxzH','mJC1mdu0wMzHtgTJ','oxPPrvfeDq','C3rHDgu','AwrSzq','D2fRAw5N','nda5nZmZmZbdqMPmq1O','odm0nZa0mePfrfDJDG','nJi5nZq5mKjKyM16wa','mJi1odi2BxrozevJ','yNvZEq','Aw5N','y29UBMvJ','ntCXnJmXouDJr2HIAa','nwTZr1DpAG','mJi0otuWoffYDg5Nwa'];_0x4f9a=function(){return _0x5eca42;};return _0x4f9a();}export function canStartWake({online:online=![],voice:voice=_0x59731d(0x16f)}={}){const _0x2a7b64=_0x59731d;if(!online)return![];return voice===_0x2a7b64(0x16f)||voice==='';}export function canCancelWake({online:online=![],voice:voice=_0x59731d(0x16f)}={}){const _0x651a53=_0x59731d;if(!online)return![];return voice===_0x651a53(0x165)+'ing'||voice===_0x651a53(0x16a)+'ng'||voice===_0x651a53(0x177)+_0x651a53(0x168);}export function localVoiceAfterCancel({voice:voice=_0x59731d(0x16f),ackMessage:ackMessage=''}={}){const _0x9eea1f=_0x59731d;if(voice===_0x9eea1f(0x177)+'ting'||voice===_0x9eea1f(0x16b)+_0x9eea1f(0x168))return _0x9eea1f(0x16f);if(String(ackMessage)==='toggli'+'ng')return _0x9eea1f(0x16f);return voice;}
|