@uipath/solution-tool 1.0.4 → 1.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +25 -0
  2. package/dist/deploy.d.ts +27 -0
  3. package/dist/deploy.js +42619 -0
  4. package/dist/init.d.ts +6 -0
  5. package/dist/init.js +10177 -0
  6. package/dist/models/index.d.ts +1 -0
  7. package/dist/models/pack-command-types.d.ts +25 -0
  8. package/dist/pack.d.ts +6 -0
  9. package/dist/pack.js +261236 -0
  10. package/dist/providers/file-storage-provider.d.ts +11 -0
  11. package/dist/providers/resource-builder-init.d.ts +12 -0
  12. package/dist/providers/solution-access-provider.d.ts +18 -0
  13. package/dist/publish.d.ts +7 -0
  14. package/dist/publish.js +31488 -0
  15. package/dist/resource.d.ts +7 -0
  16. package/dist/resource.js +46898 -0
  17. package/dist/services/activation.d.ts +51 -0
  18. package/dist/services/auth-helper.d.ts +10 -0
  19. package/dist/services/deploy-activate-service.d.ts +45 -0
  20. package/dist/services/deploy-list-service.d.ts +57 -0
  21. package/dist/services/deploy-run-service.d.ts +84 -0
  22. package/dist/services/deploy-uninstall-service.d.ts +45 -0
  23. package/dist/services/deployment-search.d.ts +77 -0
  24. package/dist/services/emit-runtime-dependencies.d.ts +37 -0
  25. package/dist/services/entry-point-spec-enhancer.d.ts +31 -0
  26. package/dist/services/folder-helper.d.ts +21 -0
  27. package/dist/services/pack-command-service.d.ts +24 -0
  28. package/dist/services/pack-service.d.ts +32 -0
  29. package/dist/services/packager-tool-resolver.d.ts +6 -0
  30. package/dist/services/packages-list-service.d.ts +54 -0
  31. package/dist/services/personal-workspace-resolver.d.ts +28 -0
  32. package/dist/services/publish-service.d.ts +43 -0
  33. package/dist/services/resource-refresh-service.d.ts +32 -0
  34. package/dist/services/solution-init-service.d.ts +37 -0
  35. package/dist/services/solution-manifest.d.ts +9 -0
  36. package/dist/services/sync-resources-from-bindings.d.ts +132 -0
  37. package/dist/templates/AGENTS.md +265 -0
  38. package/dist/tool.js +114836 -37620
  39. package/dist/utils/deployment-errors.d.ts +39 -0
  40. package/package.json +44 -50
package/README.md CHANGED
@@ -30,3 +30,28 @@ uip solution deploy run --solution-name MySolution
30
30
  uip solution deploy status --solution-name MySolution
31
31
  uip solution project add --name MyProject
32
32
  ```
33
+
34
+ ### Deploying to Personal Workspace
35
+
36
+ `uip solution deploy run` accepts `--personal-workspace` as an alternative to
37
+ `--parent-folder-path` / `--parent-folder-key`. When set, the CLI calls
38
+ Orchestrator's `GetPersonalWorkspace` endpoint once to look up the current
39
+ user's workspace name, then uses that as the deploy target — matching
40
+ StudioWeb's "Publish to Personal Workspace" UX.
41
+
42
+ ```bash
43
+ uip solution deploy run \
44
+ --name my-deployment \
45
+ --package-name my-package \
46
+ --package-version 1.0.0 \
47
+ --folder-name MySolution \
48
+ --personal-workspace
49
+ ```
50
+
51
+ The three target flags (`--parent-folder-path`, `--parent-folder-key`,
52
+ `--personal-workspace`) are mutually exclusive. The lookup uses whichever
53
+ auth context is active — `uip login`, `UIPATH_CLI_ENABLE_ENV_AUTH`, or
54
+ `UIPATH_CLI_ENFORCE_ROBOT_AUTH` — so the same command works in standalone
55
+ terminals, CI pipelines, and Studio Desktop-spawned invocations. Service
56
+ principals or robot accounts without a Personal Workspace produce a clear
57
+ "not configured" error.
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Public `@uipath/solution-tool/deploy` entry: the programmatic deployment
3
+ * surface for SDK consumers (e.g. the VS Code extension). Five operations
4
+ * under one subpath:
5
+ *
6
+ * - `deployRunAsync` — install + poll + optional auto-activate
7
+ * - `listDeploymentsAsync` — list recent deployments
8
+ * - `activateDeploymentAsync`— activate a previously-deployed solution
9
+ * - `uninstallDeploymentAsync` — uninstall a deployed solution
10
+ * - `listPackagesAsync` — list published solution packages
11
+ *
12
+ * Each function returns a tagged result (`{ ok: true, ... } | { ok: false,
13
+ * reason, message, instructions, exitCode }`) so callers can route the
14
+ * success/failure paths without touching `OutputFormatter` or
15
+ * `processContext`. Mirrors `./init` / `./pack` / `./publish` /
16
+ * `@uipath/flow-tool/validation`.
17
+ */
18
+ export type { ActivateDeploymentFailure, ActivateDeploymentFailureReason, ActivateDeploymentOptions, ActivateDeploymentResult, ActivateDeploymentSuccess, } from "./services/deploy-activate-service";
19
+ export { activateDeploymentAsync } from "./services/deploy-activate-service";
20
+ export type { DeploymentSummary, ListDeploymentsFailure, ListDeploymentsFailureReason, ListDeploymentsOptions, ListDeploymentsResult, ListDeploymentsSuccess, SortDirection, } from "./services/deploy-list-service";
21
+ export { listDeploymentsAsync } from "./services/deploy-list-service";
22
+ export type { DeployFailure, DeployFailureReason, DeployOptions, DeployResult, DeploySuccess, } from "./services/deploy-run-service";
23
+ export { deployRunAsync } from "./services/deploy-run-service";
24
+ export type { UninstallDeploymentFailure, UninstallDeploymentFailureReason, UninstallDeploymentOptions, UninstallDeploymentResult, UninstallDeploymentSuccess, } from "./services/deploy-uninstall-service";
25
+ export { uninstallDeploymentAsync } from "./services/deploy-uninstall-service";
26
+ export type { ListPackagesFailure, ListPackagesFailureReason, ListPackagesOptions, ListPackagesResult, ListPackagesSuccess, PackageSummary, } from "./services/packages-list-service";
27
+ export { listPackagesAsync } from "./services/packages-list-service";