@topolo/cli 0.12.25 → 0.12.27

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 (2) hide show
  1. package/dist/index.js +5 -2
  2. package/package.json +6 -5
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { platform as platform2 } from "os";
9
9
  import { createInterface } from "readline/promises";
10
10
  import { stdin as input } from "process";
11
11
 
12
- // node_modules/@topolo/sdk/dist/index.js
12
+ // node_modules/.pnpm/@topolo+sdk@0.23.13/node_modules/@topolo/sdk/dist/index.js
13
13
  function record(value) {
14
14
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
15
15
  }
@@ -490,6 +490,7 @@ async function protectActionResult(value, store, options = {}) {
490
490
  function localizationMap(path) {
491
491
  const location = path.join("/");
492
492
  if (options.localizationAction === "sources.verify") return location === "data/hashes";
493
+ if (options.localizationAction === "values.bulk_upsert") return location === "data/sourceHashes";
493
494
  return ["translation.release.prepare", "translation.release.import", "translation.release.get"].includes(options.localizationAction ?? "") && /^data\/bundle\/catalogs\/\*\/(sources|(?:packs|provenance)\/[^/]+)$/.test(location);
494
495
  }
495
496
  async function protect(item, key = "", path = []) {
@@ -3609,7 +3610,7 @@ async function pollUntilApproved(params) {
3609
3610
  throw new Error("Device code expired. Run `topolo auth login` again.");
3610
3611
  }
3611
3612
 
3612
- // node_modules/@topolo/sdk/dist/node/credential-store.js
3613
+ // node_modules/.pnpm/@topolo+sdk@0.23.13/node_modules/@topolo/sdk/dist/node/credential-store.js
3613
3614
  import { mkdir as mkdir2, readFile as readFile2, writeFile as writeFile2, chmod as chmod2, rm as rm2, stat } from "fs/promises";
3614
3615
  import { existsSync as existsSync2 } from "fs";
3615
3616
  import { homedir as homedir2, platform } from "os";
@@ -7671,6 +7672,8 @@ function registerInstallationsCommand(program2) {
7671
7672
  }
7672
7673
 
7673
7674
  // src/index.ts
7675
+ import { Agent, setGlobalDispatcher } from "undici";
7676
+ setGlobalDispatcher(new Agent({ connect: { timeout: 3e4 } }));
7674
7677
  installOutputErrorHandlers();
7675
7678
  var program = new Command();
7676
7679
  var environmentArgSeen = false;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@topolo/cli",
3
3
  "packageManager": "pnpm@10.17.1",
4
- "version": "0.12.25",
5
- "topoloPublishedVersion": "0.12.25",
4
+ "version": "0.12.27",
5
+ "topoloPublishedVersion": "0.12.27",
6
6
  "description": "Public command-line interface for Topolo customer organizations, developers, and agents.",
7
7
  "license": "UNLICENSED",
8
8
  "author": "Topolo",
@@ -28,9 +28,10 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@modelcontextprotocol/sdk": "^1.0.0",
31
- "@topolo/mcp": "0.14.16",
32
- "@topolo/sdk": "0.23.12",
33
- "commander": "^12.1.0"
31
+ "@topolo/mcp": "0.14.17",
32
+ "@topolo/sdk": "0.23.13",
33
+ "commander": "^12.1.0",
34
+ "undici": "6.29.0"
34
35
  },
35
36
  "devDependencies": {
36
37
  "@types/node": "^20.12.0",