@uipath/coder-tool 1.199.0-preview.116 → 1.200.0-preview.117
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/dist/browser-strategy-fdkppa2b.js +98 -0
- package/dist/index.js +13 -10101
- package/dist/node-strategy-7affvvq6.js +62 -0
- package/dist/tool-9qecd4wb.js +14 -0
- package/dist/tool-kdq2k5ex.js +10729 -0
- package/dist/tool-nvhfxv67.js +1159 -0
- package/dist/tool-vc9mne6b.js +44 -0
- package/dist/tool.js +8 -29794
- package/package.json +2 -2
- package/tests/performance.e2e.test.ts +32 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/coder-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.200.0-preview.117",
|
|
5
5
|
"description": "Interactive coding agent (Pi) with UiPath LLM Gateway and BYO provider support.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/tool.js",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"registry": "https://registry.npmjs.org/"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "5ba432ca14252784a1e20c03f5a858a5ae39746e"
|
|
21
21
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { describe, it } from "vitest";
|
|
2
|
+
import {
|
|
3
|
+
type E2EManifest,
|
|
4
|
+
MANIFEST_PATH,
|
|
5
|
+
} from "../../../tests/e2e-shared/global-setup";
|
|
6
|
+
import {
|
|
7
|
+
assertHelpCommandDuration,
|
|
8
|
+
EXEC_TIMEOUT,
|
|
9
|
+
readManifest,
|
|
10
|
+
} from "../../../tests/e2e-shared/helpers";
|
|
11
|
+
|
|
12
|
+
const HELP_BUDGET_MS = 1_000;
|
|
13
|
+
|
|
14
|
+
const manifest = readManifest<E2EManifest>(MANIFEST_PATH);
|
|
15
|
+
const projectDir = manifest.sharedInstall.tempDir;
|
|
16
|
+
|
|
17
|
+
// Performance budgets are unreliable on Windows CI runners; skip there.
|
|
18
|
+
describe.skipIf(process.platform === "win32")("coder performance", () => {
|
|
19
|
+
it(
|
|
20
|
+
`uip coder -h completes within ${HELP_BUDGET_MS}ms`,
|
|
21
|
+
() => {
|
|
22
|
+
assertHelpCommandDuration({
|
|
23
|
+
projectDir,
|
|
24
|
+
packageName: "@uipath/coder-tool",
|
|
25
|
+
args: "coder -h",
|
|
26
|
+
thresholdMs: HELP_BUDGET_MS,
|
|
27
|
+
testFileUrl: import.meta.url,
|
|
28
|
+
});
|
|
29
|
+
},
|
|
30
|
+
EXEC_TIMEOUT,
|
|
31
|
+
);
|
|
32
|
+
});
|