@jsonstudio/rcc 0.89.1803 → 0.89.1804

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.
@@ -1,6 +1,6 @@
1
1
  export const buildInfo = {
2
2
  mode: 'release',
3
- version: '0.89.1803',
4
- buildTime: '2026-02-07T07:00:56.549Z'
3
+ version: '0.89.1804',
4
+ buildTime: '2026-02-07T07:39:48.127Z'
5
5
  };
6
6
  //# sourceMappingURL=build-info.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsonstudio/rcc",
3
- "version": "0.89.1803",
3
+ "version": "0.89.1804",
4
4
  "description": "Multi-provider OpenAI proxy server with anthropic/responses/chat support (release)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "build:dev": "bash -lc 'export BUILD_MODE=dev; npm run build && npm run test:unified-hub-shadow && npm run verify:e2e-toolcall && npm run verify:apply-patch && npm run verify:apply-patch-regressions && npm run verify:exec-command && npm run test:routing-instructions && npm run test:cli && npm run install:global && npm run mock:regressions && npm run test:blackbox-antigravity-parity && npm run verify:errorsamples && npm run verify:e2e-gemini-followup-sample'",
34
34
  "build:min": "npm run llmswitch:ensure && node scripts/build-core.mjs && node scripts/vendor-core.mjs && npm run clean && node scripts/gen-build-info.mjs && tsc && node scripts/copy-compat-assets.mjs && node scripts/copy-modules-config.mjs",
35
35
  "prepack": "echo skip-prepack",
36
- "postbuild": "chmod +x dist/cli.js || true",
36
+ "postbuild": "node scripts/ensure-cli-executable.mjs",
37
37
  "build:watch": "tsc --watch",
38
38
  "start": "npm run -s start:bg",
39
39
  "dev": "tsx watch src/index.ts",
@@ -64,7 +64,7 @@
64
64
  "clean": "rm -rf dist coverage",
65
65
  "prebuild": "npm run verify:repo-sanity && echo skip-lint",
66
66
  "prepare": "",
67
- "postinstall": "chmod +x dist/cli.js || true",
67
+ "postinstall": "node scripts/ensure-cli-executable.mjs",
68
68
  "verify:apply-patch": "node scripts/verify-apply-patch.mjs",
69
69
  "verify:apply-patch-regressions": "node scripts/verify-apply-patch-regressions.mjs",
70
70
  "verify:exec-command": "node scripts/tests/exec-command-loop.mjs",
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
+
5
+ const cliPath = path.join(process.cwd(), 'dist', 'cli.js');
6
+
7
+ if (process.platform === 'win32') {
8
+ process.exit(0);
9
+ }
10
+
11
+ if (!fs.existsSync(cliPath)) {
12
+ process.exit(0);
13
+ }
14
+
15
+ try {
16
+ const stat = fs.statSync(cliPath);
17
+ const nextMode = stat.mode | 0o111;
18
+ fs.chmodSync(cliPath, nextMode);
19
+ } catch {
20
+ process.exit(0);
21
+ }