@uipath/data-fabric-tool 1.205.0-preview.277 → 1.206.0-preview.279

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 (24) hide show
  1. package/README.md +41 -0
  2. package/dist/{entities-inline-s20j00zz.js → entities-inline-hma8tpr7.js} +67 -52
  3. package/dist/{federated-payload-tbkxhqzh.js → federated-payload-x56jdmfy.js} +61 -26
  4. package/dist/{getMachineId-bsd-67w37xtj.js → getMachineId-bsd-hr7dy73y.js} +3 -3
  5. package/dist/{getMachineId-darwin-4g3xfpfp.js → getMachineId-darwin-k0c7ykqv.js} +3 -3
  6. package/dist/{getMachineId-linux-a4p6fb9w.js → getMachineId-linux-f0m4gd78.js} +2 -2
  7. package/dist/{getMachineId-unsupported-77w362eh.js → getMachineId-unsupported-e99prk6h.js} +2 -2
  8. package/dist/{getMachineId-win-9cfxg9c8.js → getMachineId-win-zqh7yjfs.js} +3 -3
  9. package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
  10. package/dist/index.js +11 -13
  11. package/dist/{jmespath-231m3hyn.js → jmespath-ab6tdc42.js} +1 -1
  12. package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
  13. package/dist/{packager-tool-pz3g5mpk.js → packager-tool-0j0r03b9.js} +3 -3
  14. package/dist/{packager-tool-bndhpxxj.js → packager-tool-4b88bsfh.js} +30 -30
  15. package/dist/{packager-tool-2wp1xwz4.js → packager-tool-4h93ssh9.js} +6 -6
  16. package/dist/{packager-tool-m0btwdsf.js → packager-tool-8h3n7zh5.js} +207 -3
  17. package/dist/{packager-tool-50va857z.js → packager-tool-a1eh30h8.js} +164 -60
  18. package/dist/{packager-tool-1de529jm.js → packager-tool-epsr41wx.js} +12 -3
  19. package/dist/{packager-tool-2czkpqb0.js → packager-tool-ggemp2c3.js} +1 -1
  20. package/dist/{packager-tool-w9r3qa12.js → packager-tool-rmg1jqy3.js} +1183 -1166
  21. package/dist/{packager-tool-xnrdmg37.js → packager-tool-xskp1rxe.js} +1494 -1214
  22. package/dist/packager-tool.js +5 -6
  23. package/dist/tool.js +10 -12
  24. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # @uipath/data-fabric-tool
2
+
3
+ Adds `uip df` to the `uip` CLI: UiPath Data Fabric entities (typed schemas), records (rows), choice sets (enumerations), file attachments on file fields, and the Integration Service connectors Data Fabric can federate from. Entities can also be authored offline inside a solution on disk with `--local`, then shipped with `uip solution pack`.
4
+
5
+ The tenant commands use the Data Fabric service of `@uipath/uipath-typescript`. Full guide: [docs/tools/data-fabric.md](../../docs/tools/data-fabric.md).
6
+
7
+ ## Commands
8
+
9
+ | Group | Commands | Purpose |
10
+ | --- | --- | --- |
11
+ | `entities` | `list`, `get`, `create`, `update`, `delete`, `validate` | Entity schemas on the tenant, or in the local solution with `--local` (`validate` is local only). |
12
+ | `records` | `list`, `get`, `insert`, `update`, `delete`, `query`, `import` | Rows of an entity; `query` takes filters, sorting and aggregates; `import` loads a CSV. |
13
+ | `files` | `upload`, `download`, `delete` | The file stored in a record's file field. |
14
+ | `choice-sets` | `list`, `list-values`, `create`, `update`, `delete` | Choice sets. |
15
+ | `choice-set-values` | `create`, `update`, `delete` | Values inside a choice set. |
16
+ | `connectors` | `list` | Integration Service connectors supported as federated sources. |
17
+
18
+ Entities and choice sets are tenant-level unless you pass `--folder-key`; `entities list --include-folders` shows both.
19
+
20
+ ## Examples
21
+
22
+ ```bash
23
+ uip df entities list --native-only --output json
24
+ uip df entities get <entity-id> --output json
25
+ uip df records insert <entity-id> --body '{"Name":"Alice","Score":95}' --output json
26
+ uip df records list <entity-id> --limit 50 --output json
27
+ uip df records import <entity-id> --file ./data.csv --output json
28
+ uip df files upload <entity-id> <record-id> <field-name> --file ./receipt.pdf
29
+ uip df records delete <entity-id> <record-id-1> <record-id-2> --yes --reason "cleanup"
30
+ uip df entities create PurchaseOrder --local --project-name MasterData
31
+ ```
32
+
33
+ ## Notes
34
+
35
+ - Deletes are irreversible and need `--yes --reason "<why>"`.
36
+ - `records list` / `query` page with `--cursor` (from `Data.NextCursor.Value`) or `--offset`, not both.
37
+ - CSV import handles basic field types only; use `records insert --file <records.json>` for choice-set, relationship, file and auto-number fields.
38
+
39
+ ## Authentication
40
+
41
+ Tenant commands need `uip login`. `--local` commands work on files only and need no login; run them inside the solution directory.
@@ -1,57 +1,57 @@
1
1
  import {
2
- AUTHORABLE_FIELD_TYPES,
3
- AuthoredFieldError,
2
+ getFileSystem,
3
+ RESULTS,
4
+ logger,
5
+ OutputFormatter,
6
+ processContext,
7
+ getSdkUserAgentToken,
8
+ installSdkUserAgentHeader,
9
+ quoteForShell,
10
+ unsupportedSolutionProjectType,
11
+ validateSchemaMetadata,
12
+ validateFieldsPayload
13
+ } from "./packager-tool-xskp1rxe.js";
14
+ import {
15
+ catchError,
16
+ validateNameFormat
17
+ } from "./packager-tool-8h3n7zh5.js";
18
+ import {
19
+ isMissingPathError,
20
+ isUnreadablePathError,
4
21
  ENTITY_EXTENSION_CONST,
5
- ENTITY_RESOURCE_DIR,
6
- SOLUTION_FOLDER,
7
- authorField,
8
- byName,
9
22
  collectSolutionEntityNames,
10
- createEntitySkeleton,
11
- entityResourcePath,
23
+ siblingNamesFor,
12
24
  findProjectsOwningEntity,
13
- findSolutionRoot,
25
+ byName,
26
+ AUTHORABLE_FIELD_TYPES,
27
+ AuthoredFieldError,
28
+ authorField,
14
29
  isLocallyAuthored,
15
- isMissingPathError,
16
- isSystemField,
17
- isUnreadablePathError,
30
+ createEntitySkeleton,
18
31
  requireAuthoredName,
32
+ validateEntity,
33
+ isSystemField,
34
+ SOLUTION_FOLDER,
35
+ ENTITY_RESOURCE_DIR,
36
+ entityResourcePath,
19
37
  serialize,
20
- siblingNamesFor,
38
+ wrapEntityJson,
21
39
  unwrapResource,
22
40
  updateResourceSchema,
23
- validateEntity,
24
41
  verifyPair,
25
- wrapEntityJson
26
- } from "./packager-tool-pz3g5mpk.js";
42
+ findSolutionRoot
43
+ } from "./packager-tool-0j0r03b9.js";
27
44
  import {
28
45
  fail,
29
46
  failInvalidArgument,
30
47
  failWithCode,
31
- readJsonInput,
32
- requireDestructiveConfirmation
33
- } from "./packager-tool-2wp1xwz4.js";
34
- import {
35
- OutputFormatter,
36
- RESULTS,
37
- getFileSystem,
38
- getSdkUserAgentToken,
39
- installSdkUserAgentHeader,
40
- logger,
41
- processContext,
42
- quoteForShell,
43
- unsupportedSolutionProjectType,
44
- validateFieldsPayload,
45
- validateSchemaMetadata
46
- } from "./packager-tool-xnrdmg37.js";
48
+ requireDestructiveConfirmation,
49
+ readJsonInput
50
+ } from "./packager-tool-4h93ssh9.js";
47
51
  import {
48
- catchError,
49
- validateNameFormat
50
- } from "./packager-tool-m0btwdsf.js";
51
- import {
52
- __commonJS,
53
- __toESM
54
- } from "./packager-tool-1de529jm.js";
52
+ __toESM,
53
+ __commonJS
54
+ } from "./packager-tool-epsr41wx.js";
55
55
 
56
56
  // ../../node_modules/ignore/index.js
57
57
  var require_ignore = __commonJS(function(exports, module) {
@@ -537,7 +537,7 @@ var package_default = {
537
537
  name: "@uipath/solution-sdk",
538
538
  author: "UiPath",
539
539
  license: "SEE LICENSE IN LICENSE.txt",
540
- version: "1.205.0-preview.277",
540
+ version: "1.206.0-preview.279",
541
541
  repository: {
542
542
  type: "git",
543
543
  url: "https://github.com/UiPath/cli.git",
@@ -574,6 +574,10 @@ var package_default = {
574
574
  "./packages": {
575
575
  types: "./dist/src/package-search.d.ts",
576
576
  default: "./dist/package-search.js"
577
+ },
578
+ "./project-context": {
579
+ types: "./dist/src/project-context.d.ts",
580
+ default: "./dist/project-context.js"
577
581
  }
578
582
  },
579
583
  bin: {
@@ -584,11 +588,12 @@ var package_default = {
584
588
  ],
585
589
  private: false,
586
590
  scripts: {
587
- build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
591
+ build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts ./src/project-context.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
588
592
  generate: "bun run src/scripts/generate-sdk.ts",
589
593
  lint: "biome check .",
590
594
  test: "vitest run",
591
- "test:coverage": "vitest run --coverage"
595
+ "test:coverage": "vitest run --coverage",
596
+ typecheck: "tsc --noEmit"
592
597
  },
593
598
  devDependencies: {
594
599
  "@openapitools/openapi-generator-cli": "^2.31.1",
@@ -2052,9 +2057,9 @@ async function inlineEntityDeleteAsync(projectName, entityName, options = {}) {
2052
2057
  async function assertResourceRemovableAsync(resource, projectName, entityName, solutionDir, fs) {
2053
2058
  if (await isSymlinkEntryAsync(resource, fs)) {
2054
2059
  await assertInsideSolutionAsync(fs.path.dirname(resource), solutionDir, fs);
2055
- const blocked2 = await derivedResourceOwnershipProblem(resource, projectName, entityName, solutionDir, fs, { ownersOnly: true });
2056
- if (blocked2 !== undefined) {
2057
- throw new InlineEntityError(`Refusing to delete the definition resource for '${entityName}'`, blocked2);
2060
+ const blocked = await derivedResourceOwnershipProblem(resource, projectName, entityName, solutionDir, fs, { ownersOnly: true });
2061
+ if (blocked !== undefined) {
2062
+ throw new InlineEntityError(`Refusing to delete the definition resource for '${entityName}'`, blocked);
2058
2063
  }
2059
2064
  return;
2060
2065
  }
@@ -2339,11 +2344,11 @@ async function runLocalList(options) {
2339
2344
  }
2340
2345
  async function resolveLocalTargetAsync(name, projectName) {
2341
2346
  if (projectName === undefined) {
2342
- const owner2 = await resolveOwningProjectAsync(name);
2347
+ const owner = await resolveOwningProjectAsync(name);
2343
2348
  return {
2344
- project: owner2.projectName,
2345
- entity: owner2.entityName,
2346
- scope: { cwd: owner2.solutionDir }
2349
+ project: owner.projectName,
2350
+ entity: owner.entityName,
2351
+ scope: { cwd: owner.solutionDir }
2347
2352
  };
2348
2353
  }
2349
2354
  const owner = await resolveOwningProjectAsync(name).catch(() => {
@@ -2577,7 +2582,17 @@ var SDK_ENTITY_KEYS = {
2577
2582
  isRbacEnabled: "tenant",
2578
2583
  isAnalyticsEnabled: "tenant",
2579
2584
  folderKey: "tenant",
2580
- externalFields: "federated"
2585
+ entityClass: "federated",
2586
+ externalFields: "federated",
2587
+ sourceJoinConditionDetails: "federated",
2588
+ addExternalSources: "federated",
2589
+ removeExternalSources: "federated",
2590
+ addExternalFields: "federated",
2591
+ removeExternalFields: "federated",
2592
+ addSourceJoins: "federated",
2593
+ updateSourceJoin: "federated",
2594
+ replaceSourceJoins: "federated",
2595
+ updateExternalConnection: "federated"
2581
2596
  };
2582
2597
  var SDK_FIELD_KEYS = {
2583
2598
  name: "local",
@@ -2617,7 +2632,7 @@ function federatedKeysIn(value) {
2617
2632
  if (key === "entityClass") {
2618
2633
  return typeof value.entityClass === "string" && value.entityClass.trim().toLowerCase() === "federated";
2619
2634
  }
2620
- return (FEDERATED_SDK_KEYS.includes(key) || key === "sourceJoinCriterias" || key === "sourceJoinConditionDetails") && present(value[key]);
2635
+ return (FEDERATED_SDK_KEYS.includes(key) || key === "sourceJoinCriterias") && present(value[key]);
2621
2636
  });
2622
2637
  }
2623
2638
  function quoteList(keys) {
@@ -2774,4 +2789,4 @@ export {
2774
2789
  runLocalValidate
2775
2790
  };
2776
2791
 
2777
- //# debugId=3E9E3C72DE5DFDD464756E2164756E21
2792
+ //# debugId=CE0E12BED120CF4164756E2164756E21
@@ -1,18 +1,16 @@
1
1
  import {
2
- EntityFieldDataType,
3
- getAuthContext
4
- } from "./packager-tool-w9r3qa12.js";
5
- import"./packager-tool-bndhpxxj.js";
6
- import {
7
- addSdkUserAgentHeader,
8
2
  getSdkUserAgentToken,
3
+ addSdkUserAgentHeader,
9
4
  installSdkUserAgentHeader
10
- } from "./packager-tool-xnrdmg37.js";
5
+ } from "./packager-tool-xskp1rxe.js";
11
6
  import {
12
7
  catchError,
13
8
  validateName
14
- } from "./packager-tool-m0btwdsf.js";
15
- import"./packager-tool-1de529jm.js";
9
+ } from "./packager-tool-8h3n7zh5.js";
10
+ import {
11
+ getAuthContext,
12
+ EntityFieldDataType
13
+ } from "./packager-tool-rmg1jqy3.js";
16
14
 
17
15
  // ../integrationservice-sdk/generated/connections/src/runtime.ts
18
16
  var BASE_PATH = "https://alpha.uipath.com/entity/Azure/connections_".replace(/\/+$/, "");
@@ -545,7 +543,7 @@ var package_default = {
545
543
  name: "@uipath/integrationservice-sdk",
546
544
  author: "UiPath",
547
545
  license: "SEE LICENSE IN LICENSE.txt",
548
- version: "1.205.0-preview.277",
546
+ version: "1.206.0-preview.279",
549
547
  repository: {
550
548
  type: "git",
551
549
  url: "https://github.com/UiPath/cli.git",
@@ -566,17 +564,26 @@ var package_default = {
566
564
  ".": {
567
565
  types: "./dist/src/index.d.ts",
568
566
  default: "./dist/index.js"
567
+ },
568
+ "./bindings": {
569
+ types: "./dist/src/bindings.d.ts",
570
+ default: "./dist/bindings.js"
571
+ },
572
+ "./connections": {
573
+ types: "./dist/src/connections.d.ts",
574
+ default: "./dist/connections.js"
569
575
  }
570
576
  },
571
577
  files: [
572
578
  "dist"
573
579
  ],
574
580
  scripts: {
575
- build: "bun build ./src/index.ts --outdir dist --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
581
+ build: "bun build ./src/index.ts ./src/bindings.ts ./src/connections.ts --outdir dist --root ./src --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
576
582
  generate: "bun run src/scripts/generate-sdk.ts",
577
583
  lint: "biome check .",
578
584
  test: "vitest run",
579
- "test:coverage": "vitest run --coverage"
585
+ "test:coverage": "vitest run --coverage",
586
+ typecheck: "tsc --noEmit"
580
587
  },
581
588
  devDependencies: {
582
589
  "@uipath/auth": "workspace:*",
@@ -587,7 +594,7 @@ var package_default = {
587
594
  typescript: "^7.0.2"
588
595
  },
589
596
  dependencies: {
590
- "@uipath/integration-service-design-time": "2.10.0"
597
+ "@uipath/integration-service-design-time": "3.3.0"
591
598
  }
592
599
  };
593
600
 
@@ -6323,10 +6330,13 @@ async function getValidatedAuthContext(options) {
6323
6330
  tenantName: ctx.tenantName
6324
6331
  };
6325
6332
  }
6333
+ function tenantServiceRoot(baseUrl, organizationId, tenantName) {
6334
+ return `${baseUrl}/${encodeURIComponent(organizationId)}/${encodeURIComponent(tenantName)}`;
6335
+ }
6326
6336
  async function createConnectionsConfig(options) {
6327
6337
  const { baseUrl, accessToken, organizationId, tenantName } = await getValidatedAuthContext(options);
6328
6338
  return new Configuration({
6329
- basePath: `${baseUrl}/${organizationId}/${tenantName}/connections_`,
6339
+ basePath: `${tenantServiceRoot(baseUrl, organizationId, tenantName)}/connections_`,
6330
6340
  accessToken: async () => accessToken,
6331
6341
  headers: addSdkUserAgentHeader({
6332
6342
  "x-uipath-source": "UiPath.CodingAgent"
@@ -6336,7 +6346,7 @@ async function createConnectionsConfig(options) {
6336
6346
  async function createElementsConfig(options) {
6337
6347
  const { baseUrl, accessToken, organizationId, tenantName } = await getValidatedAuthContext(options);
6338
6348
  return new Configuration2({
6339
- basePath: `${baseUrl}/${organizationId}/${tenantName}/elements_/v3/element`,
6349
+ basePath: `${tenantServiceRoot(baseUrl, organizationId, tenantName)}/elements_/v3/element`,
6340
6350
  accessToken: async () => accessToken,
6341
6351
  headers: addSdkUserAgentHeader({
6342
6352
  "x-uipath-source": "UiPath.CodingAgent"
@@ -6348,7 +6358,11 @@ async function createApiClient(ApiClass, options) {
6348
6358
  if (!domain) {
6349
6359
  throw new Error(`Unknown API class: ${ApiClass.name}`);
6350
6360
  }
6351
- const config = domain === "connections" ? await createConnectionsConfig(options) : await createElementsConfig(options);
6361
+ if (domain === "connections") {
6362
+ const config = await createConnectionsConfig(options);
6363
+ return new ApiClass(config);
6364
+ }
6365
+ const config = await createElementsConfig(options);
6352
6366
  return new ApiClass(config);
6353
6367
  }
6354
6368
  // ../integrationservice-sdk/src/connection-state.ts
@@ -6380,6 +6394,28 @@ function normalizeConnectionStatus(status) {
6380
6394
  }
6381
6395
  return "Unknown";
6382
6396
  }
6397
+ // ../integrationservice-sdk/src/dap/managed-http.ts
6398
+ var MANAGED_HTTP_METHODS = new Set([
6399
+ "GET",
6400
+ "POST",
6401
+ "PUT",
6402
+ "PATCH",
6403
+ "DELETE",
6404
+ "OPTIONS",
6405
+ "HEAD"
6406
+ ]);
6407
+ var MANAGED_HTTP_KEYS = new Set([
6408
+ "authentication",
6409
+ "method",
6410
+ "url",
6411
+ "connectionId",
6412
+ "folderKey",
6413
+ "targetConnector",
6414
+ "headers",
6415
+ "query",
6416
+ "body"
6417
+ ]);
6418
+
6383
6419
  // ../integrationservice-sdk/src/dap/essential-config.ts
6384
6420
  var JIT_INPUT_OPERATIONS = new Set(["create", "update", "replace"]);
6385
6421
  // ../integrationservice-sdk/src/dap/validation/rules.ts
@@ -6408,13 +6444,13 @@ var OPERATION_TO_METHOD = {
6408
6444
  // ../integrationservice-sdk/src/metadata/resource-metadata.ts
6409
6445
  async function fetchRawMetadata(api, connectorKey, objectName, connectionId) {
6410
6446
  if (connectionId) {
6411
- const response2 = await api.getInstanceObjectMetadataRaw({
6447
+ const response = await api.getInstanceObjectMetadataRaw({
6412
6448
  connectionOrInstanceId: connectionId,
6413
6449
  elementKey: connectorKey,
6414
6450
  objectName,
6415
6451
  includeParentArray: true
6416
6452
  });
6417
- return await response2.raw.json();
6453
+ return await response.raw.json();
6418
6454
  }
6419
6455
  const response = await api.getObjectMetadataRaw({
6420
6456
  elementKey: connectorKey,
@@ -6429,13 +6465,13 @@ function buildResourceCompactSummary(metadata, operation) {
6429
6465
  const fields = metadata.fields || {};
6430
6466
  if (!operation) {
6431
6467
  const availableOperations = Object.entries(methods).map(([methodKey, methodVal]) => {
6432
- const curated2 = methodVal.curated;
6468
+ const curated = methodVal.curated;
6433
6469
  return {
6434
6470
  method: methodKey,
6435
6471
  name: METHOD_TO_OPERATION[methodKey] || methodKey,
6436
6472
  description: methodVal.description,
6437
6473
  path: methodVal.path,
6438
- curated: curated2?.displayName
6474
+ curated: curated?.displayName
6439
6475
  };
6440
6476
  });
6441
6477
  return {
@@ -6904,8 +6940,8 @@ async function expandFederatedCreate(definition, provider, entityName) {
6904
6940
  const dimensionObjects = new Set(joins.map((j) => sourceKey(j.relatedSource, j.relatedConnectionId)));
6905
6941
  const used = new Set(entityName ? [entityName.toLowerCase()] : []);
6906
6942
  const externalFields = [];
6907
- for (const src2 of sources) {
6908
- const expanded = await expandSource(src2, dimensionObjects, joins, provider, used);
6943
+ for (const src of sources) {
6944
+ const expanded = await expandSource(src, dimensionObjects, joins, provider, used);
6909
6945
  externalFields.push(expanded.source);
6910
6946
  }
6911
6947
  return {
@@ -6967,8 +7003,8 @@ async function expandFederatedUpdate(definition, provider, currentSources, exist
6967
7003
  throw new Error("'addExternalSources' must be an array.");
6968
7004
  }
6969
7005
  const added = [];
6970
- for (const src2 of definition.addExternalSources) {
6971
- const expanded = await expandSource(src2, dimensionObjects, joins, provider, used);
7006
+ for (const src of definition.addExternalSources) {
7007
+ const expanded = await expandSource(src, dimensionObjects, joins, provider, used);
6972
7008
  added.push(expanded.source);
6973
7009
  newObjects.add(sourceKey(expanded.objectName, expanded.connId));
6974
7010
  }
@@ -7326,8 +7362,7 @@ export {
7326
7362
  expandFederatedCreate,
7327
7363
  expandFederatedUpdate,
7328
7364
  sourceKey,
7329
- uiConnectorName,
7330
7365
  validateFederatedTopology
7331
7366
  };
7332
7367
 
7333
- //# debugId=4EC80E6F11038A1364756E2164756E21
7368
+ //# debugId=2A4C3BCBBC6363D564756E2164756E21
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  require_execAsync
3
- } from "./packager-tool-2czkpqb0.js";
3
+ } from "./packager-tool-ggemp2c3.js";
4
4
  import {
5
5
  require_src
6
- } from "./packager-tool-bndhpxxj.js";
6
+ } from "./packager-tool-4b88bsfh.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require
10
- } from "./packager-tool-1de529jm.js";
10
+ } from "./packager-tool-epsr41wx.js";
11
11
 
12
12
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
13
13
  var require_getMachineId_bsd = __commonJS(function(exports) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  require_execAsync
3
- } from "./packager-tool-2czkpqb0.js";
3
+ } from "./packager-tool-ggemp2c3.js";
4
4
  import {
5
5
  require_src
6
- } from "./packager-tool-bndhpxxj.js";
6
+ } from "./packager-tool-4b88bsfh.js";
7
7
  import {
8
8
  __commonJS
9
- } from "./packager-tool-1de529jm.js";
9
+ } from "./packager-tool-epsr41wx.js";
10
10
 
11
11
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
12
12
  var require_getMachineId_darwin = __commonJS(function(exports) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_src
3
- } from "./packager-tool-bndhpxxj.js";
3
+ } from "./packager-tool-4b88bsfh.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require
7
- } from "./packager-tool-1de529jm.js";
7
+ } from "./packager-tool-epsr41wx.js";
8
8
 
9
9
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
10
10
  var require_getMachineId_linux = __commonJS(function(exports) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  require_src
3
- } from "./packager-tool-bndhpxxj.js";
3
+ } from "./packager-tool-4b88bsfh.js";
4
4
  import {
5
5
  __commonJS
6
- } from "./packager-tool-1de529jm.js";
6
+ } from "./packager-tool-epsr41wx.js";
7
7
 
8
8
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
9
9
  var require_getMachineId_unsupported = __commonJS(function(exports) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  require_execAsync
3
- } from "./packager-tool-2czkpqb0.js";
3
+ } from "./packager-tool-ggemp2c3.js";
4
4
  import {
5
5
  require_src
6
- } from "./packager-tool-bndhpxxj.js";
6
+ } from "./packager-tool-4b88bsfh.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require
10
- } from "./packager-tool-1de529jm.js";
10
+ } from "./packager-tool-epsr41wx.js";
11
11
 
12
12
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
13
13
  var require_getMachineId_win = __commonJS(function(exports) {
@@ -1,5 +1,3 @@
1
- import"./packager-tool-1de529jm.js";
2
-
3
1
  // ../../node_modules/open/index.js
4
2
  import process7 from "node:process";
5
3
  import path from "node:path";
@@ -548,22 +546,6 @@ var open = (target, options) => {
548
546
  target
549
547
  });
550
548
  };
551
- var openApp = (name, options) => {
552
- if (typeof name !== "string" && !Array.isArray(name)) {
553
- throw new TypeError("Expected a valid `name`");
554
- }
555
- const { arguments: appArguments = [] } = options ?? {};
556
- if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
557
- throw new TypeError("Expected `appArguments` as Array type");
558
- }
559
- return baseOpen({
560
- ...options,
561
- app: {
562
- name,
563
- arguments: appArguments
564
- }
565
- });
566
- };
567
549
  function detectArchBinary(binary) {
568
550
  if (typeof binary === "string" || Array.isArray(binary)) {
569
551
  return binary;
@@ -626,9 +608,7 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({
626
608
  }));
627
609
  var open_default = open;
628
610
  export {
629
- apps,
630
- open_default as default,
631
- openApp
611
+ open_default as default
632
612
  };
633
613
 
634
- //# debugId=42C9AEC59ECC644E64756E2164756E21
614
+ //# debugId=6F288C058A3A412164756E2164756E21
package/dist/index.js CHANGED
@@ -1,21 +1,19 @@
1
1
  #!/usr/bin/env bun
2
- import {
3
- metadata,
4
- registerCommands
5
- } from "./packager-tool-50va857z.js";
6
- import"./packager-tool-w9r3qa12.js";
7
- import"./packager-tool-bndhpxxj.js";
8
- import"./packager-tool-2wp1xwz4.js";
9
2
  import {
10
3
  Command
11
- } from "./packager-tool-xnrdmg37.js";
12
- import"./packager-tool-m0btwdsf.js";
13
- import"./packager-tool-1de529jm.js";
4
+ } from "./packager-tool-xskp1rxe.js";
5
+ import"./packager-tool-8h3n7zh5.js";
6
+ import"./packager-tool-rmg1jqy3.js";
7
+ import {
8
+ metadata2,
9
+ registerCommands2
10
+ } from "./packager-tool-a1eh30h8.js";
11
+ import"./packager-tool-4h93ssh9.js";
14
12
 
15
13
  // src/index.ts
16
14
  var program = new Command;
17
- program.name(metadata.name).description(metadata.description).version(metadata.version);
18
- await registerCommands(program);
15
+ program.name(metadata2.name).description(metadata2.description).version(metadata2.version);
16
+ await registerCommands2(program);
19
17
  await program.parseAsync(process.argv);
20
18
 
21
- //# debugId=6724BAAABF556E3B64756E2164756E21
19
+ //# debugId=964520AEFDA2800764756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./packager-tool-1de529jm.js";
3
+ } from "./packager-tool-epsr41wx.js";
4
4
 
5
5
  // ../../node_modules/jmespath/jmespath.js
6
6
  var require_jmespath = __commonJS(function(exports) {
@@ -1,5 +1,3 @@
1
- import"./packager-tool-1de529jm.js";
2
-
3
1
  // ../../node_modules/js-yaml/dist/js-yaml.mjs
4
2
  function getDefaultExportFromCjs(x) {
5
3
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -3150,4 +3148,4 @@ export {
3150
3148
  types
3151
3149
  };
3152
3150
 
3153
- //# debugId=9FA8E718B2F80BEA64756E2164756E21
3151
+ //# debugId=41DC6971B94BC54964756E2164756E21
@@ -1,10 +1,10 @@
1
1
  import {
2
- MAX_MULTILINE_MAX_FIELDS,
3
2
  catchError,
3
+ MAX_MULTILINE_MAX_FIELDS,
4
4
  findInvalidFieldConstraints,
5
5
  findReservedNameError,
6
6
  validateNameFormat
7
- } from "./packager-tool-m0btwdsf.js";
7
+ } from "./packager-tool-8h3n7zh5.js";
8
8
 
9
9
  // ../packager/packager-core/src/services/tools-factory-repository.ts
10
10
  class ToolsFactoryRepository {
@@ -2169,4 +2169,4 @@ class EntityToolFactory {
2169
2169
  }
2170
2170
  export { toolsFactoryRepository, isMissingPathError, isUnreadablePathError, ENTITY_EXTENSION_CONST, collectSolutionEntityNames, siblingNamesFor, findProjectsOwningEntity, byName, AUTHORABLE_FIELD_TYPES, AuthoredFieldError, authorField, isLocallyAuthored, createEntitySkeleton, requireAuthoredName, validateEntity, isSystemField, SOLUTION_FOLDER, ENTITY_RESOURCE_DIR, entityResourcePath, serialize, wrapEntityJson, unwrapResource, updateResourceSchema, verifyPair, findSolutionRoot, EntityToolFactory };
2171
2171
 
2172
- //# debugId=44571A5454A7CC7764756E2164756E21
2172
+ //# debugId=DE666117EA36A60C64756E2164756E21