maistro 1.2.27 → 1.2.104

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 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,QAAc,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,OAAO,QAAc,CAAC"}
package/dist/version.js CHANGED
@@ -1,5 +1,14 @@
1
1
  import { createRequire } from 'node:module';
2
+ import { existsSync } from 'node:fs';
3
+ import { resolve, dirname } from 'node:path';
4
+ import { fileURLToPath } from 'node:url';
2
5
  const require = createRequire(import.meta.url);
3
- const pkg = require('../package.json');
6
+ const __dirname = dirname(fileURLToPath(import.meta.url));
7
+ // In published package: package.json is at ../package.json (dist/ → package root)
8
+ // In dev (monorepo): package.json is at ../../packages/maistro-cli/package.json
9
+ const devPkgPath = resolve(__dirname, '../packages/maistro-cli/package.json');
10
+ const pkg = existsSync(devPkgPath)
11
+ ? require(devPkgPath)
12
+ : require('../package.json');
4
13
  export const VERSION = pkg.version;
5
14
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE1D,kFAAkF;AAClF,gFAAgF;AAChF,MAAM,UAAU,GAAG,OAAO,CAAC,SAAS,EAAE,sCAAsC,CAAC,CAAC;AAC9E,MAAM,GAAG,GAAG,UAAU,CAAC,UAAU,CAAC;IAChC,CAAC,CAAE,OAAO,CAAC,UAAU,CAAyB;IAC9C,CAAC,CAAE,OAAO,CAAC,iBAAiB,CAAyB,CAAC;AAExD,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maistro",
3
- "version": "1.2.27",
3
+ "version": "1.2.104",
4
4
  "description": "AI-powered CLI that breaks down complex projects into tasks and executes them automatically via Claude Code",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -18,20 +18,6 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "scripts": {
22
- "bump": "node -e \"const fs=require('fs'); const pkg=JSON.parse(fs.readFileSync('package.json')); const v=pkg.version.split('.'); v[2]=parseInt(v[2])+1; pkg.version=v.join('.'); fs.writeFileSync('package.json',JSON.stringify(pkg,null,2)+'\\n');\"",
23
- "build": "tsc",
24
- "release": "npm run bump && npm run build && npm link",
25
- "start": "node dist/index.js",
26
- "dev": "tsx src/index.ts",
27
- "test": "vitest run --exclude 'tests/pty/**' --exclude 'tests/smoke/**' --exclude 'tests/integration/**' --exclude 'tests/unit/run-execution.test.ts'",
28
- "test:watch": "vitest --exclude 'tests/pty/**' --exclude 'tests/smoke/**' --exclude 'tests/integration/**' --exclude 'tests/unit/run-execution.test.ts'",
29
- "test:pty": "vitest run tests/pty tests/integration --test-timeout 60000",
30
- "test:smoke": "vitest run tests/smoke",
31
- "test:coverage": "vitest run --exclude 'tests/pty/**' --exclude 'tests/smoke/**' --exclude 'tests/integration/**' --exclude 'tests/unit/run-execution.test.ts' --coverage",
32
- "test:coverage:all": "vitest run --coverage",
33
- "setup": "git pull 2>/dev/null; npm install && npm run build && npm link"
34
- },
35
21
  "keywords": [
36
22
  "cli",
37
23
  "claude",
@@ -54,12 +40,5 @@
54
40
  "commander": "^12.0.0",
55
41
  "execa": "^9.5.2",
56
42
  "glob": "^13.0.1"
57
- },
58
- "devDependencies": {
59
- "@types/node": "^22.10.7",
60
- "@vitest/coverage-v8": "^3.2.4",
61
- "tsx": "^4.19.2",
62
- "typescript": "^5.7.3",
63
- "vitest": "^3.0.4"
64
43
  }
65
44
  }