@postman-cse/cse-toold 0.18.7 → 0.18.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-cse/cse-toold",
3
- "version": "0.18.7",
3
+ "version": "0.18.10",
4
4
  "description": "CSE tools daemon: signed Rust binary that mediates auth + MCP traffic for Claude/Codex/Droid",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -21,6 +21,8 @@
21
21
  "bin/"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@postman-cse/cse-toold-darwin-arm64": "0.18.7"
24
+ "@postman-cse/cse-toold-darwin-arm64": "0.18.10",
25
+ "@postman-cse/cse-toold-linux-arm64": "0.18.10",
26
+ "@postman-cse/cse-toold-win32-arm64": "0.18.10"
25
27
  }
26
28
  }
package/src/index.js CHANGED
@@ -8,13 +8,20 @@ function platformPackageName() {
8
8
  return `@postman-cse/cse-toold-${process.platform}-${process.arch}`;
9
9
  }
10
10
 
11
+ function nativeBinaryName(platform) {
12
+ return platform === 'win32' ? 'cse-toold.exe' : 'cse-toold';
13
+ }
14
+
11
15
  function resolveCoreBinary() {
12
- const binaryName = 'cse-toold';
13
16
  const platformKey = `${process.platform}-${process.arch}`;
14
- const platform = process.platform;
15
- const arch = process.arch;
17
+ const supportedPlatforms = new Set([
18
+ 'darwin-arm64',
19
+ 'linux-arm64',
20
+ 'win32-arm64',
21
+ ]);
22
+ const binaryName = nativeBinaryName(process.platform);
16
23
 
17
- if (platform === 'darwin' && arch === 'arm64') {
24
+ if (supportedPlatforms.has(platformKey)) {
18
25
  try {
19
26
  const pkgJson = require.resolve(`${platformPackageName()}/package.json`);
20
27
  const candidate = path.join(path.dirname(pkgJson), 'bin', binaryName);
@@ -41,7 +48,7 @@ function resolveCoreBinary() {
41
48
  }
42
49
  }
43
50
 
44
- throw new Error(`native runtime is unavailable for this platform: ${platform}-${arch}`);
51
+ throw new Error(`native runtime is unavailable for this platform: ${platformKey}`);
45
52
  }
46
53
 
47
54
  function spawnRaw(args, options) {
package/src/live-gates.js CHANGED
@@ -229,7 +229,7 @@ function runSkill(argv) {
229
229
  appendJsonLine(transcript, {
230
230
  type: 'tool_call',
231
231
  tool: 'semantic_context_search',
232
- endpoint: 'https://mcp.kepler.rip/mcp',
232
+ endpoint: 'https://mcp.keplr.sh/mcp',
233
233
  arguments: toolArgs,
234
234
  evidence_run_id: evidenceRunId,
235
235
  non_mutating: true,
@@ -371,7 +371,7 @@ function captureProvenance(argv) {
371
371
  },
372
372
  tool_call_evidence: semanticLines.length > 0 ? ['semantic_context_search'] : [],
373
373
  non_mutating: mutatingTools.length === 0,
374
- endpoint: 'https://mcp.kepler.rip/mcp',
374
+ endpoint: 'https://mcp.keplr.sh/mcp',
375
375
  pack_sha256: packSha,
376
376
  blockers: mutatingTools.length === 0 ? [] : [`mutating tools observed: ${uniqueStrings(mutatingTools).join(',')}`],
377
377
  };