@codemcp/ade 0.2.0 → 0.2.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.
@@ -44,3 +44,9 @@
44
44
  {"id":"ade-2.3.8","title":"Replan autonomy model per harness around built-in permissions only","status":"in_progress","priority":1,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T11:01:01.074975+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T11:02:11.748853+01:00","dependencies":[{"issue_id":"ade-2.3.8","depends_on_id":"ade-2.3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"}]}
45
45
  {"id":"ade-2.3.9","title":"Implement core autonomy abstraction rewrite for built-in permissions only","status":"closed","priority":1,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T11:15:29.905083+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T11:49:04.856825+01:00","closed_at":"2026-03-18T11:49:04.856825+01:00","close_reason":"Closed","dependencies":[{"issue_id":"ade-2.3.9","depends_on_id":"ade-2.3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"}]}
46
46
  {"id":"ade-2.4","title":"Commit","description":"Ensure code quality and documentation accuracy through systematic cleanup and review. **STEP 1: Code Cleanup** Systematically clean up development artifacts: 1. **Remove Debug Output**: Search for and remove all temporary debug output statements used during development. Look for language-specific debug output methods (console logging, print statements, debug output functions). Remove any debugging statements that were added for development purposes. 2. **Review TODO/FIXME Comments**: - Address each TODO/FIXME comment by either implementing the solution or documenting why it's deferred - Remove completed TODOs - Convert remaining TODOs to proper issue tracking if needed 3. **Remove Debugging Code Blocks**: - Remove temporary debugging code, test code blocks, and commented-out code - Clean up any experimental code that's no longer needed - Ensure proper error handling replaces temporary debug logging **STEP 2: Documentation Review** Review and update documentation to reflect final implementation: 1. **Update Long-Term Memory Documents**: Based on what was actually implemented: - If exists: Update it if requirements changed during development - If exists: Update it if architectural impacts were identified - If exists: Update it if design details were refined or changed - Otherwise: Document any changes in the plan file 2. **Compare Against Implementation**: Review documentation against actual implemented functionality 3. **Update Changed Sections**: Only modify documentation sections that have functional changes 4. **Remove Development Progress**: Remove references to development iterations, progress notes, and temporary decisions 5. **Focus on Final State**: Ensure documentation describes the final implemented state, not the development process 6. **Ask User to Review Document Updates** **STEP 3: Final Validation** - Run existing tests to ensure cleanup didn't break functionality - Verify documentation accuracy with a final review - Ensure code is ready for production/delivery Update task progress and mark completed work as you finalize the feature.","status":"open","priority":3,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T08:42:25.322426+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T08:42:25.322426+01:00","dependencies":[{"issue_id":"ade-2.4","depends_on_id":"ade-2","type":"parent-child","created_at":"0001-01-01T00:00:00Z"},{"issue_id":"ade-2.4","depends_on_id":"ade-2.3","type":"blocks","created_at":"0001-01-01T00:00:00Z"}]}
47
+ {"id":"ade-3","title":"ade: bugfix (development-plan-fix-bundling.md)","description":"Responsible vibe engineering session using bugfix workflow for ade","status":"open","priority":2,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T16:29:09.750129+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T16:29:09.750129+01:00"}
48
+ {"id":"ade-3.1","title":"Reproduce","description":"Gather specific information to reliably reproduce the reported bug: - What are the exact OS, browser/runtime versions, and hardware specs? - What is the precise sequence of actions that trigger the bug? - What error messages, logs, or stack traces are available? - Does this happen every time or intermittently? - How many users are affected and what is the business impact? Create test cases that demonstrate the problem. Document your findings and create tasks as needed.","status":"open","priority":3,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T16:29:09.932272+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T16:29:09.932272+01:00","dependencies":[{"issue_id":"ade-3.1","depends_on_id":"ade-3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"}]}
49
+ {"id":"ade-3.2","title":"Analyze","description":"Examine the code paths involved in the bug, identify the root cause, and understand why the issue occurs. Use debugging tools, add logging, and trace through the problematic code. Document your analysis and create tasks as needed.","status":"open","priority":3,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T16:29:10.091911+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T16:29:10.091911+01:00","dependencies":[{"issue_id":"ade-3.2","depends_on_id":"ade-3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"},{"issue_id":"ade-3.2","depends_on_id":"ade-3.1","type":"blocks","created_at":"0001-01-01T00:00:00Z"}]}
50
+ {"id":"ade-3.3","title":"Fix","description":"Implement the solution based on your analysis: - If exists: Follow the design from it - Otherwise: Elaborate design options and present them to the user Before implementing, assess the approach: - How critical is this system? What is the blast radius if the fix causes issues? - Should this be a minimal fix or a more comprehensive solution? Make targeted changes that address the root cause without introducing new issues. Be careful to maintain existing functionality while fixing the bug.","status":"open","priority":3,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T16:29:10.265074+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T16:29:10.265074+01:00","dependencies":[{"issue_id":"ade-3.3","depends_on_id":"ade-3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"},{"issue_id":"ade-3.3","depends_on_id":"ade-3.2","type":"blocks","created_at":"0001-01-01T00:00:00Z"}]}
51
+ {"id":"ade-3.4","title":"Verify","description":"Test the fix thoroughly to ensure the original bug is resolved and no new issues were introduced. Run existing tests, create new ones if needed, and verify the solution is robust.","status":"open","priority":3,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T16:29:10.449967+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T16:29:10.449967+01:00","dependencies":[{"issue_id":"ade-3.4","depends_on_id":"ade-3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"},{"issue_id":"ade-3.4","depends_on_id":"ade-3.3","type":"blocks","created_at":"0001-01-01T00:00:00Z"}]}
52
+ {"id":"ade-3.5","title":"Finalize","description":"Ensure code quality and documentation accuracy through systematic cleanup and review. **STEP 1: Code Cleanup** Systematically clean up development artifacts: - Remove all temporary debug output statements used during bug investigation (console logging, print statements, debug output functions) - Address each TODO/FIXME comment by either implementing the solution or documenting why it's deferred - Remove completed TODOs and convert remaining ones to proper issue tracking if needed - Remove temporary debugging code, test code blocks, and commented-out code - Ensure proper error handling replaces temporary debug logging **STEP 2: Documentation Review** Review and update documentation to reflect the bug fix: - If exists, update it if design details were refined or changed during the fix - Compare documentation against the actual bug fix implementation - Update only the documentation sections that have functional changes - Remove references to investigation iterations, progress notes, and temporary decisions - Ensure documentation describes the final fixed state, not the debugging process - Ask the user to review document updates **STEP 3: Final Validation** - Run existing tests to ensure cleanup didn't break functionality - Verify documentation accuracy with a final review - Ensure bug fix is ready for production - Update task progress and mark completed work as you finalize the bug fix","status":"open","priority":3,"issue_type":"task","owner":"github@beimir.net","created_at":"2026-03-18T16:29:10.642935+01:00","created_by":"Oliver Jägle","updated_at":"2026-03-18T16:29:10.642935+01:00","dependencies":[{"issue_id":"ade-3.5","depends_on_id":"ade-3","type":"parent-child","created_at":"0001-01-01T00:00:00Z"},{"issue_id":"ade-3.5","depends_on_id":"ade-3.4","type":"blocks","created_at":"0001-01-01T00:00:00Z"}]}
@@ -1 +1 @@
1
- ade-2.3.23
1
+ ade-3.5
@@ -0,0 +1,8 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets).
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md).
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@3.1.3/schema.json",
3
+ "changelog": "@changesets/cli/changelog",
4
+ "commit": false,
5
+ "fixed": [],
6
+ "linked": [],
7
+ "access": "restricted",
8
+ "baseBranch": "main",
9
+ "updateInternalDependencies": "patch",
10
+ "ignore": []
11
+ }
@@ -14,7 +14,7 @@
14
14
  "autoApprove": ["*"]
15
15
  }
16
16
  },
17
- "tools": ["read", "write", "spec", "@workflows/*", "@agentskills/*"],
17
+ "tools": ["read", "write", "spec", "@workflows/*", "@agentskills/*", "shell"],
18
18
  "allowedTools": ["read", "write", "spec", "@workflows/*", "@agentskills/*"],
19
19
  "useLegacyMcpJson": true
20
20
  }
package/.lintstagedrc.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export default {
2
2
  "*": "prettier --write --ignore-unknown",
3
- "*.js,*.ts": "eslint --fix"
3
+ "*.{js,ts,mjs,mts,cjs,cts}": "oxlint --fix"
4
4
  };
package/.oxlintrc.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
3
+ "plugins": ["typescript"],
4
+ "env": {
5
+ "es2022": true,
6
+ "node": true
7
+ },
8
+ "rules": {
9
+ "no-unused-vars": "off",
10
+ "@typescript-eslint/no-unused-vars": "error",
11
+ "@typescript-eslint/no-explicit-any": "error"
12
+ },
13
+ "ignorePatterns": [
14
+ "dist/",
15
+ "node_modules/",
16
+ "docs/.vitepress/cache/",
17
+ "pnpm-lock.yaml"
18
+ ]
19
+ }
package/.prettierignore CHANGED
@@ -1,2 +1,4 @@
1
1
  dist
2
2
  .knowledge/docsets
3
+ .claude
4
+ .vibe
@@ -0,0 +1,34 @@
1
+ {
2
+ "conversationId": "ade-fix-bundling-h7ahz",
3
+ "projectPath": "/Users/oliverjaegle/projects/privat/codemcp/ade",
4
+ "epicId": "ade-3",
5
+ "phaseTasks": [
6
+ {
7
+ "phaseId": "reproduce",
8
+ "phaseName": "Reproduce",
9
+ "taskId": "ade-3.1"
10
+ },
11
+ {
12
+ "phaseId": "analyze",
13
+ "phaseName": "Analyze",
14
+ "taskId": "ade-3.2"
15
+ },
16
+ {
17
+ "phaseId": "fix",
18
+ "phaseName": "Fix",
19
+ "taskId": "ade-3.3"
20
+ },
21
+ {
22
+ "phaseId": "verify",
23
+ "phaseName": "Verify",
24
+ "taskId": "ade-3.4"
25
+ },
26
+ {
27
+ "phaseId": "finalize",
28
+ "phaseName": "Finalize",
29
+ "taskId": "ade-3.5"
30
+ }
31
+ ],
32
+ "createdAt": "2026-03-18T15:29:11.195Z",
33
+ "updatedAt": "2026-03-18T15:29:11.195Z"
34
+ }
@@ -0,0 +1,78 @@
1
+ # Development Plan: ade (fix-bundling branch)
2
+
3
+ *Generated on 2026-03-18 by Vibe Feature MCP*
4
+ *Workflow: [bugfix](https://mrsimpson.github.io/responsible-vibe-mcp/workflows/bugfix)*
5
+
6
+ ## Goal
7
+ Fix bundling issue where `npx @codemcp/ade@latest setup` fails with ERR_MODULE_NOT_FOUND for '@clack/prompts' dependency.
8
+
9
+ ## Reproduce
10
+ <!-- beads-phase-id: ade-3.1 -->
11
+ ### Tasks
12
+ - [ ] Reproduce the error by running `npx @codemcp/ade@latest setup`
13
+ - [ ] Examine the bundled output to confirm @clack/prompts is not included
14
+ - [ ] Document the exact error and bundling configuration
15
+
16
+ ## Analyze
17
+ <!-- beads-phase-id: ade-3.2 -->
18
+ ### Phase Entrance Criteria:
19
+ - [ ] The error has been successfully reproduced
20
+ - [ ] The bundled output has been examined
21
+ - [ ] The root cause is identified
22
+
23
+ ### Tasks
24
+ - [ ] Analyze tsup configuration in packages/cli/tsup.config.ts
25
+ - [ ] Identify why @clack/prompts is not being bundled
26
+ - [ ] Research tsup bundling options for dependencies
27
+
28
+ ## Fix
29
+ <!-- beads-phase-id: ade-3.3 -->
30
+ ### Phase Entrance Criteria:
31
+ - [ ] Root cause analysis is complete
32
+ - [ ] Solution approach is identified
33
+ - [ ] tsup configuration issues are understood
34
+
35
+ ### Tasks
36
+ - [ ] Update tsup.config.ts to bundle @clack/prompts dependency
37
+ - [ ] Rebuild the CLI package
38
+ - [ ] Test the bundled output locally
39
+
40
+ ## Verify
41
+ <!-- beads-phase-id: ade-3.4 -->
42
+ ### Phase Entrance Criteria:
43
+ - [ ] Fix has been implemented
44
+ - [ ] Local build is successful
45
+ - [ ] Bundled output includes @clack/prompts
46
+
47
+ ### Tasks
48
+ - [ ] Test the fixed CLI locally
49
+ - [ ] Verify npx command works after publishing
50
+ - [ ] Confirm no other dependencies are missing
51
+
52
+ ## Finalize
53
+ <!-- beads-phase-id: ade-3.5 -->
54
+ ### Phase Entrance Criteria:
55
+ - [ ] Fix has been verified to work
56
+ - [ ] No regressions introduced
57
+ - [ ] All tests pass
58
+
59
+ ### Tasks
60
+ - [ ] Document the fix in commit message
61
+ - [ ] Update version if needed
62
+ - [ ] Publish the fixed package
63
+
64
+ ## Key Decisions
65
+ - **Root Cause Identified**: tsup is not bundling the `@clack/prompts` dependency, leaving it as an external import in the bundled output
66
+ - **Solution**: Add `noExternal: ["@clack/prompts"]` to tsup.config.ts to force bundling of this dependency
67
+ - **Fix Applied**: Updated packages/cli/tsup.config.ts with noExternal configuration
68
+ - **Verification Status**: Fix is implemented but requires rebuild to take effect
69
+
70
+ ## Notes
71
+ - The error occurs because when npx installs @codemcp/ade, it doesn't install the @clack/prompts dependency
72
+ - The bundled dist/index.js contains `import * as clack from "@clack/prompts";` instead of bundled code
73
+ - tsup by default treats all dependencies as external unless explicitly configured otherwise
74
+ - **Current bundled output still shows external imports** - rebuild needed to apply fix
75
+ - After rebuild, the @clack/prompts code should be bundled inline instead of imported externally
76
+
77
+ ---
78
+ *This plan is maintained by the LLM and uses beads CLI for task management. Tool responses provide guidance on which bd commands to use for task management.*
@@ -0,0 +1,3 @@
1
+ export default {
2
+ extends: ["@commitlint/config-conventional"]
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/ade",
3
- "version": "0.2.0",
3
+ "version": "0.2.3",
4
4
  "description": "ADE CLI — Agentic Development Environment setup and configuration tool",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "engines": {
18
18
  "node": ">=22",
19
- "pnpm": ">=9.0.0"
19
+ "pnpm": ">=10.0.0"
20
20
  },
21
21
  "type": "module",
22
22
  "bin": {
@@ -26,54 +26,52 @@
26
26
  "access": "public"
27
27
  },
28
28
  "devDependencies": {
29
- "@braintree/sanitize-url": "7.1.1",
30
- "@eslint/js": "9.18.0",
31
- "@swc/core": "^1.10.9",
32
- "@tsconfig/node22": "22.0.0",
33
- "@tsconfig/strictest": "2.0.5",
34
- "@types/eslint-config-prettier": "6.11.3",
29
+ "@changesets/cli": "^2.30.0",
30
+ "@commitlint/cli": "^19.6.0",
31
+ "@commitlint/config-conventional": "^19.6.0",
32
+ "@tsconfig/node22": "^22.0.5",
33
+ "@turbo/gen": "^2.8.17",
35
34
  "@types/node": "^22.10.7",
36
- "@typescript-eslint/eslint-plugin": "^8.21.0",
37
- "@typescript-eslint/parser": "^8.21.0",
38
- "@vitest/coverage-v8": "^3.0.3",
35
+ "@vitest/coverage-v8": "^3.2.4",
39
36
  "cytoscape": "3.31.0",
40
37
  "cytoscape-cose-bilkent": "4.1.0",
41
38
  "dayjs": "1.11.13",
42
39
  "debug": "4.4.0",
43
- "eslint": "^9.18.0",
44
- "eslint-config-prettier": "^10.0.1",
45
40
  "husky": "^9.1.7",
46
- "lint-staged": "^15.4.1",
47
- "nodemon": "^3.1.9",
41
+ "knip": "^5.86.0",
42
+ "lint-staged": "^16.0.0",
43
+ "oxlint": "^1.0.0",
48
44
  "prettier": "^3.4.2",
49
- "rimraf": "^6.0.1",
50
- "turbo": "^2.3.3",
51
- "typescript": "^5.7.3",
52
- "typescript-eslint": "8.21.0",
45
+ "turbo": "^2.8.17",
46
+ "typescript": "^5.9.3",
53
47
  "vitepress": "1.6.2",
54
48
  "vitepress-plugin-mermaid": "2.0.17",
55
- "vitest": "^3.0.3"
49
+ "vitest": "^3.2.4"
56
50
  },
57
51
  "dependencies": {
58
52
  "yaml": "^2.8.2"
59
53
  },
60
54
  "scripts": {
61
55
  "build": "turbo run build",
62
- "build:clean": "turbo run clean:build",
56
+ "clean": "turbo run clean:build",
63
57
  "dev": "turbo run dev",
64
58
  "docs:dev": "vitepress dev docs",
65
59
  "docs:build": "vitepress build docs",
66
60
  "docs:preview": "vitepress preview docs",
67
- "test": "turbo run --parallel test",
68
- "test:watch": "turbo run --parallel test:watch",
61
+ "test": "vitest --run",
62
+ "test:watch": "vitest",
69
63
  "lint:all": "turbo run --parallel lint",
70
64
  "lint:fix:all": "turbo run --parallel lint:fix",
71
65
  "format:check:all": "turbo run --parallel format",
72
66
  "format:all": "turbo run --parallel format:fix",
73
67
  "typecheck:all": "turbo run --parallel typecheck",
74
- "lint": "eslint",
75
- "lint:fix": "eslint --fix",
68
+ "lint": "oxlint .",
69
+ "lint:fix": "oxlint --fix .",
76
70
  "format": "prettier --check .",
77
- "format:fix": "prettier --write ."
71
+ "format:fix": "prettier --write .",
72
+ "knip": "knip",
73
+ "changeset": "changeset",
74
+ "version": "changeset version",
75
+ "release": "pnpm build && changeset publish"
78
76
  }
79
77
  }