@uipath/codedagent-tool 1.203.0-preview.212 → 1.204.0-preview.211

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.
package/README.md CHANGED
@@ -60,6 +60,23 @@ Options:
60
60
  Forwarded to the Python `uipath` CLI. Run `uip codedagent <command> --help` to see
61
61
  each command's own options.
62
62
 
63
+ Every command is forwarded with the arguments you typed, with one exception:
64
+ `new` is sent `--type agent`, so the scaffold follows the command rather than
65
+ whatever happens to be installed. `uipath new`'s own default (`--type auto`)
66
+ scaffolds an agent only when an agent framework package such as
67
+ `uipath-langchain` is present, and a Coded **Function** project when none is —
68
+ on the agent surface that is a silent wrong-type scaffold. With the type pinned
69
+ you get the Python CLI's explicit "no agent framework is installed" error
70
+ instead. The flag is only sent when the resolved `uipath` advertises it
71
+ (checked with one `uipath new --help` call, since older cores reject options
72
+ they do not know).
73
+
74
+ `--type` is not an option this command takes: `uip codedagent new` always
75
+ scaffolds an agent, so passing one exits `1` with
76
+ `--type is not a valid option.` rather than being honoured or silently
77
+ overridden. Nothing is spawned, so it costs no Python start-up. For a Coded
78
+ Function project, use `uip function new`.
79
+
63
80
  | Command | Description |
64
81
  | --- | --- |
65
82
  | `add` | Create a local resource. |
@@ -156,7 +173,8 @@ export PYTHON_TOOL_PYTHON_VERSIONS=3.14,3.13,3.12,3.11
156
173
  ### Cache File
157
174
 
158
175
  `setup` writes `~/.uipath/.uipath-python-cache.json`, shared with
159
- `context-grounding-tool` — the other `uipath-python-bridge` consumer. It stores:
176
+ `context-grounding-tool` and `function-tool` — the other `uipath-python-bridge`
177
+ consumers. It stores:
160
178
  - Detected Python path
161
179
  - Python version
162
180
  - Last validation timestamp
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./tool-db7s8x48.js";
5
+ } from "./tool-qbah9hhz.js";
6
6
  import {
7
7
  Command
8
- } from "./tool-etst5h2w.js";
8
+ } from "./tool-fy5pvax7.js";
9
9
  import"./tool-1de529jm.js";
10
10
 
11
11
  // src/index.ts
package/dist/init.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  COMMAND_RULES,
3
3
  codedAgentCommandPreflight,
4
4
  runUipathPythonCommand
5
- } from "./tool-etst5h2w.js";
5
+ } from "./tool-fy5pvax7.js";
6
6
  import"./tool-1de529jm.js";
7
7
 
8
8
  // src/services/codedagent-init-service.ts