@tpsdev-ai/cli 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/bin/tps.cjs +3 -1
  2. package/package.json +5 -5
package/bin/tps.cjs CHANGED
@@ -8,7 +8,9 @@ const pkg = `@tpsdev-ai/cli-${platform}-${arch}`;
8
8
 
9
9
  function runBinary() {
10
10
  try {
11
- const binPath = require.resolve(`${pkg}/tps`);
11
+ const path = require('path');
12
+ const pkgJson = require.resolve(`${pkg}/package.json`);
13
+ const binPath = path.join(path.dirname(pkgJson), 'tps');
12
14
  execFileSync(binPath, process.argv.slice(2), { stdio: 'inherit' });
13
15
  return;
14
16
  } catch (err) {
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@tpsdev-ai/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "TPS Report CLI — because every agent needs the proper paperwork.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "tps": "./bin/tps.cjs"
8
8
  },
9
9
  "optionalDependencies": {
10
- "@tpsdev-ai/cli-darwin-arm64": "0.3.0",
11
- "@tpsdev-ai/cli-darwin-x64": "0.3.0",
12
- "@tpsdev-ai/cli-linux-arm64": "0.3.0",
13
- "@tpsdev-ai/cli-linux-x64": "0.3.0"
10
+ "@tpsdev-ai/cli-darwin-arm64": "0.3.2",
11
+ "@tpsdev-ai/cli-darwin-x64": "0.3.2",
12
+ "@tpsdev-ai/cli-linux-arm64": "0.3.2",
13
+ "@tpsdev-ai/cli-linux-x64": "0.3.2"
14
14
  },
15
15
  "scripts": {
16
16
  "build": "tsc",