rhachet-brains-openai 0.1.8 → 0.1.9

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -122,7 +122,7 @@ var import_url = require("url");
122
122
  var import_meta = { get url() {
123
123
  var path = require('path');
124
124
  var fs = require('fs');
125
- var dir = process.cwd();
125
+ var dir = __dirname;
126
126
  while (dir !== path.dirname(dir)) {
127
127
  var candidate = path.join(dir, 'node_modules', '@openai', 'codex-sdk', 'dist', 'index.js');
128
128
  if (fs.existsSync(candidate)) return require('url').pathToFileURL(candidate).href;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "rhachet-brains-openai",
3
3
  "author": "ehmpathy",
4
4
  "description": "rhachet brain.atom and brain.repl adapter for openai",
5
- "version": "0.1.8",
5
+ "version": "0.1.9",
6
6
  "repository": "ehmpathy/rhachet-brains-openai",
7
7
  "homepage": "https://github.com/ehmpathy/rhachet-brains-openai",
8
8
  "keywords": [