@inboxapi/cli 0.1.3 → 0.1.5

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 (3) hide show
  1. package/README.md +5 -1
  2. package/index.js +1 -1
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -25,7 +25,11 @@ inboxapi proxy
25
25
 
26
26
  On first run with no saved credentials, the CLI auto-creates an account with a generated name (e.g. `brooding-fluffy-owl`) and authenticates. No manual setup needed.
27
27
 
28
- Credentials are stored in your system config directory (`~/.config/inboxapi/credentials.json` on Linux/macOS) and automatically injected into tool calls.
28
+ Credentials are stored in your system config directory and automatically injected into tool calls. The CLI checks multiple locations so it can pick up credentials created by AI agents:
29
+
30
+ - `~/Library/Application Support/inboxapi/credentials.json` (macOS primary)
31
+ - `~/.config/inboxapi/credentials.json` (Linux primary / macOS fallback)
32
+ - `~/.local/inboxapi/credentials.json` (fallback, used by some AI agents)
29
33
 
30
34
  ## Commands
31
35
 
package/index.js CHANGED
@@ -20,7 +20,7 @@ function findBinary() {
20
20
  const pkg = PLATFORM_PACKAGES[platformKey];
21
21
  if (pkg) {
22
22
  try {
23
- const pkgDir = path.dirname(require.resolve(`${pkg}/package.json`));
23
+ const pkgDir = path.dirname(require.resolve(`${pkg}/package.json`, { paths: [__dirname] }));
24
24
  const binPath = path.join(pkgDir, binName);
25
25
  if (fs.existsSync(binPath)) return binPath;
26
26
  } catch {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inboxapi/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "STDIO Proxy for InboxAPI MCP service",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -27,10 +27,10 @@
27
27
  "test": "cargo test"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@inboxapi/cli-darwin-arm64": "0.1.3",
31
- "@inboxapi/cli-darwin-x64": "0.1.3",
32
- "@inboxapi/cli-linux-x64": "0.1.3",
33
- "@inboxapi/cli-linux-arm64": "0.1.3",
34
- "@inboxapi/cli-win32-x64": "0.1.3"
30
+ "@inboxapi/cli-darwin-arm64": "0.1.5",
31
+ "@inboxapi/cli-darwin-x64": "0.1.5",
32
+ "@inboxapi/cli-linux-x64": "0.1.5",
33
+ "@inboxapi/cli-linux-arm64": "0.1.5",
34
+ "@inboxapi/cli-win32-x64": "0.1.5"
35
35
  }
36
36
  }