@ranger-testing/ranger-cli 3.0.1-alpha.aab0a1c-26 → 3.0.1-alpha.ffffb5b-28

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.
Files changed (81) hide show
  1. package/build/cli.js +1 -1
  2. package/build/commands/addEnv.js +1 -1
  3. package/build/commands/authEncrypt.js +1 -1
  4. package/build/commands/clean.js +1 -1
  5. package/build/commands/config.js +1 -1
  6. package/build/commands/deleteProfile.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -1
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/novaActCli.js +1 -1
  58. package/build/commands/utils/opencodeConfig.js +1 -1
  59. package/build/commands/utils/playwrightCli.js +1 -1
  60. package/build/commands/utils/profileMessages.js +1 -1
  61. package/build/commands/utils/profileSetupBanner.js +1 -1
  62. package/build/commands/utils/projectsConfig.js +1 -1
  63. package/build/commands/utils/rangerConfig.js +1 -1
  64. package/build/commands/utils/rangerRoot.js +1 -1
  65. package/build/commands/utils/resolveProfileContext.js +1 -1
  66. package/build/commands/utils/resolveProfileUrl.js +1 -1
  67. package/build/commands/utils/retry.js +1 -1
  68. package/build/commands/utils/sessionCache.js +1 -1
  69. package/build/commands/utils/settings.js +1 -1
  70. package/build/commands/utils/skillContent.js +1 -1
  71. package/build/commands/utils/skills.js +1 -1
  72. package/build/commands/utils/stitchWebmFiles.js +1 -1
  73. package/build/commands/utils/telemetry.js +1 -1
  74. package/build/commands/utils/tokenRefresh.js +1 -1
  75. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  76. package/build/commands/utils/userApi.js +1 -1
  77. package/build/commands/utils/version.js +1 -1
  78. package/build/commands/verifyFeature.js +1 -1
  79. package/build/commands/verifyFeatureCli.js +1 -1
  80. package/build/commands/verifyFeatureNovaCli.js +1 -1
  81. package/package.json +2 -2
@@ -1 +1 @@
1
- (function(_0x16253f,_0x5ccd8d){const _0x2a04bf=_0x982c,_0x957b20=_0x16253f();while(!![]){try{const _0x37dd28=parseInt(_0x2a04bf(0x10a))/0x1*(parseInt(_0x2a04bf(0xc5))/0x2)+parseInt(_0x2a04bf(0xe1))/0x3+-parseInt(_0x2a04bf(0xcf))/0x4*(parseInt(_0x2a04bf(0xaa))/0x5)+parseInt(_0x2a04bf(0x11f))/0x6+-parseInt(_0x2a04bf(0xd0))/0x7+parseInt(_0x2a04bf(0x102))/0x8*(-parseInt(_0x2a04bf(0x103))/0x9)+parseInt(_0x2a04bf(0xf4))/0xa*(parseInt(_0x2a04bf(0x123))/0xb);if(_0x37dd28===_0x5ccd8d)break;else _0x957b20['push'](_0x957b20['shift']());}catch(_0x12d222){_0x957b20['push'](_0x957b20['shift']());}}}(_0x3689,0xd81e3));import{mkdir,readFile,readdir,rename,stat}from'fs/promises';import{basename,join}from'path';import{extractBashCommand,parsePlaywrightCliCommand,quoteShellArg,runPlaywrightCliCommand}from'./utils/playwrightCli.js';const PLAYWRIGHT_CLI_COMMAND_TIMEOUT_MS=0xea60,PLAYWRIGHT_CLI_PREVIEW_LIMIT=0xf0,VERIFY_FEATURE_CLI_ARTIFACT_FILE_PATTERN=/^(?:\d{2}_.+\.(?:png|ya?ml)|key_.+\.png|session-recording(?:-\d+)?\.webm|trace(?:\.trace)?(?:-\d+)?\.zip|current_snap\.ya?ml)$/i;function _0x982c(_0x799165,_0x3b5486){_0x799165=_0x799165-0x8a;const _0x368935=_0x3689();let _0x982cae=_0x368935[_0x799165];return _0x982cae;}function _0x3689(){const _0x24d23f=['\x0a\x0a##\x20Task\x20to\x20Execute\x0a','`\x20using\x20absolute\x20paths\x20only.\x20Do\x20not\x20use\x20relative\x20filenames.\x0a5.\x20Run\x20`','1956144fXijTi','BNzST','02_learn-more.yml','(?:\x5cs+(?:\x22([^\x22]+)\x22|\x27([^\x27]+)\x27|(\x5cS+)))','`\x0a5.\x20Read\x20the\x20snapshot\x20file\x20to\x20find\x20the\x20\x22Learn\x20More\x22\x20link\x20reference\x0a6.\x20Run\x20`','playwright_cli_tracing_stop','check','01_initial.yml','AgYsg','map','03_learn-more.png','\x20run-code\x20\x22<playwright\x20code>\x22`.\x0a7.\x20Do\x20not\x20run\x20`close`,\x20`tracing-stop`,\x20or\x20`video-stop`;\x20the\x20host\x20finalizes\x20the\x20session\x20and\x20artifacts.\x0a8.\x20After\x20completing\x20the\x20verification,\x20evaluate\x20whether\x20the\x20result\x20adequately\x20verifies\x20the\x20scenario','phase','authorEmail','`\x0a10.\x20Return\x20immediately\x20with\x20the\x20structured\x20output\x0a\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format.','tool_call','sort','key_03_success-state.png','tab-new','10xGRCIF','CRITICAL\x20URL\x20REQUIREMENT:\x0aYour\x20base\x20URL\x20is:\x20','OOpGN','Reviewer','SsDPB','AljAQ','wLllb','01_mozilla-homepage.png','pop','press\x20','HlNbY','PjBES','.\x0aThis\x20is\x20NOT\x20a\x20web\x20app\x20—\x20there\x20is\x20no\x20URL\x20to\x20navigate\x20to.\x20The\x20app\x20is\x20already\x20running\x20and\x20connected.','string','1228856hRqRYo','36jiuDRy','\x0a\x0a##\x20Authentication\x0aBEFORE\x20starting\x20the\x20verification\x20task,\x20you\x20MUST\x20authenticate\x20using\x20these\x20steps:\x0a','isFile','\x0a\x0a1.\x20Run\x20`','invocation','target','numeric','1158054GpCLSj','playwright_cli_close','replace','snapshot','press','select\x20tab\x20','trackPhaseEnd','\x0a-\x20You\x20may\x20ONLY\x20navigate\x20to\x20paths\x20under\x20this\x20base\x20URL\x20(same\x20protocol,\x20host,\x20and\x20port)\x0a-\x20For\x20example,\x20if\x20the\x20base\x20URL\x20is\x20\x22http://localhost:3000\x22,\x20you\x20can\x20navigate\x20to\x20\x22http://localhost:3000/home\x22,\x20\x22http://localhost:3000/settings\x22,\x20etc.\x0a-\x20DO\x20NOT\x20navigate\x20to\x20any\x20different\x20domain,\x20host,\x20or\x20port\x20under\x20any\x20circumstances\x0a-\x20If\x20documentation\x20or\x20code\x20diffs\x20suggest\x20a\x20path\x20exists\x20(e.g.,\x20\x22/dashboard\x22),\x20you\x20may\x20navigate\x20to\x20that\x20path\x20ONLY\x20under\x20the\x20base\x20URL\x20above\x0a-\x20The\x20base\x20URL\x20above\x20is\x20the\x20ONLY\x20authorized\x20profile\x20for\x20this\x20verification','run\x20custom\x20Playwright\x20code','FLlxS','--filename=','PostToolUse','UpUQu','[ranger-verification-agent]\x20',']\x20**','DEBUG','content','pbmhK','tracing-start','fill\x20','split','241362carfjW','\x0a\x0a##\x20Reviewer\x20Feedback\x20to\x20Address\x0aThe\x20following\x20reviewer\x20comments\x20were\x20left\x20on\x20the\x20previous\x20version\x20of\x20this\x20item.\x0aVerify\x20that\x20each\x20concern\x20has\x20been\x20addressed\x20in\x20the\x20current\x20implementation.\x0aFor\x20each\x20comment\x20you\x20believe\x20has\x20been\x20addressed,\x20include\x20its\x20ID\x20(the\x20bracketed\x20value)\x20in\x20the\x20addressedCommentIds\x20array\x20in\x20your\x20output.\x0a\x0a','tBrwg','createdAt','8599129qJDlpr','selector','\x20tracing-start`,\x20then\x20`','screenshot','FHcYo','match','click','nJcUT','RGjJH','\x0a##\x20Evaluation\x20Criteria\x0a-\x20VERIFIED:\x20The\x20task\x20completed\x20successfully\x20and\x20the\x20scenario\x20requirements\x20are\x20fully\x20met\x0a-\x20PARTIAL:\x20The\x20task\x20partially\x20completed\x20but\x20some\x20aspects\x20of\x20the\x20scenario\x20are\x20not\x20verified\x0a-\x20BLOCKED:\x20A\x20blocking\x20issue\x20(bug,\x20error,\x20missing\x20feature)\x20prevents\x20completion\x0a-\x20FAILED:\x20The\x20task\x20could\x20not\x20be\x20completed\x20due\x20to\x20errors\x0a\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format\x20with\x20your\x20evaluation.','short','video-stop','\x20video-start`.\x0a3.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`','xBemv','notes','##\x20Instructions\x0a1.\x20Use\x20Bash\x20plus\x20Playwright\x20CLI\x20only.\x20Do\x20NOT\x20call\x20MCP\x20browser\x20tools.\x0a2.\x20Start\x20by\x20running\x20`','rkSzP','tracing-stop','stringify','`\x20to\x20inspect\x20the\x20current\x20app\x20state.\x0a5.\x20Read\x20snapshot\x20YAML\x20files\x20to\x20find\x20element\x20references\x20like\x20`e12`,\x20then\x20use\x20them\x20with\x20`click`,\x20`fill`,\x20`check`,\x20or\x20`select`.\x0a6.\x20Use\x20`','\x22\x0a-\x20Number\x20prefixes\x20(01_,\x2002_,\x20etc.)\x20help\x20maintain\x20chronological\x20order\x0a-\x20For\x20KEY\x20MOMENTS\x20that\x20prove\x20the\x20scenario\x20is\x20complete,\x20prefix\x20with\x20\x22key_\x22:\x20\x22','\x20snapshot\x20--filename\x20','trace.trace.zip','STsmt','test','stderr','bvKsh','tool_failure','\x20tracing-start`\x0a3.\x20Run\x20`','\x0a\x0a##\x20Expected\x20Flow\x20(from\x20previous\x20verification)\x0a','ref\x20','`,\x20then\x20`','\x20>\x20','cwd','playwright-cli','LTUbd','-\x20[','playwright_cli_video_stop','qfWHi','355fMCvbA','\x0a\x0aAfter\x20completing\x20authentication,\x20proceed\x20with\x20the\x20verification\x20task\x20below.\x0aIf\x20authentication\x20fails,\x20return\x20immediately\x20with\x20evaluation\x20\x22blocked\x22\x20and\x20describe\x20the\x20auth\x20failure.','mltDV','`\x20using\x20absolute\x20paths\x20only.\x20Do\x20not\x20use\x20relative\x20filenames.\x0a4.\x20Take\x20a\x20snapshot\x20with\x20`','`\x0a7.\x20Click\x20the\x20\x22Learn\x20More\x22\x20link\x20with\x20Playwright\x20CLI\x0a8.\x20Run\x20`','unaddressedComments','values','`:\x20\x22','brZMY','domRef','\x0a\x0a##\x20Critical:\x20Early\x20Error\x20Detection\x0aAfter\x20step\x202\x20(taking\x20initial\x20snapshot),\x20IMMEDIATELY\x20check\x20for\x20blocking\x20HTTP\x20errors:\x0a\x0a**Blocking\x20errors\x20to\x20detect:**\x0a-\x20HTTP\x20404:\x20\x22404\x22,\x20\x22Not\x20Found\x22,\x20\x22Page\x20not\x20found\x22,\x20\x22does\x20not\x20exist\x22\x0a-\x20HTTP\x20500:\x20\x22500\x22,\x20\x22Internal\x20Server\x20Error\x22,\x20\x22Server\x20Error\x22,\x20\x22Something\x20went\x20wrong\x22\x0a-\x20HTTP\x20400:\x20\x22400\x22,\x20\x22Bad\x20Request\x22,\x20\x22Invalid\x20request\x22\x0a\x0a**Also\x20check\x20for:**\x0a-\x20Framework\x20error\x20pages\x20(Next.js\x20error\x20boundary,\x20React\x20error\x20page,\x20\x22Application\x20error\x22)\x0a-\x20Completely\x20blank/empty\x20pages\x20with\x20no\x20content\x0a-\x20\x22Cannot\x20GET\x20/path\x22\x20messages\x0a\x0a**If\x20ANY\x20blocking\x20error\x20is\x20detected:**\x0a1.\x20DO\x20NOT\x20continue\x20with\x20the\x20task\x0a2.\x20Return\x20IMMEDIATELY\x20with\x20evaluation:\x20\x22blocked\x22\x0a3.\x20Set\x20evaluationReason\x20to\x20describe\x20the\x20specific\x20error\x20(e.g.,\x20\x22HTTP\x20404\x20-\x20Page\x20not\x20found\x20at\x20/dashboard\x22)\x0a4.\x20Include\x20the\x20error\x20in\x20issues\x20array\x20with\x20severity:\x20\x22BLOCKER\x22\x20and\x20appropriate\x20type\x20(HTTP_404,\x20HTTP_500,\x20HTTP_400,\x20or\x20NAVIGATION_ERROR)\x0a\x0aThis\x20early\x20exit\x20prevents\x20wasting\x20time\x20on\x20tasks\x20that\x20cannot\x20succeed\x20due\x20to\x20fundamental\x20errors.','BSJZU','env','`\x0a-\x20`run-code\x20\x22await\x20page.waitForTimeout(1000)\x22`\x20for\x20waits\x20or\x20small\x20custom\x20checks\x0a\x0a##\x20Screenshot\x20Guidelines\x20-\x20IMPORTANT\x0aTake\x20screenshots\x20throughout\x20the\x20verification\x20flow\x20so\x20a\x20human\x20can\x20review\x20it\x20for\x20completeness.\x20Screenshots\x20are\x20your\x20evidence\x20trail.\x0a\x0a**When\x20to\x20take\x20screenshots\x20(use\x20Playwright\x20CLI\x20screenshot):**\x0a-\x20After\x20the\x20initial\x20snapshot\x20(capture\x20starting\x20state)\x0a-\x20Before\x20and\x20after\x20clicking\x20buttons\x20or\x20submitting\x20forms\x0a-\x20When\x20important\x20UI\x20elements\x20appear\x20(modals,\x20notifications,\x20loading\x20states)\x0a-\x20After\x20navigating\x20to\x20different\x20views\x20or\x20pages\x0a-\x20When\x20verifying\x20specific\x20elements\x20exist\x0a-\x20At\x20the\x20final\x20state\x20showing\x20the\x20completed\x20action\x0a\x0a**Screenshot\x20naming:**\x0a-\x20Use\x20descriptive\x20filenames\x20under\x20`','slice','WfMGo','\x0a\x0a##\x20Critical:\x20Early\x20Error\x20Detection\x0aAfter\x20taking\x20the\x20initial\x20snapshot,\x20IMMEDIATELY\x20check\x20for\x20blocking\x20errors:\x0a\x0a**Blocking\x20errors\x20to\x20detect:**\x0a-\x20Crash\x20or\x20error\x20dialogs\x20(\x22An\x20error\x20occurred\x22,\x20\x22Something\x20went\x20wrong\x22,\x20unhandled\x20exception\x20messages)\x0a-\x20Blank\x20or\x20empty\x20window\x20with\x20no\x20rendered\x20content\x0a-\x20Framework\x20error\x20boundaries\x20(React\x20error\x20page,\x20Electron\x20crash\x20reporter)\x0a-\x20Unresponsive\x20or\x20frozen\x20UI\x20(no\x20interactive\x20elements\x20in\x20snapshot)\x0a\x0a**If\x20ANY\x20blocking\x20error\x20is\x20detected:**\x0a1.\x20DO\x20NOT\x20continue\x20with\x20the\x20task\x0a2.\x20Return\x20IMMEDIATELY\x20with\x20evaluation:\x20\x22blocked\x22\x0a3.\x20Set\x20evaluationReason\x20to\x20describe\x20the\x20specific\x20error\x20(e.g.,\x20\x22App\x20crashed\x20—\x20error\x20dialog\x20visible\x20on\x20launch\x22)\x0a4.\x20Include\x20the\x20error\x20in\x20issues\x20array\x20with\x20severity:\x20\x22BLOCKER\x22\x20and\x20type:\x20\x22APP_ERROR\x22\x0a\x0aThis\x20early\x20exit\x20prevents\x20wasting\x20time\x20on\x20tasks\x20that\x20cannot\x20succeed\x20due\x20to\x20fundamental\x20errors.','FvEuE','trace.zip','stop\x20tracing','xdEiD','\x5c$&','\x20screenshot\x20--filename\x20','join','...','##\x20App\x20Context\x0aYou\x20are\x20connected\x20to\x20a\x20desktop\x20application\x20via\x20CDP\x20(Chrome\x20DevTools\x20Protocol)\x20at\x20','tab-select','2OcZSXQ','SdmLX','toLocaleDateString','tool_input','bKuFj','01_initial-state.png','length','IIXff','ALiwG','tool_name','16572CTEjTN','5867876gjNWdd','log','frEOx','\x20(on\x20element:\x20<','DBPbX','Bash','start\x20video\x20recording','check\x20','\x20open\x20','name','AFzJT','**\x20(','[playwright-cli]\x20','trim','`\x20style\x20absolute\x20paths\x20at\x20key\x20moments.\x0a6.\x20If\x20you\x20need\x20waits\x20or\x20custom\x20assertions,\x20use\x20`'];_0x3689=function(){return _0x24d23f;};return _0x3689();}function truncatePreview(_0xfe04dd,_0x23f2b4=PLAYWRIGHT_CLI_PREVIEW_LIMIT){const _0x4a2b8e=_0x982c,_0x38f33e={'STsmt':function(_0x36a36b,_0x26d4ac){return _0x36a36b>_0x26d4ac;},'ALiwG':function(_0x5498e5,_0x7fd3f3){return _0x5498e5+_0x7fd3f3;},'PANrP':_0x4a2b8e(0xc2)};return _0x38f33e[_0x4a2b8e(0x9a)](_0xfe04dd['length'],_0x23f2b4)?_0x38f33e[_0x4a2b8e(0xcd)](_0xfe04dd[_0x4a2b8e(0xb8)](0x0,_0x23f2b4),_0x38f33e['PANrP']):_0xfe04dd;}function buildCliArtifactPath(_0x5c5c40,_0x580ebb){return join(_0x5c5c40,_0x580ebb);}function toStepDisplayName(_0x52e587){const _0x5939aa=_0x982c,_0x332a37=basename(_0x52e587)['replace'](/\.(?:png|ya?ml)$/i,'')[_0x5939aa(0x10c)](/^key_/i,'')[_0x5939aa(0x10c)](/^\d+_/,'')['replace'](/-/g,'\x20');return{'name':_0x332a37,'isKeyStep':/^key_/i[_0x5939aa(0x9b)](basename(_0x52e587))};}function extractShellValue(_0x4c4fc7){if(!_0x4c4fc7)return null;return _0x4c4fc7[0x1]??_0x4c4fc7[0x2]??_0x4c4fc7[0x3]??null;}function extractFilenameOption(_0x1048cf){const _0x4af235=_0x982c,_0x36e5e5={'pbmhK':function(_0x22e176,_0x32f9d0){return _0x22e176(_0x32f9d0);}};return _0x36e5e5[_0x4af235(0x11b)](extractShellValue,_0x1048cf[_0x4af235(0x128)](/--filename(?:=|\s+)(?:"([^"]+)"|'([^']+)'|(\S+))/));}function extractFirstCommandArgument(_0x4efd3a,_0x289f6a){const _0x354342=_0x982c,_0x204004={'wLllb':_0x354342(0xbf),'PiPTD':function(_0x30e03c,_0x41613d){return _0x30e03c(_0x41613d);}},_0x506093=_0x289f6a[_0x354342(0x10c)](/[.*+?^${}()|[\]\\]/g,_0x204004[_0x354342(0xfa)]);return _0x204004['PiPTD'](extractShellValue,_0x4efd3a['match'](new RegExp('(?:^|\x5cs)'+_0x506093+_0x354342(0xe4))));}function formatCommandTarget(_0x438796){const _0x42b181=_0x982c,_0x380f68={'BNzST':_0x42b181(0x108),'tmuIk':function(_0x11e4ee,_0x205fb2,_0x529031){return _0x11e4ee(_0x205fb2,_0x529031);}};if(!_0x438796)return _0x380f68[_0x42b181(0xe2)];if(/^e\d+$/i[_0x42b181(0x9b)](_0x438796))return _0x42b181(0xa1)+_0x438796;return JSON[_0x42b181(0x95)](_0x380f68['tmuIk'](truncatePreview,_0x438796,0x78));}function formatPlaywrightCliLog(_0x25553b,_0xa2abf9){const _0x271cbd=_0x982c,_0x3b0741={'bvKsh':_0x271cbd(0x11c),'HlNbY':'capture\x20snapshot','sIaTl':_0x271cbd(0x126),'IIXff':function(_0x3118c9,_0x6d216e){return _0x3118c9(_0x6d216e);},'PjBES':'capture\x20screenshot','DzoVY':function(_0x2166d0,_0x36844a,_0x222cb5){return _0x2166d0(_0x36844a,_0x222cb5);},'xUFLx':_0x271cbd(0xe7),'FvEuE':'fill','SsDPB':_0x271cbd(0x10e),'FSesD':'run-code','xdEiD':_0x271cbd(0xf3),'oxUzL':_0x271cbd(0xc4),'xBemv':'select\x20tab'};switch(_0xa2abf9){case'open':{const _0x156818=extractFirstCommandArgument(_0x25553b,_0xa2abf9);return _0x156818?'open\x20'+_0x156818:'open\x20browser';}case _0x3b0741[_0x271cbd(0x9d)]:return'start\x20tracing';case _0x271cbd(0x94):return _0x271cbd(0xbd);case'video-start':return _0x271cbd(0xd6);case'video-stop':return'stop\x20video\x20recording';case _0x271cbd(0x10d):{const _0x1132fd=extractFilenameOption(_0x25553b);if(!_0x1132fd)return _0x3b0741[_0x271cbd(0xfe)];const {name:_0x22e8d8}=toStepDisplayName(_0x1132fd);return'capture\x20snapshot\x20`'+_0x22e8d8+'`';}case _0x3b0741['sIaTl']:{const _0x3f3160=_0x3b0741[_0x271cbd(0xcc)](extractFilenameOption,_0x25553b);if(!_0x3f3160)return _0x3b0741[_0x271cbd(0xff)];const {name:_0x5148a7,isKeyStep:_0x51bd4b}=toStepDisplayName(_0x3f3160);return _0x51bd4b?'capture\x20key\x20step\x20`'+_0x5148a7+'`':'capture\x20step\x20`'+_0x5148a7+'`';}case _0x271cbd(0x129):return'click\x20'+formatCommandTarget(_0x3b0741['DzoVY'](extractFirstCommandArgument,_0x25553b,_0xa2abf9));case _0x3b0741['xUFLx']:return _0x271cbd(0xd7)+formatCommandTarget(extractFirstCommandArgument(_0x25553b,_0xa2abf9));case _0x3b0741[_0x271cbd(0xbb)]:return _0x271cbd(0x11d)+formatCommandTarget(extractFirstCommandArgument(_0x25553b,_0xa2abf9));case _0x3b0741[_0x271cbd(0xf8)]:return _0x271cbd(0xfd)+_0x3b0741[_0x271cbd(0xcc)](formatCommandTarget,extractFirstCommandArgument(_0x25553b,_0xa2abf9));case _0x3b0741['FSesD']:return _0x271cbd(0x112);case _0x3b0741[_0x271cbd(0xbe)]:{const _0xe99780=extractFirstCommandArgument(_0x25553b,_0xa2abf9);return _0xe99780?'open\x20new\x20tab\x20'+_0xe99780:'open\x20new\x20tab';}case _0x3b0741['oxUzL']:{const _0x24d99b=extractFirstCommandArgument(_0x25553b,_0xa2abf9);return _0x24d99b?_0x271cbd(0x10f)+_0x24d99b:_0x3b0741[_0x271cbd(0x90)];}default:return _0xa2abf9;}}function extractPlaywrightCliToolDescription(_0x4cc582){const _0x169a86=_0x982c,_0x30d1e1=_0x4cc582['description'];if(typeof _0x30d1e1!==_0x169a86(0x101))return null;const _0x8bbaa4=_0x30d1e1[_0x169a86(0xdd)]()['replace'](/\s+/g,'\x20');return _0x8bbaa4['length']>0x0?_0x8bbaa4:null;}export function formatPlaywrightCliConsoleLogMessage(_0x22ee46,_0x343eff,_0x4876de){const _0x47ea7f=_0x982c,_0x28df74={'LTUbd':function(_0x2c0684,_0x11d9df,_0x53c101){return _0x2c0684(_0x11d9df,_0x53c101);},'FYkUc':function(_0x55f68a,_0x40e8a2){return _0x55f68a(_0x40e8a2);}},_0x5218fd=_0x28df74[_0x47ea7f(0xa6)](formatPlaywrightCliLog,_0x343eff,_0x4876de),_0x16025c=_0x28df74['FYkUc'](extractPlaywrightCliToolDescription,_0x22ee46);if(!_0x16025c)return _0x47ea7f(0xdc)+_0x5218fd;if(process[_0x47ea7f(0xb6)][_0x47ea7f(0x119)])return'[ranger-verification-agent]\x20'+_0x16025c+'\x20('+_0x5218fd+')';return _0x47ea7f(0x117)+_0x16025c;}export function buildVerifyFeatureCliDebugPrompt(_0x1313bf,_0x39b2d5){const _0x347b44=_0x982c,_0x236edd={'AFzJT':_0x347b44(0xfb),'FLlxS':function(_0x1b139d,_0x3af56e,_0x2dccc1){return _0x1b139d(_0x3af56e,_0x2dccc1);},'UpUQu':_0x347b44(0xe3),'wDNNJ':_0x347b44(0xeb),'WfMGo':function(_0x14dc97,_0x149176){return _0x14dc97(_0x149176);},'SdmLX':function(_0x50dbd9,_0x11a1ab){return _0x50dbd9(_0x11a1ab);},'TbeuA':function(_0x3958ce,_0xe1d212){return _0x3958ce(_0xe1d212);}},_0x4eb204=buildCliArtifactPath(_0x39b2d5,'00_mozilla-homepage.yml'),_0x338ebf=buildCliArtifactPath(_0x39b2d5,_0x236edd[_0x347b44(0xda)]),_0x2b6697=_0x236edd[_0x347b44(0x113)](buildCliArtifactPath,_0x39b2d5,_0x236edd[_0x347b44(0x116)]),_0xe5417f=buildCliArtifactPath(_0x39b2d5,_0x236edd['wDNNJ']),_0x255a38=quoteShellArg(_0x4eb204),_0x5956a8=_0x236edd[_0x347b44(0xb9)](quoteShellArg,_0x338ebf),_0x4da8cd=_0x236edd[_0x347b44(0xc6)](quoteShellArg,_0x2b6697),_0x25e614=_0x236edd['TbeuA'](quoteShellArg,_0xe5417f);return'You\x20are\x20testing\x20browser\x20automation.\x20Your\x20task\x20is\x20simple:\x0a\x0aUse\x20Bash\x20and\x20Playwright\x20CLI\x20only.\x20The\x20browser\x20command\x20prefix\x20is:\x0a'+_0x1313bf+_0x347b44(0x106)+_0x1313bf+'\x20open\x20https://www.mozilla.org`\x0a2.\x20Run\x20`'+_0x1313bf+_0x347b44(0x9f)+_0x1313bf+'\x20video-start`\x0a4.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`'+_0x39b2d5+_0x347b44(0xe0)+_0x1313bf+'\x20snapshot\x20--filename\x20'+_0x255a38+_0x347b44(0xe5)+_0x1313bf+_0x347b44(0xc0)+_0x5956a8+_0x347b44(0xae)+_0x1313bf+_0x347b44(0x98)+_0x4da8cd+'`\x0a9.\x20Run\x20`'+_0x1313bf+_0x347b44(0xc0)+_0x25e614+_0x347b44(0xef);}export function buildVerifyFeatureCliPrompt(_0x2c5f3f){const _0x3037e0=_0x982c,_0x2a6b7e={'nACJL':_0x3037e0(0x8d),'fSlVY':_0x3037e0(0xe8),'jBpOg':'02_state.yml','mltDV':function(_0x252a64,_0x58d380,_0x4ea6d5){return _0x252a64(_0x58d380,_0x4ea6d5);},'uAWVg':_0x3037e0(0xca),'NJmMp':function(_0x116901,_0x2f7681){return _0x116901(_0x2f7681);},'DBPbX':function(_0x476b8d,_0x51c445){return _0x476b8d>_0x51c445;}},{checklistItem:_0x210919,itemFeedback:_0xb7c53f,taskDescription:_0x4c3d0c,cliCommandPrefix:_0x3a0914,cliArtifactDir:_0x486dc4,isCdpMode:_0x5cdebc,url:_0x3c05b1,cdpEndpoint:_0x1cd339,loginInstructions:_0xda5b65}=_0x2c5f3f,_0x3990cd=buildCliArtifactPath(_0x486dc4,_0x2a6b7e['fSlVY']),_0x43c29c=buildCliArtifactPath(_0x486dc4,_0x2a6b7e['jBpOg']),_0x59cbf1=_0x2a6b7e[_0x3037e0(0xac)](buildCliArtifactPath,_0x486dc4,_0x3037e0(0xf2)),_0x2bf84c=buildCliArtifactPath(_0x486dc4,_0x2a6b7e['uAWVg']),_0x156f02=quoteShellArg(_0x3990cd),_0x23282a=_0x2a6b7e['NJmMp'](quoteShellArg,_0x43c29c),_0xd45ad4=quoteShellArg(_0x59cbf1),_0x2d3dbf=quoteShellArg(_0x2bf84c),_0x36dafe=_0x210919[_0x3037e0(0x91)]?'\x0a\x0a##\x20Additional\x20Notes\x0a'+_0x210919['notes']:'';let _0x3604c4='';if(_0xb7c53f&&_0x2a6b7e[_0x3037e0(0xd4)](_0xb7c53f['unaddressedComments'][_0x3037e0(0xcb)],0x0)){const _0x49e0ce=_0xb7c53f[_0x3037e0(0xaf)][_0x3037e0(0xea)](_0x4ed144=>{const _0x538d4b=_0x3037e0,_0x10688e=new Date(_0x4ed144[_0x538d4b(0x122)])[_0x538d4b(0xc7)]('en-US',{'month':_0x2a6b7e['nACJL'],'day':_0x538d4b(0x109)}),_0x5cfaf3=_0x4ed144['authorName']||_0x4ed144[_0x538d4b(0xee)]||_0x538d4b(0xf7),_0x1c8df0=_0x4ed144[_0x538d4b(0xb3)]?_0x538d4b(0xd3)+(_0x4ed144[_0x538d4b(0xb3)][_0x538d4b(0x124)][_0x538d4b(0x11e)](_0x538d4b(0xa3))[_0x538d4b(0xfc)]()?.[_0x538d4b(0x11e)](':')[0x0]||'element')+'>\x20\x22'+(_0x4ed144['domRef']['textContent']||'')[_0x538d4b(0xb8)](0x0,0x32)+'\x22)':'';return _0x538d4b(0xa7)+_0x4ed144['id']+_0x538d4b(0x118)+_0x5cfaf3+_0x538d4b(0xdb)+_0x10688e+'):\x20\x22'+_0x4ed144[_0x538d4b(0x11a)]+'\x22'+_0x1c8df0;})[_0x3037e0(0xc1)]('\x0a');_0x3604c4=_0x3037e0(0x120)+_0x49e0ce;}const _0x1c1dd2=_0xb7c53f?.['canonicalFlow']?_0x3037e0(0xa0)+_0xb7c53f['canonicalFlow']:'',_0x453b68=_0x5cdebc?_0x3037e0(0xc3)+_0x1cd339+_0x3037e0(0x100):_0x3037e0(0xf5)+_0x3c05b1+_0x3037e0(0x111),_0x2dad57=_0x3c05b1?quoteShellArg(_0x3c05b1):'',_0x3bf863=_0x5cdebc?_0x3037e0(0x92)+_0x3a0914+'\x20open`,\x20then\x20`'+_0x3a0914+'\x20tracing-start`,\x20then\x20`'+_0x3a0914+_0x3037e0(0x8f)+_0x486dc4+_0x3037e0(0xad)+_0x3a0914+'\x20snapshot\x20--filename\x20'+_0x156f02+_0x3037e0(0x96)+_0x3a0914+'\x20screenshot\x20--filename\x20'+_0x2d3dbf+_0x3037e0(0xde)+_0x3a0914+_0x3037e0(0xec):'##\x20Instructions\x0a1.\x20Use\x20Bash\x20plus\x20Playwright\x20CLI\x20only.\x20Do\x20NOT\x20call\x20MCP\x20browser\x20tools.\x0a2.\x20Start\x20by\x20running\x20`'+_0x3a0914+_0x3037e0(0xd8)+_0x2dad57+_0x3037e0(0xa2)+_0x3a0914+_0x3037e0(0x125)+_0x3a0914+_0x3037e0(0x8f)+_0x486dc4+'`\x20using\x20absolute\x20paths\x20only.\x20Do\x20not\x20use\x20relative\x20filenames.\x0a4.\x20Take\x20a\x20snapshot\x20with\x20`'+_0x3a0914+_0x3037e0(0x98)+_0x156f02+'`\x20and\x20read\x20the\x20snapshot\x20file\x20to\x20inspect\x20the\x20page.\x0a5.\x20**IMMEDIATELY\x20check\x20for\x20blocking\x20HTTP\x20errors\x20before\x20proceeding.**\x0a6.\x20Execute\x20the\x20task\x20step-by-step\x20with\x20Playwright\x20CLI\x20commands.\x0a7.\x20Use\x20`'+_0x3a0914+_0x3037e0(0xc0)+_0x2d3dbf+'`\x20style\x20absolute\x20paths\x20at\x20key\x20moments.\x0a8.\x20If\x20you\x20need\x20waits\x20or\x20custom\x20assertions,\x20use\x20`'+_0x3a0914+'\x20run-code\x20\x22<playwright\x20code>\x22`.\x0a9.\x20Do\x20not\x20run\x20`close`,\x20`tracing-stop`,\x20or\x20`video-stop`;\x20the\x20host\x20finalizes\x20the\x20session\x20and\x20artifacts.\x0a10.\x20After\x20completing\x20the\x20verification,\x20evaluate\x20whether\x20the\x20result\x20adequately\x20verifies\x20the\x20scenario',_0x5d187b=_0x5cdebc?_0x3037e0(0xba):_0x3037e0(0xb4),_0x124cba=_0xda5b65?_0x3037e0(0x104)+_0xda5b65+_0x3037e0(0xab):'';return'You\x20are\x20a\x20Feature\x20Review\x20Verifier.\x20Your\x20job\x20is\x20to\x20verify\x20a\x20scenario\x20by\x20executing\x20a\x20UI\x20flow\x20and\x20evaluating\x20whether\x20it\x20adequately\x20completes\x20the\x20scenario.\x0a\x0a##\x20Scenario\x20to\x20Verify\x0a'+_0x210919['description']+_0x36dafe+_0x3604c4+_0x1c1dd2+_0x3037e0(0xdf)+_0x4c3d0c+'\x0a\x0a'+_0x453b68+_0x124cba+'\x0a\x0a'+_0x3bf863+'\x0a\x0a##\x20Browser\x20Command\x20Reference\x0aUse\x20Bash\x20to\x20run\x20Playwright\x20CLI\x20commands\x20with\x20this\x20exact\x20prefix:\x0a`'+_0x3a0914+'`\x0a\x0a-\x20Write\x20all\x20artifacts\x20under\x20`'+_0x486dc4+'`\x0a-\x20`snapshot\x20--filename\x20'+_0x23282a+'`\x20writes\x20a\x20YAML\x20snapshot\x20you\x20can\x20read\x20for\x20element\x20refs\x0a-\x20`click\x20<ref>`,\x20`fill\x20<ref>\x20\x22text\x22`,\x20`check\x20<ref>`,\x20`press\x20Enter`\x0a-\x20`tab-list`,\x20`tab-select\x20<index>`,\x20`tab-new\x20<url>`\x0a-\x20`screenshot\x20--filename\x20'+_0xd45ad4+_0x3037e0(0xb7)+_0x486dc4+_0x3037e0(0xb1)+_0x2bf84c+'\x22,\x20\x22'+buildCliArtifactPath(_0x486dc4,'02_button-clicked.png')+'\x22,\x20\x22'+_0x2a6b7e['mltDV'](buildCliArtifactPath,_0x486dc4,'03_result-visible.png')+_0x3037e0(0x97)+buildCliArtifactPath(_0x486dc4,'key_04_success-state.png')+'\x22\x0a-\x20The\x20\x22key_\x22\x20prefix\x20marks\x20screenshots\x20as\x20high-priority\x20evidence\x20for\x20human\x20reviewers\x0a\x0a**Aim\x20for\x203-6\x20screenshots\x20per\x20verification**\x20to\x20document\x20the\x20complete\x20flow.\x20Mark\x201-2\x20of\x20the\x20most\x20important\x20ones\x20with\x20the\x20\x22key_\x22\x20prefix.\x0a'+_0x5d187b+_0x3037e0(0x8c);}export function summarizeVerifyFeatureCliCommandAvailability(_0x209b3b){const _0x5f11a2=_0x982c,_0xb5516e={'FswFO':function(_0x2e7add,_0x1a6e4f){return _0x2e7add===_0x1a6e4f;}},_0x3782fc=[..._0x209b3b['keys']()]['sort']();let _0x2fb8d3=0x0;for(const _0x556705 of _0x209b3b[_0x5f11a2(0xb0)]()){_0x2fb8d3+=_0x556705;}return{'cliCommandCount':_0x2fb8d3,'cliCommandsSeen':_0x3782fc,'noCliCommandsCalled':_0xb5516e['FswFO'](_0x2fb8d3,0x0)};}export function createVerifyFeatureCliHooks(_0xed1c33){const _0x3d51ed=_0x982c,_0xa0e360={'xYoMw':function(_0x38b88b,_0x2bfb71){return _0x38b88b(_0x2bfb71);},'rkSzP':function(_0x10e3d1,_0x28bf8c){return _0x10e3d1+_0x28bf8c;},'nJcUT':'playwright-cli','FufkE':_0x3d51ed(0x10d),'OIXUC':function(_0x3b4660,_0x50f166,_0x3657bd,_0x36fc45){return _0x3b4660(_0x50f166,_0x3657bd,_0x36fc45);},'BSJZU':function(_0x18c107,_0x17a6a5){return _0x18c107!==_0x17a6a5;},'OOpGN':_0x3d51ed(0xd5),'tBrwg':_0x3d51ed(0x9e)},_0x441281=new Map(),_0x8e521b=async _0x4d6fdc=>{const _0x2e2575=_0x3d51ed;if(_0x4d6fdc['hook_event_name']!==_0x2e2575(0x115))return{};const _0x27f712=_0x4d6fdc;if(_0x27f712[_0x2e2575(0xce)]!==_0x2e2575(0xd5))return{};const _0xb48849=_0x27f712[_0x2e2575(0xc8)],_0x1c1001=extractBashCommand(_0xb48849);if(!_0x1c1001)return{};const _0x6e71d8=_0xa0e360['xYoMw'](parsePlaywrightCliCommand,_0x1c1001);if(!_0x6e71d8)return{};return _0x441281['set'](_0x6e71d8,_0xa0e360[_0x2e2575(0x93)](_0x441281['get'](_0x6e71d8)||0x0,0x1)),_0xed1c33['trackPhaseStart'](_0x2e2575(0xf0),{'transport':_0xa0e360[_0x2e2575(0x8a)],'toolName':_0x6e71d8}),_0xed1c33['trackPhaseEnd']('tool_call',{'transport':'playwright-cli','toolName':_0x6e71d8,'bashCommandPreview':truncatePreview(_0x1c1001)}),_0x6e71d8!==_0xa0e360['FufkE']&&console[_0x2e2575(0xd1)](_0xa0e360['OIXUC'](formatPlaywrightCliConsoleLogMessage,_0xb48849,_0x1c1001,_0x6e71d8)),{};},_0x730f62=async _0x358c11=>{const _0x30cf16=_0x3d51ed;if(_0xa0e360[_0x30cf16(0xb5)](_0x358c11['hook_event_name'],'PostToolUseFailure'))return{};const _0x518aa9=_0x358c11;if(_0x518aa9['tool_name']!==_0xa0e360[_0x30cf16(0xf6)])return{};return await _0xed1c33['trackPhaseError'](_0xa0e360[_0x30cf16(0x121)],_0x518aa9['error'],{'transport':_0x30cf16(0xa5),'toolName':_0x30cf16(0xd5)}),{};};return{'postToolUseHook':_0x8e521b,'postToolUseFailureHook':_0x730f62,'commandCounts':_0x441281};}async function runPlaywrightCliLifecycleCommand(_0x11a414){const _0x262c39=_0x982c,_0x387d6f={'zDDBF':function(_0x30363a,_0x56e890){return _0x30363a??_0x56e890;}},{sessionId:_0x2f65f8,configPath:_0xc07fb2,commandArgs:_0x5bfa78,env:_0x3638bd,telemetry:_0x119bfe,phase:_0x4de3e7,metadata:_0x52c3e3,timeoutMs:_0x5702a8}=_0x11a414;_0x119bfe['trackPhaseStart'](_0x4de3e7,_0x52c3e3);try{const _0x11f024=await runPlaywrightCliCommand({'sessionId':_0x2f65f8,'configPath':_0xc07fb2,'commandArgs':_0x5bfa78,'cwd':process[_0x262c39(0xa4)](),'env':_0x3638bd,'timeoutMs':_0x387d6f['zDDBF'](_0x5702a8,PLAYWRIGHT_CLI_COMMAND_TIMEOUT_MS)});_0x119bfe[_0x262c39(0x110)](_0x4de3e7,{..._0x52c3e3,'subcommand':_0x11f024[_0x262c39(0x107)]['subcommand'],'stdoutPreview':truncatePreview(_0x11f024['stdout'],0x7d0),'stderrPreview':truncatePreview(_0x11f024[_0x262c39(0x9c)],0x7d0)});}catch(_0x31573b){await _0x119bfe['trackPhaseError'](_0x4de3e7,_0x31573b,_0x52c3e3);throw _0x31573b;}}export async function finalizeVerifyFeatureCliSession(_0x342928){const _0x124e3e=_0x982c,_0x309e33={'frEOx':_0x124e3e(0x94),'RGjJH':_0x124e3e(0xa8),'jPkfE':_0x124e3e(0x8e),'IOesu':'session-recording.webm','AgYsg':_0x124e3e(0x10b),'zXWBa':'close'},{telemetry:_0x5eea9e,sessionId:_0xbc3da5,configPath:_0x17bfdf,cliArtifactDir:_0x42f5c4,env:_0x4f96cc,transportMetadata:_0x425aa6}=_0x342928,_0xf0bd8a=[{'phase':_0x124e3e(0xe6),'commandArgs':[_0x309e33[_0x124e3e(0xd2)]]},{'phase':_0x309e33[_0x124e3e(0x8b)],'commandArgs':[_0x309e33['jPkfE'],_0x124e3e(0x114)+buildCliArtifactPath(_0x42f5c4,_0x309e33['IOesu'])]},{'phase':_0x309e33[_0x124e3e(0xe9)],'commandArgs':[_0x309e33['zXWBa']]}];for(const _0x544f4b of _0xf0bd8a){try{await runPlaywrightCliLifecycleCommand({'sessionId':_0xbc3da5,'configPath':_0x17bfdf,'commandArgs':[..._0x544f4b['commandArgs']],'env':_0x4f96cc,'telemetry':_0x5eea9e,'phase':_0x544f4b[_0x124e3e(0xed)],'metadata':_0x425aa6});}catch{}}}export async function loadVerifyFeatureCliTraceUploadArtifact(_0x26d21d){const _0xfecef2=_0x982c,_0x51dde6={'FHcYo':_0xfecef2(0xbc),'qfWHi':_0xfecef2(0x99)},_0x4b437a=[_0x51dde6[_0xfecef2(0x127)],_0x51dde6[_0xfecef2(0xa9)]];for(const _0x956035 of _0x4b437a){const _0x47c63e=join(_0x26d21d,_0x956035);try{return{'buffer':await readFile(_0x47c63e),'source':_0x47c63e};}catch{}}return null;}export async function rehomeVerifyFeatureCliArtifacts(_0x2a4aa1){const _0x3ae6ea=_0x982c,_0x1beced={'brZMY':function(_0xdef8a6,_0x11222d,_0x4a6e94){return _0xdef8a6(_0x11222d,_0x4a6e94);},'AljAQ':function(_0x3f32d0,_0x134654,_0x3b6a3c){return _0x3f32d0(_0x134654,_0x3b6a3c);},'bKuFj':function(_0x1ceb1c,_0x288894){return _0x1ceb1c===_0x288894;}},{cwd:_0x33d189,cliArtifactDir:_0x37d147,startTime:_0x2badec}=_0x2a4aa1,_0x162355=[];await _0x1beced[_0x3ae6ea(0xb2)](mkdir,_0x37d147,{'recursive':!![]});const _0x5e77e7=await readdir(_0x33d189,{'withFileTypes':!![]});for(const _0x2d843e of _0x5e77e7){if(!_0x2d843e[_0x3ae6ea(0x105)]()||!VERIFY_FEATURE_CLI_ARTIFACT_FILE_PATTERN[_0x3ae6ea(0x9b)](_0x2d843e[_0x3ae6ea(0xd9)]))continue;const _0x110915=join(_0x33d189,_0x2d843e[_0x3ae6ea(0xd9)]),_0x2eb58c=await stat(_0x110915);if(_0x2eb58c['mtimeMs']+0x7d0<_0x2badec)continue;const _0x569040=_0x1beced[_0x3ae6ea(0xf9)](buildCliArtifactPath,_0x37d147,_0x2d843e[_0x3ae6ea(0xd9)]);if(_0x1beced[_0x3ae6ea(0xc9)](_0x110915,_0x569040))continue;await _0x1beced['brZMY'](rename,_0x110915,_0x569040),_0x162355['push'](_0x2d843e['name']);}return _0x162355[_0x3ae6ea(0xf1)]();}
1
+ (function(_0x937ffc,_0xaab4f4){const _0x1530cd=_0x4ba3,_0x3b2f97=_0x937ffc();while(!![]){try{const _0x3907ee=parseInt(_0x1530cd(0x160))/0x1+parseInt(_0x1530cd(0x17d))/0x2*(parseInt(_0x1530cd(0x18c))/0x3)+-parseInt(_0x1530cd(0x192))/0x4+-parseInt(_0x1530cd(0x194))/0x5*(parseInt(_0x1530cd(0x1c4))/0x6)+-parseInt(_0x1530cd(0x19c))/0x7+-parseInt(_0x1530cd(0x183))/0x8*(parseInt(_0x1530cd(0x190))/0x9)+-parseInt(_0x1530cd(0x1c8))/0xa*(-parseInt(_0x1530cd(0x171))/0xb);if(_0x3907ee===_0xaab4f4)break;else _0x3b2f97['push'](_0x3b2f97['shift']());}catch(_0x5485d1){_0x3b2f97['push'](_0x3b2f97['shift']());}}}(_0x22d0,0xa94b6));import{mkdir,readFile,readdir,rename,stat}from'fs/promises';import{basename,join}from'path';import{extractBashCommand,parsePlaywrightCliCommand,quoteShellArg,runPlaywrightCliCommand}from'./utils/playwrightCli.js';const PLAYWRIGHT_CLI_COMMAND_TIMEOUT_MS=0xea60,PLAYWRIGHT_CLI_PREVIEW_LIMIT=0xf0,VERIFY_FEATURE_CLI_ARTIFACT_FILE_PATTERN=/^(?:\d{2}_.+\.(?:png|ya?ml)|key_.+\.png|session-recording(?:-\d+)?\.webm|trace(?:\.trace)?(?:-\d+)?\.zip|current_snap\.ya?ml)$/i;function truncatePreview(_0xc7f5ac,_0x4309fa=PLAYWRIGHT_CLI_PREVIEW_LIMIT){const _0x36db44=_0x4ba3,_0x47089d={'Svaoe':function(_0x1323d4,_0x55e8c5){return _0x1323d4>_0x55e8c5;}};return _0x47089d[_0x36db44(0x1cc)](_0xc7f5ac['length'],_0x4309fa)?_0xc7f5ac[_0x36db44(0x195)](0x0,_0x4309fa)+_0x36db44(0x186):_0xc7f5ac;}function buildCliArtifactPath(_0xc4ba68,_0x23d15c){return join(_0xc4ba68,_0x23d15c);}function _0x22d0(){const _0x128a01=['jmQuE','`,\x20then\x20`','tab-new','open\x20new\x20tab','playwright_cli_video_stop',']\x20**','select\x20tab\x20','\x22,\x20\x22','select\x20tab','anxgt','NXqqG','312751IuVgIy','eZBQS','push','Bash','lJSIt','twEuU','\x20tracing-start`\x0a3.\x20Run\x20`','tool_failure','CQcww','capture\x20snapshot\x20`','`\x20style\x20absolute\x20paths\x20at\x20key\x20moments.\x0a8.\x20If\x20you\x20need\x20waits\x20or\x20custom\x20assertions,\x20use\x20`','\x0a\x0a1.\x20Run\x20`','error','\x20run-code\x20\x22<playwright\x20code>\x22`.\x0a7.\x20Do\x20not\x20run\x20`close`,\x20`tracing-stop`,\x20or\x20`video-stop`;\x20the\x20host\x20finalizes\x20the\x20session\x20and\x20artifacts.\x0a8.\x20After\x20completing\x20the\x20verification,\x20evaluate\x20whether\x20the\x20result\x20adequately\x20verifies\x20the\x20scenario','check','FMlqe','.\x0aThis\x20is\x20NOT\x20a\x20web\x20app\x20—\x20there\x20is\x20no\x20URL\x20to\x20navigate\x20to.\x20The\x20app\x20is\x20already\x20running\x20and\x20connected.','85206BdLoEE','tool_call','wCvoa','\x0a\x0a##\x20Reviewer\x20Feedback\x20to\x20Address\x0aThe\x20following\x20reviewer\x20comments\x20were\x20left\x20on\x20the\x20previous\x20version\x20of\x20this\x20item.\x0aVerify\x20that\x20each\x20concern\x20has\x20been\x20addressed\x20in\x20the\x20current\x20implementation.\x0aFor\x20each\x20comment\x20you\x20believe\x20has\x20been\x20addressed,\x20include\x20its\x20ID\x20(the\x20bracketed\x20value)\x20in\x20the\x20addressedCommentIds\x20array\x20in\x20your\x20output.\x0a\x0a','bSwFB','match','QQkZR','WAsTx','\x5c$&','replace','##\x20Instructions\x0a1.\x20Use\x20Bash\x20plus\x20Playwright\x20CLI\x20only.\x20Do\x20NOT\x20call\x20MCP\x20browser\x20tools.\x0a2.\x20Start\x20by\x20running\x20`','zxQIA','42296osadAW','tool_name','env','tjOuT','CHqzr','canonicalFlow','1016KqSvRm','video-start','BZRnd','...','stop\x20video\x20recording','BxmlV','textContent','\x0a\x0a##\x20Task\x20to\x20Execute\x0a','trackPhaseStart','93tCjQrz','name','WQeGB','authorEmail','16938UzDDwr','hook_event_name','2979988vlMoKo','\x20(on\x20element:\x20<','113335Adrvss','slice','VMGaG','\x0a\x0a##\x20Expected\x20Flow\x20(from\x20previous\x20verification)\x0a','sort','\x20video-start`.\x0a3.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`','pop','`\x0a-\x20`run-code\x20\x22await\x20page.waitForTimeout(1000)\x22`\x20for\x20waits\x20or\x20small\x20custom\x20checks\x0a\x0a##\x20Screenshot\x20Guidelines\x20-\x20IMPORTANT\x0aTake\x20screenshots\x20throughout\x20the\x20verification\x20flow\x20so\x20a\x20human\x20can\x20review\x20it\x20for\x20completeness.\x20Screenshots\x20are\x20your\x20evidence\x20trail.\x0a\x0a**When\x20to\x20take\x20screenshots\x20(use\x20Playwright\x20CLI\x20screenshot):**\x0a-\x20After\x20the\x20initial\x20snapshot\x20(capture\x20starting\x20state)\x0a-\x20Before\x20and\x20after\x20clicking\x20buttons\x20or\x20submitting\x20forms\x0a-\x20When\x20important\x20UI\x20elements\x20appear\x20(modals,\x20notifications,\x20loading\x20states)\x0a-\x20After\x20navigating\x20to\x20different\x20views\x20or\x20pages\x0a-\x20When\x20verifying\x20specific\x20elements\x20exist\x0a-\x20At\x20the\x20final\x20state\x20showing\x20the\x20completed\x20action\x0a\x0a**Screenshot\x20naming:**\x0a-\x20Use\x20descriptive\x20filenames\x20under\x20`','1618344aKCFxZ','log','dWqsV','efMco','VgrAr','stdout','tracing-start','QIrSW','open\x20browser','split','\x22\x0a-\x20The\x20\x22key_\x22\x20prefix\x20marks\x20screenshots\x20as\x20high-priority\x20evidence\x20for\x20human\x20reviewers\x0a\x0a**Aim\x20for\x203-6\x20screenshots\x20per\x20verification**\x20to\x20document\x20the\x20complete\x20flow.\x20Mark\x201-2\x20of\x20the\x20most\x20important\x20ones\x20with\x20the\x20\x22key_\x22\x20prefix.\x0a','key_03_success-state.png','Reviewer','gsHQO','KTRPS','zIWdy','tracing-stop','CRITICAL\x20URL\x20REQUIREMENT:\x0aYour\x20base\x20URL\x20is:\x20','open','short','\x0a\x0a##\x20Critical:\x20Early\x20Error\x20Detection\x0aAfter\x20taking\x20the\x20initial\x20snapshot,\x20IMMEDIATELY\x20check\x20for\x20blocking\x20errors:\x0a\x0a**Blocking\x20errors\x20to\x20detect:**\x0a-\x20Crash\x20or\x20error\x20dialogs\x20(\x22An\x20error\x20occurred\x22,\x20\x22Something\x20went\x20wrong\x22,\x20unhandled\x20exception\x20messages)\x0a-\x20Blank\x20or\x20empty\x20window\x20with\x20no\x20rendered\x20content\x0a-\x20Framework\x20error\x20boundaries\x20(React\x20error\x20page,\x20Electron\x20crash\x20reporter)\x0a-\x20Unresponsive\x20or\x20frozen\x20UI\x20(no\x20interactive\x20elements\x20in\x20snapshot)\x0a\x0a**If\x20ANY\x20blocking\x20error\x20is\x20detected:**\x0a1.\x20DO\x20NOT\x20continue\x20with\x20the\x20task\x0a2.\x20Return\x20IMMEDIATELY\x20with\x20evaluation:\x20\x22blocked\x22\x0a3.\x20Set\x20evaluationReason\x20to\x20describe\x20the\x20specific\x20error\x20(e.g.,\x20\x22App\x20crashed\x20—\x20error\x20dialog\x20visible\x20on\x20launch\x22)\x0a4.\x20Include\x20the\x20error\x20in\x20issues\x20array\x20with\x20severity:\x20\x22BLOCKER\x22\x20and\x20type:\x20\x22APP_ERROR\x22\x0a\x0aThis\x20early\x20exit\x20prevents\x20wasting\x20time\x20on\x20tasks\x20that\x20cannot\x20succeed\x20due\x20to\x20fundamental\x20errors.','fill\x20','unaddressedComments','xyEBv','`\x20using\x20absolute\x20paths\x20only.\x20Do\x20not\x20use\x20relative\x20filenames.\x0a4.\x20Take\x20a\x20snapshot\x20with\x20`','trace.trace.zip','mtimeMs','numeric','\x20snapshot\x20--filename\x20','playwright-cli','TiSiK','NBIVJ','screenshot','LwasC','stderr','phase','owArR','notes','**\x20(','string','276iDXTul','`:\x20\x22','02_learn-more.yml','set','2560xjyBEe','02_button-clicked.png','map','snapshot','Svaoe','`\x20and\x20read\x20the\x20snapshot\x20file\x20to\x20inspect\x20the\x20page.\x0a5.\x20**IMMEDIATELY\x20check\x20for\x20blocking\x20HTTP\x20errors\x20before\x20proceeding.**\x0a6.\x20Execute\x20the\x20task\x20step-by-step\x20with\x20Playwright\x20CLI\x20commands.\x0a7.\x20Use\x20`','IbcHh','NMQDO','\x20tracing-start`,\x20then\x20`','cwd','PostToolUseFailure','subcommand','\x20screenshot\x20--filename\x20'];_0x22d0=function(){return _0x128a01;};return _0x22d0();}function toStepDisplayName(_0x5ce2c1){const _0x140fef=_0x4ba3,_0x4462b7=basename(_0x5ce2c1)['replace'](/\.(?:png|ya?ml)$/i,'')[_0x140fef(0x17a)](/^key_/i,'')[_0x140fef(0x17a)](/^\d+_/,'')[_0x140fef(0x17a)](/-/g,'\x20');return{'name':_0x4462b7,'isKeyStep':/^key_/i['test'](basename(_0x5ce2c1))};}function extractShellValue(_0x2f66f9){if(!_0x2f66f9)return null;return _0x2f66f9[0x1]??_0x2f66f9[0x2]??_0x2f66f9[0x3]??null;}function extractFilenameOption(_0xf9ea23){const _0x38c70c=_0x4ba3,_0x5bb96b={'wxHWL':function(_0x4171e0,_0x2753f7){return _0x4171e0(_0x2753f7);}};return _0x5bb96b['wxHWL'](extractShellValue,_0xf9ea23[_0x38c70c(0x176)](/--filename(?:=|\s+)(?:"([^"]+)"|'([^']+)'|(\S+))/));}function extractFirstCommandArgument(_0x7b9f9f,_0x5bb729){const _0x299741=_0x4ba3,_0x495c93={'YLZIi':_0x299741(0x179),'lJSIt':function(_0x1caea1,_0x3ef7eb){return _0x1caea1(_0x3ef7eb);}},_0x58b409=_0x5bb729['replace'](/[.*+?^${}()|[\]\\]/g,_0x495c93['YLZIi']);return _0x495c93[_0x299741(0x164)](extractShellValue,_0x7b9f9f['match'](new RegExp('(?:^|\x5cs)'+_0x58b409+'(?:\x5cs+(?:\x22([^\x22]+)\x22|\x27([^\x27]+)\x27|(\x5cS+)))')));}function formatCommandTarget(_0x54fe16){if(!_0x54fe16)return'target';if(/^e\d+$/i['test'](_0x54fe16))return'ref\x20'+_0x54fe16;return JSON['stringify'](truncatePreview(_0x54fe16,0x78));}function formatPlaywrightCliLog(_0x1b06eb,_0x2ab031){const _0x86ed1a=_0x4ba3,_0x387f6d={'jmQuE':_0x86ed1a(0x1ae),'YGIrn':_0x86ed1a(0x1a2),'FMlqe':_0x86ed1a(0x184),'Toyvv':'start\x20video\x20recording','JTnVc':_0x86ed1a(0x1cb),'EIJke':'capture\x20screenshot','ZwYKB':'click','HwPRt':function(_0x7071a,_0x465f54,_0x51bd38){return _0x7071a(_0x465f54,_0x51bd38);},'zxQIA':function(_0x2cbff3,_0x127dff){return _0x2cbff3(_0x127dff);},'owArR':function(_0x25ff70,_0x1b8de4,_0x56659d){return _0x25ff70(_0x1b8de4,_0x56659d);},'eZBQS':function(_0x44351b,_0x2a8a0f){return _0x44351b(_0x2a8a0f);},'dWqsV':function(_0x3de911,_0x29ed96,_0xc67c78){return _0x3de911(_0x29ed96,_0xc67c78);},'gsHQO':'run-code','jUpdm':'tab-select'};switch(_0x2ab031){case _0x387f6d[_0x86ed1a(0x155)]:{const _0x3bc115=extractFirstCommandArgument(_0x1b06eb,_0x2ab031);return _0x3bc115?'open\x20'+_0x3bc115:_0x86ed1a(0x1a4);}case _0x387f6d['YGIrn']:return'start\x20tracing';case _0x86ed1a(0x1ac):return'stop\x20tracing';case _0x387f6d[_0x86ed1a(0x16f)]:return _0x387f6d['Toyvv'];case'video-stop':return _0x86ed1a(0x187);case _0x387f6d['JTnVc']:{const _0x291d74=extractFilenameOption(_0x1b06eb);if(!_0x291d74)return'capture\x20snapshot';const {name:_0x32ff47}=toStepDisplayName(_0x291d74);return _0x86ed1a(0x169)+_0x32ff47+'`';}case _0x86ed1a(0x1bc):{const _0x31239f=extractFilenameOption(_0x1b06eb);if(!_0x31239f)return _0x387f6d['EIJke'];const {name:_0x4334ca,isKeyStep:_0x1b9d83}=toStepDisplayName(_0x31239f);return _0x1b9d83?'capture\x20key\x20step\x20`'+_0x4334ca+'`':'capture\x20step\x20`'+_0x4334ca+'`';}case _0x387f6d['ZwYKB']:return'click\x20'+formatCommandTarget(_0x387f6d['HwPRt'](extractFirstCommandArgument,_0x1b06eb,_0x2ab031));case _0x86ed1a(0x16e):return'check\x20'+_0x387f6d[_0x86ed1a(0x17c)](formatCommandTarget,_0x387f6d['owArR'](extractFirstCommandArgument,_0x1b06eb,_0x2ab031));case'fill':return _0x86ed1a(0x1b1)+formatCommandTarget(extractFirstCommandArgument(_0x1b06eb,_0x2ab031));case'press':return'press\x20'+_0x387f6d[_0x86ed1a(0x161)](formatCommandTarget,_0x387f6d[_0x86ed1a(0x19e)](extractFirstCommandArgument,_0x1b06eb,_0x2ab031));case _0x387f6d[_0x86ed1a(0x1a9)]:return'run\x20custom\x20Playwright\x20code';case _0x86ed1a(0x157):{const _0x24f946=_0x387f6d[_0x86ed1a(0x1c0)](extractFirstCommandArgument,_0x1b06eb,_0x2ab031);return _0x24f946?'open\x20new\x20tab\x20'+_0x24f946:_0x86ed1a(0x158);}case _0x387f6d['jUpdm']:{const _0x48cfbf=extractFirstCommandArgument(_0x1b06eb,_0x2ab031);return _0x48cfbf?_0x86ed1a(0x15b)+_0x48cfbf:_0x86ed1a(0x15d);}default:return _0x2ab031;}}function _0x4ba3(_0x30a51e,_0x5ab915){_0x30a51e=_0x30a51e-0x14e;const _0x22d029=_0x22d0();let _0x4ba310=_0x22d029[_0x30a51e];return _0x4ba310;}function extractPlaywrightCliToolDescription(_0x4908dd){const _0x298c94=_0x4ba3,_0x118b78={'TiSiK':function(_0x1354b6,_0x11db5e){return _0x1354b6!==_0x11db5e;},'WQeGB':_0x298c94(0x1c3)},_0x552b03=_0x4908dd['description'];if(_0x118b78[_0x298c94(0x1ba)](typeof _0x552b03,_0x118b78[_0x298c94(0x18e)]))return null;const _0x555483=_0x552b03['trim']()[_0x298c94(0x17a)](/\s+/g,'\x20');return _0x555483['length']>0x0?_0x555483:null;}export function formatPlaywrightCliConsoleLogMessage(_0x2d1b90,_0x51b3c7,_0x459e96){const _0x33e58e=_0x4ba3,_0x37c172={'UnXNB':function(_0x21936c,_0x19e2c1,_0x4819f4){return _0x21936c(_0x19e2c1,_0x4819f4);}},_0x3ac356=_0x37c172['UnXNB'](formatPlaywrightCliLog,_0x51b3c7,_0x459e96),_0x4411d0=extractPlaywrightCliToolDescription(_0x2d1b90);if(!_0x4411d0)return'[playwright-cli]\x20'+_0x3ac356;if(process[_0x33e58e(0x17f)]['DEBUG'])return'[ranger-verification-agent]\x20'+_0x4411d0+'\x20('+_0x3ac356+')';return'[ranger-verification-agent]\x20'+_0x4411d0;}export function buildVerifyFeatureCliDebugPrompt(_0x11537c,_0x1184e5){const _0x57b2c2=_0x4ba3,_0x3aa1f8={'efMco':function(_0x3fb0f7,_0x164905,_0x560354){return _0x3fb0f7(_0x164905,_0x560354);},'NMQDO':'01_mozilla-homepage.png','qKvUE':_0x57b2c2(0x1c6),'NXqqG':'03_learn-more.png','aYJvW':function(_0x36c67d,_0x427b7b){return _0x36c67d(_0x427b7b);}},_0x1e78a6=_0x3aa1f8[_0x57b2c2(0x19f)](buildCliArtifactPath,_0x1184e5,'00_mozilla-homepage.yml'),_0x40c33a=_0x3aa1f8[_0x57b2c2(0x19f)](buildCliArtifactPath,_0x1184e5,_0x3aa1f8[_0x57b2c2(0x14f)]),_0x5c9241=buildCliArtifactPath(_0x1184e5,_0x3aa1f8['qKvUE']),_0x36b21d=buildCliArtifactPath(_0x1184e5,_0x3aa1f8[_0x57b2c2(0x15f)]),_0x532844=quoteShellArg(_0x1e78a6),_0x4f7a4f=quoteShellArg(_0x40c33a),_0x56bf1c=quoteShellArg(_0x5c9241),_0x59de24=_0x3aa1f8['aYJvW'](quoteShellArg,_0x36b21d);return'You\x20are\x20testing\x20browser\x20automation.\x20Your\x20task\x20is\x20simple:\x0a\x0aUse\x20Bash\x20and\x20Playwright\x20CLI\x20only.\x20The\x20browser\x20command\x20prefix\x20is:\x0a'+_0x11537c+_0x57b2c2(0x16b)+_0x11537c+'\x20open\x20https://www.mozilla.org`\x0a2.\x20Run\x20`'+_0x11537c+_0x57b2c2(0x166)+_0x11537c+'\x20video-start`\x0a4.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`'+_0x1184e5+'`\x20using\x20absolute\x20paths\x20only.\x20Do\x20not\x20use\x20relative\x20filenames.\x0a5.\x20Run\x20`'+_0x11537c+'\x20snapshot\x20--filename\x20'+_0x532844+'`\x0a5.\x20Read\x20the\x20snapshot\x20file\x20to\x20find\x20the\x20\x22Learn\x20More\x22\x20link\x20reference\x0a6.\x20Run\x20`'+_0x11537c+_0x57b2c2(0x154)+_0x4f7a4f+'`\x0a7.\x20Click\x20the\x20\x22Learn\x20More\x22\x20link\x20with\x20Playwright\x20CLI\x0a8.\x20Run\x20`'+_0x11537c+'\x20snapshot\x20--filename\x20'+_0x56bf1c+'`\x0a9.\x20Run\x20`'+_0x11537c+_0x57b2c2(0x154)+_0x59de24+'`\x0a10.\x20Return\x20immediately\x20with\x20the\x20structured\x20output\x0a\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format.';}export function buildVerifyFeatureCliPrompt(_0x5457ee){const _0x3cbd38=_0x4ba3,_0x2af660={'VMGaG':'en-US','IbcHh':_0x3cbd38(0x1af),'ROmqp':_0x3cbd38(0x1b7),'NBIVJ':'\x20>\x20','BEOfA':'element','CHqzr':function(_0x39311e,_0x53a840,_0x56c15d){return _0x39311e(_0x53a840,_0x56c15d);},'EyrVa':'02_state.yml','wCvoa':function(_0x36f1d6,_0x5c5327,_0x48a974){return _0x36f1d6(_0x5c5327,_0x48a974);},'VgrAr':function(_0x3c458a,_0x3803f5){return _0x3c458a(_0x3803f5);},'xyEBv':function(_0x3e37d3,_0x55c330){return _0x3e37d3(_0x55c330);},'SiCgc':'03_result-visible.png','QIrSW':'key_04_success-state.png'},{checklistItem:_0x1059de,itemFeedback:_0x275144,taskDescription:_0x111ed9,cliCommandPrefix:_0xf6c6e3,cliArtifactDir:_0x1db481,isCdpMode:_0x100317,url:_0x166fda,cdpEndpoint:_0x659c1a,loginInstructions:_0x47232b}=_0x5457ee,_0x3db2fc=_0x2af660[_0x3cbd38(0x181)](buildCliArtifactPath,_0x1db481,'01_initial.yml'),_0x1d4c00=_0x2af660['CHqzr'](buildCliArtifactPath,_0x1db481,_0x2af660['EyrVa']),_0xf53b45=_0x2af660[_0x3cbd38(0x173)](buildCliArtifactPath,_0x1db481,_0x3cbd38(0x1a7)),_0x460f47=_0x2af660['wCvoa'](buildCliArtifactPath,_0x1db481,'01_initial-state.png'),_0x33ccac=_0x2af660[_0x3cbd38(0x1a0)](quoteShellArg,_0x3db2fc),_0x4bdea3=_0x2af660[_0x3cbd38(0x1b3)](quoteShellArg,_0x1d4c00),_0x14486a=quoteShellArg(_0xf53b45),_0x3b8288=_0x2af660[_0x3cbd38(0x1a0)](quoteShellArg,_0x460f47),_0x445331=_0x1059de[_0x3cbd38(0x1c1)]?'\x0a\x0a##\x20Additional\x20Notes\x0a'+_0x1059de[_0x3cbd38(0x1c1)]:'';let _0x21717c='';if(_0x275144&&_0x275144[_0x3cbd38(0x1b2)]['length']>0x0){const _0x4a5af0=_0x275144[_0x3cbd38(0x1b2)][_0x3cbd38(0x1ca)](_0x1de2bf=>{const _0x4fe870=_0x3cbd38,_0x3b2d81=new Date(_0x1de2bf['createdAt'])['toLocaleDateString'](_0x2af660[_0x4fe870(0x196)],{'month':_0x2af660[_0x4fe870(0x14e)],'day':_0x2af660['ROmqp']}),_0x16a3b6=_0x1de2bf['authorName']||_0x1de2bf[_0x4fe870(0x18f)]||_0x4fe870(0x1a8),_0x2fff9c=_0x1de2bf['domRef']?_0x4fe870(0x193)+(_0x1de2bf['domRef']['selector']['split'](_0x2af660[_0x4fe870(0x1bb)])[_0x4fe870(0x19a)]()?.[_0x4fe870(0x1a5)](':')[0x0]||_0x2af660['BEOfA'])+'>\x20\x22'+(_0x1de2bf['domRef'][_0x4fe870(0x189)]||'')[_0x4fe870(0x195)](0x0,0x32)+'\x22)':'';return'-\x20['+_0x1de2bf['id']+_0x4fe870(0x15a)+_0x16a3b6+_0x4fe870(0x1c2)+_0x3b2d81+'):\x20\x22'+_0x1de2bf['content']+'\x22'+_0x2fff9c;})['join']('\x0a');_0x21717c=_0x3cbd38(0x174)+_0x4a5af0;}const _0x3c3347=_0x275144?.['canonicalFlow']?_0x3cbd38(0x197)+_0x275144[_0x3cbd38(0x182)]:'',_0x364a5c=_0x100317?'##\x20App\x20Context\x0aYou\x20are\x20connected\x20to\x20a\x20desktop\x20application\x20via\x20CDP\x20(Chrome\x20DevTools\x20Protocol)\x20at\x20'+_0x659c1a+_0x3cbd38(0x170):_0x3cbd38(0x1ad)+_0x166fda+'\x0a-\x20You\x20may\x20ONLY\x20navigate\x20to\x20paths\x20under\x20this\x20base\x20URL\x20(same\x20protocol,\x20host,\x20and\x20port)\x0a-\x20For\x20example,\x20if\x20the\x20base\x20URL\x20is\x20\x22http://localhost:3000\x22,\x20you\x20can\x20navigate\x20to\x20\x22http://localhost:3000/home\x22,\x20\x22http://localhost:3000/settings\x22,\x20etc.\x0a-\x20DO\x20NOT\x20navigate\x20to\x20any\x20different\x20domain,\x20host,\x20or\x20port\x20under\x20any\x20circumstances\x0a-\x20If\x20documentation\x20or\x20code\x20diffs\x20suggest\x20a\x20path\x20exists\x20(e.g.,\x20\x22/dashboard\x22),\x20you\x20may\x20navigate\x20to\x20that\x20path\x20ONLY\x20under\x20the\x20base\x20URL\x20above\x0a-\x20The\x20base\x20URL\x20above\x20is\x20the\x20ONLY\x20authorized\x20profile\x20for\x20this\x20verification',_0x292d42=_0x166fda?quoteShellArg(_0x166fda):'',_0x475ed2=_0x100317?_0x3cbd38(0x17b)+_0xf6c6e3+'\x20open`,\x20then\x20`'+_0xf6c6e3+_0x3cbd38(0x150)+_0xf6c6e3+'\x20video-start`.\x0a3.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`'+_0x1db481+_0x3cbd38(0x1b4)+_0xf6c6e3+'\x20snapshot\x20--filename\x20'+_0x33ccac+'`\x20to\x20inspect\x20the\x20current\x20app\x20state.\x0a5.\x20Read\x20snapshot\x20YAML\x20files\x20to\x20find\x20element\x20references\x20like\x20`e12`,\x20then\x20use\x20them\x20with\x20`click`,\x20`fill`,\x20`check`,\x20or\x20`select`.\x0a6.\x20Use\x20`'+_0xf6c6e3+'\x20screenshot\x20--filename\x20'+_0x3b8288+'`\x20style\x20absolute\x20paths\x20at\x20key\x20moments.\x0a6.\x20If\x20you\x20need\x20waits\x20or\x20custom\x20assertions,\x20use\x20`'+_0xf6c6e3+_0x3cbd38(0x16d):_0x3cbd38(0x17b)+_0xf6c6e3+'\x20open\x20'+_0x292d42+_0x3cbd38(0x156)+_0xf6c6e3+'\x20tracing-start`,\x20then\x20`'+_0xf6c6e3+_0x3cbd38(0x199)+_0x1db481+'`\x20using\x20absolute\x20paths\x20only.\x20Do\x20not\x20use\x20relative\x20filenames.\x0a4.\x20Take\x20a\x20snapshot\x20with\x20`'+_0xf6c6e3+_0x3cbd38(0x1b8)+_0x33ccac+_0x3cbd38(0x1cd)+_0xf6c6e3+'\x20screenshot\x20--filename\x20'+_0x3b8288+_0x3cbd38(0x16a)+_0xf6c6e3+'\x20run-code\x20\x22<playwright\x20code>\x22`.\x0a9.\x20Do\x20not\x20run\x20`close`,\x20`tracing-stop`,\x20or\x20`video-stop`;\x20the\x20host\x20finalizes\x20the\x20session\x20and\x20artifacts.\x0a10.\x20After\x20completing\x20the\x20verification,\x20evaluate\x20whether\x20the\x20result\x20adequately\x20verifies\x20the\x20scenario',_0x1cf00d=_0x100317?_0x3cbd38(0x1b0):'\x0a\x0a##\x20Critical:\x20Early\x20Error\x20Detection\x0aAfter\x20step\x202\x20(taking\x20initial\x20snapshot),\x20IMMEDIATELY\x20check\x20for\x20blocking\x20HTTP\x20errors:\x0a\x0a**Blocking\x20errors\x20to\x20detect:**\x0a-\x20HTTP\x20404:\x20\x22404\x22,\x20\x22Not\x20Found\x22,\x20\x22Page\x20not\x20found\x22,\x20\x22does\x20not\x20exist\x22\x0a-\x20HTTP\x20500:\x20\x22500\x22,\x20\x22Internal\x20Server\x20Error\x22,\x20\x22Server\x20Error\x22,\x20\x22Something\x20went\x20wrong\x22\x0a-\x20HTTP\x20400:\x20\x22400\x22,\x20\x22Bad\x20Request\x22,\x20\x22Invalid\x20request\x22\x0a\x0a**Also\x20check\x20for:**\x0a-\x20Framework\x20error\x20pages\x20(Next.js\x20error\x20boundary,\x20React\x20error\x20page,\x20\x22Application\x20error\x22)\x0a-\x20Completely\x20blank/empty\x20pages\x20with\x20no\x20content\x0a-\x20\x22Cannot\x20GET\x20/path\x22\x20messages\x0a\x0a**If\x20ANY\x20blocking\x20error\x20is\x20detected:**\x0a1.\x20DO\x20NOT\x20continue\x20with\x20the\x20task\x0a2.\x20Return\x20IMMEDIATELY\x20with\x20evaluation:\x20\x22blocked\x22\x0a3.\x20Set\x20evaluationReason\x20to\x20describe\x20the\x20specific\x20error\x20(e.g.,\x20\x22HTTP\x20404\x20-\x20Page\x20not\x20found\x20at\x20/dashboard\x22)\x0a4.\x20Include\x20the\x20error\x20in\x20issues\x20array\x20with\x20severity:\x20\x22BLOCKER\x22\x20and\x20appropriate\x20type\x20(HTTP_404,\x20HTTP_500,\x20HTTP_400,\x20or\x20NAVIGATION_ERROR)\x0a\x0aThis\x20early\x20exit\x20prevents\x20wasting\x20time\x20on\x20tasks\x20that\x20cannot\x20succeed\x20due\x20to\x20fundamental\x20errors.',_0xab85f1=_0x47232b?'\x0a\x0a##\x20Authentication\x0aBEFORE\x20starting\x20the\x20verification\x20task,\x20you\x20MUST\x20authenticate\x20using\x20these\x20steps:\x0a'+_0x47232b+'\x0a\x0aAfter\x20completing\x20authentication,\x20proceed\x20with\x20the\x20verification\x20task\x20below.\x0aIf\x20authentication\x20fails,\x20return\x20immediately\x20with\x20evaluation\x20\x22blocked\x22\x20and\x20describe\x20the\x20auth\x20failure.':'';return'You\x20are\x20a\x20Feature\x20Review\x20Verifier.\x20Your\x20job\x20is\x20to\x20verify\x20a\x20scenario\x20by\x20executing\x20a\x20UI\x20flow\x20and\x20evaluating\x20whether\x20it\x20adequately\x20completes\x20the\x20scenario.\x0a\x0a##\x20Scenario\x20to\x20Verify\x0a'+_0x1059de['description']+_0x445331+_0x21717c+_0x3c3347+_0x3cbd38(0x18a)+_0x111ed9+'\x0a\x0a'+_0x364a5c+_0xab85f1+'\x0a\x0a'+_0x475ed2+'\x0a\x0a##\x20Browser\x20Command\x20Reference\x0aUse\x20Bash\x20to\x20run\x20Playwright\x20CLI\x20commands\x20with\x20this\x20exact\x20prefix:\x0a`'+_0xf6c6e3+'`\x0a\x0a-\x20Write\x20all\x20artifacts\x20under\x20`'+_0x1db481+'`\x0a-\x20`snapshot\x20--filename\x20'+_0x4bdea3+'`\x20writes\x20a\x20YAML\x20snapshot\x20you\x20can\x20read\x20for\x20element\x20refs\x0a-\x20`click\x20<ref>`,\x20`fill\x20<ref>\x20\x22text\x22`,\x20`check\x20<ref>`,\x20`press\x20Enter`\x0a-\x20`tab-list`,\x20`tab-select\x20<index>`,\x20`tab-new\x20<url>`\x0a-\x20`screenshot\x20--filename\x20'+_0x14486a+_0x3cbd38(0x19b)+_0x1db481+_0x3cbd38(0x1c5)+_0x460f47+'\x22,\x20\x22'+buildCliArtifactPath(_0x1db481,_0x3cbd38(0x1c9))+_0x3cbd38(0x15c)+buildCliArtifactPath(_0x1db481,_0x2af660['SiCgc'])+'\x22\x0a-\x20Number\x20prefixes\x20(01_,\x2002_,\x20etc.)\x20help\x20maintain\x20chronological\x20order\x0a-\x20For\x20KEY\x20MOMENTS\x20that\x20prove\x20the\x20scenario\x20is\x20complete,\x20prefix\x20with\x20\x22key_\x22:\x20\x22'+_0x2af660[_0x3cbd38(0x173)](buildCliArtifactPath,_0x1db481,_0x2af660[_0x3cbd38(0x1a3)])+_0x3cbd38(0x1a6)+_0x1cf00d+'\x0a##\x20Evaluation\x20Criteria\x0a-\x20VERIFIED:\x20The\x20task\x20completed\x20successfully\x20and\x20the\x20scenario\x20requirements\x20are\x20fully\x20met\x0a-\x20PARTIAL:\x20The\x20task\x20partially\x20completed\x20but\x20some\x20aspects\x20of\x20the\x20scenario\x20are\x20not\x20verified\x0a-\x20BLOCKED:\x20A\x20blocking\x20issue\x20(bug,\x20error,\x20missing\x20feature)\x20prevents\x20completion\x0a-\x20FAILED:\x20The\x20task\x20could\x20not\x20be\x20completed\x20due\x20to\x20errors\x0a\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format\x20with\x20your\x20evaluation.';}export function summarizeVerifyFeatureCliCommandAvailability(_0x2ce2ec){const _0x4d6ebd=_0x4ba3,_0x1c20b4=[..._0x2ce2ec['keys']()][_0x4d6ebd(0x198)]();let _0xe0eec7=0x0;for(const _0x530466 of _0x2ce2ec['values']()){_0xe0eec7+=_0x530466;}return{'cliCommandCount':_0xe0eec7,'cliCommandsSeen':_0x1c20b4,'noCliCommandsCalled':_0xe0eec7===0x0};}export function createVerifyFeatureCliHooks(_0x375287){const _0x3e8ba2=_0x4ba3,_0x448edb={'QQkZR':function(_0x4f9e95,_0x35cd21){return _0x4f9e95!==_0x35cd21;},'EYSKV':'PostToolUse','LwasC':function(_0x1970ba,_0x487020){return _0x1970ba(_0x487020);},'jbGEW':_0x3e8ba2(0x172),'BZRnd':_0x3e8ba2(0x1b9),'bSwFB':_0x3e8ba2(0x1cb),'leETG':_0x3e8ba2(0x152),'WAsTx':function(_0x2e81f8,_0x4c13fe){return _0x2e81f8!==_0x4c13fe;},'voeCn':_0x3e8ba2(0x167),'uubIb':'Bash'},_0x2fe791=new Map(),_0x20d8f3=async _0x32001b=>{const _0x3ef8b6=_0x3e8ba2;if(_0x448edb['QQkZR'](_0x32001b[_0x3ef8b6(0x191)],_0x448edb['EYSKV']))return{};const _0x4018b5=_0x32001b;if(_0x4018b5['tool_name']!==_0x3ef8b6(0x163))return{};const _0x3128d6=_0x4018b5['tool_input'],_0x4cf071=_0x448edb[_0x3ef8b6(0x1bd)](extractBashCommand,_0x3128d6);if(!_0x4cf071)return{};const _0x2d5c61=parsePlaywrightCliCommand(_0x4cf071);if(!_0x2d5c61)return{};return _0x2fe791[_0x3ef8b6(0x1c7)](_0x2d5c61,(_0x2fe791['get'](_0x2d5c61)||0x0)+0x1),_0x375287[_0x3ef8b6(0x18b)](_0x448edb['jbGEW'],{'transport':_0x448edb['BZRnd'],'toolName':_0x2d5c61}),_0x375287['trackPhaseEnd'](_0x448edb['jbGEW'],{'transport':_0x448edb[_0x3ef8b6(0x185)],'toolName':_0x2d5c61,'bashCommandPreview':truncatePreview(_0x4cf071)}),_0x2d5c61!==_0x448edb[_0x3ef8b6(0x175)]&&console[_0x3ef8b6(0x19d)](formatPlaywrightCliConsoleLogMessage(_0x3128d6,_0x4cf071,_0x2d5c61)),{};},_0x1fa2c0=async _0x48130e=>{const _0x9094c1=_0x3e8ba2;if(_0x448edb[_0x9094c1(0x177)](_0x48130e[_0x9094c1(0x191)],_0x448edb['leETG']))return{};const _0x439628=_0x48130e;if(_0x448edb[_0x9094c1(0x178)](_0x439628[_0x9094c1(0x17e)],'Bash'))return{};return await _0x375287['trackPhaseError'](_0x448edb['voeCn'],_0x439628[_0x9094c1(0x16c)],{'transport':_0x448edb[_0x9094c1(0x185)],'toolName':_0x448edb['uubIb']}),{};};return{'postToolUseHook':_0x20d8f3,'postToolUseFailureHook':_0x1fa2c0,'commandCounts':_0x2fe791};}async function runPlaywrightCliLifecycleCommand(_0x317ae2){const _0x2d52d6=_0x4ba3,_0x543e55={'KTRPS':function(_0x5c17a1,_0x500e38,_0x5a7dde){return _0x5c17a1(_0x500e38,_0x5a7dde);}},{sessionId:_0x55787f,configPath:_0x2fa581,commandArgs:_0x31a1cd,env:_0x14fd37,telemetry:_0x325830,phase:_0x30f18b,metadata:_0x2e3fcb,timeoutMs:_0xd23d55}=_0x317ae2;_0x325830['trackPhaseStart'](_0x30f18b,_0x2e3fcb);try{const _0x1177b7=await runPlaywrightCliCommand({'sessionId':_0x55787f,'configPath':_0x2fa581,'commandArgs':_0x31a1cd,'cwd':process[_0x2d52d6(0x151)](),'env':_0x14fd37,'timeoutMs':_0xd23d55??PLAYWRIGHT_CLI_COMMAND_TIMEOUT_MS});_0x325830['trackPhaseEnd'](_0x30f18b,{..._0x2e3fcb,'subcommand':_0x1177b7['invocation'][_0x2d52d6(0x153)],'stdoutPreview':_0x543e55[_0x2d52d6(0x1aa)](truncatePreview,_0x1177b7[_0x2d52d6(0x1a1)],0x7d0),'stderrPreview':truncatePreview(_0x1177b7[_0x2d52d6(0x1be)],0x7d0)});}catch(_0x3ee1b7){await _0x325830['trackPhaseError'](_0x30f18b,_0x3ee1b7,_0x2e3fcb);throw _0x3ee1b7;}}export async function finalizeVerifyFeatureCliSession(_0x1c2737){const _0x296f79=_0x4ba3,_0x347788={'tjOuT':'playwright_cli_tracing_stop','vQhYG':'tracing-stop','BTboC':function(_0x5203be,_0x3f8395){return _0x5203be(_0x3f8395);}},{telemetry:_0x3b85e8,sessionId:_0x334a6c,configPath:_0x279e87,cliArtifactDir:_0x3ca6ce,env:_0x5e45bd,transportMetadata:_0x44e6cd}=_0x1c2737,_0x3e16e1=[{'phase':_0x347788[_0x296f79(0x180)],'commandArgs':[_0x347788['vQhYG']]},{'phase':_0x296f79(0x159),'commandArgs':['video-stop','--filename='+buildCliArtifactPath(_0x3ca6ce,'session-recording.webm')]},{'phase':'playwright_cli_close','commandArgs':['close']}];for(const _0x520023 of _0x3e16e1){try{await _0x347788['BTboC'](runPlaywrightCliLifecycleCommand,{'sessionId':_0x334a6c,'configPath':_0x279e87,'commandArgs':[..._0x520023['commandArgs']],'env':_0x5e45bd,'telemetry':_0x3b85e8,'phase':_0x520023[_0x296f79(0x1bf)],'metadata':_0x44e6cd});}catch{}}}export async function loadVerifyFeatureCliTraceUploadArtifact(_0xfad86b){const _0x57a83f=_0x4ba3,_0x43fca9={'zIWdy':function(_0x58729f,_0x1b4326){return _0x58729f(_0x1b4326);}},_0x32bdd2=['trace.zip',_0x57a83f(0x1b5)];for(const _0x5f9349 of _0x32bdd2){const _0x4ebaf9=join(_0xfad86b,_0x5f9349);try{return{'buffer':await _0x43fca9[_0x57a83f(0x1ab)](readFile,_0x4ebaf9),'source':_0x4ebaf9};}catch{}}return null;}export async function rehomeVerifyFeatureCliArtifacts(_0x370ef4){const _0x3fc70a=_0x4ba3,_0x5bc0d8={'twEuU':function(_0x15656f,_0x3846f5,_0x4f674d){return _0x15656f(_0x3846f5,_0x4f674d);},'BxmlV':function(_0x5c3400,_0xf0bf4a,_0x5e8477){return _0x5c3400(_0xf0bf4a,_0x5e8477);},'CQcww':function(_0x194325,_0xa4e365){return _0x194325===_0xa4e365;},'anxgt':function(_0x2ba598,_0x522f90,_0x536939){return _0x2ba598(_0x522f90,_0x536939);}},{cwd:_0x387a85,cliArtifactDir:_0x3867e1,startTime:_0x35ad54}=_0x370ef4,_0x488651=[];await mkdir(_0x3867e1,{'recursive':!![]});const _0x56d157=await _0x5bc0d8['twEuU'](readdir,_0x387a85,{'withFileTypes':!![]});for(const _0x275b10 of _0x56d157){if(!_0x275b10['isFile']()||!VERIFY_FEATURE_CLI_ARTIFACT_FILE_PATTERN['test'](_0x275b10[_0x3fc70a(0x18d)]))continue;const _0x60089d=_0x5bc0d8[_0x3fc70a(0x165)](join,_0x387a85,_0x275b10[_0x3fc70a(0x18d)]),_0x4aa821=await stat(_0x60089d);if(_0x4aa821[_0x3fc70a(0x1b6)]+0x7d0<_0x35ad54)continue;const _0x32e91d=_0x5bc0d8[_0x3fc70a(0x188)](buildCliArtifactPath,_0x3867e1,_0x275b10['name']);if(_0x5bc0d8[_0x3fc70a(0x168)](_0x60089d,_0x32e91d))continue;await _0x5bc0d8[_0x3fc70a(0x15e)](rename,_0x60089d,_0x32e91d),_0x488651[_0x3fc70a(0x162)](_0x275b10['name']);}return _0x488651[_0x3fc70a(0x198)]();}
@@ -1 +1 @@
1
- const _0x2f8c61=_0x30df;(function(_0x5bf978,_0x14c322){const _0x366405=_0x30df,_0x478c41=_0x5bf978();while(!![]){try{const _0x3b2e4b=-parseInt(_0x366405(0x195))/0x1*(parseInt(_0x366405(0x135))/0x2)+parseInt(_0x366405(0x162))/0x3+-parseInt(_0x366405(0x1f0))/0x4+-parseInt(_0x366405(0x1f5))/0x5+parseInt(_0x366405(0x18c))/0x6+-parseInt(_0x366405(0x18a))/0x7*(parseInt(_0x366405(0x1d5))/0x8)+parseInt(_0x366405(0x149))/0x9;if(_0x3b2e4b===_0x14c322)break;else _0x478c41['push'](_0x478c41['shift']());}catch(_0x43c6fa){_0x478c41['push'](_0x478c41['shift']());}}}(_0x49fe,0x956e5));import{execFile}from'child_process';import{mkdir,readdir,readFile,rename,rm,stat,writeFile}from'fs/promises';import{homedir}from'os';import{basename,join}from'path';function _0x30df(_0x32556a,_0x3a8472){_0x32556a=_0x32556a-0x12f;const _0x49fe66=_0x49fe();let _0x30df10=_0x49fe66[_0x32556a];return _0x30df10;}import{promisify}from'util';import{chromium}from'playwright';import{buildNovaActCliInvocation,buildNovaActCliSharedOptionsSuffix,extractNovaActLogDir,parseNovaActCliCommand,previewNovaActCliCommand,runNovaActCliCommand}from'./utils/novaActCli.js';import{extractBashCommand,quoteShellArg}from'./utils/playwrightCli.js';const NOVA_ACT_CLI_COMMAND_TIMEOUT_MS=0x1d4c0,NOVA_ARTIFACT_CDP_CONNECT_TIMEOUT_MS=0x3a98,NOVA_ARTIFACT_METADATA_WAIT_MS=0x1388,NOVA_ARTIFACT_TRACE_SAMPLE_INTERVAL_MS=0x1388,VERIFY_FEATURE_NOVA_ARTIFACT_FILE_PATTERN=/^(?:\d{2}_.+\.(?:png|ya?ml)|key_.+\.png|final-state\.ya?ml|nova-session-export\.json)$/i,NOVA_ACT_ALLOWED_AGENT_COMMANDS=new Set([_0x2f8c61(0x1be),_0x2f8c61(0x177),'verify',_0x2f8c61(0x19f),'goto',_0x2f8c61(0x1b4),'snapshot',_0x2f8c61(0x134)]),execFileAsync=promisify(execFile);function buildCliArtifactPath(_0x15b63e,_0x48ee19){return join(_0x15b63e,_0x48ee19);}export class NovaActArtifactRecorder{[_0x2f8c61(0x20f)];[_0x2f8c61(0x172)]=null;['context']=null;['frameSession']=null;[_0x2f8c61(0x1e7)]=[];[_0x2f8c61(0x1cb)]=0x0;[_0x2f8c61(0x17a)]=0x0;['traceSampleTimer']=null;['traceSampleInFlight']=null;[_0x2f8c61(0x203)]=![];[_0x2f8c61(0x1f6)]=![];[_0x2f8c61(0x1aa)]=![];[_0x2f8c61(0x1f2)]=![];constructor(_0x39b789){const _0xbf8d73=_0x2f8c61;this[_0xbf8d73(0x20f)]=_0x39b789;}async['start'](){const _0x5eb498=_0x2f8c61,_0x567db2={'ZVbut':function(_0x3b6432,_0x2670f9,_0x5cd3f7){return _0x3b6432(_0x2670f9,_0x5cd3f7);},'KXrZe':'nova_act_artifact_recording'};if(this[_0x5eb498(0x1aa)])return;this[_0x5eb498(0x1aa)]=!![];const _0x13e05c=await this['readSessionMetadataWithRetry'](),_0xe51929=_0x13e05c[_0x5eb498(0x16e)];if(!_0xe51929)throw new Error('Nova\x20session\x20metadata\x20did\x20not\x20include\x20cdp_endpoint\x20for\x20'+this[_0x5eb498(0x20f)]['novaOptions']['sessionId']);await _0x567db2[_0x5eb498(0x1ed)](mkdir,this[_0x5eb498(0x20f)]['cliArtifactDir'],{'recursive':!![]}),this[_0x5eb498(0x172)]=await chromium[_0x5eb498(0x178)](_0xe51929,{'timeout':NOVA_ARTIFACT_CDP_CONNECT_TIMEOUT_MS}),this['context']=this['browser'][_0x5eb498(0x18e)]()[0x0]??null;if(!this[_0x5eb498(0x159)])throw new Error(_0x5eb498(0x190));await this[_0x5eb498(0x159)][_0x5eb498(0x139)][_0x5eb498(0x180)]({'screenshots':!![],'snapshots':!![],'sources':!![]}),this['tracingStarted']=!![],this[_0x5eb498(0x174)](),await this[_0x5eb498(0x16b)](),this['params']['telemetry']['trackPhaseStart'](_0x567db2['KXrZe'],{...this[_0x5eb498(0x20f)][_0x5eb498(0x188)],'cdpEndpoint':_0xe51929,'browserPid':_0x13e05c['browser_pid'],'sessionState':_0x13e05c[_0x5eb498(0x1dc)]}),this[_0x5eb498(0x20f)]['telemetry']['trackPhaseEnd'](_0x567db2['KXrZe'],{...this['params']['transportMetadata'],'tracingStarted':this['tracingStarted'],'screencastStarted':this['screencastStarted']});}async[_0x2f8c61(0x1ba)](){const _0x17d953=_0x2f8c61,_0x5d3a76={'CSGFL':'nova_act_artifact_recording_stop'};if(this[_0x17d953(0x1f2)])return;this['stopped']=!![];const _0x41570b={...this[_0x17d953(0x20f)][_0x17d953(0x188)],'frameCount':this['frameCount'],'traceSampleCount':this[_0x17d953(0x17a)],'tracingStarted':this[_0x17d953(0x203)],'screencastStarted':this['screencastStarted']};this[_0x17d953(0x20f)]['telemetry']['trackPhaseStart'](_0x5d3a76['CSGFL'],_0x41570b);try{await this['stopTraceSampling'](),await this[_0x17d953(0x1d4)](),await this['stopScreencast'](),await Promise['allSettled'](this[_0x17d953(0x1e7)]);this[_0x17d953(0x159)]&&this[_0x17d953(0x203)]&&await this['context'][_0x17d953(0x139)][_0x17d953(0x1ba)]({'path':buildCliArtifactPath(this['params']['cliArtifactDir'],_0x17d953(0x1f8))});const _0x3dddfd=await this[_0x17d953(0x1b7)]();this['params'][_0x17d953(0x1d3)]['trackPhaseEnd'](_0x5d3a76['CSGFL'],{..._0x41570b,'videoPath':_0x3dddfd});}catch(_0x2a6556){await this[_0x17d953(0x20f)][_0x17d953(0x1d3)][_0x17d953(0x1c5)]('nova_act_artifact_recording_stop',_0x2a6556,_0x41570b);}finally{await this['browser']?.[_0x17d953(0x147)]()['catch'](()=>undefined),this[_0x17d953(0x172)]=null,this['context']=null,this['frameSession']=null;}}async['readSessionMetadataWithRetry'](){const _0x3d4f54=_0x2f8c61,_0x5c1565={'IyrcG':function(_0x9a22a6,_0xa028e2,_0x5dbe9b,_0x47797f,_0x590f84,_0x315ef5){return _0x9a22a6(_0xa028e2,_0x5dbe9b,_0x47797f,_0x590f84,_0x315ef5);},'aOMmi':function(_0x3b29fb){return _0x3b29fb();},'TxNJB':_0x3d4f54(0x1ff),'KFOCt':function(_0x550775,_0x5af1d7,_0x45c67d){return _0x550775(_0x5af1d7,_0x45c67d);},'owFqv':function(_0x434192,_0x2ef1f6){return _0x434192<_0x2ef1f6;},'RaBNR':function(_0x2bb2ec,_0x4ff409){return _0x2bb2ec-_0x4ff409;}},_0x3b1cb1=_0x5c1565['IyrcG'](join,_0x5c1565['aOMmi'](homedir),_0x5c1565['TxNJB'],'browser','sessions',this['params']['novaOptions']['sessionId']+'.json'),_0x3d7881=Date['now']();let _0x384a46;do{try{const _0x3a943b=JSON['parse'](await _0x5c1565[_0x3d4f54(0x1a3)](readFile,_0x3b1cb1,_0x3d4f54(0x1c2)));if(_0x3a943b['cdp_endpoint'])return _0x3a943b;_0x384a46=new Error('Nova\x20metadata\x20missing\x20cdp_endpoint\x20at\x20'+_0x3b1cb1);}catch(_0x9e563e){_0x384a46=_0x9e563e;}await delay(0x64);}while(_0x5c1565['owFqv'](_0x5c1565['RaBNR'](Date[_0x3d4f54(0x1d9)](),_0x3d7881),NOVA_ARTIFACT_METADATA_WAIT_MS));if(_0x384a46 instanceof Error)throw _0x384a46;throw new Error(_0x3d4f54(0x1ef)+_0x3b1cb1);}async[_0x2f8c61(0x16b)](){const _0x153f58=_0x2f8c61,_0x58c412={'eSUsM':function(_0x5e5919,_0x1e9d3c,_0x14a708){return _0x5e5919(_0x1e9d3c,_0x14a708);},'fEPhZ':function(_0x4b6bc3,_0x58db86){return _0x4b6bc3(_0x58db86);},'wgGDE':_0x153f58(0x202),'XkhKm':'Page.screencastFrame','ZweYa':'Page.startScreencast','BqGNk':'jpeg'};if(!this['context'])return;const _0x3c0b33=this[_0x153f58(0x159)]['pages']()[0x0];if(!_0x3c0b33)return;const _0x29cc9a=this[_0x153f58(0x1fa)]();await mkdir(_0x29cc9a,{'recursive':!![]});const _0x3245b1=await this[_0x153f58(0x159)][_0x153f58(0x214)](_0x3c0b33);this[_0x153f58(0x1d7)]=_0x3245b1,_0x3245b1['on'](_0x58c412['XkhKm'],_0x1c551f=>{const _0x58ee4d=_0x153f58,_0x27885b=++this[_0x58ee4d(0x1cb)],_0x1e22ef=_0x58c412['eSUsM'](join,_0x29cc9a,'frame-'+_0x58c412['fEPhZ'](String,_0x27885b)[_0x58ee4d(0x173)](0x6,'0')+_0x58ee4d(0x14a)),_0x345c98=writeFile(_0x1e22ef,Buffer[_0x58ee4d(0x1c8)](_0x1c551f[_0x58ee4d(0x1ac)],_0x58c412['wgGDE']))[_0x58ee4d(0x192)](()=>undefined)[_0x58ee4d(0x176)](()=>_0x3245b1[_0x58ee4d(0x1da)](_0x58ee4d(0x1b1),{'sessionId':_0x1c551f[_0x58ee4d(0x16d)]}))[_0x58ee4d(0x131)](()=>undefined)[_0x58ee4d(0x192)](()=>undefined);this['frameWrites'][_0x58ee4d(0x197)](_0x345c98);}),await _0x3245b1[_0x153f58(0x1da)](_0x58c412['ZweYa'],{'format':_0x58c412[_0x153f58(0x133)],'quality':0x4b,'everyNthFrame':0x6}),this[_0x153f58(0x1f6)]=!![];}async[_0x2f8c61(0x166)](){const _0x1d1644=_0x2f8c61,_0x144888={'WFBCN':'Page.stopScreencast'};if(!this['frameSession']||!this[_0x1d1644(0x1f6)])return;await this[_0x1d1644(0x1d7)]['send'](_0x144888[_0x1d1644(0x1e9)])['catch'](()=>undefined);}['startTraceSampling'](){const _0x191abc=_0x2f8c61,_0x22ab6c={'Mgvuh':function(_0x4815ae,_0x58de4e,_0xc5c875){return _0x4815ae(_0x58de4e,_0xc5c875);}};this[_0x191abc(0x1b2)](),this['traceSampleTimer']=_0x22ab6c['Mgvuh'](setInterval,()=>this[_0x191abc(0x1b2)](),NOVA_ARTIFACT_TRACE_SAMPLE_INTERVAL_MS);}['queueTraceSample'](){const _0x1b5345=_0x2f8c61;if(this['traceSampleInFlight'])return;this['traceSampleInFlight']=this[_0x1b5345(0x1d4)]()['finally'](()=>{const _0x1f0b0f=_0x1b5345;this[_0x1f0b0f(0x1ab)]=null;});}async['stopTraceSampling'](){const _0x26c205=_0x2f8c61;this[_0x26c205(0x143)]&&(clearInterval(this[_0x26c205(0x143)]),this[_0x26c205(0x143)]=null),await this['traceSampleInFlight']?.['catch'](()=>undefined);}async['captureTraceSample'](){const _0x1d758b=_0x2f8c61,_0x56c4d8=this[_0x1d758b(0x159)]?.['pages']()[0x0];if(!_0x56c4d8)return;try{await _0x56c4d8['locator']('body')[_0x1d758b(0x152)](_0x25a656=>_0x25a656[_0x1d758b(0x1b0)],undefined,{'timeout':0x3e8}),this[_0x1d758b(0x17a)]++;}catch{}}async[_0x2f8c61(0x1b7)](){const _0xee8f71=_0x2f8c61,_0x13437a={'AaNyt':_0xee8f71(0x157),'xiQpK':function(_0x3f0241,_0x3b22b1,_0x356720){return _0x3f0241(_0x3b22b1,_0x356720);},'mlLUp':'-hide_banner','zqdux':_0xee8f71(0x1a9),'tddcZ':'error','SmSQv':'-framerate','YSnWe':'frame-%06d.jpg','xnNmC':_0xee8f71(0x213),'ISuDz':'yuv420p'};if(this['frameCount']<0x2)return null;const _0x4d4668=await resolveFfmpegPath();if(!_0x4d4668)return null;const _0x31a24e=join(this['params'][_0xee8f71(0x211)],_0x13437a[_0xee8f71(0x201)]);await _0x13437a[_0xee8f71(0x17f)](mkdir,_0x31a24e,{'recursive':!![]});const _0xae5beb=_0x13437a['xiQpK'](join,_0x31a24e,_0xee8f71(0x1e6));return await execFileAsync(_0x4d4668,['-y',_0x13437a[_0xee8f71(0x14b)],_0x13437a['zqdux'],_0x13437a['tddcZ'],_0x13437a[_0xee8f71(0x1d6)],'10','-i',_0x13437a[_0xee8f71(0x17f)](join,this[_0xee8f71(0x1fa)](),_0x13437a['YSnWe']),_0xee8f71(0x150),'scale=trunc(iw/2)*2:trunc(ih/2)*2','-c:v',_0x13437a[_0xee8f71(0x161)],'-pix_fmt',_0x13437a[_0xee8f71(0x1c4)],_0xae5beb]),_0xae5beb;}[_0x2f8c61(0x1fa)](){const _0x85565a=_0x2f8c61,_0x51d652={'FVWGT':function(_0x51b53d,_0x28e85c,_0x42d000){return _0x51b53d(_0x28e85c,_0x42d000);}};return _0x51d652[_0x85565a(0x1c1)](join,this['params'][_0x85565a(0x211)],'nova-video-frames');}}async function delay(_0xeeeb0d){await new Promise(_0x5d6686=>setTimeout(_0x5d6686,_0xeeeb0d));}async function resolveFfmpegPath(){const _0x547ca4=_0x2f8c61,_0x509436={'WLlyf':'ffmpeg','hjmJZ':function(_0x294adf,_0x103885,_0x148f7c,_0x442c21,_0x2e5878){return _0x294adf(_0x103885,_0x148f7c,_0x442c21,_0x2e5878);},'bLDDV':function(_0x342fc0,_0x397e95,_0x40d555,_0x4d970d){return _0x342fc0(_0x397e95,_0x40d555,_0x4d970d);},'bMKjc':_0x547ca4(0x17c),'LbeVO':function(_0x2b3d7d,_0x3d2edb){return _0x2b3d7d(_0x3d2edb);}};if(await canRunFfmpeg(_0x509436['WLlyf']))return _0x547ca4(0x20e);const _0x40a062=[_0x509436['hjmJZ'](join,homedir(),_0x547ca4(0x208),_0x547ca4(0x1f7),_0x547ca4(0x20d)),_0x509436['bLDDV'](join,homedir(),_0x509436[_0x547ca4(0x175)],'ms-playwright')];for(const _0x96ffe0 of _0x40a062){try{const _0x3ce428=await readdir(_0x96ffe0),_0x2f659f=_0x3ce428['filter'](_0x5ca1cc=>_0x5ca1cc['startsWith'](_0x547ca4(0x1ea)))['sort']()['reverse']()['flatMap'](_0x4a5042=>[join(_0x96ffe0,_0x4a5042,_0x547ca4(0x200)),join(_0x96ffe0,_0x4a5042,'ffmpeg-linux'),join(_0x96ffe0,_0x4a5042,'ffmpeg.exe')]);for(const _0x530d4b of _0x2f659f){if(await _0x509436['LbeVO'](canRunFfmpeg,_0x530d4b))return _0x530d4b;}}catch{}}return null;}async function canRunFfmpeg(_0x43c229){const _0x1875f4=_0x2f8c61,_0x3b71aa={'RRbbM':function(_0x5e21d7,_0x2c9423,_0x3415a4){return _0x5e21d7(_0x2c9423,_0x3415a4);},'FGAti':_0x1875f4(0x20b)};try{return await _0x3b71aa[_0x1875f4(0x154)](execFileAsync,_0x43c229,[_0x3b71aa['FGAti']]),!![];}catch{return![];}}function toStepDisplayName(_0xbe2f0e){const _0x325f80=_0x2f8c61,_0x12191f={'NzXPE':function(_0x16f9c3,_0x2e1851){return _0x16f9c3(_0x2e1851);},'uYpzW':function(_0x1fa66e,_0x50521d){return _0x1fa66e(_0x50521d);}},_0x400343=_0x12191f['NzXPE'](basename,_0xbe2f0e)['replace'](/\.(?:png|ya?ml)$/i,'')['replace'](/^key_/i,'')[_0x325f80(0x1d8)](/^\d+_/,'')[_0x325f80(0x1d8)](/-/g,'\x20');return{'name':_0x400343,'isKeyStep':/^key_/i['test'](_0x12191f[_0x325f80(0x212)](basename,_0xbe2f0e))};}function extractShellValue(_0x1075ec){if(!_0x1075ec)return null;return _0x1075ec[0x1]??_0x1075ec[0x2]??_0x1075ec[0x3]??null;}function extractOutputOption(_0x376d83){return extractShellValue(_0x376d83['match'](/--output(?:=|\s+)(?:"([^"]+)"|'([^']+)'|(\S+))/));}function formatNovaActCliLog(_0xc74e76,_0x1a93dc){const _0x38cb0d=_0x2f8c61,_0x1ca23e={'ZmTQu':_0x38cb0d(0x177),'iqryc':_0x38cb0d(0x169),'PKeNO':_0x38cb0d(0x14e),'yduPa':'verify\x20page\x20condition','zKhhi':_0x38cb0d(0x17e),'QjIcU':_0x38cb0d(0x1b4),'hcwoX':'wait\x20for\x20page\x20condition','OAKtU':_0x38cb0d(0x1fc),'NupUP':function(_0x1f2bf2,_0x39cc17){return _0x1f2bf2(_0x39cc17);},'ZxTIo':_0x38cb0d(0x1cf),'oEaZw':_0x38cb0d(0x134),'LkKOc':function(_0x4689c9,_0x2fa070){return _0x4689c9(_0x2fa070);},'TTtbk':'capture\x20screenshot','EGCZy':function(_0x305b58,_0xdb64d3){return _0x305b58(_0xdb64d3);},'GEQuz':_0x38cb0d(0x191)};switch(_0x1a93dc){case'session\x20create':return _0x38cb0d(0x140);case _0x1ca23e['ZmTQu']:return _0x1ca23e['iqryc'];case _0x1ca23e['PKeNO']:return _0x1ca23e['yduPa'];case _0x38cb0d(0x19f):return'ask\x20page\x20question';case _0x38cb0d(0x156):return _0x1ca23e[_0x38cb0d(0x1ca)];case _0x1ca23e[_0x38cb0d(0x17d)]:return _0x1ca23e[_0x38cb0d(0x1b6)];case _0x1ca23e[_0x38cb0d(0x171)]:{const _0x13667c=_0x1ca23e['NupUP'](extractOutputOption,_0xc74e76);if(!_0x13667c)return _0x1ca23e['ZxTIo'];const {name:_0x3abd30}=toStepDisplayName(_0x13667c);return'capture\x20snapshot\x20`'+_0x3abd30+'`';}case _0x1ca23e[_0x38cb0d(0x1d1)]:{const _0x4efcca=_0x1ca23e[_0x38cb0d(0x1f9)](extractOutputOption,_0xc74e76);if(!_0x4efcca)return _0x1ca23e['TTtbk'];const {name:_0x4c00db,isKeyStep:_0x1655fe}=_0x1ca23e['EGCZy'](toStepDisplayName,_0x4efcca);return _0x1655fe?_0x38cb0d(0x1c9)+_0x4c00db+'`':_0x38cb0d(0x181)+_0x4c00db+'`';}case _0x1ca23e['GEQuz']:return _0x38cb0d(0x14f);default:return _0x1a93dc;}}function getNovaActCliCommandBlockReason(_0x71b296){const _0x2037a8=_0x2f8c61,_0x27f868={'HBeXv':function(_0x2cb0ab,_0x598cd5){return _0x2cb0ab(_0x598cd5);},'TWKYK':_0x2037a8(0x14e)},_0xa55d0f=_0x27f868['HBeXv'](parseNovaActCliCommand,_0x71b296);if(!_0xa55d0f)return _0x2037a8(0x179);if(!NOVA_ACT_ALLOWED_AGENT_COMMANDS[_0x2037a8(0x1c0)](_0xa55d0f))return'Nova\x20command\x20`'+_0xa55d0f+_0x2037a8(0x12f);if(_0xa55d0f===_0x27f868[_0x2037a8(0x1a1)]&&/\b(?:previously visited|visited pages|pages visited|at least one of the pages visited)\b/i['test'](_0x71b296))return'Evaluate\x20visited-page\x20aggregate\x20requirements\x20from\x20the\x20collected\x20URLs,\x20titles,\x20headings,\x20verify\x20results,\x20and\x20screenshots.\x20Do\x20not\x20run\x20another\x20browser\x20command\x20to\x20re-check\x20pages\x20already\x20visited.';if(/\s--help\b|\bdoctor\b|\bscript\b|\bsession\s+(?:close|list|export)\b/['test'](_0x71b296))return'Do\x20not\x20run\x20Nova\x20help,\x20doctor,\x20script,\x20session\x20list,\x20session\x20export,\x20or\x20session\x20close\x20commands\x20during\x20verification.';return null;}function buildFeedbackSection(_0xd3c33){const _0x154f05=_0x2f8c61,_0x12021e={'gdQyQ':_0x154f05(0x1a2),'vyEZE':_0x154f05(0x155),'EejGY':_0x154f05(0x1f3),'BmqDr':_0x154f05(0x16c),'DlGED':function(_0x54ad0d,_0x14790b){return _0x54ad0d===_0x14790b;}};if(!_0xd3c33||_0x12021e[_0x154f05(0x1dd)](_0xd3c33[_0x154f05(0x132)][_0x154f05(0x206)],0x0))return'';const _0x3fa937=_0xd3c33[_0x154f05(0x132)][_0x154f05(0x168)](_0x3b869d=>{const _0x39c2dc=_0x154f05,_0x1ffb90=new Date(_0x3b869d[_0x39c2dc(0x158)])[_0x39c2dc(0x1fd)](_0x12021e['gdQyQ'],{'month':_0x12021e['vyEZE'],'day':_0x12021e['EejGY']}),_0x418a5b=_0x3b869d['authorName']||_0x3b869d['authorEmail']||'Reviewer',_0x44cbd3=_0x3b869d['domRef']?'\x20(on\x20element:\x20<'+(_0x3b869d['domRef']['selector']['split'](_0x39c2dc(0x1e3))['pop']()?.['split'](':')[0x0]||_0x12021e['BmqDr'])+'>\x20\x22'+(_0x3b869d['domRef']['textContent']||'')[_0x39c2dc(0x1d0)](0x0,0x32)+'\x22)':'';return _0x39c2dc(0x196)+_0x3b869d['id']+']\x20**'+_0x418a5b+_0x39c2dc(0x164)+_0x1ffb90+'):\x20\x22'+_0x3b869d[_0x39c2dc(0x165)]+'\x22'+_0x44cbd3;})['join']('\x0a');return _0x154f05(0x16f)+_0x3fa937;}function buildNovaSharedOptionsInstruction(_0x218389){const _0x23a91d=_0x2f8c61;if(!_0x218389[_0x23a91d(0x1ce)]())return'The\x20command\x20prefix\x20already\x20injects\x20session,\x20auth,\x20region,\x20workflow,\x20user-data,\x20headless,\x20and\x20JSON\x20options.\x0aDo\x20not\x20run\x20raw\x20`act\x20browser`.\x20Do\x20not\x20add\x20`--auth-mode`,\x20`--aws-profile`,\x20`--region`,\x20`--workflow-name`,\x20`--session-id`,\x20`--user-data-dir`,\x20`--headless`,\x20or\x20`--headed`\x20yourself.';return'Append\x20this\x20option\x20suffix\x20to\x20every\x20browser\x20command\x20unless\x20the\x20host\x20gives\x20a\x20more\x20specific\x20example:\x0a'+_0x218389;}export function buildVerifyFeatureNovaCliDebugPrompt(_0x1d3aff){const _0x494282=_0x2f8c61,_0x4a7a46={'etEaj':'00_initial-state.yml','PnMmM':_0x494282(0x148),'qiyjA':function(_0x6c5c7d,_0x4dfd3c,_0x2b380c){return _0x6c5c7d(_0x4dfd3c,_0x2b380c);},'KAMRK':_0x494282(0x1ee),'fniDA':function(_0x4529f5,_0xba380f,_0x3140d3){return _0x4529f5(_0xba380f,_0x3140d3);},'HUueC':function(_0x4d62e2,_0x276982){return _0x4d62e2(_0x276982);},'bNwnv':function(_0x8b884a,_0x2adef6){return _0x8b884a(_0x2adef6);}},{novaCommandPrefix:_0x5ede04,novaSharedOptionsSuffix:_0x489c1c,cliArtifactDir:_0x442e8b,url:_0x296909}=_0x1d3aff,_0x1af06c=buildCliArtifactPath(_0x442e8b,_0x4a7a46['etEaj']),_0x11f0b0=buildCliArtifactPath(_0x442e8b,_0x4a7a46[_0x494282(0x15b)]),_0x1b7cc6=_0x4a7a46['qiyjA'](buildCliArtifactPath,_0x442e8b,_0x4a7a46[_0x494282(0x18b)]),_0x4f6ddb=_0x4a7a46[_0x494282(0x130)](buildCliArtifactPath,_0x442e8b,_0x494282(0x138));return'You\x20are\x20testing\x20Nova\x20Act\x20browser\x20automation.\x20Your\x20task\x20is\x20simple.\x0a\x0aUse\x20Bash\x20and\x20Nova\x20Act\x20CLI\x20only.\x20The\x20browser\x20command\x20prefix\x20is:\x0a'+_0x5ede04+'\x0a\x0a'+buildNovaSharedOptionsInstruction(_0x489c1c)+_0x494282(0x1a5)+_0x5ede04+'\x20session\x20create\x20'+_0x4a7a46[_0x494282(0x1fb)](quoteShellArg,_0x296909)+'\x20'+_0x489c1c+'`\x0a2.\x20Run\x20`'+_0x5ede04+_0x494282(0x170)+_0x4a7a46[_0x494282(0x1b5)](quoteShellArg,_0x1af06c)+'\x20'+_0x489c1c+'`\x0a3.\x20Run\x20`'+_0x5ede04+'\x20screenshot\x20--output\x20'+quoteShellArg(_0x11f0b0)+'\x20'+_0x489c1c+_0x494282(0x19c)+_0x5ede04+_0x494282(0x1b9)+_0x5ede04+'\x20snapshot\x20--output\x20'+quoteShellArg(_0x1b7cc6)+'\x20'+_0x489c1c+_0x494282(0x183)+_0x5ede04+_0x494282(0x189)+quoteShellArg(_0x4f6ddb)+'\x20'+_0x489c1c+'`\x0a7.\x20Return\x20immediately\x20with\x20the\x20structured\x20output.\x0a\x0aSave\x20every\x20artifact\x20under\x20`'+_0x442e8b+'`\x20using\x20absolute\x20paths\x20only.\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format.';}export function buildVerifyFeatureNovaCliPrompt(_0x39ffe2){const _0x19bd5d=_0x2f8c61,_0x139b41={'aDilY':function(_0x57fc51,_0x220b6b){return _0x57fc51(_0x220b6b);},'rdYqu':function(_0x1c7539,_0xecc6ed,_0x502ca2){return _0x1c7539(_0xecc6ed,_0x502ca2);},'jcUhJ':_0x19bd5d(0x20a),'WNmCM':function(_0x4e0cee,_0x5d48ed){return _0x4e0cee(_0x5d48ed);}},{checklistItem:_0x4e30c7,itemFeedback:_0x256254,taskDescription:_0x3bf21c,novaCommandPrefix:_0x20d7c9,novaSharedOptionsSuffix:_0x2333b4,cliArtifactDir:_0x14f5c3,url:_0x117ccc,loginInstructions:_0x2e166b}=_0x39ffe2,_0x4c5614=_0x4e30c7['notes']?_0x19bd5d(0x186)+_0x4e30c7[_0x19bd5d(0x1db)]:'',_0x1a202f=_0x139b41[_0x19bd5d(0x18f)](buildFeedbackSection,_0x256254),_0x5761a4=_0x256254?.['canonicalFlow']?'\x0a\x0a##\x20Expected\x20Flow\x20(from\x20previous\x20verification)\x0a'+_0x256254[_0x19bd5d(0x1b8)]:'',_0x363104=_0x2e166b?_0x19bd5d(0x141)+_0x2e166b+_0x19bd5d(0x1fe):'',_0x5acbcd=_0x139b41[_0x19bd5d(0x1e5)](buildCliArtifactPath,_0x14f5c3,_0x19bd5d(0x1cd)),_0x3065e5=buildCliArtifactPath(_0x14f5c3,'01_initial-state.png'),_0x4db4b1=buildCliArtifactPath(_0x14f5c3,'key_03_success-state.png');return _0x19bd5d(0x1ad)+_0x4e30c7[_0x19bd5d(0x19b)]+_0x4c5614+_0x1a202f+_0x5761a4+'\x0a\x0a##\x20Task\x20to\x20Execute\x0a'+_0x3bf21c+'\x0a\x0a##\x20App\x20Context\x0aYour\x20base\x20URL\x20is:\x20'+_0x117ccc+_0x19bd5d(0x207)+_0x363104+_0x19bd5d(0x193)+_0x20d7c9+'\x20session\x20create\x20'+quoteShellArg(_0x117ccc)+'\x20'+_0x2333b4+'`.\x0a4.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`'+_0x14f5c3+_0x19bd5d(0x1e0)+_0x20d7c9+'\x20snapshot\x20--output\x20'+quoteShellArg(_0x5acbcd)+'\x20'+_0x2333b4+_0x19bd5d(0x1df)+_0x20d7c9+_0x19bd5d(0x189)+quoteShellArg(_0x3065e5)+'\x20'+_0x2333b4+'`.\x0a7.\x20Optimize\x20for\x20few\x20browser\x20round\x20trips.\x20Each\x20Nova\x20CLI\x20call\x20has\x20high\x20latency.\x0a8.\x20Use\x203-5\x20high-level\x20`execute`\x20commands\x20total.\x20Each\x20`execute`\x20should\x20contain\x202-5\x20concrete\x20browser\x20steps\x20and\x20should\x20drive\x20to\x20the\x20next\x20milestone\x20page.\x0a9.\x20Do\x20not\x20split\x20a\x20simple\x20navigation\x20into\x20separate\x20commands\x20like\x20\x22open\x20menu\x22,\x20then\x20\x22click\x20link\x22,\x20then\x20\x22screenshot\x22.\x20Batch\x20those\x20into\x20one\x20`execute`\x20when\x20the\x20target\x20is\x20clear.\x0a10.\x20Do\x20not\x20use\x20`ask`\x20unless\x20you\x20are\x20genuinely\x20stuck\x20or\x20need\x20to\x20disambiguate\x20visible\x20page\x20content.\x20Prefer\x20reading\x20the\x20output\x20from\x20`execute`,\x20`snapshot`,\x20and\x20`verify`.\x0a11.\x20Use\x20`verify`\x20only\x20at\x20milestone\x20pages\x20that\x20map\x20directly\x20to\x20scenario\x20requirements.\x20Do\x20not\x20verify\x20after\x20every\x20click.\x0a12.\x20Take\x20screenshots\x20for\x20each\x20scenario\x20milestone\x20so\x20every\x20verified\x20step\x20has\x20reviewable\x20image\x20evidence,\x20including\x20the\x20final\x20state.\x20Avoid\x20duplicate\x20screenshots\x20of\x20the\x20same\x20unchanged\x20page.\x0a13.\x20After\x20the\x20required\x20initial\x20snapshot,\x20do\x20not\x20take\x20separate\x20milestone\x20snapshots\x20unless\x20you\x20cannot\x20understand\x20the\x20page\x20from\x20the\x20`execute`,\x20`verify`,\x20and\x20screenshot\x20outputs.\x0a14.\x20Mark\x20the\x20most\x20important\x20proof\x20screenshot\x20with\x20`key_`,\x20for\x20example\x20`'+_0x4db4b1+'`.\x0a15.\x20As\x20soon\x20as\x20all\x20scenario\x20requirements\x20are\x20satisfied,\x20return\x20structured\x20output\x20immediately.\x20Do\x20not\x20keep\x20exploring,\x20asking,\x20or\x20taking\x20extra\x20screenshots.\x0a16.\x20Treat\x20a\x20Nova\x20`verify`\x20result\x20with\x20`ASSERTION_FAILED`\x20as\x20useful\x20evidence,\x20not\x20as\x20a\x20tool\x20crash.\x20Do\x20not\x20retry\x20the\x20same\x20assertion\x20or\x20search\x20for\x20alternatives\x20unless\x20the\x20scenario\x20explicitly\x20asks\x20you\x20to\x20find\x20any\x20matching\x20page.\x0a17.\x20Stay\x20within\x20the\x20pages\x20and\x20flow\x20named\x20by\x20the\x20scenario.\x20If\x20a\x20required\x20condition\x20is\x20absent\x20after\x20checking\x20the\x20relevant\x20named\x20page\x20once,\x20stop\x20and\x20return\x20\x22partial\x22\x20or\x20\x22failed\x22\x20with\x20the\x20missing\x20requirement.\x20Do\x20not\x20expand\x20into\x20unrelated\x20pages\x20or\x20broad\x20site\x20searches.\x0a18.\x20After\x20you\x20reach\x20and\x20screenshot\x20the\x20final\x20named\x20scenario\x20page,\x20do\x20not\x20execute\x20more\x20browser\x20commands.\x20Evaluate\x20any\x20\x22at\x20least\x20one\x20visited\x20page\x22\x20requirement\x20from\x20the\x20pages\x20already\x20visited\x20and\x20the\x20evidence\x20already\x20collected.\x0a19.\x20Do\x20not\x20run\x20`session\x20close`,\x20`session\x20list`,\x20`session\x20export`,\x20`script`,\x20`doctor`,\x20`--help`,\x20`aws`,\x20`find`,\x20`grep`,\x20`env`,\x20`printenv`,\x20package\x20managers,\x20or\x20setup\x20commands.\x20The\x20host\x20owns\x20setup,\x20auth,\x20session\x20cleanup,\x20and\x20artifact\x20export.\x0a20.\x20The\x20host\x20also\x20captures\x20final\x20screenshots,\x20snapshots,\x20and\x20exports\x20after\x20you\x20finish,\x20but\x20every\x20scenario\x20milestone\x20still\x20needs\x20an\x20accessible\x20screenshot.\x20If\x20the\x20last\x20milestone\x20is\x20the\x20final\x20browser\x20state\x20and\x20you\x20have\x20already\x20captured\x20it,\x20you\x20do\x20not\x20need\x20a\x20duplicate\x20final\x20screenshot.\x0a21.\x20Do\x20not\x20close\x20the\x20Nova\x20session.\x20The\x20host\x20exports\x20artifacts\x20after\x20you\x20finish.\x0a22.\x20The\x20structured\x20output\x20is\x20your\x20final\x20response.\x20After\x20returning\x20it,\x20do\x20not\x20write\x20a\x20separate\x20markdown\x20summary\x20or\x20repeat\x20the\x20findings.\x0a\x0a##\x20Browser\x20Command\x20Reference\x0aUse\x20Bash\x20to\x20run\x20Nova\x20Act\x20CLI\x20commands\x20with\x20this\x20prefix:\x0a`'+_0x20d7c9+'`\x0a\x0aAppend\x20this\x20option\x20suffix\x20to\x20browser\x20commands:\x0a'+(_0x2333b4['trim']()?'`'+_0x2333b4+'`':_0x139b41['jcUhJ'])+'\x0a\x0a'+_0x139b41['WNmCM'](buildNovaSharedOptionsInstruction,_0x2333b4)+'\x0a\x0aExamples:\x0a-\x20`'+_0x20d7c9+'\x20execute\x20\x221.\x20Open\x20the\x20account\x20settings\x20menu.\x202.\x20Click\x20Billing.\x203.\x20Wait\x20for\x20the\x20Billing\x20page\x20to\x20load.\x22\x20'+_0x2333b4+_0x19bd5d(0x1a0)+_0x20d7c9+'\x20verify\x20\x22The\x20Billing\x20page\x20is\x20visible\x20and\x20shows\x20the\x20current\x20plan.\x22\x20'+_0x2333b4+'`\x0a-\x20`'+_0x20d7c9+'\x20snapshot\x20--output\x20'+quoteShellArg(_0x5acbcd)+'\x20'+_0x2333b4+'`\x0a-\x20`'+_0x20d7c9+'\x20screenshot\x20--output\x20'+quoteShellArg(_0x4db4b1)+'\x20'+_0x2333b4+'`\x0a\x0a##\x20Screenshot\x20Guidelines\x0aTake\x20screenshots\x20at\x20scenario\x20milestones\x20so\x20a\x20human\x20can\x20review\x20each\x20completed\x20step\x20and\x20the\x20final\x20state.\x20Use\x20numbered\x20filenames\x20and\x20prefix\x201-2\x20key\x20proof\x20screenshots\x20with\x20`key_`.\x20Avoid\x20duplicate\x20screenshots\x20of\x20the\x20same\x20unchanged\x20page\x20when\x20an\x20existing\x20verifier\x20screenshot\x20or\x20host\x20final\x20screenshot\x20is\x20accessible.\x0a\x0a##\x20Snapshot\x20Guidelines\x0aYou\x20must\x20take\x20the\x20initial\x20snapshot\x20listed\x20above.\x20After\x20that,\x20prefer\x20screenshots\x20plus\x20the\x20page\x20summaries\x20returned\x20by\x20`execute`\x20and\x20`verify`.\x20Only\x20call\x20`snapshot`\x20again\x20if\x20you\x20cannot\x20determine\x20the\x20next\x20action\x20or\x20evaluation\x20from\x20those\x20outputs.\x0a\x0a##\x20Early\x20Error\x20Detection\x0aAfter\x20the\x20initial\x20snapshot\x20and\x20screenshot,\x20check\x20for\x20blocking\x20HTTP\x20errors,\x20framework\x20error\x20pages,\x20blank\x20pages,\x20and\x20authentication\x20failures.\x20If\x20any\x20blocking\x20issue\x20is\x20present,\x20stop\x20and\x20return\x20evaluation\x20\x22blocked\x22\x20with\x20a\x20specific\x20reason.\x0a\x0a##\x20Failed\x20Assertions\x0aIf\x20`verify`\x20returns\x20`ASSERTION_FAILED`,\x20use\x20its\x20`actual`\x20and\x20`evidence`\x20fields\x20as\x20proof\x20for\x20the\x20final\x20evaluation.\x20Continue\x20only\x20to\x20finish\x20other\x20already-named\x20scenario\x20milestones.\x20Do\x20not\x20retry,\x20ask\x20about,\x20or\x20search\x20around\x20the\x20failed\x20condition.\x0a\x0a##\x20Final\x20Page\x20Stop\x0aWhen\x20the\x20scenario\x20names\x20a\x20final\x20page\x20or\x20final\x20navigation\x20target,\x20that\x20page\x20is\x20the\x20last\x20browser\x20milestone.\x20Once\x20it\x20is\x20loaded\x20and\x20screenshotted,\x20make\x20the\x20final\x20evaluation\x20from\x20the\x20collected\x20evidence.\x20Do\x20not\x20navigate,\x20search,\x20ask,\x20or\x20verify\x20beyond\x20that\x20final\x20page\x20unless\x20the\x20scenario\x20explicitly\x20names\x20another\x20page.\x0a\x0a##\x20Evaluation\x20Criteria\x0a-\x20VERIFIED:\x20The\x20task\x20completed\x20successfully\x20and\x20the\x20scenario\x20requirements\x20are\x20fully\x20met\x0a-\x20PARTIAL:\x20The\x20task\x20partially\x20completed\x20but\x20some\x20aspects\x20of\x20the\x20scenario\x20are\x20not\x20verified\x0a-\x20BLOCKED:\x20A\x20blocking\x20issue\x20prevents\x20completion\x0a-\x20FAILED:\x20The\x20task\x20could\x20not\x20be\x20completed\x20due\x20to\x20errors\x0a\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format\x20with\x20your\x20evaluation.';}export function summarizeVerifyFeatureNovaCliCommandAvailability(_0x9ce796){const _0x4d9ed4=_0x2f8c61,_0xe91f95=[..._0x9ce796[_0x4d9ed4(0x160)]()][_0x4d9ed4(0x1a4)]();let _0x22ad40=0x0;for(const _0x5b5951 of _0x9ce796[_0x4d9ed4(0x167)]()){_0x22ad40+=_0x5b5951;}return{'cliCommandCount':_0x22ad40,'cliCommandsSeen':_0xe91f95,'noCliCommandsCalled':_0x22ad40===0x0};}export function createVerifyFeatureNovaCliHooks(_0x2423c4,_0x255cbd){const _0x4de900=_0x2f8c61,_0x381b00={'uZpbd':function(_0x3da21f,_0x30eb0a){return _0x3da21f!==_0x30eb0a;},'WKwNK':'Bash','IUsQp':function(_0x16a5d9,_0x1ead0c){return _0x16a5d9(_0x1ead0c);},'pRWmP':_0x4de900(0x205),'Kndmb':function(_0x1d53dd,_0x33db05){return _0x1d53dd!==_0x33db05;},'MWCGi':'PostToolUse','zpzlz':function(_0xab2754,_0x134563){return _0xab2754!==_0x134563;},'paEMY':function(_0x2566e4,_0x4a54a6){return _0x2566e4+_0x4a54a6;},'VwSiA':_0x4de900(0x16a),'aEXLu':function(_0x574b3b,_0x3c5e5a,_0x19bb72){return _0x574b3b(_0x3c5e5a,_0x19bb72);},'UNXeS':_0x4de900(0x163),'QAjRW':'nova-act-cli'},_0x2671fa=new Map(),_0x47e1f8=async _0xb0bc8a=>{const _0x4fb0a6=_0x4de900;if(_0x381b00['uZpbd'](_0xb0bc8a['hook_event_name'],_0x4fb0a6(0x1bf)))return{};const _0x21f277=_0xb0bc8a;if(_0x21f277['tool_name']!==_0x381b00[_0x4fb0a6(0x187)])return{};const _0x3708cb=_0x21f277[_0x4fb0a6(0x1a8)],_0x39a902=_0x381b00[_0x4fb0a6(0x1e2)](extractBashCommand,_0x3708cb);if(!_0x39a902)return{};const _0x30f4e4=getNovaActCliCommandBlockReason(_0x39a902);if(!_0x30f4e4)return{};return{'decision':_0x381b00[_0x4fb0a6(0x1bb)],'reason':_0x30f4e4};},_0x329c3c=async _0x542fca=>{const _0x2ed30f=_0x4de900;if(_0x381b00['Kndmb'](_0x542fca[_0x2ed30f(0x1f4)],_0x381b00[_0x2ed30f(0x1c3)]))return{};const _0x2c8cbf=_0x542fca;if(_0x381b00[_0x2ed30f(0x144)](_0x2c8cbf['tool_name'],'Bash'))return{};const _0x2c325e=_0x2c8cbf['tool_input'],_0x204bcd=extractBashCommand(_0x2c325e);if(!_0x204bcd)return{};const _0x225d34=parseNovaActCliCommand(_0x204bcd);if(!_0x225d34)return{};_0x2671fa[_0x2ed30f(0x1cc)](_0x225d34,_0x381b00['paEMY'](_0x2671fa['get'](_0x225d34)||0x0,0x1)),_0x2423c4[_0x2ed30f(0x13e)](_0x381b00[_0x2ed30f(0x13c)],{'subcommand':_0x225d34}),_0x2423c4[_0x2ed30f(0x185)](_0x381b00[_0x2ed30f(0x13c)],{'subcommand':_0x225d34,'commandPreview':_0x381b00['IUsQp'](previewNovaActCliCommand,_0x204bcd)}),console['log'](_0x2ed30f(0x1bd)+_0x381b00['aEXLu'](formatNovaActCliLog,_0x204bcd,_0x225d34));if(_0x225d34===_0x2ed30f(0x1be)&&_0x255cbd)try{await _0x255cbd[_0x2ed30f(0x180)]();}catch(_0xb704f5){await _0x2423c4['trackPhaseError'](_0x2ed30f(0x1ec),_0xb704f5,{'transport':_0x2ed30f(0x19e)});}return{};},_0x28506d=async _0x57d1b9=>{const _0x3aa2c5=_0x4de900;if(_0x57d1b9[_0x3aa2c5(0x1f4)]!==_0x3aa2c5(0x1de))return{};const _0x1de47a=_0x57d1b9;if(_0x381b00[_0x3aa2c5(0x204)](_0x1de47a['tool_name'],_0x381b00[_0x3aa2c5(0x187)]))return{};return await _0x2423c4[_0x3aa2c5(0x1c5)](_0x381b00['UNXeS'],_0x1de47a[_0x3aa2c5(0x151)],{'transport':_0x381b00[_0x3aa2c5(0x18d)],'toolName':_0x3aa2c5(0x1c7)}),{};};return{'preToolUseHook':_0x47e1f8,'postToolUseHook':_0x329c3c,'postToolUseFailureHook':_0x28506d,'commandCounts':_0x2671fa};}async function runNovaLifecycleCommand(_0x50cac9){const _0x15fe2c=_0x2f8c61,_0xa557e0={'vgctj':function(_0x15dc55,_0x3b4b6d){return _0x15dc55(_0x3b4b6d);},'Crhuv':function(_0x3a0ade,_0x4c3aad){return _0x3a0ade??_0x4c3aad;}},{novaOptions:_0x13dbeb,commandArgs:_0x4de418,telemetry:_0x1e0542,phase:_0x591df2,metadata:_0x27e941,timeoutMs:_0xc78cf5}=_0x50cac9;_0x1e0542['trackPhaseStart'](_0x591df2,_0x27e941);try{const _0xd7325e=await _0xa557e0['vgctj'](runNovaActCliCommand,{..._0x13dbeb,'commandArgs':_0x4de418,'cwd':process[_0x15fe2c(0x199)](),'env':process['env'],'timeoutMs':_0xa557e0['Crhuv'](_0xc78cf5,NOVA_ACT_CLI_COMMAND_TIMEOUT_MS)});_0x1e0542[_0x15fe2c(0x185)](_0x591df2,{..._0x27e941,'subcommand':_0xd7325e['invocation']['subcommand'],'commandPreview':previewNovaActCliCommand(_0xd7325e[_0x15fe2c(0x1ae)]['shellCommand']),'stdoutPreview':previewNovaActCliCommand(_0xd7325e['stdout']),'stderrPreview':_0xa557e0['vgctj'](previewNovaActCliCommand,_0xd7325e[_0x15fe2c(0x1e1)]),'logDir':_0xa557e0[_0x15fe2c(0x142)](extractNovaActLogDir,_0xd7325e[_0x15fe2c(0x13d)])});}catch(_0x1a06e1){await _0x1e0542[_0x15fe2c(0x1c5)](_0x591df2,_0x1a06e1,_0x27e941);throw _0x1a06e1;}}export async function finalizeVerifyFeatureNovaCliSession(_0x2425c7){const _0x9482e3=_0x2f8c61,_0x33c773={'lErkJ':_0x9482e3(0x15f),'NwHnp':_0x9482e3(0x182),'paPig':function(_0x12fff8,_0x486c8e,_0x50060b){return _0x12fff8(_0x486c8e,_0x50060b);},'gmYwc':'snapshot','aMVxn':'nova_act_session_export','AQcNk':_0x9482e3(0x146),'ifNqi':_0x9482e3(0x15d),'HujEh':_0x9482e3(0x184),'jkGti':_0x9482e3(0x1e4),'wwCBc':_0x9482e3(0x215),'QiYWc':'nova-report','YlLQs':_0x9482e3(0x147),'TuHwX':function(_0x12d8e7,_0x8d507e){return _0x12d8e7===_0x8d507e;},'srLYJ':'nova_act_session_close','arJKI':function(_0x151ec4,_0x433d88){return _0x151ec4(_0x433d88);}},{telemetry:_0x3aaa72,novaOptions:_0x2de9d4,cliArtifactDir:_0x3d89d6,transportMetadata:_0x4ddf20,artifactRecorder:_0x2ccebb}=_0x2425c7,_0x574860=[{'phase':_0x33c773['lErkJ'],'commandArgs':['screenshot',_0x33c773[_0x9482e3(0x198)],_0x33c773['paPig'](buildCliArtifactPath,_0x3d89d6,'key_final-state.png')]},{'phase':_0x9482e3(0x17b),'commandArgs':[_0x33c773['gmYwc'],_0x33c773['NwHnp'],buildCliArtifactPath(_0x3d89d6,_0x9482e3(0x1b3))]},{'phase':_0x33c773[_0x9482e3(0x1c6)],'commandArgs':[_0x33c773['AQcNk'],'export',_0x33c773['ifNqi'],'json',_0x33c773[_0x9482e3(0x198)],buildCliArtifactPath(_0x3d89d6,_0x33c773['HujEh'])]},{'phase':_0x33c773['jkGti'],'commandArgs':[_0x33c773[_0x9482e3(0x137)],_0x33c773[_0x9482e3(0x1f1)],_0x9482e3(0x15c),_0x9482e3(0x13a),buildCliArtifactPath(_0x3d89d6,_0x33c773['QiYWc'])]},{'phase':_0x9482e3(0x153),'commandArgs':[_0x33c773[_0x9482e3(0x137)],_0x33c773[_0x9482e3(0x15e)]]}];for(const _0x667367 of _0x574860){_0x33c773[_0x9482e3(0x15a)](_0x667367[_0x9482e3(0x1e8)],_0x33c773['srLYJ'])&&await _0x2ccebb?.['stop']();try{await _0x33c773['arJKI'](runNovaLifecycleCommand,{'novaOptions':_0x2de9d4,'commandArgs':[..._0x667367[_0x9482e3(0x13f)]],'telemetry':_0x3aaa72,'phase':_0x667367[_0x9482e3(0x1e8)],'metadata':_0x4ddf20});}catch{}}}export async function harvestVerifyFeatureNovaCliArtifacts(_0x38154b){const _0x40e824=_0x2f8c61,_0x110b68={'jUfVr':function(_0x38c4db,_0x506d2f,_0x1418df){return _0x38c4db(_0x506d2f,_0x1418df);},'MEKus':function(_0x5decba,_0x4922c2){return _0x5decba(_0x4922c2);},'SbSGM':function(_0x22f48b,_0x7b9d63){return _0x22f48b<_0x7b9d63;},'PYbhK':function(_0x4b5952,_0x644ecd){return _0x4b5952===_0x644ecd;}},{cwd:_0x3f3d0a,cliArtifactDir:_0x43c681,startTime:_0x1decb1}=_0x38154b,_0x3d7d4d=[];await _0x110b68['jUfVr'](mkdir,_0x43c681,{'recursive':!![]});const _0x48d6da=await readdir(_0x3f3d0a,{'withFileTypes':!![]});for(const _0x211fb6 of _0x48d6da){if(!_0x211fb6['isFile']()||!VERIFY_FEATURE_NOVA_ARTIFACT_FILE_PATTERN['test'](_0x211fb6['name']))continue;const _0x41a96b=_0x110b68[_0x40e824(0x19a)](join,_0x3f3d0a,_0x211fb6[_0x40e824(0x1af)]),_0x231576=await _0x110b68['MEKus'](stat,_0x41a96b);if(_0x110b68[_0x40e824(0x19d)](_0x231576['mtimeMs']+0x7d0,_0x1decb1))continue;const _0x16f14a=_0x110b68[_0x40e824(0x19a)](buildCliArtifactPath,_0x43c681,_0x211fb6['name']);if(_0x110b68[_0x40e824(0x136)](_0x41a96b,_0x16f14a))continue;await _0x110b68[_0x40e824(0x19a)](rename,_0x41a96b,_0x16f14a),_0x3d7d4d[_0x40e824(0x197)](_0x211fb6['name']);}return _0x3d7d4d['sort']();}export async function loadVerifyFeatureNovaTraceUploadArtifact(_0x522384){const _0x2b5162=_0x2f8c61,_0x1b4503={'dIDao':function(_0x5da905,_0x52fcff,_0x1f7584){return _0x5da905(_0x52fcff,_0x1f7584);},'GcWgP':function(_0x226027,_0xfc0e5e){return _0x226027(_0xfc0e5e);},'IxqWs':function(_0xf79b28,_0x10665e){return _0xf79b28(_0x10665e);}},_0x1b7b51=_0x1b4503[_0x2b5162(0x210)](join,_0x522384,'trace.zip');try{return{'buffer':await _0x1b4503[_0x2b5162(0x194)](readFile,_0x1b7b51),'source':_0x1b7b51};}catch{return{'buffer':await _0x1b4503[_0x2b5162(0x1a7)](zipVerifyFeatureNovaArtifacts,_0x522384),'source':_0x522384};}}async function zipVerifyFeatureNovaArtifacts(_0x523433){const _0x5559b6=_0x2f8c61,_0x357639={'kOkXy':'nova-artifacts.zip','CVqyD':'zip','WRBRA':_0x5559b6(0x1bc),'gZEAP':_0x5559b6(0x1a6),'Abfuh':function(_0x5be911,_0x247911,_0x2949a0){return _0x5be911(_0x247911,_0x2949a0);}},_0x49d301=join(_0x523433,'..',_0x357639[_0x5559b6(0x1d2)]);try{return await execFileAsync(_0x357639[_0x5559b6(0x1eb)],[_0x357639['WRBRA'],_0x49d301,'.','-x',_0x357639[_0x5559b6(0x14d)]],{'cwd':_0x523433}),await readFile(_0x49d301);}finally{await _0x357639['Abfuh'](rm,_0x49d301,{'force':!![]});}}export function buildNovaActCliDiagnostics(_0x3a6215){const _0x329a5c=_0x2f8c61,_0x2ffbe8={'QXbzH':function(_0x1c8280,_0x53446a,_0x27244e){return _0x1c8280(_0x53446a,_0x27244e);},'rrvcx':function(_0x3a34d0,_0x2a5b50,_0x51e7bf){return _0x3a34d0(_0x2a5b50,_0x51e7bf);}},_0xb77cdd=_0x2ffbe8['QXbzH'](buildNovaActCliInvocation,_0x3a6215[_0x329a5c(0x14c)],_0x3a6215[_0x329a5c(0x13f)]);return{'command':_0xb77cdd['command'],'args':_0xb77cdd[_0x329a5c(0x20c)],'commandPreview':previewNovaActCliCommand(_0xb77cdd[_0x329a5c(0x145)]),'subcommand':_0xb77cdd[_0x329a5c(0x209)],'sharedOptionsSuffix':_0x2ffbe8[_0x329a5c(0x13b)](buildNovaActCliSharedOptionsSuffix,_0x3a6215['novaOptions'],_0x3a6215[_0x329a5c(0x13f)])};}function _0x49fe(){const _0x188bd4=['**\x20(','content','stopScreencast','values','map','execute\x20Nova\x20browser\x20action','nova_act_command','startScreencast','element','sessionId','cdp_endpoint','\x0a\x0a##\x20Reviewer\x20Feedback\x20to\x20Address\x0aThe\x20following\x20reviewer\x20comments\x20were\x20left\x20on\x20the\x20previous\x20version\x20of\x20this\x20item.\x0aVerify\x20that\x20each\x20concern\x20has\x20been\x20addressed\x20in\x20the\x20current\x20implementation.\x0aFor\x20each\x20comment\x20you\x20believe\x20has\x20been\x20addressed,\x20include\x20its\x20ID\x20in\x20addressedCommentIds.\x0a\x0a','\x20snapshot\x20--output\x20','OAKtU','browser','padStart','startTraceSampling','bMKjc','finally','execute','connectOverCDP','Use\x20only\x20the\x20provided\x20Nova\x20browser\x20command\x20prefix\x20for\x20browser\x20verification.\x20Do\x20not\x20inspect\x20setup,\x20credentials,\x20files,\x20or\x20the\x20local\x20environment.','traceSampleCount','nova_act_final_snapshot','.cache','QjIcU','navigate\x20browser','xiQpK','start','capture\x20step\x20`','--output','`\x0a6.\x20Run\x20`','nova-session-export.json','trackPhaseEnd','\x0a\x0a##\x20Additional\x20Notes\x0a','WKwNK','transportMetadata','\x20screenshot\x20--output\x20','98wVluJw','KAMRK','5259774CSyCKd','QAjRW','contexts','aDilY','Nova\x20CDP\x20connection\x20did\x20not\x20expose\x20a\x20browser\x20context','session\x20export','catch','\x0a\x0a##\x20Instructions\x0a1.\x20Use\x20Bash\x20plus\x20Nova\x20Act\x20CLI\x20only.\x20Do\x20not\x20call\x20MCP\x20browser\x20tools.\x0a2.\x20The\x20act\x20CLI\x20is\x20already\x20installed\x20and\x20available\x20through\x20the\x20browser\x20command\x20prefix\x20below.\x20Do\x20not\x20search\x20the\x20filesystem\x20for\x20Nova,\x20install\x20packages,\x20inspect\x20docs,\x20check\x20AWS/auth\x20status,\x20read\x20env\x20files,\x20run\x20setup,\x20or\x20call\x20raw\x20`act\x20browser`.\x0a3.\x20Your\x20first\x20Bash\x20command\x20must\x20be\x20`','GcWgP','123UDOLAP','-\x20[','push','NwHnp','cwd','jUfVr','description','`\x0a4.\x20Run\x20one\x20batched\x20`','SbSGM','nova-act-cli','ask','`\x0a-\x20`','TWKYK','en-US','KFOCt','sort','\x0a\x0aThe\x20act\x20CLI\x20is\x20already\x20installed\x20and\x20available\x20on\x20PATH.\x20Do\x20not\x20search\x20the\x20filesystem\x20for\x20Nova,\x20install\x20packages,\x20inspect\x20docs,\x20or\x20run\x20setup.\x20Your\x20first\x20Bash\x20command\x20must\x20be\x20the\x20session\x20create\x20command\x20below.\x0a\x0a1.\x20Run\x20`','nova-user-data/*','IxqWs','tool_input','-loglevel','startAttempted','traceSampleInFlight','data','You\x20are\x20a\x20Feature\x20Review\x20Verifier.\x20Your\x20job\x20is\x20to\x20verify\x20a\x20scenario\x20by\x20executing\x20a\x20UI\x20flow\x20and\x20evaluating\x20whether\x20it\x20adequately\x20completes\x20the\x20scenario.\x0a\x0a##\x20Scenario\x20to\x20Verify\x0a','invocation','name','tagName','Page.screencastFrameAck','queueTraceSample','final-state.yaml','wait-for','bNwnv','hcwoX','encodeScreencastVideo','canonicalFlow','\x20execute\x20\x22...\x22`\x20command\x20to\x20exercise\x20the\x20current\x20page.\x0a5.\x20Run\x20`','stop','pRWmP','-qr','[nova-act-cli]\x20','session\x20create','PreToolUse','has','FVWGT','utf-8','MWCGi','ISuDz','trackPhaseError','aMVxn','Bash','from','capture\x20key\x20step\x20`','zKhhi','frameCount','set','01_initial.yml','trim','capture\x20snapshot','slice','oEaZw','kOkXy','telemetry','captureTraceSample','607176HvJinz','SmSQv','frameSession','replace','now','send','notes','state','DlGED','PostToolUseFailure','`.\x0a6.\x20Take\x20an\x20initial\x20screenshot:\x20`','`\x20using\x20absolute\x20paths\x20only.\x0a5.\x20Take\x20an\x20initial\x20snapshot:\x20`','stderr','IUsQp','\x20>\x20','nova_act_session_report','rdYqu','session-recording.webm','frameWrites','phase','WFBCN','ffmpeg-','CVqyD','nova_act_artifact_recording','ZVbut','02_final-state.yml','Unable\x20to\x20read\x20Nova\x20session\x20metadata\x20at\x20','4571832YaQdNt','wwCBc','stopped','numeric','hook_event_name','100175mDhuwO','screencastStarted','Caches','trace.zip','LkKOc','getFrameDir','HUueC','snapshot','toLocaleDateString','\x0a\x0aIf\x20authentication\x20fails,\x20return\x20evaluation\x20\x22blocked\x22\x20and\x20describe\x20the\x20auth\x20failure.','.act_cli','ffmpeg-mac','AaNyt','base64','tracingStarted','Kndmb','block','length','\x0a-\x20You\x20may\x20ONLY\x20navigate\x20to\x20paths\x20under\x20this\x20base\x20URL\x27s\x20origin.\x0a-\x20Do\x20not\x20navigate\x20to\x20any\x20different\x20protocol,\x20host,\x20or\x20port.\x0a-\x20If\x20the\x20browser\x20leaves\x20this\x20origin,\x20navigate\x20back\x20once.\x20If\x20you\x20cannot\x20recover,\x20return\x20evaluation\x20\x22blocked\x22.\x0a','Library','subcommand','`<none;\x20the\x20command\x20prefix\x20injects\x20shared\x20options>`','-version','args','ms-playwright','ffmpeg','params','dIDao','cliArtifactDir','uYpzW','libvpx-vp9','newCDPSession','export','`\x20is\x20reserved\x20for\x20the\x20host.\x20Use\x20only\x20session\x20create,\x20execute,\x20verify,\x20ask,\x20goto,\x20wait-for,\x20snapshot,\x20and\x20screenshot.','fniDA','then','unaddressedComments','BqGNk','screenshot','9004WEzBbB','PYbhK','AQcNk','03_final-state.png','tracing','--output-dir','rrvcx','VwSiA','stdout','trackPhaseStart','commandArgs','create\x20Nova\x20browser\x20session','\x0a\x0a##\x20Authentication\x0aBEFORE\x20starting\x20the\x20verification\x20task,\x20authenticate\x20using\x20these\x20steps:\x0a','vgctj','traceSampleTimer','zpzlz','shellCommand','session','close','01_initial-state.png','20867418piuUnU','.jpg','mlLUp','novaOptions','gZEAP','verify','export\x20Nova\x20session','-vf','error','evaluate','nova_act_session_close','RRbbM','short','goto','videos','createdAt','context','TuHwX','PnMmM','--report','--format','YlLQs','nova_act_final_screenshot','keys','xnNmC','588405poGJqy','nova_act_command_failure'];_0x49fe=function(){return _0x188bd4;};return _0x49fe();}
1
+ const _0x2539ac=_0x5833;(function(_0x25d811,_0x45ea3d){const _0x45c01f=_0x5833,_0x2fdec2=_0x25d811();while(!![]){try{const _0x2cfcdc=parseInt(_0x45c01f(0x1f5))/0x1*(-parseInt(_0x45c01f(0x287))/0x2)+parseInt(_0x45c01f(0x28b))/0x3+parseInt(_0x45c01f(0x28c))/0x4+parseInt(_0x45c01f(0x2c2))/0x5*(-parseInt(_0x45c01f(0x2af))/0x6)+-parseInt(_0x45c01f(0x225))/0x7*(-parseInt(_0x45c01f(0x206))/0x8)+parseInt(_0x45c01f(0x27b))/0x9*(parseInt(_0x45c01f(0x2bf))/0xa)+parseInt(_0x45c01f(0x214))/0xb*(parseInt(_0x45c01f(0x22d))/0xc);if(_0x2cfcdc===_0x45ea3d)break;else _0x2fdec2['push'](_0x2fdec2['shift']());}catch(_0x3e1fc3){_0x2fdec2['push'](_0x2fdec2['shift']());}}}(_0x436f,0xe9370));import{execFile}from'child_process';import{mkdir,readdir,readFile,rename,rm,stat,writeFile}from'fs/promises';import{homedir}from'os';import{basename,join}from'path';import{promisify}from'util';import{chromium}from'playwright';import{buildNovaActCliInvocation,buildNovaActCliSharedOptionsSuffix,extractNovaActLogDir,parseNovaActCliCommand,previewNovaActCliCommand,runNovaActCliCommand}from'./utils/novaActCli.js';import{extractBashCommand,quoteShellArg}from'./utils/playwrightCli.js';const NOVA_ACT_CLI_COMMAND_TIMEOUT_MS=0x1d4c0,NOVA_ARTIFACT_CDP_CONNECT_TIMEOUT_MS=0x3a98,NOVA_ARTIFACT_METADATA_WAIT_MS=0x1388,NOVA_ARTIFACT_TRACE_SAMPLE_INTERVAL_MS=0x1388,VERIFY_FEATURE_NOVA_ARTIFACT_FILE_PATTERN=/^(?:\d{2}_.+\.(?:png|ya?ml)|key_.+\.png|final-state\.ya?ml|nova-session-export\.json)$/i,NOVA_ACT_ALLOWED_AGENT_COMMANDS=new Set(['session\x20create',_0x2539ac(0x247),_0x2539ac(0x200),'ask',_0x2539ac(0x1e1),_0x2539ac(0x1e4),'snapshot',_0x2539ac(0x251)]),execFileAsync=promisify(execFile);function buildCliArtifactPath(_0x3e11d7,_0x4c12e1){const _0x51c229={'ANaNw':function(_0x18cddf,_0xb8ff46,_0x1167df){return _0x18cddf(_0xb8ff46,_0x1167df);}};return _0x51c229['ANaNw'](join,_0x3e11d7,_0x4c12e1);}function _0x5833(_0x49e6e1,_0x4d68d4){_0x49e6e1=_0x49e6e1-0x1d8;const _0x436f99=_0x436f();let _0x583323=_0x436f99[_0x49e6e1];return _0x583323;}export class NovaActArtifactRecorder{[_0x2539ac(0x285)];[_0x2539ac(0x210)]=null;['context']=null;['frameSession']=null;[_0x2539ac(0x277)]=[];[_0x2539ac(0x263)]=0x0;['traceSampleCount']=0x0;[_0x2539ac(0x290)]=null;[_0x2539ac(0x203)]=null;['tracingStarted']=![];[_0x2539ac(0x20a)]=![];['startAttempted']=![];[_0x2539ac(0x293)]=![];constructor(_0x33128f){const _0x154260=_0x2539ac;this[_0x154260(0x285)]=_0x33128f;}async[_0x2539ac(0x1d9)](){const _0x3b4eaf=_0x2539ac,_0x33daa0={'UyDzl':_0x3b4eaf(0x2b3),'yKCWX':_0x3b4eaf(0x28a)};if(this['startAttempted'])return;this[_0x3b4eaf(0x269)]=!![];const _0x1e608d=await this[_0x3b4eaf(0x296)](),_0x87e148=_0x1e608d['cdp_endpoint'];if(!_0x87e148)throw new Error('Nova\x20session\x20metadata\x20did\x20not\x20include\x20cdp_endpoint\x20for\x20'+this[_0x3b4eaf(0x285)][_0x3b4eaf(0x250)][_0x3b4eaf(0x1fc)]);await mkdir(this[_0x3b4eaf(0x285)][_0x3b4eaf(0x26f)],{'recursive':!![]}),this['browser']=await chromium['connectOverCDP'](_0x87e148,{'timeout':NOVA_ARTIFACT_CDP_CONNECT_TIMEOUT_MS}),this[_0x3b4eaf(0x267)]=this[_0x3b4eaf(0x210)][_0x3b4eaf(0x249)]()[0x0]??null;if(!this[_0x3b4eaf(0x267)])throw new Error(_0x33daa0[_0x3b4eaf(0x272)]);await this[_0x3b4eaf(0x267)]['tracing']['start']({'screenshots':!![],'snapshots':!![],'sources':!![]}),this['tracingStarted']=!![],this[_0x3b4eaf(0x2be)](),await this[_0x3b4eaf(0x2a8)](),this['params']['telemetry']['trackPhaseStart'](_0x33daa0['yKCWX'],{...this['params']['transportMetadata'],'cdpEndpoint':_0x87e148,'browserPid':_0x1e608d['browser_pid'],'sessionState':_0x1e608d['state']}),this[_0x3b4eaf(0x285)]['telemetry']['trackPhaseEnd'](_0x33daa0[_0x3b4eaf(0x1f9)],{...this['params']['transportMetadata'],'tracingStarted':this[_0x3b4eaf(0x24c)],'screencastStarted':this[_0x3b4eaf(0x20a)]});}async[_0x2539ac(0x278)](){const _0x11e347=_0x2539ac,_0x7b79ba={'EuUEi':function(_0x381055,_0x2177df,_0x1df808){return _0x381055(_0x2177df,_0x1df808);},'PyUKN':_0x11e347(0x29b),'oKWgI':_0x11e347(0x299)};if(this['stopped'])return;this['stopped']=!![];const _0xe599ba={...this[_0x11e347(0x285)][_0x11e347(0x20f)],'frameCount':this[_0x11e347(0x263)],'traceSampleCount':this[_0x11e347(0x27d)],'tracingStarted':this['tracingStarted'],'screencastStarted':this['screencastStarted']};this[_0x11e347(0x285)]['telemetry'][_0x11e347(0x257)]('nova_act_artifact_recording_stop',_0xe599ba);try{await this[_0x11e347(0x1e9)](),await this['captureTraceSample'](),await this[_0x11e347(0x22e)](),await Promise[_0x11e347(0x25b)](this['frameWrites']);this[_0x11e347(0x267)]&&this[_0x11e347(0x24c)]&&await this[_0x11e347(0x267)]['tracing']['stop']({'path':_0x7b79ba[_0x11e347(0x245)](buildCliArtifactPath,this[_0x11e347(0x285)]['cliArtifactDir'],_0x7b79ba['PyUKN'])});const _0x4e61fc=await this['encodeScreencastVideo']();this[_0x11e347(0x285)][_0x11e347(0x261)][_0x11e347(0x208)](_0x7b79ba['oKWgI'],{..._0xe599ba,'videoPath':_0x4e61fc});}catch(_0x300e12){await this['params'][_0x11e347(0x261)]['trackPhaseError'](_0x7b79ba[_0x11e347(0x1fb)],_0x300e12,_0xe599ba);}finally{await this[_0x11e347(0x210)]?.['close']()[_0x11e347(0x2b4)](()=>undefined),this['browser']=null,this['context']=null,this['frameSession']=null;}}async['readSessionMetadataWithRetry'](){const _0x260113=_0x2539ac,_0x500027={'dwZOu':function(_0x358b23){return _0x358b23();},'epOFI':_0x260113(0x243),'qnsPD':function(_0x1828df,_0x54b23d){return _0x1828df(_0x54b23d);},'ZlEJR':function(_0x3b177d,_0x542ea3){return _0x3b177d<_0x542ea3;},'dDUxs':function(_0x2788b2,_0x6b5826){return _0x2788b2-_0x6b5826;},'pjCbV':function(_0x748e20,_0x1b3dff){return _0x748e20 instanceof _0x1b3dff;}},_0x2d53d4=join(_0x500027[_0x260113(0x255)](homedir),_0x500027['epOFI'],_0x260113(0x210),'sessions',this['params']['novaOptions'][_0x260113(0x1fc)]+_0x260113(0x28e)),_0x5a0156=Date['now']();let _0x137aa0;do{try{const _0xad42ba=JSON[_0x260113(0x1d8)](await readFile(_0x2d53d4,_0x260113(0x295)));if(_0xad42ba['cdp_endpoint'])return _0xad42ba;_0x137aa0=new Error(_0x260113(0x24d)+_0x2d53d4);}catch(_0x2a7b23){_0x137aa0=_0x2a7b23;}await _0x500027['qnsPD'](delay,0x64);}while(_0x500027['ZlEJR'](_0x500027[_0x260113(0x1ec)](Date[_0x260113(0x1e5)](),_0x5a0156),NOVA_ARTIFACT_METADATA_WAIT_MS));if(_0x500027[_0x260113(0x25d)](_0x137aa0,Error))throw _0x137aa0;throw new Error(_0x260113(0x271)+_0x2d53d4);}async['startScreencast'](){const _0x209f27=_0x2539ac,_0x22a89a={'tAMFi':'base64','pLcSe':function(_0x3b031b,_0x32fa94,_0x40dc56){return _0x3b031b(_0x32fa94,_0x40dc56);},'KlIBE':_0x209f27(0x21b)};if(!this['context'])return;const _0x36f7b3=this[_0x209f27(0x267)][_0x209f27(0x1f2)]()[0x0];if(!_0x36f7b3)return;const _0x5091e1=this['getFrameDir']();await _0x22a89a['pLcSe'](mkdir,_0x5091e1,{'recursive':!![]});const _0x462181=await this['context']['newCDPSession'](_0x36f7b3);this['frameSession']=_0x462181,_0x462181['on'](_0x209f27(0x2a2),_0x4ab15b=>{const _0x270856=_0x209f27,_0x1c0fff=++this['frameCount'],_0x31ba19=join(_0x5091e1,_0x270856(0x23b)+String(_0x1c0fff)['padStart'](0x6,'0')+'.jpg'),_0x35fd30=writeFile(_0x31ba19,Buffer[_0x270856(0x24b)](_0x4ab15b['data'],_0x22a89a[_0x270856(0x1df)]))[_0x270856(0x2b4)](()=>undefined)['finally'](()=>_0x462181[_0x270856(0x2b6)]('Page.screencastFrameAck',{'sessionId':_0x4ab15b[_0x270856(0x1fc)]}))[_0x270856(0x298)](()=>undefined)['catch'](()=>undefined);this[_0x270856(0x277)]['push'](_0x35fd30);}),await _0x462181[_0x209f27(0x2b6)]('Page.startScreencast',{'format':_0x22a89a['KlIBE'],'quality':0x4b,'everyNthFrame':0x6}),this['screencastStarted']=!![];}async['stopScreencast'](){const _0x1afb14=_0x2539ac,_0x358113={'pzwRi':_0x1afb14(0x27f)};if(!this[_0x1afb14(0x202)]||!this['screencastStarted'])return;await this[_0x1afb14(0x202)]['send'](_0x358113['pzwRi'])[_0x1afb14(0x2b4)](()=>undefined);}['startTraceSampling'](){const _0x16c4e0=_0x2539ac;this['queueTraceSample'](),this[_0x16c4e0(0x290)]=setInterval(()=>this['queueTraceSample'](),NOVA_ARTIFACT_TRACE_SAMPLE_INTERVAL_MS);}[_0x2539ac(0x275)](){if(this['traceSampleInFlight'])return;this['traceSampleInFlight']=this['captureTraceSample']()['finally'](()=>{const _0x5960ab=_0x5833;this[_0x5960ab(0x203)]=null;});}async['stopTraceSampling'](){const _0x1cad6f=_0x2539ac,_0x2cbf5c={'Xxstm':function(_0x1136cc,_0x4830f4){return _0x1136cc(_0x4830f4);}};this[_0x1cad6f(0x290)]&&(_0x2cbf5c['Xxstm'](clearInterval,this['traceSampleTimer']),this[_0x1cad6f(0x290)]=null),await this[_0x1cad6f(0x203)]?.['catch'](()=>undefined);}async['captureTraceSample'](){const _0x29309f=_0x2539ac,_0x42b4cf={'iwbem':_0x29309f(0x26a)},_0x4cc256=this[_0x29309f(0x267)]?.[_0x29309f(0x1f2)]()[0x0];if(!_0x4cc256)return;try{await _0x4cc256[_0x29309f(0x2bc)](_0x42b4cf[_0x29309f(0x2b8)])['evaluate'](_0x3883db=>_0x3883db[_0x29309f(0x20e)],undefined,{'timeout':0x3e8}),this['traceSampleCount']++;}catch{}}async['encodeScreencastVideo'](){const _0x30587d=_0x2539ac,_0x372c56={'VfJdd':function(_0x44b23f,_0x4c0c5c){return _0x44b23f<_0x4c0c5c;},'tRhXw':function(_0x3634d4,_0xe2ea9c,_0x78697a){return _0x3634d4(_0xe2ea9c,_0x78697a);},'kyzMu':function(_0x38f09c,_0x3800ed,_0x2e61bf){return _0x38f09c(_0x3800ed,_0x2e61bf);},'hmjta':_0x30587d(0x1f3),'JYTYr':'-hide_banner','ekvUU':_0x30587d(0x256),'WcEZl':'-framerate','zGdvi':_0x30587d(0x232),'ktHoZ':_0x30587d(0x235),'iGZQt':_0x30587d(0x205),'ePAAB':_0x30587d(0x281),'gyBPG':'libvpx-vp9'};if(_0x372c56['VfJdd'](this[_0x30587d(0x263)],0x2))return null;const _0xf4c52f=await resolveFfmpegPath();if(!_0xf4c52f)return null;const _0x1b701e=join(this[_0x30587d(0x285)][_0x30587d(0x26f)],'videos');await _0x372c56['tRhXw'](mkdir,_0x1b701e,{'recursive':!![]});const _0x4640c9=_0x372c56[_0x30587d(0x244)](join,_0x1b701e,_0x372c56[_0x30587d(0x282)]);return await _0x372c56['tRhXw'](execFileAsync,_0xf4c52f,['-y',_0x372c56[_0x30587d(0x2b5)],_0x30587d(0x2a1),_0x372c56[_0x30587d(0x1eb)],_0x372c56[_0x30587d(0x2a7)],'10','-i',join(this[_0x30587d(0x1ee)](),_0x372c56[_0x30587d(0x231)]),_0x372c56[_0x30587d(0x211)],_0x372c56['iGZQt'],_0x372c56['ePAAB'],_0x372c56['gyBPG'],_0x30587d(0x242),_0x30587d(0x283),_0x4640c9]),_0x4640c9;}['getFrameDir'](){const _0x2a03fa=_0x2539ac;return join(this['params'][_0x2a03fa(0x26f)],'nova-video-frames');}}async function delay(_0x301327){await new Promise(_0x182587=>setTimeout(_0x182587,_0x301327));}async function resolveFfmpegPath(){const _0x19c885=_0x2539ac,_0x27b5bd={'rwJfG':'ffmpeg','JEzvB':function(_0x120200,_0x594266,_0x34f507,_0x413967,_0x4f04db){return _0x120200(_0x594266,_0x34f507,_0x413967,_0x4f04db);},'XVaZV':function(_0xb5f388){return _0xb5f388();},'CqdOe':_0x19c885(0x29f),'kASDe':_0x19c885(0x248),'cHCpX':function(_0x30129b,_0x4c3c3a){return _0x30129b(_0x4c3c3a);}};if(await canRunFfmpeg('ffmpeg'))return _0x27b5bd[_0x19c885(0x291)];const _0x4637c1=[_0x27b5bd['JEzvB'](join,_0x27b5bd[_0x19c885(0x1de)](homedir),_0x19c885(0x20d),_0x19c885(0x23c),_0x27b5bd[_0x19c885(0x2a5)]),join(homedir(),_0x27b5bd['kASDe'],_0x27b5bd[_0x19c885(0x2a5)])];for(const _0x4ac1a of _0x4637c1){try{const _0x361013=await readdir(_0x4ac1a),_0x11c02e=_0x361013[_0x19c885(0x260)](_0x1ca722=>_0x1ca722[_0x19c885(0x1f1)](_0x19c885(0x204)))[_0x19c885(0x27e)]()[_0x19c885(0x2bb)]()['flatMap'](_0x5ded53=>[join(_0x4ac1a,_0x5ded53,'ffmpeg-mac'),join(_0x4ac1a,_0x5ded53,_0x19c885(0x22b)),join(_0x4ac1a,_0x5ded53,_0x19c885(0x238))]);for(const _0x2ab66c of _0x11c02e){if(await _0x27b5bd[_0x19c885(0x1f4)](canRunFfmpeg,_0x2ab66c))return _0x2ab66c;}}catch{}}return null;}async function canRunFfmpeg(_0x347624){const _0x69b945=_0x2539ac,_0x2f030a={'jDIhK':'-version'};try{return await execFileAsync(_0x347624,[_0x2f030a[_0x69b945(0x2ab)]]),!![];}catch{return![];}}function toStepDisplayName(_0x463953){const _0x11fb2c=_0x2539ac,_0x43e379=basename(_0x463953)['replace'](/\.(?:png|ya?ml)$/i,'')['replace'](/^key_/i,'')[_0x11fb2c(0x229)](/^\d+_/,'')['replace'](/-/g,'\x20');return{'name':_0x43e379,'isKeyStep':/^key_/i['test'](basename(_0x463953))};}function extractShellValue(_0xca8de){if(!_0xca8de)return null;return _0xca8de[0x1]??_0xca8de[0x2]??_0xca8de[0x3]??null;}function extractOutputOption(_0x52950f){const _0x20345a=_0x2539ac;return extractShellValue(_0x52950f[_0x20345a(0x253)](/--output(?:=|\s+)(?:"([^"]+)"|'([^']+)'|(\S+))/));}function formatNovaActCliLog(_0x4856e8,_0x81daf3){const _0x35866f=_0x2539ac,_0x42b907={'Uknrk':_0x35866f(0x21d),'sXBKH':_0x35866f(0x218),'UCZYg':'goto','JSVCU':_0x35866f(0x1fe),'farkY':'wait-for','WHxwt':'wait\x20for\x20page\x20condition','Mhezn':function(_0x2f1fee,_0x1418f9){return _0x2f1fee(_0x1418f9);},'BRrPT':_0x35866f(0x251),'MYpxg':_0x35866f(0x240),'LfFLU':'export\x20Nova\x20session'};switch(_0x81daf3){case _0x42b907[_0x35866f(0x21e)]:return _0x35866f(0x1e7);case _0x35866f(0x247):return _0x35866f(0x230);case _0x35866f(0x200):return _0x42b907['sXBKH'];case _0x35866f(0x2aa):return'ask\x20page\x20question';case _0x42b907[_0x35866f(0x270)]:return _0x42b907['JSVCU'];case _0x42b907['farkY']:return _0x42b907['WHxwt'];case'snapshot':{const _0x5db3b4=extractOutputOption(_0x4856e8);if(!_0x5db3b4)return _0x35866f(0x24e);const {name:_0x2f7db3}=_0x42b907['Mhezn'](toStepDisplayName,_0x5db3b4);return _0x35866f(0x2ad)+_0x2f7db3+'`';}case _0x42b907['BRrPT']:{const _0x346cb4=extractOutputOption(_0x4856e8);if(!_0x346cb4)return _0x35866f(0x274);const {name:_0x343b00,isKeyStep:_0x170d92}=toStepDisplayName(_0x346cb4);return _0x170d92?_0x35866f(0x1db)+_0x343b00+'`':_0x35866f(0x284)+_0x343b00+'`';}case _0x42b907['MYpxg']:return _0x42b907['LfFLU'];default:return _0x81daf3;}}function getNovaActCliCommandBlockReason(_0x16e30f){const _0x26795a=_0x2539ac,_0x2aa016={'RAPCw':function(_0x2a723c,_0x470668){return _0x2a723c(_0x470668);},'xYkvk':'Use\x20only\x20the\x20provided\x20Nova\x20browser\x20command\x20prefix\x20for\x20browser\x20verification.\x20Do\x20not\x20inspect\x20setup,\x20credentials,\x20files,\x20or\x20the\x20local\x20environment.','UXoOM':_0x26795a(0x200),'hPueP':'Evaluate\x20visited-page\x20aggregate\x20requirements\x20from\x20the\x20collected\x20URLs,\x20titles,\x20headings,\x20verify\x20results,\x20and\x20screenshots.\x20Do\x20not\x20run\x20another\x20browser\x20command\x20to\x20re-check\x20pages\x20already\x20visited.'},_0x203484=_0x2aa016['RAPCw'](parseNovaActCliCommand,_0x16e30f);if(!_0x203484)return _0x2aa016['xYkvk'];if(!NOVA_ACT_ALLOWED_AGENT_COMMANDS[_0x26795a(0x1f7)](_0x203484))return _0x26795a(0x2b2)+_0x203484+'`\x20is\x20reserved\x20for\x20the\x20host.\x20Use\x20only\x20session\x20create,\x20execute,\x20verify,\x20ask,\x20goto,\x20wait-for,\x20snapshot,\x20and\x20screenshot.';if(_0x203484===_0x2aa016[_0x26795a(0x1e0)]&&/\b(?:previously visited|visited pages|pages visited|at least one of the pages visited)\b/i['test'](_0x16e30f))return _0x2aa016['hPueP'];if(/\s--help\b|\bdoctor\b|\bscript\b|\bsession\s+(?:close|list|export)\b/['test'](_0x16e30f))return'Do\x20not\x20run\x20Nova\x20help,\x20doctor,\x20script,\x20session\x20list,\x20session\x20export,\x20or\x20session\x20close\x20commands\x20during\x20verification.';return null;}function buildFeedbackSection(_0x4d60c3){const _0x10d515=_0x2539ac,_0x19b40f={'xuBsY':_0x10d515(0x289),'gOOoF':_0x10d515(0x28d),'Ydtwo':_0x10d515(0x1e2),'KOzHr':'Reviewer','CiioT':'\x20>\x20','HrCDz':_0x10d515(0x1f6)};if(!_0x4d60c3||_0x4d60c3[_0x10d515(0x276)]['length']===0x0)return'';const _0x53dffb=_0x4d60c3[_0x10d515(0x276)][_0x10d515(0x292)](_0x4748c1=>{const _0x2c6743=_0x10d515,_0x476f47=new Date(_0x4748c1[_0x2c6743(0x2c1)])['toLocaleDateString'](_0x19b40f['xuBsY'],{'month':_0x19b40f['gOOoF'],'day':_0x19b40f['Ydtwo']}),_0x48ba3e=_0x4748c1[_0x2c6743(0x21f)]||_0x4748c1['authorEmail']||_0x19b40f[_0x2c6743(0x228)],_0x2ad7f9=_0x4748c1[_0x2c6743(0x1e6)]?_0x2c6743(0x1da)+(_0x4748c1[_0x2c6743(0x1e6)]['selector']['split'](_0x19b40f[_0x2c6743(0x262)])[_0x2c6743(0x1fd)]()?.[_0x2c6743(0x2b0)](':')[0x0]||_0x19b40f['HrCDz'])+'>\x20\x22'+(_0x4748c1[_0x2c6743(0x1e6)]['textContent']||'')[_0x2c6743(0x264)](0x0,0x32)+'\x22)':'';return'-\x20['+_0x4748c1['id']+_0x2c6743(0x2a9)+_0x48ba3e+_0x2c6743(0x1ef)+_0x476f47+'):\x20\x22'+_0x4748c1[_0x2c6743(0x1dc)]+'\x22'+_0x2ad7f9;})['join']('\x0a');return _0x10d515(0x227)+_0x53dffb;}function _0x436f(){const _0x471132=['screenshot','SBqnT','match','03_final-state.png','dwZOu','error','trackPhaseStart','JFbxo','canonicalFlow','YYQQN','allSettled','args','pjCbV','keys','stderr','filter','telemetry','CiioT','frameCount','slice','close','PostToolUse','context','FAicx','startAttempted','body','env','Bash','description','nova-session-export.json','cliArtifactDir','UCZYg','Unable\x20to\x20read\x20Nova\x20session\x20metadata\x20at\x20','UyDzl','values','capture\x20screenshot','queueTraceSample','unaddressedComments','frameWrites','stop','stdout','nova_act_session_close','19206chMmuR','ibKZc','traceSampleCount','sort','Page.stopScreencast','tool_name','-c:v','hmjta','yuv420p','capture\x20step\x20`','params','`.\x0a7.\x20Optimize\x20for\x20few\x20browser\x20round\x20trips.\x20Each\x20Nova\x20CLI\x20call\x20has\x20high\x20latency.\x0a8.\x20Use\x203-5\x20high-level\x20`execute`\x20commands\x20total.\x20Each\x20`execute`\x20should\x20contain\x202-5\x20concrete\x20browser\x20steps\x20and\x20should\x20drive\x20to\x20the\x20next\x20milestone\x20page.\x0a9.\x20Do\x20not\x20split\x20a\x20simple\x20navigation\x20into\x20separate\x20commands\x20like\x20\x22open\x20menu\x22,\x20then\x20\x22click\x20link\x22,\x20then\x20\x22screenshot\x22.\x20Batch\x20those\x20into\x20one\x20`execute`\x20when\x20the\x20target\x20is\x20clear.\x0a10.\x20Do\x20not\x20use\x20`ask`\x20unless\x20you\x20are\x20genuinely\x20stuck\x20or\x20need\x20to\x20disambiguate\x20visible\x20page\x20content.\x20Prefer\x20reading\x20the\x20output\x20from\x20`execute`,\x20`snapshot`,\x20and\x20`verify`.\x0a11.\x20Use\x20`verify`\x20only\x20at\x20milestone\x20pages\x20that\x20map\x20directly\x20to\x20scenario\x20requirements.\x20Do\x20not\x20verify\x20after\x20every\x20click.\x0a12.\x20Take\x20screenshots\x20for\x20each\x20scenario\x20milestone\x20so\x20every\x20verified\x20step\x20has\x20reviewable\x20image\x20evidence,\x20including\x20the\x20final\x20state.\x20Avoid\x20duplicate\x20screenshots\x20of\x20the\x20same\x20unchanged\x20page.\x0a13.\x20After\x20the\x20required\x20initial\x20snapshot,\x20do\x20not\x20take\x20separate\x20milestone\x20snapshots\x20unless\x20you\x20cannot\x20understand\x20the\x20page\x20from\x20the\x20`execute`,\x20`verify`,\x20and\x20screenshot\x20outputs.\x0a14.\x20Mark\x20the\x20most\x20important\x20proof\x20screenshot\x20with\x20`key_`,\x20for\x20example\x20`','757766fmPbnv','hook_event_name','en-US','nova_act_artifact_recording','3584370JuzbBs','2846876KIisYp','short','.json','nova-user-data/*','traceSampleTimer','rwJfG','map','stopped','\x0a-\x20You\x20may\x20ONLY\x20navigate\x20to\x20paths\x20under\x20this\x20base\x20URL\x27s\x20origin.\x0a-\x20Do\x20not\x20navigate\x20to\x20any\x20different\x20protocol,\x20host,\x20or\x20port.\x0a-\x20If\x20the\x20browser\x20leaves\x20this\x20origin,\x20navigate\x20back\x20once.\x20If\x20you\x20cannot\x20recover,\x20return\x20evaluation\x20\x22blocked\x22.\x0a','utf-8','readSessionMetadataWithRetry','get','then','nova_act_artifact_recording_stop','nova_act_command_failure','trace.zip','yadrw','XCvPE','00_initial-state.yml','ms-playwright','phase','-loglevel','Page.screencastFrame','nova_act_final_screenshot','\x20session\x20create\x20','CqdOe','kEBIf','WcEZl','startScreencast',']\x20**','ask','jDIhK','sVYOA','capture\x20snapshot\x20`','IqxNT','6hYKZGz','split','pzFaE','Nova\x20command\x20`','Nova\x20CDP\x20connection\x20did\x20not\x20expose\x20a\x20browser\x20context','catch','JYTYr','send','trackPhaseError','iwbem','nova_act_session_export','\x0a\x0a##\x20Task\x20to\x20Execute\x0a','reverse','locator','YfnPb','startTraceSampling','4390vuCcSR','trim','createdAt','8649370kcLMXc','parse','start','\x20(on\x20element:\x20<','capture\x20key\x20step\x20`','content','\x20screenshot\x20--output\x20','XVaZV','tAMFi','UXoOM','goto','numeric','\x20snapshot\x20--output\x20','wait-for','now','domRef','create\x20Nova\x20browser\x20session','--output','stopTraceSampling','GVTWw','ekvUU','dDUxs','Nfzkm','getFrameDir','**\x20(','nova-report','startsWith','pages','session-recording.webm','cHCpX','3RApeOP','element','has','name','yKCWX','set','oKWgI','sessionId','pop','navigate\x20browser','final-state.yaml','verify','zip','frameSession','traceSampleInFlight','ffmpeg-','scale=trunc(iw/2)*2:trunc(ih/2)*2','755128viIetl','EXyWb','trackPhaseEnd','[nova-act-cli]\x20','screencastStarted','\x20execute\x20\x221.\x20Open\x20the\x20account\x20settings\x20menu.\x202.\x20Click\x20Billing.\x203.\x20Wait\x20for\x20the\x20Billing\x20page\x20to\x20load.\x22\x20','tool_input','Library','tagName','transportMetadata','browser','ktHoZ','Vncof','SGiQb','5571291pCxZTY','`.\x0a6.\x20Take\x20an\x20initial\x20screenshot:\x20`','pOHHT','log','verify\x20page\x20condition','`\x0a\x0a##\x20Screenshot\x20Guidelines\x0aTake\x20screenshots\x20at\x20scenario\x20milestones\x20so\x20a\x20human\x20can\x20review\x20each\x20completed\x20step\x20and\x20the\x20final\x20state.\x20Use\x20numbered\x20filenames\x20and\x20prefix\x201-2\x20key\x20proof\x20screenshots\x20with\x20`key_`.\x20Avoid\x20duplicate\x20screenshots\x20of\x20the\x20same\x20unchanged\x20page\x20when\x20an\x20existing\x20verifier\x20screenshot\x20or\x20host\x20final\x20screenshot\x20is\x20accessible.\x0a\x0a##\x20Snapshot\x20Guidelines\x0aYou\x20must\x20take\x20the\x20initial\x20snapshot\x20listed\x20above.\x20After\x20that,\x20prefer\x20screenshots\x20plus\x20the\x20page\x20summaries\x20returned\x20by\x20`execute`\x20and\x20`verify`.\x20Only\x20call\x20`snapshot`\x20again\x20if\x20you\x20cannot\x20determine\x20the\x20next\x20action\x20or\x20evaluation\x20from\x20those\x20outputs.\x0a\x0a##\x20Early\x20Error\x20Detection\x0aAfter\x20the\x20initial\x20snapshot\x20and\x20screenshot,\x20check\x20for\x20blocking\x20HTTP\x20errors,\x20framework\x20error\x20pages,\x20blank\x20pages,\x20and\x20authentication\x20failures.\x20If\x20any\x20blocking\x20issue\x20is\x20present,\x20stop\x20and\x20return\x20evaluation\x20\x22blocked\x22\x20with\x20a\x20specific\x20reason.\x0a\x0a##\x20Failed\x20Assertions\x0aIf\x20`verify`\x20returns\x20`ASSERTION_FAILED`,\x20use\x20its\x20`actual`\x20and\x20`evidence`\x20fields\x20as\x20proof\x20for\x20the\x20final\x20evaluation.\x20Continue\x20only\x20to\x20finish\x20other\x20already-named\x20scenario\x20milestones.\x20Do\x20not\x20retry,\x20ask\x20about,\x20or\x20search\x20around\x20the\x20failed\x20condition.\x0a\x0a##\x20Final\x20Page\x20Stop\x0aWhen\x20the\x20scenario\x20names\x20a\x20final\x20page\x20or\x20final\x20navigation\x20target,\x20that\x20page\x20is\x20the\x20last\x20browser\x20milestone.\x20Once\x20it\x20is\x20loaded\x20and\x20screenshotted,\x20make\x20the\x20final\x20evaluation\x20from\x20the\x20collected\x20evidence.\x20Do\x20not\x20navigate,\x20search,\x20ask,\x20or\x20verify\x20beyond\x20that\x20final\x20page\x20unless\x20the\x20scenario\x20explicitly\x20names\x20another\x20page.\x0a\x0a##\x20Evaluation\x20Criteria\x0a-\x20VERIFIED:\x20The\x20task\x20completed\x20successfully\x20and\x20the\x20scenario\x20requirements\x20are\x20fully\x20met\x0a-\x20PARTIAL:\x20The\x20task\x20partially\x20completed\x20but\x20some\x20aspects\x20of\x20the\x20scenario\x20are\x20not\x20verified\x0a-\x20BLOCKED:\x20A\x20blocking\x20issue\x20prevents\x20completion\x0a-\x20FAILED:\x20The\x20task\x20could\x20not\x20be\x20completed\x20due\x20to\x20errors\x0a\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format\x20with\x20your\x20evaluation.','nova_act_session_report','jpeg','prrxG','session\x20create','Uknrk','authorName','\x20execute\x20\x22...\x22`\x20command\x20to\x20exercise\x20the\x20current\x20page.\x0a5.\x20Run\x20`','`\x0a3.\x20Run\x20`','-qr','vlgJH','`\x0a-\x20`','35zAjqhR','Append\x20this\x20option\x20suffix\x20to\x20every\x20browser\x20command\x20unless\x20the\x20host\x20gives\x20a\x20more\x20specific\x20example:\x0a','\x0a\x0a##\x20Reviewer\x20Feedback\x20to\x20Address\x0aThe\x20following\x20reviewer\x20comments\x20were\x20left\x20on\x20the\x20previous\x20version\x20of\x20this\x20item.\x0aVerify\x20that\x20each\x20concern\x20has\x20been\x20addressed\x20in\x20the\x20current\x20implementation.\x0aFor\x20each\x20comment\x20you\x20believe\x20has\x20been\x20addressed,\x20include\x20its\x20ID\x20in\x20addressedCommentIds.\x0a\x0a','KOzHr','replace','commandArgs','ffmpeg-linux','fcQlD','12mXIfUd','stopScreencast','shellCommand','execute\x20Nova\x20browser\x20action','zGdvi','frame-%06d.jpg','dHQAe','nova-act-cli','-vf','YBpxt','lcKaL','ffmpeg.exe','OJjPG','ztDwN','frame-','Caches','iHCFr','ZoFgs','--output-dir','session\x20export','notes','-pix_fmt','.act_cli','kyzMu','EuUEi','subcommand','execute','.cache','contexts','--format','from','tracingStarted','Nova\x20metadata\x20missing\x20cdp_endpoint\x20at\x20','capture\x20snapshot','ybmCb','novaOptions'];_0x436f=function(){return _0x471132;};return _0x436f();}function buildNovaSharedOptionsInstruction(_0x480138){const _0x3e99f3=_0x2539ac;if(!_0x480138[_0x3e99f3(0x2c0)]())return'The\x20command\x20prefix\x20already\x20injects\x20session,\x20auth,\x20region,\x20workflow,\x20user-data,\x20headless,\x20and\x20JSON\x20options.\x0aDo\x20not\x20run\x20raw\x20`act\x20browser`.\x20Do\x20not\x20add\x20`--auth-mode`,\x20`--aws-profile`,\x20`--region`,\x20`--workflow-name`,\x20`--session-id`,\x20`--user-data-dir`,\x20`--headless`,\x20or\x20`--headed`\x20yourself.';return _0x3e99f3(0x226)+_0x480138;}export function buildVerifyFeatureNovaCliDebugPrompt(_0x52be69){const _0x52baff=_0x2539ac,_0x43255c={'JFbxo':function(_0x2244e5,_0x296165,_0x28312a){return _0x2244e5(_0x296165,_0x28312a);},'tyTJU':_0x52baff(0x29e),'OJjPG':'01_initial-state.png','ztDwN':function(_0x4c4f5a,_0x666e9e,_0x21610d){return _0x4c4f5a(_0x666e9e,_0x21610d);},'CqoiV':_0x52baff(0x254),'CdAaE':function(_0x45295c,_0x248fd4){return _0x45295c(_0x248fd4);},'YBpxt':function(_0x2f9900,_0x1a3706){return _0x2f9900(_0x1a3706);}},{novaCommandPrefix:_0x20ff40,novaSharedOptionsSuffix:_0x3fb7db,cliArtifactDir:_0x130b16,url:_0x4496e3}=_0x52be69,_0x2dc145=_0x43255c[_0x52baff(0x258)](buildCliArtifactPath,_0x130b16,_0x43255c['tyTJU']),_0xd07e45=buildCliArtifactPath(_0x130b16,_0x43255c[_0x52baff(0x239)]),_0x12abf5=_0x43255c['JFbxo'](buildCliArtifactPath,_0x130b16,'02_final-state.yml'),_0x1141b2=_0x43255c[_0x52baff(0x23a)](buildCliArtifactPath,_0x130b16,_0x43255c['CqoiV']);return'You\x20are\x20testing\x20Nova\x20Act\x20browser\x20automation.\x20Your\x20task\x20is\x20simple.\x0a\x0aUse\x20Bash\x20and\x20Nova\x20Act\x20CLI\x20only.\x20The\x20browser\x20command\x20prefix\x20is:\x0a'+_0x20ff40+'\x0a\x0a'+_0x43255c['CdAaE'](buildNovaSharedOptionsInstruction,_0x3fb7db)+'\x0a\x0aThe\x20act\x20CLI\x20is\x20already\x20installed\x20and\x20available\x20on\x20PATH.\x20Do\x20not\x20search\x20the\x20filesystem\x20for\x20Nova,\x20install\x20packages,\x20inspect\x20docs,\x20or\x20run\x20setup.\x20Your\x20first\x20Bash\x20command\x20must\x20be\x20the\x20session\x20create\x20command\x20below.\x0a\x0a1.\x20Run\x20`'+_0x20ff40+'\x20session\x20create\x20'+quoteShellArg(_0x4496e3)+'\x20'+_0x3fb7db+'`\x0a2.\x20Run\x20`'+_0x20ff40+'\x20snapshot\x20--output\x20'+_0x43255c[_0x52baff(0x236)](quoteShellArg,_0x2dc145)+'\x20'+_0x3fb7db+_0x52baff(0x221)+_0x20ff40+'\x20screenshot\x20--output\x20'+quoteShellArg(_0xd07e45)+'\x20'+_0x3fb7db+'`\x0a4.\x20Run\x20one\x20batched\x20`'+_0x20ff40+_0x52baff(0x220)+_0x20ff40+_0x52baff(0x1e3)+_0x43255c[_0x52baff(0x236)](quoteShellArg,_0x12abf5)+'\x20'+_0x3fb7db+'`\x0a6.\x20Run\x20`'+_0x20ff40+_0x52baff(0x1dd)+_0x43255c[_0x52baff(0x236)](quoteShellArg,_0x1141b2)+'\x20'+_0x3fb7db+'`\x0a7.\x20Return\x20immediately\x20with\x20the\x20structured\x20output.\x0a\x0aSave\x20every\x20artifact\x20under\x20`'+_0x130b16+'`\x20using\x20absolute\x20paths\x20only.\x0aReturn\x20your\x20findings\x20in\x20the\x20structured\x20output\x20format.';}export function buildVerifyFeatureNovaCliPrompt(_0x214b5c){const _0x956ce1=_0x2539ac,_0xbd1481={'djPUx':function(_0xe41321,_0x14d6c4){return _0xe41321(_0x14d6c4);},'yadrw':'01_initial.yml','eUEmg':'key_03_success-state.png','YfnPb':function(_0x4fbd53,_0x4eff7f){return _0x4fbd53(_0x4eff7f);}},{checklistItem:_0x3a0293,itemFeedback:_0xd9f674,taskDescription:_0x502e87,novaCommandPrefix:_0x4ecb9f,novaSharedOptionsSuffix:_0x57b35e,cliArtifactDir:_0x25d2fb,url:_0x222507,loginInstructions:_0x4f8573}=_0x214b5c,_0x5ec498=_0x3a0293[_0x956ce1(0x241)]?'\x0a\x0a##\x20Additional\x20Notes\x0a'+_0x3a0293['notes']:'',_0x446025=_0xbd1481['djPUx'](buildFeedbackSection,_0xd9f674),_0x57d672=_0xd9f674?.[_0x956ce1(0x259)]?'\x0a\x0a##\x20Expected\x20Flow\x20(from\x20previous\x20verification)\x0a'+_0xd9f674['canonicalFlow']:'',_0x206b65=_0x4f8573?'\x0a\x0a##\x20Authentication\x0aBEFORE\x20starting\x20the\x20verification\x20task,\x20authenticate\x20using\x20these\x20steps:\x0a'+_0x4f8573+'\x0a\x0aIf\x20authentication\x20fails,\x20return\x20evaluation\x20\x22blocked\x22\x20and\x20describe\x20the\x20auth\x20failure.':'',_0x46c7ee=buildCliArtifactPath(_0x25d2fb,_0xbd1481[_0x956ce1(0x29c)]),_0x466504=buildCliArtifactPath(_0x25d2fb,'01_initial-state.png'),_0x2ec1b5=buildCliArtifactPath(_0x25d2fb,_0xbd1481['eUEmg']);return'You\x20are\x20a\x20Feature\x20Review\x20Verifier.\x20Your\x20job\x20is\x20to\x20verify\x20a\x20scenario\x20by\x20executing\x20a\x20UI\x20flow\x20and\x20evaluating\x20whether\x20it\x20adequately\x20completes\x20the\x20scenario.\x0a\x0a##\x20Scenario\x20to\x20Verify\x0a'+_0x3a0293[_0x956ce1(0x26d)]+_0x5ec498+_0x446025+_0x57d672+_0x956ce1(0x2ba)+_0x502e87+'\x0a\x0a##\x20App\x20Context\x0aYour\x20base\x20URL\x20is:\x20'+_0x222507+_0x956ce1(0x294)+_0x206b65+'\x0a\x0a##\x20Instructions\x0a1.\x20Use\x20Bash\x20plus\x20Nova\x20Act\x20CLI\x20only.\x20Do\x20not\x20call\x20MCP\x20browser\x20tools.\x0a2.\x20The\x20act\x20CLI\x20is\x20already\x20installed\x20and\x20available\x20through\x20the\x20browser\x20command\x20prefix\x20below.\x20Do\x20not\x20search\x20the\x20filesystem\x20for\x20Nova,\x20install\x20packages,\x20inspect\x20docs,\x20check\x20AWS/auth\x20status,\x20read\x20env\x20files,\x20run\x20setup,\x20or\x20call\x20raw\x20`act\x20browser`.\x0a3.\x20Your\x20first\x20Bash\x20command\x20must\x20be\x20`'+_0x4ecb9f+_0x956ce1(0x2a4)+_0xbd1481['YfnPb'](quoteShellArg,_0x222507)+'\x20'+_0x57b35e+'`.\x0a4.\x20Save\x20every\x20snapshot\x20and\x20screenshot\x20under\x20`'+_0x25d2fb+'`\x20using\x20absolute\x20paths\x20only.\x0a5.\x20Take\x20an\x20initial\x20snapshot:\x20`'+_0x4ecb9f+'\x20snapshot\x20--output\x20'+_0xbd1481[_0x956ce1(0x2bd)](quoteShellArg,_0x46c7ee)+'\x20'+_0x57b35e+_0x956ce1(0x215)+_0x4ecb9f+'\x20screenshot\x20--output\x20'+quoteShellArg(_0x466504)+'\x20'+_0x57b35e+_0x956ce1(0x286)+_0x2ec1b5+'`.\x0a15.\x20As\x20soon\x20as\x20all\x20scenario\x20requirements\x20are\x20satisfied,\x20return\x20structured\x20output\x20immediately.\x20Do\x20not\x20keep\x20exploring,\x20asking,\x20or\x20taking\x20extra\x20screenshots.\x0a16.\x20Treat\x20a\x20Nova\x20`verify`\x20result\x20with\x20`ASSERTION_FAILED`\x20as\x20useful\x20evidence,\x20not\x20as\x20a\x20tool\x20crash.\x20Do\x20not\x20retry\x20the\x20same\x20assertion\x20or\x20search\x20for\x20alternatives\x20unless\x20the\x20scenario\x20explicitly\x20asks\x20you\x20to\x20find\x20any\x20matching\x20page.\x0a17.\x20Stay\x20within\x20the\x20pages\x20and\x20flow\x20named\x20by\x20the\x20scenario.\x20If\x20a\x20required\x20condition\x20is\x20absent\x20after\x20checking\x20the\x20relevant\x20named\x20page\x20once,\x20stop\x20and\x20return\x20\x22partial\x22\x20or\x20\x22failed\x22\x20with\x20the\x20missing\x20requirement.\x20Do\x20not\x20expand\x20into\x20unrelated\x20pages\x20or\x20broad\x20site\x20searches.\x0a18.\x20After\x20you\x20reach\x20and\x20screenshot\x20the\x20final\x20named\x20scenario\x20page,\x20do\x20not\x20execute\x20more\x20browser\x20commands.\x20Evaluate\x20any\x20\x22at\x20least\x20one\x20visited\x20page\x22\x20requirement\x20from\x20the\x20pages\x20already\x20visited\x20and\x20the\x20evidence\x20already\x20collected.\x0a19.\x20Do\x20not\x20run\x20`session\x20close`,\x20`session\x20list`,\x20`session\x20export`,\x20`script`,\x20`doctor`,\x20`--help`,\x20`aws`,\x20`find`,\x20`grep`,\x20`env`,\x20`printenv`,\x20package\x20managers,\x20or\x20setup\x20commands.\x20The\x20host\x20owns\x20setup,\x20auth,\x20session\x20cleanup,\x20and\x20artifact\x20export.\x0a20.\x20The\x20host\x20also\x20captures\x20final\x20screenshots,\x20snapshots,\x20and\x20exports\x20after\x20you\x20finish,\x20but\x20every\x20scenario\x20milestone\x20still\x20needs\x20an\x20accessible\x20screenshot.\x20If\x20the\x20last\x20milestone\x20is\x20the\x20final\x20browser\x20state\x20and\x20you\x20have\x20already\x20captured\x20it,\x20you\x20do\x20not\x20need\x20a\x20duplicate\x20final\x20screenshot.\x0a21.\x20Do\x20not\x20close\x20the\x20Nova\x20session.\x20The\x20host\x20exports\x20artifacts\x20after\x20you\x20finish.\x0a22.\x20The\x20structured\x20output\x20is\x20your\x20final\x20response.\x20After\x20returning\x20it,\x20do\x20not\x20write\x20a\x20separate\x20markdown\x20summary\x20or\x20repeat\x20the\x20findings.\x0a\x0a##\x20Browser\x20Command\x20Reference\x0aUse\x20Bash\x20to\x20run\x20Nova\x20Act\x20CLI\x20commands\x20with\x20this\x20prefix:\x0a`'+_0x4ecb9f+'`\x0a\x0aAppend\x20this\x20option\x20suffix\x20to\x20browser\x20commands:\x0a'+(_0x57b35e[_0x956ce1(0x2c0)]()?'`'+_0x57b35e+'`':'`<none;\x20the\x20command\x20prefix\x20injects\x20shared\x20options>`')+'\x0a\x0a'+buildNovaSharedOptionsInstruction(_0x57b35e)+'\x0a\x0aExamples:\x0a-\x20`'+_0x4ecb9f+_0x956ce1(0x20b)+_0x57b35e+'`\x0a-\x20`'+_0x4ecb9f+'\x20verify\x20\x22The\x20Billing\x20page\x20is\x20visible\x20and\x20shows\x20the\x20current\x20plan.\x22\x20'+_0x57b35e+_0x956ce1(0x224)+_0x4ecb9f+_0x956ce1(0x1e3)+_0xbd1481['YfnPb'](quoteShellArg,_0x46c7ee)+'\x20'+_0x57b35e+_0x956ce1(0x224)+_0x4ecb9f+'\x20screenshot\x20--output\x20'+quoteShellArg(_0x2ec1b5)+'\x20'+_0x57b35e+_0x956ce1(0x219);}export function summarizeVerifyFeatureNovaCliCommandAvailability(_0x3313b5){const _0x47f014=_0x2539ac,_0x17147c={'EHNkg':function(_0x443989,_0x1b3862){return _0x443989===_0x1b3862;}},_0x4034e7=[..._0x3313b5[_0x47f014(0x25e)]()][_0x47f014(0x27e)]();let _0x28c1b4=0x0;for(const _0x4e0c86 of _0x3313b5[_0x47f014(0x273)]()){_0x28c1b4+=_0x4e0c86;}return{'cliCommandCount':_0x28c1b4,'cliCommandsSeen':_0x4034e7,'noCliCommandsCalled':_0x17147c['EHNkg'](_0x28c1b4,0x0)};}export function createVerifyFeatureNovaCliHooks(_0x438e55,_0x49307a){const _0x156e99=_0x2539ac,_0x2dbb64={'IqxNT':function(_0x29c1fa,_0x3342af){return _0x29c1fa!==_0x3342af;},'IgIBF':function(_0x5a5a77,_0x34b789){return _0x5a5a77(_0x34b789);},'Nfzkm':'block','awKlD':_0x156e99(0x266),'MAtiM':function(_0x15eeb7,_0x34e65f){return _0x15eeb7(_0x34e65f);},'ucPeY':function(_0x2ab685,_0x235991){return _0x2ab685+_0x235991;},'Yzfzs':'nova_act_command','dHQAe':function(_0x210d42,_0x18320f){return _0x210d42===_0x18320f;},'HVHLt':_0x156e99(0x28a),'FAicx':_0x156e99(0x234),'iHCFr':'PostToolUseFailure'},_0x272a91=new Map(),_0x4faec4=async _0x4df169=>{const _0x5e22b0=_0x156e99;if(_0x2dbb64[_0x5e22b0(0x2ae)](_0x4df169[_0x5e22b0(0x288)],'PreToolUse'))return{};const _0x406084=_0x4df169;if(_0x2dbb64['IqxNT'](_0x406084[_0x5e22b0(0x280)],'Bash'))return{};const _0x555fac=_0x406084[_0x5e22b0(0x20c)],_0x5b0e5e=_0x2dbb64['IgIBF'](extractBashCommand,_0x555fac);if(!_0x5b0e5e)return{};const _0x4a79c1=_0x2dbb64['IgIBF'](getNovaActCliCommandBlockReason,_0x5b0e5e);if(!_0x4a79c1)return{};return{'decision':_0x2dbb64[_0x5e22b0(0x1ed)],'reason':_0x4a79c1};},_0x3f9712=async _0xd9bcba=>{const _0x167e25=_0x156e99;if(_0xd9bcba['hook_event_name']!==_0x2dbb64['awKlD'])return{};const _0x3a6d7d=_0xd9bcba;if(_0x3a6d7d[_0x167e25(0x280)]!==_0x167e25(0x26c))return{};const _0x1b6b47=_0x3a6d7d[_0x167e25(0x20c)],_0x4dffb4=_0x2dbb64['MAtiM'](extractBashCommand,_0x1b6b47);if(!_0x4dffb4)return{};const _0x2be4fa=parseNovaActCliCommand(_0x4dffb4);if(!_0x2be4fa)return{};_0x272a91[_0x167e25(0x1fa)](_0x2be4fa,_0x2dbb64['ucPeY'](_0x272a91[_0x167e25(0x297)](_0x2be4fa)||0x0,0x1)),_0x438e55[_0x167e25(0x257)]('nova_act_command',{'subcommand':_0x2be4fa}),_0x438e55[_0x167e25(0x208)](_0x2dbb64['Yzfzs'],{'subcommand':_0x2be4fa,'commandPreview':previewNovaActCliCommand(_0x4dffb4)}),console[_0x167e25(0x217)](_0x167e25(0x209)+formatNovaActCliLog(_0x4dffb4,_0x2be4fa));if(_0x2dbb64[_0x167e25(0x233)](_0x2be4fa,_0x167e25(0x21d))&&_0x49307a)try{await _0x49307a[_0x167e25(0x1d9)]();}catch(_0x1e7986){await _0x438e55[_0x167e25(0x2b7)](_0x2dbb64['HVHLt'],_0x1e7986,{'transport':_0x2dbb64[_0x167e25(0x268)]});}return{};},_0x138905=async _0x571993=>{const _0x677ef4=_0x156e99;if(_0x571993['hook_event_name']!==_0x2dbb64[_0x677ef4(0x23d)])return{};const _0x5a77b7=_0x571993;if(_0x5a77b7[_0x677ef4(0x280)]!==_0x677ef4(0x26c))return{};return await _0x438e55['trackPhaseError'](_0x677ef4(0x29a),_0x5a77b7['error'],{'transport':_0x2dbb64['FAicx'],'toolName':_0x677ef4(0x26c)}),{};};return{'preToolUseHook':_0x4faec4,'postToolUseHook':_0x3f9712,'postToolUseFailureHook':_0x138905,'commandCounts':_0x272a91};}async function runNovaLifecycleCommand(_0x176c00){const _0x305924=_0x2539ac,_0x44b949={'fcQlD':function(_0x3da59f,_0x159a8b){return _0x3da59f(_0x159a8b);},'vlgJH':function(_0x19f1e7,_0xa1ef38){return _0x19f1e7(_0xa1ef38);}},{novaOptions:_0x4979de,commandArgs:_0x31ecd7,telemetry:_0x1665eb,phase:_0x198d03,metadata:_0x459043,timeoutMs:_0x1decba}=_0x176c00;_0x1665eb[_0x305924(0x257)](_0x198d03,_0x459043);try{const _0x3fa560=await _0x44b949[_0x305924(0x22c)](runNovaActCliCommand,{..._0x4979de,'commandArgs':_0x31ecd7,'cwd':process['cwd'](),'env':process[_0x305924(0x26b)],'timeoutMs':_0x1decba??NOVA_ACT_CLI_COMMAND_TIMEOUT_MS});_0x1665eb['trackPhaseEnd'](_0x198d03,{..._0x459043,'subcommand':_0x3fa560['invocation'][_0x305924(0x246)],'commandPreview':_0x44b949[_0x305924(0x223)](previewNovaActCliCommand,_0x3fa560['invocation'][_0x305924(0x22f)]),'stdoutPreview':previewNovaActCliCommand(_0x3fa560[_0x305924(0x279)]),'stderrPreview':previewNovaActCliCommand(_0x3fa560[_0x305924(0x25f)]),'logDir':extractNovaActLogDir(_0x3fa560[_0x305924(0x279)])});}catch(_0x305110){await _0x1665eb['trackPhaseError'](_0x198d03,_0x305110,_0x459043);throw _0x305110;}}export async function finalizeVerifyFeatureNovaCliSession(_0x3dd6c9){const _0x1a8a57=_0x2539ac,_0x428180={'YYQQN':'screenshot','XCvPE':_0x1a8a57(0x1e8),'pzFaE':function(_0x56f02c,_0x3a6c8e,_0x137e1a){return _0x56f02c(_0x3a6c8e,_0x137e1a);},'SBqnT':'key_final-state.png','Vncof':'nova_act_final_snapshot','fQcoj':'snapshot','NHeYL':_0x1a8a57(0x1ff),'sVYOA':_0x1a8a57(0x2b9),'kEBIf':'session','ZoFgs':'export','ibKZc':_0x1a8a57(0x24a),'KXfrj':_0x1a8a57(0x21a),'GVTWw':_0x1a8a57(0x1f0),'pOHHT':_0x1a8a57(0x27a),'EXyWb':_0x1a8a57(0x265),'obMCD':function(_0x24ede0,_0x585fbe){return _0x24ede0===_0x585fbe;}},{telemetry:_0x3eef3f,novaOptions:_0x174c00,cliArtifactDir:_0x39a36f,transportMetadata:_0x1e5db7,artifactRecorder:_0x3abff9}=_0x3dd6c9,_0xde24d5=[{'phase':_0x1a8a57(0x2a3),'commandArgs':[_0x428180[_0x1a8a57(0x25a)],_0x428180[_0x1a8a57(0x29d)],_0x428180['pzFaE'](buildCliArtifactPath,_0x39a36f,_0x428180[_0x1a8a57(0x252)])]},{'phase':_0x428180[_0x1a8a57(0x212)],'commandArgs':[_0x428180['fQcoj'],_0x428180['XCvPE'],buildCliArtifactPath(_0x39a36f,_0x428180['NHeYL'])]},{'phase':_0x428180[_0x1a8a57(0x2ac)],'commandArgs':[_0x428180[_0x1a8a57(0x2a6)],_0x428180[_0x1a8a57(0x23e)],_0x428180[_0x1a8a57(0x27c)],'json',_0x428180['XCvPE'],buildCliArtifactPath(_0x39a36f,_0x1a8a57(0x26e))]},{'phase':_0x428180['KXfrj'],'commandArgs':['session','export','--report',_0x1a8a57(0x23f),_0x428180[_0x1a8a57(0x2b1)](buildCliArtifactPath,_0x39a36f,_0x428180[_0x1a8a57(0x1ea)])]},{'phase':_0x428180[_0x1a8a57(0x216)],'commandArgs':[_0x428180[_0x1a8a57(0x2a6)],_0x428180[_0x1a8a57(0x207)]]}];for(const _0x293eb9 of _0xde24d5){_0x428180['obMCD'](_0x293eb9[_0x1a8a57(0x2a0)],_0x428180[_0x1a8a57(0x216)])&&await _0x3abff9?.[_0x1a8a57(0x278)]();try{await runNovaLifecycleCommand({'novaOptions':_0x174c00,'commandArgs':[..._0x293eb9[_0x1a8a57(0x22a)]],'telemetry':_0x3eef3f,'phase':_0x293eb9[_0x1a8a57(0x2a0)],'metadata':_0x1e5db7});}catch{}}}export async function harvestVerifyFeatureNovaCliArtifacts(_0x5717c1){const _0x366c42=_0x2539ac,_0x486bb5={'SGiQb':function(_0x5c39fa,_0x18c958,_0xf6d9f4){return _0x5c39fa(_0x18c958,_0xf6d9f4);},'OfGeq':function(_0x58296c,_0x380269){return _0x58296c(_0x380269);},'axrTl':function(_0x3ddd92,_0x35f0d7){return _0x3ddd92+_0x35f0d7;},'lcKaL':function(_0x273e67,_0x3a6233){return _0x273e67===_0x3a6233;}},{cwd:_0x132015,cliArtifactDir:_0x133a65,startTime:_0x25a39c}=_0x5717c1,_0x433b79=[];await mkdir(_0x133a65,{'recursive':!![]});const _0x52f14b=await readdir(_0x132015,{'withFileTypes':!![]});for(const _0x1f6b48 of _0x52f14b){if(!_0x1f6b48['isFile']()||!VERIFY_FEATURE_NOVA_ARTIFACT_FILE_PATTERN['test'](_0x1f6b48[_0x366c42(0x1f8)]))continue;const _0x1e418f=_0x486bb5['SGiQb'](join,_0x132015,_0x1f6b48['name']),_0x319fe3=await _0x486bb5['OfGeq'](stat,_0x1e418f);if(_0x486bb5['axrTl'](_0x319fe3['mtimeMs'],0x7d0)<_0x25a39c)continue;const _0x1f7aed=_0x486bb5['SGiQb'](buildCliArtifactPath,_0x133a65,_0x1f6b48[_0x366c42(0x1f8)]);if(_0x486bb5[_0x366c42(0x237)](_0x1e418f,_0x1f7aed))continue;await _0x486bb5[_0x366c42(0x213)](rename,_0x1e418f,_0x1f7aed),_0x433b79['push'](_0x1f6b48[_0x366c42(0x1f8)]);}return _0x433b79[_0x366c42(0x27e)]();}export async function loadVerifyFeatureNovaTraceUploadArtifact(_0x4e0e4e){const _0x106eaf={'DwDQk':function(_0x5317b2,_0x3e0161,_0x38a014){return _0x5317b2(_0x3e0161,_0x38a014);},'KuxgC':'trace.zip'},_0x5a73b7=_0x106eaf['DwDQk'](join,_0x4e0e4e,_0x106eaf['KuxgC']);try{return{'buffer':await readFile(_0x5a73b7),'source':_0x5a73b7};}catch{return{'buffer':await zipVerifyFeatureNovaArtifacts(_0x4e0e4e),'source':_0x4e0e4e};}}async function zipVerifyFeatureNovaArtifacts(_0x3ed24a){const _0x51afe9=_0x2539ac,_0x127d8e={'prrxG':function(_0x21d25d,_0x7a2c80,_0x2f849b,_0x1ea522){return _0x21d25d(_0x7a2c80,_0x2f849b,_0x1ea522);},'Ijocp':function(_0x111202,_0x3c3c13,_0x4ce1ce,_0x46ba44){return _0x111202(_0x3c3c13,_0x4ce1ce,_0x46ba44);},'jnTPY':_0x51afe9(0x222),'ubRdE':_0x51afe9(0x28f),'ybmCb':function(_0x178914,_0xcf6107,_0x2a9dc1){return _0x178914(_0xcf6107,_0x2a9dc1);}},_0x5be1fa=_0x127d8e[_0x51afe9(0x21c)](join,_0x3ed24a,'..','nova-artifacts.zip');try{return await _0x127d8e['Ijocp'](execFileAsync,_0x51afe9(0x201),[_0x127d8e['jnTPY'],_0x5be1fa,'.','-x',_0x127d8e['ubRdE']],{'cwd':_0x3ed24a}),await readFile(_0x5be1fa);}finally{await _0x127d8e[_0x51afe9(0x24f)](rm,_0x5be1fa,{'force':!![]});}}export function buildNovaActCliDiagnostics(_0x47f97a){const _0x23cb45=_0x2539ac,_0x54bb24={'oyhcG':function(_0x3a1871,_0x3908d6,_0x48e614){return _0x3a1871(_0x3908d6,_0x48e614);}},_0x265b3f=buildNovaActCliInvocation(_0x47f97a['novaOptions'],_0x47f97a['commandArgs']);return{'command':_0x265b3f['command'],'args':_0x265b3f[_0x23cb45(0x25c)],'commandPreview':previewNovaActCliCommand(_0x265b3f['shellCommand']),'subcommand':_0x265b3f[_0x23cb45(0x246)],'sharedOptionsSuffix':_0x54bb24['oyhcG'](buildNovaActCliSharedOptionsSuffix,_0x47f97a['novaOptions'],_0x47f97a[_0x23cb45(0x22a)])};}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranger-testing/ranger-cli",
3
- "version": "3.0.1-alpha.aab0a1c-26",
3
+ "version": "3.0.1-alpha.ffffb5b-28",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "ranger": "./build/cli.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "overrides": {
43
43
  "minimatch": "^10.2.3",
44
- "brace-expansion": "^5.0.5",
44
+ "brace-expansion": "^5.0.6",
45
45
  "fast-uri": "3.1.2"
46
46
  }
47
47
  }