@unotest/protocol 0.13.0 → 0.14.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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to `@unotest/protocol` are documented in this file.
4
4
 
5
+ ## [0.14.0] - 2026-08-16
6
+
7
+ Released in lockstep with the rest of the ecosystem. No functional changes.
8
+
9
+ ## [0.13.1] - 2026-08-15
10
+
11
+ Released in lockstep with the rest of the ecosystem. No functional changes.
12
+
5
13
  ## [0.13.0] - 2026-08-15
6
14
 
7
15
  Released in lockstep with the rest of the ecosystem. No functional changes.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2ee38b=_0x3665;(function(_0x519580,_0x882677){const _0x2def19={_0x132656:0x16a,_0x20a762:0x16b,_0xb2f4ee:0x137,_0x2db4e3:0x143,_0x252c58:0x14a,_0x55ff42:0x129,_0x3fe0ac:0x141,_0x1d41e6:0x12a,_0x5c681:0x10a,_0x1b1836:0xeb},_0xab287f=_0x3665,_0x2e1570=_0x519580();while(!![]){try{const _0x41c4bc=parseInt(_0xab287f(_0x2def19._0x132656))/0x1*(-parseInt(_0xab287f(_0x2def19._0x20a762))/0x2)+parseInt(_0xab287f(_0x2def19._0xb2f4ee))/0x3*(parseInt(_0xab287f(_0x2def19._0x2db4e3))/0x4)+-parseInt(_0xab287f(_0x2def19._0x252c58))/0x5*(parseInt(_0xab287f(0x111))/0x6)+-parseInt(_0xab287f(_0x2def19._0x55ff42))/0x7*(parseInt(_0xab287f(_0x2def19._0x3fe0ac))/0x8)+parseInt(_0xab287f(_0x2def19._0x1d41e6))/0x9+-parseInt(_0xab287f(_0x2def19._0x5c681))/0xa*(-parseInt(_0xab287f(_0x2def19._0x1b1836))/0xb)+-parseInt(_0xab287f(0x12e))/0xc;if(_0x41c4bc===_0x882677)break;else _0x2e1570['push'](_0x2e1570['shift']());}catch(_0x31dd11){_0x2e1570['push'](_0x2e1570['shift']());}}}(_0x2d7f,0xc997b));var __defProp=Object['defineProperty'],__name=(_0x386976,_0x409e99)=>__defProp(_0x386976,_0x2ee38b(0xf8),{'value':_0x409e99,'configurable':!![]});function parseAppServerEvent(_0x40fe59){const _0x544de7={_0x4cd392:0x130,_0x1b8e56:0x172,_0x2b7b0d:0x174,_0x6a7ba0:0xf1},_0x23a740=_0x2ee38b,_0x252bf3=_0x40fe59[_0x23a740(_0x544de7._0x4cd392)]();if(!_0x252bf3[_0x23a740(_0x544de7._0x1b8e56)]('{'))return null;try{const _0x2a4c7f=JSON[_0x23a740(_0x544de7._0x2b7b0d)](_0x252bf3);if(_0x2a4c7f[_0x23a740(0x12d)]===_0x23a740(_0x544de7._0x6a7ba0)||_0x2a4c7f[_0x23a740(0x12d)]==='app-server:reused'||_0x2a4c7f[_0x23a740(0x12d)]===_0x23a740(0x164))return _0x2a4c7f;return null;}catch{return null;}}__name(parseAppServerEvent,_0x2ee38b(0x13b));var UNOTEST_DIR='unotest',E2E_SUBDIR=_0x2ee38b(0x162),HELPERS_SUBDIR=_0x2ee38b(0x15d),COLLECTIONS_SUBDIR='_collections',RUNS_SUBDIR=_0x2ee38b(0x13e),SNAPSHOTS_SUBDIR='.snapshots';function testDirFor(_0x376cb3){return''+E2E_SUBDIR+_0x376cb3;}__name(testDirFor,_0x2ee38b(0xed));function runsDirFor(_0x11969b){return''+RUNS_SUBDIR+_0x11969b;}__name(runsDirFor,_0x2ee38b(0x147));function debugDirFor(_0x515c0a){const _0x53250e=_0x2ee38b;return _0x53250e(0xfc)+_0x515c0a;}__name(debugDirFor,_0x2ee38b(0x11a));function debuggerFileFor(_0x4ff1be){const _0x27d6b4=_0x2ee38b;return UNOTEST_DIR+_0x27d6b4(0x170)+_0x4ff1be+'.json';}__name(debuggerFileFor,_0x2ee38b(0x12b));var LOCK_FILE=_0x2ee38b(0x106),LOG_FILE='.viewer.log',STEPS_FILE=_0x2ee38b(0x108),HEARTBEAT_FILE='heartbeat',STDOUT_FILE=_0x2ee38b(0x114),STDERR_FILE=_0x2ee38b(0x10d),COMMANDS_FILE=_0x2ee38b(0x139),RUNTIME_FILE=_0x2ee38b(0xf0),PICKER_SNAPSHOT_FILE=_0x2ee38b(0xfd),ENV_FILE='unotest/.env',SECRETS_FILE=_0x2ee38b(0xff);function envFileFor(_0x3763a8,_0x2af1b1){return''+ENV_FILE+_0x3763a8+(_0x2af1b1?'.'+_0x2af1b1:'');}__name(envFileFor,_0x2ee38b(0x125));function secretsFileFor(_0x233ea7,_0x4465ae){return''+SECRETS_FILE+_0x233ea7+(_0x4465ae?'.'+_0x4465ae:'');}__name(secretsFileFor,_0x2ee38b(0x138));function envLayerFilesFor(_0x492db9,_0xf530d3){return layersFor(ENV_FILE,_0x492db9,_0xf530d3);}__name(envLayerFilesFor,'envLayerFilesFor');function secretsLayerFilesFor(_0x398a89,_0x2e3c5f){return layersFor(SECRETS_FILE,_0x398a89,_0x2e3c5f);}__name(secretsLayerFilesFor,_0x2ee38b(0xf7));function layersFor(_0x4be632,_0x5cc1f6,_0x201beb){const _0x10b364={_0x3ddf36:0x15b},_0x5ac557=_0x2ee38b,_0x171b4e=[_0x4be632];if(_0x5cc1f6)_0x171b4e[_0x5ac557(_0x10b364._0x3ddf36)](''+_0x4be632+_0x5cc1f6);if(_0x201beb){_0x171b4e['push'](_0x4be632+'.'+_0x201beb);if(_0x5cc1f6)_0x171b4e[_0x5ac557(0x15b)](''+_0x4be632+_0x5cc1f6+'.'+_0x201beb);}return _0x171b4e;}__name(layersFor,_0x2ee38b(0x171));function activeEnvName(_0x81360d){const _0x14bb99={_0xd4e86c:0x133},_0x4a1bd6=_0x2ee38b,_0x1bc69a=_0x81360d[_0x4a1bd6(_0x14bb99._0xd4e86c)]?.['trim']();return _0x1bc69a?_0x1bc69a:void 0x0;}__name(activeEnvName,_0x2ee38b(0x14e));function isRegexLiteral(_0x398d44){const _0x7ef8da={_0x16c3fc:0x119},_0x833b07=_0x2ee38b;return typeof _0x398d44==='object'&&_0x398d44!==null&&_0x398d44[_0x833b07(0x12d)]==='regex'&&typeof _0x398d44[_0x833b07(0x127)]===_0x833b07(0x152)&&typeof _0x398d44[_0x833b07(_0x7ef8da._0x16c3fc)]==='string';}__name(isRegexLiteral,'isRegexLiteral');function regexLiteral(_0x2b273f,_0x4196fe=''){const _0x319a3e={_0x4ea4e9:0xea},_0x199395=_0x2ee38b;return{'kind':_0x199395(_0x319a3e._0x4ea4e9),'source':_0x2b273f,'flags':_0x4196fe};}__name(regexLiteral,_0x2ee38b(0x148));var RAND_BYTES=0x3;function makeRunId(_0x46a79b){const _0x30a730={_0x3f2b37:0x103,_0x1b067e:0x163,_0x224822:0x144,_0x51dd68:0x14b},_0xc6fd4e=_0x2ee38b,_0x2b27b0=sanitizeRunIdSegment(_0x46a79b),_0x52d5c4=Date[_0xc6fd4e(_0x30a730._0x3f2b37)]()['toString'](0x24),_0x263872=new Uint8Array(RAND_BYTES);globalThis[_0xc6fd4e(_0x30a730._0x1b067e)][_0xc6fd4e(_0x30a730._0x224822)](_0x263872);let _0x3fc569='';for(let _0x5a49db=0x0;_0x5a49db<_0x263872[_0xc6fd4e(0x104)];_0x5a49db++){_0x3fc569+=_0x263872[_0x5a49db][_0xc6fd4e(_0x30a730._0x51dd68)](0x10)[_0xc6fd4e(0x11f)](0x2,'0');}return _0x2b27b0+'-'+_0x52d5c4+'-'+_0x3fc569;}__name(makeRunId,_0x2ee38b(0x160));function sanitizeRunIdSegment(_0x3420a4){const _0x4a4e0b={_0x5d1985:0x154,_0x5d26fb:0x154},_0x2a5b79=_0x2ee38b,_0x546703=_0x3420a4[_0x2a5b79(_0x4a4e0b._0x5d1985)](/[^a-zA-Z0-9_-]+/g,'-')[_0x2a5b79(0x154)](/-+/g,'-')[_0x2a5b79(_0x4a4e0b._0x5d26fb)](/^-|-$/g,'');return _0x546703[_0x2a5b79(0x104)]>0x0?_0x546703:_0x2a5b79(0x157);}__name(sanitizeRunIdSegment,'sanitizeRunIdSegment');var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function _0x2d7f(){const _0x2f2e21=['BwfRzvj1BKLK','vu5pvevtvf9tte9xx01p','ztjL','y3j5ChrV','yxbWlxnLCNzLCJPLCNjVCG','CNvUBMvY','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','iI4G','igLZigfSC28GC2v0igLUihvUB3rLC3qVlMvUDIdIGjqGDgHLihnLy3jLDcb2ywX1zsbUB3CGC2HHzg93CYbPDc4','BxvZDcbUB3qGC3rHCNqGD2L0AcaNlIC','mLjmzwHAwq','mtiZmduZnLfcvvH5uq','yxbW','AM9PBKXPBMvZ','rK9sq0vFq09mt1i','BxvZDcbIzsbHihn0CMLUzW','lY5Kzwj1z2DLCG','Bgf5zxjZrM9Y','C3rHCNrZv2L0Aa','AxnuzxjTAw5HBfj1BNrPBwvtDgf0zq','CgfYC2u','C2vYAwfSAxPLrw52vMfSDwu','CMvNzxG','nZiXmZm3murkvuHeBa','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','DgvZDerPCKzVCG','zw52s2v5CW','C2vJCMv0','CNvUDgLTzs5QC29U','yxbWlxnLCNzLCJPYzwfKEq','uNvUBMvY','BxvZDcbUB3qGyMuGzw1WDhK','zw52q29UDgvUDa','zMfPBgvK','CNvUBMvYici','C2vJCMv0C0XHEwvYrMLSzxngB3i','BMfTzq','y29TCgXLDgvK','C2vJCMv0CW','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','lMrLyNvN','CgLJA2vYlxnUyxbZAg90lNr4Da','ic0Tlq','Dw5VDgvZDc8UC2vJCMv0CW','zhvWBgLJyxrL','DgvZDa','Dw5VDgvZDc8Uzw52','BM93','BgvUz3rO','igfSCMvHzhKGzxHPC3rZigLUia','lNzPzxDLCI5SB2nR','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','C3rLChmUANnVBMW','vu5pvevtvf9mt0DFtevwruW','mtblBwP2Ag8','ywrK','AxnsDw5UzxjdB25MAwDlzxK','C3rKzxjYlMXVzW','yxnZAwDUBwvUDevUDhjPzxm','zw52','BxvZDcbUB3qGyMuGiI4Iig9YiciUlIi','nJqYmtjcug1Az3q','AxnfEhrLCM5HBfzHCK5HBwu','C3bSAwnL','C3rKB3v0lMXVzW','Dg9mB3DLCKnHC2u','vu5pvevtvf9dqunirv9esvi','BwfUAwzLC3qUANnVBG','vu5pvevtvf9erujvr19lruvqx0nbteXt','zMXHz3m','zgvIDwDeAxjgB3i','vu5pvevtvf9erujvr19ive1mx01bwf9cwvrfuW','Aw5JBhvKzxm','Aw5Zzxj0rw52vMfY','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','CgfKu3rHCNq','vu5pvevtvf9dt05tt0Xf','vu5pvevtvf9orvrxt1jl','Dw5RBM93BI1YDw5UzxiTA2v5','vu5pvevtvf9erujvrW','AgfZ','zw52rMLSzuzVCG','CgfYC2vfBNzdB250zw50','C291CMnL','CgXHBKfKzfzHCMLHyMXL','otfAuunuuwW','mtaZmdG2nZjIwevnB0O','zgvIDwDNzxjgAwXLrM9Y','Aw52ywXPzc1Uyw1L','A2LUza','ndC0nJi2nenvuujtwa','tK9Fq09mt1i','DhjPBq','zw5KC1DPDgG','DgvYBwLUywW','vu5pvevtvf9ftLy','ywjVCNrLza','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','igLZig5VDcbHigTUB3DUihj1BM5LCIbZzxr0Aw5NiokaLcbJAg9VC2uGB25LigzYB20GDgHLihj1BM5LCI1JB25MAwCGBgLZDc4','mZG1nxj2wLjbEa','C2vJCMv0C0zPBgvgB3i','y29TBwfUzhmUANnVBMW','C291CMnLCY5QC29U','CgfYC2vbChbtzxj2zxjfDMvUDa','zMLUzeLUzgv4','Aw5KzxHpzG','lNj1BNm','AM9PBG','vu5pvevtvf9erujvr19esvi','mJeYmZj1EKXcsKS','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','mZiZmKfOqujnEG','z2v0uMfUzg9TvMfSDwvZ','iIbKB2vZig5VDcbZDxbWB3j0ihj1BIbRAw5Kici','zgvSzxrLu2HHzg93v2fYBMLUzW','CNvUC0rPCKzVCG','CMvNzxHmAxrLCMfS','vu5pvevtvf9eruzbvuXux05bvKLhqvrjt05FveLnru9vvf9nuW','mty1q1PhwNbQ','Dg9tDhjPBMC','C2XPy2u','C3bSAxrmAw5LCW','ywn0AxzLrw52tMfTzq','vu5pvevtvf9mt0nbteu','DMfSAwrHDgvgC1nHzMvoyw1L','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','C3rYAw5N','vu5pvevtvf9usu1fwK9orq','CMvWBgfJzq','ig11C3qGyMuGvvbqrvjFu05bs0uGkguUzY4Gqvbqx0jbu0vFvvjmksbZBYbHihnJzw5HCMLVignHBIbYzwzLCMvUy2uGAxqGyNKGBMfTzs4','C3bSAxq','CNvU','qxbW','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','refuqujbu0vFvvjm','ChvZAa','iYaTls0G','x2HLBhbLCNm','vu5pvevtvf9iruferuq','DMfSAwrHDgvtzwDTzw50tMfTzq'];_0x2d7f=function(){return _0x2f2e21;};return _0x2d7f();}function validateFsSafeName(_0x430eab,_0x2c8cd9){const _0x35e657={_0xf1c1b7:0x152,_0x36986c:0x172,_0x3279e7:0x159,_0x3c78bb:0x101},_0x15d68a=_0x2ee38b;if(typeof _0x430eab!==_0x15d68a(_0x35e657._0xf1c1b7))return _0x15d68a(0x16f);const _0x48eb08=_0x430eab[_0x15d68a(0x130)]();if(_0x48eb08[_0x15d68a(0x104)]===0x0)return _0x15d68a(0xf3);if(_0x48eb08==='.'||_0x48eb08==='..')return _0x15d68a(0x110);if(_0x48eb08[_0x15d68a(0x172)]('.'))return _0x15d68a(0x169);if(_0x2c8cd9?.['reservedUnderscore']&&_0x48eb08[_0x15d68a(_0x35e657._0x36986c)]('_'))return _0x15d68a(_0x35e657._0x3279e7);if(FS_UNSAFE_NAME_RE[_0x15d68a(_0x35e657._0x3c78bb)](_0x48eb08))return'must\x20not\x20contain\x20\x5c\x20/\x20:\x20*\x20?\x20\x22\x20<\x20>\x20|\x20or\x20control\x20characters';return null;}__name(validateFsSafeName,_0x2ee38b(0x150));var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x30df6a){return validateFsSafeName(_0x30df6a);}__name(validateCollectionName,_0x2ee38b(0x135));var RUN_MANIFEST_FILE=_0x2ee38b(0x117),RUN_SOURCES_FILE=_0x2ee38b(0x13a),UnsupportedRunKindError=class extends Error{static{__name(this,_0x2ee38b(0x166));}constructor(_0x48b699,_0x4f3f8e){const _0x10db66={_0xb2fea0:0xf6,_0x2cbb90:0x145,_0x5ba46f:0x166},_0x3fbd80=_0x2ee38b;super(_0x3fbd80(_0x10db66._0xb2fea0)+_0x4f3f8e+_0x3fbd80(_0x10db66._0x2cbb90)+_0x48b699+'\x22'),this['name']=_0x3fbd80(_0x10db66._0x5ba46f);}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0x2ee38b(0x142));}constructor(_0x520840,_0x119adb){const _0x2d80a4={_0x35c34b:0xf8,_0x24149e:0x142},_0x1918c4=_0x2ee38b;super(_0x1918c4(0x107)+_0x520840+_0x1918c4(0x167)+_0x119adb),this[_0x1918c4(_0x2d80a4._0x35c34b)]=_0x1918c4(_0x2d80a4._0x24149e);}},RunnerNotConfiguredError=class extends Error{static{__name(this,_0x2ee38b(0xec));}constructor(_0x51e4ef){const _0x5aafe1=_0x2ee38b;super(_0x51e4ef),this['name']=_0x5aafe1(0xec);}},SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x2a7ac6){return validateFsSafeName(_0x2a7ac6,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0x2ee38b(0x15f));var TERMINAL_WS_EVENT=_0x2ee38b(0x132),RUNNER_CONFIG_KEYS=new Set(['UNOTEST_BROWSER',_0x2ee38b(0x15e),_0x2ee38b(0x161),'UNOTEST_DEFAULT_TIMEOUT_MS',_0x2ee38b(0x149),_0x2ee38b(0x151),_0x2ee38b(0x14f),_0x2ee38b(0x153),_0x2ee38b(0x109),_0x2ee38b(0x123),_0x2ee38b(0x140),'UNOTEST_DEBUG_MAX_BYTES',_0x2ee38b(0xfb),_0x2ee38b(0x11b),_0x2ee38b(0x118),_0x2ee38b(0x121),_0x2ee38b(0x120),_0x2ee38b(0x116),_0x2ee38b(0x12f),_0x2ee38b(0x16e),_0x2ee38b(0x15a)]);function isRunnerConfigKey(_0x514978){const _0x305f60=_0x2ee38b;return RUNNER_CONFIG_KEYS[_0x305f60(0x124)](_0x514978);}__name(isRunnerConfigKey,_0x2ee38b(0x10c));function categorizeVariable(_0x2581be){const _0x395e78={_0xa587f4:0xfa,_0x1bbe66:0xf8,_0x332009:0x16c},_0x14d7d6=_0x2ee38b;if(_0x2581be['source']===_0x14d7d6(_0x395e78._0xa587f4))return'secret';return isRunnerConfigKey(_0x2581be[_0x14d7d6(_0x395e78._0x1bbe66)])?_0x14d7d6(0x165):_0x14d7d6(_0x395e78._0x332009);}__name(categorizeVariable,'categorizeVariable');function isExternalVarName(_0x192e0a){return/^[A-Z][A-Z0-9_]*$/['test'](_0x192e0a);}__name(isExternalVarName,_0x2ee38b(0x112));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/;function*assignmentEntries(_0x5636a6){const _0x1c8963={_0x32d5bf:0x13d,_0x57ab86:0x14c},_0x2faa04=_0x2ee38b;for(const _0x9ee459 of _0x5636a6['split'](/\r?\n/)){const _0x5d4d09=_0x9ee459['trim']();if(_0x5d4d09===''||_0x5d4d09['startsWith']('#'))continue;const _0x2d5ba6=_0x5d4d09[_0x2faa04(_0x1c8963._0x32d5bf)]('=');if(_0x2d5ba6<=0x0)continue;const _0x29250a=_0x5d4d09[_0x2faa04(0x14c)](0x0,_0x2d5ba6)[_0x2faa04(0x130)]();if(!ENV_KEY_RE[_0x2faa04(0x101)](_0x29250a))continue;yield[_0x29250a,_0x5d4d09[_0x2faa04(_0x1c8963._0x57ab86)](_0x2d5ba6+0x1)[_0x2faa04(0x130)]()];}}__name(assignmentEntries,_0x2ee38b(0x10e));function parseEnvContent(_0x1870db){const _0xb0fff6=_0x2ee38b,_0x17e122={};for(const [_0x2b08bb,_0x4414fb]of assignmentEntries(_0x1870db)){let _0x2d2e52=_0x4414fb;if(_0x2d2e52[_0xb0fff6(0x104)]>=0x2){const _0x478d9f=_0x2d2e52[0x0],_0x35faad=_0x2d2e52[_0x2d2e52['length']-0x1];(_0x478d9f==='\x22'||_0x478d9f==='\x27')&&_0x478d9f===_0x35faad&&(_0x2d2e52=_0x2d2e52[_0xb0fff6(0x14c)](0x1,-0x1));}_0x17e122[_0x2b08bb]=_0x2d2e52;}return _0x17e122;}__name(parseEnvContent,_0x2ee38b(0x126));function serializeEnvValue(_0x524289){const _0x1416a6={_0x445cb4:0x154},_0x31a6dd=_0x2ee38b;if(_0x524289==='')return'';if(/[\s#"'=\\]|^[`]/[_0x31a6dd(0x101)](_0x524289)||/[\n\r]/[_0x31a6dd(0x101)](_0x524289)){const _0xf7097c=_0x524289[_0x31a6dd(0x154)](/\\/g,'\x5c\x5c')[_0x31a6dd(0x154)](/"/g,'\x5c\x22')[_0x31a6dd(_0x1416a6._0x445cb4)](/\n/g,'\x5cn')[_0x31a6dd(0x154)](/\r/g,'\x5cr');return'\x22'+_0xf7097c+'\x22';}return _0x524289;}__name(serializeEnvValue,_0x2ee38b(0x175));function envKeys(_0x1b3850){const _0x14921e=_0x2ee38b,_0x1187cc=new Set();for(const [_0x5b0bf0]of assignmentEntries(_0x1b3850))_0x1187cc[_0x14921e(0x10b)](_0x5b0bf0);return _0x1187cc;}__name(envKeys,_0x2ee38b(0xee));function isSectionDivider(_0x2a1495){const _0x4b39b7={_0x4d4413:0x130,_0x5f34a2:0x172,_0x253f18:0x101},_0xb8cbda=_0x2ee38b,_0x57136e=_0x2a1495[_0xb8cbda(_0x4b39b7._0x4d4413)]();return _0x57136e[_0xb8cbda(_0x4b39b7._0x5f34a2)]('#')&&/---/[_0xb8cbda(_0x4b39b7._0x253f18)](_0x57136e);}__name(isSectionDivider,'isSectionDivider');function isAssignmentLine(_0x5aafd6){const _0x483c18={_0x20cd84:0x130,_0x407eb9:0x172,_0x5b96ec:0x13d,_0x570212:0x101,_0x551fa2:0x14c},_0x57b3f2=_0x2ee38b,_0x317786=_0x5aafd6[_0x57b3f2(_0x483c18._0x20cd84)]();if(_0x317786===''||_0x317786[_0x57b3f2(_0x483c18._0x407eb9)]('#'))return![];const _0x50c878=_0x317786[_0x57b3f2(_0x483c18._0x5b96ec)]('=');return _0x50c878>0x0&&ENV_KEY_RE[_0x57b3f2(_0x483c18._0x570212)](_0x317786[_0x57b3f2(_0x483c18._0x551fa2)](0x0,_0x50c878)['trim']());}__name(isAssignmentLine,'isAssignmentLine');function isAssignmentOf(_0x4561d1,_0x5a85bd){const _0x40ea59={_0xc33115:0x130,_0x347d7a:0x130},_0x3579f2=_0x2ee38b,_0x73ad90=_0x4561d1[_0x3579f2(_0x40ea59._0xc33115)]();if(_0x73ad90===''||_0x73ad90[_0x3579f2(0x172)]('#'))return![];const _0x2d0ecd=_0x73ad90[_0x3579f2(0x13d)]('=');if(_0x2d0ecd<=0x0)return![];return _0x73ad90['slice'](0x0,_0x2d0ecd)[_0x3579f2(_0x40ea59._0x347d7a)]()===_0x5a85bd;}__name(isAssignmentOf,'isAssignmentOf');function splitLines(_0x137efd){const _0x5675d8={_0x320d08:0x131},_0x6cac93=_0x2ee38b,_0x8b9eff=_0x137efd[_0x6cac93(_0x5675d8._0x320d08)]('\x0a'),_0x5aceea=_0x8b9eff?_0x137efd['slice'](0x0,-0x1):_0x137efd;return{'lines':_0x5aceea===''?[]:_0x5aceea[_0x6cac93(0x156)]('\x0a'),'trailingNewline':_0x8b9eff};}__name(splitLines,_0x2ee38b(0x14d));function joinLines(_0x1c1893,_0x50a696){const _0x498355={_0x4ac38b:0x13f},_0x1ce64=_0x2ee38b,_0x5c1f19=_0x1c1893[_0x1ce64(_0x498355._0x4ac38b)]('\x0a');return _0x50a696||_0x5c1f19===''?_0x5c1f19+'\x0a':_0x5c1f19;}__name(joinLines,_0x2ee38b(0x16d));function insertEnvVar(_0x15e171,_0x3bdbba,_0x5ca106,_0x2ce4ab){const _0x410d95={_0xd59f77:0xfe,_0x3bd340:0x15b},_0x2b0ec4=_0x2ee38b,_0x1c4780=_0x3bdbba+'='+serializeEnvValue(_0x5ca106),{lines:_0x4d7c08,trailingNewline:_0x2843a2}=splitLines(_0x15e171);if(_0x2ce4ab){const _0x1eb4e1=new RegExp('\x5cb'+_0x2ce4ab[_0x2b0ec4(0x115)]()+'\x5cb'),_0x10b9d4=_0x4d7c08[_0x2b0ec4(0x13c)](_0x3189ed=>isSectionDivider(_0x3189ed)&&_0x1eb4e1[_0x2b0ec4(0x101)](_0x3189ed[_0x2b0ec4(0x115)]()));if(_0x10b9d4!==-0x1){let _0x14e552=_0x4d7c08[_0x2b0ec4(0x104)];for(let _0x18f342=_0x10b9d4+0x1;_0x18f342<_0x4d7c08[_0x2b0ec4(0x104)];_0x18f342++){if(isSectionDivider(_0x4d7c08[_0x18f342])){_0x14e552=_0x18f342;break;}}let _0x3a35d8=-0x1,_0x10373e=-0x1;for(let _0x598d37=_0x10b9d4+0x1;_0x598d37<_0x14e552;_0x598d37++){if(_0x4d7c08[_0x598d37][_0x2b0ec4(0x130)]()!=='')_0x10373e=_0x598d37;if(isAssignmentLine(_0x4d7c08[_0x598d37]))_0x3a35d8=_0x598d37;}const _0x42a5f3=_0x3a35d8>=0x0?_0x3a35d8:_0x10373e,_0xe8e7ef=_0x42a5f3>=0x0?_0x42a5f3+0x1:_0x10b9d4+0x1;return _0x4d7c08[_0x2b0ec4(0x113)](_0xe8e7ef,0x0,_0x1c4780),joinLines(_0x4d7c08,_0x2843a2||_0x4d7c08[_0x2b0ec4(0x104)]>0x0);}if(_0x4d7c08[_0x2b0ec4(0x104)]>0x0)_0x4d7c08[_0x2b0ec4(0x15b)]('');return _0x4d7c08[_0x2b0ec4(0x15b)](_0x2b0ec4(0x15c)+_0x2ce4ab+_0x2b0ec4(_0x410d95._0xd59f77),_0x1c4780),joinLines(_0x4d7c08,!![]);}return _0x4d7c08[_0x2b0ec4(_0x410d95._0x3bd340)](_0x1c4780),joinLines(_0x4d7c08,!![]);}__name(insertEnvVar,_0x2ee38b(0x11d));function removeEnvVar(_0x3cee43,_0xa2022d){const _0x1698fe={_0x4c8506:0x104},_0x391865=_0x2ee38b,{lines:_0x405105,trailingNewline:_0x46edfc}=splitLines(_0x3cee43),_0x554168=_0x405105['filter'](_0x49075c=>!isAssignmentOf(_0x49075c,_0xa2022d)),_0x2a67cf=_0x554168[_0x391865(0x104)]!==_0x405105[_0x391865(_0x1698fe._0x4c8506)];return{'content':joinLines(_0x554168,_0x46edfc),'removed':_0x2a67cf};}__name(removeEnvVar,'removeEnvVar');var SECTION_BY_KIND={'app':_0x2ee38b(0x158),'runner':_0x2ee38b(0xf2),'secret':void 0x0};function planAddVariable(_0x2e877a){const _0x49e760={_0x4dacc8:0x165,_0x45d3f3:0x122,_0x56d133:0x155,_0x19af1a:0xef,_0x299e91:0xfa,_0x5e5a9c:0x10f,_0x59e1a6:0xfa,_0x3c3bca:0x100,_0xaea08c:0x105,_0x468bfe:0x168,_0x589e56:0x15b},_0x176e4e=_0x2ee38b,{name:_0x5dd564,kind:_0x847d14}=_0x2e877a;if(_0x847d14===_0x176e4e(_0x49e760._0x4dacc8)){if(!isRunnerConfigKey(_0x5dd564))return{'ok':![],'code':_0x176e4e(_0x49e760._0x45d3f3),'message':_0x5dd564+_0x176e4e(0x136)};}else{if(!isExternalVarName(_0x5dd564))return{'ok':![],'code':_0x176e4e(0x12c),'message':_0x5dd564+_0x176e4e(_0x49e760._0x56d133)};}const _0x27cbee=envKeys(_0x2e877a[_0x176e4e(0xf4)])[_0x176e4e(0x124)](_0x5dd564),_0x1234ed=envKeys(_0x2e877a['secretsContent'])[_0x176e4e(0x124)](_0x5dd564),_0x260509=_0x847d14===_0x176e4e(_0x49e760._0x19af1a)?_0x176e4e(_0x49e760._0x299e91):_0x176e4e(_0x49e760._0x5e5a9c),_0x1ce472=_0x260509===_0x176e4e(_0x49e760._0x299e91)?_0x1234ed:_0x27cbee,_0x456937=_0x260509===_0x176e4e(_0x49e760._0x59e1a6)?_0x176e4e(0xff):_0x176e4e(0x102);if(_0x1ce472)return{'ok':![],'code':_0x176e4e(_0x49e760._0x3c3bca),'message':_0x5dd564+_0x176e4e(_0x49e760._0xaea08c)+_0x456937+'\x20—\x20pick\x20a\x20different\x20name\x20or\x20edit\x20the\x20existing\x20value.'};const _0x218206=[];return _0x847d14==='secret'&&_0x27cbee&&_0x218206['push'](_0x5dd564+_0x176e4e(_0x49e760._0x468bfe)),_0x847d14!==_0x176e4e(0xef)&&_0x1234ed&&_0x218206[_0x176e4e(_0x49e760._0x589e56)](_0x5dd564+'\x20is\x20also\x20set\x20in\x20unotest/.secrets\x20—\x20the\x20secret\x20value\x20shadows\x20this\x20one.'),{'ok':!![],'target':_0x260509,'sectionLabel':SECTION_BY_KIND[_0x847d14],'warnings':_0x218206};}__name(planAddVariable,_0x2ee38b(0x128));function deleteShadowWarning(_0x334f8b,_0x49be47,_0xefc0d4){const _0x15d07f={_0x3d010d:0x11e},_0x39e7cb=_0x2ee38b;if(_0xefc0d4!==void 0x0&&_0xefc0d4!==_0x49be47)return[_0x334f8b+_0x39e7cb(_0x15d07f._0x3d010d)];return[];}__name(deleteShadowWarning,_0x2ee38b(0x146));function _0x3665(_0x18101a,_0xa81469){_0x18101a=_0x18101a-0xea;const _0x2d7f00=_0x2d7f();let _0x3665c0=_0x2d7f00[_0x18101a];if(_0x3665['gkQaoE']===undefined){var _0xc59d8e=function(_0x4ae2b0){const _0x53dbeb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x386976='',_0x409e99='';for(let _0x40fe59=0x0,_0x252bf3,_0x2a4c7f,_0x376cb3=0x0;_0x2a4c7f=_0x4ae2b0['charAt'](_0x376cb3++);~_0x2a4c7f&&(_0x252bf3=_0x40fe59%0x4?_0x252bf3*0x40+_0x2a4c7f:_0x2a4c7f,_0x40fe59++%0x4)?_0x386976+=String['fromCharCode'](0xff&_0x252bf3>>(-0x2*_0x40fe59&0x6)):0x0){_0x2a4c7f=_0x53dbeb['indexOf'](_0x2a4c7f);}for(let _0x11969b=0x0,_0x515c0a=_0x386976['length'];_0x11969b<_0x515c0a;_0x11969b++){_0x409e99+='%'+('00'+_0x386976['charCodeAt'](_0x11969b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x409e99);};_0x3665['StvsAg']=_0xc59d8e,_0x3665['GgxMjf']={},_0x3665['gkQaoE']=!![];}const _0x2f9189=_0x2d7f00[0x0],_0x1fd2dd=_0x18101a+_0x2f9189,_0x5e782f=_0x3665['GgxMjf'][_0x1fd2dd];return!_0x5e782f?(_0x3665c0=_0x3665['StvsAg'](_0x3665c0),_0x3665['GgxMjf'][_0x1fd2dd]=_0x3665c0):_0x3665c0=_0x5e782f,_0x3665c0;}var TERMINAL_RUNTIME_STATES=[_0x2ee38b(0xf9),_0x2ee38b(0xf5),_0x2ee38b(0x134)];function isTerminalRuntimeState(_0x4155de){const _0x1b3a44=_0x2ee38b;return TERMINAL_RUNTIME_STATES[_0x1b3a44(0x11c)](_0x4155de);}__name(isTerminalRuntimeState,_0x2ee38b(0x173));export{COLLECTIONS_SUBDIR,COLLECTION_NAME_FORBIDDEN_RE,COMMANDS_FILE,E2E_SUBDIR,ENV_FILE,HEARTBEAT_FILE,HELPERS_SUBDIR,LOCK_FILE,LOG_FILE,PICKER_SNAPSHOT_FILE,RUNNER_CONFIG_KEYS,RUNS_SUBDIR,RUNTIME_FILE,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnsupportedRunKindError,activeEnvName,categorizeVariable,debugDirFor,debuggerFileFor,deleteShadowWarning,envFileFor,envKeys,envLayerFilesFor,insertEnvVar,isExternalVarName,isRegexLiteral,isRunnerConfigKey,isTerminalRuntimeState,makeRunId,parseAppServerEvent,parseEnvContent,planAddVariable,regexLiteral,removeEnvVar,runsDirFor,sanitizeRunIdSegment,secretsFileFor,secretsLayerFilesFor,serializeEnvValue,testDirFor,validateCollectionName,validateSegmentName};
1
+ const _0x26a119=_0x26c9;(function(_0x1940d3,_0x34edfb){const _0x125fa3={_0x454894:0x15f,_0x3f1684:0x11e,_0x120d9b:0x132,_0x3c7d5f:0x13f,_0x584ea3:0x15e,_0x38b358:0x162},_0x312292=_0x26c9,_0x44f84e=_0x1940d3();while(!![]){try{const _0x5e94b8=parseInt(_0x312292(_0x125fa3._0x454894))/0x1*(parseInt(_0x312292(0x126))/0x2)+parseInt(_0x312292(_0x125fa3._0x3f1684))/0x3+parseInt(_0x312292(_0x125fa3._0x120d9b))/0x4+-parseInt(_0x312292(0x10a))/0x5*(-parseInt(_0x312292(_0x125fa3._0x3c7d5f))/0x6)+parseInt(_0x312292(_0x125fa3._0x584ea3))/0x7*(-parseInt(_0x312292(0x115))/0x8)+parseInt(_0x312292(0x183))/0x9+-parseInt(_0x312292(0x127))/0xa*(parseInt(_0x312292(_0x125fa3._0x38b358))/0xb);if(_0x5e94b8===_0x34edfb)break;else _0x44f84e['push'](_0x44f84e['shift']());}catch(_0x1bd6ae){_0x44f84e['push'](_0x44f84e['shift']());}}}(_0x3566,0xe1f11));var __defProp=Object['defineProperty'],__name=(_0x2612e4,_0x3b2f0a)=>__defProp(_0x2612e4,_0x26a119(0x158),{'value':_0x3b2f0a,'configurable':!![]});function parseAppServerEvent(_0x570dc4){const _0x2b7ad8={_0x24d5f0:0x12a,_0x4b3f61:0x107,_0x35d1e3:0x180},_0x181db0=_0x26a119,_0x428bd3=_0x570dc4['trim']();if(!_0x428bd3[_0x181db0(0x144)]('{'))return null;try{const _0x37a226=JSON[_0x181db0(_0x2b7ad8._0x24d5f0)](_0x428bd3);if(_0x37a226[_0x181db0(0x107)]==='app-server:ready'||_0x37a226[_0x181db0(_0x2b7ad8._0x4b3f61)]===_0x181db0(_0x2b7ad8._0x35d1e3)||_0x37a226[_0x181db0(_0x2b7ad8._0x4b3f61)]==='app-server:error')return _0x37a226;return null;}catch{return null;}}__name(parseAppServerEvent,_0x26a119(0x152));var UNOTEST_DIR=_0x26a119(0x10b),E2E_SUBDIR=_0x26a119(0x16f),HELPERS_SUBDIR='_helpers',COLLECTIONS_SUBDIR=_0x26a119(0x119),RUNS_SUBDIR=_0x26a119(0x14e),SNAPSHOTS_SUBDIR=_0x26a119(0x130);function testDirFor(_0x1dda37){return''+E2E_SUBDIR+_0x1dda37;}__name(testDirFor,_0x26a119(0x11c));function runsDirFor(_0x324f3c){return''+RUNS_SUBDIR+_0x324f3c;}__name(runsDirFor,_0x26a119(0x122));function debugDirFor(_0x13f2ea){const _0xbf7a71={_0x2f700b:0x17f},_0x3bb85a=_0x26a119;return _0x3bb85a(_0xbf7a71._0x2f700b)+_0x13f2ea;}__name(debugDirFor,_0x26a119(0x151));function debuggerFileFor(_0x3c7700){const _0x2c1363={_0x5c70d8:0x12c},_0x55ef2e=_0x26a119;return UNOTEST_DIR+'/.debugger'+_0x3c7700+_0x55ef2e(_0x2c1363._0x5c70d8);}__name(debuggerFileFor,_0x26a119(0x131));var LOCK_FILE=_0x26a119(0x108),LOG_FILE=_0x26a119(0x12d),STEPS_FILE=_0x26a119(0x174),HEARTBEAT_FILE='heartbeat',STDOUT_FILE=_0x26a119(0x170),STDERR_FILE=_0x26a119(0x12f),COMMANDS_FILE=_0x26a119(0x123),RUNTIME_FILE=_0x26a119(0x10c),PICKER_SNAPSHOT_FILE=_0x26a119(0x15c),ENV_FILE=_0x26a119(0x17d),SECRETS_FILE=_0x26a119(0x141);function envFileFor(_0x4247df,_0x40a64b){return''+ENV_FILE+_0x4247df+(_0x40a64b?'.'+_0x40a64b:'');}__name(envFileFor,_0x26a119(0x11b));function secretsFileFor(_0xc2655e,_0x4d642c){return''+SECRETS_FILE+_0xc2655e+(_0x4d642c?'.'+_0x4d642c:'');}__name(secretsFileFor,_0x26a119(0x172));function envLayerFilesFor(_0x331abb,_0x4731da){return layersFor(ENV_FILE,_0x331abb,_0x4731da);}__name(envLayerFilesFor,'envLayerFilesFor');function secretsLayerFilesFor(_0x573643,_0x3dd12b){return layersFor(SECRETS_FILE,_0x573643,_0x3dd12b);}__name(secretsLayerFilesFor,'secretsLayerFilesFor');function layersFor(_0x20fb98,_0x2f6e15,_0x37dd35){const _0x4f6acd={_0x442049:0x153},_0x2e9c04=_0x26a119,_0x5c8908=[_0x20fb98];if(_0x2f6e15)_0x5c8908[_0x2e9c04(0x153)](''+_0x20fb98+_0x2f6e15);if(_0x37dd35){_0x5c8908[_0x2e9c04(0x153)](_0x20fb98+'.'+_0x37dd35);if(_0x2f6e15)_0x5c8908[_0x2e9c04(_0x4f6acd._0x442049)](''+_0x20fb98+_0x2f6e15+'.'+_0x37dd35);}return _0x5c8908;}__name(layersFor,_0x26a119(0x116));function activeEnvName(_0x1926d1){const _0x3a837f=_0x26a119,_0x3cc3d6=_0x1926d1['UNOTEST_ENV']?.[_0x3a837f(0x110)]();return _0x3cc3d6?_0x3cc3d6:void 0x0;}__name(activeEnvName,'activeEnvName');function isRegexLiteral(_0x4d6ae1){const _0x12642f={_0x46bfab:0x10e,_0x33b662:0x107},_0x2103aa=_0x26a119;return typeof _0x4d6ae1===_0x2103aa(_0x12642f._0x46bfab)&&_0x4d6ae1!==null&&_0x4d6ae1[_0x2103aa(_0x12642f._0x33b662)]==='regex'&&typeof _0x4d6ae1[_0x2103aa(0x17c)]===_0x2103aa(0x112)&&typeof _0x4d6ae1[_0x2103aa(0x17a)]==='string';}__name(isRegexLiteral,'isRegexLiteral');function regexLiteral(_0x432f33,_0x5ceef1=''){return{'kind':'regex','source':_0x432f33,'flags':_0x5ceef1};}__name(regexLiteral,_0x26a119(0x10d));var RAND_BYTES=0x3;function makeRunId(_0x17fb23){const _0x55b441={_0x266500:0x167,_0x17a418:0x125,_0x48e9d0:0x109},_0x1e7760=_0x26a119,_0x1665f0=sanitizeRunIdSegment(_0x17fb23),_0x28bd9f=Date[_0x1e7760(0x184)]()[_0x1e7760(_0x55b441._0x266500)](0x24),_0x588b62=new Uint8Array(RAND_BYTES);globalThis[_0x1e7760(_0x55b441._0x17a418)][_0x1e7760(_0x55b441._0x48e9d0)](_0x588b62);let _0xe90d34='';for(let _0x1da413=0x0;_0x1da413<_0x588b62[_0x1e7760(0x159)];_0x1da413++){_0xe90d34+=_0x588b62[_0x1da413][_0x1e7760(0x167)](0x10)[_0x1e7760(0x171)](0x2,'0');}return _0x1665f0+'-'+_0x28bd9f+'-'+_0xe90d34;}__name(makeRunId,_0x26a119(0x15b));function sanitizeRunIdSegment(_0xcd82a4){const _0x536d2e={_0x2fd15a:0x137,_0x7dfb20:0x159},_0x3a6dce=_0x26a119,_0x2a6744=_0xcd82a4[_0x3a6dce(0x137)](/[^a-zA-Z0-9_-]+/g,'-')[_0x3a6dce(0x137)](/-+/g,'-')[_0x3a6dce(_0x536d2e._0x2fd15a)](/^-|-$/g,'');return _0x2a6744[_0x3a6dce(_0x536d2e._0x7dfb20)]>0x0?_0x2a6744:_0x3a6dce(0x139);}__name(sanitizeRunIdSegment,_0x26a119(0x118));var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x318a8e,_0x64a9a){const _0x567ea5={_0x1d1be7:0x112,_0x196329:0x159,_0x1232b4:0x136,_0x56403f:0x144,_0xf0e31f:0x13b,_0x382a78:0x16c,_0x5cb34c:0x12e},_0x1b1701=_0x26a119;if(typeof _0x318a8e!==_0x1b1701(_0x567ea5._0x1d1be7))return _0x1b1701(0x15d);const _0x2ba867=_0x318a8e['trim']();if(_0x2ba867[_0x1b1701(_0x567ea5._0x196329)]===0x0)return _0x1b1701(0x124);if(_0x2ba867==='.'||_0x2ba867==='..')return _0x1b1701(_0x567ea5._0x1232b4);if(_0x2ba867['startsWith']('.'))return'must\x20not\x20start\x20with\x20\x27.\x27';if(_0x64a9a?.[_0x1b1701(0x134)]&&_0x2ba867[_0x1b1701(_0x567ea5._0x56403f)]('_'))return _0x1b1701(_0x567ea5._0xf0e31f);if(FS_UNSAFE_NAME_RE[_0x1b1701(_0x567ea5._0x382a78)](_0x2ba867))return _0x1b1701(_0x567ea5._0x5cb34c);return null;}function _0x26c9(_0x2f4aa4,_0x543791){_0x2f4aa4=_0x2f4aa4-0x107;const _0x356613=_0x3566();let _0x26c91e=_0x356613[_0x2f4aa4];if(_0x26c9['sqkwZs']===undefined){var _0x5a9004=function(_0x236208){const _0x2a99ff='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2612e4='',_0x3b2f0a='';for(let _0x570dc4=0x0,_0x428bd3,_0x37a226,_0x1dda37=0x0;_0x37a226=_0x236208['charAt'](_0x1dda37++);~_0x37a226&&(_0x428bd3=_0x570dc4%0x4?_0x428bd3*0x40+_0x37a226:_0x37a226,_0x570dc4++%0x4)?_0x2612e4+=String['fromCharCode'](0xff&_0x428bd3>>(-0x2*_0x570dc4&0x6)):0x0){_0x37a226=_0x2a99ff['indexOf'](_0x37a226);}for(let _0x324f3c=0x0,_0x13f2ea=_0x2612e4['length'];_0x324f3c<_0x13f2ea;_0x324f3c++){_0x3b2f0a+='%'+('00'+_0x2612e4['charCodeAt'](_0x324f3c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3b2f0a);};_0x26c9['Zirjzf']=_0x5a9004,_0x26c9['ejbYiG']={},_0x26c9['sqkwZs']=!![];}const _0x161338=_0x356613[0x0],_0x3eb2d4=_0x2f4aa4+_0x161338,_0x4d0e6e=_0x26c9['ejbYiG'][_0x3eb2d4];return!_0x4d0e6e?(_0x26c91e=_0x26c9['Zirjzf'](_0x26c91e),_0x26c9['ejbYiG'][_0x3eb2d4]=_0x26c91e):_0x26c91e=_0x4d0e6e,_0x26c91e;}__name(validateFsSafeName,_0x26a119(0x133));var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function _0x3566(){const _0x286f65=['AxnsDw5UzxjdB25MAwDlzxK','qxbW','C2vJCMv0CW','DgvZDa','zMLUzeLUzgv4','CgfYC2vfBNzdB250zw50','ztjL','C3rKB3v0lMXVzW','CgfKu3rHCNq','C2vJCMv0C0zPBgvgB3i','iI4G','C3rLChmUANnVBMW','vu5pvevtvf9eruzbvuXux05bvKLhqvrjt05FveLnru9vvf9nuW','zMLSDgvY','DgvYBwLUywW','ywrK','Axntzwn0Aw9UrgL2AwrLCG','zMXHz3m','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','C291CMnL','Dw5VDgvZDc8Uzw52','CgXHBKfKzfzHCMLHyMXL','lMrLyNvN','yxbWlxnLCNzLCJPYzxvZzwq','vu5pvevtvf9erujvr19nqvHFqLLurvm','igLZig5VDcbHigTUB3DUihj1BM5LCIbZzxr0Aw5NiokaLcbJAg9VC2uGB25LigzYB20GDgHLihj1BM5LCI1JB25MAwCGBgLZDc4','mtu5mta2ntLxCNPet3O','BM93','Dg9mB3DLCKnHC2u','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','iYaTls0G','vu5pvevtvf9eruzbvuXux1rjtuvpvvrFtvm','iokaLcbWAwnRigeGzgLMzMvYzw50ig5HBwuGB3iGzwrPDcb0AguGzxHPC3rPBMCGDMfSDwuU','A2LUza','lNzPzxDLCI5SB2nR','z2v0uMfUzg9TvMfSDwvZ','mtboCwPWsNK','Dw5VDgvZDa','CNvUDgLTzs5QC29U','CMvNzxHmAxrLCMfS','B2jQzwn0','vu5pvevtvf9usu1fwK9orq','DhjPBq','AgfZ','C3rYAw5N','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','Aw5KzxHpzG','mZaXmtjVtwnxB3q','Bgf5zxjZrM9Y','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','C2fUAxrPEMvsDw5jzfnLz21LBNq','x2nVBgXLy3rPB25Z','AxnbC3nPz25Tzw50tgLUzq','zw52rMLSzuzVCG','DgvZDerPCKzVCG','vu5pvevtvf9orvrxt1jl','mJi0otC3ohHMy0vtsW','zgvSzxrLu2HHzg93v2fYBMLUzW','CMvTB3zLrw52vMfY','tK9Fq09mt1i','CNvUC0rPCKzVCG','y29TBwfUzhmUANnVBMW','BxvZDcbUB3qGyMuGzw1WDhK','y3j5ChrV','nZa0ntb6u3D4veq','ndy5odGXmZbQuKD6vwS','vu5pvevtvf9erujvrW','y29TCgXLDgvK','CgfYC2u','vu5pvevtvf9tte9xx01p','lMPZB24','lNzPzxDLCI5SB2C','BxvZDcbUB3qGy29UDgfPBIbCic8GoIaQid8GiIa8id4GFcbVCIbJB250CM9SignOyxjHy3rLCNm','C3rKzxjYlMXVzW','lNnUyxbZAg90CW','zgvIDwDNzxjgAwXLrM9Y','nteZmJC1nLbHt1f2Aq','DMfSAwrHDgvgC1nHzMvoyw1L','CMvZzxj2zwrvBMrLCNnJB3jL','uNvUBMvY','BxvZDcbUB3qGyMuGiI4Iig9YiciUlIi','CMvWBgfJzq','Aw5JBhvKzxm','CNvU','CNvUBMvY','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','vu5pvevtvf9erujvr19esvi','y2f0zwDVCML6zvzHCMLHyMXL','ywjVCNrLza','nteXoti2nMPNuvfJwG','C3bSAxrmAw5LCW','Dw5VDgvZDc8UC2vJCMv0CW','zw52','CNvUBMvYici','C3rHCNrZv2L0Aa','Dw5RBM93BI1YDw5UzxiTA2v5','vu5pvevtvf9erujvr19ive1mx01bwf9cwvrfuW','AM9PBKXPBMvZ','vu5pvevtvf9iruferuq','C3bSAwnL','zw5KC1DPDgG','AxnfEhrLCM5HBfzHCK5HBwu','refuqujbu0vFvvjm','DMfSAwrHDgvtzwDTzw50tMfTzq','lNj1BNm','vu5pvevtvf9erujvr19lruvqx0nbteXt','zMfPBgvK','zgvIDwDeAxjgB3i','CgfYC2vbChbtzxj2zxjfDMvUDa','ChvZAa','AM9PBG','rK9sq0vFq09mt1i','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','C2XPy2u','BMfTzq','BgvUz3rO','C2vJCMv0','BwfRzvj1BKLK','CgLJA2vYlxnUyxbZAg90lNr4Da','BxvZDcbIzsbHihn0CMLUzW','mJuZnfjTsundta','ndjeCMXQrge','vu5pvevtvf9mt0DFtevwruW','vu5pvevtvf9dt05tt0Xf','mtfYA2P1rve','ic0Tlq','vu5pvevtvf9dqunirv9esvi','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','Dg9tDhjPBMC','C291CMnLCY5QC29U'];_0x3566=function(){return _0x286f65;};return _0x3566();}function validateCollectionName(_0x398288){return validateFsSafeName(_0x398288);}__name(validateCollectionName,_0x26a119(0x156));var RUN_MANIFEST_FILE='manifest.json',RUN_SOURCES_FILE=_0x26a119(0x168),UnsupportedRunKindError=class extends Error{static{__name(this,_0x26a119(0x113));}constructor(_0x4636c9,_0x2affb2){const _0x41f690={_0x140489:0x143},_0x5674ee=_0x26a119;super(_0x5674ee(_0x41f690._0x140489)+_0x2affb2+'\x22\x20does\x20not\x20support\x20run\x20kind\x20\x22'+_0x4636c9+'\x22'),this['name']=_0x5674ee(0x113);}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0x26a119(0x117));}constructor(_0x315a21,_0x3b8897){const _0x563673={_0x214a6c:0x17b,_0xcbcbc3:0x173},_0x24fe58=_0x26a119;super(_0x24fe58(_0x563673._0x214a6c)+_0x315a21+_0x24fe58(_0x563673._0xcbcbc3)+_0x3b8897),this[_0x24fe58(0x158)]=_0x24fe58(0x117);}},RunnerNotConfiguredError=class extends Error{static{__name(this,_0x26a119(0x165));}constructor(_0x3536c0){const _0x42309c=_0x26a119;super(_0x3536c0),this[_0x42309c(0x158)]=_0x42309c(0x165);}},SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x3de1c1){return validateFsSafeName(_0x3de1c1,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0x26a119(0x14d));var TERMINAL_WS_EVENT=_0x26a119(0x177),RUNNER_CONFIG_KEYS=new Set(['UNOTEST_BROWSER',_0x26a119(0x148),_0x26a119(0x12b),_0x26a119(0x188),_0x26a119(0x175),_0x26a119(0x186),'UNOTEST_LOCALE',_0x26a119(0x10f),_0x26a119(0x160),_0x26a119(0x128),_0x26a119(0x13c),_0x26a119(0x181),_0x26a119(0x166),_0x26a119(0x146),_0x26a119(0x14f),_0x26a119(0x11d),_0x26a119(0x161),_0x26a119(0x164),_0x26a119(0x121),_0x26a119(0x155),_0x26a119(0x14c)]);function isRunnerConfigKey(_0x1076cd){const _0x1bf2b6={_0x4e9b9c:0x111},_0x595a86=_0x26a119;return RUNNER_CONFIG_KEYS[_0x595a86(_0x1bf2b6._0x4e9b9c)](_0x1076cd);}__name(isRunnerConfigKey,_0x26a119(0x169));function categorizeVariable(_0x337b3c){const _0x3adf04=_0x26a119;if(_0x337b3c['source']==='secrets')return _0x3adf04(0x15a);return isRunnerConfigKey(_0x337b3c['name'])?'runner':'app';}__name(categorizeVariable,_0x26a119(0x13d));function isExternalVarName(_0x5b35d2){const _0x312ab8={_0x3437d:0x16c},_0xd34dbc=_0x26a119;return/^[A-Z][A-Z0-9_]*$/[_0xd34dbc(_0x312ab8._0x3437d)](_0x5b35d2);}__name(isExternalVarName,_0x26a119(0x14b));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/;function*assignmentEntries(_0x131077){const _0x5e0b3d={_0x1d7a2b:0x114,_0x55f99a:0x157,_0x3e7732:0x110},_0x567766=_0x26a119;for(const _0x52093d of _0x131077['split'](/\r?\n/)){const _0x1de449=_0x52093d[_0x567766(0x110)]();if(_0x1de449===''||_0x1de449[_0x567766(0x144)]('#'))continue;const _0x5dda05=_0x1de449[_0x567766(_0x5e0b3d._0x1d7a2b)]('=');if(_0x5dda05<=0x0)continue;const _0x5af7a0=_0x1de449[_0x567766(_0x5e0b3d._0x55f99a)](0x0,_0x5dda05)[_0x567766(_0x5e0b3d._0x3e7732)]();if(!ENV_KEY_RE['test'](_0x5af7a0))continue;yield[_0x5af7a0,_0x1de449['slice'](_0x5dda05+0x1)[_0x567766(0x110)]()];}}__name(assignmentEntries,'assignmentEntries');function parseEnvContent(_0x59d924){const _0x143fe1=_0x26a119,_0x406d3e={};for(const [_0x311168,_0x3a5a29]of assignmentEntries(_0x59d924)){let _0x567796=_0x3a5a29;if(_0x567796[_0x143fe1(0x159)]>=0x2){const _0x22af51=_0x567796[0x0],_0x20767e=_0x567796[_0x567796[_0x143fe1(0x159)]-0x1];(_0x22af51==='\x22'||_0x22af51==='\x27')&&_0x22af51===_0x20767e&&(_0x567796=_0x567796[_0x143fe1(0x157)](0x1,-0x1));}_0x406d3e[_0x311168]=_0x567796;}return _0x406d3e;}__name(parseEnvContent,_0x26a119(0x16e));function serializeEnvValue(_0x1568d2){const _0x14fa86={_0x42cf9e:0x137},_0x47e6a8=_0x26a119;if(_0x1568d2==='')return'';if(/[\s#"'=\\]|^[`]/['test'](_0x1568d2)||/[\n\r]/['test'](_0x1568d2)){const _0x44ce9c=_0x1568d2[_0x47e6a8(_0x14fa86._0x42cf9e)](/\\/g,'\x5c\x5c')['replace'](/"/g,'\x5c\x22')[_0x47e6a8(0x137)](/\n/g,'\x5cn')[_0x47e6a8(0x137)](/\r/g,'\x5cr');return'\x22'+_0x44ce9c+'\x22';}return _0x1568d2;}__name(serializeEnvValue,'serializeEnvValue');function envKeys(_0x1facf8){const _0x2a7bf={_0x3b9378:0x178},_0xf3f2a6=_0x26a119,_0x383f4a=new Set();for(const [_0x3b9caf]of assignmentEntries(_0x1facf8))_0x383f4a[_0xf3f2a6(_0x2a7bf._0x3b9378)](_0x3b9caf);return _0x383f4a;}__name(envKeys,'envKeys');function isSectionDivider(_0x7d8837){const _0x194998=_0x26a119,_0x229d52=_0x7d8837['trim']();return _0x229d52[_0x194998(0x144)]('#')&&/---/[_0x194998(0x16c)](_0x229d52);}__name(isSectionDivider,_0x26a119(0x179));function isAssignmentLine(_0x58f912){const _0x4930e9={_0x3ce37e:0x110,_0x5985af:0x144},_0x4e98e1=_0x26a119,_0x2fb735=_0x58f912[_0x4e98e1(_0x4930e9._0x3ce37e)]();if(_0x2fb735===''||_0x2fb735[_0x4e98e1(_0x4930e9._0x5985af)]('#'))return![];const _0x5ac2a8=_0x2fb735[_0x4e98e1(0x114)]('=');return _0x5ac2a8>0x0&&ENV_KEY_RE[_0x4e98e1(0x16c)](_0x2fb735[_0x4e98e1(0x157)](0x0,_0x5ac2a8)[_0x4e98e1(0x110)]());}__name(isAssignmentLine,_0x26a119(0x11a));function isAssignmentOf(_0x507a17,_0x2d6e90){const _0x3b19d2={_0x57d4fe:0x144,_0x1f2fe7:0x114,_0x2582a6:0x157,_0x28f4f2:0x110},_0x7a14ba=_0x26a119,_0x3981a2=_0x507a17[_0x7a14ba(0x110)]();if(_0x3981a2===''||_0x3981a2[_0x7a14ba(_0x3b19d2._0x57d4fe)]('#'))return![];const _0x8d618d=_0x3981a2[_0x7a14ba(_0x3b19d2._0x1f2fe7)]('=');if(_0x8d618d<=0x0)return![];return _0x3981a2[_0x7a14ba(_0x3b19d2._0x2582a6)](0x0,_0x8d618d)[_0x7a14ba(_0x3b19d2._0x28f4f2)]()===_0x2d6e90;}__name(isAssignmentOf,'isAssignmentOf');function splitLines(_0x26c3f8){const _0x4a5b26={_0x558c1e:0x14a},_0x39126a=_0x26a119,_0x29d669=_0x26c3f8[_0x39126a(_0x4a5b26._0x558c1e)]('\x0a'),_0x1110c9=_0x29d669?_0x26c3f8[_0x39126a(0x157)](0x0,-0x1):_0x26c3f8;return{'lines':_0x1110c9===''?[]:_0x1110c9['split']('\x0a'),'trailingNewline':_0x29d669};}__name(splitLines,_0x26a119(0x140));function joinLines(_0x414f95,_0x404e5f){const _0x2e7d52=_0x26a119,_0xf7faf1=_0x414f95[_0x2e7d52(0x154)]('\x0a');return _0x404e5f||_0xf7faf1===''?_0xf7faf1+'\x0a':_0xf7faf1;}__name(joinLines,_0x26a119(0x147));function insertEnvVar(_0x51de29,_0x160463,_0x4d8687,_0xb9e494){const _0x5dc54e={_0x4e208e:0x185,_0x62f0c:0x16d,_0x131c67:0x159,_0x193a48:0x159,_0x1d92e3:0x153,_0x51d5e5:0x153},_0x36b002=_0x26a119,_0x4332ef=_0x160463+'='+serializeEnvValue(_0x4d8687),{lines:_0x161535,trailingNewline:_0xebdcb5}=splitLines(_0x51de29);if(_0xb9e494){const _0x418375=new RegExp('\x5cb'+_0xb9e494[_0x36b002(_0x5dc54e._0x4e208e)]()+'\x5cb'),_0x42c8a7=_0x161535[_0x36b002(_0x5dc54e._0x62f0c)](_0x3be384=>isSectionDivider(_0x3be384)&&_0x418375[_0x36b002(0x16c)](_0x3be384[_0x36b002(0x185)]()));if(_0x42c8a7!==-0x1){let _0x359cef=_0x161535[_0x36b002(_0x5dc54e._0x131c67)];for(let _0x4e7c82=_0x42c8a7+0x1;_0x4e7c82<_0x161535[_0x36b002(_0x5dc54e._0x193a48)];_0x4e7c82++){if(isSectionDivider(_0x161535[_0x4e7c82])){_0x359cef=_0x4e7c82;break;}}let _0x51f323=-0x1,_0x4bac4d=-0x1;for(let _0x593347=_0x42c8a7+0x1;_0x593347<_0x359cef;_0x593347++){if(_0x161535[_0x593347]['trim']()!=='')_0x4bac4d=_0x593347;if(isAssignmentLine(_0x161535[_0x593347]))_0x51f323=_0x593347;}const _0x3c376f=_0x51f323>=0x0?_0x51f323:_0x4bac4d,_0x1e54d1=_0x3c376f>=0x0?_0x3c376f+0x1:_0x42c8a7+0x1;return _0x161535[_0x36b002(0x149)](_0x1e54d1,0x0,_0x4332ef),joinLines(_0x161535,_0xebdcb5||_0x161535[_0x36b002(_0x5dc54e._0x193a48)]>0x0);}if(_0x161535[_0x36b002(0x159)]>0x0)_0x161535[_0x36b002(_0x5dc54e._0x1d92e3)]('');return _0x161535[_0x36b002(_0x5dc54e._0x51d5e5)](_0x36b002(0x187)+_0xb9e494+_0x36b002(0x163),_0x4332ef),joinLines(_0x161535,!![]);}return _0x161535[_0x36b002(_0x5dc54e._0x51d5e5)](_0x4332ef),joinLines(_0x161535,!![]);}__name(insertEnvVar,'insertEnvVar');function removeEnvVar(_0x363a83,_0xb5df4c){const _0x23e960={_0x202b9d:0x176,_0x42920a:0x159},_0xe4a288=_0x26a119,{lines:_0x27ba35,trailingNewline:_0x4c4fac}=splitLines(_0x363a83),_0xa6aba=_0x27ba35[_0xe4a288(_0x23e960._0x202b9d)](_0x2d6f9b=>!isAssignmentOf(_0x2d6f9b,_0xb5df4c)),_0x586766=_0xa6aba['length']!==_0x27ba35[_0xe4a288(_0x23e960._0x42920a)];return{'content':joinLines(_0xa6aba,_0x4c4fac),'removed':_0x586766};}__name(removeEnvVar,_0x26a119(0x120));var SECTION_BY_KIND={'app':_0x26a119(0x16a),'runner':_0x26a119(0x135),'secret':void 0x0};function planAddVariable(_0x2bb3c6){const _0x13c2cc={_0x32ceac:0x13a,_0x3d4984:0x145,_0x4072e0:0x182,_0x5e00a0:0x111,_0x4feb14:0x16b,_0x6fd45a:0x17d,_0x1e59d6:0x189,_0x20361f:0x15a,_0x5b78b5:0x153},_0x211bea=_0x26a119,{name:_0x4d6f92,kind:_0x5a7f9e}=_0x2bb3c6;if(_0x5a7f9e===_0x211bea(_0x13c2cc._0x32ceac)){if(!isRunnerConfigKey(_0x4d6f92))return{'ok':![],'code':_0x211bea(_0x13c2cc._0x3d4984),'message':_0x4d6f92+_0x211bea(_0x13c2cc._0x4072e0)};}else{if(!isExternalVarName(_0x4d6f92))return{'ok':![],'code':'invalid-name','message':_0x4d6f92+'\x20must\x20be\x20UPPER_SNAKE\x20(e.g.\x20APP_BASE_URL)\x20so\x20a\x20scenario\x20can\x20reference\x20it\x20by\x20name.'};}const _0x4663fd=envKeys(_0x2bb3c6['envContent'])[_0x211bea(_0x13c2cc._0x5e00a0)](_0x4d6f92),_0x5df3fa=envKeys(_0x2bb3c6['secretsContent'])['has'](_0x4d6f92),_0x138fed=_0x5a7f9e===_0x211bea(0x15a)?_0x211bea(0x16b):_0x211bea(0x142),_0xe0b242=_0x138fed==='secrets'?_0x5df3fa:_0x4663fd,_0x1290c0=_0x138fed===_0x211bea(_0x13c2cc._0x4feb14)?_0x211bea(0x141):_0x211bea(_0x13c2cc._0x6fd45a);if(_0xe0b242)return{'ok':![],'code':'duplicate','message':_0x4d6f92+'\x20already\x20exists\x20in\x20'+_0x1290c0+_0x211bea(_0x13c2cc._0x1e59d6)};const _0x14f229=[];return _0x5a7f9e===_0x211bea(_0x13c2cc._0x20361f)&&_0x4663fd&&_0x14f229[_0x211bea(_0x13c2cc._0x5b78b5)](_0x4d6f92+'\x20is\x20also\x20set\x20in\x20unotest/.env\x20—\x20the\x20secret\x20value\x20now\x20shadows\x20it.'),_0x5a7f9e!==_0x211bea(_0x13c2cc._0x20361f)&&_0x5df3fa&&_0x14f229[_0x211bea(0x153)](_0x4d6f92+'\x20is\x20also\x20set\x20in\x20unotest/.secrets\x20—\x20the\x20secret\x20value\x20shadows\x20this\x20one.'),{'ok':!![],'target':_0x138fed,'sectionLabel':SECTION_BY_KIND[_0x5a7f9e],'warnings':_0x14f229};}__name(planAddVariable,_0x26a119(0x17e));function deleteShadowWarning(_0x4efc43,_0x446064,_0x2cefc2){if(_0x2cefc2!==void 0x0&&_0x2cefc2!==_0x446064)return[_0x4efc43+'\x20is\x20also\x20set\x20in\x20your\x20shell\x20environment\x20—\x20it\x20will\x20keep\x20resolving\x20from\x20there\x20(the\x20environment\x20wins\x20over\x20the\x20file).'];return[];}__name(deleteShadowWarning,_0x26a119(0x11f));var TERMINAL_RUNTIME_STATES=[_0x26a119(0x129),_0x26a119(0x150),_0x26a119(0x13e)];function isTerminalRuntimeState(_0x58b20d){const _0x2ed619={_0x57d727:0x138},_0x32f9ab=_0x26a119;return TERMINAL_RUNTIME_STATES[_0x32f9ab(_0x2ed619._0x57d727)](_0x58b20d);}__name(isTerminalRuntimeState,'isTerminalRuntimeState');export{COLLECTIONS_SUBDIR,COLLECTION_NAME_FORBIDDEN_RE,COMMANDS_FILE,E2E_SUBDIR,ENV_FILE,HEARTBEAT_FILE,HELPERS_SUBDIR,LOCK_FILE,LOG_FILE,PICKER_SNAPSHOT_FILE,RUNNER_CONFIG_KEYS,RUNS_SUBDIR,RUNTIME_FILE,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnsupportedRunKindError,activeEnvName,categorizeVariable,debugDirFor,debuggerFileFor,deleteShadowWarning,envFileFor,envKeys,envLayerFilesFor,insertEnvVar,isExternalVarName,isRegexLiteral,isRunnerConfigKey,isTerminalRuntimeState,makeRunId,parseAppServerEvent,parseEnvContent,planAddVariable,regexLiteral,removeEnvVar,runsDirFor,sanitizeRunIdSegment,secretsFileFor,secretsLayerFilesFor,serializeEnvValue,testDirFor,validateCollectionName,validateSegmentName};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unotest/protocol",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Cross-runner protocol for the @unotest ecosystem: shared TypeScript types, path constants, the IRunnerAdapter contract that lets @unotest/viewer drive @unotest/web, @unotest/mobile (and future runners) through the same surface. Pure types + pure functions only — zero runtime deps, browser-safe.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {