@uipath/project-packager 1.199.0 → 1.201.0-preview.115
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.js +7 -9
- package/dist/index.js +9 -11
- package/dist/node.js +7709 -7358
- package/package.json +5 -5
package/dist/browser.js
CHANGED
|
@@ -22652,7 +22652,7 @@ var COMMAND_ATTRIBUTION = commandAttribution([
|
|
|
22652
22652
|
["agents", "build", ["uip.codedagent", "uip.agent"]],
|
|
22653
22653
|
["agenthub", "build", ["uip.agenthub"]],
|
|
22654
22654
|
["coded-apps", "build", ["uip.codedapp"]],
|
|
22655
|
-
["functions", "build", ["uip.functions"]],
|
|
22655
|
+
["functions", "build", ["uip.function", "uip.functions"]],
|
|
22656
22656
|
["solution", "build", ["uip.solution"]],
|
|
22657
22657
|
["maestro", "build", ["uip.maestro", "uip.case", "uip.flow"]],
|
|
22658
22658
|
["llm-observability", "troubleshoot", ["uip.traces"]],
|
|
@@ -23190,14 +23190,11 @@ class TelemetryService {
|
|
|
23190
23190
|
}
|
|
23191
23191
|
async trackDependencyOperation(name, type, fn, properties) {
|
|
23192
23192
|
const parentContext = this.getCurrentContext();
|
|
23193
|
-
|
|
23194
|
-
throw new Error("trackDependencyOperation must be called within a trackRequest block.");
|
|
23195
|
-
}
|
|
23196
|
-
const childContext = {
|
|
23193
|
+
const childContext = parentContext !== undefined ? {
|
|
23197
23194
|
operationId: parentContext.operationId,
|
|
23198
23195
|
parentId: parentContext.id,
|
|
23199
23196
|
id: this.generateId()
|
|
23200
|
-
};
|
|
23197
|
+
} : this.createRequestContext();
|
|
23201
23198
|
const startTime = performance.now();
|
|
23202
23199
|
try {
|
|
23203
23200
|
const result = await this.contextStorage.run(childContext, fn);
|
|
@@ -23246,6 +23243,7 @@ class TelemetryService {
|
|
|
23246
23243
|
}
|
|
23247
23244
|
}
|
|
23248
23245
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
23246
|
+
var moduleSlot = singleton("ToolModuleProvider");
|
|
23249
23247
|
|
|
23250
23248
|
// src/base-browser-packager-factory.ts
|
|
23251
23249
|
import { BrowserFileSystem } from "@uipath/filesystem/browser";
|
|
@@ -24082,7 +24080,7 @@ class ProjectPackager {
|
|
|
24082
24080
|
}, cancellationToken);
|
|
24083
24081
|
}
|
|
24084
24082
|
async packProjectAsync(options, cancellationToken) {
|
|
24085
|
-
return await this.telemetryService.
|
|
24083
|
+
return await this.telemetryService.trackDependencyOperation("ProjectPackager.Pack" /* ProjectPackagerPack */, "pack", async () => {
|
|
24086
24084
|
try {
|
|
24087
24085
|
await this.governancePolicyService.resolveGovernancePolicyAsync(options.validateOptions, options.connection, cancellationToken);
|
|
24088
24086
|
let result = await this.packOptionsValidator.validateAsync(options, cancellationToken);
|
|
@@ -24167,7 +24165,7 @@ class ProjectPackager {
|
|
|
24167
24165
|
return packageStreams;
|
|
24168
24166
|
}
|
|
24169
24167
|
async executeProjectOperationAsync(options, operationName, telemetryName, operation, _cancellationToken) {
|
|
24170
|
-
return await this.telemetryService.
|
|
24168
|
+
return await this.telemetryService.trackDependencyOperation(telemetryName, operationName.toLowerCase(), async () => {
|
|
24171
24169
|
try {
|
|
24172
24170
|
const loadedProject = await this.projectLoader.loadProject(options.inputPath);
|
|
24173
24171
|
const uiPathProject = {
|
|
@@ -24262,4 +24260,4 @@ export {
|
|
|
24262
24260
|
BaseBrowserPackagerFactory
|
|
24263
24261
|
};
|
|
24264
24262
|
|
|
24265
|
-
//# debugId=
|
|
24263
|
+
//# debugId=F73F22FB7739EA3164756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -22652,7 +22652,7 @@ var COMMAND_ATTRIBUTION = commandAttribution([
|
|
|
22652
22652
|
["agents", "build", ["uip.codedagent", "uip.agent"]],
|
|
22653
22653
|
["agenthub", "build", ["uip.agenthub"]],
|
|
22654
22654
|
["coded-apps", "build", ["uip.codedapp"]],
|
|
22655
|
-
["functions", "build", ["uip.functions"]],
|
|
22655
|
+
["functions", "build", ["uip.function", "uip.functions"]],
|
|
22656
22656
|
["solution", "build", ["uip.solution"]],
|
|
22657
22657
|
["maestro", "build", ["uip.maestro", "uip.case", "uip.flow"]],
|
|
22658
22658
|
["llm-observability", "troubleshoot", ["uip.traces"]],
|
|
@@ -23190,14 +23190,11 @@ class TelemetryService {
|
|
|
23190
23190
|
}
|
|
23191
23191
|
async trackDependencyOperation(name, type, fn, properties) {
|
|
23192
23192
|
const parentContext = this.getCurrentContext();
|
|
23193
|
-
|
|
23194
|
-
throw new Error("trackDependencyOperation must be called within a trackRequest block.");
|
|
23195
|
-
}
|
|
23196
|
-
const childContext = {
|
|
23193
|
+
const childContext = parentContext !== undefined ? {
|
|
23197
23194
|
operationId: parentContext.operationId,
|
|
23198
23195
|
parentId: parentContext.id,
|
|
23199
23196
|
id: this.generateId()
|
|
23200
|
-
};
|
|
23197
|
+
} : this.createRequestContext();
|
|
23201
23198
|
const startTime = performance.now();
|
|
23202
23199
|
try {
|
|
23203
23200
|
const result = await this.contextStorage.run(childContext, fn);
|
|
@@ -23246,6 +23243,7 @@ class TelemetryService {
|
|
|
23246
23243
|
}
|
|
23247
23244
|
}
|
|
23248
23245
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
23246
|
+
var moduleSlot = singleton("ToolModuleProvider");
|
|
23249
23247
|
// src/models/packager-parameters.ts
|
|
23250
23248
|
import {
|
|
23251
23249
|
LogLevel as LogLevel2
|
|
@@ -23645,7 +23643,7 @@ import { translate as translate3 } from "@uipath/solutionpackager-tool-core";
|
|
|
23645
23643
|
var package_default = {
|
|
23646
23644
|
name: "@uipath/project-packager",
|
|
23647
23645
|
license: "MIT",
|
|
23648
|
-
version: "1.
|
|
23646
|
+
version: "1.201.0-preview.115",
|
|
23649
23647
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
23650
23648
|
type: "module",
|
|
23651
23649
|
main: "./dist/index.js",
|
|
@@ -23709,7 +23707,7 @@ var package_default = {
|
|
|
23709
23707
|
"@uipath/packager-tool-workflowcompiler": "workspace:*",
|
|
23710
23708
|
"@vitest/coverage-v8": "^4.1.6",
|
|
23711
23709
|
jsdom: "^30.0.1",
|
|
23712
|
-
typescript: "^
|
|
23710
|
+
typescript: "^7.0.2",
|
|
23713
23711
|
"vite-tsconfig-paths": "^6.1.1",
|
|
23714
23712
|
vitest: "^4.1.6"
|
|
23715
23713
|
}
|
|
@@ -24734,7 +24732,7 @@ class ProjectPackager {
|
|
|
24734
24732
|
}, cancellationToken);
|
|
24735
24733
|
}
|
|
24736
24734
|
async packProjectAsync(options, cancellationToken) {
|
|
24737
|
-
return await this.telemetryService.
|
|
24735
|
+
return await this.telemetryService.trackDependencyOperation("ProjectPackager.Pack" /* ProjectPackagerPack */, "pack", async () => {
|
|
24738
24736
|
try {
|
|
24739
24737
|
await this.governancePolicyService.resolveGovernancePolicyAsync(options.validateOptions, options.connection, cancellationToken);
|
|
24740
24738
|
let result = await this.packOptionsValidator.validateAsync(options, cancellationToken);
|
|
@@ -24819,7 +24817,7 @@ class ProjectPackager {
|
|
|
24819
24817
|
return packageStreams;
|
|
24820
24818
|
}
|
|
24821
24819
|
async executeProjectOperationAsync(options, operationName, telemetryName, operation, _cancellationToken) {
|
|
24822
|
-
return await this.telemetryService.
|
|
24820
|
+
return await this.telemetryService.trackDependencyOperation(telemetryName, operationName.toLowerCase(), async () => {
|
|
24823
24821
|
try {
|
|
24824
24822
|
const loadedProject = await this.projectLoader.loadProject(options.inputPath);
|
|
24825
24823
|
const uiPathProject = {
|
|
@@ -24920,4 +24918,4 @@ export {
|
|
|
24920
24918
|
BrowserContextStorage
|
|
24921
24919
|
};
|
|
24922
24920
|
|
|
24923
|
-
//# debugId=
|
|
24921
|
+
//# debugId=056C349CFFC7103464756E2164756E21
|