@uipath/skills 1.198.0-preview.21 → 1.199.0-preview.106

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 (395) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CODEOWNERS +4 -2
  4. package/hooks/send-telemetry.ps1 +19 -13
  5. package/hooks/send-telemetry.sh +19 -13
  6. package/package.json +1 -1
  7. package/skills/uipath-admin/SKILL.md +10 -7
  8. package/skills/uipath-admin/references/audit-commands.md +21 -10
  9. package/skills/uipath-admin/references/audit-workflow-guide.md +15 -6
  10. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +6 -1
  11. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +7 -1
  12. package/skills/uipath-agents/references/coded/embedding-in-flows.md +5 -5
  13. package/skills/uipath-agents/references/coded/flow-integration.md +1 -1
  14. package/skills/uipath-agents/references/coded/quickstart.md +3 -3
  15. package/skills/uipath-agents/references/coded-vs-lowcode-guide.md +1 -1
  16. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +39 -2
  17. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +36 -2
  18. package/skills/uipath-agents/references/lowcode/capabilities/process/process.md +4 -4
  19. package/skills/uipath-agents/references/lowcode/capabilities/process/solution-files.md +1 -1
  20. package/skills/uipath-agents/references/lowcode/critical-rules/critical-rules.md +1 -1
  21. package/skills/uipath-agents/references/lowcode/project-lifecycle.md +19 -9
  22. package/skills/uipath-agents/references/lowcode/solution-resources.md +2 -2
  23. package/skills/uipath-api-workflow/SKILL.md +14 -7
  24. package/skills/uipath-api-workflow/references/cli-reference.md +2 -2
  25. package/skills/uipath-api-workflow/references/connector-activity-discovery.md +1 -1
  26. package/skills/uipath-api-workflow/references/expressions-and-context.md +2 -2
  27. package/skills/uipath-api-workflow/references/operating-published-workflows.md +74 -0
  28. package/skills/uipath-api-workflow/references/task-types.md +3 -3
  29. package/skills/uipath-api-workflow/references/troubleshooting.md +23 -10
  30. package/skills/uipath-coded-apps/SKILL.md +3 -3
  31. package/skills/uipath-coded-apps/assets/scripts/dashboards/build-dashboard.mjs +2 -2
  32. package/skills/uipath-coded-apps/references/create-action-app.md +11 -3
  33. package/skills/uipath-coded-apps/references/create-web-app.md +9 -7
  34. package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +3 -1
  35. package/skills/uipath-coded-apps/references/dashboards/plugins/deploy/impl.md +145 -87
  36. package/skills/uipath-coded-apps/references/dashboards/primitives/state-file.md +2 -2
  37. package/skills/uipath-coded-apps/references/debug.md +44 -37
  38. package/skills/uipath-coded-apps/references/oauth-client-setup.md +69 -616
  39. package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +1 -1
  40. package/skills/uipath-coded-apps/references/sdk/data-fabric.md +3 -1
  41. package/skills/uipath-coded-apps/references/widgets/validation-station.md +169 -13
  42. package/skills/uipath-feedback/SKILL.md +12 -6
  43. package/skills/uipath-governance/references/auth-context.md +1 -1
  44. package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +115 -31
  45. package/skills/uipath-governance/references/compliance-pack/full-apply/impl.md +2 -1
  46. package/skills/uipath-governance/references/compliance-pack/query/impl.md +2 -2
  47. package/skills/uipath-human-in-the-loop/SKILL.md +3 -3
  48. package/skills/uipath-human-in-the-loop/references/hitl-node-apptask.md +2 -2
  49. package/skills/uipath-human-in-the-loop/references/hitl-node-coded-action-app.md +1 -1
  50. package/skills/uipath-human-in-the-loop/references/hitl-node-quickform.md +2 -2
  51. package/skills/uipath-insights/SKILL.md +2 -2
  52. package/skills/uipath-ixp/SKILL.md +5 -5
  53. package/skills/uipath-ixp/references/cli-reference.md +1 -1
  54. package/skills/uipath-maestro-bpmn/SKILL.md +92 -8
  55. package/skills/uipath-maestro-bpmn/references/diagnose/CAPABILITY.md +5 -1
  56. package/skills/uipath-maestro-bpmn/references/diagnose/references/troubleshooting-guide.md +5 -0
  57. package/skills/uipath-maestro-bpmn/references/expression-authoring.md +16 -3
  58. package/skills/uipath-maestro-bpmn/references/operate/references/run.md +17 -3
  59. package/skills/uipath-maestro-bpmn/references/public-safety.md +15 -0
  60. package/skills/uipath-maestro-bpmn/references/registry-workflow.md +50 -22
  61. package/skills/uipath-maestro-bpmn/references/shared/local-metadata-regeneration-guide.md +17 -0
  62. package/skills/uipath-maestro-bpmn/references/shared/project-layout.md +30 -2
  63. package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +54 -7
  64. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +8 -4
  65. package/skills/uipath-maestro-case/SKILL.md +72 -34
  66. package/skills/uipath-maestro-case/assets/templates/sdd-template-examples.md +1 -1
  67. package/skills/uipath-maestro-case/assets/templates/sdd-template.md +40 -20
  68. package/skills/uipath-maestro-case/assets/templates/sdd-viewer.html +2 -2
  69. package/skills/uipath-maestro-case/references/bindings-and-expressions.md +13 -8
  70. package/skills/uipath-maestro-case/references/bindings-v2-sync.md +1 -1
  71. package/skills/uipath-maestro-case/references/brownfield.md +13 -3
  72. package/skills/uipath-maestro-case/references/case-commands.md +6 -6
  73. package/skills/uipath-maestro-case/references/case-editing-operations.md +13 -13
  74. package/skills/uipath-maestro-case/references/case-schema.md +58 -47
  75. package/skills/uipath-maestro-case/references/connector-trigger-common.md +2 -2
  76. package/skills/uipath-maestro-case/references/evals/evals.json +124 -23
  77. package/skills/uipath-maestro-case/references/implementation.md +15 -15
  78. package/skills/uipath-maestro-case/references/phase-0-interview.md +119 -460
  79. package/skills/uipath-maestro-case/references/phased-execution.md +23 -17
  80. package/skills/uipath-maestro-case/references/placeholder-tasks.md +3 -3
  81. package/skills/uipath-maestro-case/references/planning.md +48 -28
  82. package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +2 -1
  83. package/skills/uipath-maestro-case/references/plugins/case/planning.md +1 -1
  84. package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/planning.md +2 -0
  85. package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +3 -3
  86. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +2 -0
  87. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +2 -0
  88. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +2 -2
  89. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +18 -2
  90. package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +12 -7
  91. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +23 -7
  92. package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +3 -0
  93. package/skills/uipath-maestro-case/references/plugins/stages/planning.md +7 -4
  94. package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +15 -6
  95. package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +17 -34
  96. package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +15 -13
  97. package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +14 -10
  98. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +2 -2
  99. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +8 -2
  100. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +1 -1
  101. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +4 -0
  102. package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +55 -0
  103. package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +9 -6
  104. package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +10 -5
  105. package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +1 -1
  106. package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +3 -3
  107. package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +1 -1
  108. package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +1 -0
  109. package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +1 -0
  110. package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +2 -1
  111. package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +10 -4
  112. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +74 -24
  113. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +51 -8
  114. package/skills/uipath-maestro-case/references/registry-discovery.md +83 -29
  115. package/skills/uipath-maestro-case/references/sdd-generation-rules.md +96 -64
  116. package/skills/uipath-maestro-flow/SKILL.md +2 -1
  117. package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +1 -1
  118. package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +1 -1
  119. package/skills/uipath-maestro-flow/references/author/references/greenfield.md +6 -6
  120. package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +4 -4
  121. package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/impl.md +4 -1
  122. package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/planning.md +1 -1
  123. package/skills/uipath-maestro-flow/references/diagnose/references/failure-modes.md +5 -7
  124. package/skills/uipath-maestro-flow/references/shared/cli-commands.md +13 -12
  125. package/skills/uipath-maestro-flow/references/shared/file-format.md +1 -1
  126. package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +2 -1
  127. package/skills/uipath-mcp-servers/SKILL.md +6 -6
  128. package/skills/uipath-mcp-servers/references/is-activity-workflow.md +17 -7
  129. package/skills/uipath-planner/SKILL.md +36 -24
  130. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +111 -7
  131. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +75 -11
  132. package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +429 -0
  133. package/skills/uipath-planner/assets/templates/case-sdd-template.md +114 -19
  134. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +68 -5
  135. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +84 -5
  136. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +265 -26
  137. package/skills/uipath-planner/references/attended-reauth-pattern-guide.md +7 -1
  138. package/skills/uipath-planner/references/multi-skill-patterns-guide.md +11 -6
  139. package/skills/uipath-planner/references/non-pdd-lane-guide.md +90 -86
  140. package/skills/uipath-planner/references/package-selection-guide.md +4 -2
  141. package/skills/uipath-planner/references/pdd-analysis-guide.md +34 -7
  142. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +25 -3
  143. package/skills/uipath-planner/references/plan-and-tasks-format.md +7 -6
  144. package/skills/uipath-planner/references/platform-availability-guide.md +5 -2
  145. package/skills/uipath-planner/references/product-selection-guide.md +239 -21
  146. package/skills/uipath-planner/references/rpa-product-guide.md +22 -2
  147. package/skills/uipath-planner/references/sdd-generation-guide.md +123 -31
  148. package/skills/uipath-planner/references/tenant-library-search-guide.md +6 -4
  149. package/skills/uipath-planner/scripts/docx-extract.ps1 +59 -0
  150. package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +74 -0
  151. package/skills/uipath-platform/SKILL.md +12 -3
  152. package/skills/uipath-platform/references/data-fabric/data-fabric.md +7 -1
  153. package/skills/uipath-platform/references/data-fabric/entity-schema.md +21 -2
  154. package/skills/uipath-platform/references/data-fabric/filter-platform-contract.md +2 -0
  155. package/skills/uipath-platform/references/data-fabric/records-query.md +12 -0
  156. package/skills/uipath-platform/references/integration-service/triggers.md +2 -0
  157. package/skills/uipath-platform/references/orchestrator/tenant-admin.md +3 -1
  158. package/skills/uipath-rpa/CLAUDE.md +12 -10
  159. package/skills/uipath-rpa/SKILL.md +62 -34
  160. package/skills/uipath-rpa/references/cli-reference.md +3 -1
  161. package/skills/uipath-rpa/references/coded/codedworkflow-reference.md +1 -1
  162. package/skills/uipath-rpa/references/coded/coding-guidelines.md +18 -3
  163. package/skills/uipath-rpa/references/coded/operations-guide.md +8 -6
  164. package/skills/uipath-rpa/references/legacy/activity-docs/ActiveDirectory.md +2 -3
  165. package/skills/uipath-rpa/references/legacy/activity-docs/_INDEX.md +1 -1
  166. package/skills/uipath-rpa/references/library-authoring-guide.md +1 -1
  167. package/skills/uipath-rpa/references/powershell-interop-guide.md +1 -1
  168. package/skills/uipath-rpa/references/project-structure-guide.md +1 -1
  169. package/skills/uipath-rpa/references/testing-guide.md +1 -1
  170. package/skills/uipath-rpa/references/uia-starter-guide.md +216 -0
  171. package/skills/uipath-rpa/references/validation-guide.md +2 -0
  172. package/skills/uipath-rpa/references/xaml/workflow-guide.md +2 -2
  173. package/skills/uipath-solution/SKILL.md +8 -6
  174. package/skills/uipath-solution/references/develop-solution.md +14 -14
  175. package/skills/uipath-solution/references/pack-and-deploy.md +4 -0
  176. package/skills/uipath-solution/references/scenarios/intra-solution-references.md +1 -1
  177. package/skills/uipath-solution/references/scenarios/manual-edits.md +2 -2
  178. package/skills/uipath-solution/references/solution-overview.md +28 -1
  179. package/skills/uipath-tasks/SKILL.md +2 -2
  180. package/skills/uipath-tasks/references/action-center-urls.md +4 -5
  181. package/skills/uipath-troubleshoot/SKILL.md +15 -9
  182. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/overview.md +19 -2
  183. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/browser-open-or-attach-failed.md +4 -0
  184. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/browser-scope-errors.md +119 -0
  185. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/click-silent-no-op.md +76 -0
  186. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/invoke-workflow-failed.md +38 -11
  187. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/invoke-workflow-file-design-time-errors.md +89 -0
  188. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/queue-operation-failed.md +91 -0
  189. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/trigger-scope-and-local-triggers-failed.md +106 -0
  190. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/type-into-wrong-or-incomplete-text.md +91 -0
  191. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/summary.md +7 -2
  192. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/overview.md +38 -0
  193. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-datatable-structure-mismatch.md +32 -0
  194. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-file-locked-or-invalid-path.md +33 -0
  195. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-helper-method-not-found.md +36 -0
  196. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-file-not-found.md +34 -0
  197. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-invalid-format.md +33 -0
  198. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-more-values-than-header.md +34 -0
  199. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-access-denied.md +35 -0
  200. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-cannot-set-unknown-member.md +30 -0
  201. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-invalid-delimiter.md +27 -0
  202. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-unsupported-encoding.md +27 -0
  203. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/summary.md +16 -0
  204. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-query-failures.md +27 -2
  205. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/summary.md +1 -1
  206. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/overview.md +1 -1
  207. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-card-failures.md +20 -31
  208. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-scope-failures.md +7 -6
  209. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-not-installed.md +72 -0
  210. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/null-reference-from-activity.md +150 -0
  211. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/read-range-sheet-not-found.md +1 -1
  212. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/{read-range-file-locked.md → workbook-file-locked.md} +54 -40
  213. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/write-cell-failures.md +3 -3
  214. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/summary.md +5 -7
  215. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/overview.md +31 -0
  216. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-403-401-auth.md +32 -0
  217. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-host-not-found.md +33 -0
  218. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-httpclient-reused-in-loop.md +34 -0
  219. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-stuck-tmp.md +29 -0
  220. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/summary.md +10 -0
  221. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/investigation_guide.md +36 -0
  222. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/overview.md +33 -0
  223. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-document-rejected.md +32 -0
  224. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-license-or-endpoint-rejected.md +63 -0
  225. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-not-enabled-or-tenant-key.md +38 -0
  226. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-storage-or-taxonomy-missing.md +44 -0
  227. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/summary.md +10 -0
  228. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/investigation_guide.md +34 -0
  229. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/overview.md +35 -0
  230. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/playbooks/broadcast-message-timeout.md +38 -0
  231. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/playbooks/broadcast-message-unauthorized-access.md +38 -0
  232. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/presentation.md +9 -0
  233. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/summary.md +9 -0
  234. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/investigation_guide.md +31 -0
  235. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/overview.md +39 -0
  236. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-activity-missing-or-not-loaded.md +37 -0
  237. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-add-comment-failures.md +50 -0
  238. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-scope-authentication-failures.md +47 -0
  239. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-scope-response-not-json-or-500.md +42 -0
  240. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-transition-issue-failures.md +47 -0
  241. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/presentation.md +9 -0
  242. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/summary.md +11 -0
  243. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/overview.md +1 -0
  244. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-smtp-mail-failures.md +161 -0
  245. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/summary.md +1 -0
  246. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/investigation_guide.md +29 -0
  247. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/overview.md +26 -0
  248. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-endpoint-and-authentication.md +52 -0
  249. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-engine-config-and-dependencies.md +55 -0
  250. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-input-and-runtime.md +51 -0
  251. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/summary.md +10 -0
  252. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/investigation_guide.md +33 -0
  253. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/overview.md +34 -0
  254. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-corrupt-or-image-input.md +49 -0
  255. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-encrypted-or-wrong-password.md +51 -0
  256. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-file-not-found-or-not-pdf.md +45 -0
  257. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-invalid-page-range.md +42 -0
  258. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-read-ocr-no-engine.md +39 -0
  259. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/summary.md +11 -0
  260. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/overview.md +1 -0
  261. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-architecture-version-mismatch.md +2 -0
  262. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-hang-dotnet-runtime.md +36 -0
  263. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/summary.md +1 -0
  264. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/investigation_guide.md +34 -0
  265. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/overview.md +34 -0
  266. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-bapi-not-found.md +39 -0
  267. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-connection-failed.md +46 -0
  268. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-unsupported-bapi.md +32 -0
  269. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/summary.md +9 -0
  270. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/investigation_guide.md +31 -0
  271. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/overview.md +29 -0
  272. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/playbooks/connection-resolution-failure.md +46 -0
  273. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/playbooks/slack-api-error.md +65 -0
  274. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/summary.md +8 -0
  275. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/investigation_guide.md +13 -0
  276. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/overview.md +21 -9
  277. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/compress-extract-files-failed.md +64 -0
  278. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/download-file-failed.md +46 -0
  279. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/file-folder-operation-failed.md +61 -0
  280. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-wrong-activity-type.md +2 -0
  281. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/queue-transaction-activity-failed.md +47 -0
  282. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/summary.md +6 -0
  283. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/investigation_guide.md +28 -0
  284. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/overview.md +30 -0
  285. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-connection-failed.md +58 -0
  286. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-null-reference.md +40 -0
  287. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/summary.md +8 -0
  288. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/interpretations/healing-agent-data.md +10 -27
  289. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/investigation_guide.md +1 -1
  290. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/overview.md +9 -0
  291. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/ambiguous-selector.md +2 -0
  292. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/application-not-found.md +1 -10
  293. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/browser-communication-failed.md +85 -0
  294. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-coordinate-off-screen.md +2 -0
  295. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-silent-no-op.md +79 -0
  296. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/dependency-version-conflict.md +66 -0
  297. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/disabled-element.md +2 -0
  298. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/napplicationcard-view-generation-failed.md +78 -0
  299. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +2 -2
  300. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-healing-disabled.md +2 -0
  301. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-healing-fix.md +4 -2
  302. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-manual.md +3 -1
  303. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/type-into-input-failed.md +148 -0
  304. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/verify-execution-failure.md +2 -0
  305. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/summary.md +5 -0
  306. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/add-picture-failures.md +1 -0
  307. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-interop-failures.md +5 -0
  308. package/skills/uipath-troubleshoot/references/presenting.md +3 -3
  309. package/skills/uipath-troubleshoot/references/products/agents/playbooks/context-grounding-index-not-found.md +35 -24
  310. package/skills/uipath-troubleshoot/references/products/agents/playbooks/guardrail-violation.md +14 -12
  311. package/skills/uipath-troubleshoot/references/products/agents/playbooks/input-schema-validation-failure.md +23 -13
  312. package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-connection-disabled.md +6 -4
  313. package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-invalid-credentials.md +12 -9
  314. package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-invalid-element-instance.md +12 -9
  315. package/skills/uipath-troubleshoot/references/products/agents/playbooks/llm-insufficient-information.md +20 -13
  316. package/skills/uipath-troubleshoot/references/products/agents/summary.md +1 -1
  317. package/skills/uipath-troubleshoot/references/products/api-workflows/investigation_guide.md +52 -0
  318. package/skills/uipath-troubleshoot/references/products/api-workflows/overview.md +33 -0
  319. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/connection-auth-failure.md +49 -0
  320. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/expression-reference-error.md +32 -0
  321. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/output-undefined.md +39 -0
  322. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/publish-deploy-failure.md +38 -0
  323. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/run-not-successful.md +37 -0
  324. package/skills/uipath-troubleshoot/references/products/api-workflows/summary.md +14 -0
  325. package/skills/uipath-troubleshoot/references/products/assistant/investigation_guide.md +71 -0
  326. package/skills/uipath-troubleshoot/references/products/assistant/overview.md +44 -0
  327. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/assistant-crash.md +38 -0
  328. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/orchestrator-connection-failure.md +43 -0
  329. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/process-missing-or-unstartable.md +41 -0
  330. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/sign-in-failure.md +42 -0
  331. package/skills/uipath-troubleshoot/references/products/assistant/summary.md +18 -0
  332. package/skills/uipath-troubleshoot/references/products/coded-apps/overview.md +49 -0
  333. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/action-app-form-data-not-loading.md +66 -0
  334. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/api-401-after-login.md +51 -0
  335. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/api-403-folder-permission.md +51 -0
  336. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/cors-error-wrong-base-url.md +46 -0
  337. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/deploy-404-app-not-found.md +59 -0
  338. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/invalid-scope.md +70 -0
  339. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/isauthenticated-false-after-callback.md +59 -0
  340. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/redirect-uri-mismatch.md +59 -0
  341. package/skills/uipath-troubleshoot/references/products/coded-apps/summary.md +14 -0
  342. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-invalid.md +11 -10
  343. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-not-resolved.md +3 -3
  344. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-general-exception.md +1 -1
  345. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/request-failed.md +2 -0
  346. package/skills/uipath-troubleshoot/references/products/maestro/error_codes.md +2 -2
  347. package/skills/uipath-troubleshoot/references/products/maestro/investigation_guide.md +6 -2
  348. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/autopilot-429.md +8 -5
  349. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/expression-evaluation-errors.md +6 -0
  350. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/folder-not-accessible.md +1 -1
  351. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/gateway-no-outgoing-flow.md +6 -4
  352. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/integration-service-404.md +3 -2
  353. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/js-runtime-discrepancy.md +7 -1
  354. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/marker-input-null.md +4 -0
  355. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/marker-invalid-cast.md +5 -1
  356. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/multi-instance-parallel.md +7 -1
  357. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/no-suitable-runtime-machine.md +2 -0
  358. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/personal-automation-quota.md +1 -1
  359. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/service-task-child-job-faulted.md +10 -2
  360. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/variable-expression-errors.md +6 -0
  361. package/skills/uipath-troubleshoot/references/products/maestro/summary.md +5 -5
  362. package/skills/uipath-troubleshoot/references/products/orchestrator/investigation_guide.md +2 -2
  363. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-logon-failure.md +2 -0
  364. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-session-timeout.md +50 -0
  365. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-pending-no-host.md +2 -0
  366. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-stuck.md +2 -0
  367. package/skills/uipath-troubleshoot/references/products/orchestrator/summary.md +1 -0
  368. package/skills/uipath-troubleshoot/references/products/studio/overview.md +34 -0
  369. package/skills/uipath-troubleshoot/references/products/studio/playbooks/studio-autopilot-unavailable.md +47 -0
  370. package/skills/uipath-troubleshoot/references/products/studio/summary.md +7 -0
  371. package/skills/uipath-troubleshoot/references/runtime-exceptions/overview.md +12 -1
  372. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/argument-exception.md +48 -0
  373. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/argument-out-of-range-exception.md +50 -0
  374. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/assign-linq-no-data-rows.md +78 -0
  375. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/assign-type-mismatch.md +91 -0
  376. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/directory-not-found-exception.md +47 -0
  377. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/if-condition-compiler-error.md +81 -0
  378. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/if-wrong-branch.md +85 -0
  379. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/index-out-of-range-exception.md +48 -0
  380. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/invalid-operation-exception.md +51 -0
  381. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/key-not-found-exception.md +45 -0
  382. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/null-reference-exception.md +2 -0
  383. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/visualbasicvalue-requires-compilation.md +47 -0
  384. package/skills/uipath-troubleshoot/references/runtime-exceptions/summary.md +11 -0
  385. package/skills/uipath-troubleshoot/references/summary.md +138 -5
  386. package/version-manifest.json +2 -2
  387. package/skills/uipath-rpa/references/ui-automation-guide.md +0 -559
  388. package/skills/uipath-rpa/references/uia-configure-target-workflows.md +0 -188
  389. package/skills/uipath-rpa/references/uia-elements-interaction-guide.md +0 -102
  390. package/skills/uipath-rpa/references/uia-prerequisites.md +0 -42
  391. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/add-queue-item-failed.md +0 -58
  392. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-excel-not-installed.md +0 -36
  393. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-file-locked.md +0 -40
  394. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-null-reference.md +0 -37
  395. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/read-range-null-reference.md +0 -119
@@ -4,13 +4,13 @@ Diagnoses and fixes failures in UiPath coded apps and coded action apps — auth
4
4
 
5
5
  **AUTONOMY PRINCIPLE**: Do everything you can with your tools. Only ask the user for things the agent physically cannot do: entering passwords or 2FA codes during login, confirming a destructive portal action. Never ask the user to "let you know" when something is done if you can detect it yourself.
6
6
 
7
- **Specifically, External Application configuration changes (adding scopes, adding redirect URIs) are automated by Playwright scripts in [oauth-client-setup.md](oauth-client-setup.md).** When a fix requires a portal change, run the script — do not:
8
- - Say *"I can't make that change from here"* (you can — the scripts launch Chrome and drive the portal UI)
7
+ **Specifically, External Application configuration changes (adding scopes, adding redirect URIs) are one `uip admin external-apps update` CLI call — see [oauth-client-setup.md](oauth-client-setup.md).** When a fix requires an app change, run the CLI — do not:
8
+ - Say *"I can't make that change from here"* (you can — the CLI updates the app directly)
9
9
  - Run `open <portal URL>` to hand the browser to the user
10
10
  - List manual click-through steps for the user to perform
11
11
  - Present "Option A: open the portal for you to click / Option B: try something else" menus
12
12
 
13
- The only time to fall back to manual is if Step 0b reports `chrome-missing` OR the script has failed after 2–3 attempts with a captured error.
13
+ The only time to fall back to the [manual portal steps](oauth-client-setup.md#manual-portal-fallback) is when the CLI can't run — not authenticated, or the identity lacks external-app admin permission (`403`).
14
14
 
15
15
  **SDK-FIRST PRINCIPLE**: When fixing code, always check what methods `@uipath/uipath-typescript` already provides before writing custom code.
16
16
 
@@ -45,8 +45,11 @@ The reproduction script uses the system's real Chrome via Playwright CLI (same p
45
45
  || ls "/c/Program Files (x86)/Google/Chrome/Application/chrome.exe" 2>/dev/null) \
46
46
  && echo "chrome-found" || echo "chrome-missing"
47
47
 
48
- # Playwright — if not found, follow oauth-client-setup.md Step 2 (Setup B)
49
- # to install into ~/.uipath-skills/playwright/
48
+ # Playwright — used only for the browser-based reproduction below.
49
+ # If missing, install into a dedicated dir (not the user's app):
50
+ # mkdir -p ~/.uipath-skills/playwright && cd ~/.uipath-skills/playwright \
51
+ # && (test -f package.json || npm init -y >/dev/null) \
52
+ # && (test -e node_modules/playwright || npm install playwright)
50
53
  npx playwright --version 2>/dev/null || echo "playwright-missing"
51
54
  ```
52
55
 
@@ -54,7 +57,7 @@ If Chrome is missing, skip to Step 0d — ask the user to describe the failure (
54
57
 
55
58
  ### 0c — Run the reproduction script
56
59
 
57
- Write the following to `~/.uipath-skills/playwright/reproduce.mjs` (or your project root if Playwright is installed there — see [`oauth-client-setup.md` Step 2](oauth-client-setup.md#step-2-ensure-playwright-is-available)). Substitute `APP_URL` if the port isn't 5173. Run from the directory the script lives in:
60
+ Write the following to `~/.uipath-skills/playwright/reproduce.mjs` (or your project root if Playwright is installed there — see the install snippet in Step 0b). Substitute `APP_URL` if the port isn't 5173. Run from the directory the script lives in:
58
61
 
59
62
  ```bash
60
63
  cd ~/.uipath-skills/playwright && node ./reproduce.mjs
@@ -258,7 +261,7 @@ Match the observation to the correct fix section. **Jump directly to the matchin
258
261
 
259
262
  Read the app's current configuration:
260
263
 
261
- 1. **Find SDK config.** The app initializes the SDK with `new UiPath()` (no config) and reads everything from `<meta name="uipath:*">` tags injected at runtime. During local dev those tags come from **`uipath.json`** (committed, project root) — the single config source, holding `clientId`, `scope`, `orgName`, `tenantName`, `baseUrl`, and `redirectUri` (the local dev URL). To change any of these, edit `uipath.json`. The remediation scripts (Playwright OAuth helpers, base-URL/scope rules) below operate on that file.
264
+ 1. **Find SDK config.** The app initializes the SDK with `new UiPath()` (no config) and reads everything from `<meta name="uipath:*">` tags injected at runtime. During local dev those tags come from **`uipath.json`** (committed, project root) — the single config source, holding `clientId`, `scope`, `orgName`, `tenantName`, `baseUrl`, and `redirectUri` (the local dev URL). To change any of these, edit `uipath.json`. The remediation steps below operate on that file (and register matching redirect URIs / scopes on the External App via `uip admin external-apps update`).
262
265
 
263
266
  2. **Identify SDK services in use** — grep for `new Assets(`, `new Entities(`, `new Buckets(`, `new Processes(`, `new Tasks(`, `new Queues(`, `new MaestroProcesses(`, `new Cases(`, `new ConversationalAgent(` in `**/*.ts` and `**/*.tsx`.
264
267
 
@@ -276,7 +279,7 @@ Map each SDK service found in Step 1 to its required scopes using [oauth-scopes.
276
279
 
277
280
  If scopes are missing:
278
281
  1. Update the `scope` field in `uipath.json` to add the missing scopes.
279
- 2. **Copy the consolidated script verbatim** from [Step 3 of `oauth-client-setup.md`](oauth-client-setup.md#step-3-write-the-consolidated-script) (one script for all ops), save to `~/.uipath-skills/playwright/uipath-oauth.mjs`, then run with `--op add-scopes` — substituting `--cloud-host`, `--org-name`, `--client-id` (from `uipath.json` → `clientId`), and `--scopes-by-resource` per the [mapping table](oauth-client-setup.md#scope--resource-mapping-reference). Do not rewrite the script or "mirror the pattern" — the selectors are battle-tested and rewriting drops the bug fixes. Do not ask the user to click through the portal manually. Only fall back to [manual instructions](oauth-client-setup.md#adding-scopes-to-an-existing-app) if Chrome isn't available.
282
+ 2. Register the scopes on the External App via CLI — see [Add scopes to an existing app](oauth-client-setup.md#add-scopes-to-an-existing-app). `update` replaces scopes, so read current scopes with `uip admin external-apps get <clientId> --output json` first, then pass the full union to `--user-scope`. Do not ask the user to click through the portal. Fall back to [manual steps](oauth-client-setup.md#add-scopes-to-an-existing-app-1) only if the CLI can't run (not authenticated / `403`).
280
283
 
281
284
  ### 2b — Base URL
282
285
 
@@ -297,7 +300,7 @@ The SDK reads the redirect URI from the `uipath:redirect-uri` meta tag — local
297
300
  - CRA default: `http://localhost:3000` (and `http://localhost:3000/`)
298
301
  - Custom port: check `vite.config.ts` for `server.port`, and set `redirectUri` in `uipath.json` to match
299
302
 
300
- If you see a `redirect_uri_mismatch` error, identify the actual URL the browser is on. Then **copy the consolidated script verbatim** from [Step 3 of `oauth-client-setup.md`](oauth-client-setup.md#step-3-write-the-consolidated-script), save to `~/.uipath-skills/playwright/uipath-oauth.mjs`, and run with `--op add-redirects` — passing `--cloud-host`, `--org-name`, `--client-id` (from `uipath.json`), and `--redirects` with both the failing URL and its trailing-slash variant. Do not rewrite the script or invent a different approach — rewrites drop the bug fixes (truncated column handling, pencil-Edit button) and the script fails. Do not ask the user to click through the portal.
303
+ If you see a `redirect_uri_mismatch` error, identify the actual URL the browser is on, then register it on the External App via CLI — see [Add redirect URIs to an existing app](oauth-client-setup.md#add-redirect-uris-to-an-existing-app). `update` replaces the redirect list, so read current URIs with `uip admin external-apps get <clientId> --output json` first, then pass existing + the failing URL + its trailing-slash variant to `--redirect-uri`. Do not ask the user to click through the portal.
301
304
 
302
305
  ---
303
306
 
@@ -359,50 +362,54 @@ rm ~/.uipath-skills/playwright/clear-state.mjs 2>/dev/null
359
362
 
360
363
  **Cause:** The redirect URI the SDK sends (from the `uipath:redirect-uri` meta tag — locally the `redirectUri` in `uipath.json`) is not registered in the UiPath External Application, or does not match the URL the app is actually served from.
361
364
 
362
- > **You fix this yourself with Playwright.** Do not tell the user *"register the URI in UiPath Cloud"* and stop there. Do not run `open <portal URL>`. Do not present a bullet list of admin-portal clicks. The consolidated `uipath-oauth.mjs` script (in [`oauth-client-setup.md`](oauth-client-setup.md#step-3-write-the-consolidated-script)) launches Chrome and performs every one of those clicks automatically when run with `--op add-redirects`.
365
+ > **You fix this yourself with the CLI.** Do not tell the user *"register the URI in UiPath Cloud"* and stop there. Do not run `open <portal URL>`. Do not present a bullet list of admin-portal clicks. `uip admin external-apps update` registers the redirect URI directly.
363
366
 
364
367
  **Fix (autonomous) — execute these steps yourself without deferring to the user:**
365
368
  1. Identify the URL the browser was sent to when login was triggered (e.g. `http://localhost:5173` or `http://localhost:5173/`). Step 0c's `finalUrl` usually shows it.
366
- 2. **Copy the consolidated script verbatim** from [Step 3 of `oauth-client-setup.md`](oauth-client-setup.md#step-3-write-the-consolidated-script) into `~/.uipath-skills/playwright/uipath-oauth.mjs`. Do **not** rewrite or paraphrase — the selectors handle the portal's truncated Client-ID column and per-row pencil-Edit button.
367
- 3. Run with `--op add-redirects` from the directory the script lives in (Setup B default below; for Setup A use the project root):
369
+ 2. Read the current redirect URIs (`update` replaces, not merges):
368
370
  ```bash
369
- cd ~/.uipath-skills/playwright && node ./uipath-oauth.mjs --op add-redirects \
370
- --cloud-host https://staging.uipath.com --org-name myorg \
371
- --client-id <uuid> \
372
- --redirects 'http://localhost:5173,http://localhost:5173/'
371
+ uip admin external-apps get <clientId> --output json
373
372
  ```
374
- 4. Verify stdout contains `{"status":"ok"}`. Clear browser state (Step 3), re-run Step 0c to confirm the fix. On the app side, confirm the `redirectUri` in `uipath.json` matches the URL you just registered (and the URL the dev server serves).
373
+ 3. Update with existing + the failing URL + its trailing-slash variant:
374
+ ```bash
375
+ uip admin external-apps update <clientId> \
376
+ --redirect-uri "<existing_uris>,http://localhost:5173,http://localhost:5173/" \
377
+ --output json
378
+ ```
379
+ 4. Verify with `uip admin external-apps get <clientId> --output json`. Clear browser state (Step 3), re-run Step 0c to confirm the fix. On the app side, confirm the `redirectUri` in `uipath.json` matches the URL you just registered (and the URL the dev server serves).
375
380
 
376
- Fall back to [manual instructions](oauth-client-setup.md#adding-redirect-uris-to-an-existing-app) only if Step 0b reported `chrome-missing` or the script has genuinely failed after 2–3 runs with captured errors.
381
+ Fall back to [manual steps](oauth-client-setup.md#add-redirect-uris-to-an-existing-app-1) only if the CLI can't run (not authenticated / `403`).
377
382
 
378
- > Production redirect URIs are registered automatically by `uip codedapp deploy`. If they're missing on the External Application after a deploy, the same script can add them.
383
+ > Production redirect URIs are registered automatically by `uip codedapp deploy`. If they're missing on the External Application after a deploy, the same CLI update can add them.
379
384
 
380
385
  ### `invalid_scope` Error in Auth URL
381
386
 
382
387
  **Cause:** The External Application doesn't have the requested scopes enabled.
383
388
 
384
- > **You fix this yourself with Playwright.** Do not tell the user *"the External App needs the scope added in UiPath Cloud"* and stop there. Do not run `open <portal URL>`. Do not present a bullet list of admin-portal clicks. The consolidated `uipath-oauth.mjs` script (in [`oauth-client-setup.md`](oauth-client-setup.md#step-3-write-the-consolidated-script)) launches Chrome and performs every one of those clicks automatically when run with `--op add-scopes`.
389
+ > **You fix this yourself with the CLI.** Do not tell the user *"the External App needs the scope added in UiPath Cloud"* and stop there. Do not run `open <portal URL>`. Do not present a bullet list of admin-portal clicks. `uip admin external-apps update --user-scope` registers the scopes directly.
385
390
 
386
391
  **Fix (autonomous) — execute these steps yourself without deferring to the user:**
387
392
  1. Read [oauth-scopes.md](oauth-scopes.md) and determine every scope the SDK services in use require.
388
393
  2. Update the `scope` field in `uipath.json` to list all required scopes (space-separated).
389
- 3. **Copy the consolidated script verbatim** from [Step 3 of `oauth-client-setup.md`](oauth-client-setup.md#step-3-write-the-consolidated-script) into `~/.uipath-skills/playwright/uipath-oauth.mjs`. Do **not** rewrite the script.
390
- 4. Run with `--op add-scopes` from the directory the script lives in (Setup B default below; for Setup A use the project root):
394
+ 3. Read the current scopes (`update` replaces, not merges):
395
+ ```bash
396
+ uip admin external-apps get <clientId> --output json
397
+ ```
398
+ 4. Update with the full union (existing + new), comma-separated:
391
399
  ```bash
392
- cd ~/.uipath-skills/playwright && node ./uipath-oauth.mjs --op add-scopes \
393
- --cloud-host https://staging.uipath.com --org-name myorg \
394
- --client-id <uuid> \
395
- --scopes-by-resource '{"Orchestrator":["OR.Tasks.Read"]}'
400
+ uip admin external-apps update <clientId> \
401
+ --user-scope "<existing_scopes>,OR.Tasks.Read" \
402
+ --output json
396
403
  ```
397
- > Use the **shortest substring** that matches both the dropdown label and the attached-list label as the key (e.g. `"Orchestrator"`, not `"Orchestrator API Access"`). See the [mapping reference](oauth-client-setup.md#scope--resource-mapping-reference) for the safe key per resource — the long dropdown label fails when the resource is already attached because the attached-list shows a different label (`UiPath.Orchestrator`).
398
- 5. Verify stdout contains `{"status":"ok"}`. Clear browser state (Step 3) and re-test.
404
+ > Scope names are flat and comma-separated — no portal resource grouping. Pick names from [oauth-scopes.md](oauth-scopes.md); `uip admin scopes list --output json` lists valid names.
405
+ 5. Verify with `uip admin external-apps get <clientId> --output json`. Clear browser state (Step 3) and re-test.
399
406
 
400
- Fall back to the [manual instructions](oauth-client-setup.md#adding-scopes-to-an-existing-app) only if Step 0b reported `chrome-missing` or the script has genuinely failed after 2–3 runs with captured errors.
407
+ Fall back to the [manual steps](oauth-client-setup.md#add-scopes-to-an-existing-app-1) only if the CLI can't run (not authenticated / `403`).
401
408
 
402
409
  ### API Calls Fail with 401 After Login
403
410
 
404
411
  **Cause 1:** Token has the wrong scopes for the API being called.
405
- **Fix:** Update the `scope` field in `uipath.json` with the missing scope (see [oauth-scopes.md](oauth-scopes.md)), then run the [Add Scopes to an Existing App](oauth-client-setup.md#add-scopes-to-an-existing-app) script to register it on the External App. Clear browser storage (Step 3) and re-authenticate so the new token includes the added scope.
412
+ **Fix:** Update the `scope` field in `uipath.json` with the missing scope (see [oauth-scopes.md](oauth-scopes.md)), then [add the scope to the External App](oauth-client-setup.md#add-scopes-to-an-existing-app) via `uip admin external-apps update`. Clear browser storage (Step 3) and re-authenticate so the new token includes the added scope.
406
413
 
407
414
  **Cause 2:** Token expired.
408
415
  **Fix:** Clear browser storage (Step 3) and re-authenticate.
@@ -443,7 +450,7 @@ if (!sdk.isAuthenticated()) {
443
450
  **Cause:** `sdk.initialize()` redirects the browser — if the redirect doesn't return to the app, the OAuth flow never completes.
444
451
 
445
452
  **Check:**
446
- 1. Does the `redirectUri` in `uipath.json` (injected as the `uipath:redirect-uri` meta tag, e.g. `http://localhost:5173`) match the URL the app runs at **and** a redirect URI registered on the External Application? If not, fix `uipath.json` and/or run the [Add Redirect URIs to an Existing App](oauth-client-setup.md#add-redirect-uris-to-an-existing-app) script (include both with and without trailing slash).
453
+ 1. Does the `redirectUri` in `uipath.json` (injected as the `uipath:redirect-uri` meta tag, e.g. `http://localhost:5173`) match the URL the app runs at **and** a redirect URI registered on the External Application? If not, fix `uipath.json` and/or [add the redirect URI to the External App](oauth-client-setup.md#add-redirect-uris-to-an-existing-app) via `uip admin external-apps update` (include both with and without trailing slash).
447
454
  2. Is the dev server running on the expected port (default: 5173)?
448
455
  3. Clear browser storage and retry.
449
456
 
@@ -494,14 +501,14 @@ After fixing, rebuild (`npm run build`) and re-deploy (`uip codedapp deploy`). I
494
501
 
495
502
  ## External Application Setup
496
503
 
497
- For any create or update of an External Application (adding redirect URIs, adding scopes, creating a new app), use the automated scripts in [oauth-client-setup.md](oauth-client-setup.md). The file covers:
504
+ For any create or update of an External Application (adding redirect URIs, adding scopes, creating a new app), use the `uip admin external-apps` CLI — see [oauth-client-setup.md](oauth-client-setup.md). The file covers:
498
505
 
499
- - [Create a new External Application](oauth-client-setup.md#step-3-write-the-automation-script)
500
- - [Add Redirect URIs to an Existing App](oauth-client-setup.md#add-redirect-uris-to-an-existing-app)
501
- - [Add Scopes to an Existing App](oauth-client-setup.md#add-scopes-to-an-existing-app)
502
- - Manual fallback steps for each operation, if Chrome isn't available
506
+ - [Create an External Application](oauth-client-setup.md#create-an-external-application)
507
+ - [Add redirect URIs to an existing app](oauth-client-setup.md#add-redirect-uris-to-an-existing-app)
508
+ - [Add scopes to an existing app](oauth-client-setup.md#add-scopes-to-an-existing-app)
509
+ - Manual portal fallback for each operation, when the CLI can't run
503
510
 
504
- Key constants to remember when filling in the scripts:
511
+ Key constants to remember:
505
512
  - Dev redirect URIs: `http://localhost:5173` and `http://localhost:5173/` (register both)
506
513
  - Action apps redirect URI: `https://cloud.uipath.com/<orgName>/<tenantName>/actions_`
507
514
  - Production web-app URIs are registered automatically by `uip codedapp deploy` — do not add them manually.