uipath 2.0.34__tar.gz → 2.0.35__tar.gz

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.

Potentially problematic release.


This version of uipath might be problematic. Click here for more details.

Files changed (138) hide show
  1. {uipath-2.0.34 → uipath-2.0.35}/PKG-INFO +1 -1
  2. uipath-2.0.35/docs/cli/index.md +165 -0
  3. {uipath-2.0.34 → uipath-2.0.35}/docs/core/getting_started.md +1 -2
  4. uipath-2.0.35/docs/javascripts/extra.js +35 -0
  5. {uipath-2.0.34 → uipath-2.0.35}/docs/stylesheets/extra.css +1 -1
  6. {uipath-2.0.34 → uipath-2.0.35}/mkdocs.yml +6 -4
  7. {uipath-2.0.34 → uipath-2.0.35}/pyproject.toml +2 -1
  8. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_utils/_processes.py +1 -1
  9. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_init.py +2 -3
  10. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_invoke.py +1 -1
  11. {uipath-2.0.34 → uipath-2.0.35}/tests/cli/test_init.py +1 -8
  12. {uipath-2.0.34 → uipath-2.0.35}/uv.lock +16 -1
  13. uipath-2.0.34/docs/core/index.md +0 -7
  14. uipath-2.0.34/docs/langchain/index.md +0 -7
  15. {uipath-2.0.34 → uipath-2.0.35}/.cursorrules +0 -0
  16. {uipath-2.0.34 → uipath-2.0.35}/.editorconfig +0 -0
  17. {uipath-2.0.34 → uipath-2.0.35}/.gitattributes +0 -0
  18. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/build.yml +0 -0
  19. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/cd.yml +0 -0
  20. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/ci.yml +0 -0
  21. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/commitlint.yml +0 -0
  22. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/lint.yml +0 -0
  23. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/publish-dev.yml +0 -0
  24. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/publish-docs.yml +0 -0
  25. {uipath-2.0.34 → uipath-2.0.35}/.github/workflows/test.yml +0 -0
  26. {uipath-2.0.34 → uipath-2.0.35}/.gitignore +0 -0
  27. {uipath-2.0.34 → uipath-2.0.35}/.pre-commit-config.yaml +0 -0
  28. {uipath-2.0.34 → uipath-2.0.35}/.python-version +0 -0
  29. {uipath-2.0.34 → uipath-2.0.35}/.vscode/extensions.json +0 -0
  30. {uipath-2.0.34 → uipath-2.0.35}/.vscode/settings.json +0 -0
  31. {uipath-2.0.34 → uipath-2.0.35}/CONTRIBUTING.md +0 -0
  32. {uipath-2.0.34 → uipath-2.0.35}/LICENSE +0 -0
  33. {uipath-2.0.34 → uipath-2.0.35}/README.md +0 -0
  34. {uipath-2.0.34 → uipath-2.0.35}/docs/CONTRIBUTING.md +0 -0
  35. {uipath-2.0.34 → uipath-2.0.35}/docs/assets/favicon.png +0 -0
  36. {uipath-2.0.34 → uipath-2.0.35}/docs/assets/uipath-logo.svg +0 -0
  37. {uipath-2.0.34 → uipath-2.0.35}/docs/core/actions.md +0 -0
  38. {uipath-2.0.34 → uipath-2.0.35}/docs/core/assets.md +0 -0
  39. {uipath-2.0.34 → uipath-2.0.35}/docs/core/buckets.md +0 -0
  40. {uipath-2.0.34 → uipath-2.0.35}/docs/core/context_grounding.md +0 -0
  41. {uipath-2.0.34 → uipath-2.0.35}/docs/core/jobs.md +0 -0
  42. {uipath-2.0.34 → uipath-2.0.35}/docs/core/processes.md +0 -0
  43. {uipath-2.0.34 → uipath-2.0.35}/docs/core/queues.md +0 -0
  44. {uipath-2.0.34 → uipath-2.0.35}/docs/hooks.py +0 -0
  45. {uipath-2.0.34 → uipath-2.0.35}/docs/langchain/chat_models.md +0 -0
  46. {uipath-2.0.34 → uipath-2.0.35}/docs/langchain/context_grounding.md +0 -0
  47. {uipath-2.0.34 → uipath-2.0.35}/docs/langchain/human_in_the_loop.md +0 -0
  48. {uipath-2.0.34 → uipath-2.0.35}/docs/release_policy.md +0 -0
  49. {uipath-2.0.34 → uipath-2.0.35}/justfile +0 -0
  50. {uipath-2.0.34 → uipath-2.0.35}/py.typed +0 -0
  51. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/__init__.py +0 -0
  52. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/README.md +0 -0
  53. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/__init__.py +0 -0
  54. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/_auth_server.py +0 -0
  55. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/_models.py +0 -0
  56. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/_oidc_utils.py +0 -0
  57. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/_portal_service.py +0 -0
  58. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/_utils.py +0 -0
  59. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/auth_config.json +0 -0
  60. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/index.html +0 -0
  61. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/localhost.crt +0 -0
  62. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_auth/localhost.key +0 -0
  63. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_runtime/_contracts.py +0 -0
  64. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_runtime/_logging.py +0 -0
  65. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_runtime/_runtime.py +0 -0
  66. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_templates/.psmdcp.template +0 -0
  67. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_templates/.rels.template +0 -0
  68. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_templates/[Content_Types].xml.template +0 -0
  69. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_templates/main.py.template +0 -0
  70. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_templates/package.nuspec.template +0 -0
  71. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_utils/_common.py +0 -0
  72. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_utils/_console.py +0 -0
  73. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_utils/_folders.py +0 -0
  74. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_utils/_input_args.py +0 -0
  75. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/_utils/_parse_ast.py +0 -0
  76. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_auth.py +0 -0
  77. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_deploy.py +0 -0
  78. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_new.py +0 -0
  79. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_pack.py +0 -0
  80. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_publish.py +0 -0
  81. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/cli_run.py +0 -0
  82. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/middlewares.py +0 -0
  83. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_cli/spinner.py +0 -0
  84. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_config.py +0 -0
  85. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_execution_context.py +0 -0
  86. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_folder_context.py +0 -0
  87. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/__init__.py +0 -0
  88. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/_base_service.py +0 -0
  89. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/actions_service.py +0 -0
  90. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/api_client.py +0 -0
  91. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/assets_service.py +0 -0
  92. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/buckets_service.py +0 -0
  93. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/connections_service.py +0 -0
  94. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/connections_service.pyi +0 -0
  95. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/context_grounding_service.py +0 -0
  96. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/folder_service.py +0 -0
  97. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/jobs_service.py +0 -0
  98. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/llm_gateway_service.py +0 -0
  99. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/processes_service.py +0 -0
  100. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_services/queues_service.py +0 -0
  101. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_uipath.py +0 -0
  102. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/__init__.py +0 -0
  103. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/_endpoint.py +0 -0
  104. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/_infer_bindings.py +0 -0
  105. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/_logs.py +0 -0
  106. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/_request_override.py +0 -0
  107. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/_request_spec.py +0 -0
  108. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/_user_agent.py +0 -0
  109. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/_utils/constants.py +0 -0
  110. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/__init__.py +0 -0
  111. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/action_schema.py +0 -0
  112. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/actions.py +0 -0
  113. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/assets.py +0 -0
  114. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/connections.py +0 -0
  115. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/context_grounding.py +0 -0
  116. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/context_grounding_index.py +0 -0
  117. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/errors.py +0 -0
  118. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/exceptions.py +0 -0
  119. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/interrupt_models.py +0 -0
  120. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/job.py +0 -0
  121. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/llm_gateway.py +0 -0
  122. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/processes.py +0 -0
  123. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/models/queues.py +0 -0
  124. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/py.typed +0 -0
  125. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/tracing/__init__.py +0 -0
  126. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/tracing/_otel_exporters.py +0 -0
  127. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/tracing/_traced.py +0 -0
  128. {uipath-2.0.34 → uipath-2.0.35}/src/uipath/tracing/_utils.py +0 -0
  129. {uipath-2.0.34 → uipath-2.0.35}/tests/__init__.py +0 -0
  130. {uipath-2.0.34 → uipath-2.0.35}/tests/conftest.py +0 -0
  131. {uipath-2.0.34 → uipath-2.0.35}/tests/sdk/services/test_llm_integration.py +0 -0
  132. {uipath-2.0.34 → uipath-2.0.35}/tests/sdk/services/test_llm_service.py +0 -0
  133. {uipath-2.0.34 → uipath-2.0.35}/tests/sdk/services/test_uipath_llm_integration.py +0 -0
  134. {uipath-2.0.34 → uipath-2.0.35}/tests/sdk/test_config.py +0 -0
  135. {uipath-2.0.34 → uipath-2.0.35}/tests/tracing/test_otel_exporters.py +0 -0
  136. {uipath-2.0.34 → uipath-2.0.35}/tests/tracing/test_span_utils.py +0 -0
  137. {uipath-2.0.34 → uipath-2.0.35}/tests/tracing/test_traced.py +0 -0
  138. {uipath-2.0.34 → uipath-2.0.35}/tests/tracing/test_tracing_manager.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.34
3
+ Version: 2.0.35
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
@@ -0,0 +1,165 @@
1
+ # CLI Reference
2
+
3
+ ::: mkdocs-click
4
+ :module: uipath._cli
5
+ :command: auth
6
+ :depth: 1
7
+ :style: table
8
+
9
+ <!-- termynal -->
10
+
11
+ ```shell
12
+ > uipath auth
13
+ ⠋ Authenticating with UiPath ...
14
+ 🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
15
+ 👇 Select tenant:
16
+ 0: Tenant1
17
+ 1: Tenant2
18
+ Select tenant number: 0
19
+ Selected tenant: Tenant1
20
+ ✓ Authentication successful.
21
+ ```
22
+ ---
23
+
24
+ ::: mkdocs-click
25
+ :module: uipath._cli
26
+ :command: init
27
+ :depth: 1
28
+ :style: table
29
+
30
+ /// warning
31
+
32
+ The `uipath init` command executes your `main.py` file to analyze its structure and collect information about inputs and outputs.
33
+ ///
34
+
35
+ <!-- termynal -->
36
+ ```shell
37
+ > uipath init
38
+ ⠋ Initializing UiPath project ...
39
+ ✓ Created 'uipath.json' file.
40
+ ```
41
+ ---
42
+
43
+ ::: mkdocs-click
44
+ :module: uipath._cli
45
+ :command: run
46
+ :depth: 1
47
+ :style: table
48
+
49
+ /// warning
50
+ Depending on the shell you are using, it may be necessary to escape the input json:
51
+
52
+ /// tab | Bash/ZSH
53
+ ```console
54
+ uipath run agent '{"topic": "UiPath"}'
55
+ ```
56
+ ///
57
+
58
+ /// tab | Windows CMD
59
+ ```console
60
+ uipath run agent "{""topic"": ""UiPath""}"
61
+ ```
62
+ ///
63
+
64
+ /// tab | Windows PowerShell
65
+ ```console
66
+ uipath run agent '{\"topic\":\"uipath\"}'
67
+ ```
68
+ ///
69
+
70
+ ///
71
+
72
+ <!-- termynal -->
73
+
74
+ ```shell
75
+ > uipath run main.py '{"message": "test"}'
76
+ [2025-04-11 10:13:58,857][INFO] {'message': 'test'}
77
+ ```
78
+ ---
79
+
80
+ ::: mkdocs-click
81
+ :module: uipath._cli
82
+ :command: pack
83
+ :depth: 1
84
+ :style: table
85
+
86
+ Packages your project into a `.nupkg` file that can be deployed to UiPath.
87
+
88
+ /// warning
89
+ Your `pyproject.toml` must include:
90
+
91
+ - A description field (avoid characters: &, <, >, ", ', ;)
92
+ - Author information
93
+
94
+ Example:
95
+
96
+ ```toml
97
+ description = "Your package description"
98
+ authors = [{name = "Your Name", email = "your.email@example.com"}]
99
+ ```
100
+ ///
101
+
102
+ <!-- termynal -->
103
+ ```shell
104
+ > uipath pack
105
+ ⠋ Packaging project ...
106
+ Name : test
107
+ Version : 0.1.0
108
+ Description: Add your description here
109
+ Authors : Your Name
110
+ ✓ Project successfully packaged.
111
+ ```
112
+ ---
113
+
114
+ ::: mkdocs-click
115
+ :module: uipath._cli
116
+ :command: publish
117
+ :depth: 1
118
+ :style: table
119
+
120
+ /// warning
121
+ To properly use the CLI for packaging and publishing, your project should include:
122
+
123
+ - A `pyproject.toml` file with project metadata
124
+ - A `uipath.json` file (generated by `uipath init`)
125
+ - Any Python files needed for your automation
126
+ ///
127
+
128
+ <!-- termynal -->
129
+
130
+ ```shell
131
+ > uipath publish
132
+ ⠋ Fetching available package feeds...
133
+ 👇 Select package feed:
134
+ 0: Orchestrator Tenant Processes Feed
135
+ 1: Orchestrator Personal Workspace Feed
136
+ Select feed number: 0
137
+ Selected feed: Orchestrator Tenant Processes Feed
138
+ ⠸ Publishing most recent package: test.0.1.0.nupkg ...
139
+ ✓ Package published successfully!
140
+ ```
141
+ ---
142
+
143
+ ::: mkdocs-click
144
+ :module: uipath._cli
145
+ :command: deploy
146
+ :depth: 1
147
+ :style: table
148
+
149
+ ---
150
+
151
+ ::: mkdocs-click
152
+ :module: uipath._cli
153
+ :command: invoke
154
+ :depth: 1
155
+ :style: table
156
+
157
+ <!-- termynal -->
158
+
159
+ ```shell
160
+ > uipath invoke agent '{"topic": "UiPath"}'
161
+ ⠴ Loading configuration ...
162
+ ⠴ Starting job ...
163
+ ✨ Job started successfully!
164
+ 🔗 Monitor your job here: [LINK]
165
+ ```
@@ -153,8 +153,7 @@ To create a UiPath project, run the following command in your terminal:
153
153
  ✓ Created 'uipath.json' file.
154
154
  ```
155
155
 
156
- /// admonition
157
- type: warning
156
+ /// warning
158
157
 
159
158
  The `uipath init` command executes your `main.py` file to analyze its structure and collect information about inputs and outputs.
160
159
  ///
@@ -0,0 +1,35 @@
1
+ function updateThemePictures() {
2
+ const body = document.body;
3
+ const mediaAttr = body.getAttribute("data-md-color-media") || "";
4
+ const isDark = mediaAttr.includes("dark");
5
+
6
+ const pictures = document.querySelectorAll("picture");
7
+
8
+ pictures.forEach((picture) => {
9
+ const darkSrc = picture.getAttribute("data-dark");
10
+ const lightSrc = picture.getAttribute("data-light");
11
+
12
+ const source = picture.querySelector("source");
13
+ const img = picture.querySelector("img");
14
+
15
+ if (isDark) {
16
+ source.media = "all";
17
+ source.srcset = darkSrc;
18
+ img.src = darkSrc;
19
+ } else {
20
+ source.media = "not all";
21
+ source.srcset = lightSrc;
22
+ img.src = lightSrc;
23
+ }
24
+ });
25
+ }
26
+
27
+ // Run on load
28
+ updateThemePictures();
29
+
30
+ // Watch for changes to the theme
31
+ const observer = new MutationObserver(updateThemePictures);
32
+ observer.observe(document.body, {
33
+ attributes: true,
34
+ attributeFilter: ["data-md-color-media"],
35
+ });
@@ -80,4 +80,4 @@ body[data-md-color-scheme=slate] {
80
80
  display: none;
81
81
  }
82
82
  }
83
- }
83
+ }
@@ -9,6 +9,9 @@ copyright: Copyright &copy; 2025 UiPath
9
9
  extra_css:
10
10
  - stylesheets/extra.css
11
11
 
12
+ extra_javascript:
13
+ - javascripts/extra.js
14
+
12
15
  theme:
13
16
  name: material
14
17
  palette:
@@ -35,8 +38,6 @@ theme:
35
38
  - content.tooltips
36
39
  - navigation.expand
37
40
  - navigation.footer
38
- - navigation.instant.prefetch
39
- - navigation.instant.progress
40
41
  - navigation.sections
41
42
  - search.highlight
42
43
  - search.share
@@ -47,14 +48,14 @@ theme:
47
48
 
48
49
  nav:
49
50
  - UiPath Langchain SDK:
50
- - langchain/index.md
51
51
  - Getting Started: index.md
52
+ - Sample agents: https://github.com/UiPath/uipath-langchain-python/tree/main/samples
52
53
  - Chat Models: langchain/chat_models.md
53
54
  - Context Grounding: langchain/context_grounding.md
54
55
  - Human In The Loop: langchain/human_in_the_loop.md
55
56
  - UiPath SDK:
56
- - core/index.md
57
57
  - Getting Started: core/getting_started.md
58
+ - CLI Reference: cli/index.md
58
59
  - Services:
59
60
  - Actions: core/actions.md
60
61
  - Assets: core/assets.md
@@ -81,6 +82,7 @@ markdown_extensions:
81
82
  - attr_list
82
83
  - md_in_html
83
84
  - admonition
85
+ - mkdocs-click
84
86
  - pymdownx.blocks.tab:
85
87
  alternate_style: true
86
88
  - pymdownx.blocks.admonition:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "uipath"
3
- version = "2.0.34"
3
+ version = "2.0.35"
4
4
  description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
5
5
  readme = { file = "README.md", content-type = "text/markdown" }
6
6
  requires-python = ">=3.10"
@@ -58,6 +58,7 @@ dev = [
58
58
  "mkdocstrings-python>=1.16.5",
59
59
  "termynal>=0.13.0",
60
60
  "mkdocs-simple-hooks>=0.1.5",
61
+ "mkdocs-click>=0.9.0",
61
62
  ]
62
63
 
63
64
  [project.optional-dependencies]
@@ -30,7 +30,7 @@ def get_release_info(
30
30
  return None, None
31
31
  except IndexError:
32
32
  console.error(
33
- "Error: No process found in your workspace. Please publish the process first."
33
+ f"Error: No process with name '{package_name}' found in your workspace. Please publish the process first."
34
34
  )
35
35
  return None, None
36
36
  else:
@@ -20,10 +20,9 @@ def generate_env_file(target_directory):
20
20
 
21
21
  if not os.path.exists(env_path):
22
22
  relative_path = os.path.relpath(env_path, target_directory)
23
+ with open(env_path, "w"):
24
+ pass
23
25
  console.success(f" Created '{relative_path}' file.")
24
- with open(env_path, "w") as f:
25
- f.write("UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE\n")
26
- f.write("UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME\n")
27
26
 
28
27
 
29
28
  def get_user_script(directory: str, entrypoint: Optional[str] = None) -> Optional[str]:
@@ -43,7 +43,7 @@ def _read_project_name() -> str:
43
43
  @click.argument("entrypoint", required=False)
44
44
  @click.argument("input", required=False, default="{}")
45
45
  def invoke(entrypoint: Optional[str], input: Optional[str]) -> None:
46
- """Invoke a published agent."""
46
+ """Invoke an agent published in my workspace."""
47
47
  with console.spinner("Loading configuration ..."):
48
48
  current_path = os.getcwd()
49
49
  load_dotenv(os.path.join(current_path, ".env"), override=True)
@@ -19,14 +19,7 @@ def test_init_env_file_creation(runner: CliRunner, temp_dir: str) -> None:
19
19
  assert result.exit_code == 0
20
20
  assert "Created '.env' file" in result.output
21
21
 
22
- # Use relative path instead of temp_dir
23
- with open(".env", "r") as f:
24
- content = f.read()
25
- assert "UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE" in content
26
- assert (
27
- "UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME"
28
- in content
29
- )
22
+ assert os.path.exists(".env")
30
23
 
31
24
  # Test existing .env isn't overwritten
32
25
  original_content = "EXISTING=CONFIG"
@@ -1156,6 +1156,19 @@ wheels = [
1156
1156
  { url = "https://files.pythonhosted.org/packages/f8/29/1125f7b11db63e8e32bcfa0752a4eea30abff3ebd0796f808e14571ddaa2/mkdocs_autorefs-1.4.1-py3-none-any.whl", hash = "sha256:9793c5ac06a6ebbe52ec0f8439256e66187badf4b5334b5fde0b128ec134df4f", size = 5782047 },
1157
1157
  ]
1158
1158
 
1159
+ [[package]]
1160
+ name = "mkdocs-click"
1161
+ version = "0.9.0"
1162
+ source = { registry = "https://pypi.org/simple" }
1163
+ dependencies = [
1164
+ { name = "click" },
1165
+ { name = "markdown" },
1166
+ ]
1167
+ sdist = { url = "https://files.pythonhosted.org/packages/a1/c7/8c25f3a3b379def41e6d0bb5c4beeab7aa8a394b17e749f498504102cfa5/mkdocs_click-0.9.0.tar.gz", hash = "sha256:6050917628d4740517541422b607404d044117bc31b770c4f9e9e1939a50c908", size = 18720 }
1168
+ wheels = [
1169
+ { url = "https://files.pythonhosted.org/packages/e9/fc/9124ab36e2341e78d8d9c669511bd70f52ea0de8105760c31fabec1f9396/mkdocs_click-0.9.0-py3-none-any.whl", hash = "sha256:5208e828f4f68f63c847c1ef7be48edee9964090390afc8f5b3d4cbe5ea9bbed", size = 15104 },
1170
+ ]
1171
+
1159
1172
  [[package]]
1160
1173
  name = "mkdocs-get-deps"
1161
1174
  version = "0.2.0"
@@ -2543,7 +2556,7 @@ wheels = [
2543
2556
 
2544
2557
  [[package]]
2545
2558
  name = "uipath"
2546
- version = "2.0.34"
2559
+ version = "2.0.35"
2547
2560
  source = { editable = "." }
2548
2561
  dependencies = [
2549
2562
  { name = "click" },
@@ -2569,6 +2582,7 @@ langchain = [
2569
2582
  dev = [
2570
2583
  { name = "bandit" },
2571
2584
  { name = "mkdocs" },
2585
+ { name = "mkdocs-click" },
2572
2586
  { name = "mkdocs-material", extra = ["imaging"] },
2573
2587
  { name = "mkdocs-simple-hooks" },
2574
2588
  { name = "mkdocstrings" },
@@ -2604,6 +2618,7 @@ requires-dist = [
2604
2618
  dev = [
2605
2619
  { name = "bandit", specifier = ">=1.8.2" },
2606
2620
  { name = "mkdocs", specifier = ">=1.6.1" },
2621
+ { name = "mkdocs-click", specifier = ">=0.9.0" },
2607
2622
  { name = "mkdocs-material", extras = ["imaging"], specifier = ">=9.6.7" },
2608
2623
  { name = "mkdocs-simple-hooks", specifier = ">=0.1.5" },
2609
2624
  { name = "mkdocstrings", specifier = ">=0.29.0" },
@@ -1,7 +0,0 @@
1
- ---
2
- title: Introduction
3
- ---
4
-
5
- --8<--
6
- README.md
7
- --8<--
@@ -1,7 +0,0 @@
1
- ---
2
- title: Introduction
3
- ---
4
-
5
- --8<--
6
- docs/plugins/uipath-langchain-python/README.md
7
- --8<--
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes