@agentic15.com/agentic15-claude-zen 4.0.2 โ†’ 4.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentic15.com/agentic15-claude-zen",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Structured AI-assisted development framework for Claude Code with enforced quality standards",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -19,36 +19,32 @@ export class CommitCommand {
19
19
 
20
20
  console.log(`๐Ÿ“Œ Task: ${task.id} - ${task.title}\n`);
21
21
 
22
- // Step 2: Run tests
23
- console.log('๐Ÿงช Running tests...\n');
24
- this.runTests();
25
-
26
- // Step 3: Stage files in Agent/
27
- console.log('\n๐Ÿ“ฆ Staging changes...\n');
22
+ // Step 2: Stage files in Agent/
23
+ console.log('๐Ÿ“ฆ Staging changes...\n');
28
24
  this.stageFiles();
29
25
 
30
- // Step 4: Generate commit message
26
+ // Step 3: Generate commit message
31
27
  const commitMessage = this.generateCommitMessage(task);
32
28
 
33
- // Step 5: Commit
29
+ // Step 4: Commit
34
30
  console.log('๐Ÿ’พ Creating commit...\n');
35
31
  this.createCommit(commitMessage);
36
32
 
37
- // Step 6: Push to feature branch
33
+ // Step 5: Push to feature branch
38
34
  console.log('โฌ†๏ธ Pushing to remote...\n');
39
35
  this.pushBranch(task.id);
40
36
 
41
- // Step 7: Create PR
37
+ // Step 6: Create PR
42
38
  console.log('๐Ÿ”€ Creating pull request...\n');
43
39
  const prUrl = await this.createPullRequest(task, commitMessage);
44
40
 
45
- // Step 8: Update GitHub issue status
41
+ // Step 7: Update GitHub issue status
46
42
  await this.updateGitHubIssue(task, prUrl);
47
43
 
48
- // Step 9: Mark task as completed
44
+ // Step 8: Mark task as completed
49
45
  this.markTaskCompleted(task);
50
46
 
51
- // Step 10: Display summary
47
+ // Step 9: Display summary
52
48
  this.displaySummary(task, prUrl, tracker);
53
49
  }
54
50
 
@@ -74,16 +70,6 @@ export class CommitCommand {
74
70
  return { task, tracker };
75
71
  }
76
72
 
77
- static runTests() {
78
- try {
79
- execSync('npm test', { stdio: 'inherit' });
80
- console.log('\nโœ… All tests passed');
81
- } catch (error) {
82
- console.log('\nโŒ Tests failed. Fix errors before committing.\n');
83
- process.exit(1);
84
- }
85
- }
86
-
87
73
  static stageFiles() {
88
74
  try {
89
75
  // Stage all files in Agent/
@@ -197,9 +183,8 @@ export class CommitCommand {
197
183
  prBody += `- Implemented ${task.title}\n\n`;
198
184
 
199
185
  prBody += `## Testing\n\n`;
200
- prBody += `- [x] Unit tests pass (\`npm test\`)\n`;
201
- prBody += `- [ ] Visual tests pass (if applicable) (\`npx playwright test\`)\n`;
202
- prBody += `- [ ] Code follows project conventions\n\n`;
186
+ prBody += `- [ ] Code follows project conventions\n`;
187
+ prBody += `- [ ] Manual testing completed\n\n`;
203
188
 
204
189
  prBody += `## Notes\n\n`;
205
190
  prBody += `Auto-generated by Agentic15 Claude Zen`;
@@ -73,7 +73,10 @@ export class UpgradeCommand {
73
73
  console.log(' - .claude/ACTIVE-PLAN (current plan)');
74
74
  console.log(' - .claude/settings.local.json (local settings)');
75
75
  console.log(' - Agent/ (your source code)');
76
- console.log(' - test-site/ (your test site)\n');
76
+ console.log(' - scripts/ (your scripts)');
77
+ console.log(' - test-site/ (your test site)');
78
+ console.log(' - package.json (your project config)');
79
+ console.log(' - README.md (your documentation)\n');
77
80
  console.log('๐Ÿ’พ Backup location: .claude.backup/\n');
78
81
  console.log('โ•'.repeat(70) + '\n');
79
82
  } catch (error) {
@@ -66,14 +66,6 @@ export class TemplateManager {
66
66
  // Copy scripts directory
67
67
  this.copyDirectory('scripts', targetDir);
68
68
 
69
- // Copy Jest configuration files
70
- this.copySingleFile('jest.config.js', targetDir);
71
- this.copySingleFile('jest.setup.js', targetDir);
72
- this.copySingleFile('.babelrc', targetDir);
73
-
74
- // Copy __mocks__ directory
75
- this.copyDirectory('__mocks__', targetDir);
76
-
77
69
  console.log('โœ… Framework structure created');
78
70
  console.log('โœ… Templates copied');
79
71
  console.log('โœ… Configuration files generated');
@@ -3,9 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "description": "Project with Claude Code structured development framework",
5
5
  "type": "commonjs",
6
- "scripts": {
7
- "test": "jest --passWithNoTests"
8
- },
6
+ "scripts": {},
9
7
  "keywords": [
10
8
  "claude-code",
11
9
  "structured-development",
@@ -14,18 +12,5 @@
14
12
  "license": "MIT",
15
13
  "dependencies": {
16
14
  "@agentic15.com/agentic15-claude-zen": "^2.0.0"
17
- },
18
- "devDependencies": {
19
- "jest": "^30.2.0",
20
- "@testing-library/react": "^16.1.0",
21
- "@testing-library/jest-dom": "^6.6.3",
22
- "@testing-library/user-event": "^14.5.2",
23
- "@babel/preset-env": "^7.26.0",
24
- "@babel/preset-react": "^7.26.3",
25
- "babel-jest": "^30.0.0",
26
- "jest-environment-jsdom": "^30.0.0",
27
- "prop-types": "^15.8.1",
28
- "identity-obj-proxy": "^3.0.0",
29
- "@playwright/test": "^1.41.0"
30
15
  }
31
16
  }
@@ -1,6 +0,0 @@
1
- {
2
- "presets": [
3
- ["@babel/preset-env", { "targets": { "node": "current" } }],
4
- ["@babel/preset-react", { "runtime": "automatic" }]
5
- ]
6
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Mock for static assets (images, fonts, etc.)
3
- * Used by Jest to handle imports of non-JS files
4
- *
5
- * @version 1.4.4
6
- * @package agentic15-claude-zen
7
- */
8
-
9
- module.exports = 'test-file-stub';
@@ -1,48 +0,0 @@
1
- /**
2
- * Jest Configuration
3
- * Framework-agnostic configuration supporting React, Vue, Angular, Svelte
4
- *
5
- * @version 1.4.4
6
- * @package agentic15-claude-zen
7
- */
8
-
9
- module.exports = {
10
- // Use jsdom for DOM testing (React, Vue, Svelte, Angular)
11
- testEnvironment: 'jsdom',
12
-
13
- // Transform JS/JSX/TS/TSX files with babel-jest
14
- transform: {
15
- '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest',
16
- },
17
-
18
- // Support JS, JSX, TS, TSX file extensions
19
- moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json'],
20
-
21
- // Find test files in tests/ directory
22
- testMatch: [
23
- '**/tests/**/*.test.{js,jsx,ts,tsx}',
24
- '**/tests/**/*.spec.{js,jsx,ts,tsx}',
25
- ],
26
-
27
- // Coverage collection
28
- collectCoverageFrom: [
29
- 'Agent/src/**/*.{js,jsx,ts,tsx}',
30
- '!Agent/src/**/*.d.ts',
31
- '!Agent/src/index.{js,ts}',
32
- ],
33
-
34
- // Setup files for different frameworks
35
- setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
36
-
37
- // Module name mapper for CSS/asset imports
38
- moduleNameMapper: {
39
- '\\.(css|less|scss|sass)$': 'identity-obj-proxy',
40
- '\\.(jpg|jpeg|png|gif|svg)$': '<rootDir>/__mocks__/fileMock.js',
41
- },
42
-
43
- // Ignore patterns
44
- testPathIgnorePatterns: ['/node_modules/', '/test-site/'],
45
-
46
- // Verbose output
47
- verbose: true,
48
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * Jest Setup File
3
- * Configures testing environment for UI components
4
- *
5
- * @version 1.4.4
6
- * @package agentic15-claude-zen
7
- */
8
-
9
- // Import jest-dom matchers for better assertions
10
- import '@testing-library/jest-dom';
11
-
12
- // Suppress console errors during tests (optional)
13
- // global.console.error = jest.fn();