recursive-llm-ts 3.0.1 → 3.0.2

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/go-bridge.js CHANGED
@@ -57,7 +57,7 @@ exports.GoBridge = void 0;
57
57
  const fs = __importStar(require("fs"));
58
58
  const path = __importStar(require("path"));
59
59
  const child_process_1 = require("child_process");
60
- const DEFAULT_BINARY_NAME = process.platform === 'win32' ? 'rlm.exe' : 'rlm';
60
+ const DEFAULT_BINARY_NAME = process.platform === 'win32' ? 'rlm-go.exe' : 'rlm-go';
61
61
  function resolveBinaryPath(rlmConfig) {
62
62
  const configuredPath = rlmConfig.go_binary_path || process.env.RLM_GO_BINARY;
63
63
  if (configuredPath) {
@@ -65,8 +65,8 @@ function resolveBinaryPath(rlmConfig) {
65
65
  }
66
66
  // Try multiple locations
67
67
  const possiblePaths = [
68
- path.join(__dirname, '..', 'go', DEFAULT_BINARY_NAME), // Development
69
- path.join(__dirname, '..', 'bin', DEFAULT_BINARY_NAME), // NPM package
68
+ path.join(__dirname, '..', 'bin', DEFAULT_BINARY_NAME), // NPM package (primary)
69
+ path.join(__dirname, '..', 'go', DEFAULT_BINARY_NAME), // Development fallback
70
70
  ];
71
71
  for (const p of possiblePaths) {
72
72
  if (fs.existsSync(p)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "recursive-llm-ts",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "TypeScript bridge for recursive-llm: Recursive Language Models for unbounded context processing",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",