@uipath/delegate-cli 1.208.0-preview.20261203181205 → 1.208.0-preview.20261204131406

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 (2) hide show
  1. package/dist/cli.mjs +1 -1
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x511361=_0xaca4;(function(_0x17e2d2,_0x31952f){const _0x4590fb=_0xaca4,_0x696f8b=_0x17e2d2();while(!![]){try{const _0x91707a=parseInt(_0x4590fb(0x1d6))/0x1+parseInt(_0x4590fb(0x357))/0x2+-parseInt(_0x4590fb(0x1df))/0x3+-parseInt(_0x4590fb(0x150))/0x4*(parseInt(_0x4590fb(0x24f))/0x5)+parseInt(_0x4590fb(0x20c))/0x6*(parseInt(_0x4590fb(0x2e8))/0x7)+-parseInt(_0x4590fb(0x12e))/0x8*(parseInt(_0x4590fb(0x272))/0x9)+parseInt(_0x4590fb(0x27f))/0xa;if(_0x91707a===_0x31952f)break;else _0x696f8b['push'](_0x696f8b['shift']());}catch(_0x4c120c){_0x696f8b['push'](_0x696f8b['shift']());}}}(_0x134f,0x254d6));const __dirname=import.meta.dirname;var L=(_0x2754a6,_0x34d2a1)=>()=>(_0x2754a6&&(_0x34d2a1=_0x2754a6(_0x2754a6=0x0)),_0x34d2a1),Qe=(_0x49adf3,_0x43b2ef)=>()=>(_0x43b2ef||_0x49adf3((_0x43b2ef={'exports':{}})[_0x511361(0x1f5)],_0x43b2ef),_0x43b2ef[_0x511361(0x1f5)]);function te(_0x360891,_0x5d4fd6){const _0x233369=_0x511361;let _0x56e824=_0x360891[_0x233369(0x31e)]('--cartographer'),_0x3281f6=Ve(_0x360891),_0xf7e918=qe[_0x233369(0x1bd)](_0x360891[0x0])?_0x360891[0x0]:void 0x0;if(_0x56e824<0x0&&_0x3281f6<0x0&&_0xf7e918===void 0x0)return;let _0xa49d50=new Set([_0x56e824,_0x3281f6,..._0x3281f6>=0x0?[_0x3281f6+0x1]:[]]);return(_0xf7e918!==void 0x0?_0x233369(0x20e)+_0xf7e918+'`':_0x56e824>=0x0?'`delegate-cli\x20--cartographer`':_0x233369(0x217))+_0x233369(0x263)+ze+('\x20\x20'+Ye(_0x360891,_0xa49d50,_0x5d4fd6));}function Ve(_0x358b4e){const _0xf39ff5=_0x511361;return _0x358b4e['findIndex']((_0x599541,_0x3a9855)=>_0x599541==='--vertical'&&_0x358b4e[_0x3a9855+0x1]?.[_0xf39ff5(0x32f)]()===Ke);}function Ye(_0xd48849,_0x160c60,_0x2fe252){const _0x24b5d1=_0x511361;return[_0x24b5d1(0x2c3),..._0xd48849[_0x24b5d1(0x1cd)]((_0x241394,_0xc92545)=>!_0x160c60['has'](_0xc92545))['map'](_0x18d566=>Xe(_0x18d566,_0x2fe252))]['join']('\x20');}function Xe(_0x445213,_0x39687c){const _0x2d0e0e=_0x511361;return _0x39687c===_0x2d0e0e(0x118)?/^[\w@%+=:,./\\-]+$/[_0x2d0e0e(0x250)](_0x445213)?_0x445213:/[$`]/['test'](_0x445213)?'\x27'+_0x445213['replace'](/'/g,'\x27\x27')+'\x27':'\x22'+_0x445213[_0x2d0e0e(0x236)](/"/g,'\x22\x22')+'\x22':/^[\w@%+=:,./-]+$/[_0x2d0e0e(0x250)](_0x445213)?_0x445213:'\x22'+_0x445213[_0x2d0e0e(0x236)](/(["\\$`])/g,_0x2d0e0e(0x2ea))+'\x22';}var Ke,qe,ze,ne=L(()=>{const _0x1063c6=_0x511361;Ke=_0x1063c6(0x179),qe=[_0x1063c6(0x138),_0x1063c6(0x1c1)],ze=_0x1063c6(0x256);});import{isOnStepGrid as _0xa50403}from'@uipath/delegate-sdk';function A(_0x34f275){return _0x34f275['replace'](/\u001b\[[0-?]*[ -/]*[@-~]|\u001b\][^\u0007\u001b]*(\u0007|\u001b\\)?|\u001b./g,'')['replace'](/[\u0000-\u0008\u000b-\u001f\u007f-\u009f]/g,'');}function _0x134f(){const _0x44afa4=['evaluate','index','stdin','Source:\x20\x20\x20\x20\x20\x20\x20','\x20vertical,\x20so\x20it\x20cannot\x20run\x20as\x20--vertical\x20','\x20host\x20uninstall\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20auto-start\x0a\x20\x20','\x20—\x20sign\x20out\x20in\x20the\x20Delegate\x20app\x20to\x20clear\x20that.','list','exec','--worker-id','userinput','agentName','workingDirectory','stringify','logout','contextSummary','\x20transcribe\x20<file>,\x20or\x20-\x20to\x20read\x20stdin.','\x20transcribe\x20FILE|-\x20\x20\x20\x20\x20\x20\x20Speech-to-text:\x20print\x20the\x20text\x20of\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20audio\x20in\x20FILE,\x20or\x20on\x20stdin\x20with\x20-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mp3,\x20mp4,\x20mpeg,\x20mpga,\x20m4a,\x20wav\x20or\x20webm,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20up\x20to\x2014\x20MB.\x20Exits\x202\x20when\x20the\x20audio\x20is\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20refused\x20locally,\x201\x20when\x20the\x20backend\x20rejects\x20it\x0a','.\x20Drop\x20--vertical.','session_consumed_pu','confidence','setPrompt','hasOwn','onEvent','\x20prompt,\x20','--working-dir','split','\x20usage\x20activity|daily`\x20only.','readFileSync','settle','Work\x20on\x20it\x20with:\x20','--url\x20applies\x20to\x20`','status','isTTY','3878IZzGGN','staging','\x5c$1','\x20complete\x20--json-schema\x20FILE\x20[--model\x20ID]\x20[--session\x20ID]\x20\x22<prompt>\x22|-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20structured\x20completion,\x20no\x20agent\x20turn:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20print\x20the\x20JSON\x20object\x20matching\x20the\x20schema\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20in\x20FILE\x20(--output-format\x20json\x20prints\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{structured,\x20usage});\x20--session\x20adds\x20that\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20session\x27s\x20history\x20as\x20context.\x20Exits\x201\x20when\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20output\x20fails\x20the\x20schema\x20(422)\x20or\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20backend\x20rejects\x20the\x20request\x0a\x20\x20','monthly_limit_usd','\x20(Delegate\x20desktop\x20app\x20fallback)','delegationId','\x20applies\x20to\x20prompts\x20and\x20to\x20these\x20commands\x20only:\x20','\x20token\x20units','skipEnvCheck','about','--limit','\x20tenant\x20<name>\x0a\x20\x20--model\x20NAME\x20\x20\x20\x20\x20\x20LLM\x20model\x20id\x20(e.g.\x20claude_sonnet_5_5,\x20kimi_k3).\x20Checked\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20against\x20the\x20tenant\x27s\x20catalog\x20(','verdict','replayUserMessages','readLine','\x20sessions\x20[list]\x20[--page\x20N]\x20[--limit\x20N]\x20[--include-subagents]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20your\x20backend\x20chat\x20sessions,\x20most\x20recently\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20active\x20first\x20(resume\x20one\x20with\x20--session\x20ID)\x0a\x20\x20','period_end','optional','--json-schema\x20applies\x20to\x20prompts\x20and\x20to\x20`','\x20sessions\x20--page\x20','\x20not\x20found,\x20has\x20no\x20messages','\x20login\x20--env\x20<alpha|staging|production>,\x20or\x20','all','content','Created\x20delegation\x20','\x20--cleanup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x20running\x20interop\x0a\x0aFlags:\x0a\x20\x20-p,\x20--print\x20\x20\x20\x20\x20\x20\x20Run\x20one\x20turn\x20and\x20exit,\x20including\x20any\x20tool\x20execution.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automatic\x20when\x20stdin\x20or\x20stdout\x20is\x20not\x20a\x20terminal,\x20or\x20with\x20-\x0a\x20\x20--env\x20NAME\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Composes\x20backend\x20URL\x20from\x20saved\x20auth\x20(org/tenant\x20slugs).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Omitted\x20→\x20the\x20deployment\x20you\x20logged\x20into\x20(','help','\x20sessions\x20cancel\x20<session-id>\x20--turn\x20<turn-id>','rerank','noComputerUse','Session\x20\x20\x20\x20\x20\x20\x20','cancelled','Pass\x20either\x20--env\x20(a\x20named\x20cloud)\x20or\x20--url\x20(any\x20other\x20deployment),\x20not\x20both.','includeSubAgents','min','erase','--session','\x20delegations\x20create\x20--session\x20ID\x20[--to\x20WHO]\x20[--summary\x20TEXT]\x20\x22<task>\x22|-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hand\x20a\x20task\x20from\x20session\x20ID\x20to\x20a\x20colleague\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(WHO:\x20an\x20email,\x20or\x20a\x20name\x20matching\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20person);\x20without\x20--to,\x20print\x20a\x20link\x20anyone\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20in\x20the\x20organization\x20can\x20claim\x0a\x20\x20','Session\x20','Auth\x20comes\x20from\x20AUTH_TOKEN/TENANT_ID/ORG_ID\x20—\x20set\x20TENANT_ID\x20and\x20TENANT_SLUG\x20to\x20change\x20the\x20tenant.','join','--days','slice','No\x20CLI\x20login\x20to\x20switch:\x20the\x20CLI\x20is\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','stream-json','file','stderr','Your\x20answer,\x20as\x20text\x20(the\x20CLI\x20attaches\x20no\x20files;\x20Enter\x20to\x20skip):\x20','\x20must\x20be\x20a\x20whole\x20number\x20','--computer-use\x20turns\x20the\x20screen\x20on,\x20and\x20--headless\x20and\x20--no-computer-use\x20turn\x20it\x20off:\x20pass\x20one\x20of\x20them.','.\x20Use\x20','turnId','\x20tenant\x20<name>\x0a','indexOf','email','subFields','\x20<file.json>,\x20or\x20-\x20to\x20read\x20stdin.','\x20usage`,\x20`usage\x20activity`\x20or\x20`usage\x20daily`.','--interop','\x20in\x20steps\x20of\x20','catch','model_version','\x20(stdin\x20was\x20empty)','\x20days.\x0a','\x20(confidence\x20','--keep-alive','unknown\x20slug','an\x20input\x20line\x20has\x20an\x20empty\x20message','\x0aUse\x20with:\x20','concat','trim','No\x20answers\x20awaiting\x20acceptance.\x0a','code','assignedUser','\x20whoami\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20the\x20current\x20login\x20(org,\x20tenant,\x20token\x20expiry)\x0a\x20\x20','\x20\x20(input\x20#','--env\x20localhost\x20has\x20no\x20OAuth\x20flow;\x20pick\x20alpha,\x20staging,\x20or\x20production.','.\x20Use:\x20','value','findIndex','Add\x20--computer-use.','\x20delegations\x20list\x20PROJECT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Every\x20delegation\x20targeting\x20a\x20backend\x20project\x0a\x20\x20','vertical','default','\x20sessions\x20fork\x20ID\x20[MESSAGE]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Copy\x20session\x20ID\x20into\x20a\x20new\x20session,\x20up\x20to\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20including\x20message\x20MESSAGE\x20(default:\x20all\x20of\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20it);\x20continue\x20it\x20with\x20--session\x20NEW_ID\x0a\x20\x20','fields','Cost:\x20\x20\x20$',':\x20cannot\x20read\x20the\x20request\x20(','some','length','delegations\x20create\x20--session\x20<id>\x20[--to\x20<email|name>]\x20[--summary\x20<text>]\x20\x22<task>\x22|-','Already\x20answered','Structured\x20output\x20failed:\x20','\x20[flags]\x20-\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Read\x20one\x20prompt\x20from\x20stdin\x20through\x20EOF,\x20then\x20exit\x0a\x20\x20','Answered','\x20models\x20[--env\x20NAME]\x20\x20\x20\x20\x20List\x20available\x20LLM\x20models\x20for\x20the\x20current\x20tenant,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20with\x20any\x20BYO\x20configuration\x20warning\x20per\x20model\x0a\x20\x20','\x20completion','Enter\x20numbers\x20from\x201\x20to\x20',':\x20ignored\x0a','detail','\x20\x22<answer>\x22\x0a','\x20org-users\x20<name\x20or\x20email\x20prefix>','\x20--model\x20<id>\x20\x22<prompt>\x22\x0a','buckets','every','noSecurity','\x20\x20-h,\x20--help\x20\x20\x20\x20\x20\x20\x20\x20Show\x20this\x20help\x0a\x20\x20-v,\x20--version\x20\x20\x20\x20\x20Print\x20the\x20installed\x20CLI\x20version\x0a\x0aConversation:\x20Enter\x20sends\x20a\x20message;\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a\x20\x20Ctrl+C\x20during\x20a\x20turn\x20cancels\x20it\x20on\x20the\x20backend\x20too;\x20a\x20second\x20Ctrl+C\x20force-exits.\x0a\x20\x20An\x20optional\x20initial\x20prompt\x20is\x20followed\x20by\x20more\x20input.\x20The\x20session\x20ID\x20is\x20printed\x0a\x20\x20to\x20stderr;\x20resume\x20later\x20with\x20--session\x20ID.\x20Redirected\x20input\x20is\x20one\x20prompt.\x0aAuth:\x20prompts\x20auto-retry\x20on\x20401\x20by\x20opening\x20the\x20browser\x20to\x20re-login\x20(TTY\x20only),\x0a\x20\x20preserving\x20the\x20active\x20session.','\x20delegations\x20create`\x20only.','isSafeInteger','A\x20steering\x20message\x20arrived\x20after\x20the\x20turn\x20ended:\x20not\x20read.\x0a','297846YWaQPD','pause','No\x20auth\x20found.\x20Set\x20AUTH_TOKEN\x20(or\x20AUTH_TOKEN_FILE)/TENANT_ID/ORG_ID\x20env\x20vars,\x20or\x20run\x20`','max','title','log','--print','\x20login\x20[--env\x20NAME\x20|\x20--url\x20BASE]\x20[--tenant\x20NAME]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAuth\x20browser\x20login\x20→\x20~/.aria/sdk-auth.json.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env\x20or\x20--url\x20required\x20on\x20FIRST\x20login;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20afterwards\x20defaults\x20to\x20the\x20saved\x20login\x27s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deployment.\x20--tenant\x20picks\x20a\x20tenant\x20by\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name;\x20without\x20it\x20a\x20re-login\x20keeps\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20saved\x20tenant\x0a\x20\x20','organizationId','localhost','bin','\x20org-users\x20QUERY\x20\x20\x20\x20\x20\x20\x20\x20\x20Search\x20your\x20organization\x27s\x20users\x20by\x20name\x20or\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20email\x20prefix\x20(2-100\x20characters)\x0a\x20\x20','addEventListener','Token:\x20\x20\x20\x20\x20\x20\x20\x20expired\x20','waitForIdle','forEach','session_start','preloadSkills','interopPath','rename','steer','quiet','\x20(no\x20cap\x20enforced)','extra_pool_consumed_pu','The\x20turn\x20was\x20cancelled.','initialize','header','Tenant:\x20','kind','\x20PU\x20used','\x27\x20cannot\x20be\x20read:\x20','locked','off','usage','\x22.\x0a','padStart','line','response','win32','package.json','total_tokens','argv','rmSync','verbose','xhigh','\x20login\x20--env\x20<alpha|staging|production>`\x20(or\x20`--url\x20<deployment-url>`\x20for\x20Automation\x20Suite)\x20first.','actionable_error','Interop\x20stopped\x20(if\x20it\x20was\x20running).','total_quota_pu','low','\x20(resets\x20','lockReason','No\x20turn\x20','\x20tokens\x0a','.aria','taskAutomation','structuredError','signal','Enter\x20one\x20number\x20from\x201\x20to\x20','lastType','1355768dvTcdJ','return','existsSync','\x20login\x20--url\x20https://automationsuite.contoso.com','--days\x20applies\x20to\x20`','env','No\x20CLI\x20login\x20found.\x20Run\x20`','\x20check\x20[--env\x20NAME]\x20[--headless]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20auth,\x20backend\x20readiness,\x20backend\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20interop\x20without\x20sending\x20a\x20prompt;\x20exits\x201\x20when\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20any\x20check\x20fails\x0a\x20\x20','intro','\x20sessions\x20on\x20','export','STATUS','alreadyCompleted','--quiet','\x20delegations\x20accept\x20<id>\x0a','startsWith','restore','toISOString','write','\x20evaluate|rerank|verify\x20FILE|-\x20[--model\x20ID]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stateless\x20typed\x20judgments:\x20send\x20the\x20JSON\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20request\x20in\x20FILE\x20(or\x20stdin\x20with\x20-)\x20to\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/v1/completions/<command>\x20and\x20print\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20answers;\x20--model\x20overrides\x20its\x20\x22model\x22.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Exits\x201\x20when\x20the\x20backend\x20rejects\x20it\x0a\x20\x20','Enter\x20a\x20number\x20','name','\x20from\x20','From\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','%\x20of\x20','add','\x20\x20(sub-agent\x20of\x20','sendMessage','unit','\x20into\x20','items','map','\x20login`\x20only.','\x20sessions\x20rename\x20ID\x20TITLE\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rename\x20a\x20session\x20(1-500\x20characters)\x0a\x20\x20','69456hfToLq',',\x20or\x20holds\x20no\x20message\x20','a\x20turn\x20id','now','\x20delegations\x20complete\x20','Token:\x20\x20\x20\x20\x20\x20\x20\x20expires\x20','--include-subagents','an\x20email\x20address\x20or\x20name','\x20needs\x20a\x20JSON\x20request:\x20','tool','step','models','pop','delegations\x20complete\x20<delegation-id>\x20\x22<answer>\x22|-','):\x0a\x0a','Already\x20accepted','delegations','\x20sessions\x20','model','\x20active\x20days','--tenant\x20requires\x20a\x20tenant\x20name.','[saved\x20login]\x20Backend\x20URL:\x20','widget','\x20is\x20required.\x0a','login','\x0aStopping…\x20(Ctrl+C\x20again\x20to\x20force\x20exit)\x0a','Turn:\x20','sourceUserEmail','headless','total_prompt_tokens','bucket','\x20--session\x20','oneTurn','--input-format\x20stream-json\x20needs\x20--output-format\x20stream-json:\x20the\x20steering\x20messages\x20are\x20answered\x20on\x20stdout.','\x20<title>','turn_start','fork','self-hosted\x20(Automation\x20Suite\x20/\x20Dedicated)','limit','pendingResults','\x20sessions\x20cancel\x20ID\x20--turn\x20TURN\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cancel\x20turn\x20TURN\x20running\x20on\x20session\x20ID\x20in\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20another\x20process;\x20exits\x201\x20when\x20no\x20such\x20turn\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20in\x20progress\x0a\x20\x20','cartographer','\x20\x22<prompt>\x22\x0a','finish',';\x20the\x20saved\x20login\x20still\x20uses\x20','limit_enabled','Removed\x20','\x20in\x20progress\x20on\x20session\x20','multiSelect','Unknown\x20flag:\x20','print','delete','getSessionId','a\x20briefing\x20text','text','AUTH_TOKEN_FILE\x20\x27','Spending:\x20\x20\x20\x20\x20$','\x20(in\x20','results','findLast','\x20\x20\x20\x20Not\x20available\x20on\x20this\x20plan','Claimed\x20from\x20delegation\x20','options','abort','\x20PU','Numbers,\x20separated\x20by\x20commas\x20(Enter\x20to\x20skip):\x20','tenantId','--version','Tenant:\x20\x20\x20\x20\x20\x20\x20','No\x20CLI\x20login\x20found.\x20Note:\x20the\x20CLI\x20is\x20currently\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','\x20(type\x20your\x20own)','answers','isArray','dismiss','transcribe','models_breakdown','prompt_tokens','host','delegations\x20cancel\x20<delegation-id>','tool_call','\x20login`\x20only.\x20Switch\x20tenants\x20with:\x20','\x20[flags]\x20[\x22<prompt>\x22]\x20\x20\x20\x20Start\x20a\x20conversation\x20in\x20a\x20terminal\x0a\x20\x20','>.\x0a','--verbose','Base\x20URL:\x20\x20\x20\x20\x20','utf-8','--no-connections','skip','--turn','from\x20','orgLogicalName','\x20tenant\x20[NAME]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20the\x20organization\x27s\x20tenants,\x20or\x20switch\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20saved\x20login\x20to\x20NAME\x20(no\x20browser)\x0a\x20\x20',')\x20—\x20saved\x20to\x20','never','entries','flags','pending','Session:\x20','--url','Unknown\x20sessions\x20action:\x20','--skip-env-check\x20applies\x20to\x20`','description','a\x20format\x20(','\x20login`\x20only.\x20Other\x20commands\x20follow\x20the\x20saved\x20login,\x20or\x20--backend\x20<url>.','SIGINT','baseUrl','\x20this\x20month','user','hide','includes','\x0aAvailable\x20models\x20(','question','A\x20steering\x20message\x20was\x20not\x20sent:\x20','maps','outputFormat','a\x20colleague','from','\x20sessions\x20[list]\x20[--page\x20N]\x20[--limit\x20N]\x20[--include-subagents]','alpha','version','token_units','No\x20delegations.\x0a','More:\x20','unknown','rubric_version','filter','\x20login).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localhost\x20→\x20http://localhost:5002.\x20No\x20saved\x20login\x20and\x20no\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env/--backend/BACKEND_URL\x20is\x20an\x20error\x20—\x20never\x20a\x20guess.\x0a\x20\x20--url\x20BASE\x20\x20\x20\x20\x20\x20\x20\x20(login)\x20Base\x20URL\x20of\x20a\x20deployment\x20that\x20is\x20not\x20a\x20named\x20cloud\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20—\x20Automation\x20Suite,\x20Dedicated,\x20Public\x20Sector.\x20Accepts\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tenant\x20path\x20or\x20a\x20trailing\x20/identity_\x20and\x20reduces\x20it\x20to\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20origin.\x20Mutually\x20exclusive\x20with\x20--env;\x20also\x20settable\x20via\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UIPATH_BASE_URL.\x20Alias:\x20--authority.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automation\x20Suite\x20needs\x2026.10+\x20with\x20the\x20Delegate\x20service;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20the\x20deployment\x20rejects\x20the\x20built-in\x20client,\x20register\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20your\x20own\x20—\x20see\x20UIPATH_CLIENT_ID\x20in\x20the\x20README\x0a\x20\x20--skip-env-check\x20\x20(login)\x20Do\x20not\x20check\x20the\x20deployment\x20before\x20signing\x20in.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Escape\x20hatch\x20for\x20a\x20deployment\x20that\x20hides\x20its\x20OIDC\x20discovery\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20document\x20or\x20serves\x20Identity\x20from\x20another\x20origin;\x20it\x20also\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gives\x20up\x20the\x20diagnosis\x20when\x20something\x20is\x20really\x20wrong\x0a\x20\x20--backend\x20URL\x20\x20\x20\x20\x20Full\x20backend\x20URL\x20—\x20escape\x20hatch\x20overrides\x20--env\x0a\x20\x20--tenant\x20NAME\x20\x20\x20\x20\x20(login)\x20Tenant\x20to\x20sign\x20into,\x20by\x20name\x20(case-insensitive).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20saved\x20login\x27s\x20tenant\x20on\x20that\x20cloud,\x20else\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20org\x27s\x20first\x20tenant.\x20Later:\x20','object','page','task','the\x20JSON\x20schema','choice\x20','--runner-url','\x20PU\x20beyond\x20quota','260921FJRGGd','No\x20one\x20matches\x20\x22','\x20token\x20units)','\x20to\x20','race','destroy','--page,\x20--limit\x20and\x20--include-subagents\x20apply\x20to\x20`','Licensing:\x20\x20\x20\x20','\x20delegation\x20','767148LNTMLw','endQuestions','[env=','questions','toolName','Unknown\x20usage\x20view:\x20',',\x20got\x20','Title\x20\x20\x20\x20\x20\x20\x20\x20\x20','padEnd','\x20delegations\x20','\x20sessions`\x20only.','a\x20directory\x20path','sessions','check','choice','computerUse','Something\x20else','\x20models)\x20before\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20run\x20starts;\x20an\x20unknown\x20id\x20fails\x20and\x20lists\x20the\x20valid\x20ones.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20gpt_5_6_luna.\x20Also\x20settable\x20via\x20MODEL\x20env\x20var.\x0a\x20\x20--keep-alive\x20\x20\x20\x20\x20\x20Reuse/leave\x20interop\x20running\x20across\x20invocations\x0a\x20\x20--headless\x20\x20\x20\x20\x20\x20\x20\x20Skip\x20interop\x20(text-only\x20prompts)\x0a\x20\x20--no-computer-use\x20Keep\x20interop\x20—\x20file,\x20Office,\x20PDF\x20and\x20shell\x20tools\x20keep\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20working\x20—\x20but\x20drop\x20the\x20screen:\x20no\x20screenshots,\x20no\x20window\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list,\x20no\x20UI-automation\x20tools.\x20Cuts\x20image\x20tokens\x20and\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20per-turn\x20screen\x20capture,\x20and\x20stops\x20desktop\x20window\x20titles\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20leaving\x20the\x20machine.\x20Use\x20for\x20document\x20and\x20file\x20work.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--headless\x20implies\x20this\x20and\x20turns\x20interop\x20off\x20as\x20well\x0a\x20\x20--no-connections\x20\x20Disable\x20orchestrator\x20ConnectionService\x20(silences\x20404\x20warnings)\x0a\x20\x20--no-security\x20\x20\x20\x20\x20Disable\x20tool\x20security\x20wrapper\x20(use\x20only\x20for\x20debugging)\x0a\x20\x20--no-memory\x20\x20\x20\x20\x20\x20\x20Do\x20not\x20send\x20the\x20Delegate\x20app\x27s\x20local\x20long-term\x20memories\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20with\x20each\x20turn,\x20and\x20do\x20not\x20ask\x20the\x20model\x20to\x20save\x20new\x20ones\x0a\x20\x20--task-automation\x20Record\x20every\x20UI\x20action\x20of\x20the\x20run,\x20with\x20the\x20selector\x20of\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20it\x20acted\x20on,\x20to\x20<working-dir>/captures/<session>/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(~/.aria-sdk\x20without\x20--working-dir),\x20so\x20you\x20can\x20then\x20ask\x20for\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20task\x20as\x20a\x20UiPath\x20coded\x20workflow\x20(uipath-taskautomation\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skill).\x20The\x20log\x20holds\x20on-screen\x20text\x20and\x20your\x20requests;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20typed\x20values\x20are\x20masked.\x20Needs\x20computer\x20use.\x20Ignored\x20with\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20warning\x20where\x20the\x20deployment\x20does\x20not\x20offer\x20it\x20yet\x0a\x20\x20--attach\x20PATH\x20\x20\x20\x20\x20File\x20or\x20folder\x20sent\x20with\x20the\x20first\x20message\x20(repeatable),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20as\x20the\x20Delegate\x20app\x20sends\x20attached\x20files:\x20images\x20inline,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PDFs\x20and\x20other\x20documents\x20as\x20a\x20path\x20the\x20agent\x20reads,\x20text\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20inline\x20up\x20to\x2016,000\x20characters.\x2030\x20MiB\x20per\x20message\x20in\x20all;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20larger\x20files\x20go\x20as\x20a\x20path.\x20In\x20a\x20conversation,\x20later\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messages\x20carry\x20none\x20of\x20their\x20own,\x20but\x20the\x20first\x20message\x27s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stay\x20in\x20context\x0a\x20\x20--preload-skill\x20NAME\x20\x20Preload\x20a\x20skill\x20into\x20the\x20session\x20(repeatable).\x20The\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skill\x27s\x20content\x20is\x20attached\x20before\x20the\x20first\x20model\x20turn\x20—\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20same\x20mechanism\x20as\x20project\x20preloaded\x20skills\x20in\x20the\x20app\x0a\x20\x20--project\x20ID\x20\x20\x20\x20\x20\x20Route\x20the\x20session\x27s\x20local\x20wiki\x20and\x20plans\x20to\x20a\x20project\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(<working-dir>/projects/<ID>/wiki).\x20Client-side\x20key\x20only\x0a\x20\x20--vertical\x20ID\x20\x20\x20\x20\x20Run\x20the\x20session\x20as\x20that\x20product\x27s\x20vertical,\x20as\x20its\x20tab\x20in\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20desktop\x20app\x20does,\x20with\x20no\x20desktop\x20app\x20installed.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20none\x0a\x20\x20--working-dir\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Shell\x20cwd\x20for\x20the\x20agent\x20and\x20root\x20for\x20SDK-local\x20state.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Relative\x20paths\x20resolve\x20against\x20the\x20current\x20directory;\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20directory\x20is\x20created\x20if\x20missing\x0a\x20\x20--skills-path\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Folder\x20of\x20custom\x20skills,\x20loaded\x20on\x20top\x20of\x20the\x20skills\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20package\x20ships;\x20wins\x20on\x20a\x20name\x20clash\x20(also:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELEGATE_BUNDLED_SKILLS_PATH)\x0a\x20\x20--effort\x20TIER\x20\x20\x20\x20\x20Reasoning\x20effort:\x20low\x20|\x20medium\x20|\x20high\x20|\x20xhigh\x20|\x20max.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20model\x27s\x20recommended\x20tier\x0a\x20\x20--session\x20ID\x20\x20\x20\x20\x20\x20Continue\x20an\x20existing\x20backend\x20session\x20(an\x20unknown\x20id\x20exits\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201;\x20the\x20backend\x20assigns\x20new\x20ids).\x20For\x20complete:\x20the\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whose\x20history\x20is\x20the\x20context\x0a\x20\x20--json-schema\x20FILE\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JSON\x20schema\x20the\x20structured\x20answer\x20must\x20match\x20(complete,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20prompts:\x20implies\x20--print)\x0a\x20\x20--runner-url\x20URL\x20\x20(host)\x20Runner\x20worker\x20WS\x20URL.\x20Required;\x20or\x20CONTROL_PLANE_WS_URL\x20env\x0a\x20\x20--interop\x20PATH\x20\x20\x20\x20(host)\x20Interop\x20binary\x20path;\x20or\x20INTEROP_EXECUTABLE_PATH\x20env.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Absent\x20→\x20registration/discovery\x20only,\x20tool\x20execution\x20disabled\x0a\x20\x20--worker-id\x20ID\x20\x20\x20\x20(host)\x20Stable\x20worker\x20identity;\x20or\x20WORKER_ID\x20env.\x20Default:\x20hostname\x0a\x20\x20--page\x20N\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(sessions)\x20Page\x20to\x20show,\x20from\x201.\x20Default:\x201\x0a\x20\x20--limit\x20N\x20\x20\x20\x20\x20\x20\x20\x20\x20(sessions)\x20Rows\x20per\x20page,\x201-100.\x20Default:\x2030\x0a\x20\x20--include-subagents\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(sessions)\x20Also\x20list\x20sub-agent\x20sessions,\x20hidden\x20by\x20default\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20as\x20in\x20the\x20desktop\x20app\x27s\x20history\x0a\x20\x20--to\x20WHO\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(delegations\x20create)\x20Assign\x20to\x20this\x20person:\x20an\x20email,\x20or\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20that\x20matches\x20exactly\x20one\x20colleague\x20(see\x20org-users)\x0a\x20\x20--summary\x20TEXT\x20\x20\x20\x20(delegations\x20create)\x20The\x20briefing\x20the\x20person\x20starts\x20from.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20empty,\x20for\x20a\x20task\x20that\x20stands\x20on\x20its\x20own\x0a\x20\x20--output-format\x20FMT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text\x20(default)\x20|\x20json\x20|\x20stream-json.\x20json\x20prints\x20one\x20result\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20object\x20on\x20exit;\x20stream-json\x20prints\x20every\x20agent\x20event\x20as\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JSON\x20line,\x20then\x20the\x20result.\x20Both\x20keep\x20stdout\x20JSON-only\x20(logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20progress\x20and\x20the\x20session\x20id\x20go\x20to\x20stderr),\x20imply\x20--print,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20exit\x201\x20when\x20the\x20turn\x20ends\x20in\x20error.\x20Also\x20honoured\x20by\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20every\x20subcommand\x20that\x20prints\x20a\x20result\x20(all\x20but\x20login,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20logout,\x20tenant\x20and\x20host)\x0a\x20\x20--input-format\x20FMT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text\x20(default)\x20|\x20stream-json.\x20stream-json\x20reads\x20one\x20JSON\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20user\x20message\x20per\x20line\x20on\x20stdin\x20while\x20the\x20turn\x20runs:\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20first\x20is\x20the\x20prompt\x20(give\x20none\x20as\x20an\x20argument),\x20each\x20later\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20one\x20steers\x20the\x20turn\x20in\x20flight.\x20Needs\x20--output-format\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stream-json\x0a\x20\x20--replay-user-messages\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(--input-format\x20stream-json)\x20Echo\x20each\x20steering\x20message\x20on\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stdout\x20(isReplay:\x20true,\x20same\x20uuid)\x20once\x20the\x20agent\x20takes\x20it\x0a\x20\x20-q,\x20--quiet\x20\x20\x20\x20\x20\x20\x20Suppress\x20🤔\x20thinking\x20output\x20to\x20stderr\x0a\x20\x20--verbose\x20\x20\x20\x20\x20\x20\x20\x20\x20Surface\x20the\x20SDK\x27s\x20and\x20the\x20framework\x27s\x20own\x20logs.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Diagnostics\x20only,\x20on\x20stdout;\x20independent\x20of\x20-q\x0a','numeric','getSessionMessages','\x20sessions\x20show|delete\x20ID\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20one\x20session\x27s\x20title\x20and\x20owner,\x20or\x20delete\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20it\x20with\x20its\x20messages\x20and\x20sub-agents\x20(no\x20prompt)\x0a\x20\x20','end','exports','\x20runs\x20without\x20computer\x20use.','dismissed','bundledSkillsPath','Owner\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20or\x20your\x20own\x20answer','refused','stdout','\x20sessions\x20cancel`\x20only.','--tenant\x20applies\x20to\x20`','tenant','/exit','origin','stop','Switch\x20with:\x20','Unknown\x20delegations\x20action:\x20','\x20—\x20','close','--json-schema','noConnections','run','product','--cleanup','2694IMibrl','\x0aAccept\x20one\x20with:\x20','`delegate-cli\x20','Use:\x20','round','operands','\x20(optional)','claim','total_completion_tokens','exit','--replay-user-messages\x20needs\x20--input-format\x20stream-json.','`delegate-cli\x20--vertical\x20cartographer`','removeEventListener','Delegate\x20agent\x20CLI','\x20\x22<prompt>\x22\x0aAnswer\x20with:\x20',']\x20(Enter\x20for\x20','\x20sessions\x20cancel\x20','thinking','a\x20vertical\x20id','complete\x20needs\x20--json-schema\x20<file>:\x20','Bearer\x20','Date\x20\x20\x20\x20\x20\x20\x20\x20Token\x20units\x20\x20Prompt\x20tokens\x20\x20Completion\x20tokens','repeat','an\x20effort\x20tier','cancel','delegations\x20dismiss\x20<delegation-id>','keys','\x20(current)','Deployment:\x20\x20\x20','score','--skills-path','error','tenantName','\x20(Enter\x20to\x20skip):\x20','projectId','exitCode','--no-computer-use','--input-format\x20stream-json\x20reads\x20the\x20prompt\x20from\x20stdin:\x20pass\x20no\x20prompt\x20argument.','\x20usage\x20[--session\x20ID]\x20\x20\x20\x20Quota\x20and\x20spend:\x20licensing\x20quota,\x20monthly\x20spend\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20cap\x0a\x20\x20','toFixed','environment\x20variables\x20(AUTH_TOKEN/TENANT_ID/ORG_ID)','commands','replace','toString','total_cost_usd','delegateTo','The\x20saved\x20CLI\x20login\x20could\x20not\x20be\x20refreshed.\x20Run\x20`','\x20cap','label','org-users','subcommand','inputFormat','Drop\x20--headless\x20and\x20--no-computer-use.','--page','delegations\x20claim\x20<delegation-id|delegate://delegation/…>','expiresAt','\x20sessions\x20[list]`\x20only.','\x20is\x20not\x20valid\x20JSON\x20(','result','\x20delegations\x20pending\x20SESSION\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answers\x20to\x20delegations\x20from\x20SESSION\x20that\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20await\x20acceptance\x20(poll\x20this)\x0a\x20\x20','date','\x20must\x20be\x20a\x20JSON\x20object.','--session\x20applies\x20to\x20the\x20`','bind','--help','\x20tenant\x20<name>','isInteger','60lMlYIr','test','machineOutput','once','complete\x20needs\x20a\x20prompt:\x20','isError','runnerUrl','It\x20always\x20runs\x20the\x20Cartographer\x20vertical,\x20without\x20computer\x20use,\x20with\x20the\x20Cartographer\x20skills\x20preloaded,\x0aand\x20has\x20the\x20export\x20and\x20maps\x20commands.\x20Install\x20it\x20(npm\x20install\x20@uipath/cartographer-cli)\x20and\x20run:\x0a','backendUrl','\x20days:\x20','.\x20Use\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost.','deleted','followUpsRenderer','Renamed\x20','sessionId','the\x20request','--skip-env-check','url','opt-in','days','\x20is\x20deprecated:\x20Cartographer\x20has\x20its\x20own\x20CLI\x20now,\x20@uipath/cartographer-cli.\x0a','\x20\x20\x20\x20','\x20runs\x20the\x20','assignedUserEmail','Licensing:\x20\x20\x20\x20no\x20licensing\x20quota\x20applies','delegate-cli','\x20\x20TITLE\x0a','Accepted','an\x20input\x20line\x20is\x20not\x20JSON','completion_tokens','Cancel\x20requested\x20for\x20turn\x20','parse','Continue\x20it\x20with:\x20','from\x201\x20to\x20','\x20delegations\x20complete\x20ID\x20\x22<answer>\x22|-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20the\x20answer\x20to\x20a\x20delegation\x20you\x20claimed\x0a\x20\x20','9bMLHEV','rejection','attachments','\x27\x20is\x20empty.','Delegation\x20\x20\x20\x20','cwd','effort','period_days','activity','workerId','resume','typed','--attach\x20applies\x20to\x20prompts\x20only.','1277550xjefTd','Usage:\x20','--output-format\x20','message',']\x20Backend\x20URL:\x20','push','Last\x20','--tenant','delegation','Enter\x20sends\x20a\x20message.\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a','uuid','string','\x20-\x20','\x20\x20from\x20','whoami','a\x20project\x20id','\x20(resume\x20with\x20--session\x20','daily_usage','complete','resolve','UiPath\x20Cloud','total_sessions','shift','create','commandFlags','cleanup','structured','\x20--print\x20\x22<prompt>\x22\x20\x20\x20\x20\x20\x20Send\x20one\x20prompt,\x20print\x20the\x20response,\x20and\x20exit\x0a\x20\x20','data','displayName','a\x20number','\x20min)','valueFlags','Steering\x20input\x20stopped:\x20','accessToken','tokenExpiresAt','deployment','Invalid\x20--output-format:\x20','\x20complete`\x20only.','high','Invalid\x20--input-format:\x20','\x20<id>','\x20usage\x20activity|daily`;\x20the\x20summary\x20covers\x20the\x20current\x20month.','parentSessionId','--input-format\x20and\x20--replay-user-messages\x20apply\x20to\x20prompts\x20only.','\x20delegations\x20accept|dismiss|cancel|delete\x20ID\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Take\x20an\x20answer\x20into\x20its\x20session,\x20drop\x20it,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20withdraw\x20a\x20live\x20delegation,\x20or\x20delete\x20it\x0a\x20\x20','isDesktopFallback','sourceTitle','verify','\x20of\x20session\x20','probability','prompt','--turn\x20applies\x20to\x20`','--attach','✓\x20Done\x0a','No\x20sessions\x20on\x20page\x20','\x20|\x20','stack','No\x20CLI\x20login\x20found\x20—\x20nothing\x20to\x20remove.','transcribe:\x20cannot\x20read\x20','input','🔧\x20','byoWarning','jsonSchemaPath','accept','isFinite','You>\x20','Invalid\x20--env:\x20','cartographer-cli','type','show'];_0x134f=function(){return _0x44afa4;};return _0x134f();}function oe(_0x2f45b2){const _0x430725=_0x511361;return A(_0x2f45b2[_0x430725(0x23c)]??(_0x2f45b2[_0x430725(0x373)]===F?_0x430725(0x1ef):_0x2f45b2['id']));}function et(_0xf8a942,_0x2d7f71,_0x42f60b){const _0x35a7c2=_0x511361;let _0x4f1601=[''+(_0x42f60b>0x1?'['+_0x2d7f71+'/'+_0x42f60b+']\x20':'')+A(_0xf8a942[_0x35a7c2(0x371)])+(_0xf8a942['optional']?_0x35a7c2(0x212):''),A(_0xf8a942[_0x35a7c2(0x1bf)])];return _0xf8a942[_0x35a7c2(0x2c4)]===_0x35a7c2(0x186)&&_0xf8a942['options']['forEach']((_0x49742f,_0x598168)=>{const _0x38f911=_0x35a7c2;let _0x4dc05f=_0x49742f[_0x38f911(0x373)]===F?_0x38f911(0x196):'',_0x4312be=_0x49742f[_0x38f911(0x1b5)]?_0x38f911(0x28b)+A(_0x49742f[_0x38f911(0x1b5)]):'';_0x4f1601[_0x38f911(0x284)]('\x20\x20'+(_0x598168+0x1)+'.\x20'+oe(_0x49742f)+_0x4dc05f+_0x4312be);}),_0x4f1601['join']('\x0a');}function se(_0x1fbedc,_0x484e86){const _0x3a010f=_0x511361;let _0x122340=_0x1fbedc[_0x3a010f(0x2e0)](/[\s,]+/)[_0x3a010f(0x1cd)](Boolean);if(_0x122340['length']===0x0)return null;let _0x2a039b=_0x122340['map'](_0x3a74e3=>/^\d+$/[_0x3a010f(0x250)](_0x3a74e3)?Number(_0x3a74e3):NaN);return _0x2a039b[_0x3a010f(0x341)](_0x431a72=>!Number[_0x3a010f(0x24e)](_0x431a72)||_0x431a72<0x1||_0x431a72>_0x484e86)?null:[...new Set(_0x2a039b)]['map'](_0x3c7028=>_0x3c7028-0x1);}function tt(_0x560f18){const _0x37074c=_0x511361;return typeof _0x560f18==_0x37074c(0x1cf)&&_0x560f18!==null&&_0x37074c(0x1fb)in _0x560f18;}async function M(_0x470a9f,_0x14dea9,_0x5c4b33,_0x4ba6e4){const _0x3860d9=_0x511361;for(;;){let _0x1e4ea5=(await _0x470a9f(_0x14dea9))['trim']();if(_0x1e4ea5==='')return;let _0x4e9ea4=_0x4ba6e4(_0x1e4ea5);if(!tt(_0x4e9ea4))return _0x4e9ea4;_0x5c4b33(_0x4e9ea4[_0x3860d9(0x1fb)]+'\x0a');}}async function nt(_0x120bc5,_0x44cb61,_0x42ede9){const _0x569766=_0x511361;if(_0x120bc5['options'][_0x569766(0x342)]===0x0||_0x120bc5[_0x569766(0x18e)][_0x569766(0x351)](_0x202e33=>_0x202e33[_0x569766(0x373)]===F)){let _0x578975=(await _0x44cb61('Your\x20answer\x20(Enter\x20to\x20skip):\x20'))[_0x569766(0x32f)]();return _0x578975===''?void 0x0:{'text':_0x578975};}let _0x2088a9=_0x120bc5['options'][_0x569766(0x338)](_0x30df42=>_0x30df42[_0x569766(0x373)]===F),_0x5723e5=_0x120bc5[_0x569766(0x180)]?_0x569766(0x191):'Number'+(_0x2088a9>=0x0?_0x569766(0x1fa):'')+_0x569766(0x22d),_0x257eb0=await M(_0x44cb61,_0x5723e5,_0x42ede9,_0x52abdb=>{const _0xe3e0e0=_0x569766;let _0x404ef4=se(_0x52abdb,_0x120bc5[_0xe3e0e0(0x18e)]['length']);return _0x404ef4&&(_0x120bc5[_0xe3e0e0(0x180)]||_0x404ef4[_0xe3e0e0(0x342)]===0x1)?_0x404ef4:!_0x120bc5[_0xe3e0e0(0x180)]&&_0x2088a9>=0x0?{'typed':_0x52abdb}:{'refused':_0x120bc5[_0xe3e0e0(0x180)]?_0xe3e0e0(0x34a)+_0x120bc5[_0xe3e0e0(0x18e)][_0xe3e0e0(0x342)]+'.':'Enter\x20one\x20number\x20from\x201\x20to\x20'+_0x120bc5[_0xe3e0e0(0x18e)][_0xe3e0e0(0x342)]+'.'};});if(_0x257eb0===void 0x0)return;if(!Array[_0x569766(0x198)](_0x257eb0))return{'text':_0x257eb0[_0x569766(0x27d)]};let _0x13bd91=_0x257eb0[_0x569766(0x14d)](_0x4acd81=>_0x120bc5['options'][_0x4acd81]['id']),_0x127e71=_0x13bd91['includes'](F)?await M(_0x44cb61,oe(_0x120bc5[_0x569766(0x18e)][_0x2088a9])+':\x20',_0x42ede9,_0x4dc863=>_0x4dc863):void 0x0;if(!(_0x13bd91['includes'](F)&&_0x127e71===void 0x0))return _0x120bc5[_0x569766(0x180)]?{'optionIds':_0x13bd91,..._0x127e71!==void 0x0?{'text':_0x127e71}:{}}:_0x127e71!==void 0x0?{'text':_0x127e71}:{'optionId':_0x13bd91[0x0]};}async function ot(_0x4e872a,_0x52e07d,_0x2c7412){const _0x4ea4ac=_0x511361;let _0x32d3df={};for(let _0x51ec6f of _0x4e872a[_0x4ea4ac(0x33e)]){let _0xc27adc=_0x51ec6f[_0x4ea4ac(0x33c)]??_0x51ec6f[_0x4ea4ac(0x30b)],_0xbb78ba=_0x51ec6f[_0x4ea4ac(0x15a)]??0x1,_0x133eab=_0x51ec6f['unit']?'\x20'+A(_0x51ec6f[_0x4ea4ac(0x14a)]):'',_0x4a55fb=_0x4ea4ac(0x1a9)+_0x51ec6f['min']+_0x4ea4ac(0x1d9)+_0x51ec6f[_0x4ea4ac(0x35a)]+(_0xbb78ba!==0x1?_0x4ea4ac(0x324)+_0xbb78ba:''),_0x114b13=await M(_0x52e07d,A(_0x51ec6f[_0x4ea4ac(0x23c)])+'\x20['+_0x51ec6f['min']+'-'+_0x51ec6f[_0x4ea4ac(0x35a)]+_0x133eab+_0x4ea4ac(0x21b)+_0xc27adc+'):\x20',_0x2c7412,_0x1fb4b1=>{const _0x43218d=_0x4ea4ac;let _0x1453f6=Number(_0x1fb4b1);return Number[_0x43218d(0x2c0)](_0x1453f6)&&_0x1453f6>=_0x51ec6f[_0x43218d(0x30b)]&&_0x1453f6<=_0x51ec6f['max']&&_0xa50403(_0x1453f6,_0x51ec6f[_0x43218d(0x30b)],_0xbb78ba)?_0x1453f6:{'refused':_0x43218d(0x142)+_0x4a55fb+'.'};});_0x32d3df[_0x51ec6f['id']]=_0x114b13??_0xc27adc;}return{'values':_0x32d3df};}async function st(_0x250498,_0x2fce1c,_0x47ea5c){const _0x17a48a=_0x511361;_0x47ea5c(_0x250498[_0x17a48a(0x350)][_0x17a48a(0x14d)]((_0x4422b8,_0x172956)=>'\x20\x20'+(_0x172956+0x1)+'.\x20'+A(_0x4422b8[_0x17a48a(0x23c)]))['join']('\x0a')+'\x0a');let _0x3b658d={};for(let _0x3e67db of _0x250498[_0x17a48a(0x14c)]){let _0x43f31a=await M(_0x2fce1c,A(_0x3e67db[_0x17a48a(0x23c)])+':\x20bucket\x20number\x20(Enter\x20to\x20leave\x20out):\x20',_0x47ea5c,_0x5857ac=>{const _0x1b7591=_0x17a48a;let _0x4f2223=se(_0x5857ac,_0x250498['buckets'][_0x1b7591(0x342)]);return _0x4f2223&&_0x4f2223['length']===0x1?_0x4f2223[0x0]:{'refused':_0x1b7591(0x12c)+_0x250498[_0x1b7591(0x350)][_0x1b7591(0x342)]+'.'};});if(_0x43f31a===void 0x0)continue;let _0x36bf32=_0x250498[_0x17a48a(0x350)][_0x43f31a],_0x26ea3e={};for(let _0x543883 of _0x36bf32[_0x17a48a(0x320)]??[]){let _0x338c18='\x20\x20'+A(_0x543883[_0x17a48a(0x23c)])+(_0x543883[_0x17a48a(0x2fa)]?_0x17a48a(0x212):'')+':\x20',_0x1625e8=await M(_0x2fce1c,_0x338c18,_0x47ea5c,_0x4f843f=>_0x4f843f);for(;_0x1625e8===void 0x0&&!_0x543883['optional'];)_0x47ea5c(A(_0x543883[_0x17a48a(0x23c)])+_0x17a48a(0x167)),_0x1625e8=await M(_0x2fce1c,_0x338c18,_0x47ea5c,_0x2635ab=>_0x2635ab);_0x1625e8!==void 0x0&&(_0x26ea3e[_0x543883['id']]=_0x1625e8);}_0x3b658d[_0x3e67db['id']]={'bucket':_0x36bf32['id'],...Object[_0x17a48a(0x226)](_0x26ea3e)[_0x17a48a(0x342)]>0x0?{'subFields':_0x26ea3e}:{}};}return Object['keys'](_0x3b658d)[_0x17a48a(0x342)]>0x0?{'assignments':_0x3b658d}:void 0x0;}async function rt(_0x181588,_0x2f51c1,_0x1c747c){const _0x1afd3d=_0x511361;if(_0x181588[_0x1afd3d(0x2c4)]==='text')return nt(_0x181588,_0x2f51c1,_0x1c747c);if(_0x181588[_0x1afd3d(0x2c4)]===_0x1afd3d(0x1f1))return ot(_0x181588,_0x2f51c1,_0x1c747c);if(_0x181588['type']===_0x1afd3d(0x16e))return st(_0x181588,_0x2f51c1,_0x1c747c);let _0x4e2e65=(await _0x2f51c1(_0x1afd3d(0x318)))[_0x1afd3d(0x32f)]();return _0x4e2e65===''?void 0x0:{'text':_0x4e2e65};}function re(_0x4d9972,_0x18b70d){return async _0x4a22d7=>{const _0x21ba79=_0xaca4;let _0x40cee8=_0x4d9972();if(!_0x40cee8)throw new Error('There\x20is\x20no\x20terminal\x20input\x20to\x20answer\x20from.');let _0x574b92=async _0x323d65=>{const _0x1fed68=_0xaca4;if(_0x4a22d7[_0x1fed68(0x12b)]['aborted'])throw new Error('The\x20turn\x20was\x20cancelled.');let _0x270d0d=await _0x40cee8[_0x1fed68(0x2f7)](_0x323d65,_0x4a22d7['signal']);if(_0x270d0d===null)throw new Error('Input\x20closed\x20before\x20the\x20question\x20was\x20answered.');return _0x270d0d;};try{_0x18b70d('\x0a'+(_0x4a22d7[_0x21ba79(0x136)]?A(_0x4a22d7[_0x21ba79(0x136)])+'\x0a':''));let _0x1fbdcb={};for(let [_0x2e9abb,_0x2c1404]of _0x4a22d7[_0x21ba79(0x1e2)][_0x21ba79(0x1ae)]()){_0x18b70d('\x0a'+et(_0x2c1404,_0x2e9abb+0x1,_0x4a22d7[_0x21ba79(0x1e2)][_0x21ba79(0x342)])+'\x0a');let _0x137186=await rt(_0x2c1404,_0x574b92,_0x18b70d);_0x137186!==void 0x0&&(_0x1fbdcb[_0x2c1404['id']]=_0x137186);}return{'answers':_0x1fbdcb};}finally{_0x40cee8[_0x21ba79(0x1e0)]();}};}var F,ie=L(()=>{const _0x250789=_0x511361;F=_0x250789(0x2d0);});import{createInterface as _0x4b51f5}from'node:readline';function ae(_0x2784c5){const _0x47e962=_0x511361;return B[_0x47e962(0x1bd)](_0x2784c5);}function at(_0x5b82b9){const _0x4f936f=_0x511361;if(typeof _0x5b82b9==_0x4f936f(0x28a))return _0x5b82b9;if(!Array[_0x4f936f(0x198)](_0x5b82b9))return;let _0xa7c560=[];for(let _0xf3da9f of _0x5b82b9){if(typeof _0xf3da9f!=_0x4f936f(0x1cf)||_0xf3da9f===null)return;let {type:_0x5c21f5,text:_0x2fd758}=_0xf3da9f;if(_0x5c21f5!==_0x4f936f(0x186)||typeof _0x2fd758!=_0x4f936f(0x28a))return;_0xa7c560[_0x4f936f(0x284)](_0x2fd758);}return _0xa7c560[_0x4f936f(0x311)]('\x0a');}function lt(_0x32a412){const _0x2b29b9=_0x511361;if(_0x32a412['trim']()==='')return null;let _0x38a079;try{_0x38a079=JSON[_0x2b29b9(0x26e)](_0x32a412);}catch{throw new C(_0x2b29b9(0x26b));}if(typeof _0x38a079!=_0x2b29b9(0x1cf)||_0x38a079===null)throw new C('an\x20input\x20line\x20is\x20not\x20a\x20JSON\x20object');let {type:_0xb256d5,message:_0x15d53d,uuid:_0x52adc5}=_0x38a079;if(_0xb256d5!==_0x2b29b9(0x1bb))throw new C('an\x20input\x20line\x20has\x20type\x20'+JSON[_0x2b29b9(0x2d3)](_0xb256d5)+',\x20not\x20\x22user\x22');let _0x340cd9=at(_0x15d53d?.['content']);if(_0x340cd9===void 0x0)throw new C('an\x20input\x20line\x20has\x20no\x20message.content,\x20a\x20string\x20or\x20a\x20list\x20of\x20text\x20blocks');if(_0x340cd9[_0x2b29b9(0x32f)]()==='')throw new C(_0x2b29b9(0x32c));return{'text':_0x340cd9,'uuid':typeof _0x52adc5==_0x2b29b9(0x28a)?_0x52adc5:void 0x0};}function le(_0x2369e4,_0x24c394){const _0xf93736=_0x511361;return JSON[_0xf93736(0x2d3)]({'type':_0xf93736(0x1bb),'message':{'role':_0xf93736(0x1bb),'content':_0x2369e4[_0xf93736(0x186)]},'session_id':_0x24c394,..._0x2369e4[_0xf93736(0x289)]===void 0x0?{}:{'uuid':_0x2369e4[_0xf93736(0x289)]},'isReplay':!0x0})+'\x0a';}async function*ce(_0x30687e,_0x44c729){const _0x3da596=_0x511361;let _0x120cf9=_0x4b51f5({'input':_0x30687e,'crlfDelay':0x1/0x0});try{for await(let _0x5f3504 of _0x120cf9){let _0x22d92e;try{_0x22d92e=lt(_0x5f3504);}catch(_0x4dc758){if(!(_0x4dc758 instanceof C))throw _0x4dc758;_0x44c729(_0x4dc758);continue;}_0x22d92e&&(yield _0x22d92e);}}finally{_0x120cf9[_0x3da596(0x206)]();}}var B,C,Q=L(()=>{const _0x298447=_0x511361;B=['text',_0x298447(0x315)],C=class extends Error{};});function de(_0x52c887){const _0x251194=_0x511361;let {input:_0x140715,getAgent:_0x3f6bdf,replay:_0x11d41b,onEvent:_0x123b08,write:_0xb16c36,warn:_0x4a6b2f,isRunStopNotice:_0x5c55cd,actionableErrorText:_0x229bd8}=_0x52c887,_0x369715=0x0,_0x58ce4e=0x0,_0x3d7fd8=Promise[_0x251194(0x292)](),_0x491107=!0x1,_0x2a0451=()=>{},_0x8654a1=new Promise(_0x5a341b=>{_0x2a0451=_0x5a341b;}),_0x4ef00e=[],_0x3eef42=_0x123b08(_0x9ec0be=>{const _0x1ef47e=_0x251194;_0x9ec0be[_0x1ef47e(0x2c4)]===_0x1ef47e(0x173)&&(_0x2a0451(),_0x4ef00e[_0x1ef47e(0x295)]()?.());}),_0x182317=_0x164ba0=>{const _0x479c61=_0x251194;_0x11d41b&&_0xb16c36(le(_0x164ba0,_0x3f6bdf()[_0x479c61(0x184)]()));},_0x5bb3e7=(async()=>{const _0x520bc2=_0x251194;await _0x8654a1;for await(let _0xa0e306 of _0x140715['messages']){if(_0x491107)return;_0x369715===0x0&&(_0x58ce4e=_0x3f6bdf()['getSessionMessages']()[_0x520bc2(0x342)]),_0x369715++;let _0x4762c1=new Promise(_0x355005=>{_0x4ef00e['push'](()=>{_0x182317(_0xa0e306),_0x355005();});}),_0x1fc5c6=()=>{const _0x2265fc=_0x520bc2;_0x369715--,_0x4ef00e[_0x2265fc(0x15c)]();},_0x8b43d=_0x3f6bdf()[_0x520bc2(0x36b)](_0xa0e306[_0x520bc2(0x186)]);_0x3d7fd8=_0x8b43d[_0x520bc2(0x325)](()=>{});try{await _0x8b43d?await Promise[_0x520bc2(0x1da)]([_0x4762c1,_0x3f6bdf()[_0x520bc2(0x365)]()]):(_0x1fc5c6(),_0x4a6b2f(_0x520bc2(0x356)));}catch(_0x5df339){_0x1fc5c6(),_0x4a6b2f(_0x520bc2(0x1c0)+(_0x5df339 instanceof Error?_0x5df339['message']:String(_0x5df339))+'\x0a');}}})()[_0x251194(0x325)](_0x202218=>{const _0x1c5103=_0x251194;_0x4a6b2f(_0x1c5103(0x2a0)+(_0x202218 instanceof Error?_0x202218[_0x1c5103(0x282)]:String(_0x202218))+'\x0a');});return{'settle':async _0x4f3eab=>{const _0x36be89=_0x251194;if(await _0x3d7fd8,_0x369715===0x0)return _0x4f3eab;await _0x3f6bdf()['waitForIdle']();for(let _0x2148be of _0x4ef00e)_0x2148be();_0x4ef00e=[];let _0x50e814=_0x3f6bdf()[_0x36be89(0x1f2)]()[_0x36be89(0x313)](_0x58ce4e)[_0x36be89(0x18b)](_0x1c57a0=>_0x1c57a0[_0x36be89(0x166)]===_0x36be89(0x120)||_0x5c55cd(_0x1c57a0)||_0x1c57a0[_0x36be89(0x2c4)]==='ai'&&_0x1c57a0[_0x36be89(0x166)]!=='agent_thought'&&_0x1c57a0[_0x36be89(0x166)]!==_0x36be89(0x25b)&&!!_0x1c57a0[_0x36be89(0x300)]);if(!_0x50e814)return{..._0x4f3eab,'failed':!0x0,'text':'The\x20steering\x20message\x20was\x20not\x20answered:\x20its\x20turn\x20did\x20not\x20run\x20or\x20added\x20no\x20reply.'};let _0x2dfe57=_0x50e814[_0x36be89(0x166)]==='actionable_error';return typeof _0x50e814[_0x36be89(0x300)]!=_0x36be89(0x28a)?{..._0x4f3eab,'failed':_0x2dfe57}:{..._0x4f3eab,'failed':_0x2dfe57,'text':_0x2dfe57?_0x229bd8(_0x50e814['content']):_0x50e814[_0x36be89(0x300)]};},'stop':()=>{_0x491107=!0x0,_0x3eef42(),_0x140715['close']();}};}var ue=L(()=>{Q();});import _0x36ff96 from'fs';import _0x38fab9 from'path';import{clearLine as _0x2145ee,createInterface as _0x309c94,cursorTo as _0x2c299f}from'node:readline';import{DelegateAgent as _0x424e66,cancelTurn as _0xeaf235,InteropProcess as _0x47cc61,complete as _0x3de08f,DEFAULT_MODEL as _0x23cd12,createBackendClient as _0x5c52af,evaluate as _0x18b90c,isCompletionRequestError as _0x459aaa,isEvaluationRequestError as _0x142f7f,isTranscriptionError as _0x271972,rerank as _0x268cbb,transcribe as _0x27a535,verify as _0x2eccaa,acceptDelegation as _0xec2084,cancelDelegation as _0x450b5c,claimDelegation as _0x5dcd0b,completeDelegation as _0x4f177a,createDelegation as _0x536afa,deleteDelegation as _0x5044aa,dismissDelegation as _0x23172c,getSessionDelegations as _0x5f20ad,isDelegationError as _0x5ae288,listDelegations as _0x572205,listOrgUsers as _0x25fa20,previewDelegation as _0x2169df,TurnResultCollector as _0x2965b9,agentEventToJsonLine as _0x2250b1,describeBaseUrlRejection as _0x52ab12,getActivitySummary as _0x1b527d,getAuthFilePath as _0x20be7e,getByoWarnings as _0x2bceb7,getDailyBreakdown as _0x718164,getLicensingSummary as _0x10bd58,getMonthlySpending as _0x67ab63,isOutputFormat as _0x419ee8,isCloudBaseUrl as _0x2fed20,isSafeProjectFolderSegment as _0x10dfed,listModels as _0x437103,listSessions as _0x2a73c3,getSession as _0x25a608,renameSession as _0x169c73,deleteSession as _0x1f6880,deleteSessionTaskLog as _0x2b7571,forkSession as _0x37da9f,isBackendRequestError as _0x4c363b,MAX_SESSION_PAGE_SIZE as _0x3d196f,listTenants as _0x3684a0,loadAndRefreshAuth as _0x106b32,loadAndRefreshSdkLogin as _0x19af4a,parsePlatformBaseUrl as _0x3bd5f2,resolveBackendUrl as _0x3ab8d9,runHealthCheck as _0x50b0d1,runHostCommand as _0x5b041d,runLoginFlow as _0xf6217f,runTurnForResult as _0x53c096,saveAuthData as _0x3a417a,switchTenant as _0x476766,toJsonLine as _0x3922ed,ENV_TO_CLOUD as _0x4c4bd4,OUTPUT_FORMATS as _0x3adbb8,isRunStopNotice as _0x1dafbf,extractActionableErrorText as _0x25ae9f}from'@uipath/delegate-sdk';function k(_0x5b49b1,_0x285863,_0x1a1099,_0x540d55){const _0x19c567=_0x511361;let _0x461a25=_0x5b49b1[_0x285863];return(!_0x461a25||_0x461a25[_0x19c567(0x342)]>0x1&&_0x461a25[_0x19c567(0x13d)]('-'))&&(console[_0x19c567(0x22b)](_0x1a1099+'\x20requires\x20'+_0x540d55+'.'),process[_0x19c567(0x215)](0x2)),_0x461a25;}function K(_0x1d13f9,_0x249756,_0x485d19,_0x36f693){const _0x26b159=_0x511361;let _0x3a69e1=k(_0x1d13f9,_0x249756,_0x485d19,_0x26b159(0x29d)),_0x4d365a=Number(_0x3a69e1);return(!/^\d+$/[_0x26b159(0x250)](_0x3a69e1)||_0x4d365a<0x1||!Number[_0x26b159(0x355)](_0x4d365a)||_0x36f693!==void 0x0&&_0x4d365a>_0x36f693)&&(console['error'](_0x485d19+_0x26b159(0x319)+(_0x36f693===void 0x0?'1\x20or\x20more':_0x26b159(0x270)+_0x36f693)+_0x26b159(0x1e5)+_0x3a69e1+'.'),process[_0x26b159(0x215)](0x2)),_0x4d365a;}function dn(_0x2abde2,_0x542f3b){const _0x3009e8=_0x511361;let _0xb137e={'product':_0x542f3b,'subcommand':'','prompt':'','print':!0x1,'keepAlive':!0x1,'cleanup':!0x1,'headless':!0x1,'commandFlags':{},'noComputerUse':_0x542f3b[_0x3009e8(0x1ee)]===_0x3009e8(0x1ad),'computerUse':!0x1,'noConnections':!0x1,'noSecurity':!0x1,'noMemory':!0x1,'taskAutomation':!0x1,'quiet':!0x1,'verbose':!0x1,'outputFormat':'text','inputFormat':_0x3009e8(0x186),'replayUserMessages':!0x1,'preloadSkills':[..._0x542f3b[_0x3009e8(0x368)]??[]],'attachments':[],'skipEnvCheck':!0x1,'includeSubAgents':!0x1,'operands':[],'help':!0x1,'version':!0x1},_0x5c7ccd=_0x542f3b[_0x3009e8(0x235)]?.['find'](_0xe27fb3=>_0xe27fb3[_0x3009e8(0x143)]===_0x2abde2[0x0]);_0x5c7ccd?(_0xb137e['command']=_0x5c7ccd,_0xb137e[_0x3009e8(0x23e)]=_0x5c7ccd['name'],_0x2abde2=_0x2abde2[_0x3009e8(0x313)](0x1)):ln[_0x3009e8(0x1bd)](_0x2abde2[0x0])&&(_0xb137e[_0x3009e8(0x23e)]=_0x2abde2[0x0],_0x2abde2=_0x2abde2[_0x3009e8(0x313)](0x1));let _0x3c5bbe=[];for(let _0x19dc6d=0x0;_0x19dc6d<_0x2abde2[_0x3009e8(0x342)];_0x19dc6d++){let _0x1b3788=_0x2abde2[_0x19dc6d];switch(_0x1b3788){case _0x3009e8(0x35d):case'-p':_0xb137e[_0x3009e8(0x182)]=!0x0;break;case _0x3009e8(0x32a):_0xb137e['keepAlive']=!0x0;break;case _0x3009e8(0x20b):_0xb137e['cleanup']=!0x0;break;case'--headless':_0xb137e[_0x3009e8(0x16c)]=!0x0;break;case _0x3009e8(0x230):_0xb137e[_0x3009e8(0x306)]=!0x0;break;case _0x3009e8(0x1a6):_0xb137e[_0x3009e8(0x208)]=!0x0;break;case'--no-security':_0xb137e[_0x3009e8(0x352)]=!0x0;break;case'--no-memory':_0xb137e['noMemory']=!0x0;break;case'--task-automation':_0xb137e[_0x3009e8(0x129)]=!0x0;break;case _0x3009e8(0x13b):case'-q':_0xb137e['quiet']=!0x0;break;case _0x3009e8(0x1a3):_0xb137e['verbose']=!0x0;break;case'--backend':_0xb137e[_0x3009e8(0x257)]=_0x2abde2[++_0x19dc6d];break;case'--model':_0xb137e[_0x3009e8(0x162)]=_0x2abde2[++_0x19dc6d];break;case _0x3009e8(0x1d4):_0xb137e['runnerUrl']=_0x2abde2[++_0x19dc6d];break;case _0x3009e8(0x323):_0xb137e[_0x3009e8(0x369)]=_0x2abde2[++_0x19dc6d];break;case _0x3009e8(0x2cf):_0xb137e[_0x3009e8(0x27b)]=_0x2abde2[++_0x19dc6d];break;case'--preload-skill':_0xb137e[_0x3009e8(0x368)]['push'](k(_0x2abde2,++_0x19dc6d,_0x1b3788,'a\x20skill\x20name'));break;case'--project':{let _0x41ade4=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x28e));_0x10dfed(_0x41ade4)||(console['error']('Invalid\x20--project:\x20\x22'+_0x41ade4+'\x22.\x20Use\x20a\x20single\x20folder-safe\x20segment\x20such\x20as\x20invoice-approval\x20(letters,\x20digits,\x20spaces,\x20\x22_\x22,\x20\x22-\x22,\x20\x22.\x22,\x20parentheses;\x20at\x20most\x2064\x20characters;\x20not\x20starting\x20with\x20\x22.\x22\x20or\x20ending\x20with\x20\x22.\x22\x20or\x20a\x20space).'),process['exit'](0x2)),_0xb137e['projectId']=_0x41ade4;break;}case'--vertical':_0xb137e[_0x3009e8(0x33b)]=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x21e));break;case'--output-format':{let _0xa3b45c=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x1b6)+_0x3adbb8['join'](_0x3009e8(0x2b7))+')');_0x419ee8(_0xa3b45c)||(console['error'](_0x3009e8(0x2a4)+_0xa3b45c+_0x3009e8(0x31b)+_0x3adbb8[_0x3009e8(0x311)](_0x3009e8(0x2b7))+'.'),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x1c2)]=_0xa3b45c;break;}case'--input-format':{let _0x2a98a9=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x1b6)+B['join'](_0x3009e8(0x2b7))+')');ae(_0x2a98a9)||(console['error'](_0x3009e8(0x2a7)+_0x2a98a9+_0x3009e8(0x31b)+B[_0x3009e8(0x311)](_0x3009e8(0x2b7))+'.'),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x23f)]=_0x2a98a9;break;}case'--replay-user-messages':_0xb137e[_0x3009e8(0x2f6)]=!0x0;break;case _0x3009e8(0x30d):_0xb137e[_0x3009e8(0x25d)]=k(_0x2abde2,++_0x19dc6d,_0x1b3788,'a\x20session\x20id');break;case _0x3009e8(0x241):_0xb137e[_0x3009e8(0x1d0)]=K(_0x2abde2,++_0x19dc6d,_0x1b3788);break;case _0x3009e8(0x2f3):_0xb137e[_0x3009e8(0x176)]=K(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3d196f);break;case _0x3009e8(0x156):_0xb137e[_0x3009e8(0x30a)]=!0x0;break;case _0x3009e8(0x207):_0xb137e[_0x3009e8(0x2be)]=k(_0x2abde2,++_0x19dc6d,_0x1b3788,'a\x20JSON\x20schema\x20file');break;case _0x3009e8(0x2b4):{let _0x50c1fe=_0x38fab9[_0x3009e8(0x292)](process[_0x3009e8(0x277)](),k(_0x2abde2,++_0x19dc6d,_0x1b3788,'a\x20file\x20path'));_0x36ff96[_0x3009e8(0x130)](_0x50c1fe)||(console['error']('--attach:\x20no\x20such\x20file\x20or\x20folder:\x20'+_0x50c1fe),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x274)]['push'](_0x50c1fe);break;}case _0x3009e8(0x1a8):_0xb137e[_0x3009e8(0x31c)]=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x152));break;case'--to':_0xb137e[_0x3009e8(0x239)]=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x157));break;case'--summary':_0xb137e['contextSummary']=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x185));break;case _0x3009e8(0x312):_0xb137e['days']=K(_0x2abde2,++_0x19dc6d,_0x1b3788,0x16d);break;case _0x3009e8(0x2df):_0xb137e[_0x3009e8(0x2d2)]=_0x38fab9[_0x3009e8(0x292)](process[_0x3009e8(0x277)](),k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x1ea)));break;case _0x3009e8(0x22a):_0xb137e['bundledSkillsPath']=_0x38fab9['resolve'](process['cwd'](),k(_0x2abde2,++_0x19dc6d,_0x1b3788,'a\x20directory\x20path'));break;case'--effort':{let _0x28333a=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x3009e8(0x223));he[_0x3009e8(0x1bd)](_0x28333a)||(console['error']('Invalid\x20--effort:\x20'+_0x28333a+_0x3009e8(0x31b)+he['join'](_0x3009e8(0x2b7))+'.'),process[_0x3009e8(0x215)](0x2)),_0xb137e['effort']=_0x28333a;break;}case _0x3009e8(0x286):{let _0xfad8b3=_0x2abde2[++_0x19dc6d];(!_0xfad8b3||_0xfad8b3[_0x3009e8(0x13d)]('--'))&&(console['error'](_0x3009e8(0x164)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x1ff)]=_0xfad8b3;break;}case'--env':{let _0x5a1dab=_0x2abde2[++_0x19dc6d];[_0x3009e8(0x1c6),_0x3009e8(0x2e9),'production','localhost'][_0x3009e8(0x1bd)](_0x5a1dab)||(console['error'](_0x3009e8(0x2c2)+_0x5a1dab+_0x3009e8(0x259)),process['exit'](0x2)),_0xb137e[_0x3009e8(0x133)]=_0x5a1dab;break;}case _0x3009e8(0x1b2):case'--authority':{let _0x33d05e=k(_0x2abde2,++_0x19dc6d,_0x1b3788,'a\x20deployment\x20URL,\x20e.g.\x20https://automationsuite.contoso.com'),_0x36a359=_0x3bd5f2(_0x33d05e);if(_0x36a359['ok']===!0x1){console[_0x3009e8(0x22b)](_0x52ab12(_0x33d05e,_0x36a359[_0x3009e8(0x273)])),process['exit'](0x2);break;}_0xb137e['url']=_0x36a359[_0x3009e8(0x1b9)];break;}case _0x3009e8(0x25f):_0xb137e[_0x3009e8(0x2f1)]=!0x0;break;case'-h':case _0x3009e8(0x24c):_0xb137e[_0x3009e8(0x303)]=!0x0;break;case'-v':case _0x3009e8(0x193):_0xb137e[_0x3009e8(0x1c7)]=!0x0;break;default:if(_0x5c7ccd&&Object[_0x3009e8(0x2dc)](_0x5c7ccd['valueFlags'],_0x1b3788)){_0xb137e[_0x3009e8(0x297)][_0x1b3788]=k(_0x2abde2,++_0x19dc6d,_0x1b3788,_0x5c7ccd[_0x3009e8(0x29f)][_0x1b3788]);break;}if(_0x1b3788==='--computer-use'&&_0x542f3b[_0x3009e8(0x1ee)]===_0x3009e8(0x261)){_0xb137e[_0x3009e8(0x1ee)]=!0x0;break;}_0x1b3788[_0x3009e8(0x13d)]('--')&&(console[_0x3009e8(0x22b)](_0x3009e8(0x181)+_0x1b3788),process[_0x3009e8(0x215)](0x2)),_0x3c5bbe['push'](_0x1b3788);}}_0xb137e[_0x3009e8(0x1ff)]!==void 0x0&&_0xb137e[_0x3009e8(0x23e)]!==_0x3009e8(0x168)&&(console['error'](_0x3009e8(0x1fe)+_0xb137e[_0x3009e8(0x20a)][_0x3009e8(0x361)]+_0x3009e8(0x1a0)+_0xb137e[_0x3009e8(0x20a)][_0x3009e8(0x361)]+_0x3009e8(0x24d)),process['exit'](0x2)),_0xb137e[_0x3009e8(0x260)]!==void 0x0&&_0xb137e[_0x3009e8(0x133)]!==void 0x0&&(console['error'](_0x3009e8(0x309)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x260)]!==void 0x0&&_0xb137e[_0x3009e8(0x23e)]!==_0x3009e8(0x168)&&(console['error'](_0x3009e8(0x2e5)+_0xb137e[_0x3009e8(0x20a)][_0x3009e8(0x361)]+_0x3009e8(0x1b7)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x262)]!==void 0x0&&_0xb137e[_0x3009e8(0x23e)]!==_0x3009e8(0x378)&&(console[_0x3009e8(0x22b)](_0x3009e8(0x132)+_0xb137e[_0x3009e8(0x20a)][_0x3009e8(0x361)]+_0x3009e8(0x2e1)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x2be)]!==void 0x0&&(_0xb137e[_0x3009e8(0x23e)]!=='complete'&&_0xb137e[_0x3009e8(0x23e)]!==''||_0xb137e['cleanup'])&&(console[_0x3009e8(0x22b)](_0x3009e8(0x2fb)+_0xb137e['product'][_0x3009e8(0x361)]+_0x3009e8(0x2a5)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x274)][_0x3009e8(0x342)]>0x0&&(_0xb137e['subcommand']!==''||_0xb137e[_0x3009e8(0x298)])&&(console[_0x3009e8(0x22b)](_0x3009e8(0x27e)),process['exit'](0x2)),_0xb137e[_0x3009e8(0x129)]&&(_0xb137e[_0x3009e8(0x23e)]!==''||_0xb137e[_0x3009e8(0x298)])&&(console[_0x3009e8(0x22b)]('--task-automation\x20applies\x20to\x20prompts\x20only.'),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x1ee)]&&(_0xb137e['headless']||_0xb137e['noComputerUse'])&&(console[_0x3009e8(0x22b)](_0x3009e8(0x31a)),process[_0x3009e8(0x215)](0x2)),_0x542f3b[_0x3009e8(0x1ee)]===_0x3009e8(0x261)&&!_0xb137e[_0x3009e8(0x1ee)]&&(_0xb137e[_0x3009e8(0x306)]=!0x0),_0xb137e[_0x3009e8(0x129)]&&(_0xb137e['headless']||_0xb137e[_0x3009e8(0x306)])&&(console[_0x3009e8(0x22b)]('--task-automation\x20needs\x20computer\x20use:\x20the\x20task\x20log\x20is\x20written\x20by\x20the\x20UI-automation\x20tools.\x20'+(_0x542f3b[_0x3009e8(0x1ee)]===_0x3009e8(0x1ad)?_0x542f3b[_0x3009e8(0x361)]+_0x3009e8(0x1f6):_0x542f3b[_0x3009e8(0x1ee)]===_0x3009e8(0x261)?_0x3009e8(0x339):_0x3009e8(0x240))),process['exit'](0x2)),_0x542f3b[_0x3009e8(0x33b)]!==void 0x0&&(_0xb137e['vertical']!==void 0x0&&_0xb137e[_0x3009e8(0x33b)][_0x3009e8(0x32f)]()!==_0x542f3b[_0x3009e8(0x33b)]&&(console[_0x3009e8(0x22b)](_0x542f3b[_0x3009e8(0x361)]+_0x3009e8(0x265)+_0x542f3b[_0x3009e8(0x33b)]+_0x3009e8(0x2ca)+_0xb137e[_0x3009e8(0x33b)]+_0x3009e8(0x2d8)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x33b)]=_0x542f3b[_0x3009e8(0x33b)]),_0xb137e[_0x3009e8(0x2f1)]&&_0xb137e[_0x3009e8(0x23e)]!==_0x3009e8(0x168)&&(console[_0x3009e8(0x22b)](_0x3009e8(0x1b4)+_0xb137e[_0x3009e8(0x20a)]['bin']+_0x3009e8(0x14e)),process['exit'](0x2));let _0x42aa97=[...cn,...(_0x542f3b['commands']??[])[_0x3009e8(0x1cd)](_0x2604d2=>_0x2604d2[_0x3009e8(0x251)])[_0x3009e8(0x14d)](_0x1e3d9d=>_0x1e3d9d['name'])];return _0xb137e[_0x3009e8(0x1c2)]!==_0x3009e8(0x186)&&!_0x42aa97[_0x3009e8(0x1bd)](_0xb137e[_0x3009e8(0x23e)])&&(console[_0x3009e8(0x22b)](_0x3009e8(0x281)+_0xb137e[_0x3009e8(0x1c2)]+_0x3009e8(0x2ef)+_0x42aa97[_0x3009e8(0x1cd)](Boolean)[_0x3009e8(0x311)](',\x20')+'.'),process[_0x3009e8(0x215)](0x2)),(_0xb137e['inputFormat']!==_0x3009e8(0x186)||_0xb137e[_0x3009e8(0x2f6)])&&_0xb137e[_0x3009e8(0x23e)]!==''&&(console[_0x3009e8(0x22b)](_0x3009e8(0x2ab)),process[_0x3009e8(0x215)](0x2)),_0xb137e['replayUserMessages']&&_0xb137e[_0x3009e8(0x23f)]!=='stream-json'&&(console[_0x3009e8(0x22b)](_0x3009e8(0x216)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x23f)]===_0x3009e8(0x315)&&_0xb137e[_0x3009e8(0x1c2)]!==_0x3009e8(0x315)&&(console[_0x3009e8(0x22b)](_0x3009e8(0x171)),process[_0x3009e8(0x215)](0x2)),(_0xb137e[_0x3009e8(0x1d0)]!==void 0x0||_0xb137e[_0x3009e8(0x176)]!==void 0x0||_0xb137e[_0x3009e8(0x30a)])&&_0xb137e['subcommand']!=='sessions'&&(console[_0x3009e8(0x22b)](_0x3009e8(0x1dc)+_0xb137e[_0x3009e8(0x20a)][_0x3009e8(0x361)]+_0x3009e8(0x1e9)),process['exit'](0x2)),(_0xb137e['delegateTo']!==void 0x0||_0xb137e[_0x3009e8(0x2d5)]!==void 0x0)&&_0xb137e['subcommand']!=='delegations'&&(console[_0x3009e8(0x22b)]('--to\x20and\x20--summary\x20apply\x20to\x20`'+_0xb137e['product'][_0x3009e8(0x361)]+'\x20delegations\x20create`\x20only.'),process[_0x3009e8(0x215)](0x2)),_0xb137e['turnId']!==void 0x0&&_0xb137e[_0x3009e8(0x23e)]!==_0x3009e8(0x1eb)&&(console[_0x3009e8(0x22b)](_0x3009e8(0x2b3)+_0xb137e['product']['bin']+_0x3009e8(0x1fd)),process[_0x3009e8(0x215)](0x2)),_0xb137e[_0x3009e8(0x368)]=[...new Set(_0xb137e[_0x3009e8(0x368)])],_0xb137e[_0x3009e8(0x211)]=_0x3c5bbe,_0xb137e[_0x3009e8(0x2b2)]=_0x3c5bbe[_0x3009e8(0x311)]('\x20'),_0xb137e['inputFormat']===_0x3009e8(0x315)&&_0xb137e[_0x3009e8(0x2b2)]!==''&&(console['error'](_0x3009e8(0x231)),process['exit'](0x2)),_0xb137e;}function un(){const _0x213b93=_0x511361;let _0x4663ad=process[_0x213b93(0x1fc)][_0x213b93(0x140)],_0x206964=_0x4663ad[_0x213b93(0x24b)](process['stdout']),_0x34d31c=O;return O=_0x38cfd0=>{_0x206964(_0x38cfd0);},process['stdout'][_0x213b93(0x140)]=(..._0x430179)=>process[_0x213b93(0x317)]['write'](..._0x430179),()=>{const _0x33a08a=_0x213b93;process[_0x33a08a(0x1fc)][_0x33a08a(0x140)]=_0x4663ad,O=_0x34d31c;};}function m(_0x291641,_0x5a0946,_0x171a99){const _0x1e206a=_0x511361;if(_0x291641[_0x1e206a(0x1c2)]===_0x1e206a(0x186)){_0x171a99(_0x5a0946);return;}O(_0x3922ed(_0x5a0946));}function pn(_0x194b73){const _0x13d9b9=_0x511361;let _0x429dbb=_0x194b73[_0x13d9b9(0x361)],_0x50e55d=_0x194b73[_0x13d9b9(0x303)]?.[_0x13d9b9(0x235)]?_0x194b73[_0x13d9b9(0x303)]['commands']+'\x0a':'',_0x221e65=_0x194b73['help']?.[_0x13d9b9(0x1af)]?_0x194b73[_0x13d9b9(0x303)]['flags']+'\x0a':'',_0x36ea6a=_0x194b73[_0x13d9b9(0x303)]?.['about']?'\x0a\x0a'+_0x194b73[_0x13d9b9(0x303)][_0x13d9b9(0x2f2)]:'',_0x42e664=('\x0a'+_0x429dbb+_0x13d9b9(0x205)+_0x194b73['title']+'\x0a\x0aUsage:\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x1a1)+_0x429dbb+_0x13d9b9(0x29a)+_0x429dbb+_0x13d9b9(0x346)+_0x429dbb+'\x20-p\x20\x22<prompt>\x22\x20--output-format\x20json|stream-json\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20turn\x20with\x20JSON-only\x20stdout;\x20exit\x201\x20on\x20error\x0a\x20\x20'+_0x429dbb+'\x20--json-schema\x20FILE\x20\x22<prompt>\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20turn,\x20then\x20its\x20result\x20extracted\x20as\x20JSON\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20matching\x20the\x20schema\x20in\x20FILE\x20(printed\x20after\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20answer;\x20\x22structured\x22\x20in\x20the\x20JSON\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20exit\x201\x20when\x20the\x20extraction\x20fails\x0a\x20\x20'+_0x429dbb+'\x20--attach\x20PATH\x20[--attach\x20PATH\x20...]\x20\x22<prompt>\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20files\x20or\x20folders\x20with\x20the\x20first\x20message\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x35e)+_0x429dbb+_0x13d9b9(0x1ab)+_0x429dbb+'\x20logout\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20the\x20saved\x20CLI\x20login\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x333)+_0x429dbb+_0x13d9b9(0x348)+_0x429dbb+_0x13d9b9(0x2f8)+_0x429dbb+_0x13d9b9(0x1f3)+_0x429dbb+_0x13d9b9(0x14f)+_0x429dbb+_0x13d9b9(0x33d)+_0x429dbb+_0x13d9b9(0x178)+_0x429dbb+_0x13d9b9(0x135)+_0x429dbb+_0x13d9b9(0x232)+_0x429dbb+'\x20usage\x20activity|daily\x20[--days\x20N]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Activity\x20totals,\x20or\x20per-day\x20usage,\x20over\x20the\x20last\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N\x20days\x20(1-365,\x20default\x2030)\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x141)+_0x429dbb+_0x13d9b9(0x2eb)+_0x429dbb+_0x13d9b9(0x2d7)+_0x50e55d+'\x20\x20'+_0x429dbb+_0x13d9b9(0x362)+_0x429dbb+_0x13d9b9(0x30e)+_0x429dbb+_0x13d9b9(0x247)+_0x429dbb+_0x13d9b9(0x2ac)+_0x429dbb+_0x13d9b9(0x33a)+_0x429dbb+'\x20delegations\x20show|claim\x20ID|LINK\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Read\x20a\x20delegation\x20assigned\x20to\x20you\x20(or\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20delegate://delegation/…\x20link),\x20or\x20claim\x20it:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20prints\x20the\x20session\x20to\x20work\x20it\x20in\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x271)+_0x429dbb+'\x20host\x20[flags]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20this\x20PC\x20as\x20a\x20remote\x20worker\x20until\x20Ctrl+C\x0a\x20\x20'+_0x429dbb+'\x20host\x20install\x20[flags]\x20\x20\x20\x20Auto-start\x20the\x20host\x20at\x20login\x20(macOS\x20LaunchAgent\x20/\x20Windows\x20Scheduled\x20Task)\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x2cb)+_0x429dbb+'\x20host\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20auto-start\x20state\x0a\x20\x20'+_0x429dbb+_0x13d9b9(0x302)+_0x429dbb+_0x13d9b9(0x1ce)+_0x429dbb+_0x13d9b9(0x2f4)+_0x429dbb+_0x13d9b9(0x1f0)+_0x221e65+_0x13d9b9(0x353)+_0x36ea6a+'\x0a')[_0x13d9b9(0x32f)]();console[_0x13d9b9(0x35c)](mn(_0x42e664));}function mn(_0x5eaddf){const _0x407a90=_0x511361;return _0x5eaddf[_0x407a90(0x2e0)]('\x0a')['map'](_0x409a5f=>{const _0x351fa4=_0x407a90;let _0x3d3a3b=/^( \S.*?\S)( {2,})(\S.*)$/[_0x351fa4(0x2ce)](_0x409a5f);return!_0x3d3a3b||_0x3d3a3b[0x1][_0x351fa4(0x342)]+_0x3d3a3b[0x2]['length']<=ye?_0x409a5f:_0x3d3a3b[0x1]+'\x20'[_0x351fa4(0x222)](Math[_0x351fa4(0x35a)](0x2,ye-_0x3d3a3b[0x1]['length']))+_0x3d3a3b[0x3];})[_0x407a90(0x311)]('\x0a');}function fn(){const _0xc450ec=_0x511361;try{return JSON['parse'](_0x36ff96[_0xc450ec(0x2e2)](_0x38fab9[_0xc450ec(0x311)](__dirname,'..',_0xc450ec(0x119)),_0xc450ec(0x1a5)))['version']||_0xc450ec(0x1cb);}catch{return _0xc450ec(0x1cb);}}async function we(_0x5bfe9f,_0x47698b){const _0x376283=_0x511361;let _0x26c180=_0x47698b?[_0x47698b]:[];for await(let _0x48ab80 of _0x5bfe9f)_0x26c180[_0x376283(0x284)](Buffer[_0x376283(0x1c4)](_0x48ab80));return Buffer[_0x376283(0x32e)](_0x26c180)[_0x376283(0x237)](_0x376283(0x1a5))[_0x376283(0x32f)]();}function hn(_0x57b22b,_0x20d321){return new Promise(_0x198cd2=>{const _0x4a4645=_0xaca4;let _0x14b497=_0x55d28c=>{const _0x3e44a8=_0xaca4;clearTimeout(_0x3c4b6b),_0x57b22b[_0x3e44a8(0x377)](_0x3e44a8(0x29b),_0xdd0a3a),_0x57b22b[_0x3e44a8(0x377)]('end',_0x4b0dd6),_0x57b22b[_0x3e44a8(0x377)](_0x3e44a8(0x22b),_0x4b0dd6),_0x57b22b[_0x3e44a8(0x358)](),_0x198cd2(_0x55d28c);},_0xdd0a3a=_0x394a49=>_0x14b497(Buffer[_0x4a4645(0x1c4)](_0x394a49)),_0x4b0dd6=()=>_0x14b497(null),_0x3c4b6b=setTimeout(()=>_0x14b497(null),_0x20d321);_0x57b22b['on'](_0x4a4645(0x29b),_0xdd0a3a),_0x57b22b['on'](_0x4a4645(0x1f4),_0x4b0dd6),_0x57b22b['on'](_0x4a4645(0x22b),_0x4b0dd6),_0x57b22b[_0x4a4645(0x27c)]();});}async function H(_0x21500e,_0x4da8d9,_0xe43ffb=gn){const _0x47d9cb=_0x511361;let _0x3b5d2c=_0x21500e==='-';if(!_0x3b5d2c&&_0x21500e)return _0x21500e;if(!_0x3b5d2c&&_0x4da8d9[_0x47d9cb(0x2e7)])return'';if(_0x3b5d2c)return we(_0x4da8d9,null);let _0x54d06c=await hn(_0x4da8d9,_0xe43ffb);return _0x54d06c?we(_0x4da8d9,_0x54d06c):'';}function V(){const _0x22cfb6=_0x511361;return _0x38fab9['join'](process.env.HOME||process.env.USERPROFILE||'',_0x22cfb6(0x128),'auth.json');}function G(_0x5953dc){const _0x457f91=_0x511361;try{let _0x3bc554=JSON[_0x457f91(0x26e)](_0x36ff96[_0x457f91(0x2e2)](_0x5953dc,_0x457f91(0x1a5)));return!_0x3bc554[_0x457f91(0x2a1)]||!_0x3bc554[_0x457f91(0x192)]||!_0x3bc554[_0x457f91(0x35f)]?null:_0x3bc554;}catch{return null;}}function yn(){const _0x30def6=_0x511361;let _0xb1a5=[{'file':_0x20be7e(),'isDesktopFallback':!0x1},{'file':V(),'isDesktopFallback':!0x0}];for(let _0x4813bc of _0xb1a5){let _0x412cd2=G(_0x4813bc[_0x30def6(0x316)]);if(_0x412cd2)return{..._0x4813bc,'auth':_0x412cd2};}return null;}async function wn(){const _0x26cbfb=_0x511361;let _0x688e6a=_0x20be7e();if(!_0x36ff96[_0x26cbfb(0x130)](_0x688e6a)){let _0x1d21da=V();console['log'](G(_0x1d21da)?_0x26cbfb(0x195)+_0x1d21da+_0x26cbfb(0x2cc):_0x26cbfb(0x2b9));return;}_0x36ff96[_0x26cbfb(0x11c)](_0x688e6a),console['log'](_0x26cbfb(0x17e)+_0x688e6a);}async function bn(_0x5ee302){const _0x3aff2b=_0x511361;let _0x1d664f=Y(),_0x1b6d89,_0x101a26;if(_0x1d664f)_0x1b6d89=_0x1d664f,_0x101a26=_0x3aff2b(0x234);else{let _0x907ea9=yn();if(!_0x907ea9)throw new Error(Pe(_0x5ee302[_0x3aff2b(0x20a)][_0x3aff2b(0x361)]));_0x1b6d89=_0x907ea9['auth'],_0x101a26=_0x907ea9[_0x3aff2b(0x2ad)]?_0x907ea9[_0x3aff2b(0x316)]+_0x3aff2b(0x2ed):_0x907ea9['file'];}let _0x584593={'source':_0x101a26,'baseUrl':_0x1b6d89[_0x3aff2b(0x1b9)]??null,'deployment':kn(_0x1b6d89[_0x3aff2b(0x1b9)]),'organization':{'id':_0x1b6d89[_0x3aff2b(0x35f)],'slug':_0x1b6d89['orgLogicalName']??null},'tenant':{'id':_0x1b6d89[_0x3aff2b(0x192)],'name':_0x1b6d89[_0x3aff2b(0x22c)]??null},'tokenExpiresAt':_0x1b6d89[_0x3aff2b(0x243)]?new Date(_0x1b6d89[_0x3aff2b(0x243)]*0x3e8)[_0x3aff2b(0x13f)]():null};m(_0x5ee302,_0x584593,()=>{const _0x15bced=_0x3aff2b;let _0x104da=[_0x15bced(0x2c9)+_0x101a26,_0x15bced(0x1a4)+(_0x1b6d89['baseUrl']??_0x15bced(0x1cb)),_0x15bced(0x228)+_0x584593[_0x15bced(0x2a3)],'Organization:\x20'+(_0x1b6d89[_0x15bced(0x1aa)]??_0x15bced(0x32b))+'\x20('+_0x1b6d89[_0x15bced(0x35f)]+')',_0x15bced(0x194)+(_0x1b6d89[_0x15bced(0x22c)]??_0x15bced(0x32b))+'\x20('+_0x1b6d89[_0x15bced(0x192)]+')'];if(_0x1b6d89[_0x15bced(0x243)]){let _0x2dc1fd=_0x1b6d89['expiresAt']-Math['floor'](Date['now']()/0x3e8);_0x104da[_0x15bced(0x284)](_0x2dc1fd>0x0?_0x15bced(0x155)+_0x584593[_0x15bced(0x2a2)]+_0x15bced(0x189)+Math[_0x15bced(0x210)](_0x2dc1fd/0x3c)+_0x15bced(0x29e):_0x15bced(0x364)+_0x584593[_0x15bced(0x2a2)]);}process[_0x15bced(0x1fc)]['write'](_0x104da[_0x15bced(0x311)]('\x0a')+'\x0a');});}function Pe(_0x2170db){const _0x2a2225=_0x511361;return _0x2a2225(0x359)+_0x2170db+_0x2a2225(0x11f);}function kn(_0x3ecdb3){const _0x2c6d6b=_0x511361;return _0x3ecdb3?_0x2fed20(_0x3ecdb3)?_0x2c6d6b(0x293):_0x2c6d6b(0x175):'unknown';}function Y(){let _0xb8d298=process.env.AUTH_TOKEN_FILE;return(process.env.AUTH_TOKEN||_0xb8d298)&&process.env.TENANT_ID&&process.env.ORG_ID?{'accessToken':_0xb8d298?vn(_0xb8d298):process.env.AUTH_TOKEN,..._0xb8d298?{'accessTokenFile':_0xb8d298}:{},'tenantId':process.env.TENANT_ID,'organizationId':process.env.ORG_ID,'orgLogicalName':process.env.ORG_SLUG,'tenantName':process.env.TENANT_SLUG,'baseUrl':Re()}:null;}function vn(_0x5e5f02){const _0x23711b=_0x511361;let _0x3c0f49;try{_0x3c0f49=_0x36ff96[_0x23711b(0x2e2)](_0x5e5f02,_0x23711b(0x1a5))[_0x23711b(0x32f)]();}catch(_0x5176ca){throw new Error(_0x23711b(0x187)+_0x5e5f02+_0x23711b(0x375)+_0x5176ca[_0x23711b(0x282)]);}let _0x3b4eaf=_0x3c0f49['startsWith'](_0x23711b(0x220))?_0x3c0f49['slice'](0x7)[_0x23711b(0x32f)]():_0x3c0f49;if(!_0x3b4eaf)throw new Error(_0x23711b(0x187)+_0x5e5f02+_0x23711b(0x275));return _0x3b4eaf;}function Re(){const _0x39435a=_0x511361;let _0x466b90=process.env.UIPATH_BASE_URL;if(!_0x466b90)return;let _0x1e0c77=_0x3bd5f2(_0x466b90);if(_0x1e0c77['ok']===!0x1)throw new Error('UIPATH_BASE_URL\x20is\x20unusable.\x20'+_0x52ab12(_0x466b90,_0x1e0c77[_0x39435a(0x273)]));return _0x1e0c77[_0x39435a(0x1b9)];}async function X(_0x38536b){let _0x2b9104=Y();if(_0x2b9104)return _0x2b9104;let _0x174bbc=await _0x106b32();if(_0x174bbc)return _0x174bbc;throw new Error(Pe(_0x38536b));}async function $n(){const _0x2b40a8=_0x511361;await new _0x47cc61()[_0x2b40a8(0x202)]({'force':!0x0}),console[_0x2b40a8(0x35c)](_0x2b40a8(0x121));}function Z(_0x4c3c10,_0x5ca945,_0x3154e0){const _0x53885a=_0x511361;_0x4c3c10?process[_0x53885a(0x317)][_0x53885a(0x140)](_0x53885a(0x1e1)+_0x4c3c10+_0x53885a(0x283)+_0x3154e0+'\x0a'):!_0x5ca945&&!process.env.BACKEND_URL&&process[_0x53885a(0x317)][_0x53885a(0x140)](_0x53885a(0x165)+_0x3154e0+'\x0a');}async function x(_0x4dff49){const _0x2ee410=_0x511361;let _0x495be0=await X(_0x4dff49[_0x2ee410(0x20a)][_0x2ee410(0x361)]),_0x225753=_0x3ab8d9(_0x4dff49['env'],_0x495be0,_0x4dff49[_0x2ee410(0x257)]);return Z(_0x4dff49[_0x2ee410(0x133)],_0x4dff49[_0x2ee410(0x257)],_0x225753),{'auth':_0x495be0,'backendUrl':_0x225753,'client':_0x5c52af({'auth':_0x495be0,'backendUrl':_0x225753})};}async function Sn(_0x3d6c97){const _0x5480d2=_0x511361;let {client:_0x43a530}=await x(_0x3d6c97),[_0x5f1a8d,_0x87ce07]=await Promise[_0x5480d2(0x2ff)]([_0x437103(_0x43a530),_0x2bceb7(_0x43a530)[_0x5480d2(0x325)](_0x1ba0e2=>(process['stderr'][_0x5480d2(0x140)]('Could\x20not\x20check\x20BYO\x20model\x20warnings:\x20'+(_0x1ba0e2 instanceof Error?_0x1ba0e2[_0x5480d2(0x282)]:String(_0x1ba0e2))+'\x0a'),{}))]),_0x42a345=_0x5f1a8d['map'](_0x36ee8d=>_0x87ce07[_0x36ee8d['id']]?{..._0x36ee8d,'byoWarning':_0x87ce07[_0x36ee8d['id']]}:_0x36ee8d);m(_0x3d6c97,_0x42a345,_0x381e93=>An(_0x381e93,_0x3d6c97['product']['bin']));}function An(_0x516d10,_0x398b67){const _0x5a62d5=_0x511361;if(_0x516d10[_0x5a62d5(0x342)]===0x0){process[_0x5a62d5(0x317)][_0x5a62d5(0x140)]('No\x20models\x20available\x20for\x20this\x20product/tenant.\x0a');return;}process[_0x5a62d5(0x1fc)][_0x5a62d5(0x140)](_0x5a62d5(0x1be)+_0x516d10[_0x5a62d5(0x342)]+_0x5a62d5(0x15e));for(let _0x2a01e7 of _0x516d10){let _0x189fb9=_0x2a01e7[_0x5a62d5(0x143)]&&_0x2a01e7['name']!==_0x2a01e7['id']?'\x20('+_0x2a01e7[_0x5a62d5(0x143)]+')':'';process['stdout']['write']('\x20\x20'+_0x2a01e7['id']+_0x189fb9+'\x0a'),_0x2a01e7['description']&&process[_0x5a62d5(0x1fc)][_0x5a62d5(0x140)](_0x5a62d5(0x264)+_0x2a01e7[_0x5a62d5(0x1b5)]+'\x0a'),_0x2a01e7[_0x5a62d5(0x376)]&&process['stdout'][_0x5a62d5(0x140)](_0x5a62d5(0x18c)+(_0x2a01e7['lockReason']?'\x20('+_0x2a01e7[_0x5a62d5(0x125)]+')':'')+'\x0a'),_0x2a01e7[_0x5a62d5(0x2bd)]&&process[_0x5a62d5(0x1fc)][_0x5a62d5(0x140)]('\x20\x20\x20\x20BYO\x20warning:\x20'+_0x2a01e7[_0x5a62d5(0x2bd)]+'\x0a');}process[_0x5a62d5(0x1fc)][_0x5a62d5(0x140)](_0x5a62d5(0x32d)+_0x398b67+_0x5a62d5(0x34f));}async function xn(_0x523dc2){const _0x2b7efc=_0x511361;let [_0x1c9236='',_0x1cf93e='',..._0x2cade6]=_0x523dc2['operands'];if(_0x1c9236&&!be['includes'](_0x1c9236)&&(console[_0x2b7efc(0x22b)](_0x2b7efc(0x1b3)+_0x1c9236+_0x2b7efc(0x336)+be[_0x2b7efc(0x311)]('\x20|\x20')+'.'),process[_0x2b7efc(0x215)](0x2)),_0x523dc2[_0x2b7efc(0x31c)]!==void 0x0&&_0x1c9236!==_0x2b7efc(0x224)&&(console[_0x2b7efc(0x22b)](_0x2b7efc(0x2b3)+_0x523dc2[_0x2b7efc(0x20a)][_0x2b7efc(0x361)]+_0x2b7efc(0x1fd)),process[_0x2b7efc(0x215)](0x2)),_0x1c9236&&_0x1c9236!==_0x2b7efc(0x2cd)){await En(_0x523dc2,_0x1c9236,_0x1cf93e,_0x2cade6['join']('\x20')[_0x2b7efc(0x32f)]());return;}_0x523dc2[_0x2b7efc(0x211)]['length']>0x1&&(console['error'](_0x2b7efc(0x280)+_0x523dc2[_0x2b7efc(0x20a)][_0x2b7efc(0x361)]+_0x2b7efc(0x1c5)),process['exit'](0x2));let {client:_0x193c0f}=await x(_0x523dc2),_0x38a2b3=await _0x2a73c3(_0x193c0f,{'page':_0x523dc2['page'],'pageSize':_0x523dc2[_0x2b7efc(0x176)],'includeSubAgents':_0x523dc2[_0x2b7efc(0x30a)]});m(_0x523dc2,_0x38a2b3,_0x2f906e=>Dn(_0x2f906e,_0x523dc2[_0x2b7efc(0x20a)]['bin']));}async function En(_0x4a4564,_0x440823,_0x196a44,_0x22d237){const _0x17c3c5=_0x511361;if((_0x4a4564[_0x17c3c5(0x1d0)]!==void 0x0||_0x4a4564[_0x17c3c5(0x176)]!==void 0x0||_0x4a4564[_0x17c3c5(0x30a)])&&(console['error'](_0x17c3c5(0x1dc)+_0x4a4564[_0x17c3c5(0x20a)][_0x17c3c5(0x361)]+_0x17c3c5(0x244)),process[_0x17c3c5(0x215)](0x2)),_0x440823===_0x17c3c5(0x224)){await Tn(_0x4a4564,_0x196a44,_0x22d237);return;}if(_0x440823===_0x17c3c5(0x174)){await Un(_0x4a4564,_0x196a44,_0x22d237);return;}(!_0x196a44||_0x440823==='rename'!=!!_0x22d237)&&(console[_0x17c3c5(0x22b)](_0x17c3c5(0x280)+_0x4a4564[_0x17c3c5(0x20a)][_0x17c3c5(0x361)]+_0x17c3c5(0x161)+_0x440823+_0x17c3c5(0x2a8)+(_0x440823===_0x17c3c5(0x36a)?_0x17c3c5(0x172):'')),process[_0x17c3c5(0x215)](0x2));let {client:_0x27e1b2}=await x(_0x4a4564);try{if(_0x440823===_0x17c3c5(0x2c5)){let _0x7e36a=await _0x25a608(_0x27e1b2,_0x196a44);_0x7e36a||ke(_0x196a44),m(_0x4a4564,_0x7e36a,In);}else{if(_0x440823===_0x17c3c5(0x36a)){let _0x4a6e01=await _0x169c73(_0x27e1b2,_0x196a44,_0x22d237);m(_0x4a4564,_0x4a6e01,_0x208265=>{const _0xa191b1=_0x17c3c5;process['stdout'][_0xa191b1(0x140)](_0xa191b1(0x25c)+_0x208265['id']+':\x20'+_0x208265['title']+'\x0a');});}else await _0x1f6880(_0x27e1b2,_0x196a44),await _0x2b7571(_0x196a44,_0x4a4564[_0x17c3c5(0x2d2)]),m(_0x4a4564,{'id':_0x196a44,'deleted':!0x0},_0x3cf53a=>{const _0x5dba31=_0x17c3c5;process[_0x5dba31(0x1fc)][_0x5dba31(0x140)]('Deleted\x20session\x20'+_0x3cf53a['id']+'.\x0a');});}}catch(_0x37391e){if(!_0x4c363b(_0x37391e,0x194))throw _0x37391e;ke(_0x196a44);}}function ke(_0x2d558c){const _0x16308b=_0x511361;console[_0x16308b(0x22b)](_0x16308b(0x30f)+_0x2d558c+'\x20not\x20found.'),process['exit'](0x1);}function In(_0xf8c9aa){const _0x5d7bdd=_0x511361;process[_0x5d7bdd(0x1fc)]['write']('ID\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xf8c9aa['id']+'\x0a'),process[_0x5d7bdd(0x1fc)][_0x5d7bdd(0x140)](_0x5d7bdd(0x1e6)+_0xf8c9aa[_0x5d7bdd(0x35b)]+'\x0a'),process[_0x5d7bdd(0x1fc)][_0x5d7bdd(0x140)](_0x5d7bdd(0x1f9)+_0xf8c9aa['userId']+'\x0a'),process['stdout']['write']('Organization\x20\x20'+_0xf8c9aa['organizationId']+'\x0a'),_0xf8c9aa[_0x5d7bdd(0x2ee)]&&process[_0x5d7bdd(0x1fc)][_0x5d7bdd(0x140)](_0x5d7bdd(0x276)+_0xf8c9aa[_0x5d7bdd(0x2ee)]+'\x0a');}async function Tn(_0x2db750,_0x44aba7,_0x16d5ed){const _0x2055fe=_0x511361;(!_0x44aba7||_0x16d5ed||!_0x2db750[_0x2055fe(0x31c)])&&(console[_0x2055fe(0x22b)](_0x2055fe(0x280)+_0x2db750[_0x2055fe(0x20a)][_0x2055fe(0x361)]+_0x2055fe(0x304)),process['exit'](0x2));let {client:_0x405393}=await x(_0x2db750),_0x1525a7=await _0xeaf235(_0x405393,_0x44aba7,_0x2db750[_0x2055fe(0x31c)]);m(_0x2db750,{'sessionId':_0x44aba7,'turnId':_0x2db750[_0x2055fe(0x31c)],'cancelled':_0x1525a7},_0x39ddbe=>{const _0x3a5706=_0x2055fe;_0x39ddbe['cancelled']?process[_0x3a5706(0x1fc)]['write'](_0x3a5706(0x26d)+_0x39ddbe['turnId']+_0x3a5706(0x2b0)+_0x39ddbe[_0x3a5706(0x25d)]+'.\x0a'):process['stderr'][_0x3a5706(0x140)](_0x3a5706(0x126)+_0x39ddbe[_0x3a5706(0x31c)]+_0x3a5706(0x17f)+_0x39ddbe['sessionId']+'.\x0a');}),_0x1525a7||(process[_0x2055fe(0x22f)]=0x1);}async function Un(_0x2eaa2a,_0x343a0c,_0x4e44e2){const _0x3cf63a=_0x511361;(!_0x343a0c||/\s/[_0x3cf63a(0x250)](_0x4e44e2))&&(console['error'](_0x3cf63a(0x280)+_0x2eaa2a[_0x3cf63a(0x20a)][_0x3cf63a(0x361)]+'\x20sessions\x20fork\x20<id>\x20[<message-id>]'),process['exit'](0x2));let {client:_0x39cd81}=await x(_0x2eaa2a),_0x3b4eff;try{_0x3b4eff=await _0x37da9f(_0x39cd81,_0x343a0c,{'atMessageId':_0x4e44e2||void 0x0});}catch(_0x201f69){if(!_0x4c363b(_0x201f69,0x194))throw _0x201f69;console['error'](_0x3cf63a(0x30f)+_0x343a0c+_0x3cf63a(0x2fd)+(_0x4e44e2?_0x3cf63a(0x151)+_0x4e44e2:'')+'.'),process[_0x3cf63a(0x215)](0x1);}m(_0x2eaa2a,_0x3b4eff,_0x5b1c50=>{const _0x336976=_0x3cf63a;process['stdout'][_0x336976(0x140)]('Forked\x20'+_0x343a0c+_0x336976(0x14b)+_0x5b1c50['id']+'.\x0a'),process[_0x336976(0x317)][_0x336976(0x140)](_0x336976(0x26f)+_0x2eaa2a[_0x336976(0x20a)][_0x336976(0x361)]+_0x336976(0x16f)+_0x5b1c50['id']+_0x336976(0x17a));});}function Dn({sessions:_0x224e25,page:_0x21beb9,isLastPage:_0x29a64c},_0x817d42){const _0x3f3a5c=_0x511361;if(_0x224e25['length']===0x0)process[_0x3f3a5c(0x317)][_0x3f3a5c(0x140)](_0x3f3a5c(0x2b6)+_0x21beb9+'.\x0a');else{process['stdout'][_0x3f3a5c(0x140)]('ID'[_0x3f3a5c(0x1e7)](0x24)+'\x20\x20'+'UPDATED'['padEnd'](0x13)+_0x3f3a5c(0x269));for(let _0x100061 of _0x224e25){let _0x1b770e=_0x100061['updatedAt'][_0x3f3a5c(0x236)]('T','\x20')[_0x3f3a5c(0x313)](0x0,0x13),_0xda1d3a=_0x100061[_0x3f3a5c(0x2aa)]?_0x3f3a5c(0x148)+_0x100061[_0x3f3a5c(0x2aa)]+')':'';process[_0x3f3a5c(0x1fc)][_0x3f3a5c(0x140)](_0x100061['id'][_0x3f3a5c(0x1e7)](0x24)+'\x20\x20'+_0x1b770e[_0x3f3a5c(0x1e7)](0x13)+'\x20\x20'+_0x100061[_0x3f3a5c(0x35b)]+_0xda1d3a+'\x0a');}}_0x29a64c||process[_0x3f3a5c(0x317)]['write'](_0x3f3a5c(0x1ca)+_0x817d42+_0x3f3a5c(0x2fc)+(_0x21beb9+0x1)+'\x0a');}async function Nn(_0x1daeed){const _0x4a8b36=_0x511361;let _0xb96dd0=await X(_0x1daeed['product']['bin']),_0x51d610=_0x3ab8d9(_0x1daeed['env'],_0xb96dd0,_0x1daeed['backendUrl']);Z(_0x1daeed[_0x4a8b36(0x133)],_0x1daeed[_0x4a8b36(0x257)],_0x51d610);let _0x34a1a0=await _0x50b0d1({'auth':_0xb96dd0,'backendUrl':_0x51d610,'interop':_0x1daeed[_0x4a8b36(0x16c)]?_0x4a8b36(0x1a7):'spawn'});m(_0x1daeed,_0x34a1a0,({checks:_0x51406c})=>{const _0x28c976=_0x4a8b36;for(let _0x2ce7a0 of _0x51406c)process['stdout'][_0x28c976(0x140)](Cn(_0x2ce7a0)+'\x0a');}),_0x34a1a0['ok']||process[_0x4a8b36(0x215)](0x1);}function Cn(_0x167753){const _0x330f81=_0x511361;return{'ok':'✓','failed':'✗','skipped':'-'}[_0x167753[_0x330f81(0x2e6)]]+'\x20'+_0x167753['name'][_0x330f81(0x1e7)](0xa)+_0x167753[_0x330f81(0x34c)];}async function Rn(_0xe3f3d){const _0x501258=_0x511361;let _0x573950=_0xe3f3d[_0x501258(0x2b2)];Pn[_0x501258(0x1bd)](_0x573950)||(console['error'](_0x501258(0x1e4)+_0xe3f3d[_0x501258(0x2b2)]+'.\x20Use\x20`'+_0xe3f3d[_0x501258(0x20a)][_0x501258(0x361)]+_0x501258(0x322)),process[_0x501258(0x215)](0x2)),_0x573950===''&&_0xe3f3d[_0x501258(0x262)]!==void 0x0&&(console[_0x501258(0x22b)](_0x501258(0x132)+_0xe3f3d[_0x501258(0x20a)][_0x501258(0x361)]+_0x501258(0x2a9)),process['exit'](0x2)),_0x573950!==''&&_0xe3f3d[_0x501258(0x25d)]!==void 0x0&&(console[_0x501258(0x22b)](_0x501258(0x24a)+_0xe3f3d[_0x501258(0x20a)][_0x501258(0x361)]+'\x20usage`\x20summary\x20only.'),process[_0x501258(0x215)](0x2));let {client:_0x353b79}=await x(_0xe3f3d);if(_0x573950===_0x501258(0x27a)){m(_0xe3f3d,await _0x1b527d(_0x353b79,{'days':_0xe3f3d['days']}),On);return;}if(_0x573950==='daily'){m(_0xe3f3d,await _0x718164(_0x353b79,{'days':_0xe3f3d[_0x501258(0x262)]}),Ln);return;}let [_0x2908fb,_0x112775]=await Promise['all']([_0x10bd58(_0x353b79,{'sessionId':_0xe3f3d[_0x501258(0x25d)]}),_0x67ab63(_0x353b79)]);m(_0xe3f3d,{'licensing':_0x2908fb,'monthlySpending':_0x112775},_n);}function _n(_0xc564d2){const _0x5ac769=_0x511361;let {licensing:_0xc6c92a,monthlySpending:_0x3d8a1a}=_0xc564d2,_0x456c2d=[_0xc6c92a[_0x5ac769(0x17d)]?_0x5ac769(0x1dd)+_0xc6c92a['pct_used'][_0x5ac769(0x233)](0x1)+_0x5ac769(0x146)+(_0xc6c92a[_0x5ac769(0x122)]??0x0)+_0x5ac769(0x374)+(_0xc6c92a[_0x5ac769(0x36e)]>0x0?',\x20'+_0xc6c92a['extra_pool_consumed_pu']+_0x5ac769(0x1d5):'')+_0x5ac769(0x124)+_0xc6c92a[_0x5ac769(0x2f9)]+')':_0x5ac769(0x267),_0x5ac769(0x188)+_0x3d8a1a['monthly_spend_usd'][_0x5ac769(0x233)](0x2)+_0x5ac769(0x1ba)+(_0x3d8a1a[_0x5ac769(0x17d)]&&_0x3d8a1a[_0x5ac769(0x2ec)]!==null?'\x20of\x20a\x20$'+_0x3d8a1a[_0x5ac769(0x2ec)][_0x5ac769(0x233)](0x2)+_0x5ac769(0x23b):_0x5ac769(0x36d))];_0xc6c92a[_0x5ac769(0x2d9)]!==null&&_0xc6c92a['session_consumed_pu']!==void 0x0&&_0x456c2d[_0x5ac769(0x284)]('Session:\x20\x20\x20\x20\x20\x20'+_0xc6c92a[_0x5ac769(0x2d9)]+_0x5ac769(0x190)),process[_0x5ac769(0x1fc)][_0x5ac769(0x140)](_0x456c2d[_0x5ac769(0x311)]('\x0a')+'\x0a');}function On(_0x19a916){const _0x4116d4=_0x511361;let _0x1ed631=[_0x4116d4(0x285)+_0x19a916[_0x4116d4(0x279)]+_0x4116d4(0x258)+_0x19a916[_0x4116d4(0x294)]+_0x4116d4(0x137)+_0x19a916['active_days']+_0x4116d4(0x163),_0x4116d4(0x33f)+_0x19a916[_0x4116d4(0x238)]['toFixed'](0x2)+'\x20(estimated\x20$'+_0x19a916['estimated_cost_usd'][_0x4116d4(0x233)](0x2)+_0x4116d4(0x144)+_0x19a916['total_token_units']+_0x4116d4(0x1d8),'Tokens:\x20'+_0x19a916[_0x4116d4(0x16d)]+_0x4116d4(0x2de)+_0x19a916[_0x4116d4(0x214)]+_0x4116d4(0x349)];for(let [_0x18663a,_0x47d880]of Object[_0x4116d4(0x1ae)](_0x19a916[_0x4116d4(0x19b)]))_0x1ed631[_0x4116d4(0x284)]('\x20\x20'+_0x18663a+':\x20'+_0x47d880+_0x4116d4(0x2f0));process[_0x4116d4(0x1fc)]['write'](_0x1ed631[_0x4116d4(0x311)]('\x0a')+'\x0a');}function Ln(_0x2a83c5){const _0xcec438=_0x511361;if(_0x2a83c5[_0xcec438(0x290)][_0xcec438(0x342)]===0x0){process[_0xcec438(0x1fc)]['write']('No\x20usage\x20in\x20the\x20last\x20'+_0x2a83c5[_0xcec438(0x279)]+_0xcec438(0x328));return;}let _0x286737=[_0xcec438(0x221)];for(let _0x403c25 of _0x2a83c5['daily_usage'])_0x286737['push'](_0x403c25[_0xcec438(0x248)]+'\x20\x20'+String(_0x403c25[_0xcec438(0x1c8)])[_0xcec438(0x37a)](0xb)+'\x20\x20'+String(_0x403c25[_0xcec438(0x19c)])[_0xcec438(0x37a)](0xd)+'\x20\x20'+String(_0x403c25[_0xcec438(0x26c)])[_0xcec438(0x37a)](0x11));process[_0xcec438(0x1fc)]['write'](_0x286737[_0xcec438(0x311)]('\x0a')+'\x0a');}async function Fn(_0x53bd24,_0x38cd0e){const _0xc7a7c3=_0x511361;let _0x33c879=await Mn(_0x53bd24['prompt'],_0x38cd0e,_0x53bd24['product'][_0xc7a7c3(0x361)]);_0x53bd24[_0xc7a7c3(0x162)]&&(_0x33c879['model']=_0x53bd24[_0xc7a7c3(0x162)]);let {client:_0x203446}=await x(_0x53bd24);try{_0x38cd0e==='evaluate'?m(_0x53bd24,await _0x18b90c(_0x203446,_0x33c879,void 0x0),Bn):_0x38cd0e==='rerank'?m(_0x53bd24,await _0x268cbb(_0x203446,_0x33c879,void 0x0),Jn):m(_0x53bd24,await _0x2eccaa(_0x203446,_0x33c879,void 0x0),Hn);}catch(_0x4c5a80){if(!_0x142f7f(_0x4c5a80))throw _0x4c5a80;console['error'](_0x4c5a80['message']),process['exit'](0x1);}}async function Mn(_0x13dc54,_0x97a2b,_0x3e33a8){const _0x1ab53d=_0x511361;let _0x15ba76;try{_0x15ba76=_0x13dc54&&_0x13dc54!=='-'?_0x36ff96[_0x1ab53d(0x2e2)](_0x38fab9['resolve'](_0x13dc54),_0x1ab53d(0x1a5)):await H(_0x13dc54,process[_0x1ab53d(0x2c8)]);}catch(_0x7a70a){console[_0x1ab53d(0x22b)](_0x97a2b+_0x1ab53d(0x340)+_0x7a70a['message']+').'),process[_0x1ab53d(0x215)](0x2);}return _0x15ba76||(console[_0x1ab53d(0x22b)](_0x97a2b+_0x1ab53d(0x158)+_0x3e33a8+'\x20'+_0x97a2b+_0x1ab53d(0x321)),process[_0x1ab53d(0x215)](0x2)),_e(_0x15ba76,_0x97a2b,_0x1ab53d(0x25e));}function _e(_0xe12ca5,_0x1a4b90,_0x43a86e){const _0x4963cb=_0x511361;let _0x4b6672;try{_0x4b6672=JSON[_0x4963cb(0x26e)](_0xe12ca5);}catch(_0x4e3d4a){console[_0x4963cb(0x22b)](_0x1a4b90+':\x20'+_0x43a86e+_0x4963cb(0x245)+_0x4e3d4a['message']+').'),process['exit'](0x2);}return(typeof _0x4b6672!=_0x4963cb(0x1cf)||_0x4b6672===null||Array[_0x4963cb(0x198)](_0x4b6672))&&(console[_0x4963cb(0x22b)](_0x1a4b90+':\x20'+_0x43a86e+_0x4963cb(0x249)),process['exit'](0x2)),_0x4b6672;}function Oe(_0x31f5a2,_0x419c46){const _0x9e8731=_0x511361;let _0x16b7d0;try{_0x16b7d0=_0x36ff96['readFileSync'](_0x38fab9[_0x9e8731(0x292)](_0x31f5a2),_0x9e8731(0x1a5));}catch(_0x229f0a){console['error'](_0x419c46+':\x20cannot\x20read\x20the\x20JSON\x20schema\x20('+_0x229f0a[_0x9e8731(0x282)]+').'),process[_0x9e8731(0x215)](0x2);}return _e(_0x16b7d0,_0x419c46,_0x9e8731(0x1d2));}async function jn(_0x9cfce1){const _0x55f1e2=_0x511361;_0x9cfce1[_0x55f1e2(0x2be)]===void 0x0&&(console[_0x55f1e2(0x22b)](_0x55f1e2(0x21f)+_0x9cfce1['product'][_0x55f1e2(0x361)]+'\x20complete\x20--json-schema\x20schema.json\x20\x22<prompt>\x22.'),process[_0x55f1e2(0x215)](0x2));let _0x3ea6f8=Oe(_0x9cfce1[_0x55f1e2(0x2be)],_0x55f1e2(0x291)),_0x411677=(await H(_0x9cfce1[_0x55f1e2(0x2b2)],process[_0x55f1e2(0x2c8)]))[_0x55f1e2(0x32f)]();_0x411677||(console['error'](_0x55f1e2(0x253)+_0x9cfce1[_0x55f1e2(0x20a)]['bin']+'\x20complete\x20--json-schema\x20schema.json\x20\x22<prompt>\x22,\x20or\x20-\x20to\x20read\x20stdin.'),process[_0x55f1e2(0x215)](0x2));let {client:_0x1aa46b}=await x(_0x9cfce1);try{let _0x3fe7e3=await _0x3de08f(_0x1aa46b,{'prompt':_0x411677,'jsonSchema':_0x3ea6f8,'model':_0x9cfce1['model']||process.env.MODEL||_0x23cd12,..._0x9cfce1[_0x55f1e2(0x25d)]!==void 0x0&&{'sessionId':_0x9cfce1['sessionId']}},void 0x0);m(_0x9cfce1,_0x3fe7e3,_0x37ba6a=>{const _0x8c7d74=_0x55f1e2;process[_0x8c7d74(0x1fc)][_0x8c7d74(0x140)](JSON['stringify'](_0x37ba6a[_0x8c7d74(0x299)],null,0x2)+'\x0a');});}catch(_0x3ddff0){if(!_0x459aaa(_0x3ddff0))throw _0x3ddff0;console['error'](_0x3ddff0['message']),process[_0x55f1e2(0x215)](0x1);}}function ee(_0x13c365){const _0x5224f1=_0x511361;process[_0x5224f1(0x1fc)][_0x5224f1(0x140)]('Model\x20'+_0x13c365[_0x5224f1(0x162)]+'\x20('+_0x13c365[_0x5224f1(0x326)]+'),\x20'+_0x13c365[_0x5224f1(0x378)][_0x5224f1(0x11a)]+_0x5224f1(0x127));}function Bn(_0x362453){const _0x24dd07=_0x511361;ee(_0x362453);for(let _0x503521 of Object[_0x24dd07(0x226)](_0x362453[_0x24dd07(0x197)])){let _0x143553=_0x362453[_0x24dd07(0x197)][_0x503521],_0x200c37=_0x143553['type']===_0x24dd07(0x2b1)?'probability\x20'+_0x143553[_0x24dd07(0x2b1)]['toFixed'](0x2):_0x143553['type']===_0x24dd07(0x1ed)?_0x24dd07(0x1d3)+_0x143553[_0x24dd07(0x1ed)]+'\x20(confidence\x20'+_0x143553[_0x24dd07(0x2da)][_0x24dd07(0x233)](0x2)+')':'score\x20'+_0x143553[_0x24dd07(0x229)][_0x24dd07(0x233)](0x2)+_0x24dd07(0x329)+_0x143553['confidence'][_0x24dd07(0x233)](0x2)+')';process[_0x24dd07(0x1fc)][_0x24dd07(0x140)]('\x20\x20'+_0x503521+':\x20'+_0x200c37+'\x0a');}}function Jn(_0x5dd786){const _0x3ba9fc=_0x511361;ee(_0x5dd786),_0x5dd786[_0x3ba9fc(0x18a)][_0x3ba9fc(0x366)]((_0x5bfda5,_0x18cf5b)=>{const _0xf2fefa=_0x3ba9fc;process[_0xf2fefa(0x1fc)][_0xf2fefa(0x140)]('\x20\x20'+(_0x18cf5b+0x1)+'.\x20'+_0x5bfda5['id']+'\x20\x20'+_0x5bfda5[_0xf2fefa(0x229)][_0xf2fefa(0x233)](0x3)+_0xf2fefa(0x334)+_0x5bfda5[_0xf2fefa(0x2c7)]+')\x0a');});}function _0xaca4(_0x1ccc45,_0x5a660f){_0x1ccc45=_0x1ccc45-0x118;const _0x134f4d=_0x134f();let _0xaca47e=_0x134f4d[_0x1ccc45];return _0xaca47e;}function Hn(_0xd2913c){const _0x4fbc8e=_0x511361;ee(_0xd2913c),process[_0x4fbc8e(0x1fc)][_0x4fbc8e(0x140)]('Rubric\x20'+_0xd2913c[_0x4fbc8e(0x1cc)]+'\x0a');for(let _0x4853be of _0xd2913c[_0x4fbc8e(0x18a)])process[_0x4fbc8e(0x1fc)]['write']('\x20\x20'+_0x4853be['id']+':\x20'+_0x4853be[_0x4fbc8e(0x2f5)]+_0x4fbc8e(0x329)+_0x4853be[_0x4fbc8e(0x2da)][_0x4fbc8e(0x233)](0x2)+')\x0a');}async function Gn(_0x58dc53){const _0x5e5d76=_0x511361;let _0x55340f=_0x58dc53[_0x5e5d76(0x2b2)][_0x5e5d76(0x32f)]();_0x55340f||(console[_0x5e5d76(0x22b)]('transcribe\x20needs\x20audio:\x20'+_0x58dc53[_0x5e5d76(0x20a)][_0x5e5d76(0x361)]+_0x5e5d76(0x2d6)),process[_0x5e5d76(0x215)](0x2));let {client:_0x38ecc3}=await x(_0x58dc53);try{let _0x1395eb=_0x55340f==='-'?{'data':await Wn(process[_0x5e5d76(0x2c8)])}:_0x55340f;m(_0x58dc53,await _0x27a535(_0x38ecc3,_0x1395eb,void 0x0),_0x5cdee6=>{const _0x448d02=_0x5e5d76;process[_0x448d02(0x1fc)]['write'](_0x5cdee6['text']+'\x0a');});}catch(_0x4ac3c4){if(_0x271972(_0x4ac3c4)&&(console[_0x5e5d76(0x22b)](_0x4ac3c4[_0x5e5d76(0x282)]),process[_0x5e5d76(0x215)](_0x4ac3c4['status']===void 0x0?0x2:0x1)),typeof _0x4ac3c4?.[_0x5e5d76(0x331)]!=_0x5e5d76(0x28a))throw _0x4ac3c4;console['error'](_0x5e5d76(0x2ba)+_0x55340f+'\x20('+_0x4ac3c4['message']+').'),process[_0x5e5d76(0x215)](0x2);}}async function Wn(_0x7a0446){const _0x18e809=_0x511361;let _0x3671f0=[];for await(let _0x5251d3 of _0x7a0446)_0x3671f0['push'](Buffer[_0x18e809(0x1c4)](_0x5251d3));return Buffer[_0x18e809(0x32e)](_0x3671f0);}async function Qn(_0x3c55d8){const _0x2dfb36=_0x511361;let [_0x56e80d='',_0x5eef91='',..._0xa548cc]=_0x3c55d8[_0x2dfb36(0x211)];ve[_0x2dfb36(0x1bd)](_0x56e80d)||(console[_0x2dfb36(0x22b)]((_0x56e80d?_0x2dfb36(0x204)+_0x56e80d+'.\x20':'')+_0x2dfb36(0x20f)+_0x3c55d8[_0x2dfb36(0x20a)][_0x2dfb36(0x361)]+_0x2dfb36(0x1e8)+ve[_0x2dfb36(0x311)](_0x2dfb36(0x2b7))+'.'),process[_0x2dfb36(0x215)](0x2));let _0x4ecc48=_0x56e80d;_0x4ecc48!==_0x2dfb36(0x296)&&(_0x3c55d8[_0x2dfb36(0x239)]!==void 0x0||_0x3c55d8[_0x2dfb36(0x2d5)]!==void 0x0||_0x3c55d8['sessionId']!==void 0x0)&&(console['error']('--to,\x20--summary\x20and\x20--session\x20apply\x20to\x20`'+_0x3c55d8['product'][_0x2dfb36(0x361)]+_0x2dfb36(0x354)),process[_0x2dfb36(0x215)](0x2));let _0x3258c4=(_0x4ecc48===_0x2dfb36(0x296)?_0x3c55d8[_0x2dfb36(0x211)][_0x2dfb36(0x313)](0x1):_0xa548cc)[_0x2dfb36(0x311)]('\x20')[_0x2dfb36(0x32f)](),_0x608749=_0x4ecc48===_0x2dfb36(0x296)||_0x4ecc48===_0x2dfb36(0x291);(_0x4ecc48!==_0x2dfb36(0x296)&&!_0x5eef91||(_0x608749?!_0x3258c4:_0x3258c4)||_0x4ecc48===_0x2dfb36(0x296)&&!_0x3c55d8['sessionId'])&&(console[_0x2dfb36(0x22b)](_0x2dfb36(0x280)+_0x3c55d8[_0x2dfb36(0x20a)][_0x2dfb36(0x361)]+'\x20'+$e[_0x4ecc48]),process['exit'](0x2));let _0x5c7a12=_0x608749&&_0x3258c4==='-'?(await H('-',process['stdin']))['trim']():_0x3258c4;_0x608749&&!_0x5c7a12&&(console[_0x2dfb36(0x22b)](_0x2dfb36(0x280)+_0x3c55d8[_0x2dfb36(0x20a)][_0x2dfb36(0x361)]+'\x20'+$e[_0x4ecc48]+_0x2dfb36(0x327)),process[_0x2dfb36(0x215)](0x2));let {client:_0x52ebdb}=await x(_0x3c55d8);try{await Kn(_0x3c55d8,_0x52ebdb,_0x4ecc48,_0x5eef91,_0x5c7a12);}catch(_0x4e1c26){if(!_0x5ae288(_0x4e1c26))throw _0x4e1c26;console[_0x2dfb36(0x22b)](_0x4e1c26[_0x2dfb36(0x282)]),process[_0x2dfb36(0x215)](0x1);}}async function Kn(_0x2d2216,_0x20fe65,_0x10738b,_0x375f86,_0x582ff6){const _0x228646=_0x511361;switch(_0x10738b){case _0x228646(0x2cd):m(_0x2d2216,await _0x572205(_0x20fe65,_0x375f86),qn);return;case _0x228646(0x1b0):m(_0x2d2216,await _0x5f20ad(_0x20fe65,_0x375f86),_0x4f7459=>{const _0x44b1e0=_0x228646;_0x4f7459['delegation']&&process[_0x44b1e0(0x1fc)]['write'](_0x44b1e0(0x18d)+_0x4f7459['delegation']['id']+'\x20('+_0x4f7459[_0x44b1e0(0x287)][_0x44b1e0(0x2e6)]+').\x0a'),_0x4f7459['pendingResults'][_0x44b1e0(0x342)]===0x0&&process['stderr']['write'](_0x44b1e0(0x330));for(let _0x5d149d of _0x4f7459[_0x44b1e0(0x177)])process[_0x44b1e0(0x1fc)][_0x44b1e0(0x140)]('\x0a'+_0x5d149d['id']+_0x44b1e0(0x28c)+(_0x5d149d[_0x44b1e0(0x266)]??_0x44b1e0(0x1c3))+'\x20\x20'+(_0x5d149d[_0x44b1e0(0x1d1)]??'')+'\x0a'+(_0x5d149d[_0x44b1e0(0x246)]?.[_0x44b1e0(0x300)]??'')+'\x0a');_0x4f7459[_0x44b1e0(0x177)]['length']>0x0&&process[_0x44b1e0(0x317)][_0x44b1e0(0x140)](_0x44b1e0(0x20d)+_0x2d2216[_0x44b1e0(0x20a)]['bin']+_0x44b1e0(0x13c));});return;case _0x228646(0x2c5):m(_0x2d2216,await _0x2169df(_0x20fe65,_0x375f86),Se);return;case'create':{let _0x3265ee=await _0x536afa(_0x20fe65,{'sessionId':_0x2d2216[_0x228646(0x25d)],'task':_0x582ff6,..._0x2d2216[_0x228646(0x2d5)]!==void 0x0&&{'contextSummary':_0x2d2216[_0x228646(0x2d5)]},..._0x2d2216[_0x228646(0x239)]!==void 0x0&&{'recipient':_0x2d2216['delegateTo']}});m(_0x2d2216,_0x3265ee,_0x1881ce=>{const _0x4bd454=_0x228646;_0x1881ce[_0x4bd454(0x332)]?process[_0x4bd454(0x1fc)][_0x4bd454(0x140)]('Delegated\x20'+_0x1881ce[_0x4bd454(0x2ee)]+_0x4bd454(0x1d9)+_0x1881ce[_0x4bd454(0x332)]['displayName']+'\x20<'+_0x1881ce[_0x4bd454(0x332)][_0x4bd454(0x31f)]+_0x4bd454(0x1a2)):process[_0x4bd454(0x1fc)][_0x4bd454(0x140)](_0x4bd454(0x301)+_0x1881ce[_0x4bd454(0x2ee)]+'.\x20Share:\x20'+_0x1881ce['deepLink']+'\x0a');});return;}case'claim':{let _0x4e2d92=await _0x5dcd0b(_0x20fe65,_0x375f86);m(_0x2d2216,_0x4e2d92,_0x25911f=>{const _0x269768=_0x228646;Se(_0x25911f),process[_0x269768(0x1fc)][_0x269768(0x140)](_0x269768(0x307)+_0x25911f[_0x269768(0x25d)]+'\x0a'),process[_0x269768(0x317)][_0x269768(0x140)](_0x269768(0x2e4)+_0x2d2216[_0x269768(0x20a)][_0x269768(0x361)]+_0x269768(0x16f)+_0x25911f[_0x269768(0x25d)]+_0x269768(0x21a)+_0x2d2216['product'][_0x269768(0x361)]+_0x269768(0x154)+_0x25911f[_0x269768(0x2ee)]+_0x269768(0x34d));});return;}case'complete':{let {alreadyCompleted:_0x249207}=await _0x4f177a(_0x20fe65,_0x375f86,{'content':_0x582ff6});m(_0x2d2216,{'delegationId':_0x375f86,'alreadyCompleted':_0x249207},_0x2c3102=>{const _0x1e7bec=_0x228646;process[_0x1e7bec(0x1fc)][_0x1e7bec(0x140)]((_0x2c3102[_0x1e7bec(0x13a)]?_0x1e7bec(0x344):_0x1e7bec(0x347))+_0x1e7bec(0x1de)+_0x2c3102[_0x1e7bec(0x2ee)]+'.\x0a');});return;}case _0x228646(0x2bf):{let _0x57196c=await _0xec2084(_0x20fe65,_0x375f86);m(_0x2d2216,{'delegationId':_0x375f86,..._0x57196c},_0x37df2b=>{const _0x3f84c7=_0x228646;process[_0x3f84c7(0x1fc)]['write']((_0x37df2b['alreadyAccepted']?_0x3f84c7(0x15f):_0x3f84c7(0x26a))+'\x20delegation\x20'+_0x37df2b[_0x3f84c7(0x2ee)]+'.\x0a');});return;}default:{let _0x280d76={'dismiss':_0x23172c,'cancel':_0x450b5c,'delete':_0x5044aa}[_0x10738b];await _0x280d76(_0x20fe65,_0x375f86);let _0x45200a={'dismiss':_0x228646(0x1f7),'cancel':_0x228646(0x308),'delete':_0x228646(0x25a)}[_0x10738b];m(_0x2d2216,{'delegationId':_0x375f86,[_0x45200a]:!0x0},()=>{const _0x51760b=_0x228646;process[_0x51760b(0x1fc)][_0x51760b(0x140)](''+_0x45200a[0x0]['toUpperCase']()+_0x45200a[_0x51760b(0x313)](0x1)+_0x51760b(0x1de)+_0x375f86+'.\x0a');});}}}function qn(_0x1f8f06){const _0x664101=_0x511361;if(_0x1f8f06[_0x664101(0x342)]===0x0){process['stderr'][_0x664101(0x140)](_0x664101(0x1c9));return;}process['stdout'][_0x664101(0x140)]('ID'[_0x664101(0x1e7)](0x24)+'\x20\x20'+_0x664101(0x139)[_0x664101(0x1e7)](0x9)+'\x20\x20'+'ASSIGNEE'[_0x664101(0x1e7)](0x18)+'\x20\x20TASK\x0a');for(let _0x5b045c of _0x1f8f06)process[_0x664101(0x1fc)][_0x664101(0x140)](_0x5b045c['id'][_0x664101(0x1e7)](0x24)+'\x20\x20'+_0x5b045c[_0x664101(0x2e6)][_0x664101(0x1e7)](0x9)+'\x20\x20'+(_0x5b045c[_0x664101(0x266)]??'-')[_0x664101(0x1e7)](0x18)+'\x20\x20'+(_0x5b045c[_0x664101(0x1d1)]??'')+'\x0a');}function Se(_0x47aeaa){const _0x3d4583=_0x511361;process[_0x3d4583(0x1fc)][_0x3d4583(0x140)](_0x3d4583(0x145)+(_0x47aeaa[_0x3d4583(0x16b)]??'-')+'\x0a'),_0x47aeaa[_0x3d4583(0x2ae)]&&process[_0x3d4583(0x1fc)][_0x3d4583(0x140)](_0x3d4583(0x307)+_0x47aeaa[_0x3d4583(0x2ae)]+'\x0a'),process['stdout']['write']('Task\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x47aeaa[_0x3d4583(0x1d1)]??'-')+'\x0a'),_0x47aeaa[_0x3d4583(0x2d5)]&&process[_0x3d4583(0x1fc)][_0x3d4583(0x140)]('\x0a'+_0x47aeaa[_0x3d4583(0x2d5)]+'\x0a\x0a');}async function zn(_0x25eb36){const _0x24ba9d=_0x511361;_0x25eb36[_0x24ba9d(0x2b2)][_0x24ba9d(0x32f)]()||(console[_0x24ba9d(0x22b)](_0x24ba9d(0x280)+_0x25eb36['product']['bin']+_0x24ba9d(0x34e)),process[_0x24ba9d(0x215)](0x2));let {client:_0xd499e5}=await x(_0x25eb36),_0x1d40a4;try{_0x1d40a4=await _0x25fa20(_0xd499e5,_0x25eb36[_0x24ba9d(0x2b2)]);}catch(_0x911125){if(!_0x5ae288(_0x911125))throw _0x911125;console[_0x24ba9d(0x22b)](_0x911125['message']),process[_0x24ba9d(0x215)](0x1);}m(_0x25eb36,_0x1d40a4,_0x23adc4=>{const _0x1c11d7=_0x24ba9d;_0x23adc4['length']===0x0&&process[_0x1c11d7(0x317)][_0x1c11d7(0x140)](_0x1c11d7(0x1d7)+_0x25eb36[_0x1c11d7(0x2b2)]['trim']()+_0x1c11d7(0x379));for(let _0x33a4ae of _0x23adc4)process[_0x1c11d7(0x1fc)]['write'](_0x33a4ae[_0x1c11d7(0x31f)][_0x1c11d7(0x1e7)](0x20)+'\x20\x20'+_0x33a4ae[_0x1c11d7(0x29c)]+'\x0a');});}async function Vn(_0x5ed9d8){const _0x4217af=_0x511361;_0x5ed9d8[_0x4217af(0x133)]===_0x4217af(0x360)&&(console[_0x4217af(0x22b)](_0x4217af(0x335)),process[_0x4217af(0x215)](0x2));let _0x4d7fc7=G(_0x20be7e()),_0xf34075=_0x5ed9d8[_0x4217af(0x2f1)];if(_0x5ed9d8['env']){let _0x442992=_0x5ed9d8['env'];await _0xf6217f({'env':_0x442992,'tenant':_0x5ed9d8[_0x4217af(0x1ff)]??q(_0x4d7fc7,_0x4c4bd4[_0x442992]),'skipEnvCheck':_0xf34075});return;}let _0x5bc03e=_0x5ed9d8[_0x4217af(0x260)]??Re();if(_0x5bc03e){await _0xf6217f({'baseUrl':_0x5bc03e,'tenant':_0x5ed9d8[_0x4217af(0x1ff)]??q(_0x4d7fc7,_0x5bc03e),'skipEnvCheck':_0xf34075});return;}if(_0x4d7fc7?.[_0x4217af(0x1b9)]){await _0xf6217f({'baseUrl':_0x4d7fc7[_0x4217af(0x1b9)],'tenant':_0x5ed9d8[_0x4217af(0x1ff)]??_0x4d7fc7[_0x4217af(0x22c)],'skipEnvCheck':_0xf34075});return;}console[_0x4217af(0x22b)]('First\x20login\x20requires\x20--env\x20or\x20--url.\x20Usage:\x20'+_0x5ed9d8[_0x4217af(0x20a)][_0x4217af(0x361)]+_0x4217af(0x2fe)+_0x5ed9d8['product'][_0x4217af(0x361)]+_0x4217af(0x131)),process[_0x4217af(0x215)](0x2);}function q(_0x206ba0,_0x1446f4){const _0x425655=_0x511361;return _0x206ba0?.[_0x425655(0x1b9)]&&Yn(_0x206ba0[_0x425655(0x1b9)],_0x1446f4)?_0x206ba0[_0x425655(0x22c)]:void 0x0;}function Yn(_0x3336f9,_0x3c1dd1){const _0x1d9f15=_0x511361;try{return new URL(_0x3336f9)[_0x1d9f15(0x201)]===new URL(_0x3c1dd1)['origin'];}catch{return!0x1;}}async function Xn(_0x5879de,_0x3bea1b){const _0x2e8cd4=_0x511361;Y()&&(console[_0x2e8cd4(0x22b)](_0x2e8cd4(0x310)),process[_0x2e8cd4(0x215)](0x2));let _0x5b93d0=await _0x19af4a();if(_0x5b93d0||(console[_0x2e8cd4(0x22b)](Zn(_0x3bea1b)),process[_0x2e8cd4(0x215)](0x2)),_0x5879de['trim']()){let _0xfd70e9=await _0x476766(_0x5b93d0,_0x5879de);_0x3a417a(_0xfd70e9)||(console[_0x2e8cd4(0x22b)]('Tenant\x20not\x20switched:\x20could\x20not\x20write\x20'+_0x20be7e()+_0x2e8cd4(0x17c)+_0x5b93d0[_0x2e8cd4(0x22c)]+'.'),process['exit'](0x1)),console[_0x2e8cd4(0x35c)](_0x2e8cd4(0x372)+_0xfd70e9[_0x2e8cd4(0x22c)]+'\x20('+_0xfd70e9[_0x2e8cd4(0x192)]+_0x2e8cd4(0x1ac)+_0x20be7e());return;}eo(await _0x3684a0(_0x5b93d0),_0x5b93d0,_0x3bea1b);}function Zn(_0x5d6f21){const _0x522dca=_0x511361;if(_0x36ff96['existsSync'](_0x20be7e()))return _0x522dca(0x23a)+_0x5d6f21+'\x20login`\x20again.';let _0x1d7653=V();return G(_0x1d7653)?_0x522dca(0x314)+_0x1d7653+',\x20whose\x20tenant\x20is\x20chosen\x20in\x20the\x20app.\x20Run\x20`'+_0x5d6f21+'\x20login\x20--env\x20<env>`\x20for\x20a\x20CLI\x20login\x20of\x20your\x20own.':_0x522dca(0x134)+_0x5d6f21+'\x20login\x20--env\x20<alpha|staging|production>`\x20first.';}function eo(_0x3a5a73,_0x12dd61,_0x4a39bc){const _0x1ef8f9=_0x511361;let _0x47c592=_0x3a5a73[_0x1ef8f9(0x14d)](_0xb63c1e=>_0xb63c1e['id']===_0x12dd61[_0x1ef8f9(0x192)]?'*\x20'+_0xb63c1e['name']+_0x1ef8f9(0x227):'\x20\x20'+_0xb63c1e[_0x1ef8f9(0x143)]);process['stdout'][_0x1ef8f9(0x140)]('Tenants\x20of\x20'+(_0x12dd61[_0x1ef8f9(0x1aa)]??_0x12dd61[_0x1ef8f9(0x35f)])+':\x0a'+_0x47c592['join']('\x0a')+'\x0a'),_0x3a5a73[_0x1ef8f9(0x342)]>0x1&&process[_0x1ef8f9(0x1fc)]['write'](_0x1ef8f9(0x203)+_0x4a39bc+_0x1ef8f9(0x31d));}function to(_0x2b63d4){const _0x1d23e4=_0x511361;return _0x2b63d4?.[_0x1d23e4(0x37c)]?.[_0x1d23e4(0x2e6)]===0x191||/401/[_0x1d23e4(0x250)](String(_0x2b63d4?.['message']??''));}function Ae(_0x19267f,_0x2b789c,_0x35e3b9,_0x32aec8){const _0xc2fb77=_0x511361;let _0x36a62c=_0x19267f[_0xc2fb77(0x162)]||process.env.MODEL;return{'backendUrl':_0x35e3b9,'auth':_0x2b789c,'enableComputerUse':!_0x19267f[_0xc2fb77(0x16c)]&&!_0x19267f[_0xc2fb77(0x306)],'autoSpawnInterop':!_0x19267f[_0xc2fb77(0x16c)],'enableConnections':!_0x19267f[_0xc2fb77(0x208)],'enableSecurity':!_0x19267f['noSecurity'],'keepInteropAlive':_0x19267f['keepAlive'],..._0x32aec8[_0xc2fb77(0x170)]?{'enableBackgroundCommands':!0x1}:{},..._0x19267f['noMemory']?{'enableMemory':!0x1}:{},..._0x19267f[_0xc2fb77(0x129)]?{'enableTaskAutomation':!0x0}:{},..._0x19267f['preloadSkills']['length']>0x0?{'preloadSkills':_0x19267f[_0xc2fb77(0x368)]}:{},..._0x36a62c?{'model':_0x36a62c}:{},..._0x19267f['projectId']?{'projectId':_0x19267f[_0xc2fb77(0x22e)]}:{},..._0x19267f[_0xc2fb77(0x33b)]?{'vertical':_0x19267f[_0xc2fb77(0x33b)]}:{},..._0x19267f[_0xc2fb77(0x2d2)]?{'workingDirectory':_0x19267f[_0xc2fb77(0x2d2)]}:{},..._0x19267f[_0xc2fb77(0x1f8)]?{'bundledSkillsPath':_0x19267f[_0xc2fb77(0x1f8)]}:{},..._0x19267f[_0xc2fb77(0x278)]?{'effort':_0x19267f['effort']}:{},..._0x19267f[_0xc2fb77(0x25d)]?{'sessionId':_0x19267f[_0xc2fb77(0x25d)]}:{},..._0x19267f[_0xc2fb77(0x11d)]?{'verbose':!0x0}:{},..._0x19267f[_0xc2fb77(0x20a)][_0xc2fb77(0x2d1)]?{'agentName':_0x19267f[_0xc2fb77(0x20a)][_0xc2fb77(0x2d1)]}:{}};}async function no(_0x4ec170){const _0x13df25=_0x511361;let _0x576364=_0x4ec170[_0x13df25(0x1c2)]!==_0x13df25(0x186),_0x7b3b56=_0x4ec170[_0x13df25(0x2be)]===void 0x0?null:Oe(_0x4ec170[_0x13df25(0x2be)],_0x4ec170[_0x13df25(0x20a)][_0x13df25(0x361)]),_0x1442dc=!_0x576364&&!_0x7b3b56&&!_0x4ec170[_0x13df25(0x182)]&&_0x4ec170[_0x13df25(0x2b2)]!=='-'&&!!process[_0x13df25(0x2c8)][_0x13df25(0x2e7)]&&!!process[_0x13df25(0x1fc)][_0x13df25(0x2e7)],_0x55f26d=_0x4ec170[_0x13df25(0x23f)]==='stream-json'?ce(process[_0x13df25(0x2c8)],_0x52d4bb=>{const _0x4d020d=_0x13df25;process[_0x4d020d(0x317)][_0x4d020d(0x140)](_0x52d4bb[_0x4d020d(0x282)]+_0x4d020d(0x34b));}):null,_0x4cc797=_0x55f26d?(await _0x55f26d['next']())[_0x13df25(0x337)]:void 0x0,_0x2b65e1=_0x55f26d?_0x4cc797?.[_0x13df25(0x186)]??'':_0x1442dc?_0x4ec170['prompt']['trim']():await H(_0x4ec170[_0x13df25(0x2b2)],process[_0x13df25(0x2c8)]);if(!_0x1442dc&&!_0x2b65e1&&(console['error']('Missing\x20prompt.\x20Pass\x20it\x20as\x20an\x20argument,\x20pipe\x20it\x20via\x20stdin,\x20or\x20run\x20`'+_0x4ec170['product'][_0x13df25(0x361)]+'\x20--help`.'),process[_0x13df25(0x215)](0x2)),!_0x576364){await xe(_0x4ec170,_0x2b65e1,_0x1442dc,null,_0x7b3b56,null);return;}let _0x40a6ac=!0x1,_0x1c4e8a=_0x4cc92f=>{const _0x275428=_0x13df25;_0x40a6ac=!0x0,O(_0x3922ed(_0x4cc92f)),(_0x4cc92f[_0x275428(0x254)]||_0x4cc92f[_0x275428(0x12a)])&&(process[_0x275428(0x22f)]=0x1);},_0x27bdbc=Date[_0x13df25(0x153)]();try{await xe(_0x4ec170,_0x2b65e1,!0x1,_0x1c4e8a,_0x7b3b56,_0x55f26d?{'messages':_0x55f26d,'first':_0x4cc797,'close':()=>{const _0x419c64=_0x13df25;process[_0x419c64(0x2c8)][_0x419c64(0x358)]();}}:null);}catch(_0x44ed92){if(_0x40a6ac)throw _0x44ed92;process[_0x13df25(0x317)]['write']((_0x44ed92 instanceof Error?_0x44ed92[_0x13df25(0x2b8)]??_0x44ed92[_0x13df25(0x282)]:String(_0x44ed92))+'\x0a'),_0x1c4e8a(new _0x2965b9(_0x27bdbc)[_0x13df25(0x17b)]({'endedAtMs':Date['now'](),'usage':[],'error':_0x44ed92}));}finally{_0x55f26d&&(process['stdin'][_0x13df25(0x358)](),_0x55f26d[_0x13df25(0x12f)](void 0x0));}}async function xe(_0xb60695,_0x20fe6f,_0x130958,_0x459843,_0x3d9926,_0x3b6456){const _0x50e1eb=_0x511361;y={'lastType':null,'quiet':_0xb60695[_0x50e1eb(0x36c)],'bin':_0xb60695['product'][_0x50e1eb(0x361)]};let _0x445697=new Set(),_0x11b5c3,_0x5a6ab1=_0x15e733=>{const _0x49bf87=_0x50e1eb;(!_0x459843||_0x15e733[_0x49bf87(0x2c4)]===_0x49bf87(0x367)||_0x15e733[_0x49bf87(0x2c4)]==='turn_start')&&(_0x11b5c3??Le)(_0x15e733);for(let _0x20f8ea of _0x445697)_0x20f8ea(_0x15e733);},_0x34d6f4=await X(_0xb60695[_0x50e1eb(0x20a)][_0x50e1eb(0x361)]),_0x5babe5=new _0x424e66();_0x5babe5[_0x50e1eb(0x2dd)](_0x5a6ab1);let _0x278925=_0x3ab8d9(_0xb60695['env'],_0x34d6f4,_0xb60695[_0x50e1eb(0x257)]);Z(_0xb60695[_0x50e1eb(0x133)],_0xb60695[_0x50e1eb(0x257)],_0x278925);let _0xc8922={'input':null},_0x204a14=_0x130958?re(()=>_0xc8922[_0x50e1eb(0x2bb)],_0x1332f4=>{const _0x23c20d=_0x50e1eb;process[_0x23c20d(0x317)][_0x23c20d(0x140)](_0x1332f4);}):null,_0x243328=_0x367f8e=>_0x204a14?{..._0x367f8e,'askUser':_0x204a14}:_0x367f8e,_0x5b172c=_0x243328(Ae(_0xb60695,_0x34d6f4,_0x278925,{'oneTurn':!_0x130958})),_0x5a2961=!0x1,_0x2dbb65=!0x1,_0x49044d,_0x517163=()=>_0x49044d??=_0x5babe5[_0x50e1eb(0x1db)](),_0xeb8a22=()=>{const _0x3b772c=_0x50e1eb;_0x2dbb65&&process[_0x3b772c(0x215)](0x82),_0x2dbb65=!0x0,process[_0x3b772c(0x317)]['write'](_0x3b772c(0x169)),_0x5a2961&&_0x5babe5[_0x3b772c(0x224)]()['catch'](_0x280730=>console[_0x3b772c(0x22b)](_0x280730))['then'](_0x517163)['then'](()=>process[_0x3b772c(0x215)](0x82),_0x3600ed=>{const _0x12cefa=_0x3b772c;console[_0x12cefa(0x22b)](_0x3600ed),process[_0x12cefa(0x215)](0x82);});};process['on'](_0x50e1eb(0x1b8),_0xeb8a22);let _0x10f2aa=_0xb60695['attachments'],_0x145fd2=async _0x18c8c6=>{const _0x2a1122=_0x50e1eb;let _0x5c9830=_0x10f2aa;_0x10f2aa=[];let _0x295a30=()=>_0x5babe5[_0x2a1122(0x149)](_0x18c8c6,{'attachments':_0x5c9830});try{return await _0x295a30();}catch(_0x45735b){if(_0x2dbb65||!to(_0x45735b)||!process[_0x2a1122(0x2c8)]['isTTY']||_0xb60695[_0x2a1122(0x133)]===_0x2a1122(0x360)||!(_0xb60695['env']||_0x34d6f4[_0x2a1122(0x1b9)]))throw _0x45735b;process['stderr'][_0x2a1122(0x140)]('\x0a⚠️\x20\x20Auth\x20expired.\x20Opening\x20browser\x20to\x20re-login…\x0a');let _0xcebb72=_0x5babe5[_0x2a1122(0x184)]()??_0xb60695[_0x2a1122(0x25d)],_0x49328c=await _0xf6217f(_0xb60695[_0x2a1122(0x133)]?{'env':_0xb60695['env'],'tenant':q(_0x34d6f4,_0x4c4bd4[_0xb60695[_0x2a1122(0x133)]]),'skipEnvCheck':!0x0}:{'baseUrl':_0x34d6f4[_0x2a1122(0x1b9)],'tenant':_0x34d6f4[_0x2a1122(0x22c)],'skipEnvCheck':!0x0}),_0x4f18c7={'text':'','failed':!0x1,'sessionId':_0xcebb72};return _0x2dbb65||(_0x5a2961=!0x1,await _0x517163(),_0x2dbb65)?_0x4f18c7:(_0x5babe5=new _0x424e66(),_0x49044d=void 0x0,_0x5babe5[_0x2a1122(0x2dd)](_0x5a6ab1),_0x34d6f4=_0x49328c,await _0x5babe5[_0x2a1122(0x370)]({..._0x243328(Ae(_0xb60695,_0x34d6f4,_0x278925,{'oneTurn':!_0x130958})),..._0xcebb72?{'sessionId':_0xcebb72}:{}}),_0x5a2961=!0x0,_0x2dbb65?_0x4f18c7:_0x295a30());}};try{if(await _0x5babe5[_0x50e1eb(0x370)](_0x5b172c),_0x5a2961=!0x0,_0x2dbb65)return;if(_0x130958)await ro({'prompt':_0x20fe6f,'sendMessage':_0x145fd2,'onSigint':_0xeb8a22,'setAnswerInput':_0x5c1260=>{const _0x56a756=_0x50e1eb;_0xc8922[_0x56a756(0x2bb)]=_0x5c1260;},'registerEventPrinter':_0x5cf203=>(_0x11b5c3=_0x5cf203,()=>{_0x11b5c3=void 0x0;})});else{if(_0x459843||_0x3d9926){let _0x520c95=_0xb60695[_0x50e1eb(0x1c2)]===_0x50e1eb(0x315)?_0x1c4274=>O(_0x2250b1(_0x1c4274)):()=>{},_0x1158cf=_0x3b6456?de({'input':_0x3b6456,'getAgent':()=>_0x5babe5,'replay':_0xb60695[_0x50e1eb(0x2f6)],'onEvent':_0x353dd1=>(_0x445697[_0x50e1eb(0x147)](_0x353dd1),()=>{const _0x5de051=_0x50e1eb;_0x445697[_0x5de051(0x183)](_0x353dd1);}),'write':O,'isRunStopNotice':_0x1dafbf,'actionableErrorText':_0x25ae9f,'warn':_0x329320=>{const _0x54e011=_0x50e1eb;process['stderr'][_0x54e011(0x140)](_0x329320);}}):null,_0x284a60=await _0x53c096({'onEvent':_0x5adbb2=>(_0x445697[_0x50e1eb(0x147)](_0x5adbb2),()=>{const _0x4962a0=_0x50e1eb;_0x445697[_0x4962a0(0x183)](_0x5adbb2);}),'sendMessage':async _0x2502e9=>{const _0x134aa9=_0x50e1eb;try{let _0x39c80f=await _0x145fd2(_0x2502e9);return _0x1158cf?await _0x1158cf[_0x134aa9(0x2e3)](_0x39c80f):_0x39c80f;}finally{_0x1158cf?.['stop']();}},'getSessionId':()=>_0x5babe5[_0x50e1eb(0x184)](),'getTurnUsageHistory':_0x15be88=>_0x5babe5['getTurnUsageHistory'](_0x15be88),'complete':_0x348cb2=>_0x5babe5[_0x50e1eb(0x291)](_0x348cb2)},_0x20fe6f,void 0x0,_0x520c95,_0x3d9926?{'outputSchema':_0x3d9926}:void 0x0);_0x459843?_0x459843(_0x284a60):oo(_0x284a60);}else await _0x145fd2(_0x20fe6f);}}catch(_0x28c816){if(!_0x2dbb65)throw _0x28c816;}finally{try{await _0x517163();}finally{process[_0x50e1eb(0x377)](_0x50e1eb(0x1b8),_0xeb8a22),_0x2dbb65&&(process[_0x50e1eb(0x22f)]=0x82);}}}function oo(_0x18d5e2){const _0x5d0080=_0x511361;_0x18d5e2[_0x5d0080(0x12a)]?(console[_0x5d0080(0x22b)](_0x5d0080(0x345)+_0x18d5e2[_0x5d0080(0x12a)]['message']),process[_0x5d0080(0x22f)]=0x1):_0x18d5e2[_0x5d0080(0x254)]?(console['error']('No\x20structured\x20output:\x20the\x20turn\x20failed\x20('+_0x18d5e2[_0x5d0080(0x22b)]+').'),process[_0x5d0080(0x22f)]=0x1):process[_0x5d0080(0x1fc)][_0x5d0080(0x140)](JSON['stringify'](_0x18d5e2['structured'],null,0x2)+'\x0a');}function so(_0x38fe3f,_0x1fd27){const _0x4e1ac8=_0x511361;let _0x400942=process[_0x4e1ac8(0x1fc)][_0x4e1ac8(0x140)][_0x4e1ac8(0x24b)](process['stdout']),_0x15a676=!0x1;return process[_0x4e1ac8(0x1fc)][_0x4e1ac8(0x140)]=(..._0x34b345)=>{const _0x350e41=_0x4e1ac8;if(!_0x15a676)return _0x400942(..._0x34b345);_0x2c299f(_0x1fd27,0x0),_0x2145ee(_0x1fd27,0x0);let _0x26e0cf=_0x400942(..._0x34b345);return _0x38fe3f[_0x350e41(0x2b2)](!0x0),_0x26e0cf;},{'show':()=>{const _0x17692a=_0x4e1ac8;_0x15a676=!0x0,_0x38fe3f[_0x17692a(0x2b2)]();},'hide':()=>{_0x15a676=!0x1;},'erase':()=>{_0x15a676&&(_0x2c299f(_0x1fd27,0x0),_0x2145ee(_0x1fd27,0x0)),_0x15a676=!0x1;},'restore':()=>{const _0x25c2a6=_0x4e1ac8;_0x15a676=!0x1,process[_0x25c2a6(0x1fc)][_0x25c2a6(0x140)]=_0x400942;}};}async function ro({prompt:_0x20c715,sendMessage:_0x7958fd,onSigint:_0x1ae299,setAnswerInput:_0x494a17,registerEventPrinter:_0x3213cb}){const _0x3562bb=_0x511361;let _0x35912e=_0x309c94({'input':process[_0x3562bb(0x2c8)],'output':process[_0x3562bb(0x317)],'terminal':!0x0,'prompt':_0x3562bb(0x2c1)}),_0x1d2e25=so(_0x35912e,process[_0x3562bb(0x317)]),_0x517d77=[],_0xe328de,_0x2979ff,_0x10a8bd,_0x1fd218=!0x1,_0x150f37=!0x1,_0x436e6b=!0x1,_0x4d1f93=Promise[_0x3562bb(0x292)](),_0x1af742,_0x55aea8=_0x3213cb(_0x54b6fe=>{const _0x10bed5=_0x3562bb;_0x54b6fe[_0x10bed5(0x2c4)]===_0x10bed5(0x367)&&(_0x1d2e25[_0x10bed5(0x30c)](),_0x4d1f93=new Promise(_0xa4042b=>{_0x1af742=_0xa4042b;})),Le(_0x54b6fe),_0x54b6fe[_0x10bed5(0x2c4)]==='done'&&(_0x1af742?.(),_0x1af742=void 0x0,!_0x436e6b&&!_0x1fd218&&_0x1d2e25[_0x10bed5(0x2c5)]());}),_0x19cd8f=()=>{_0x150f37=!0x0,_0x1af742?.(),_0x1ae299(),_0x35912e['close']();};_0x35912e['on'](_0x3562bb(0x37b),_0x27458e=>{const _0x54cc14=_0x3562bb;_0x10a8bd?_0x10a8bd(_0x27458e):_0xe328de?_0xe328de[_0x54cc14(0x284)](_0x27458e):_0x2979ff?_0x2979ff(_0x27458e):_0x517d77[_0x54cc14(0x284)](_0x27458e);}),_0x35912e[_0x3562bb(0x252)](_0x3562bb(0x206),()=>{const _0x4ec110=_0x3562bb;_0x1fd218=!0x0,_0x1d2e25[_0x4ec110(0x1bc)](),_0xe328de&&!_0x150f37&&_0x19cd8f(),_0x2979ff?.(null);});let _0x280630=()=>_0x517d77[_0x3562bb(0x342)]>0x0?Promise['resolve'](_0x517d77[_0x3562bb(0x295)]()):_0x1fd218?Promise[_0x3562bb(0x292)](null):new Promise(_0x848e87=>{_0x2979ff=_0x175544=>{_0x2979ff=void 0x0,_0x848e87(_0x175544);};});_0x494a17({'readLine':(_0x24b2c9,_0x255067)=>new Promise((_0x5f8356,_0x17837a)=>{const _0x3c254c=_0x3562bb;if(_0x1fd218&&!_0xe328de){_0x5f8356(null);return;}_0xe328de??=[];let _0x1a81ba=_0xe328de['shift']();if(_0x1a81ba!==void 0x0){_0x5f8356(_0x1a81ba);return;}let _0x2ad52a=()=>{const _0xfadedf=_0xaca4;_0x10a8bd=void 0x0,_0x255067[_0xfadedf(0x218)](_0xfadedf(0x18f),_0x2775f7),_0x1d2e25[_0xfadedf(0x1bc)](),_0x35912e[_0xfadedf(0x2db)](_0xfadedf(0x2c1));},_0x2775f7=()=>{const _0x4c8576=_0xaca4;_0x2ad52a(),_0x17837a(new Error(_0x4c8576(0x36f)));};_0x255067[_0x3c254c(0x363)]('abort',_0x2775f7,{'once':!0x0}),!_0x1fd218&&(_0x10a8bd=_0x1c0cb9=>{_0x2ad52a(),_0x5f8356(_0x1c0cb9);},_0x35912e[_0x3c254c(0x2db)](_0x24b2c9),_0x1d2e25[_0x3c254c(0x2c5)]());}),'endQuestions':()=>{const _0x47feda=_0x3562bb;_0xe328de&&_0x517d77[_0x47feda(0x284)](..._0xe328de),_0xe328de=void 0x0;}}),_0x35912e['on']('SIGINT',_0x19cd8f),process['stderr'][_0x3562bb(0x140)](_0x3562bb(0x288));let _0x3556b6=async _0x574b72=>{_0x436e6b=!0x0;try{await _0x7958fd(_0x574b72);}finally{_0x436e6b=!0x1;}};try{if(_0x20c715&&await _0x3556b6(_0x20c715),_0x150f37)return;!_0x1fd218&&!_0x1af742&&_0x1d2e25[_0x3562bb(0x2c5)]();for(let _0x53d62b=await _0x280630();_0x53d62b!==null&&(_0x1d2e25[_0x3562bb(0x1bc)](),!_0x150f37);_0x53d62b=await _0x280630()){let _0x5a583f=_0x53d62b[_0x3562bb(0x32f)]();if(_0x5a583f===_0x3562bb(0x200))break;_0x5a583f&&await _0x3556b6(_0x5a583f),!_0x1fd218&&!_0x1af742&&_0x1d2e25[_0x3562bb(0x2c5)]();}for(;!_0x150f37&&_0x1af742;)await _0x4d1f93;}finally{_0x494a17(null),_0x55aea8(),_0x1d2e25[_0x3562bb(0x13e)](),_0x35912e[_0x3562bb(0x377)](_0x3562bb(0x1b8),_0x19cd8f),_0x35912e[_0x3562bb(0x206)]();}}async function Fe(_0x2948ed,_0x2f00ae){await io(_0x2948ed,_0x2f00ae)['done'];}function io(_0x191cb8,_0x5a02b3){const _0x51db19=_0x511361;let _0x209168=dn(_0x5a02b3,_0x191cb8);if(_0x209168['outputFormat']===_0x51db19(0x186))return{'done':Ee(_0x209168),'releaseStdout':()=>{}};let _0x16ed12=un();return{'done':Ee(_0x209168),'releaseStdout':_0x16ed12};}async function Ee(_0x15b8f6){const _0x5eac85=_0x511361;if(_0x15b8f6[_0x5eac85(0x303)]){pn(_0x15b8f6[_0x5eac85(0x20a)]);return;}if(_0x15b8f6[_0x5eac85(0x1c7)]){console[_0x5eac85(0x35c)](fn());return;}if(_0x15b8f6['command']){await _0x15b8f6['command'][_0x5eac85(0x209)](_0x15b8f6);return;}if(_0x15b8f6['subcommand']==='login'){await Vn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x1ff)){await Xn(_0x15b8f6[_0x5eac85(0x2b2)],_0x15b8f6[_0x5eac85(0x20a)]['bin']);return;}if(_0x15b8f6['subcommand']===_0x5eac85(0x2d4)){await wn();return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x28d)){await bn(_0x15b8f6);return;}if(_0x15b8f6['subcommand']===_0x5eac85(0x15b)){await Sn(_0x15b8f6);return;}if(_0x15b8f6['subcommand']===_0x5eac85(0x1ec)){await Nn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x1eb)){await xn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x378)){await Rn(_0x15b8f6);return;}if(_0x15b8f6['subcommand']===_0x5eac85(0x2c6)||_0x15b8f6[_0x5eac85(0x23e)]==='rerank'||_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x2af)){await Fn(_0x15b8f6,_0x15b8f6[_0x5eac85(0x23e)]);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x291)){await jn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x19a)){await Gn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x160)){await Qn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]==='org-users'){await zn(_0x15b8f6);return;}if(_0x15b8f6[_0x5eac85(0x23e)]===_0x5eac85(0x19d)){await _0x5b041d(_0x15b8f6['prompt'],{'cliName':_0x15b8f6['product'][_0x5eac85(0x361)],'runnerUrl':_0x15b8f6[_0x5eac85(0x255)],'backendUrl':_0x15b8f6['backendUrl'],'interopPath':_0x15b8f6[_0x5eac85(0x369)],'workerId':_0x15b8f6[_0x5eac85(0x27b)]});return;}if(_0x15b8f6['cleanup']){await $n();return;}await no(_0x15b8f6);}function Me(_0x435a90){const _0x2c1cfa=_0x511361;let _0x5cd617=_0x435a90;console[_0x2c1cfa(0x22b)](_0x5cd617?.['stack']||_0x5cd617?.[_0x2c1cfa(0x282)]||_0x435a90),process[_0x2c1cfa(0x215)](0x1);}var ln,cn,he,O,ye,gn,be,Pn,ve,$e,y,Le,je=L(()=>{const _0x198175=_0x511361;ie(),Q(),ue(),(ln=[_0x198175(0x168),_0x198175(0x1ff),_0x198175(0x15b),'host',_0x198175(0x2d4),_0x198175(0x28d),'check',_0x198175(0x1eb),'usage',_0x198175(0x2c6),_0x198175(0x305),'verify',_0x198175(0x291),_0x198175(0x19a),_0x198175(0x160),_0x198175(0x23d)],cn=['','models',_0x198175(0x28d),_0x198175(0x1ec),_0x198175(0x1eb),_0x198175(0x378),'evaluate',_0x198175(0x305),_0x198175(0x2af),_0x198175(0x291),_0x198175(0x19a),_0x198175(0x160),'org-users'],he=[_0x198175(0x123),'medium',_0x198175(0x2a6),_0x198175(0x11e),_0x198175(0x35a)]),O=_0x52d9f3=>{const _0x415644=_0x198175;process[_0x415644(0x1fc)]['write'](_0x52d9f3);},ye=0x27,gn=0x7d0,be=[_0x198175(0x2cd),_0x198175(0x2c5),_0x198175(0x36a),_0x198175(0x183),_0x198175(0x224),_0x198175(0x174)],Pn=['',_0x198175(0x27a),'daily'],(ve=[_0x198175(0x2cd),'pending',_0x198175(0x2c5),_0x198175(0x296),_0x198175(0x213),_0x198175(0x291),_0x198175(0x2bf),_0x198175(0x199),_0x198175(0x224),'delete'],$e={'list':'delegations\x20list\x20<backend-project-id>','pending':'delegations\x20pending\x20<session-id>','show':'delegations\x20show\x20<delegation-id|delegate://delegation/…>','create':_0x198175(0x343),'claim':_0x198175(0x242),'complete':_0x198175(0x15d),'accept':'delegations\x20accept\x20<delegation-id>','dismiss':_0x198175(0x225),'cancel':_0x198175(0x19e),'delete':'delegations\x20delete\x20<delegation-id>'}),(y={'lastType':null,'quiet':!0x1,'bin':''},Le=_0x8b0eca=>{const _0x589214=_0x198175;switch(_0x8b0eca[_0x589214(0x2c4)]){case'session_start':_0x8b0eca[_0x589214(0x25d)]&&_0x8b0eca[_0x589214(0x25d)]!==y['sessionId']&&(process[_0x589214(0x317)][_0x589214(0x140)](_0x589214(0x1b1)+_0x8b0eca[_0x589214(0x25d)]+_0x589214(0x28f)+_0x8b0eca[_0x589214(0x25d)]+')\x0a'),y[_0x589214(0x25d)]=_0x8b0eca['sessionId']);break;case _0x589214(0x173):_0x8b0eca['turnId']&&_0x8b0eca[_0x589214(0x31c)]!==y[_0x589214(0x31c)]&&(y[_0x589214(0x12d)]!==null&&process[_0x589214(0x317)][_0x589214(0x140)]('\x0a'),process['stderr'][_0x589214(0x140)](_0x589214(0x16a)+_0x8b0eca[_0x589214(0x31c)]+'\x20(cancel\x20with:\x20'+y[_0x589214(0x361)]+_0x589214(0x21c)+_0x8b0eca[_0x589214(0x25d)]+'\x20--turn\x20'+_0x8b0eca[_0x589214(0x31c)]+')\x0a'),y[_0x589214(0x31c)]=_0x8b0eca[_0x589214(0x31c)],y[_0x589214(0x12d)]=_0x589214(0x173));break;case _0x589214(0x21d):_0x8b0eca['content']&&!y[_0x589214(0x36c)]&&(y[_0x589214(0x12d)]!==_0x589214(0x21d)&&process[_0x589214(0x317)][_0x589214(0x140)]('\x0a🤔\x20'),process[_0x589214(0x317)][_0x589214(0x140)](_0x8b0eca[_0x589214(0x300)]),y['lastType']='thinking');break;case _0x589214(0x19f):y[_0x589214(0x12d)]!==null&&process[_0x589214(0x317)]['write']('\x0a'),process[_0x589214(0x317)][_0x589214(0x140)](_0x589214(0x2bc)+(_0x8b0eca[_0x589214(0x1e3)]??_0x589214(0x159))+'\x0a'),y[_0x589214(0x12d)]=_0x589214(0x19f);break;case _0x589214(0x282):_0x8b0eca[_0x589214(0x300)]&&(y[_0x589214(0x12d)]!==_0x589214(0x282)&&y['lastType']!==null&&process['stdout'][_0x589214(0x140)]('\x0a'),process['stdout']['write'](_0x8b0eca[_0x589214(0x300)]),y[_0x589214(0x12d)]='message');break;case'error':y[_0x589214(0x12d)]!==null&&process[_0x589214(0x317)][_0x589214(0x140)]('\x0a'),process[_0x589214(0x317)][_0x589214(0x140)]('✗\x20'+(_0x8b0eca['error']??_0x589214(0x22b))+'\x0a'),y[_0x589214(0x12d)]=_0x589214(0x22b);break;case'done':(y[_0x589214(0x12d)]===_0x589214(0x282)||y['lastType']==='thinking')&&process['stdout'][_0x589214(0x140)]('\x0a'),process[_0x589214(0x317)]['write'](_0x589214(0x2b5)),y[_0x589214(0x12d)]='done';break;}});}),Be,Je=L(()=>{const _0x196a81=_0x511361;Be={'bin':_0x196a81(0x268),'title':_0x196a81(0x219)};}),ao=Qe(()=>{const _0x582cbb=_0x511361;ne(),je(),Je();var _0xf08fdd=process[_0x582cbb(0x11b)]['slice'](0x2),_0x579a5c=te(_0xf08fdd,process['platform']);_0x579a5c!==void 0x0&&(console['error'](_0x579a5c),process['exit'](0x2)),Fe(Be,_0xf08fdd)[_0x582cbb(0x325)](Me);});export default ao();
2
+ const _0x48ae38=_0x4cd9;(function(_0x39b215,_0x4348de){const _0x116c2e=_0x4cd9,_0x474f6b=_0x39b215();while(!![]){try{const _0x5458ec=parseInt(_0x116c2e(0x279))/0x1*(parseInt(_0x116c2e(0x3f7))/0x2)+-parseInt(_0x116c2e(0x3fe))/0x3+parseInt(_0x116c2e(0x217))/0x4*(parseInt(_0x116c2e(0x2a5))/0x5)+parseInt(_0x116c2e(0x3aa))/0x6+parseInt(_0x116c2e(0x3e2))/0x7+-parseInt(_0x116c2e(0x3a4))/0x8*(parseInt(_0x116c2e(0x1be))/0x9)+-parseInt(_0x116c2e(0x1d6))/0xa;if(_0x5458ec===_0x4348de)break;else _0x474f6b['push'](_0x474f6b['shift']());}catch(_0x48262f){_0x474f6b['push'](_0x474f6b['shift']());}}}(_0x5d15,0x9a4b8));const __dirname=import.meta.dirname;var L=(_0x4c3a99,_0x4c5216)=>()=>(_0x4c3a99&&(_0x4c5216=_0x4c3a99(_0x4c3a99=0x0)),_0x4c5216),Qe=(_0x106e3f,_0x5dbf0c)=>()=>(_0x5dbf0c||_0x106e3f((_0x5dbf0c={'exports':{}})['exports'],_0x5dbf0c),_0x5dbf0c[_0x48ae38(0x400)]);function te(_0x539011,_0x243541){const _0x560427=_0x48ae38;let _0x323dc4=_0x539011[_0x560427(0x25d)](_0x560427(0x32a)),_0x350462=Ve(_0x539011),_0x2d368e=qe[_0x560427(0x2d2)](_0x539011[0x0])?_0x539011[0x0]:void 0x0;if(_0x323dc4<0x0&&_0x350462<0x0&&_0x2d368e===void 0x0)return;let _0x45091c=new Set([_0x323dc4,_0x350462,..._0x350462>=0x0?[_0x350462+0x1]:[]]);return(_0x2d368e!==void 0x0?'`delegate-cli\x20'+_0x2d368e+'`':_0x323dc4>=0x0?_0x560427(0x32d):_0x560427(0x2a7))+'\x20is\x20deprecated:\x20Cartographer\x20has\x20its\x20own\x20CLI\x20now,\x20@uipath/cartographer-cli.\x0a'+ze+('\x20\x20'+Ye(_0x539011,_0x45091c,_0x243541));}function Ve(_0x30e978){const _0x45e662=_0x48ae38;return _0x30e978[_0x45e662(0x349)]((_0x448790,_0x281c7c)=>_0x448790===_0x45e662(0x2e5)&&_0x30e978[_0x281c7c+0x1]?.['trim']()===Ke);}function Ye(_0x505dee,_0x3e3c7b,_0x1cdea8){const _0x56a2b3=_0x48ae38;return[_0x56a2b3(0x2a1),..._0x505dee['filter']((_0x55cfc2,_0x2fd667)=>!_0x3e3c7b[_0x56a2b3(0x260)](_0x2fd667))[_0x56a2b3(0x28f)](_0x2c92da=>Xe(_0x2c92da,_0x1cdea8))][_0x56a2b3(0x1f8)]('\x20');}function Xe(_0x11393f,_0x32e975){const _0x186238=_0x48ae38;return _0x32e975===_0x186238(0x278)?/^[\w@%+=:,./\\-]+$/['test'](_0x11393f)?_0x11393f:/[$`]/[_0x186238(0x268)](_0x11393f)?'\x27'+_0x11393f['replace'](/'/g,'\x27\x27')+'\x27':'\x22'+_0x11393f[_0x186238(0x219)](/"/g,'\x22\x22')+'\x22':/^[\w@%+=:,./-]+$/[_0x186238(0x268)](_0x11393f)?_0x11393f:'\x22'+_0x11393f['replace'](/(["\\$`])/g,_0x186238(0x2ba))+'\x22';}var Ke,qe,ze,ne=L(()=>{const _0x3ba797=_0x48ae38;Ke='cartographer',qe=['export',_0x3ba797(0x237)],ze='It\x20always\x20runs\x20the\x20Cartographer\x20vertical,\x20without\x20computer\x20use,\x20with\x20the\x20Cartographer\x20skills\x20preloaded,\x0aand\x20has\x20the\x20export\x20and\x20maps\x20commands.\x20Install\x20it\x20(npm\x20install\x20@uipath/cartographer-cli)\x20and\x20run:\x0a';});import{isOnStepGrid as _0x1e32cc}from'@uipath/delegate-sdk';function A(_0xac6b0b){const _0x471eed=_0x48ae38;return _0xac6b0b[_0x471eed(0x219)](/\u001b\[[0-?]*[ -/]*[@-~]|\u001b\][^\u0007\u001b]*(\u0007|\u001b\\)?|\u001b./g,'')['replace'](/[\u0000-\u0008\u000b-\u001f\u007f-\u009f]/g,'');}function oe(_0x1de9b0){const _0xb209d7=_0x48ae38;return A(_0x1de9b0[_0xb209d7(0x35d)]??(_0x1de9b0[_0xb209d7(0x1bd)]===F?'Something\x20else':_0x1de9b0['id']));}function et(_0x1b007a,_0x50c006,_0x322617){const _0x800aeb=_0x48ae38;let _0x534e3c=[''+(_0x322617>0x1?'['+_0x50c006+'/'+_0x322617+']\x20':'')+A(_0x1b007a['header'])+(_0x1b007a['optional']?_0x800aeb(0x29e):''),A(_0x1b007a[_0x800aeb(0x293)])];return _0x1b007a['type']==='text'&&_0x1b007a[_0x800aeb(0x1c6)]['forEach']((_0x4a453c,_0x5a3a07)=>{const _0x14aa10=_0x800aeb;let _0x596dd8=_0x4a453c['kind']===F?'\x20(type\x20your\x20own)':'',_0x2e6b27=_0x4a453c[_0x14aa10(0x332)]?_0x14aa10(0x2fd)+A(_0x4a453c['description']):'';_0x534e3c['push']('\x20\x20'+(_0x5a3a07+0x1)+'.\x20'+oe(_0x4a453c)+_0x596dd8+_0x2e6b27);}),_0x534e3c[_0x800aeb(0x1f8)]('\x0a');}function se(_0x615737,_0x19343a){const _0x4adf6f=_0x48ae38;let _0x381b00=_0x615737['split'](/[\s,]+/)['filter'](Boolean);if(_0x381b00[_0x4adf6f(0x2f8)]===0x0)return null;let _0x439611=_0x381b00['map'](_0x1b400d=>/^\d+$/['test'](_0x1b400d)?Number(_0x1b400d):NaN);return _0x439611[_0x4adf6f(0x1e0)](_0x486372=>!Number['isInteger'](_0x486372)||_0x486372<0x1||_0x486372>_0x19343a)?null:[...new Set(_0x439611)]['map'](_0xd61bdd=>_0xd61bdd-0x1);}function tt(_0x1a3e18){const _0x3e463e=_0x48ae38;return typeof _0x1a3e18==_0x3e463e(0x20b)&&_0x1a3e18!==null&&_0x3e463e(0x3e7)in _0x1a3e18;}async function M(_0x17dfb0,_0x5c7f83,_0xd10c56,_0x11e554){const _0x525e5f=_0x48ae38;for(;;){let _0x1cfed3=(await _0x17dfb0(_0x5c7f83))[_0x525e5f(0x28b)]();if(_0x1cfed3==='')return;let _0x408fbf=_0x11e554(_0x1cfed3);if(!tt(_0x408fbf))return _0x408fbf;_0xd10c56(_0x408fbf['refused']+'\x0a');}}async function nt(_0x13aaeb,_0x6725ec,_0x4afcfe){const _0x2a719b=_0x48ae38;if(_0x13aaeb[_0x2a719b(0x1c6)][_0x2a719b(0x2f8)]===0x0||_0x13aaeb[_0x2a719b(0x1c6)][_0x2a719b(0x31c)](_0x544e32=>_0x544e32[_0x2a719b(0x1bd)]===F)){let _0x268a11=(await _0x6725ec(_0x2a719b(0x2f5)))[_0x2a719b(0x28b)]();return _0x268a11===''?void 0x0:{'text':_0x268a11};}let _0x1c57e9=_0x13aaeb[_0x2a719b(0x1c6)]['findIndex'](_0x4dbbd9=>_0x4dbbd9[_0x2a719b(0x1bd)]===F),_0x1ecfb9=_0x13aaeb[_0x2a719b(0x2c0)]?_0x2a719b(0x376):_0x2a719b(0x22f)+(_0x1c57e9>=0x0?_0x2a719b(0x22a):'')+'\x20(Enter\x20to\x20skip):\x20',_0x4961f3=await M(_0x6725ec,_0x1ecfb9,_0x4afcfe,_0x20a905=>{const _0x407ed0=_0x2a719b;let _0xb61423=se(_0x20a905,_0x13aaeb[_0x407ed0(0x1c6)][_0x407ed0(0x2f8)]);return _0xb61423&&(_0x13aaeb[_0x407ed0(0x2c0)]||_0xb61423[_0x407ed0(0x2f8)]===0x1)?_0xb61423:!_0x13aaeb[_0x407ed0(0x2c0)]&&_0x1c57e9>=0x0?{'typed':_0x20a905}:{'refused':_0x13aaeb[_0x407ed0(0x2c0)]?_0x407ed0(0x211)+_0x13aaeb['options'][_0x407ed0(0x2f8)]+'.':_0x407ed0(0x2d4)+_0x13aaeb['options'][_0x407ed0(0x2f8)]+'.'};});if(_0x4961f3===void 0x0)return;if(!Array[_0x2a719b(0x3ef)](_0x4961f3))return{'text':_0x4961f3['typed']};let _0x31831a=_0x4961f3[_0x2a719b(0x28f)](_0x267b23=>_0x13aaeb['options'][_0x267b23]['id']),_0x85c03c=_0x31831a[_0x2a719b(0x2d2)](F)?await M(_0x6725ec,oe(_0x13aaeb['options'][_0x1c57e9])+':\x20',_0x4afcfe,_0x216a72=>_0x216a72):void 0x0;if(!(_0x31831a[_0x2a719b(0x2d2)](F)&&_0x85c03c===void 0x0))return _0x13aaeb['multiSelect']?{'optionIds':_0x31831a,..._0x85c03c!==void 0x0?{'text':_0x85c03c}:{}}:_0x85c03c!==void 0x0?{'text':_0x85c03c}:{'optionId':_0x31831a[0x0]};}async function ot(_0x424cd5,_0x3ce079,_0xa824b8){const _0x2bfd8b=_0x48ae38;let _0x57fe0d={};for(let _0x1629ef of _0x424cd5[_0x2bfd8b(0x317)]){let _0x30da8c=_0x1629ef[_0x2bfd8b(0x2cc)]??_0x1629ef[_0x2bfd8b(0x284)],_0x1de7fc=_0x1629ef[_0x2bfd8b(0x377)]??0x1,_0x5af085=_0x1629ef[_0x2bfd8b(0x28a)]?'\x20'+A(_0x1629ef[_0x2bfd8b(0x28a)]):'',_0x5b4d7d=_0x2bfd8b(0x1b8)+_0x1629ef[_0x2bfd8b(0x284)]+_0x2bfd8b(0x2aa)+_0x1629ef[_0x2bfd8b(0x338)]+(_0x1de7fc!==0x1?'\x20in\x20steps\x20of\x20'+_0x1de7fc:''),_0x492577=await M(_0x3ce079,A(_0x1629ef['label'])+'\x20['+_0x1629ef[_0x2bfd8b(0x284)]+'-'+_0x1629ef['max']+_0x5af085+_0x2bfd8b(0x357)+_0x30da8c+'):\x20',_0xa824b8,_0x68e0ee=>{const _0x4121d8=_0x2bfd8b;let _0x6af8df=Number(_0x68e0ee);return Number[_0x4121d8(0x1df)](_0x6af8df)&&_0x6af8df>=_0x1629ef['min']&&_0x6af8df<=_0x1629ef[_0x4121d8(0x338)]&&_0x1e32cc(_0x6af8df,_0x1629ef[_0x4121d8(0x284)],_0x1de7fc)?_0x6af8df:{'refused':_0x4121d8(0x250)+_0x5b4d7d+'.'};});_0x57fe0d[_0x1629ef['id']]=_0x492577??_0x30da8c;}return{'values':_0x57fe0d};}async function st(_0x1434db,_0xab8f19,_0x2b73c3){const _0x1dfea5=_0x48ae38;_0x2b73c3(_0x1434db[_0x1dfea5(0x255)][_0x1dfea5(0x28f)]((_0x2dba41,_0x1e7383)=>'\x20\x20'+(_0x1e7383+0x1)+'.\x20'+A(_0x2dba41[_0x1dfea5(0x35d)]))[_0x1dfea5(0x1f8)]('\x0a')+'\x0a');let _0x47d518={};for(let _0x2d687e of _0x1434db[_0x1dfea5(0x3cf)]){let _0x30579f=await M(_0xab8f19,A(_0x2d687e[_0x1dfea5(0x35d)])+_0x1dfea5(0x3f3),_0x2b73c3,_0x3a9caf=>{const _0x437b1d=_0x1dfea5;let _0x1df885=se(_0x3a9caf,_0x1434db[_0x437b1d(0x255)][_0x437b1d(0x2f8)]);return _0x1df885&&_0x1df885['length']===0x1?_0x1df885[0x0]:{'refused':_0x437b1d(0x2d4)+_0x1434db[_0x437b1d(0x255)][_0x437b1d(0x2f8)]+'.'};});if(_0x30579f===void 0x0)continue;let _0x347641=_0x1434db[_0x1dfea5(0x255)][_0x30579f],_0x17b03c={};for(let _0x6ea142 of _0x347641[_0x1dfea5(0x27d)]??[]){let _0x4b4396='\x20\x20'+A(_0x6ea142[_0x1dfea5(0x35d)])+(_0x6ea142[_0x1dfea5(0x33a)]?_0x1dfea5(0x29e):'')+':\x20',_0x27726f=await M(_0xab8f19,_0x4b4396,_0x2b73c3,_0x5936f2=>_0x5936f2);for(;_0x27726f===void 0x0&&!_0x6ea142[_0x1dfea5(0x33a)];)_0x2b73c3(A(_0x6ea142[_0x1dfea5(0x35d)])+'\x20is\x20required.\x0a'),_0x27726f=await M(_0xab8f19,_0x4b4396,_0x2b73c3,_0x1d493f=>_0x1d493f);_0x27726f!==void 0x0&&(_0x17b03c[_0x6ea142['id']]=_0x27726f);}_0x47d518[_0x2d687e['id']]={'bucket':_0x347641['id'],...Object[_0x1dfea5(0x242)](_0x17b03c)['length']>0x0?{'subFields':_0x17b03c}:{}};}return Object[_0x1dfea5(0x242)](_0x47d518)[_0x1dfea5(0x2f8)]>0x0?{'assignments':_0x47d518}:void 0x0;}async function rt(_0x5307e5,_0x5c89a3,_0x31efec){const _0x43f43e=_0x48ae38;if(_0x5307e5['type']==='text')return nt(_0x5307e5,_0x5c89a3,_0x31efec);if(_0x5307e5[_0x43f43e(0x3a8)]===_0x43f43e(0x22b))return ot(_0x5307e5,_0x5c89a3,_0x31efec);if(_0x5307e5[_0x43f43e(0x3a8)]==='bucket')return st(_0x5307e5,_0x5c89a3,_0x31efec);let _0xaee3b6=(await _0x5c89a3('Your\x20answer,\x20as\x20text\x20(the\x20CLI\x20attaches\x20no\x20files;\x20Enter\x20to\x20skip):\x20'))[_0x43f43e(0x28b)]();return _0xaee3b6===''?void 0x0:{'text':_0xaee3b6};}function re(_0x285d96,_0x59f4cd){return async _0x2fab1c=>{const _0x4f97bc=_0x4cd9;let _0x2b18ff=_0x285d96();if(!_0x2b18ff)throw new Error(_0x4f97bc(0x3b8));let _0x25de28=async _0x4ede88=>{const _0x2fe63d=_0x4f97bc;if(_0x2fab1c[_0x2fe63d(0x38f)]['aborted'])throw new Error('The\x20turn\x20was\x20cancelled.');let _0x367451=await _0x2b18ff[_0x2fe63d(0x2d5)](_0x4ede88,_0x2fab1c[_0x2fe63d(0x38f)]);if(_0x367451===null)throw new Error(_0x2fe63d(0x1e6));return _0x367451;};try{_0x59f4cd('\x0a'+(_0x2fab1c['intro']?A(_0x2fab1c[_0x4f97bc(0x301)])+'\x0a':''));let _0x5a7b7e={};for(let [_0x26e910,_0x3e0cd0]of _0x2fab1c[_0x4f97bc(0x31a)]['entries']()){_0x59f4cd('\x0a'+et(_0x3e0cd0,_0x26e910+0x1,_0x2fab1c[_0x4f97bc(0x31a)]['length'])+'\x0a');let _0x30927d=await rt(_0x3e0cd0,_0x25de28,_0x59f4cd);_0x30927d!==void 0x0&&(_0x5a7b7e[_0x3e0cd0['id']]=_0x30927d);}return{'answers':_0x5a7b7e};}finally{_0x2b18ff['endQuestions']();}};}var F,ie=L(()=>{F='userinput';});import{createInterface as _0xf9c54a}from'node:readline';function ae(_0x50f445){return B['includes'](_0x50f445);}function at(_0x4026a6){const _0x3d53fe=_0x48ae38;if(typeof _0x4026a6=='string')return _0x4026a6;if(!Array[_0x3d53fe(0x3ef)](_0x4026a6))return;let _0x7c4ce7=[];for(let _0x5d8d92 of _0x4026a6){if(typeof _0x5d8d92!=_0x3d53fe(0x20b)||_0x5d8d92===null)return;let {type:_0x44861f,text:_0x5f43e2}=_0x5d8d92;if(_0x44861f!==_0x3d53fe(0x3a6)||typeof _0x5f43e2!=_0x3d53fe(0x2e1))return;_0x7c4ce7[_0x3d53fe(0x337)](_0x5f43e2);}return _0x7c4ce7['join']('\x0a');}function lt(_0x2c4add){const _0x5d0e2d=_0x48ae38;if(_0x2c4add[_0x5d0e2d(0x28b)]()==='')return null;let _0x3076a6;try{_0x3076a6=JSON[_0x5d0e2d(0x209)](_0x2c4add);}catch{throw new C(_0x5d0e2d(0x381));}if(typeof _0x3076a6!=_0x5d0e2d(0x20b)||_0x3076a6===null)throw new C(_0x5d0e2d(0x3b5));let {type:_0x1f104b,message:_0x5478a6,uuid:_0x574f6e}=_0x3076a6;if(_0x1f104b!==_0x5d0e2d(0x2df))throw new C(_0x5d0e2d(0x1d0)+JSON[_0x5d0e2d(0x1fc)](_0x1f104b)+',\x20not\x20\x22user\x22');let _0x6ffec5=at(_0x5478a6?.[_0x5d0e2d(0x205)]);if(_0x6ffec5===void 0x0)throw new C('an\x20input\x20line\x20has\x20no\x20message.content,\x20a\x20string\x20or\x20a\x20list\x20of\x20text\x20blocks');if(_0x6ffec5[_0x5d0e2d(0x28b)]()==='')throw new C(_0x5d0e2d(0x1c1));return{'text':_0x6ffec5,'uuid':typeof _0x574f6e==_0x5d0e2d(0x2e1)?_0x574f6e:void 0x0};}function le(_0x2716dd,_0x53667a){const _0x745ed3=_0x48ae38;return JSON[_0x745ed3(0x1fc)]({'type':_0x745ed3(0x2df),'message':{'role':_0x745ed3(0x2df),'content':_0x2716dd['text']},'session_id':_0x53667a,..._0x2716dd[_0x745ed3(0x2c5)]===void 0x0?{}:{'uuid':_0x2716dd[_0x745ed3(0x2c5)]},'isReplay':!0x0})+'\x0a';}async function*ce(_0x5d3c54,_0x57eb6a){let _0x1390af=_0xf9c54a({'input':_0x5d3c54,'crlfDelay':0x1/0x0});try{for await(let _0x42c9e0 of _0x1390af){let _0x18e6d6;try{_0x18e6d6=lt(_0x42c9e0);}catch(_0x17d1ad){if(!(_0x17d1ad instanceof C))throw _0x17d1ad;_0x57eb6a(_0x17d1ad);continue;}_0x18e6d6&&(yield _0x18e6d6);}}finally{_0x1390af['close']();}}var B,C,Q=L(()=>{const _0x397093=_0x48ae38;B=[_0x397093(0x3a6),_0x397093(0x20a)],C=class extends Error{};});function de(_0x2fa04f){const _0x2d8367=_0x48ae38;let {input:_0x453e65,getAgent:_0x437e85,replay:_0x3ca466,onEvent:_0x114b61,write:_0x5f5012,warn:_0x2387e7,isRunStopNotice:_0x48a8cf,actionableErrorText:_0xba6494}=_0x2fa04f,_0x4eca34=0x0,_0x1756e5=0x0,_0x43ad2c=Promise[_0x2d8367(0x32c)](),_0x1a7503=!0x1,_0x5931e2=()=>{},_0x4e23ce=new Promise(_0x24293c=>{_0x5931e2=_0x24293c;}),_0x1d3fae=[],_0x1db8e2=_0x114b61(_0x2332d1=>{const _0x2be9cb=_0x2d8367;_0x2332d1[_0x2be9cb(0x3a8)]===_0x2be9cb(0x1db)&&(_0x5931e2(),_0x1d3fae[_0x2be9cb(0x35a)]()?.());}),_0x470831=_0x1d28c2=>{_0x3ca466&&_0x5f5012(le(_0x1d28c2,_0x437e85()['getSessionId']()));},_0x1e671c=(async()=>{const _0x4863bb=_0x2d8367;await _0x4e23ce;for await(let _0x4587f0 of _0x453e65[_0x4863bb(0x380)]){if(_0x1a7503)return;_0x4eca34===0x0&&(_0x1756e5=_0x437e85()[_0x4863bb(0x389)]()[_0x4863bb(0x2f8)]),_0x4eca34++;let _0x51db66=new Promise(_0x5abeb5=>{const _0x3182cc=_0x4863bb;_0x1d3fae[_0x3182cc(0x337)](()=>{_0x470831(_0x4587f0),_0x5abeb5();});}),_0x173bd1=()=>{const _0x2f5a88=_0x4863bb;_0x4eca34--,_0x1d3fae[_0x2f5a88(0x311)]();},_0x51f70f=_0x437e85()['steer'](_0x4587f0[_0x4863bb(0x3a6)]);_0x43ad2c=_0x51f70f[_0x4863bb(0x316)](()=>{});try{await _0x51f70f?await Promise[_0x4863bb(0x21f)]([_0x51db66,_0x437e85()[_0x4863bb(0x1f1)]()]):(_0x173bd1(),_0x2387e7(_0x4863bb(0x267)));}catch(_0x50a03c){_0x173bd1(),_0x2387e7(_0x4863bb(0x3a0)+(_0x50a03c instanceof Error?_0x50a03c[_0x4863bb(0x2a8)]:String(_0x50a03c))+'\x0a');}}})()['catch'](_0x146db4=>{const _0xdbea57=_0x2d8367;_0x2387e7(_0xdbea57(0x270)+(_0x146db4 instanceof Error?_0x146db4[_0xdbea57(0x2a8)]:String(_0x146db4))+'\x0a');});return{'settle':async _0x288b07=>{const _0x18b88f=_0x2d8367;if(await _0x43ad2c,_0x4eca34===0x0)return _0x288b07;await _0x437e85()[_0x18b88f(0x1f1)]();for(let _0x510576 of _0x1d3fae)_0x510576();_0x1d3fae=[];let _0x50bcf3=_0x437e85()['getSessionMessages']()['slice'](_0x1756e5)[_0x18b88f(0x2a9)](_0x28f33d=>_0x28f33d[_0x18b88f(0x276)]==='actionable_error'||_0x48a8cf(_0x28f33d)||_0x28f33d[_0x18b88f(0x3a8)]==='ai'&&_0x28f33d[_0x18b88f(0x276)]!==_0x18b88f(0x241)&&_0x28f33d[_0x18b88f(0x276)]!==_0x18b88f(0x32f)&&!!_0x28f33d[_0x18b88f(0x205)]);if(!_0x50bcf3)return{..._0x288b07,'failed':!0x0,'text':_0x18b88f(0x288)};let _0x3e5b86=_0x50bcf3['widget']===_0x18b88f(0x2f9);return typeof _0x50bcf3['content']!='string'?{..._0x288b07,'failed':_0x3e5b86}:{..._0x288b07,'failed':_0x3e5b86,'text':_0x3e5b86?_0xba6494(_0x50bcf3['content']):_0x50bcf3['content']};},'stop':()=>{const _0x452e16=_0x2d8367;_0x1a7503=!0x0,_0x1db8e2(),_0x453e65[_0x452e16(0x1cb)]();}};}var ue=L(()=>{Q();});import _0x3d1a15 from'fs';import _0x57117c from'path';import{clearLine as _0x58f16c,createInterface as _0x3ba088,cursorTo as _0x4736c8}from'node:readline';import{DelegateAgent as _0x2c8a41,cancelTurn as _0x3e2bf9,InteropProcess as _0x3a158a,complete as _0xe8d966,DEFAULT_MODEL as _0x218125,createBackendClient as _0x124b64,evaluate as _0x19ecf4,isCompletionRequestError as _0x40ff25,isEvaluationRequestError as _0x59254e,isTranscriptionError as _0x3ee345,rerank as _0x9aae4b,transcribe as _0x2c2e6e,verify as _0x113a79,acceptDelegation as _0x45e492,cancelDelegation as _0x5eba53,claimDelegation as _0x98460a,completeDelegation as _0x3a64f8,createDelegation as _0x45a13a,deleteDelegation as _0x4a8e1b,dismissDelegation as _0x22c28b,getSessionDelegations as _0x133adf,isDelegationError as _0x260ac0,listDelegations as _0x21deee,listOrgUsers as _0x387f8a,previewDelegation as _0x11673e,TurnResultCollector as _0x128d86,agentEventToJsonLine as _0x106812,describeBaseUrlRejection as _0x39bce3,getActivitySummary as _0x13455c,getAuthFilePath as _0x4b2d2c,getByoWarnings as _0x1bded9,getDailyBreakdown as _0x563b65,getLicensingSummary as _0x648175,getMonthlySpending as _0x4162bb,isOutputFormat as _0x54087e,isCloudBaseUrl as _0x3c6031,isSafeProjectFolderSegment as _0x2865f8,listModels as _0x5790f9,listSessions as _0x175086,getSession as _0x3227e1,renameSession as _0x47a6df,deleteSession as _0x52375d,deleteSessionTaskLog as _0x26d1d7,forkSession as _0x3d1679,isBackendRequestError as _0x1ed541,MAX_SESSION_PAGE_SIZE as _0x10edb9,listTenants as _0xf995fe,loadAndRefreshAuth as _0x482c58,loadAndRefreshSdkLogin as _0xbb3333,parsePlatformBaseUrl as _0x52631b,resolveBackendUrl as _0x4d9c2c,runHealthCheck as _0x2a9b8d,runHostCommand as _0x35dfd8,runLoginFlow as _0x15ee3b,runTurnForResult as _0x57fe7e,saveAuthData as _0x3363f8,switchTenant as _0xdaf3cc,toJsonLine as _0x25a3b9,ENV_TO_CLOUD as _0x3a3b9a,OUTPUT_FORMATS as _0x2c211a,isRunStopNotice as _0x54baf2,extractActionableErrorText as _0x275372}from'@uipath/delegate-sdk';function k(_0x5dd05c,_0x271677,_0x391f95,_0x4d8389){const _0x1d4857=_0x48ae38;let _0x4d9032=_0x5dd05c[_0x271677];return(!_0x4d9032||_0x4d9032[_0x1d4857(0x2f8)]>0x1&&_0x4d9032['startsWith']('-'))&&(console[_0x1d4857(0x297)](_0x391f95+_0x1d4857(0x336)+_0x4d8389+'.'),process['exit'](0x2)),_0x4d9032;}function K(_0x11e86a,_0x3a4ce7,_0x3f3316,_0x46f0c2){const _0x3f871f=_0x48ae38;let _0x3de33d=k(_0x11e86a,_0x3a4ce7,_0x3f3316,_0x3f871f(0x343)),_0x2033b1=Number(_0x3de33d);return(!/^\d+$/[_0x3f871f(0x268)](_0x3de33d)||_0x2033b1<0x1||!Number[_0x3f871f(0x207)](_0x2033b1)||_0x46f0c2!==void 0x0&&_0x2033b1>_0x46f0c2)&&(console[_0x3f871f(0x297)](_0x3f3316+_0x3f871f(0x365)+(_0x46f0c2===void 0x0?_0x3f871f(0x33b):'from\x201\x20to\x20'+_0x46f0c2)+_0x3f871f(0x249)+_0x3de33d+'.'),process[_0x3f871f(0x2fb)](0x2)),_0x2033b1;}function dn(_0x218e18,_0x353834){const _0x1ac983=_0x48ae38;let _0x23a5ec={'product':_0x353834,'subcommand':'','prompt':'','print':!0x1,'keepAlive':!0x1,'cleanup':!0x1,'headless':!0x1,'commandFlags':{},'noComputerUse':_0x353834[_0x1ac983(0x37c)]===_0x1ac983(0x2cd),'computerUse':!0x1,'noConnections':!0x1,'noSecurity':!0x1,'noMemory':!0x1,'taskAutomation':!0x1,'quiet':!0x1,'verbose':!0x1,'outputFormat':_0x1ac983(0x3a6),'inputFormat':_0x1ac983(0x3a6),'replayUserMessages':!0x1,'preloadSkills':[..._0x353834[_0x1ac983(0x1d5)]??[]],'attachments':[],'skipEnvCheck':!0x1,'includeSubAgents':!0x1,'operands':[],'help':!0x1,'version':!0x1},_0x17df9f=_0x353834[_0x1ac983(0x3d6)]?.[_0x1ac983(0x295)](_0x2ad5b7=>_0x2ad5b7[_0x1ac983(0x232)]===_0x218e18[0x0]);_0x17df9f?(_0x23a5ec[_0x1ac983(0x24d)]=_0x17df9f,_0x23a5ec[_0x1ac983(0x341)]=_0x17df9f[_0x1ac983(0x232)],_0x218e18=_0x218e18[_0x1ac983(0x2b0)](0x1)):ln['includes'](_0x218e18[0x0])&&(_0x23a5ec[_0x1ac983(0x341)]=_0x218e18[0x0],_0x218e18=_0x218e18[_0x1ac983(0x2b0)](0x1));let _0x16bd52=[];for(let _0x275528=0x0;_0x275528<_0x218e18[_0x1ac983(0x2f8)];_0x275528++){let _0x1b67b5=_0x218e18[_0x275528];switch(_0x1b67b5){case _0x1ac983(0x374):case'-p':_0x23a5ec['print']=!0x0;break;case _0x1ac983(0x320):_0x23a5ec[_0x1ac983(0x29f)]=!0x0;break;case'--cleanup':_0x23a5ec[_0x1ac983(0x298)]=!0x0;break;case'--headless':_0x23a5ec[_0x1ac983(0x2ec)]=!0x0;break;case _0x1ac983(0x342):_0x23a5ec['noComputerUse']=!0x0;break;case _0x1ac983(0x2b9):_0x23a5ec[_0x1ac983(0x25e)]=!0x0;break;case'--no-security':_0x23a5ec['noSecurity']=!0x0;break;case _0x1ac983(0x3f4):_0x23a5ec['noMemory']=!0x0;break;case _0x1ac983(0x401):_0x23a5ec[_0x1ac983(0x34b)]=!0x0;break;case _0x1ac983(0x2ad):case'-q':_0x23a5ec[_0x1ac983(0x310)]=!0x0;break;case _0x1ac983(0x2d6):_0x23a5ec[_0x1ac983(0x38d)]=!0x0;break;case _0x1ac983(0x21d):_0x23a5ec[_0x1ac983(0x39d)]=_0x218e18[++_0x275528];break;case _0x1ac983(0x2db):_0x23a5ec[_0x1ac983(0x272)]=_0x218e18[++_0x275528];break;case _0x1ac983(0x282):_0x23a5ec[_0x1ac983(0x234)]=_0x218e18[++_0x275528];break;case _0x1ac983(0x402):_0x23a5ec[_0x1ac983(0x1e3)]=_0x218e18[++_0x275528];break;case'--worker-id':_0x23a5ec[_0x1ac983(0x224)]=_0x218e18[++_0x275528];break;case'--preload-skill':_0x23a5ec['preloadSkills'][_0x1ac983(0x337)](k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x3e1)));break;case _0x1ac983(0x238):{let _0x5c0d25=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x3f6));_0x2865f8(_0x5c0d25)||(console[_0x1ac983(0x297)]('Invalid\x20--project:\x20\x22'+_0x5c0d25+'\x22.\x20Use\x20a\x20single\x20folder-safe\x20segment\x20such\x20as\x20invoice-approval\x20(letters,\x20digits,\x20spaces,\x20\x22_\x22,\x20\x22-\x22,\x20\x22.\x22,\x20parentheses;\x20at\x20most\x2064\x20characters;\x20not\x20starting\x20with\x20\x22.\x22\x20or\x20ending\x20with\x20\x22.\x22\x20or\x20a\x20space).'),process['exit'](0x2)),_0x23a5ec[_0x1ac983(0x1ff)]=_0x5c0d25;break;}case _0x1ac983(0x2e5):_0x23a5ec['vertical']=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x1d1));break;case _0x1ac983(0x351):{let _0x2d493a=k(_0x218e18,++_0x275528,_0x1b67b5,'a\x20format\x20('+_0x2c211a[_0x1ac983(0x1f8)]('\x20|\x20')+')');_0x54087e(_0x2d493a)||(console[_0x1ac983(0x297)]('Invalid\x20--output-format:\x20'+_0x2d493a+_0x1ac983(0x273)+_0x2c211a['join'](_0x1ac983(0x323))+'.'),process['exit'](0x2)),_0x23a5ec['outputFormat']=_0x2d493a;break;}case _0x1ac983(0x3df):{let _0x230f63=k(_0x218e18,++_0x275528,_0x1b67b5,'a\x20format\x20('+B[_0x1ac983(0x1f8)](_0x1ac983(0x323))+')');ae(_0x230f63)||(console['error'](_0x1ac983(0x327)+_0x230f63+'.\x20Use\x20'+B[_0x1ac983(0x1f8)]('\x20|\x20')+'.'),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x3a3)]=_0x230f63;break;}case _0x1ac983(0x212):_0x23a5ec[_0x1ac983(0x303)]=!0x0;break;case'--session':_0x23a5ec['sessionId']=k(_0x218e18,++_0x275528,_0x1b67b5,'a\x20session\x20id');break;case _0x1ac983(0x1f6):_0x23a5ec[_0x1ac983(0x2a3)]=K(_0x218e18,++_0x275528,_0x1b67b5);break;case _0x1ac983(0x277):_0x23a5ec[_0x1ac983(0x2af)]=K(_0x218e18,++_0x275528,_0x1b67b5,_0x10edb9);break;case'--include-subagents':_0x23a5ec[_0x1ac983(0x26e)]=!0x0;break;case _0x1ac983(0x20d):_0x23a5ec[_0x1ac983(0x3b4)]=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x34a));break;case _0x1ac983(0x235):{let _0x1118c6=_0x57117c['resolve'](process[_0x1ac983(0x399)](),k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x3bc)));_0x3d1a15['existsSync'](_0x1118c6)||(console['error'](_0x1ac983(0x26d)+_0x1118c6),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x3da)][_0x1ac983(0x337)](_0x1118c6);break;}case _0x1ac983(0x1b9):_0x23a5ec[_0x1ac983(0x3d7)]=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x3a5));break;case'--to':_0x23a5ec[_0x1ac983(0x1cd)]=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x3ea));break;case _0x1ac983(0x3dc):_0x23a5ec[_0x1ac983(0x3fc)]=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x333));break;case _0x1ac983(0x398):_0x23a5ec[_0x1ac983(0x2bf)]=K(_0x218e18,++_0x275528,_0x1b67b5,0x16d);break;case _0x1ac983(0x1f4):_0x23a5ec['workingDirectory']=_0x57117c[_0x1ac983(0x32c)](process[_0x1ac983(0x399)](),k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x3cc)));break;case'--skills-path':_0x23a5ec['bundledSkillsPath']=_0x57117c[_0x1ac983(0x32c)](process['cwd'](),k(_0x218e18,++_0x275528,_0x1b67b5,'a\x20directory\x20path'));break;case _0x1ac983(0x373):{let _0x4bfc25=k(_0x218e18,++_0x275528,_0x1b67b5,_0x1ac983(0x1ae));he['includes'](_0x4bfc25)||(console[_0x1ac983(0x297)]('Invalid\x20--effort:\x20'+_0x4bfc25+'.\x20Use\x20'+he['join'](_0x1ac983(0x323))+'.'),process['exit'](0x2)),_0x23a5ec[_0x1ac983(0x3c6)]=_0x4bfc25;break;}case'--tenant':{let _0x4f88aa=_0x218e18[++_0x275528];(!_0x4f88aa||_0x4f88aa[_0x1ac983(0x2f3)]('--'))&&(console[_0x1ac983(0x297)](_0x1ac983(0x2c2)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec['tenant']=_0x4f88aa;break;}case _0x1ac983(0x227):{let _0x22de22=_0x218e18[++_0x275528];[_0x1ac983(0x3d4),'staging','production',_0x1ac983(0x258)][_0x1ac983(0x2d2)](_0x22de22)||(console[_0x1ac983(0x297)](_0x1ac983(0x3d8)+_0x22de22+_0x1ac983(0x2a6)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x339)]=_0x22de22;break;}case _0x1ac983(0x3dd):case _0x1ac983(0x28e):{let _0x463d0d=k(_0x218e18,++_0x275528,_0x1b67b5,'a\x20deployment\x20URL,\x20e.g.\x20https://automationsuite.contoso.com'),_0x4ac39e=_0x52631b(_0x463d0d);if(_0x4ac39e['ok']===!0x1){console[_0x1ac983(0x297)](_0x39bce3(_0x463d0d,_0x4ac39e[_0x1ac983(0x252)])),process['exit'](0x2);break;}_0x23a5ec[_0x1ac983(0x36a)]=_0x4ac39e[_0x1ac983(0x1ea)];break;}case _0x1ac983(0x1ed):_0x23a5ec[_0x1ac983(0x2ac)]=!0x0;break;case'-h':case _0x1ac983(0x25c):_0x23a5ec[_0x1ac983(0x39c)]=!0x0;break;case'-v':case'--version':_0x23a5ec[_0x1ac983(0x2c7)]=!0x0;break;default:if(_0x17df9f&&Object['hasOwn'](_0x17df9f[_0x1ac983(0x31f)],_0x1b67b5)){_0x23a5ec[_0x1ac983(0x1fa)][_0x1b67b5]=k(_0x218e18,++_0x275528,_0x1b67b5,_0x17df9f[_0x1ac983(0x31f)][_0x1b67b5]);break;}if(_0x1b67b5===_0x1ac983(0x322)&&_0x353834[_0x1ac983(0x37c)]===_0x1ac983(0x289)){_0x23a5ec['computerUse']=!0x0;break;}_0x1b67b5[_0x1ac983(0x2f3)]('--')&&(console[_0x1ac983(0x297)](_0x1ac983(0x25b)+_0x1b67b5),process[_0x1ac983(0x2fb)](0x2)),_0x16bd52[_0x1ac983(0x337)](_0x1b67b5);}}_0x23a5ec[_0x1ac983(0x355)]!==void 0x0&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x2bd)&&(console[_0x1ac983(0x297)](_0x1ac983(0x3fa)+_0x23a5ec[_0x1ac983(0x3c8)]['bin']+_0x1ac983(0x2dc)+_0x23a5ec['product'][_0x1ac983(0x1cf)]+_0x1ac983(0x259)),process['exit'](0x2)),_0x23a5ec['url']!==void 0x0&&_0x23a5ec[_0x1ac983(0x339)]!==void 0x0&&(console[_0x1ac983(0x297)]('Pass\x20either\x20--env\x20(a\x20named\x20cloud)\x20or\x20--url\x20(any\x20other\x20deployment),\x20not\x20both.'),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x36a)]!==void 0x0&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x2bd)&&(console[_0x1ac983(0x297)]('--url\x20applies\x20to\x20`'+_0x23a5ec['product'][_0x1ac983(0x1cf)]+'\x20login`\x20only.\x20Other\x20commands\x20follow\x20the\x20saved\x20login,\x20or\x20--backend\x20<url>.'),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x2bf)]!==void 0x0&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x251)&&(console[_0x1ac983(0x297)](_0x1ac983(0x1d8)+_0x23a5ec[_0x1ac983(0x3c8)][_0x1ac983(0x1cf)]+_0x1ac983(0x344)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x3b4)]!==void 0x0&&(_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x300)&&_0x23a5ec[_0x1ac983(0x341)]!==''||_0x23a5ec[_0x1ac983(0x298)])&&(console[_0x1ac983(0x297)](_0x1ac983(0x24a)+_0x23a5ec[_0x1ac983(0x3c8)][_0x1ac983(0x1cf)]+_0x1ac983(0x265)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec['attachments'][_0x1ac983(0x2f8)]>0x0&&(_0x23a5ec[_0x1ac983(0x341)]!==''||_0x23a5ec['cleanup'])&&(console[_0x1ac983(0x297)](_0x1ac983(0x3a1)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x34b)]&&(_0x23a5ec[_0x1ac983(0x341)]!==''||_0x23a5ec[_0x1ac983(0x298)])&&(console[_0x1ac983(0x297)](_0x1ac983(0x20f)),process['exit'](0x2)),_0x23a5ec[_0x1ac983(0x37c)]&&(_0x23a5ec[_0x1ac983(0x2ec)]||_0x23a5ec[_0x1ac983(0x1ef)])&&(console['error']('--computer-use\x20turns\x20the\x20screen\x20on,\x20and\x20--headless\x20and\x20--no-computer-use\x20turn\x20it\x20off:\x20pass\x20one\x20of\x20them.'),process[_0x1ac983(0x2fb)](0x2)),_0x353834[_0x1ac983(0x37c)]===_0x1ac983(0x289)&&!_0x23a5ec[_0x1ac983(0x37c)]&&(_0x23a5ec['noComputerUse']=!0x0),_0x23a5ec['taskAutomation']&&(_0x23a5ec[_0x1ac983(0x2ec)]||_0x23a5ec[_0x1ac983(0x1ef)])&&(console[_0x1ac983(0x297)]('--task-automation\x20needs\x20computer\x20use:\x20the\x20task\x20log\x20is\x20written\x20by\x20the\x20UI-automation\x20tools.\x20'+(_0x353834['computerUse']===_0x1ac983(0x2cd)?_0x353834[_0x1ac983(0x1cf)]+'\x20runs\x20without\x20computer\x20use.':_0x353834[_0x1ac983(0x37c)]===_0x1ac983(0x289)?'Add\x20--computer-use.':'Drop\x20--headless\x20and\x20--no-computer-use.')),process['exit'](0x2)),_0x353834[_0x1ac983(0x38e)]!==void 0x0&&(_0x23a5ec['vertical']!==void 0x0&&_0x23a5ec[_0x1ac983(0x38e)][_0x1ac983(0x28b)]()!==_0x353834[_0x1ac983(0x38e)]&&(console['error'](_0x353834['bin']+_0x1ac983(0x2b3)+_0x353834['vertical']+_0x1ac983(0x271)+_0x23a5ec['vertical']+_0x1ac983(0x2ef)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x38e)]=_0x353834['vertical']),_0x23a5ec[_0x1ac983(0x2ac)]&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x2bd)&&(console[_0x1ac983(0x297)](_0x1ac983(0x2dd)+_0x23a5ec['product'][_0x1ac983(0x1cf)]+_0x1ac983(0x2c9)),process['exit'](0x2));let _0x1bfa30=[...cn,...(_0x353834[_0x1ac983(0x3d6)]??[])[_0x1ac983(0x202)](_0x4082da=>_0x4082da[_0x1ac983(0x331)])[_0x1ac983(0x28f)](_0x16ab18=>_0x16ab18[_0x1ac983(0x232)])];return _0x23a5ec[_0x1ac983(0x27e)]!==_0x1ac983(0x3a6)&&!_0x1bfa30['includes'](_0x23a5ec['subcommand'])&&(console['error'](_0x1ac983(0x309)+_0x23a5ec[_0x1ac983(0x27e)]+_0x1ac983(0x3f5)+_0x1bfa30['filter'](Boolean)[_0x1ac983(0x1f8)](',\x20')+'.'),process[_0x1ac983(0x2fb)](0x2)),(_0x23a5ec[_0x1ac983(0x3a3)]!==_0x1ac983(0x3a6)||_0x23a5ec[_0x1ac983(0x303)])&&_0x23a5ec['subcommand']!==''&&(console[_0x1ac983(0x297)](_0x1ac983(0x281)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x303)]&&_0x23a5ec[_0x1ac983(0x3a3)]!==_0x1ac983(0x20a)&&(console['error'](_0x1ac983(0x1eb)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x3a3)]===_0x1ac983(0x20a)&&_0x23a5ec['outputFormat']!==_0x1ac983(0x20a)&&(console[_0x1ac983(0x297)](_0x1ac983(0x226)),process['exit'](0x2)),(_0x23a5ec[_0x1ac983(0x2a3)]!==void 0x0||_0x23a5ec[_0x1ac983(0x2af)]!==void 0x0||_0x23a5ec[_0x1ac983(0x26e)])&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x3e6)&&(console[_0x1ac983(0x297)]('--page,\x20--limit\x20and\x20--include-subagents\x20apply\x20to\x20`'+_0x23a5ec['product']['bin']+'\x20sessions`\x20only.'),process[_0x1ac983(0x2fb)](0x2)),(_0x23a5ec[_0x1ac983(0x1cd)]!==void 0x0||_0x23a5ec[_0x1ac983(0x3fc)]!==void 0x0)&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x2ea)&&(console['error'](_0x1ac983(0x1fd)+_0x23a5ec[_0x1ac983(0x3c8)]['bin']+_0x1ac983(0x221)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec['turnId']!==void 0x0&&_0x23a5ec[_0x1ac983(0x341)]!==_0x1ac983(0x3e6)&&(console[_0x1ac983(0x297)](_0x1ac983(0x286)+_0x23a5ec[_0x1ac983(0x3c8)][_0x1ac983(0x1cf)]+'\x20sessions\x20cancel`\x20only.'),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec[_0x1ac983(0x1d5)]=[...new Set(_0x23a5ec['preloadSkills'])],_0x23a5ec[_0x1ac983(0x1ba)]=_0x16bd52,_0x23a5ec[_0x1ac983(0x356)]=_0x16bd52[_0x1ac983(0x1f8)]('\x20'),_0x23a5ec[_0x1ac983(0x3a3)]===_0x1ac983(0x20a)&&_0x23a5ec['prompt']!==''&&(console[_0x1ac983(0x297)](_0x1ac983(0x2cb)),process[_0x1ac983(0x2fb)](0x2)),_0x23a5ec;}function un(){const _0x28c2b0=_0x48ae38;let _0x1f30bb=process[_0x28c2b0(0x321)][_0x28c2b0(0x266)],_0x17ea95=_0x1f30bb['bind'](process[_0x28c2b0(0x321)]),_0x4a3d8b=O;return O=_0x46af1c=>{_0x17ea95(_0x46af1c);},process[_0x28c2b0(0x321)][_0x28c2b0(0x266)]=(..._0x182c70)=>process['stderr'][_0x28c2b0(0x266)](..._0x182c70),()=>{const _0x2ef524=_0x28c2b0;process[_0x2ef524(0x321)]['write']=_0x1f30bb,O=_0x4a3d8b;};}function m(_0x320ebe,_0x356c13,_0x1fdce4){const _0x1fcd78=_0x48ae38;if(_0x320ebe[_0x1fcd78(0x27e)]===_0x1fcd78(0x3a6)){_0x1fdce4(_0x356c13);return;}O(_0x25a3b9(_0x356c13));}function pn(_0x1addbb){const _0x532054=_0x48ae38;let _0x356326=_0x1addbb[_0x532054(0x1cf)],_0x42ce7c=_0x1addbb['help']?.[_0x532054(0x3d6)]?_0x1addbb['help'][_0x532054(0x3d6)]+'\x0a':'',_0x47780b=_0x1addbb[_0x532054(0x39c)]?.[_0x532054(0x201)]?_0x1addbb[_0x532054(0x39c)]['flags']+'\x0a':'',_0x28df14=_0x1addbb['help']?.['about']?'\x0a\x0a'+_0x1addbb['help'][_0x532054(0x350)]:'',_0x5621ba=('\x0a'+_0x356326+_0x532054(0x370)+_0x1addbb['title']+'\x0a\x0aUsage:\x0a\x20\x20'+_0x356326+_0x532054(0x3d9)+_0x356326+_0x532054(0x1ac)+_0x356326+_0x532054(0x2fc)+_0x356326+_0x532054(0x393)+_0x356326+_0x532054(0x2ca)+_0x356326+_0x532054(0x1d9)+_0x356326+'\x20login\x20[--env\x20NAME\x20|\x20--url\x20BASE]\x20[--tenant\x20NAME]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAuth\x20browser\x20login\x20→\x20~/.aria/sdk-auth.json.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env\x20or\x20--url\x20required\x20on\x20FIRST\x20login;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20afterwards\x20defaults\x20to\x20the\x20saved\x20login\x27s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deployment.\x20--tenant\x20picks\x20a\x20tenant\x20by\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name;\x20without\x20it\x20a\x20re-login\x20keeps\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20saved\x20tenant\x0a\x20\x20'+_0x356326+_0x532054(0x214)+_0x356326+_0x532054(0x225)+_0x356326+'\x20whoami\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20the\x20current\x20login\x20(org,\x20tenant,\x20token\x20expiry)\x0a\x20\x20'+_0x356326+_0x532054(0x24b)+_0x356326+_0x532054(0x3b9)+_0x356326+_0x532054(0x1f0)+_0x356326+_0x532054(0x290)+_0x356326+'\x20sessions\x20fork\x20ID\x20[MESSAGE]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Copy\x20session\x20ID\x20into\x20a\x20new\x20session,\x20up\x20to\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20including\x20message\x20MESSAGE\x20(default:\x20all\x20of\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20it);\x20continue\x20it\x20with\x20--session\x20NEW_ID\x0a\x20\x20'+_0x356326+_0x532054(0x37e)+_0x356326+'\x20check\x20[--env\x20NAME]\x20[--headless]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20auth,\x20backend\x20readiness,\x20backend\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20interop\x20without\x20sending\x20a\x20prompt;\x20exits\x201\x20when\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20any\x20check\x20fails\x0a\x20\x20'+_0x356326+_0x532054(0x2c3)+_0x356326+_0x532054(0x245)+_0x356326+_0x532054(0x3cd)+_0x356326+'\x20complete\x20--json-schema\x20FILE\x20[--model\x20ID]\x20[--session\x20ID]\x20\x22<prompt>\x22|-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20structured\x20completion,\x20no\x20agent\x20turn:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20print\x20the\x20JSON\x20object\x20matching\x20the\x20schema\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20in\x20FILE\x20(--output-format\x20json\x20prints\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{structured,\x20usage});\x20--session\x20adds\x20that\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20session\x27s\x20history\x20as\x20context.\x20Exits\x201\x20when\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20output\x20fails\x20the\x20schema\x20(422)\x20or\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20backend\x20rejects\x20the\x20request\x0a\x20\x20'+_0x356326+_0x532054(0x1b1)+_0x42ce7c+'\x20\x20'+_0x356326+_0x532054(0x3d2)+_0x356326+_0x532054(0x2c4)+_0x356326+_0x532054(0x21b)+_0x356326+_0x532054(0x2e9)+_0x356326+_0x532054(0x22e)+_0x356326+_0x532054(0x3ed)+_0x356326+_0x532054(0x21c)+_0x356326+_0x532054(0x1a5)+_0x356326+_0x532054(0x231)+_0x356326+_0x532054(0x318)+_0x356326+_0x532054(0x2de)+_0x356326+_0x532054(0x1c7)+_0x356326+_0x532054(0x3a9)+_0x356326+_0x532054(0x302)+_0x356326+_0x532054(0x208)+_0x47780b+'\x20\x20-h,\x20--help\x20\x20\x20\x20\x20\x20\x20\x20Show\x20this\x20help\x0a\x20\x20-v,\x20--version\x20\x20\x20\x20\x20Print\x20the\x20installed\x20CLI\x20version\x0a\x0aConversation:\x20Enter\x20sends\x20a\x20message;\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a\x20\x20Ctrl+C\x20during\x20a\x20turn\x20cancels\x20it\x20on\x20the\x20backend\x20too;\x20a\x20second\x20Ctrl+C\x20force-exits.\x0a\x20\x20An\x20optional\x20initial\x20prompt\x20is\x20followed\x20by\x20more\x20input.\x20The\x20session\x20ID\x20is\x20printed\x0a\x20\x20to\x20stderr;\x20resume\x20later\x20with\x20--session\x20ID.\x20Redirected\x20input\x20is\x20one\x20prompt.\x0aAuth:\x20prompts\x20auto-retry\x20on\x20401\x20by\x20opening\x20the\x20browser\x20to\x20re-login\x20(TTY\x20only),\x0a\x20\x20preserving\x20the\x20active\x20session.'+_0x28df14+'\x0a')[_0x532054(0x28b)]();console[_0x532054(0x304)](mn(_0x5621ba));}function mn(_0x187115){const _0x191855=_0x48ae38;return _0x187115[_0x191855(0x230)]('\x0a')[_0x191855(0x28f)](_0xb4ce1a=>{const _0x141229=_0x191855;let _0x25d09e=/^( \S.*?\S)( {2,})(\S.*)$/[_0x141229(0x213)](_0xb4ce1a);return!_0x25d09e||_0x25d09e[0x1][_0x141229(0x2f8)]+_0x25d09e[0x2][_0x141229(0x2f8)]<=ye?_0xb4ce1a:_0x25d09e[0x1]+'\x20'[_0x141229(0x359)](Math[_0x141229(0x338)](0x2,ye-_0x25d09e[0x1][_0x141229(0x2f8)]))+_0x25d09e[0x3];})['join']('\x0a');}function fn(){const _0x1ee590=_0x48ae38;try{return JSON[_0x1ee590(0x209)](_0x3d1a15['readFileSync'](_0x57117c[_0x1ee590(0x1f8)](__dirname,'..',_0x1ee590(0x3e9)),_0x1ee590(0x1f5)))[_0x1ee590(0x2c7)]||_0x1ee590(0x2eb);}catch{return _0x1ee590(0x2eb);}}async function we(_0xf2554e,_0x295502){const _0x212f1d=_0x48ae38;let _0x3bb0d3=_0x295502?[_0x295502]:[];for await(let _0x5f0cac of _0xf2554e)_0x3bb0d3[_0x212f1d(0x337)](Buffer[_0x212f1d(0x3fd)](_0x5f0cac));return Buffer['concat'](_0x3bb0d3)['toString'](_0x212f1d(0x1f5))[_0x212f1d(0x28b)]();}function hn(_0x40ad05,_0x4b3fc1){return new Promise(_0x43aac0=>{const _0x4317a5=_0x4cd9;let _0x9d0768=_0x39d0d2=>{const _0x4d8277=_0x4cd9;clearTimeout(_0x5b1392),_0x40ad05[_0x4d8277(0x3ac)](_0x4d8277(0x1c3),_0x36547e),_0x40ad05[_0x4d8277(0x3ac)](_0x4d8277(0x36b),_0x6b3662),_0x40ad05[_0x4d8277(0x3ac)]('error',_0x6b3662),_0x40ad05[_0x4d8277(0x24e)](),_0x43aac0(_0x39d0d2);},_0x36547e=_0x7c9aa1=>_0x9d0768(Buffer[_0x4317a5(0x3fd)](_0x7c9aa1)),_0x6b3662=()=>_0x9d0768(null),_0x5b1392=setTimeout(()=>_0x9d0768(null),_0x4b3fc1);_0x40ad05['on'](_0x4317a5(0x1c3),_0x36547e),_0x40ad05['on'](_0x4317a5(0x36b),_0x6b3662),_0x40ad05['on']('error',_0x6b3662),_0x40ad05[_0x4317a5(0x385)]();});}async function H(_0x3c7ff4,_0x89ec5a,_0x36a0e0=gn){const _0x534fd1=_0x48ae38;let _0x4aa54c=_0x3c7ff4==='-';if(!_0x4aa54c&&_0x3c7ff4)return _0x3c7ff4;if(!_0x4aa54c&&_0x89ec5a[_0x534fd1(0x1bb)])return'';if(_0x4aa54c)return we(_0x89ec5a,null);let _0x1d89c1=await hn(_0x89ec5a,_0x36a0e0);return _0x1d89c1?we(_0x89ec5a,_0x1d89c1):'';}function V(){const _0xd35f25=_0x48ae38;return _0x57117c[_0xd35f25(0x1f8)](process.env.HOME||process.env.USERPROFILE||'',_0xd35f25(0x1ec),_0xd35f25(0x3b7));}function G(_0x576336){const _0x2a03e9=_0x48ae38;try{let _0x5b130f=JSON[_0x2a03e9(0x209)](_0x3d1a15[_0x2a03e9(0x296)](_0x576336,'utf-8'));return!_0x5b130f['accessToken']||!_0x5b130f[_0x2a03e9(0x3de)]||!_0x5b130f[_0x2a03e9(0x35b)]?null:_0x5b130f;}catch{return null;}}function yn(){let _0x1016f7=[{'file':_0x4b2d2c(),'isDesktopFallback':!0x1},{'file':V(),'isDesktopFallback':!0x0}];for(let _0x3a5467 of _0x1016f7){let _0x56a6fc=G(_0x3a5467['file']);if(_0x56a6fc)return{..._0x3a5467,'auth':_0x56a6fc};}return null;}async function wn(){const _0x5e8fcd=_0x48ae38;let _0x19fb7b=_0x4b2d2c();if(!_0x3d1a15[_0x5e8fcd(0x1e8)](_0x19fb7b)){let _0x382225=V();console[_0x5e8fcd(0x304)](G(_0x382225)?_0x5e8fcd(0x2a2)+_0x382225+_0x5e8fcd(0x3c1):_0x5e8fcd(0x30a));return;}_0x3d1a15['rmSync'](_0x19fb7b),console[_0x5e8fcd(0x304)]('Removed\x20'+_0x19fb7b);}async function bn(_0x5ad57b){const _0xc5e860=_0x48ae38;let _0xc7ab46=Y(),_0x28781c,_0x4f9e1f;if(_0xc7ab46)_0x28781c=_0xc7ab46,_0x4f9e1f=_0xc5e860(0x34f);else{let _0x430dff=yn();if(!_0x430dff)throw new Error(Pe(_0x5ad57b[_0xc5e860(0x3c8)]['bin']));_0x28781c=_0x430dff['auth'],_0x4f9e1f=_0x430dff['isDesktopFallback']?_0x430dff[_0xc5e860(0x3f9)]+_0xc5e860(0x387):_0x430dff[_0xc5e860(0x3f9)];}let _0x208417={'source':_0x4f9e1f,'baseUrl':_0x28781c['baseUrl']??null,'deployment':kn(_0x28781c['baseUrl']),'organization':{'id':_0x28781c[_0xc5e860(0x35b)],'slug':_0x28781c[_0xc5e860(0x3ee)]??null},'tenant':{'id':_0x28781c[_0xc5e860(0x3de)],'name':_0x28781c['tenantName']??null},'tokenExpiresAt':_0x28781c[_0xc5e860(0x26f)]?new Date(_0x28781c[_0xc5e860(0x26f)]*0x3e8)[_0xc5e860(0x404)]():null};m(_0x5ad57b,_0x208417,()=>{const _0x1ccb2c=_0xc5e860;let _0x1778a2=[_0x1ccb2c(0x3d3)+_0x4f9e1f,_0x1ccb2c(0x382)+(_0x28781c['baseUrl']??_0x1ccb2c(0x2eb)),_0x1ccb2c(0x2b7)+_0x208417[_0x1ccb2c(0x3e3)],'Organization:\x20'+(_0x28781c[_0x1ccb2c(0x3ee)]??_0x1ccb2c(0x254))+'\x20('+_0x28781c[_0x1ccb2c(0x35b)]+')',_0x1ccb2c(0x1f2)+(_0x28781c['tenantName']??_0x1ccb2c(0x254))+'\x20('+_0x28781c[_0x1ccb2c(0x3de)]+')'];if(_0x28781c['expiresAt']){let _0x733aaa=_0x28781c[_0x1ccb2c(0x26f)]-Math[_0x1ccb2c(0x246)](Date[_0x1ccb2c(0x2ce)]()/0x3e8);_0x1778a2['push'](_0x733aaa>0x0?'Token:\x20\x20\x20\x20\x20\x20\x20\x20expires\x20'+_0x208417[_0x1ccb2c(0x23d)]+_0x1ccb2c(0x1d4)+Math[_0x1ccb2c(0x280)](_0x733aaa/0x3c)+_0x1ccb2c(0x2e0):'Token:\x20\x20\x20\x20\x20\x20\x20\x20expired\x20'+_0x208417[_0x1ccb2c(0x23d)]);}process[_0x1ccb2c(0x321)][_0x1ccb2c(0x266)](_0x1778a2['join']('\x0a')+'\x0a');});}function Pe(_0x66ec10){const _0x40da3c=_0x48ae38;return _0x40da3c(0x38c)+_0x66ec10+_0x40da3c(0x1aa);}function kn(_0x933458){const _0x5d821f=_0x48ae38;return _0x933458?_0x3c6031(_0x933458)?'UiPath\x20Cloud':'self-hosted\x20(Automation\x20Suite\x20/\x20Dedicated)':_0x5d821f(0x2eb);}function Y(){let _0x4838a1=process.env.AUTH_TOKEN_FILE;return(process.env.AUTH_TOKEN||_0x4838a1)&&process.env.TENANT_ID&&process.env.ORG_ID?{'accessToken':_0x4838a1?vn(_0x4838a1):process.env.AUTH_TOKEN,..._0x4838a1?{'accessTokenFile':_0x4838a1}:{},'tenantId':process.env.TENANT_ID,'organizationId':process.env.ORG_ID,'orgLogicalName':process.env.ORG_SLUG,'tenantName':process.env.TENANT_SLUG,'baseUrl':Re()}:null;}function vn(_0x234d00){const _0xd40bc5=_0x48ae38;let _0x168977;try{_0x168977=_0x3d1a15[_0xd40bc5(0x296)](_0x234d00,'utf-8')[_0xd40bc5(0x28b)]();}catch(_0x2b4720){throw new Error(_0xd40bc5(0x3ff)+_0x234d00+'\x27\x20cannot\x20be\x20read:\x20'+_0x2b4720[_0xd40bc5(0x2a8)]);}let _0x594d12=_0x168977[_0xd40bc5(0x2f3)](_0xd40bc5(0x30f))?_0x168977['slice'](0x7)['trim']():_0x168977;if(!_0x594d12)throw new Error(_0xd40bc5(0x3ff)+_0x234d00+_0xd40bc5(0x3fb));return _0x594d12;}function Re(){const _0x116380=_0x48ae38;let _0x22d383=process.env.UIPATH_BASE_URL;if(!_0x22d383)return;let _0x19ae32=_0x52631b(_0x22d383);if(_0x19ae32['ok']===!0x1)throw new Error(_0x116380(0x3c7)+_0x39bce3(_0x22d383,_0x19ae32[_0x116380(0x252)]));return _0x19ae32['baseUrl'];}async function X(_0x4b5375){let _0x538643=Y();if(_0x538643)return _0x538643;let _0x559ad0=await _0x482c58();if(_0x559ad0)return _0x559ad0;throw new Error(Pe(_0x4b5375));}async function $n(){const _0x4ac45b=_0x48ae38;await new _0x3a158a()[_0x4ac45b(0x328)]({'force':!0x0}),console[_0x4ac45b(0x304)]('Interop\x20stopped\x20(if\x20it\x20was\x20running).');}function Z(_0x394b3a,_0x2f190c,_0x2aa81f){const _0x579026=_0x48ae38;_0x394b3a?process[_0x579026(0x1f9)][_0x579026(0x266)](_0x579026(0x1a4)+_0x394b3a+_0x579026(0x312)+_0x2aa81f+'\x0a'):!_0x2f190c&&!process.env.BACKEND_URL&&process[_0x579026(0x1f9)][_0x579026(0x266)](_0x579026(0x23c)+_0x2aa81f+'\x0a');}async function x(_0x29692e){const _0x2b2606=_0x48ae38;let _0x2452a2=await X(_0x29692e['product'][_0x2b2606(0x1cf)]),_0x54003a=_0x4d9c2c(_0x29692e[_0x2b2606(0x339)],_0x2452a2,_0x29692e[_0x2b2606(0x39d)]);return Z(_0x29692e['env'],_0x29692e[_0x2b2606(0x39d)],_0x54003a),{'auth':_0x2452a2,'backendUrl':_0x54003a,'client':_0x124b64({'auth':_0x2452a2,'backendUrl':_0x54003a})};}async function Sn(_0x30beef){const _0x589fb1=_0x48ae38;let {client:_0x2a4b67}=await x(_0x30beef),[_0x218d50,_0x4bd3ab]=await Promise[_0x589fb1(0x3f2)]([_0x5790f9(_0x2a4b67),_0x1bded9(_0x2a4b67)['catch'](_0x138077=>(process[_0x589fb1(0x1f9)][_0x589fb1(0x266)]('Could\x20not\x20check\x20BYO\x20model\x20warnings:\x20'+(_0x138077 instanceof Error?_0x138077[_0x589fb1(0x2a8)]:String(_0x138077))+'\x0a'),{}))]),_0x307492=_0x218d50[_0x589fb1(0x28f)](_0x1bf3c2=>_0x4bd3ab[_0x1bf3c2['id']]?{..._0x1bf3c2,'byoWarning':_0x4bd3ab[_0x1bf3c2['id']]}:_0x1bf3c2);m(_0x30beef,_0x307492,_0x4f3ef2=>An(_0x4f3ef2,_0x30beef['product']['bin']));}function An(_0x1180be,_0x45b6dc){const _0x11a3f5=_0x48ae38;if(_0x1180be[_0x11a3f5(0x2f8)]===0x0){process[_0x11a3f5(0x1f9)][_0x11a3f5(0x266)](_0x11a3f5(0x305));return;}process[_0x11a3f5(0x321)][_0x11a3f5(0x266)](_0x11a3f5(0x369)+_0x1180be[_0x11a3f5(0x2f8)]+_0x11a3f5(0x372));for(let _0x26e90a of _0x1180be){let _0x4bfed0=_0x26e90a['name']&&_0x26e90a[_0x11a3f5(0x232)]!==_0x26e90a['id']?'\x20('+_0x26e90a[_0x11a3f5(0x232)]+')':'';process[_0x11a3f5(0x321)][_0x11a3f5(0x266)]('\x20\x20'+_0x26e90a['id']+_0x4bfed0+'\x0a'),_0x26e90a[_0x11a3f5(0x332)]&&process['stdout'][_0x11a3f5(0x266)](_0x11a3f5(0x3a7)+_0x26e90a[_0x11a3f5(0x332)]+'\x0a'),_0x26e90a[_0x11a3f5(0x348)]&&process['stdout'][_0x11a3f5(0x266)](_0x11a3f5(0x29b)+(_0x26e90a[_0x11a3f5(0x220)]?'\x20('+_0x26e90a[_0x11a3f5(0x220)]+')':'')+'\x0a'),_0x26e90a[_0x11a3f5(0x28c)]&&process[_0x11a3f5(0x321)]['write'](_0x11a3f5(0x253)+_0x26e90a[_0x11a3f5(0x28c)]+'\x0a');}process[_0x11a3f5(0x321)][_0x11a3f5(0x266)](_0x11a3f5(0x395)+_0x45b6dc+_0x11a3f5(0x218));}async function xn(_0x17c29a){const _0x679d63=_0x48ae38;let [_0xbc0872='',_0x1cbd1e='',..._0x5bf4a5]=_0x17c29a[_0x679d63(0x1ba)];if(_0xbc0872&&!be[_0x679d63(0x2d2)](_0xbc0872)&&(console[_0x679d63(0x297)](_0x679d63(0x239)+_0xbc0872+_0x679d63(0x30b)+be[_0x679d63(0x1f8)](_0x679d63(0x323))+'.'),process['exit'](0x2)),_0x17c29a['turnId']!==void 0x0&&_0xbc0872!==_0x679d63(0x335)&&(console['error'](_0x679d63(0x286)+_0x17c29a[_0x679d63(0x3c8)][_0x679d63(0x1cf)]+'\x20sessions\x20cancel`\x20only.'),process['exit'](0x2)),_0xbc0872&&_0xbc0872!==_0x679d63(0x364)){await En(_0x17c29a,_0xbc0872,_0x1cbd1e,_0x5bf4a5['join']('\x20')[_0x679d63(0x28b)]());return;}_0x17c29a[_0x679d63(0x1ba)][_0x679d63(0x2f8)]>0x1&&(console[_0x679d63(0x297)](_0x679d63(0x2da)+_0x17c29a['product']['bin']+_0x679d63(0x29c)),process[_0x679d63(0x2fb)](0x2));let {client:_0x1ba7b9}=await x(_0x17c29a),_0x3e1551=await _0x175086(_0x1ba7b9,{'page':_0x17c29a['page'],'pageSize':_0x17c29a[_0x679d63(0x2af)],'includeSubAgents':_0x17c29a[_0x679d63(0x26e)]});m(_0x17c29a,_0x3e1551,_0x4aee11=>Dn(_0x4aee11,_0x17c29a['product'][_0x679d63(0x1cf)]));}async function En(_0x198d2b,_0x275ee1,_0x39ffdc,_0x3e577f){const _0x46c7ce=_0x48ae38;if((_0x198d2b[_0x46c7ce(0x2a3)]!==void 0x0||_0x198d2b[_0x46c7ce(0x2af)]!==void 0x0||_0x198d2b[_0x46c7ce(0x26e)])&&(console[_0x46c7ce(0x297)](_0x46c7ce(0x3c3)+_0x198d2b['product'][_0x46c7ce(0x1cf)]+'\x20sessions\x20[list]`\x20only.'),process[_0x46c7ce(0x2fb)](0x2)),_0x275ee1===_0x46c7ce(0x335)){await Tn(_0x198d2b,_0x39ffdc,_0x3e577f);return;}if(_0x275ee1===_0x46c7ce(0x3c9)){await Un(_0x198d2b,_0x39ffdc,_0x3e577f);return;}(!_0x39ffdc||_0x275ee1==='rename'!=!!_0x3e577f)&&(console['error'](_0x46c7ce(0x2da)+_0x198d2b[_0x46c7ce(0x3c8)][_0x46c7ce(0x1cf)]+_0x46c7ce(0x2e3)+_0x275ee1+_0x46c7ce(0x27a)+(_0x275ee1===_0x46c7ce(0x1c9)?_0x46c7ce(0x34e):'')),process[_0x46c7ce(0x2fb)](0x2));let {client:_0x1a569b}=await x(_0x198d2b);try{if(_0x275ee1===_0x46c7ce(0x362)){let _0xe585bf=await _0x3227e1(_0x1a569b,_0x39ffdc);_0xe585bf||ke(_0x39ffdc),m(_0x198d2b,_0xe585bf,In);}else{if(_0x275ee1==='rename'){let _0x5eee20=await _0x47a6df(_0x1a569b,_0x39ffdc,_0x3e577f);m(_0x198d2b,_0x5eee20,_0x8dc72c=>{const _0x3ea042=_0x46c7ce;process[_0x3ea042(0x321)][_0x3ea042(0x266)]('Renamed\x20'+_0x8dc72c['id']+':\x20'+_0x8dc72c[_0x3ea042(0x34d)]+'\x0a');});}else await _0x52375d(_0x1a569b,_0x39ffdc),await _0x26d1d7(_0x39ffdc,_0x198d2b[_0x46c7ce(0x1bc)]),m(_0x198d2b,{'id':_0x39ffdc,'deleted':!0x0},_0x5c331f=>{const _0x525eb0=_0x46c7ce;process[_0x525eb0(0x321)][_0x525eb0(0x266)]('Deleted\x20session\x20'+_0x5c331f['id']+'.\x0a');});}}catch(_0x30c240){if(!_0x1ed541(_0x30c240,0x194))throw _0x30c240;ke(_0x39ffdc);}}function ke(_0x20b06f){const _0xc01316=_0x48ae38;console[_0xc01316(0x297)](_0xc01316(0x2ae)+_0x20b06f+_0xc01316(0x1a6)),process[_0xc01316(0x2fb)](0x1);}function _0x5d15(){const _0x31bb05=['padEnd','total_cost_usd','A\x20steering\x20message\x20was\x20not\x20sent:\x20','--attach\x20applies\x20to\x20prompts\x20only.','\x20\x20TITLE\x0a','inputFormat','20960iUeYil','a\x20turn\x20id','text','\x20\x20\x20\x20','type','\x20login).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localhost\x20→\x20http://localhost:5002.\x20No\x20saved\x20login\x20and\x20no\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env/--backend/BACKEND_URL\x20is\x20an\x20error\x20—\x20never\x20a\x20guess.\x0a\x20\x20--url\x20BASE\x20\x20\x20\x20\x20\x20\x20\x20(login)\x20Base\x20URL\x20of\x20a\x20deployment\x20that\x20is\x20not\x20a\x20named\x20cloud\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20—\x20Automation\x20Suite,\x20Dedicated,\x20Public\x20Sector.\x20Accepts\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tenant\x20path\x20or\x20a\x20trailing\x20/identity_\x20and\x20reduces\x20it\x20to\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20origin.\x20Mutually\x20exclusive\x20with\x20--env;\x20also\x20settable\x20via\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UIPATH_BASE_URL.\x20Alias:\x20--authority.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automation\x20Suite\x20needs\x2026.10+\x20with\x20the\x20Delegate\x20service;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20the\x20deployment\x20rejects\x20the\x20built-in\x20client,\x20register\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20your\x20own\x20—\x20see\x20UIPATH_CLIENT_ID\x20in\x20the\x20README\x0a\x20\x20--skip-env-check\x20\x20(login)\x20Do\x20not\x20check\x20the\x20deployment\x20before\x20signing\x20in.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Escape\x20hatch\x20for\x20a\x20deployment\x20that\x20hides\x20its\x20OIDC\x20discovery\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20document\x20or\x20serves\x20Identity\x20from\x20another\x20origin;\x20it\x20also\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gives\x20up\x20the\x20diagnosis\x20when\x20something\x20is\x20really\x20wrong\x0a\x20\x20--backend\x20URL\x20\x20\x20\x20\x20Full\x20backend\x20URL\x20—\x20escape\x20hatch\x20overrides\x20--env\x0a\x20\x20--tenant\x20NAME\x20\x20\x20\x20\x20(login)\x20Tenant\x20to\x20sign\x20into,\x20by\x20name\x20(case-insensitive).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20saved\x20login\x27s\x20tenant\x20on\x20that\x20cloud,\x20else\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20org\x27s\x20first\x20tenant.\x20Later:\x20','2303058FtNage','pending','off','xhigh','updatedAt','\x20login\x20--env\x20<alpha|staging|production>`\x20first.','getSessionId','\x20\x20(sub-agent\x20of\x20','toolName','\x20is\x20not\x20valid\x20JSON\x20(','jsonSchemaPath','an\x20input\x20line\x20is\x20not\x20a\x20JSON\x20object','initialize','auth.json','There\x20is\x20no\x20terminal\x20input\x20to\x20answer\x20from.','\x20sessions\x20[list]\x20[--page\x20N]\x20[--limit\x20N]\x20[--include-subagents]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20your\x20backend\x20chat\x20sessions,\x20most\x20recently\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20active\x20first\x20(resume\x20one\x20with\x20--session\x20ID)\x0a\x20\x20','finish','noMemory','a\x20file\x20path','total_completion_tokens','deepLink','structuredError','thinking','\x20—\x20sign\x20out\x20in\x20the\x20Delegate\x20app\x20to\x20clear\x20that.','No\x20sessions\x20on\x20page\x20','--page,\x20--limit\x20and\x20--include-subagents\x20apply\x20to\x20`','tool','answers','effort','UIPATH_BASE_URL\x20is\x20unusable.\x20','product','fork','accept','No\x20structured\x20output:\x20the\x20turn\x20failed\x20(','a\x20directory\x20path','\x20evaluate|rerank|verify\x20FILE|-\x20[--model\x20ID]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stateless\x20typed\x20judgments:\x20send\x20the\x20JSON\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20request\x20in\x20FILE\x20(or\x20stdin\x20with\x20-)\x20to\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/v1/completions/<command>\x20and\x20print\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20answers;\x20--model\x20overrides\x20its\x20\x22model\x22.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Exits\x201\x20when\x20the\x20backend\x20rejects\x20it\x0a\x20\x20','\x20<file.json>,\x20or\x20-\x20to\x20read\x20stdin.','items','\x20sessions\x20fork\x20<id>\x20[<message-id>]','\x20\x20from\x20','\x20org-users\x20QUERY\x20\x20\x20\x20\x20\x20\x20\x20\x20Search\x20your\x20organization\x27s\x20users\x20by\x20name\x20or\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20email\x20prefix\x20(2-100\x20characters)\x0a\x20\x20','Source:\x20\x20\x20\x20\x20\x20\x20','alpha','Delegation\x20\x20\x20\x20','commands','turnId','Invalid\x20--env:\x20','\x20[flags]\x20[\x22<prompt>\x22]\x20\x20\x20\x20Start\x20a\x20conversation\x20in\x20a\x20terminal\x0a\x20\x20','attachments','\x20(stdin\x20was\x20empty)','--summary','--url','tenantId','--input-format','daily_usage','a\x20skill\x20name','8080828WFumoR','deployment','model_version','\x20delegations\x20accept\x20<id>\x0a','sessions','refused','\x20PU','package.json','an\x20email\x20address\x20or\x20name','toFixed','limit_enabled','\x20delegations\x20show|claim\x20ID|LINK\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Read\x20a\x20delegation\x20assigned\x20to\x20you\x20(or\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20delegate://delegation/…\x20link),\x20or\x20claim\x20it:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20prints\x20the\x20session\x20to\x20work\x20it\x20in\x0a\x20\x20','orgLogicalName','isArray','\x20usage`,\x20`usage\x20activity`\x20or\x20`usage\x20daily`.','whoami','all',':\x20bucket\x20number\x20(Enter\x20to\x20leave\x20out):\x20','--no-memory','\x20applies\x20to\x20prompts\x20and\x20to\x20these\x20commands\x20only:\x20','a\x20project\x20id','1774DkgMCr','medium','file','--tenant\x20applies\x20to\x20`','\x27\x20is\x20empty.','contextSummary','from','1926975FGSEOk','AUTH_TOKEN_FILE\x20\x27','exports','--task-automation','--interop','✓\x20Done\x0a','toISOString','[env=','\x20host\x20[flags]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20this\x20PC\x20as\x20a\x20remote\x20worker\x20until\x20Ctrl+C\x0a\x20\x20','\x20not\x20found.','Structured\x20output\x20failed:\x20','\x20complete\x20--json-schema\x20schema.json\x20\x22<prompt>\x22,\x20or\x20-\x20to\x20read\x20stdin.','stack','\x20login\x20--env\x20<alpha|staging|production>`\x20(or\x20`--url\x20<deployment-url>`\x20for\x20Automation\x20Suite)\x20first.','No\x20one\x20matches\x20\x22','\x20--print\x20\x22<prompt>\x22\x20\x20\x20\x20\x20\x20Send\x20one\x20prompt,\x20print\x20the\x20response,\x20and\x20exit\x0a\x20\x20','Licensing:\x20\x20\x20\x20no\x20licensing\x20quota\x20applies','an\x20effort\x20tier','confidence','\x20--turn\x20','\x20transcribe\x20FILE|-\x20\x20\x20\x20\x20\x20\x20Speech-to-text:\x20print\x20the\x20text\x20of\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20audio\x20in\x20FILE,\x20or\x20on\x20stdin\x20with\x20-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mp3,\x20mp4,\x20mpeg,\x20mpga,\x20m4a,\x20wav\x20or\x20webm,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20up\x20to\x2014\x20MB.\x20Exits\x202\x20when\x20the\x20audio\x20is\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20refused\x20locally,\x201\x20when\x20the\x20backend\x20rejects\x20it\x0a','getTurnUsageHistory','a\x20colleague','More:\x20','transcribe\x20needs\x20audio:\x20','Accepted','structured','from\x20','--turn','operands','isTTY','workingDirectory','kind','423YpKOcR','lastType','delegations\x20show\x20<delegation-id|delegate://delegation/…>','an\x20input\x20line\x20has\x20an\x20empty\x20message','delegations\x20delete\x20<delegation-id>','data','Work\x20on\x20it\x20with:\x20','\x20login\x20--env\x20<env>`\x20for\x20a\x20CLI\x20login\x20of\x20your\x20own.','options','\x20--cleanup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x20running\x20interop\x0a\x0aFlags:\x0a\x20\x20-p,\x20--print\x20\x20\x20\x20\x20\x20\x20Run\x20one\x20turn\x20and\x20exit,\x20including\x20any\x20tool\x20execution.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automatic\x20when\x20stdin\x20or\x20stdout\x20is\x20not\x20a\x20terminal,\x20or\x20with\x20-\x0a\x20\x20--env\x20NAME\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Composes\x20backend\x20URL\x20from\x20saved\x20auth\x20(org/tenant\x20slugs).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Omitted\x20→\x20the\x20deployment\x20you\x20logged\x20into\x20(','bundledSkillsPath','rename','print','close','tool_call','delegateTo','pendingResults','bin','an\x20input\x20line\x20has\x20type\x20','a\x20vertical\x20id',').\x0a','spawn','\x20(in\x20','preloadSkills','22818140kskkml','\x20(estimated\x20$','--days\x20applies\x20to\x20`','\x20--attach\x20PATH\x20[--attach\x20PATH\x20...]\x20\x22<prompt>\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20files\x20or\x20folders\x20with\x20the\x20first\x20message\x0a\x20\x20','🔧\x20','turn_start','period_end','\x20transcribe\x20<file>,\x20or\x20-\x20to\x20read\x20stdin.','\x20usage`\x20summary\x20only.','isFinite','some','The\x20saved\x20CLI\x20login\x20could\x20not\x20be\x20refreshed.\x20Run\x20`','score\x20','interopPath','\x20from\x20',':\x20ignored\x0a','Input\x20closed\x20before\x20the\x20question\x20was\x20answered.','total_prompt_tokens','existsSync','email','baseUrl','--replay-user-messages\x20needs\x20--input-format\x20stream-json.','.aria','--skip-env-check','tenantName','noComputerUse','\x20sessions\x20show|delete\x20ID\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20one\x20session\x27s\x20title\x20and\x20owner,\x20or\x20delete\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20it\x20with\x20its\x20messages\x20and\x20sub-agents\x20(no\x20prompt)\x0a\x20\x20','waitForIdle','Tenant:\x20\x20\x20\x20\x20\x20\x20','check','--working-dir','utf-8','--page','Unknown\x20delegations\x20action:\x20','join','stderr','commandFlags','UPDATED','stringify','--to\x20and\x20--summary\x20apply\x20to\x20`','--to,\x20--summary\x20and\x20--session\x20apply\x20to\x20`','projectId','period_days','flags','filter',':\x20cannot\x20read\x20the\x20request\x20(','\x20token\x20units','content','\x20of\x20a\x20$','isSafeInteger','\x20models)\x20before\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20run\x20starts;\x20an\x20unknown\x20id\x20fails\x20and\x20lists\x20the\x20valid\x20ones.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20gpt_5_6_luna.\x20Also\x20settable\x20via\x20MODEL\x20env\x20var.\x0a\x20\x20--keep-alive\x20\x20\x20\x20\x20\x20Reuse/leave\x20interop\x20running\x20across\x20invocations\x0a\x20\x20--headless\x20\x20\x20\x20\x20\x20\x20\x20Skip\x20interop\x20(text-only\x20prompts)\x0a\x20\x20--no-computer-use\x20Keep\x20interop\x20—\x20file,\x20Office,\x20PDF\x20and\x20shell\x20tools\x20keep\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20working\x20—\x20but\x20drop\x20the\x20screen:\x20no\x20screenshots,\x20no\x20window\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list,\x20no\x20UI-automation\x20tools.\x20Cuts\x20image\x20tokens\x20and\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20per-turn\x20screen\x20capture,\x20and\x20stops\x20desktop\x20window\x20titles\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20leaving\x20the\x20machine.\x20Use\x20for\x20document\x20and\x20file\x20work.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--headless\x20implies\x20this\x20and\x20turns\x20interop\x20off\x20as\x20well\x0a\x20\x20--no-connections\x20\x20Disable\x20orchestrator\x20ConnectionService\x20(silences\x20404\x20warnings)\x0a\x20\x20--no-security\x20\x20\x20\x20\x20Disable\x20tool\x20security\x20wrapper\x20(use\x20only\x20for\x20debugging)\x0a\x20\x20--no-memory\x20\x20\x20\x20\x20\x20\x20Do\x20not\x20send\x20the\x20Delegate\x20app\x27s\x20local\x20long-term\x20memories\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20with\x20each\x20turn,\x20and\x20do\x20not\x20ask\x20the\x20model\x20to\x20save\x20new\x20ones\x0a\x20\x20--task-automation\x20Record\x20every\x20UI\x20action\x20of\x20the\x20run,\x20with\x20the\x20selector\x20of\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20it\x20acted\x20on,\x20to\x20<working-dir>/captures/<session>/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(~/.aria-sdk\x20without\x20--working-dir),\x20so\x20you\x20can\x20then\x20ask\x20for\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20task\x20as\x20a\x20UiPath\x20coded\x20workflow\x20(uipath-taskautomation\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skill).\x20The\x20log\x20holds\x20on-screen\x20text\x20and\x20your\x20requests;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20typed\x20values\x20are\x20masked.\x20Needs\x20computer\x20use.\x20Ignored\x20with\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20warning\x20where\x20the\x20deployment\x20does\x20not\x20offer\x20it\x20yet\x0a\x20\x20--attach\x20PATH\x20\x20\x20\x20\x20File\x20or\x20folder\x20sent\x20with\x20the\x20first\x20message\x20(repeatable),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20as\x20the\x20Delegate\x20app\x20sends\x20attached\x20files:\x20images\x20inline,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PDFs\x20and\x20other\x20documents\x20as\x20a\x20path\x20the\x20agent\x20reads,\x20text\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20inline\x20up\x20to\x2016,000\x20characters.\x2030\x20MiB\x20per\x20message\x20in\x20all;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20larger\x20files\x20go\x20as\x20a\x20path.\x20In\x20a\x20conversation,\x20later\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messages\x20carry\x20none\x20of\x20their\x20own,\x20but\x20the\x20first\x20message\x27s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stay\x20in\x20context\x0a\x20\x20--preload-skill\x20NAME\x20\x20Preload\x20a\x20skill\x20into\x20the\x20session\x20(repeatable).\x20The\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skill\x27s\x20content\x20is\x20attached\x20before\x20the\x20first\x20model\x20turn\x20—\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20same\x20mechanism\x20as\x20project\x20preloaded\x20skills\x20in\x20the\x20app\x0a\x20\x20--project\x20ID\x20\x20\x20\x20\x20\x20Route\x20the\x20session\x27s\x20local\x20wiki\x20and\x20plans\x20to\x20a\x20project\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(<working-dir>/projects/<ID>/wiki).\x20Client-side\x20key\x20only\x0a\x20\x20--vertical\x20ID\x20\x20\x20\x20\x20Run\x20the\x20session\x20as\x20that\x20product\x27s\x20vertical,\x20as\x20its\x20tab\x20in\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20desktop\x20app\x20does,\x20with\x20no\x20desktop\x20app\x20installed.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20none\x0a\x20\x20--working-dir\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Shell\x20cwd\x20for\x20the\x20agent\x20and\x20root\x20for\x20SDK-local\x20state.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Relative\x20paths\x20resolve\x20against\x20the\x20current\x20directory;\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20directory\x20is\x20created\x20if\x20missing\x0a\x20\x20--skills-path\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Folder\x20of\x20custom\x20skills,\x20loaded\x20on\x20top\x20of\x20the\x20skills\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20package\x20ships;\x20wins\x20on\x20a\x20name\x20clash\x20(also:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELEGATE_BUNDLED_SKILLS_PATH)\x0a\x20\x20--effort\x20TIER\x20\x20\x20\x20\x20Reasoning\x20effort:\x20low\x20|\x20medium\x20|\x20high\x20|\x20xhigh\x20|\x20max.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20model\x27s\x20recommended\x20tier\x0a\x20\x20--session\x20ID\x20\x20\x20\x20\x20\x20Continue\x20an\x20existing\x20backend\x20session\x20(an\x20unknown\x20id\x20exits\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201;\x20the\x20backend\x20assigns\x20new\x20ids).\x20For\x20complete:\x20the\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whose\x20history\x20is\x20the\x20context\x0a\x20\x20--json-schema\x20FILE\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JSON\x20schema\x20the\x20structured\x20answer\x20must\x20match\x20(complete,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20prompts:\x20implies\x20--print)\x0a\x20\x20--runner-url\x20URL\x20\x20(host)\x20Runner\x20worker\x20WS\x20URL.\x20Required;\x20or\x20CONTROL_PLANE_WS_URL\x20env\x0a\x20\x20--interop\x20PATH\x20\x20\x20\x20(host)\x20Interop\x20binary\x20path;\x20or\x20INTEROP_EXECUTABLE_PATH\x20env.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Absent\x20→\x20registration/discovery\x20only,\x20tool\x20execution\x20disabled\x0a\x20\x20--worker-id\x20ID\x20\x20\x20\x20(host)\x20Stable\x20worker\x20identity;\x20or\x20WORKER_ID\x20env.\x20Default:\x20hostname\x0a\x20\x20--page\x20N\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(sessions)\x20Page\x20to\x20show,\x20from\x201.\x20Default:\x201\x0a\x20\x20--limit\x20N\x20\x20\x20\x20\x20\x20\x20\x20\x20(sessions)\x20Rows\x20per\x20page,\x201-100.\x20Default:\x2030\x0a\x20\x20--include-subagents\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(sessions)\x20Also\x20list\x20sub-agent\x20sessions,\x20hidden\x20by\x20default\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20as\x20in\x20the\x20desktop\x20app\x27s\x20history\x0a\x20\x20--to\x20WHO\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(delegations\x20create)\x20Assign\x20to\x20this\x20person:\x20an\x20email,\x20or\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20that\x20matches\x20exactly\x20one\x20colleague\x20(see\x20org-users)\x0a\x20\x20--summary\x20TEXT\x20\x20\x20\x20(delegations\x20create)\x20The\x20briefing\x20the\x20person\x20starts\x20from.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20empty,\x20for\x20a\x20task\x20that\x20stands\x20on\x20its\x20own\x0a\x20\x20--output-format\x20FMT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text\x20(default)\x20|\x20json\x20|\x20stream-json.\x20json\x20prints\x20one\x20result\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20object\x20on\x20exit;\x20stream-json\x20prints\x20every\x20agent\x20event\x20as\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JSON\x20line,\x20then\x20the\x20result.\x20Both\x20keep\x20stdout\x20JSON-only\x20(logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20progress\x20and\x20the\x20session\x20id\x20go\x20to\x20stderr),\x20imply\x20--print,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20exit\x201\x20when\x20the\x20turn\x20ends\x20in\x20error.\x20Also\x20honoured\x20by\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20every\x20subcommand\x20that\x20prints\x20a\x20result\x20(all\x20but\x20login,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20logout,\x20tenant\x20and\x20host)\x0a\x20\x20--input-format\x20FMT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text\x20(default)\x20|\x20stream-json.\x20stream-json\x20reads\x20one\x20JSON\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20user\x20message\x20per\x20line\x20on\x20stdin\x20while\x20the\x20turn\x20runs:\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20first\x20is\x20the\x20prompt\x20(give\x20none\x20as\x20an\x20argument),\x20each\x20later\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20one\x20steers\x20the\x20turn\x20in\x20flight.\x20Needs\x20--output-format\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stream-json\x0a\x20\x20--replay-user-messages\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(--input-format\x20stream-json)\x20Echo\x20each\x20steering\x20message\x20on\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stdout\x20(isReplay:\x20true,\x20same\x20uuid)\x20once\x20the\x20agent\x20takes\x20it\x0a\x20\x20-q,\x20--quiet\x20\x20\x20\x20\x20\x20\x20Suppress\x20🤔\x20thinking\x20output\x20to\x20stderr\x0a\x20\x20--verbose\x20\x20\x20\x20\x20\x20\x20\x20\x20Surface\x20the\x20SDK\x27s\x20and\x20the\x20framework\x27s\x20own\x20logs.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Diagnostics\x20only,\x20on\x20stdout;\x20independent\x20of\x20-q\x0a','parse','stream-json','object','abort','--json-schema','prompt_tokens','--task-automation\x20applies\x20to\x20prompts\x20only.','removeEventListener','Enter\x20numbers\x20from\x201\x20to\x20','--replay-user-messages','exec','\x20tenant\x20[NAME]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20the\x20organization\x27s\x20tenants,\x20or\x20switch\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20saved\x20login\x20to\x20NAME\x20(no\x20browser)\x0a\x20\x20','noSecurity','result','140MxXhOW','\x20--model\x20<id>\x20\x22<prompt>\x22\x0a','replace','once','\x20delegations\x20pending\x20SESSION\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answers\x20to\x20delegations\x20from\x20SESSION\x20that\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20await\x20acceptance\x20(poll\x20this)\x0a\x20\x20','\x20delegations\x20complete\x20ID\x20\x22<answer>\x22|-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20the\x20answer\x20to\x20a\x20delegation\x20you\x20claimed\x0a\x20\x20','--backend','extra_pool_consumed_pu','race','lockReason','\x20delegations\x20create`\x20only.','Tenant:\x20','\x20prompt,\x20','workerId','\x20logout\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20the\x20saved\x20CLI\x20login\x0a\x20\x20','--input-format\x20stream-json\x20needs\x20--output-format\x20stream-json:\x20the\x20steering\x20messages\x20are\x20answered\x20on\x20stdout.','--env','Session:\x20','results','\x20or\x20your\x20own\x20answer','numeric','STATUS','date','\x20delegations\x20list\x20PROJECT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Every\x20delegation\x20targeting\x20a\x20backend\x20project\x0a\x20\x20','Number','split','\x20host\x20install\x20[flags]\x20\x20\x20\x20Auto-start\x20the\x20host\x20at\x20login\x20(macOS\x20LaunchAgent\x20/\x20Windows\x20Scheduled\x20Task)\x0a\x20\x20','name','line','runnerUrl','--attach','Continue\x20it\x20with:\x20','maps','--project','Unknown\x20sessions\x20action:\x20','userId','activity','[saved\x20login]\x20Backend\x20URL:\x20','tokenExpiresAt','setPrompt','high','stdin','agent_thought','keys','complete\x20needs\x20--json-schema\x20<file>:\x20','Already\x20answered','\x20usage\x20activity|daily\x20[--days\x20N]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Activity\x20totals,\x20or\x20per-day\x20usage,\x20over\x20the\x20last\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N\x20days\x20(1-365,\x20default\x2030)\x0a\x20\x20','floor','\x20into\x20','\x20must\x20be\x20a\x20JSON\x20object.',',\x20got\x20','--json-schema\x20applies\x20to\x20prompts\x20and\x20to\x20`','\x20models\x20[--env\x20NAME]\x20\x20\x20\x20\x20List\x20available\x20LLM\x20models\x20for\x20the\x20current\x20tenant,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20with\x20any\x20BYO\x20configuration\x20warning\x20per\x20model\x0a\x20\x20','SIGINT','command','pause','padStart','Enter\x20a\x20number\x20','usage','rejection','\x20\x20\x20\x20BYO\x20warning:\x20','unknown\x20slug','buckets','Delegated\x20','\x20\x22<answer>\x22\x0a','localhost','\x20tenant\x20<name>','\x20login\x20--env\x20<alpha|staging|production>,\x20or\x20','Unknown\x20flag:\x20','--help','indexOf','noConnections','total_token_units','has','skip','\x20--session\x20','\x20(cancel\x20with:\x20','delegations\x20accept\x20<delegation-id>','\x20complete`\x20only.','write','A\x20steering\x20message\x20arrived\x20after\x20the\x20turn\x20ended:\x20not\x20read.\x0a','test','Title\x20\x20\x20\x20\x20\x20\x20\x20\x20','task','session_consumed_pu','\x20\x20TASK\x0a','--attach:\x20no\x20such\x20file\x20or\x20folder:\x20','includeSubAgents','expiresAt','Steering\x20input\x20stopped:\x20','\x20vertical,\x20so\x20it\x20cannot\x20run\x20as\x20--vertical\x20','model','.\x20Use\x20','concat','parentSessionId','widget','--limit','win32','1237vljurs','\x20<id>','the\x20JSON\x20schema','then','subFields','outputFormat','destroy','round','--input-format\x20and\x20--replay-user-messages\x20apply\x20to\x20prompts\x20only.','--runner-url','\x0aAccept\x20one\x20with:\x20','min','\x20\x20(input\x20#','--turn\x20applies\x20to\x20`','probability','The\x20steering\x20message\x20was\x20not\x20answered:\x20its\x20turn\x20did\x20not\x20run\x20or\x20added\x20no\x20reply.','opt-in','unit','trim','byoWarning','.\x20Use\x20`','--authority','map','\x20sessions\x20rename\x20ID\x20TITLE\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rename\x20a\x20session\x20(1-500\x20characters)\x0a\x20\x20','\x20this\x20month','\x20tenant\x20<name>\x0a','question','Missing\x20prompt.\x20Pass\x20it\x20as\x20an\x20argument,\x20pipe\x20it\x20via\x20stdin,\x20or\x20run\x20`','find','readFileSync','error','cleanup','\x20login`\x20again.','isError','\x20\x20\x20\x20Not\x20available\x20on\x20this\x20plan','\x20sessions\x20[list]\x20[--page\x20N]\x20[--limit\x20N]\x20[--include-subagents]','evaluate','\x20(optional)','keepAlive','\x20delegations\x20complete\x20','cartographer-cli','No\x20CLI\x20login\x20found.\x20Note:\x20the\x20CLI\x20is\x20currently\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','page','verify','149115pmXpVF','.\x20Use\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost.','`delegate-cli\x20--vertical\x20cartographer`','message','findLast','\x20to\x20','monthly_limit_usd','skipEnvCheck','--quiet','Session\x20','limit','slice','forEach','\x20needs\x20a\x20JSON\x20request:\x20','\x20runs\x20the\x20','active_days','org-users','\x20tokens\x0a','Deployment:\x20\x20\x20','\x20PU\x20beyond\x20quota','--no-connections','\x5c$1','\x20(resume\x20with\x20--session\x20','delegations\x20complete\x20<delegation-id>\x20\x22<answer>\x22|-','login','onEvent','days','multiSelect','displayName','--tenant\x20requires\x20a\x20tenant\x20name.','\x20usage\x20[--session\x20ID]\x20\x20\x20\x20Quota\x20and\x20spend:\x20licensing\x20quota,\x20monthly\x20spend\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20cap\x0a\x20\x20','\x20delegations\x20create\x20--session\x20ID\x20[--to\x20WHO]\x20[--summary\x20TEXT]\x20\x22<task>\x22|-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hand\x20a\x20task\x20from\x20session\x20ID\x20to\x20a\x20colleague\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(WHO:\x20an\x20email,\x20or\x20a\x20name\x20matching\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20person);\x20without\x20--to,\x20print\x20a\x20link\x20anyone\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20in\x20the\x20organization\x20can\x20claim\x0a\x20\x20','uuid','Session\x20\x20\x20\x20\x20\x20\x20','version','done','\x20login`\x20only.','\x20--json-schema\x20FILE\x20\x22<prompt>\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20turn,\x20then\x20its\x20result\x20extracted\x20as\x20JSON\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20matching\x20the\x20schema\x20in\x20FILE\x20(printed\x20after\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20answer;\x20\x22structured\x22\x20in\x20the\x20JSON\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20exit\x201\x20when\x20the\x20extraction\x20fails\x0a\x20\x20','--input-format\x20stream-json\x20reads\x20the\x20prompt\x20from\x20stdin:\x20pass\x20no\x20prompt\x20argument.','default','never','now','Last\x20','value','No\x20delegations.\x0a','includes','delegation','Enter\x20one\x20number\x20from\x201\x20to\x20','readLine','--verbose','delete','origin','Tenant\x20not\x20switched:\x20could\x20not\x20write\x20','Usage:\x20','--model','\x20login`\x20only.\x20Switch\x20tenants\x20with:\x20','--skip-env-check\x20applies\x20to\x20`','\x20host\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20auto-start\x20state\x0a\x20\x20','user','\x20min)','string','alreadyCompleted','\x20sessions\x20','\x20sessions\x20on\x20','--vertical','rerank','total_tokens','--env\x20localhost\x20has\x20no\x20OAuth\x20flow;\x20pick\x20alpha,\x20staging,\x20or\x20production.','\x20delegations\x20accept|dismiss|cancel|delete\x20ID\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Take\x20an\x20answer\x20into\x20its\x20session,\x20drop\x20it,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20withdraw\x20a\x20live\x20delegation,\x20or\x20delete\x20it\x0a\x20\x20','delegations','unknown','headless','\x20(no\x20cap\x20enforced)','Owner\x20\x20\x20\x20\x20\x20\x20\x20\x20','.\x20Drop\x20--vertical.','token_units','delegations\x20list\x20<backend-project-id>','restore','startsWith','\x20(confidence\x20','Your\x20answer\x20(Enter\x20to\x20skip):\x20','Created\x20delegation\x20','score','length','actionable_error','Delegate\x20agent\x20CLI','exit','\x20[flags]\x20-\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Read\x20one\x20prompt\x20from\x20stdin\x20through\x20EOF,\x20then\x20exit\x0a\x20\x20','\x20-\x20','add','models_breakdown','complete','intro','\x20tenant\x20<name>\x0a\x20\x20--model\x20NAME\x20\x20\x20\x20\x20\x20LLM\x20model\x20id\x20(e.g.\x20claude_sonnet_5_5,\x20kimi_k3).\x20Checked\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20against\x20the\x20tenant\x27s\x20catalog\x20(','replayUserMessages','log','No\x20models\x20available\x20for\x20this\x20product/tenant.\x0a','\x20\x22<prompt>\x22\x0a','Spending:\x20\x20\x20\x20\x20$','status','--output-format\x20','No\x20CLI\x20login\x20found\x20—\x20nothing\x20to\x20remove.','.\x20Use:\x20','transcribe',';\x20the\x20saved\x20login\x20still\x20uses\x20','assignedUser','Bearer\x20','quiet','pop',']\x20Backend\x20URL:\x20','delegationId','probability\x20','\x20in\x20progress\x20on\x20session\x20','catch','fields','\x20host\x20uninstall\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20auto-start\x0a\x20\x20','settle','questions','oneTurn','every','No\x20answers\x20awaiting\x20acceptance.\x0a','next','valueFlags','--keep-alive','stdout','--computer-use','\x20|\x20','Forked\x20','\x20sessions\x20--page\x20','\x20--help`.','Invalid\x20--input-format:\x20','stop','session_start','--cartographer','You>\x20','resolve','`delegate-cli\x20--cartographer`','Licensing:\x20\x20\x20\x20','followUpsRenderer','Organization\x20\x20','machineOutput','description','a\x20briefing\x20text','\x20PU\x20used','cancel','\x20requires\x20','push','max','env','optional','1\x20or\x20more','\x0aStopping…\x20(Ctrl+C\x20again\x20to\x20force\x20exit)\x0a','\x20(resets\x20','\x20(current)','\x20delegation\x20','sessionId','subcommand','--no-computer-use','a\x20number','\x20usage\x20activity|daily`\x20only.','hide','Cost:\x20\x20\x20$','choice','locked','findIndex','a\x20JSON\x20schema\x20file','taskAutomation','Task\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','title','\x20<title>','environment\x20variables\x20(AUTH_TOKEN/TENANT_ID/ORG_ID)','about','--output-format','Rubric\x20','\x20login\x20--url\x20https://automationsuite.contoso.com','cancelled','tenant','prompt',']\x20(Enter\x20for\x20','\x20sessions\x20cancel\x20<session-id>\x20--turn\x20<turn-id>','repeat','shift','organizationId','sourceTitle','label','host','From\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20usage\x20activity|daily`;\x20the\x20summary\x20covers\x20the\x20current\x20month.','models','show','\x20days.\x0a','list','\x20must\x20be\x20a\x20whole\x20number\x20','delegations\x20pending\x20<session-id>','Turn:\x20','>.\x0a','\x0aAvailable\x20models\x20(','url','end','create','toUpperCase','pct_used','logout','\x20—\x20','Answered','):\x0a\x0a','--effort','--print','erase','Numbers,\x20separated\x20by\x20commas\x20(Enter\x20to\x20skip):\x20','step','transcribe:\x20cannot\x20read\x20','monthly_spend_usd','return','Claimed\x20from\x20delegation\x20','computerUse','delegations\x20dismiss\x20<delegation-id>','\x20sessions\x20cancel\x20ID\x20--turn\x20TURN\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cancel\x20turn\x20TURN\x20running\x20on\x20session\x20ID\x20in\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20another\x20process;\x20exits\x201\x20when\x20no\x20such\x20turn\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20in\x20progress\x0a\x20\x20','rubric_version','messages','an\x20input\x20line\x20is\x20not\x20JSON','Base\x20URL:\x20\x20\x20\x20\x20','\x0a⚠️\x20\x20Auth\x20expired.\x20Opening\x20browser\x20to\x20re-login…\x0a','input','resume','\x20cap','\x20(Delegate\x20desktop\x20app\x20fallback)','No\x20usage\x20in\x20the\x20last\x20','getSessionMessages','exitCode','addEventListener','No\x20auth\x20found.\x20Set\x20AUTH_TOKEN\x20(or\x20AUTH_TOKEN_FILE)/TENANT_ID/ORG_ID\x20env\x20vars,\x20or\x20run\x20`','verbose','vertical','signal','\x0a🤔\x20','ASSIGNEE','--session\x20applies\x20to\x20the\x20`','\x20-p\x20\x22<prompt>\x22\x20--output-format\x20json|stream-json\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20turn\x20with\x20JSON-only\x20stdout;\x20exit\x201\x20on\x20error\x0a\x20\x20','No\x20CLI\x20login\x20to\x20switch:\x20the\x20CLI\x20is\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','\x0aUse\x20with:\x20','platform','\x20active\x20days','--days','cwd','claim','\x20sessions\x20cancel\x20','help','backendUrl'];_0x5d15=function(){return _0x31bb05;};return _0x5d15();}function In(_0x56cb6d){const _0x306115=_0x48ae38;process[_0x306115(0x321)][_0x306115(0x266)]('ID\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x56cb6d['id']+'\x0a'),process[_0x306115(0x321)][_0x306115(0x266)](_0x306115(0x269)+_0x56cb6d[_0x306115(0x34d)]+'\x0a'),process[_0x306115(0x321)][_0x306115(0x266)](_0x306115(0x2ee)+_0x56cb6d[_0x306115(0x23a)]+'\x0a'),process['stdout'][_0x306115(0x266)](_0x306115(0x330)+_0x56cb6d['organizationId']+'\x0a'),_0x56cb6d[_0x306115(0x313)]&&process[_0x306115(0x321)][_0x306115(0x266)](_0x306115(0x3d5)+_0x56cb6d[_0x306115(0x313)]+'\x0a');}async function Tn(_0x52691c,_0x47d558,_0x1d55b8){const _0x25382f=_0x48ae38;(!_0x47d558||_0x1d55b8||!_0x52691c['turnId'])&&(console['error'](_0x25382f(0x2da)+_0x52691c[_0x25382f(0x3c8)][_0x25382f(0x1cf)]+_0x25382f(0x358)),process[_0x25382f(0x2fb)](0x2));let {client:_0x3185df}=await x(_0x52691c),_0x423fe7=await _0x3e2bf9(_0x3185df,_0x47d558,_0x52691c[_0x25382f(0x3d7)]);m(_0x52691c,{'sessionId':_0x47d558,'turnId':_0x52691c[_0x25382f(0x3d7)],'cancelled':_0x423fe7},_0x4e7ce1=>{const _0x8e64c2=_0x25382f;_0x4e7ce1['cancelled']?process[_0x8e64c2(0x321)][_0x8e64c2(0x266)]('Cancel\x20requested\x20for\x20turn\x20'+_0x4e7ce1[_0x8e64c2(0x3d7)]+'\x20of\x20session\x20'+_0x4e7ce1['sessionId']+'.\x0a'):process[_0x8e64c2(0x1f9)][_0x8e64c2(0x266)]('No\x20turn\x20'+_0x4e7ce1[_0x8e64c2(0x3d7)]+_0x8e64c2(0x315)+_0x4e7ce1[_0x8e64c2(0x340)]+'.\x0a');}),_0x423fe7||(process[_0x25382f(0x38a)]=0x1);}async function Un(_0x3229af,_0x540e91,_0x2a1e1c){const _0x2e10d6=_0x48ae38;(!_0x540e91||/\s/[_0x2e10d6(0x268)](_0x2a1e1c))&&(console[_0x2e10d6(0x297)](_0x2e10d6(0x2da)+_0x3229af[_0x2e10d6(0x3c8)][_0x2e10d6(0x1cf)]+_0x2e10d6(0x3d0)),process[_0x2e10d6(0x2fb)](0x2));let {client:_0x27d885}=await x(_0x3229af),_0x9d9e6e;try{_0x9d9e6e=await _0x3d1679(_0x27d885,_0x540e91,{'atMessageId':_0x2a1e1c||void 0x0});}catch(_0x2ecb35){if(!_0x1ed541(_0x2ecb35,0x194))throw _0x2ecb35;console[_0x2e10d6(0x297)](_0x2e10d6(0x2ae)+_0x540e91+'\x20not\x20found,\x20has\x20no\x20messages'+(_0x2a1e1c?',\x20or\x20holds\x20no\x20message\x20'+_0x2a1e1c:'')+'.'),process[_0x2e10d6(0x2fb)](0x1);}m(_0x3229af,_0x9d9e6e,_0xc16cbe=>{const _0x360ea3=_0x2e10d6;process[_0x360ea3(0x321)][_0x360ea3(0x266)](_0x360ea3(0x324)+_0x540e91+_0x360ea3(0x247)+_0xc16cbe['id']+'.\x0a'),process[_0x360ea3(0x1f9)][_0x360ea3(0x266)](_0x360ea3(0x236)+_0x3229af['product']['bin']+_0x360ea3(0x262)+_0xc16cbe['id']+_0x360ea3(0x306));});}function Dn({sessions:_0x14f299,page:_0x582849,isLastPage:_0x74a79c},_0x242301){const _0x1eec18=_0x48ae38;if(_0x14f299['length']===0x0)process[_0x1eec18(0x1f9)][_0x1eec18(0x266)](_0x1eec18(0x3c2)+_0x582849+'.\x0a');else{process[_0x1eec18(0x321)][_0x1eec18(0x266)]('ID'[_0x1eec18(0x39e)](0x24)+'\x20\x20'+_0x1eec18(0x1fb)[_0x1eec18(0x39e)](0x13)+_0x1eec18(0x3a2));for(let _0x4fb780 of _0x14f299){let _0x4ebc9d=_0x4fb780[_0x1eec18(0x3ae)][_0x1eec18(0x219)]('T','\x20')['slice'](0x0,0x13),_0x56bbe7=_0x4fb780[_0x1eec18(0x275)]?_0x1eec18(0x3b1)+_0x4fb780[_0x1eec18(0x275)]+')':'';process[_0x1eec18(0x321)]['write'](_0x4fb780['id'][_0x1eec18(0x39e)](0x24)+'\x20\x20'+_0x4ebc9d[_0x1eec18(0x39e)](0x13)+'\x20\x20'+_0x4fb780[_0x1eec18(0x34d)]+_0x56bbe7+'\x0a');}}_0x74a79c||process['stderr'][_0x1eec18(0x266)](_0x1eec18(0x1b4)+_0x242301+_0x1eec18(0x325)+(_0x582849+0x1)+'\x0a');}async function Nn(_0x4ae95f){const _0x368934=_0x48ae38;let _0x701d65=await X(_0x4ae95f[_0x368934(0x3c8)][_0x368934(0x1cf)]),_0x252cb=_0x4d9c2c(_0x4ae95f[_0x368934(0x339)],_0x701d65,_0x4ae95f[_0x368934(0x39d)]);Z(_0x4ae95f[_0x368934(0x339)],_0x4ae95f[_0x368934(0x39d)],_0x252cb);let _0x468b43=await _0x2a9b8d({'auth':_0x701d65,'backendUrl':_0x252cb,'interop':_0x4ae95f[_0x368934(0x2ec)]?_0x368934(0x261):_0x368934(0x1d3)});m(_0x4ae95f,_0x468b43,({checks:_0x303111})=>{const _0x3a6116=_0x368934;for(let _0x4cd8ed of _0x303111)process[_0x3a6116(0x321)][_0x3a6116(0x266)](Cn(_0x4cd8ed)+'\x0a');}),_0x468b43['ok']||process['exit'](0x1);}function Cn(_0x5b7ada){const _0x40a114=_0x48ae38;return{'ok':'✓','failed':'✗','skipped':'-'}[_0x5b7ada[_0x40a114(0x308)]]+'\x20'+_0x5b7ada[_0x40a114(0x232)][_0x40a114(0x39e)](0xa)+_0x5b7ada['detail'];}async function Rn(_0x11bdf3){const _0x279045=_0x48ae38;let _0x443bc7=_0x11bdf3[_0x279045(0x356)];Pn[_0x279045(0x2d2)](_0x443bc7)||(console[_0x279045(0x297)]('Unknown\x20usage\x20view:\x20'+_0x11bdf3['prompt']+_0x279045(0x28d)+_0x11bdf3[_0x279045(0x3c8)][_0x279045(0x1cf)]+_0x279045(0x3f0)),process[_0x279045(0x2fb)](0x2)),_0x443bc7===''&&_0x11bdf3['days']!==void 0x0&&(console[_0x279045(0x297)]('--days\x20applies\x20to\x20`'+_0x11bdf3[_0x279045(0x3c8)][_0x279045(0x1cf)]+_0x279045(0x360)),process[_0x279045(0x2fb)](0x2)),_0x443bc7!==''&&_0x11bdf3[_0x279045(0x340)]!==void 0x0&&(console['error'](_0x279045(0x392)+_0x11bdf3['product'][_0x279045(0x1cf)]+_0x279045(0x1de)),process['exit'](0x2));let {client:_0x2810c8}=await x(_0x11bdf3);if(_0x443bc7==='activity'){m(_0x11bdf3,await _0x13455c(_0x2810c8,{'days':_0x11bdf3['days']}),On);return;}if(_0x443bc7==='daily'){m(_0x11bdf3,await _0x563b65(_0x2810c8,{'days':_0x11bdf3[_0x279045(0x2bf)]}),Ln);return;}let [_0x2ca574,_0x38698a]=await Promise[_0x279045(0x3f2)]([_0x648175(_0x2810c8,{'sessionId':_0x11bdf3[_0x279045(0x340)]}),_0x4162bb(_0x2810c8)]);m(_0x11bdf3,{'licensing':_0x2ca574,'monthlySpending':_0x38698a},_n);}function _n(_0x13c600){const _0x141136=_0x48ae38;let {licensing:_0x34df1e,monthlySpending:_0x5e4c76}=_0x13c600,_0x175c22=[_0x34df1e[_0x141136(0x3ec)]?_0x141136(0x32e)+_0x34df1e[_0x141136(0x36e)][_0x141136(0x3eb)](0x1)+'%\x20of\x20'+(_0x34df1e['total_quota_pu']??0x0)+_0x141136(0x334)+(_0x34df1e[_0x141136(0x21e)]>0x0?',\x20'+_0x34df1e['extra_pool_consumed_pu']+_0x141136(0x2b8):'')+_0x141136(0x33d)+_0x34df1e[_0x141136(0x1dc)]+')':_0x141136(0x1ad),_0x141136(0x307)+_0x5e4c76[_0x141136(0x379)][_0x141136(0x3eb)](0x2)+_0x141136(0x291)+(_0x5e4c76[_0x141136(0x3ec)]&&_0x5e4c76[_0x141136(0x2ab)]!==null?_0x141136(0x206)+_0x5e4c76[_0x141136(0x2ab)][_0x141136(0x3eb)](0x2)+_0x141136(0x386):_0x141136(0x2ed))];_0x34df1e[_0x141136(0x26b)]!==null&&_0x34df1e[_0x141136(0x26b)]!==void 0x0&&_0x175c22[_0x141136(0x337)]('Session:\x20\x20\x20\x20\x20\x20'+_0x34df1e[_0x141136(0x26b)]+_0x141136(0x3e8)),process['stdout']['write'](_0x175c22['join']('\x0a')+'\x0a');}function On(_0x1b00a7){const _0xbab3=_0x48ae38;let _0x59d1ff=[_0xbab3(0x2cf)+_0x1b00a7[_0xbab3(0x200)]+'\x20days:\x20'+_0x1b00a7['total_sessions']+_0xbab3(0x2e4)+_0x1b00a7[_0xbab3(0x2b4)]+_0xbab3(0x397),_0xbab3(0x346)+_0x1b00a7[_0xbab3(0x39f)]['toFixed'](0x2)+_0xbab3(0x1d7)+_0x1b00a7['estimated_cost_usd'][_0xbab3(0x3eb)](0x2)+_0xbab3(0x1e4)+_0x1b00a7[_0xbab3(0x25f)]+'\x20token\x20units)','Tokens:\x20'+_0x1b00a7[_0xbab3(0x1e7)]+_0xbab3(0x223)+_0x1b00a7[_0xbab3(0x3bd)]+'\x20completion'];for(let [_0x39f587,_0x4fcb72]of Object['entries'](_0x1b00a7[_0xbab3(0x2ff)]))_0x59d1ff[_0xbab3(0x337)]('\x20\x20'+_0x39f587+':\x20'+_0x4fcb72+_0xbab3(0x204));process[_0xbab3(0x321)][_0xbab3(0x266)](_0x59d1ff['join']('\x0a')+'\x0a');}function Ln(_0x36921e){const _0x1b79c9=_0x48ae38;if(_0x36921e['daily_usage'][_0x1b79c9(0x2f8)]===0x0){process['stdout']['write'](_0x1b79c9(0x388)+_0x36921e[_0x1b79c9(0x200)]+_0x1b79c9(0x363));return;}let _0x30d001=['Date\x20\x20\x20\x20\x20\x20\x20\x20Token\x20units\x20\x20Prompt\x20tokens\x20\x20Completion\x20tokens'];for(let _0x117a57 of _0x36921e[_0x1b79c9(0x3e0)])_0x30d001[_0x1b79c9(0x337)](_0x117a57[_0x1b79c9(0x22d)]+'\x20\x20'+String(_0x117a57[_0x1b79c9(0x2f0)])['padStart'](0xb)+'\x20\x20'+String(_0x117a57[_0x1b79c9(0x20e)])[_0x1b79c9(0x24f)](0xd)+'\x20\x20'+String(_0x117a57['completion_tokens'])[_0x1b79c9(0x24f)](0x11));process[_0x1b79c9(0x321)][_0x1b79c9(0x266)](_0x30d001['join']('\x0a')+'\x0a');}function _0x4cd9(_0x16921,_0x2e2d14){_0x16921=_0x16921-0x1a4;const _0x5d1557=_0x5d15();let _0x4cd9ab=_0x5d1557[_0x16921];return _0x4cd9ab;}async function Fn(_0x22aacc,_0x16ce8f){const _0x5b4d32=_0x48ae38;let _0x2fcc71=await Mn(_0x22aacc[_0x5b4d32(0x356)],_0x16ce8f,_0x22aacc['product'][_0x5b4d32(0x1cf)]);_0x22aacc['model']&&(_0x2fcc71[_0x5b4d32(0x272)]=_0x22aacc[_0x5b4d32(0x272)]);let {client:_0x264a59}=await x(_0x22aacc);try{_0x16ce8f===_0x5b4d32(0x29d)?m(_0x22aacc,await _0x19ecf4(_0x264a59,_0x2fcc71,void 0x0),Bn):_0x16ce8f===_0x5b4d32(0x2e6)?m(_0x22aacc,await _0x9aae4b(_0x264a59,_0x2fcc71,void 0x0),Jn):m(_0x22aacc,await _0x113a79(_0x264a59,_0x2fcc71,void 0x0),Hn);}catch(_0x4a9f7f){if(!_0x59254e(_0x4a9f7f))throw _0x4a9f7f;console[_0x5b4d32(0x297)](_0x4a9f7f[_0x5b4d32(0x2a8)]),process[_0x5b4d32(0x2fb)](0x1);}}async function Mn(_0x322803,_0x5a0feb,_0xfaa8db){const _0x260160=_0x48ae38;let _0x5e6a05;try{_0x5e6a05=_0x322803&&_0x322803!=='-'?_0x3d1a15['readFileSync'](_0x57117c[_0x260160(0x32c)](_0x322803),_0x260160(0x1f5)):await H(_0x322803,process[_0x260160(0x240)]);}catch(_0x83e9ce){console[_0x260160(0x297)](_0x5a0feb+_0x260160(0x203)+_0x83e9ce['message']+').'),process[_0x260160(0x2fb)](0x2);}return _0x5e6a05||(console['error'](_0x5a0feb+_0x260160(0x2b2)+_0xfaa8db+'\x20'+_0x5a0feb+_0x260160(0x3ce)),process['exit'](0x2)),_e(_0x5e6a05,_0x5a0feb,'the\x20request');}function _e(_0x36e2f7,_0x46b2e7,_0x443f8b){const _0x22bfdc=_0x48ae38;let _0xff2731;try{_0xff2731=JSON['parse'](_0x36e2f7);}catch(_0x27a8c5){console[_0x22bfdc(0x297)](_0x46b2e7+':\x20'+_0x443f8b+_0x22bfdc(0x3b3)+_0x27a8c5[_0x22bfdc(0x2a8)]+').'),process[_0x22bfdc(0x2fb)](0x2);}return(typeof _0xff2731!=_0x22bfdc(0x20b)||_0xff2731===null||Array['isArray'](_0xff2731))&&(console[_0x22bfdc(0x297)](_0x46b2e7+':\x20'+_0x443f8b+_0x22bfdc(0x248)),process[_0x22bfdc(0x2fb)](0x2)),_0xff2731;}function Oe(_0x513b1a,_0x20bf8d){const _0xabbbf3=_0x48ae38;let _0x2093d3;try{_0x2093d3=_0x3d1a15[_0xabbbf3(0x296)](_0x57117c[_0xabbbf3(0x32c)](_0x513b1a),_0xabbbf3(0x1f5));}catch(_0x4ac31f){console[_0xabbbf3(0x297)](_0x20bf8d+':\x20cannot\x20read\x20the\x20JSON\x20schema\x20('+_0x4ac31f[_0xabbbf3(0x2a8)]+').'),process[_0xabbbf3(0x2fb)](0x2);}return _e(_0x2093d3,_0x20bf8d,_0xabbbf3(0x27b));}async function jn(_0x442a4d){const _0x20cb71=_0x48ae38;_0x442a4d[_0x20cb71(0x3b4)]===void 0x0&&(console[_0x20cb71(0x297)](_0x20cb71(0x243)+_0x442a4d['product'][_0x20cb71(0x1cf)]+'\x20complete\x20--json-schema\x20schema.json\x20\x22<prompt>\x22.'),process['exit'](0x2));let _0x62c303=Oe(_0x442a4d[_0x20cb71(0x3b4)],'complete'),_0x4482e5=(await H(_0x442a4d[_0x20cb71(0x356)],process[_0x20cb71(0x240)]))[_0x20cb71(0x28b)]();_0x4482e5||(console[_0x20cb71(0x297)]('complete\x20needs\x20a\x20prompt:\x20'+_0x442a4d[_0x20cb71(0x3c8)][_0x20cb71(0x1cf)]+_0x20cb71(0x1a8)),process[_0x20cb71(0x2fb)](0x2));let {client:_0x57522b}=await x(_0x442a4d);try{let _0x3efe32=await _0xe8d966(_0x57522b,{'prompt':_0x4482e5,'jsonSchema':_0x62c303,'model':_0x442a4d[_0x20cb71(0x272)]||process.env.MODEL||_0x218125,..._0x442a4d[_0x20cb71(0x340)]!==void 0x0&&{'sessionId':_0x442a4d['sessionId']}},void 0x0);m(_0x442a4d,_0x3efe32,_0x578af2=>{const _0x23c49e=_0x20cb71;process['stdout'][_0x23c49e(0x266)](JSON[_0x23c49e(0x1fc)](_0x578af2[_0x23c49e(0x1b7)],null,0x2)+'\x0a');});}catch(_0x55d39a){if(!_0x40ff25(_0x55d39a))throw _0x55d39a;console['error'](_0x55d39a[_0x20cb71(0x2a8)]),process[_0x20cb71(0x2fb)](0x1);}}function ee(_0x5c6a42){const _0x3dd33e=_0x48ae38;process[_0x3dd33e(0x321)][_0x3dd33e(0x266)]('Model\x20'+_0x5c6a42['model']+'\x20('+_0x5c6a42[_0x3dd33e(0x3e4)]+'),\x20'+_0x5c6a42[_0x3dd33e(0x251)][_0x3dd33e(0x2e7)]+_0x3dd33e(0x2b6));}function Bn(_0x305aec){const _0x5fcdec=_0x48ae38;ee(_0x305aec);for(let _0x3de8fb of Object[_0x5fcdec(0x242)](_0x305aec[_0x5fcdec(0x3c5)])){let _0x2d168b=_0x305aec[_0x5fcdec(0x3c5)][_0x3de8fb],_0x2a7a81=_0x2d168b[_0x5fcdec(0x3a8)]==='probability'?_0x5fcdec(0x314)+_0x2d168b[_0x5fcdec(0x287)][_0x5fcdec(0x3eb)](0x2):_0x2d168b[_0x5fcdec(0x3a8)]===_0x5fcdec(0x347)?'choice\x20'+_0x2d168b[_0x5fcdec(0x347)]+_0x5fcdec(0x2f4)+_0x2d168b['confidence'][_0x5fcdec(0x3eb)](0x2)+')':_0x5fcdec(0x1e2)+_0x2d168b['score']['toFixed'](0x2)+_0x5fcdec(0x2f4)+_0x2d168b[_0x5fcdec(0x1af)]['toFixed'](0x2)+')';process[_0x5fcdec(0x321)]['write']('\x20\x20'+_0x3de8fb+':\x20'+_0x2a7a81+'\x0a');}}function Jn(_0x24db40){const _0x206219=_0x48ae38;ee(_0x24db40),_0x24db40[_0x206219(0x229)][_0x206219(0x2b1)]((_0x44b76b,_0x9fa54e)=>{const _0x5a091e=_0x206219;process['stdout']['write']('\x20\x20'+(_0x9fa54e+0x1)+'.\x20'+_0x44b76b['id']+'\x20\x20'+_0x44b76b[_0x5a091e(0x2f7)]['toFixed'](0x3)+_0x5a091e(0x285)+_0x44b76b['index']+')\x0a');});}function Hn(_0x1d8ae9){const _0x1e698c=_0x48ae38;ee(_0x1d8ae9),process[_0x1e698c(0x321)][_0x1e698c(0x266)](_0x1e698c(0x352)+_0x1d8ae9[_0x1e698c(0x37f)]+'\x0a');for(let _0x3e8b9b of _0x1d8ae9[_0x1e698c(0x229)])process[_0x1e698c(0x321)]['write']('\x20\x20'+_0x3e8b9b['id']+':\x20'+_0x3e8b9b['verdict']+'\x20(confidence\x20'+_0x3e8b9b[_0x1e698c(0x1af)][_0x1e698c(0x3eb)](0x2)+')\x0a');}async function Gn(_0x53c58e){const _0x351047=_0x48ae38;let _0x4584b5=_0x53c58e['prompt']['trim']();_0x4584b5||(console[_0x351047(0x297)](_0x351047(0x1b5)+_0x53c58e[_0x351047(0x3c8)][_0x351047(0x1cf)]+_0x351047(0x1dd)),process['exit'](0x2));let {client:_0x5a1770}=await x(_0x53c58e);try{let _0x3a1d97=_0x4584b5==='-'?{'data':await Wn(process[_0x351047(0x240)])}:_0x4584b5;m(_0x53c58e,await _0x2c2e6e(_0x5a1770,_0x3a1d97,void 0x0),_0x4ff373=>{const _0x3da4da=_0x351047;process[_0x3da4da(0x321)][_0x3da4da(0x266)](_0x4ff373[_0x3da4da(0x3a6)]+'\x0a');});}catch(_0x3f789d){if(_0x3ee345(_0x3f789d)&&(console['error'](_0x3f789d[_0x351047(0x2a8)]),process['exit'](_0x3f789d[_0x351047(0x308)]===void 0x0?0x2:0x1)),typeof _0x3f789d?.['code']!=_0x351047(0x2e1))throw _0x3f789d;console['error'](_0x351047(0x378)+_0x4584b5+'\x20('+_0x3f789d[_0x351047(0x2a8)]+').'),process[_0x351047(0x2fb)](0x2);}}async function Wn(_0x56875c){const _0xfb64f4=_0x48ae38;let _0x3d5292=[];for await(let _0x24cc6b of _0x56875c)_0x3d5292[_0xfb64f4(0x337)](Buffer[_0xfb64f4(0x3fd)](_0x24cc6b));return Buffer[_0xfb64f4(0x274)](_0x3d5292);}async function Qn(_0x398268){const _0x144c80=_0x48ae38;let [_0x57e414='',_0x237333='',..._0x6105cc]=_0x398268['operands'];ve[_0x144c80(0x2d2)](_0x57e414)||(console['error']((_0x57e414?_0x144c80(0x1f7)+_0x57e414+'.\x20':'')+'Use:\x20'+_0x398268[_0x144c80(0x3c8)][_0x144c80(0x1cf)]+'\x20delegations\x20'+ve[_0x144c80(0x1f8)]('\x20|\x20')+'.'),process[_0x144c80(0x2fb)](0x2));let _0xece597=_0x57e414;_0xece597!==_0x144c80(0x36c)&&(_0x398268['delegateTo']!==void 0x0||_0x398268['contextSummary']!==void 0x0||_0x398268[_0x144c80(0x340)]!==void 0x0)&&(console[_0x144c80(0x297)](_0x144c80(0x1fe)+_0x398268[_0x144c80(0x3c8)][_0x144c80(0x1cf)]+_0x144c80(0x221)),process['exit'](0x2));let _0x3b01a3=(_0xece597===_0x144c80(0x36c)?_0x398268['operands'][_0x144c80(0x2b0)](0x1):_0x6105cc)[_0x144c80(0x1f8)]('\x20')[_0x144c80(0x28b)](),_0x3a656a=_0xece597===_0x144c80(0x36c)||_0xece597===_0x144c80(0x300);(_0xece597!==_0x144c80(0x36c)&&!_0x237333||(_0x3a656a?!_0x3b01a3:_0x3b01a3)||_0xece597===_0x144c80(0x36c)&&!_0x398268['sessionId'])&&(console[_0x144c80(0x297)](_0x144c80(0x2da)+_0x398268[_0x144c80(0x3c8)][_0x144c80(0x1cf)]+'\x20'+$e[_0xece597]),process[_0x144c80(0x2fb)](0x2));let _0x2c7df3=_0x3a656a&&_0x3b01a3==='-'?(await H('-',process['stdin']))['trim']():_0x3b01a3;_0x3a656a&&!_0x2c7df3&&(console[_0x144c80(0x297)](_0x144c80(0x2da)+_0x398268[_0x144c80(0x3c8)]['bin']+'\x20'+$e[_0xece597]+_0x144c80(0x3db)),process['exit'](0x2));let {client:_0x3bd46a}=await x(_0x398268);try{await Kn(_0x398268,_0x3bd46a,_0xece597,_0x237333,_0x2c7df3);}catch(_0x4d7b58){if(!_0x260ac0(_0x4d7b58))throw _0x4d7b58;console[_0x144c80(0x297)](_0x4d7b58[_0x144c80(0x2a8)]),process[_0x144c80(0x2fb)](0x1);}}async function Kn(_0x105ec4,_0x2f93e6,_0x1f03c0,_0x1f95a2,_0x57608d){const _0x3dd946=_0x48ae38;switch(_0x1f03c0){case _0x3dd946(0x364):m(_0x105ec4,await _0x21deee(_0x2f93e6,_0x1f95a2),qn);return;case _0x3dd946(0x3ab):m(_0x105ec4,await _0x133adf(_0x2f93e6,_0x1f95a2),_0x512c69=>{const _0x4bc0c7=_0x3dd946;_0x512c69['delegation']&&process[_0x4bc0c7(0x321)][_0x4bc0c7(0x266)](_0x4bc0c7(0x37b)+_0x512c69[_0x4bc0c7(0x2d3)]['id']+'\x20('+_0x512c69[_0x4bc0c7(0x2d3)][_0x4bc0c7(0x308)]+_0x4bc0c7(0x1d2)),_0x512c69[_0x4bc0c7(0x1ce)][_0x4bc0c7(0x2f8)]===0x0&&process[_0x4bc0c7(0x1f9)]['write'](_0x4bc0c7(0x31d));for(let _0x2861ca of _0x512c69[_0x4bc0c7(0x1ce)])process[_0x4bc0c7(0x321)][_0x4bc0c7(0x266)]('\x0a'+_0x2861ca['id']+_0x4bc0c7(0x3d1)+(_0x2861ca['assignedUserEmail']??_0x4bc0c7(0x1b3))+'\x20\x20'+(_0x2861ca['task']??'')+'\x0a'+(_0x2861ca[_0x4bc0c7(0x216)]?.[_0x4bc0c7(0x205)]??'')+'\x0a');_0x512c69[_0x4bc0c7(0x1ce)][_0x4bc0c7(0x2f8)]>0x0&&process[_0x4bc0c7(0x1f9)][_0x4bc0c7(0x266)](_0x4bc0c7(0x283)+_0x105ec4['product']['bin']+_0x4bc0c7(0x3e5));});return;case'show':m(_0x105ec4,await _0x11673e(_0x2f93e6,_0x1f95a2),Se);return;case _0x3dd946(0x36c):{let _0xe2de24=await _0x45a13a(_0x2f93e6,{'sessionId':_0x105ec4[_0x3dd946(0x340)],'task':_0x57608d,..._0x105ec4['contextSummary']!==void 0x0&&{'contextSummary':_0x105ec4[_0x3dd946(0x3fc)]},..._0x105ec4[_0x3dd946(0x1cd)]!==void 0x0&&{'recipient':_0x105ec4[_0x3dd946(0x1cd)]}});m(_0x105ec4,_0xe2de24,_0x2c6959=>{const _0xa38be1=_0x3dd946;_0x2c6959[_0xa38be1(0x30e)]?process[_0xa38be1(0x321)][_0xa38be1(0x266)](_0xa38be1(0x256)+_0x2c6959['delegationId']+_0xa38be1(0x2aa)+_0x2c6959[_0xa38be1(0x30e)][_0xa38be1(0x2c1)]+'\x20<'+_0x2c6959[_0xa38be1(0x30e)]['email']+_0xa38be1(0x368)):process[_0xa38be1(0x321)][_0xa38be1(0x266)](_0xa38be1(0x2f6)+_0x2c6959[_0xa38be1(0x313)]+'.\x20Share:\x20'+_0x2c6959[_0xa38be1(0x3be)]+'\x0a');});return;}case'claim':{let _0xe5282f=await _0x98460a(_0x2f93e6,_0x1f95a2);m(_0x105ec4,_0xe5282f,_0x5154c8=>{const _0x54f4c2=_0x3dd946;Se(_0x5154c8),process['stdout'][_0x54f4c2(0x266)](_0x54f4c2(0x2c6)+_0x5154c8[_0x54f4c2(0x340)]+'\x0a'),process[_0x54f4c2(0x1f9)][_0x54f4c2(0x266)](_0x54f4c2(0x1c4)+_0x105ec4[_0x54f4c2(0x3c8)]['bin']+_0x54f4c2(0x262)+_0x5154c8['sessionId']+'\x20\x22<prompt>\x22\x0aAnswer\x20with:\x20'+_0x105ec4['product'][_0x54f4c2(0x1cf)]+_0x54f4c2(0x2a0)+_0x5154c8['delegationId']+_0x54f4c2(0x257));});return;}case'complete':{let {alreadyCompleted:_0x4a42a5}=await _0x3a64f8(_0x2f93e6,_0x1f95a2,{'content':_0x57608d});m(_0x105ec4,{'delegationId':_0x1f95a2,'alreadyCompleted':_0x4a42a5},_0x1d0b0c=>{const _0x42616e=_0x3dd946;process[_0x42616e(0x321)]['write']((_0x1d0b0c[_0x42616e(0x2e2)]?_0x42616e(0x244):_0x42616e(0x371))+'\x20delegation\x20'+_0x1d0b0c[_0x42616e(0x313)]+'.\x0a');});return;}case'accept':{let _0x2bfcea=await _0x45e492(_0x2f93e6,_0x1f95a2);m(_0x105ec4,{'delegationId':_0x1f95a2,..._0x2bfcea},_0x58f4b3=>{const _0xf1b3a9=_0x3dd946;process['stdout'][_0xf1b3a9(0x266)]((_0x58f4b3['alreadyAccepted']?'Already\x20accepted':_0xf1b3a9(0x1b6))+_0xf1b3a9(0x33f)+_0x58f4b3[_0xf1b3a9(0x313)]+'.\x0a');});return;}default:{let _0xcf4ecf={'dismiss':_0x22c28b,'cancel':_0x5eba53,'delete':_0x4a8e1b}[_0x1f03c0];await _0xcf4ecf(_0x2f93e6,_0x1f95a2);let _0x3c2c23={'dismiss':'dismissed','cancel':_0x3dd946(0x354),'delete':'deleted'}[_0x1f03c0];m(_0x105ec4,{'delegationId':_0x1f95a2,[_0x3c2c23]:!0x0},()=>{const _0xcc9599=_0x3dd946;process[_0xcc9599(0x321)]['write'](''+_0x3c2c23[0x0][_0xcc9599(0x36d)]()+_0x3c2c23[_0xcc9599(0x2b0)](0x1)+_0xcc9599(0x33f)+_0x1f95a2+'.\x0a');});}}}function qn(_0x6f852a){const _0x2e1697=_0x48ae38;if(_0x6f852a['length']===0x0){process[_0x2e1697(0x1f9)][_0x2e1697(0x266)](_0x2e1697(0x2d1));return;}process['stdout']['write']('ID'[_0x2e1697(0x39e)](0x24)+'\x20\x20'+_0x2e1697(0x22c)[_0x2e1697(0x39e)](0x9)+'\x20\x20'+_0x2e1697(0x391)[_0x2e1697(0x39e)](0x18)+_0x2e1697(0x26c));for(let _0x42964c of _0x6f852a)process[_0x2e1697(0x321)]['write'](_0x42964c['id'][_0x2e1697(0x39e)](0x24)+'\x20\x20'+_0x42964c[_0x2e1697(0x308)][_0x2e1697(0x39e)](0x9)+'\x20\x20'+(_0x42964c['assignedUserEmail']??'-')[_0x2e1697(0x39e)](0x18)+'\x20\x20'+(_0x42964c[_0x2e1697(0x26a)]??'')+'\x0a');}function Se(_0x35fb14){const _0x46fe0b=_0x48ae38;process['stdout'][_0x46fe0b(0x266)](_0x46fe0b(0x35f)+(_0x35fb14['sourceUserEmail']??'-')+'\x0a'),_0x35fb14[_0x46fe0b(0x35c)]&&process['stdout'][_0x46fe0b(0x266)](_0x46fe0b(0x2c6)+_0x35fb14[_0x46fe0b(0x35c)]+'\x0a'),process['stdout'][_0x46fe0b(0x266)](_0x46fe0b(0x34c)+(_0x35fb14[_0x46fe0b(0x26a)]??'-')+'\x0a'),_0x35fb14['contextSummary']&&process[_0x46fe0b(0x321)][_0x46fe0b(0x266)]('\x0a'+_0x35fb14[_0x46fe0b(0x3fc)]+'\x0a\x0a');}async function zn(_0x31fbc7){const _0x3f9403=_0x48ae38;_0x31fbc7[_0x3f9403(0x356)][_0x3f9403(0x28b)]()||(console[_0x3f9403(0x297)]('Usage:\x20'+_0x31fbc7[_0x3f9403(0x3c8)][_0x3f9403(0x1cf)]+'\x20org-users\x20<name\x20or\x20email\x20prefix>'),process['exit'](0x2));let {client:_0x3c9919}=await x(_0x31fbc7),_0x21eb37;try{_0x21eb37=await _0x387f8a(_0x3c9919,_0x31fbc7[_0x3f9403(0x356)]);}catch(_0x19a7cd){if(!_0x260ac0(_0x19a7cd))throw _0x19a7cd;console[_0x3f9403(0x297)](_0x19a7cd['message']),process[_0x3f9403(0x2fb)](0x1);}m(_0x31fbc7,_0x21eb37,_0x56af5a=>{const _0x464070=_0x3f9403;_0x56af5a[_0x464070(0x2f8)]===0x0&&process[_0x464070(0x1f9)][_0x464070(0x266)](_0x464070(0x1ab)+_0x31fbc7[_0x464070(0x356)][_0x464070(0x28b)]()+'\x22.\x0a');for(let _0x23b9ff of _0x56af5a)process[_0x464070(0x321)]['write'](_0x23b9ff[_0x464070(0x1e9)][_0x464070(0x39e)](0x20)+'\x20\x20'+_0x23b9ff[_0x464070(0x2c1)]+'\x0a');});}async function Vn(_0x531115){const _0x5bb61b=_0x48ae38;_0x531115[_0x5bb61b(0x339)]==='localhost'&&(console[_0x5bb61b(0x297)](_0x5bb61b(0x2e8)),process[_0x5bb61b(0x2fb)](0x2));let _0x58d784=G(_0x4b2d2c()),_0x577f94=_0x531115[_0x5bb61b(0x2ac)];if(_0x531115[_0x5bb61b(0x339)]){let _0xc22456=_0x531115[_0x5bb61b(0x339)];await _0x15ee3b({'env':_0xc22456,'tenant':_0x531115[_0x5bb61b(0x355)]??q(_0x58d784,_0x3a3b9a[_0xc22456]),'skipEnvCheck':_0x577f94});return;}let _0x1a555d=_0x531115[_0x5bb61b(0x36a)]??Re();if(_0x1a555d){await _0x15ee3b({'baseUrl':_0x1a555d,'tenant':_0x531115['tenant']??q(_0x58d784,_0x1a555d),'skipEnvCheck':_0x577f94});return;}if(_0x58d784?.[_0x5bb61b(0x1ea)]){await _0x15ee3b({'baseUrl':_0x58d784[_0x5bb61b(0x1ea)],'tenant':_0x531115[_0x5bb61b(0x355)]??_0x58d784[_0x5bb61b(0x1ee)],'skipEnvCheck':_0x577f94});return;}console[_0x5bb61b(0x297)]('First\x20login\x20requires\x20--env\x20or\x20--url.\x20Usage:\x20'+_0x531115[_0x5bb61b(0x3c8)][_0x5bb61b(0x1cf)]+_0x5bb61b(0x25a)+_0x531115[_0x5bb61b(0x3c8)][_0x5bb61b(0x1cf)]+_0x5bb61b(0x353)),process[_0x5bb61b(0x2fb)](0x2);}function q(_0xe4be06,_0x482b60){const _0x11a9ea=_0x48ae38;return _0xe4be06?.[_0x11a9ea(0x1ea)]&&Yn(_0xe4be06[_0x11a9ea(0x1ea)],_0x482b60)?_0xe4be06[_0x11a9ea(0x1ee)]:void 0x0;}function Yn(_0xb57d0f,_0x3a14cc){const _0x589b63=_0x48ae38;try{return new URL(_0xb57d0f)[_0x589b63(0x2d8)]===new URL(_0x3a14cc)['origin'];}catch{return!0x1;}}async function Xn(_0x13885f,_0x6ec704){const _0x330ebc=_0x48ae38;Y()&&(console[_0x330ebc(0x297)]('Auth\x20comes\x20from\x20AUTH_TOKEN/TENANT_ID/ORG_ID\x20—\x20set\x20TENANT_ID\x20and\x20TENANT_SLUG\x20to\x20change\x20the\x20tenant.'),process[_0x330ebc(0x2fb)](0x2));let _0x4370ea=await _0xbb3333();if(_0x4370ea||(console[_0x330ebc(0x297)](Zn(_0x6ec704)),process[_0x330ebc(0x2fb)](0x2)),_0x13885f[_0x330ebc(0x28b)]()){let _0xb39382=await _0xdaf3cc(_0x4370ea,_0x13885f);_0x3363f8(_0xb39382)||(console[_0x330ebc(0x297)](_0x330ebc(0x2d9)+_0x4b2d2c()+_0x330ebc(0x30d)+_0x4370ea[_0x330ebc(0x1ee)]+'.'),process[_0x330ebc(0x2fb)](0x1)),console['log'](_0x330ebc(0x222)+_0xb39382[_0x330ebc(0x1ee)]+'\x20('+_0xb39382[_0x330ebc(0x3de)]+')\x20—\x20saved\x20to\x20'+_0x4b2d2c());return;}eo(await _0xf995fe(_0x4370ea),_0x4370ea,_0x6ec704);}function Zn(_0xafd95c){const _0x3fab1f=_0x48ae38;if(_0x3d1a15['existsSync'](_0x4b2d2c()))return _0x3fab1f(0x1e1)+_0xafd95c+_0x3fab1f(0x299);let _0x100c68=V();return G(_0x100c68)?_0x3fab1f(0x394)+_0x100c68+',\x20whose\x20tenant\x20is\x20chosen\x20in\x20the\x20app.\x20Run\x20`'+_0xafd95c+_0x3fab1f(0x1c5):'No\x20CLI\x20login\x20found.\x20Run\x20`'+_0xafd95c+_0x3fab1f(0x3af);}function eo(_0x389202,_0x2fa604,_0x40636d){const _0x8a1163=_0x48ae38;let _0x5d0fcf=_0x389202[_0x8a1163(0x28f)](_0x338745=>_0x338745['id']===_0x2fa604[_0x8a1163(0x3de)]?'*\x20'+_0x338745[_0x8a1163(0x232)]+_0x8a1163(0x33e):'\x20\x20'+_0x338745[_0x8a1163(0x232)]);process[_0x8a1163(0x321)][_0x8a1163(0x266)]('Tenants\x20of\x20'+(_0x2fa604[_0x8a1163(0x3ee)]??_0x2fa604[_0x8a1163(0x35b)])+':\x0a'+_0x5d0fcf[_0x8a1163(0x1f8)]('\x0a')+'\x0a'),_0x389202['length']>0x1&&process[_0x8a1163(0x321)]['write']('Switch\x20with:\x20'+_0x40636d+_0x8a1163(0x292));}function to(_0x15021a){const _0x406b38=_0x48ae38;return _0x15021a?.['response']?.[_0x406b38(0x308)]===0x191||/401/['test'](String(_0x15021a?.[_0x406b38(0x2a8)]??''));}function Ae(_0x335a2e,_0x47d681,_0x237362,_0x418e9f){const _0x1e7355=_0x48ae38;let _0x3b1cdb=_0x335a2e[_0x1e7355(0x272)]||process.env.MODEL;return{'backendUrl':_0x237362,'auth':_0x47d681,'enableComputerUse':!_0x335a2e[_0x1e7355(0x2ec)]&&!_0x335a2e[_0x1e7355(0x1ef)],'autoSpawnInterop':!_0x335a2e[_0x1e7355(0x2ec)],'enableConnections':!_0x335a2e[_0x1e7355(0x25e)],'enableSecurity':!_0x335a2e[_0x1e7355(0x215)],'keepInteropAlive':_0x335a2e['keepAlive'],..._0x418e9f[_0x1e7355(0x31b)]?{'enableBackgroundCommands':!0x1}:{},..._0x335a2e[_0x1e7355(0x3bb)]?{'enableMemory':!0x1}:{},..._0x335a2e[_0x1e7355(0x34b)]?{'enableTaskAutomation':!0x0}:{},..._0x335a2e[_0x1e7355(0x1d5)][_0x1e7355(0x2f8)]>0x0?{'preloadSkills':_0x335a2e[_0x1e7355(0x1d5)]}:{},..._0x3b1cdb?{'model':_0x3b1cdb}:{},..._0x335a2e['projectId']?{'projectId':_0x335a2e['projectId']}:{},..._0x335a2e[_0x1e7355(0x38e)]?{'vertical':_0x335a2e[_0x1e7355(0x38e)]}:{},..._0x335a2e[_0x1e7355(0x1bc)]?{'workingDirectory':_0x335a2e[_0x1e7355(0x1bc)]}:{},..._0x335a2e[_0x1e7355(0x1c8)]?{'bundledSkillsPath':_0x335a2e[_0x1e7355(0x1c8)]}:{},..._0x335a2e[_0x1e7355(0x3c6)]?{'effort':_0x335a2e[_0x1e7355(0x3c6)]}:{},..._0x335a2e[_0x1e7355(0x340)]?{'sessionId':_0x335a2e['sessionId']}:{},..._0x335a2e['verbose']?{'verbose':!0x0}:{},..._0x335a2e[_0x1e7355(0x3c8)]['agentName']?{'agentName':_0x335a2e[_0x1e7355(0x3c8)]['agentName']}:{}};}async function no(_0xfbe9e){const _0x2a3414=_0x48ae38;let _0x2df89d=_0xfbe9e[_0x2a3414(0x27e)]!=='text',_0x2d4831=_0xfbe9e[_0x2a3414(0x3b4)]===void 0x0?null:Oe(_0xfbe9e[_0x2a3414(0x3b4)],_0xfbe9e[_0x2a3414(0x3c8)][_0x2a3414(0x1cf)]),_0x1d1372=!_0x2df89d&&!_0x2d4831&&!_0xfbe9e[_0x2a3414(0x1ca)]&&_0xfbe9e['prompt']!=='-'&&!!process[_0x2a3414(0x240)]['isTTY']&&!!process[_0x2a3414(0x321)][_0x2a3414(0x1bb)],_0x2c3b2e=_0xfbe9e['inputFormat']===_0x2a3414(0x20a)?ce(process[_0x2a3414(0x240)],_0x2d3e7b=>{const _0x2deea8=_0x2a3414;process['stderr']['write'](_0x2d3e7b[_0x2deea8(0x2a8)]+_0x2deea8(0x1e5));}):null,_0x18cb0b=_0x2c3b2e?(await _0x2c3b2e[_0x2a3414(0x31e)]())[_0x2a3414(0x2d0)]:void 0x0,_0x3dce44=_0x2c3b2e?_0x18cb0b?.['text']??'':_0x1d1372?_0xfbe9e[_0x2a3414(0x356)][_0x2a3414(0x28b)]():await H(_0xfbe9e[_0x2a3414(0x356)],process[_0x2a3414(0x240)]);if(!_0x1d1372&&!_0x3dce44&&(console[_0x2a3414(0x297)](_0x2a3414(0x294)+_0xfbe9e[_0x2a3414(0x3c8)]['bin']+_0x2a3414(0x326)),process[_0x2a3414(0x2fb)](0x2)),!_0x2df89d){await xe(_0xfbe9e,_0x3dce44,_0x1d1372,null,_0x2d4831,null);return;}let _0x1d7dba=!0x1,_0x2a4f27=_0x51286f=>{const _0x535658=_0x2a3414;_0x1d7dba=!0x0,O(_0x25a3b9(_0x51286f)),(_0x51286f[_0x535658(0x29a)]||_0x51286f[_0x535658(0x3bf)])&&(process[_0x535658(0x38a)]=0x1);},_0x3aebec=Date[_0x2a3414(0x2ce)]();try{await xe(_0xfbe9e,_0x3dce44,!0x1,_0x2a4f27,_0x2d4831,_0x2c3b2e?{'messages':_0x2c3b2e,'first':_0x18cb0b,'close':()=>{const _0x1eda7b=_0x2a3414;process[_0x1eda7b(0x240)][_0x1eda7b(0x24e)]();}}:null);}catch(_0x25f343){if(_0x1d7dba)throw _0x25f343;process[_0x2a3414(0x1f9)][_0x2a3414(0x266)]((_0x25f343 instanceof Error?_0x25f343[_0x2a3414(0x1a9)]??_0x25f343[_0x2a3414(0x2a8)]:String(_0x25f343))+'\x0a'),_0x2a4f27(new _0x128d86(_0x3aebec)[_0x2a3414(0x3ba)]({'endedAtMs':Date['now'](),'usage':[],'error':_0x25f343}));}finally{_0x2c3b2e&&(process[_0x2a3414(0x240)][_0x2a3414(0x24e)](),_0x2c3b2e[_0x2a3414(0x37a)](void 0x0));}}async function xe(_0x6f7c6d,_0x3bbca8,_0x195326,_0x15ac4b,_0x42ef36,_0x45d2ae){const _0x1c4fea=_0x48ae38;y={'lastType':null,'quiet':_0x6f7c6d[_0x1c4fea(0x310)],'bin':_0x6f7c6d[_0x1c4fea(0x3c8)][_0x1c4fea(0x1cf)]};let _0x485cae=new Set(),_0x2c0cb0,_0x31309b=_0x175316=>{const _0x6835fa=_0x1c4fea;(!_0x15ac4b||_0x175316[_0x6835fa(0x3a8)]===_0x6835fa(0x329)||_0x175316[_0x6835fa(0x3a8)]===_0x6835fa(0x1db))&&(_0x2c0cb0??Le)(_0x175316);for(let _0x3a0ff5 of _0x485cae)_0x3a0ff5(_0x175316);},_0x4ad37b=await X(_0x6f7c6d[_0x1c4fea(0x3c8)][_0x1c4fea(0x1cf)]),_0x5d1b53=new _0x2c8a41();_0x5d1b53[_0x1c4fea(0x2be)](_0x31309b);let _0x5451f0=_0x4d9c2c(_0x6f7c6d[_0x1c4fea(0x339)],_0x4ad37b,_0x6f7c6d[_0x1c4fea(0x39d)]);Z(_0x6f7c6d[_0x1c4fea(0x339)],_0x6f7c6d['backendUrl'],_0x5451f0);let _0x32617f={'input':null},_0x4ec0d7=_0x195326?re(()=>_0x32617f['input'],_0x3913e9=>{const _0x54da1d=_0x1c4fea;process['stderr'][_0x54da1d(0x266)](_0x3913e9);}):null,_0x25d695=_0x323051=>_0x4ec0d7?{..._0x323051,'askUser':_0x4ec0d7}:_0x323051,_0x1b7e0e=_0x25d695(Ae(_0x6f7c6d,_0x4ad37b,_0x5451f0,{'oneTurn':!_0x195326})),_0x2fba5f=!0x1,_0x4927d4=!0x1,_0x36306b,_0x172faf=()=>_0x36306b??=_0x5d1b53[_0x1c4fea(0x27f)](),_0x128f1f=()=>{const _0x159621=_0x1c4fea;_0x4927d4&&process[_0x159621(0x2fb)](0x82),_0x4927d4=!0x0,process[_0x159621(0x1f9)][_0x159621(0x266)](_0x159621(0x33c)),_0x2fba5f&&_0x5d1b53[_0x159621(0x335)]()[_0x159621(0x316)](_0x5dbee7=>console['error'](_0x5dbee7))[_0x159621(0x27c)](_0x172faf)['then'](()=>process[_0x159621(0x2fb)](0x82),_0x1bd9ca=>{const _0x26b89e=_0x159621;console[_0x26b89e(0x297)](_0x1bd9ca),process[_0x26b89e(0x2fb)](0x82);});};process['on'](_0x1c4fea(0x24c),_0x128f1f);let _0x1d0ef1=_0x6f7c6d[_0x1c4fea(0x3da)],_0x31c9a5=async _0xc986e5=>{const _0x4e97a2=_0x1c4fea;let _0x59fa20=_0x1d0ef1;_0x1d0ef1=[];let _0x13a479=()=>_0x5d1b53['sendMessage'](_0xc986e5,{'attachments':_0x59fa20});try{return await _0x13a479();}catch(_0x53f39a){if(_0x4927d4||!to(_0x53f39a)||!process[_0x4e97a2(0x240)][_0x4e97a2(0x1bb)]||_0x6f7c6d[_0x4e97a2(0x339)]===_0x4e97a2(0x258)||!(_0x6f7c6d['env']||_0x4ad37b[_0x4e97a2(0x1ea)]))throw _0x53f39a;process[_0x4e97a2(0x1f9)][_0x4e97a2(0x266)](_0x4e97a2(0x383));let _0x53afbc=_0x5d1b53[_0x4e97a2(0x3b0)]()??_0x6f7c6d['sessionId'],_0x3818cd=await _0x15ee3b(_0x6f7c6d[_0x4e97a2(0x339)]?{'env':_0x6f7c6d[_0x4e97a2(0x339)],'tenant':q(_0x4ad37b,_0x3a3b9a[_0x6f7c6d['env']]),'skipEnvCheck':!0x0}:{'baseUrl':_0x4ad37b[_0x4e97a2(0x1ea)],'tenant':_0x4ad37b['tenantName'],'skipEnvCheck':!0x0}),_0x20f45e={'text':'','failed':!0x1,'sessionId':_0x53afbc};return _0x4927d4||(_0x2fba5f=!0x1,await _0x172faf(),_0x4927d4)?_0x20f45e:(_0x5d1b53=new _0x2c8a41(),_0x36306b=void 0x0,_0x5d1b53[_0x4e97a2(0x2be)](_0x31309b),_0x4ad37b=_0x3818cd,await _0x5d1b53[_0x4e97a2(0x3b6)]({..._0x25d695(Ae(_0x6f7c6d,_0x4ad37b,_0x5451f0,{'oneTurn':!_0x195326})),..._0x53afbc?{'sessionId':_0x53afbc}:{}}),_0x2fba5f=!0x0,_0x4927d4?_0x20f45e:_0x13a479());}};try{if(await _0x5d1b53[_0x1c4fea(0x3b6)](_0x1b7e0e),_0x2fba5f=!0x0,_0x4927d4)return;if(_0x195326)await ro({'prompt':_0x3bbca8,'sendMessage':_0x31c9a5,'onSigint':_0x128f1f,'setAnswerInput':_0x3335b7=>{const _0x22819a=_0x1c4fea;_0x32617f[_0x22819a(0x384)]=_0x3335b7;},'registerEventPrinter':_0x2efdc0=>(_0x2c0cb0=_0x2efdc0,()=>{_0x2c0cb0=void 0x0;})});else{if(_0x15ac4b||_0x42ef36){let _0x15a6d1=_0x6f7c6d['outputFormat']==='stream-json'?_0x2236c1=>O(_0x106812(_0x2236c1)):()=>{},_0x2d11bc=_0x45d2ae?de({'input':_0x45d2ae,'getAgent':()=>_0x5d1b53,'replay':_0x6f7c6d['replayUserMessages'],'onEvent':_0x85e18a=>(_0x485cae[_0x1c4fea(0x2fe)](_0x85e18a),()=>{const _0x56a408=_0x1c4fea;_0x485cae[_0x56a408(0x2d7)](_0x85e18a);}),'write':O,'isRunStopNotice':_0x54baf2,'actionableErrorText':_0x275372,'warn':_0x330f3c=>{const _0x2c8234=_0x1c4fea;process[_0x2c8234(0x1f9)][_0x2c8234(0x266)](_0x330f3c);}}):null,_0x19893d=await _0x57fe7e({'onEvent':_0x11733d=>(_0x485cae['add'](_0x11733d),()=>{const _0x427551=_0x1c4fea;_0x485cae[_0x427551(0x2d7)](_0x11733d);}),'sendMessage':async _0x207cd9=>{const _0x12021d=_0x1c4fea;try{let _0x3a1e76=await _0x31c9a5(_0x207cd9);return _0x2d11bc?await _0x2d11bc[_0x12021d(0x319)](_0x3a1e76):_0x3a1e76;}finally{_0x2d11bc?.[_0x12021d(0x328)]();}},'getSessionId':()=>_0x5d1b53['getSessionId'](),'getTurnUsageHistory':_0x32cf07=>_0x5d1b53[_0x1c4fea(0x1b2)](_0x32cf07),'complete':_0x5f55bc=>_0x5d1b53[_0x1c4fea(0x300)](_0x5f55bc)},_0x3bbca8,void 0x0,_0x15a6d1,_0x42ef36?{'outputSchema':_0x42ef36}:void 0x0);_0x15ac4b?_0x15ac4b(_0x19893d):oo(_0x19893d);}else await _0x31c9a5(_0x3bbca8);}}catch(_0x37cd0c){if(!_0x4927d4)throw _0x37cd0c;}finally{try{await _0x172faf();}finally{process['off'](_0x1c4fea(0x24c),_0x128f1f),_0x4927d4&&(process[_0x1c4fea(0x38a)]=0x82);}}}function oo(_0x15e572){const _0x2859fe=_0x48ae38;_0x15e572[_0x2859fe(0x3bf)]?(console[_0x2859fe(0x297)](_0x2859fe(0x1a7)+_0x15e572['structuredError'][_0x2859fe(0x2a8)]),process[_0x2859fe(0x38a)]=0x1):_0x15e572['isError']?(console[_0x2859fe(0x297)](_0x2859fe(0x3cb)+_0x15e572[_0x2859fe(0x297)]+').'),process[_0x2859fe(0x38a)]=0x1):process[_0x2859fe(0x321)][_0x2859fe(0x266)](JSON[_0x2859fe(0x1fc)](_0x15e572[_0x2859fe(0x1b7)],null,0x2)+'\x0a');}function so(_0x3fe04a,_0x42c023){const _0xef9ecb=_0x48ae38;let _0x34316f=process[_0xef9ecb(0x321)][_0xef9ecb(0x266)]['bind'](process[_0xef9ecb(0x321)]),_0x368347=!0x1;return process[_0xef9ecb(0x321)][_0xef9ecb(0x266)]=(..._0x4fbd24)=>{if(!_0x368347)return _0x34316f(..._0x4fbd24);_0x4736c8(_0x42c023,0x0),_0x58f16c(_0x42c023,0x0);let _0x4c0dda=_0x34316f(..._0x4fbd24);return _0x3fe04a['prompt'](!0x0),_0x4c0dda;},{'show':()=>{const _0x3f24d3=_0xef9ecb;_0x368347=!0x0,_0x3fe04a[_0x3f24d3(0x356)]();},'hide':()=>{_0x368347=!0x1;},'erase':()=>{_0x368347&&(_0x4736c8(_0x42c023,0x0),_0x58f16c(_0x42c023,0x0)),_0x368347=!0x1;},'restore':()=>{const _0x4b07b8=_0xef9ecb;_0x368347=!0x1,process[_0x4b07b8(0x321)][_0x4b07b8(0x266)]=_0x34316f;}};}async function ro({prompt:_0x38834b,sendMessage:_0x2e450a,onSigint:_0x217d00,setAnswerInput:_0x575144,registerEventPrinter:_0x5ce859}){const _0x5888d8=_0x48ae38;let _0x3c4bdd=_0x3ba088({'input':process[_0x5888d8(0x240)],'output':process[_0x5888d8(0x1f9)],'terminal':!0x0,'prompt':_0x5888d8(0x32b)}),_0x49bc16=so(_0x3c4bdd,process[_0x5888d8(0x1f9)]),_0x21aa74=[],_0x22b8f4,_0x12eac9,_0x5e7c23,_0x158291=!0x1,_0x4a66f8=!0x1,_0x1e2f1d=!0x1,_0x66574e=Promise['resolve'](),_0x13b37e,_0x26394f=_0x5ce859(_0x1aa1d4=>{const _0x4b1e01=_0x5888d8;_0x1aa1d4[_0x4b1e01(0x3a8)]===_0x4b1e01(0x329)&&(_0x49bc16[_0x4b1e01(0x375)](),_0x66574e=new Promise(_0x8f1468=>{_0x13b37e=_0x8f1468;})),Le(_0x1aa1d4),_0x1aa1d4[_0x4b1e01(0x3a8)]==='done'&&(_0x13b37e?.(),_0x13b37e=void 0x0,!_0x1e2f1d&&!_0x158291&&_0x49bc16[_0x4b1e01(0x362)]());}),_0x123929=()=>{_0x4a66f8=!0x0,_0x13b37e?.(),_0x217d00(),_0x3c4bdd['close']();};_0x3c4bdd['on'](_0x5888d8(0x233),_0x3ae074=>{const _0x368940=_0x5888d8;_0x5e7c23?_0x5e7c23(_0x3ae074):_0x22b8f4?_0x22b8f4[_0x368940(0x337)](_0x3ae074):_0x12eac9?_0x12eac9(_0x3ae074):_0x21aa74['push'](_0x3ae074);}),_0x3c4bdd[_0x5888d8(0x21a)](_0x5888d8(0x1cb),()=>{_0x158291=!0x0,_0x49bc16['hide'](),_0x22b8f4&&!_0x4a66f8&&_0x123929(),_0x12eac9?.(null);});let _0x48e4b9=()=>_0x21aa74[_0x5888d8(0x2f8)]>0x0?Promise['resolve'](_0x21aa74[_0x5888d8(0x35a)]()):_0x158291?Promise[_0x5888d8(0x32c)](null):new Promise(_0x4494fe=>{_0x12eac9=_0x18b98=>{_0x12eac9=void 0x0,_0x4494fe(_0x18b98);};});_0x575144({'readLine':(_0x4f981d,_0x19904e)=>new Promise((_0x2c701e,_0x122076)=>{const _0x3073fd=_0x5888d8;if(_0x158291&&!_0x22b8f4){_0x2c701e(null);return;}_0x22b8f4??=[];let _0x2bb35d=_0x22b8f4['shift']();if(_0x2bb35d!==void 0x0){_0x2c701e(_0x2bb35d);return;}let _0x2d6190=()=>{const _0x509908=_0x4cd9;_0x5e7c23=void 0x0,_0x19904e[_0x509908(0x210)](_0x509908(0x20c),_0x5c0af5),_0x49bc16[_0x509908(0x345)](),_0x3c4bdd[_0x509908(0x23e)](_0x509908(0x32b));},_0x5c0af5=()=>{_0x2d6190(),_0x122076(new Error('The\x20turn\x20was\x20cancelled.'));};_0x19904e[_0x3073fd(0x38b)]('abort',_0x5c0af5,{'once':!0x0}),!_0x158291&&(_0x5e7c23=_0x3597ee=>{_0x2d6190(),_0x2c701e(_0x3597ee);},_0x3c4bdd[_0x3073fd(0x23e)](_0x4f981d),_0x49bc16[_0x3073fd(0x362)]());}),'endQuestions':()=>{const _0x28e052=_0x5888d8;_0x22b8f4&&_0x21aa74[_0x28e052(0x337)](..._0x22b8f4),_0x22b8f4=void 0x0;}}),_0x3c4bdd['on']('SIGINT',_0x123929),process[_0x5888d8(0x1f9)][_0x5888d8(0x266)]('Enter\x20sends\x20a\x20message.\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a');let _0x4d9271=async _0x18fdf0=>{_0x1e2f1d=!0x0;try{await _0x2e450a(_0x18fdf0);}finally{_0x1e2f1d=!0x1;}};try{if(_0x38834b&&await _0x4d9271(_0x38834b),_0x4a66f8)return;!_0x158291&&!_0x13b37e&&_0x49bc16[_0x5888d8(0x362)]();for(let _0x32fd07=await _0x48e4b9();_0x32fd07!==null&&(_0x49bc16[_0x5888d8(0x345)](),!_0x4a66f8);_0x32fd07=await _0x48e4b9()){let _0x1781fa=_0x32fd07[_0x5888d8(0x28b)]();if(_0x1781fa==='/exit')break;_0x1781fa&&await _0x4d9271(_0x1781fa),!_0x158291&&!_0x13b37e&&_0x49bc16['show']();}for(;!_0x4a66f8&&_0x13b37e;)await _0x66574e;}finally{_0x575144(null),_0x26394f(),_0x49bc16[_0x5888d8(0x2f2)](),_0x3c4bdd[_0x5888d8(0x3ac)](_0x5888d8(0x24c),_0x123929),_0x3c4bdd[_0x5888d8(0x1cb)]();}}async function Fe(_0x506102,_0x246166){await io(_0x506102,_0x246166)['done'];}function io(_0xf5d2cd,_0x483126){const _0x44f449=_0x48ae38;let _0x662c13=dn(_0x483126,_0xf5d2cd);if(_0x662c13[_0x44f449(0x27e)]===_0x44f449(0x3a6))return{'done':Ee(_0x662c13),'releaseStdout':()=>{}};let _0x376a00=un();return{'done':Ee(_0x662c13),'releaseStdout':_0x376a00};}async function Ee(_0x5cd283){const _0x2dccca=_0x48ae38;if(_0x5cd283[_0x2dccca(0x39c)]){pn(_0x5cd283[_0x2dccca(0x3c8)]);return;}if(_0x5cd283['version']){console[_0x2dccca(0x304)](fn());return;}if(_0x5cd283[_0x2dccca(0x24d)]){await _0x5cd283['command']['run'](_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]==='login'){await Vn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x355)){await Xn(_0x5cd283['prompt'],_0x5cd283['product'][_0x2dccca(0x1cf)]);return;}if(_0x5cd283[_0x2dccca(0x341)]==='logout'){await wn();return;}if(_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x3f1)){await bn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]==='models'){await Sn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]==='check'){await Nn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x3e6)){await xn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x251)){await Rn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]==='evaluate'||_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x2e6)||_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x2a4)){await Fn(_0x5cd283,_0x5cd283[_0x2dccca(0x341)]);return;}if(_0x5cd283['subcommand']===_0x2dccca(0x300)){await jn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]===_0x2dccca(0x30c)){await Gn(_0x5cd283);return;}if(_0x5cd283[_0x2dccca(0x341)]==='delegations'){await Qn(_0x5cd283);return;}if(_0x5cd283['subcommand']===_0x2dccca(0x2b5)){await zn(_0x5cd283);return;}if(_0x5cd283['subcommand']===_0x2dccca(0x35e)){await _0x35dfd8(_0x5cd283[_0x2dccca(0x356)],{'cliName':_0x5cd283[_0x2dccca(0x3c8)][_0x2dccca(0x1cf)],'runnerUrl':_0x5cd283['runnerUrl'],'backendUrl':_0x5cd283[_0x2dccca(0x39d)],'interopPath':_0x5cd283['interopPath'],'workerId':_0x5cd283['workerId']});return;}if(_0x5cd283[_0x2dccca(0x298)]){await $n();return;}await no(_0x5cd283);}function Me(_0x50e4f6){const _0xed95fc=_0x48ae38;let _0x396155=_0x50e4f6;console[_0xed95fc(0x297)](_0x396155?.['stack']||_0x396155?.[_0xed95fc(0x2a8)]||_0x50e4f6),process[_0xed95fc(0x2fb)](0x1);}var ln,cn,he,O,ye,gn,be,Pn,ve,$e,y,Le,je=L(()=>{const _0x46c2a2=_0x48ae38;ie(),Q(),ue(),(ln=[_0x46c2a2(0x2bd),'tenant','models','host',_0x46c2a2(0x36f),_0x46c2a2(0x3f1),_0x46c2a2(0x1f3),_0x46c2a2(0x3e6),_0x46c2a2(0x251),'evaluate','rerank',_0x46c2a2(0x2a4),_0x46c2a2(0x300),_0x46c2a2(0x30c),_0x46c2a2(0x2ea),_0x46c2a2(0x2b5)],cn=['',_0x46c2a2(0x361),_0x46c2a2(0x3f1),_0x46c2a2(0x1f3),_0x46c2a2(0x3e6),_0x46c2a2(0x251),_0x46c2a2(0x29d),_0x46c2a2(0x2e6),_0x46c2a2(0x2a4),_0x46c2a2(0x300),_0x46c2a2(0x30c),_0x46c2a2(0x2ea),'org-users'],he=['low',_0x46c2a2(0x3f8),_0x46c2a2(0x23f),_0x46c2a2(0x3ad),_0x46c2a2(0x338)]),O=_0x18e7ad=>{const _0x3edfbc=_0x46c2a2;process[_0x3edfbc(0x321)][_0x3edfbc(0x266)](_0x18e7ad);},ye=0x27,gn=0x7d0,be=['list',_0x46c2a2(0x362),'rename',_0x46c2a2(0x2d7),_0x46c2a2(0x335),_0x46c2a2(0x3c9)],Pn=['',_0x46c2a2(0x23b),'daily'],(ve=[_0x46c2a2(0x364),_0x46c2a2(0x3ab),_0x46c2a2(0x362),_0x46c2a2(0x36c),_0x46c2a2(0x39a),_0x46c2a2(0x300),_0x46c2a2(0x3ca),'dismiss','cancel',_0x46c2a2(0x2d7)],$e={'list':_0x46c2a2(0x2f1),'pending':_0x46c2a2(0x366),'show':_0x46c2a2(0x1c0),'create':'delegations\x20create\x20--session\x20<id>\x20[--to\x20<email|name>]\x20[--summary\x20<text>]\x20\x22<task>\x22|-','claim':'delegations\x20claim\x20<delegation-id|delegate://delegation/…>','complete':_0x46c2a2(0x2bc),'accept':_0x46c2a2(0x264),'dismiss':_0x46c2a2(0x37d),'cancel':'delegations\x20cancel\x20<delegation-id>','delete':_0x46c2a2(0x1c2)}),(y={'lastType':null,'quiet':!0x1,'bin':''},Le=_0x341578=>{const _0x23e943=_0x46c2a2;switch(_0x341578['type']){case _0x23e943(0x329):_0x341578[_0x23e943(0x340)]&&_0x341578[_0x23e943(0x340)]!==y[_0x23e943(0x340)]&&(process[_0x23e943(0x1f9)]['write'](_0x23e943(0x228)+_0x341578[_0x23e943(0x340)]+_0x23e943(0x2bb)+_0x341578['sessionId']+')\x0a'),y[_0x23e943(0x340)]=_0x341578[_0x23e943(0x340)]);break;case _0x23e943(0x1db):_0x341578['turnId']&&_0x341578[_0x23e943(0x3d7)]!==y[_0x23e943(0x3d7)]&&(y[_0x23e943(0x1bf)]!==null&&process[_0x23e943(0x1f9)][_0x23e943(0x266)]('\x0a'),process[_0x23e943(0x1f9)][_0x23e943(0x266)](_0x23e943(0x367)+_0x341578[_0x23e943(0x3d7)]+_0x23e943(0x263)+y['bin']+_0x23e943(0x39b)+_0x341578['sessionId']+_0x23e943(0x1b0)+_0x341578[_0x23e943(0x3d7)]+')\x0a'),y[_0x23e943(0x3d7)]=_0x341578['turnId'],y[_0x23e943(0x1bf)]='turn_start');break;case _0x23e943(0x3c0):_0x341578[_0x23e943(0x205)]&&!y[_0x23e943(0x310)]&&(y[_0x23e943(0x1bf)]!==_0x23e943(0x3c0)&&process['stderr'][_0x23e943(0x266)](_0x23e943(0x390)),process[_0x23e943(0x1f9)][_0x23e943(0x266)](_0x341578[_0x23e943(0x205)]),y[_0x23e943(0x1bf)]='thinking');break;case _0x23e943(0x1cc):y['lastType']!==null&&process['stderr'][_0x23e943(0x266)]('\x0a'),process[_0x23e943(0x1f9)][_0x23e943(0x266)](_0x23e943(0x1da)+(_0x341578[_0x23e943(0x3b2)]??_0x23e943(0x3c4))+'\x0a'),y['lastType']=_0x23e943(0x1cc);break;case'message':_0x341578[_0x23e943(0x205)]&&(y[_0x23e943(0x1bf)]!==_0x23e943(0x2a8)&&y[_0x23e943(0x1bf)]!==null&&process[_0x23e943(0x321)]['write']('\x0a'),process[_0x23e943(0x321)][_0x23e943(0x266)](_0x341578[_0x23e943(0x205)]),y[_0x23e943(0x1bf)]=_0x23e943(0x2a8));break;case _0x23e943(0x297):y[_0x23e943(0x1bf)]!==null&&process[_0x23e943(0x1f9)][_0x23e943(0x266)]('\x0a'),process[_0x23e943(0x1f9)]['write']('✗\x20'+(_0x341578[_0x23e943(0x297)]??'error')+'\x0a'),y[_0x23e943(0x1bf)]=_0x23e943(0x297);break;case _0x23e943(0x2c8):(y['lastType']===_0x23e943(0x2a8)||y[_0x23e943(0x1bf)]===_0x23e943(0x3c0))&&process[_0x23e943(0x321)][_0x23e943(0x266)]('\x0a'),process[_0x23e943(0x1f9)][_0x23e943(0x266)](_0x23e943(0x403)),y[_0x23e943(0x1bf)]=_0x23e943(0x2c8);break;}});}),Be,Je=L(()=>{const _0x5784c9=_0x48ae38;Be={'bin':'delegate-cli','title':_0x5784c9(0x2fa)};}),ao=Qe(()=>{const _0x3b35d8=_0x48ae38;ne(),je(),Je();var _0xf79b99=process['argv'][_0x3b35d8(0x2b0)](0x2),_0x1c1b5d=te(_0xf79b99,process[_0x3b35d8(0x396)]);_0x1c1b5d!==void 0x0&&(console[_0x3b35d8(0x297)](_0x1c1b5d),process[_0x3b35d8(0x2fb)](0x2)),Fe(Be,_0xf79b99)[_0x3b35d8(0x316)](Me);});export default ao();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/delegate-cli",
3
- "version": "1.208.0-preview.20261203181205",
3
+ "version": "1.208.0-preview.20261204131406",
4
4
  "description": "UiPath Delegate CLI - drive the Delegate agent from the terminal. Wraps @uipath/delegate-sdk; installing this package pulls the SDK in — no separate install.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "commonjs",
@@ -22,7 +22,7 @@
22
22
  "publish:npmjs": "npm publish --@uipath:registry=https://registry.npmjs.org/ --access public --ignore-scripts"
23
23
  },
24
24
  "dependencies": {
25
- "@uipath/delegate-sdk": "1.208.0-preview.20261203181205"
25
+ "@uipath/delegate-sdk": "1.208.0-preview.20261204131406"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.0.0",