@defai.digital/automatosx 12.8.7 → 13.1.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 (130) hide show
  1. package/LICENSE +1 -1
  2. package/dist/bin.d.ts +8 -0
  3. package/dist/bin.d.ts.map +1 -0
  4. package/dist/bin.js +16 -0
  5. package/dist/bin.js.map +1 -0
  6. package/dist/index.d.ts +8 -2
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +7 -74239
  9. package/dist/index.js.map +1 -0
  10. package/package.json +35 -160
  11. package/.github/assets/ax-cli.png +0 -0
  12. package/.github/assets/axlogo.png +0 -0
  13. package/CHANGELOG.md +0 -81
  14. package/README.md +0 -790
  15. package/SECURITY.md +0 -173
  16. package/dist/mcp/index.d.ts +0 -2
  17. package/dist/mcp/index.js +0 -43627
  18. package/examples/AGENTS_INFO.md +0 -187
  19. package/examples/README.md +0 -434
  20. package/examples/abilities/accessibility.md +0 -115
  21. package/examples/abilities/api-design.md +0 -168
  22. package/examples/abilities/best-practices.md +0 -102
  23. package/examples/abilities/caching-strategy.md +0 -165
  24. package/examples/abilities/ci-cd.md +0 -61
  25. package/examples/abilities/clean-code.md +0 -398
  26. package/examples/abilities/code-generation.md +0 -333
  27. package/examples/abilities/code-review.md +0 -51
  28. package/examples/abilities/component-architecture.md +0 -112
  29. package/examples/abilities/content-creation.md +0 -97
  30. package/examples/abilities/data-modeling.md +0 -171
  31. package/examples/abilities/data-validation.md +0 -50
  32. package/examples/abilities/db-modeling.md +0 -167
  33. package/examples/abilities/debugging.md +0 -52
  34. package/examples/abilities/design-patterns.md +0 -437
  35. package/examples/abilities/design-system-implementation.md +0 -126
  36. package/examples/abilities/documentation.md +0 -54
  37. package/examples/abilities/etl-pipelines.md +0 -44
  38. package/examples/abilities/feasibility-study.md +0 -20
  39. package/examples/abilities/general-assistance.md +0 -26
  40. package/examples/abilities/idea-evaluation.md +0 -21
  41. package/examples/abilities/infra-as-code.md +0 -57
  42. package/examples/abilities/job-orchestration.md +0 -44
  43. package/examples/abilities/literature-review.md +0 -19
  44. package/examples/abilities/longform-report.md +0 -25
  45. package/examples/abilities/mathematical-reasoning.md +0 -170
  46. package/examples/abilities/observability.md +0 -61
  47. package/examples/abilities/orbital-mechanics.md +0 -50
  48. package/examples/abilities/our-architecture-decisions.md +0 -180
  49. package/examples/abilities/our-code-review-checklist.md +0 -149
  50. package/examples/abilities/our-coding-standards.md +0 -369
  51. package/examples/abilities/our-project-structure.md +0 -183
  52. package/examples/abilities/performance.md +0 -89
  53. package/examples/abilities/problem-solving.md +0 -50
  54. package/examples/abilities/propulsion-systems.md +0 -50
  55. package/examples/abilities/quantum-algorithm-design.md +0 -54
  56. package/examples/abilities/quantum-error-correction.md +0 -56
  57. package/examples/abilities/quantum-frameworks-transpilation.md +0 -53
  58. package/examples/abilities/quantum-noise-modeling.md +0 -58
  59. package/examples/abilities/refactoring.md +0 -223
  60. package/examples/abilities/release-strategy.md +0 -58
  61. package/examples/abilities/secrets-policy.md +0 -61
  62. package/examples/abilities/secure-coding-review.md +0 -60
  63. package/examples/abilities/software-architecture.md +0 -394
  64. package/examples/abilities/solid-principles.md +0 -341
  65. package/examples/abilities/sql-optimization.md +0 -84
  66. package/examples/abilities/state-management.md +0 -96
  67. package/examples/abilities/task-planning.md +0 -65
  68. package/examples/abilities/technical-writing.md +0 -77
  69. package/examples/abilities/telemetry-diagnostics.md +0 -51
  70. package/examples/abilities/testing.md +0 -56
  71. package/examples/abilities/threat-modeling.md +0 -58
  72. package/examples/abilities/troubleshooting.md +0 -80
  73. package/examples/abilities/typescript-zod-validation.md +0 -830
  74. package/examples/agents/AGENTS_INTEGRATION.md +0 -99
  75. package/examples/agents/aerospace-scientist.yaml +0 -159
  76. package/examples/agents/architecture.yaml +0 -244
  77. package/examples/agents/automatosx.config.json +0 -286
  78. package/examples/agents/backend.yaml +0 -141
  79. package/examples/agents/ceo.yaml +0 -105
  80. package/examples/agents/creative-marketer.yaml +0 -173
  81. package/examples/agents/cto.yaml +0 -118
  82. package/examples/agents/data-scientist.yaml +0 -200
  83. package/examples/agents/data.yaml +0 -106
  84. package/examples/agents/design.yaml +0 -115
  85. package/examples/agents/devops.yaml +0 -124
  86. package/examples/agents/frontend.yaml +0 -171
  87. package/examples/agents/fullstack.yaml +0 -172
  88. package/examples/agents/mobile.yaml +0 -185
  89. package/examples/agents/product.yaml +0 -103
  90. package/examples/agents/quality.yaml +0 -117
  91. package/examples/agents/quantum-engineer.yaml +0 -166
  92. package/examples/agents/researcher.yaml +0 -122
  93. package/examples/agents/security.yaml +0 -115
  94. package/examples/agents/standard.yaml +0 -214
  95. package/examples/agents/writer.yaml +0 -122
  96. package/examples/providers/README.md +0 -117
  97. package/examples/providers/claude/CLAUDE_INTEGRATION.md +0 -302
  98. package/examples/providers/claude/mcp/automatosx.json +0 -244
  99. package/examples/providers/codex/CODEX_INTEGRATION.md +0 -593
  100. package/examples/providers/codex/README.md +0 -349
  101. package/examples/providers/codex/usage-examples.ts +0 -421
  102. package/examples/providers/gemini/GEMINI_INTEGRATION.md +0 -236
  103. package/examples/providers/gemini/README.md +0 -76
  104. package/examples/providers/openai-codex-example.ts +0 -421
  105. package/examples/pytorch_resnet50_training.py +0 -289
  106. package/examples/specs/automatosx-release.ax.yaml +0 -380
  107. package/examples/specs/enterprise.ax.yaml +0 -121
  108. package/examples/specs/enterprise.yaml.mustache +0 -121
  109. package/examples/specs/government.ax.yaml +0 -148
  110. package/examples/specs/government.yaml.mustache +0 -148
  111. package/examples/specs/minimal.ax.yaml +0 -21
  112. package/examples/specs/minimal.yaml.mustache +0 -21
  113. package/examples/teams/business.yaml +0 -56
  114. package/examples/teams/core.yaml +0 -60
  115. package/examples/teams/design.yaml +0 -58
  116. package/examples/teams/engineering.yaml +0 -69
  117. package/examples/teams/research.yaml +0 -56
  118. package/examples/use-cases/01-web-app-development.md +0 -374
  119. package/examples/workflows/analyst.yaml +0 -60
  120. package/examples/workflows/assistant.yaml +0 -48
  121. package/examples/workflows/basic-agent.yaml +0 -28
  122. package/examples/workflows/code-reviewer.yaml +0 -52
  123. package/examples/workflows/debugger.yaml +0 -63
  124. package/examples/workflows/designer.yaml +0 -69
  125. package/examples/workflows/developer.yaml +0 -60
  126. package/examples/workflows/fullstack-developer.yaml +0 -395
  127. package/examples/workflows/qa-specialist.yaml +0 -71
  128. package/schema/ability-metadata.json +0 -21
  129. package/schema/config.json +0 -703
  130. package/schema/spec-schema.json +0 -608
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,181 +1,56 @@
1
1
  {
2
2
  "name": "@defai.digital/automatosx",
3
- "version": "12.8.7",
4
- "description": "AI Agent Orchestration Platform with 20+ specialized agents, persistent memory, MCP server, and intelligent multi-provider routing for Claude Code, Gemini CLI, Codex CLI, GLM, Grok, and Qwen",
3
+ "version": "13.1.2",
4
+ "description": "AutomatosX CLI - AI-powered workflow automation (wrapper for @defai.digital/cli)",
5
5
  "type": "module",
6
- "publishConfig": {
7
- "access": "public"
8
- },
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
9
8
  "bin": {
10
- "automatosx": "dist/index.js",
11
- "ax": "dist/index.js",
12
- "automatosx-mcp": "dist/mcp/index.js"
13
- },
14
- "engines": {
15
- "node": ">=24.0.0"
9
+ "automatosx": "./dist/bin.js"
16
10
  },
17
- "packageManager": "pnpm@9.14.2",
18
- "scripts": {
19
- "prebuild:config": "node tools/prebuild-config.cjs",
20
- "generate:claude-manifests": "tsx tools/generate-claude-manifests.ts",
21
- "clean:dist": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
22
- "build": "npm run clean:dist && npm run prebuild:config && tsup",
23
- "build:sequential": "npm run clean:dist && npm run prebuild:config && tsup --config tsup.config.cli.ts && tsup --config tsup.config.mcp.ts",
24
- "dev": "tsx src/cli/index.ts",
25
- "test": "npm run test:unit && npm run test:integration && npm run test:smoke",
26
- "test:unit": "vitest run tests/unit",
27
- "test:integration": "vitest run tests/integration",
28
- "test:all": "vitest run",
29
- "test:ci": "vitest run --config vitest.config.ci.ts",
30
- "test:release": "vitest run --config vitest.config.ci.ts",
31
- "test:smoke": "bash tests/smoke/smoke-test.sh",
32
- "test:real-providers": "bash tools/real-provider-test.sh",
33
- "test:coverage": "vitest run --coverage",
34
- "test:watch": "vitest watch",
35
- "test:typecheck": "vitest typecheck --run",
36
- "test:debug": "vitest --inspect-brk --no-coverage",
37
- "test:memory": "node --expose-gc --max-old-space-size=4096 node_modules/.bin/vitest run",
38
- "lint": "eslint src tests --ext .ts",
39
- "lint:fix": "eslint src tests --ext .ts --fix",
40
- "typecheck": "tsc --noEmit",
41
- "typecheck:incremental": "tsc --noEmit --incremental",
42
- "verify": "npm run typecheck:incremental && npm run build && npm run test:unit",
43
- "prepublishOnly": "node tools/check-ci-env.js && npm run build && npm run typecheck && ([ -n \"$CI\" ] || npm run test:all)",
44
- "prepack": "npm run build",
45
- "postpack": "echo '✅ Package created successfully'",
46
- "version": "node tools/sync-all-versions.js && git add README.md CLAUDE.md",
47
- "version:patch": "npm version patch -m 'chore: bump version to %s'",
48
- "version:minor": "npm version minor -m 'chore: bump version to %s'",
49
- "version:major": "npm version major -m 'chore: bump version to %s'",
50
- "version:beta": "npm version prerelease --preid=beta -m 'chore: bump version to %s'",
51
- "version:rc": "npm version prerelease --preid=rc -m 'chore: bump version to %s'",
52
- "sync:all-versions": "node tools/sync-all-versions.js",
53
- "prerelease": "npm run sync:all-versions && npm run typecheck && npm run test:all",
54
- "release:check": "node tools/check-release.js",
55
- "check:size": "bash tools/check-package-size.sh",
56
- "tools:check": "bash -c 'echo \"🔍 Checking shell scripts syntax...\"; for f in tools/*.sh; do echo \" Checking $f...\"; bash -n \"$f\" && echo \" ✓ $f OK\" || echo \" ✗ $f FAILED\"; done; echo \"✅ All tools checked\"'",
57
- "check:timers": "bash tools/check-timer-cleanup.sh",
58
- "validate:native": "node tools/validate-native-modules.js",
59
- "rebuild:native": "npm rebuild better-sqlite3 sqlite-vec",
60
- "postinstall": "node tools/validate-native-modules.js || echo '⚠️ Native module validation failed. Run: npm run rebuild:native'",
61
- "prepare": "[ -n \"$CI\" ] || husky",
62
- "commit": "cz",
63
- "release": "node tools/release.js",
64
- "release:patch": "node tools/release.js patch",
65
- "release:minor": "node tools/release.js minor",
66
- "release:major": "node tools/release.js major",
67
- "release:spec": "ax spec run examples/specs/automatosx-release.ax.yaml",
68
- "release:standard": "commit-and-tag-version",
69
- "release:beta": "commit-and-tag-version --prerelease beta",
70
- "release:rc": "commit-and-tag-version --prerelease rc",
71
- "release:first": "commit-and-tag-version --first-release"
72
- },
73
- "devDependencies": {
74
- "@commitlint/cli": "^20.1.0",
75
- "@commitlint/config-conventional": "^20.0.0",
76
- "@eslint/js": "^9.39.1",
77
- "@faker-js/faker": "^10.1.0",
78
- "@types/better-sqlite3": "^7.6.13",
79
- "@types/inquirer": "^9.0.9",
80
- "@types/js-yaml": "^4.0.9",
81
- "@types/node": "^24.7.1",
82
- "@types/yargs": "^17.0.33",
83
- "@vitest/coverage-v8": "^4.0.15",
84
- "commit-and-tag-version": "^12.6.1",
85
- "commitizen": "^4.3.1",
86
- "cz-conventional-changelog": "^3.0.1",
87
- "globals": "^16.5.0",
88
- "husky": "^9.1.7",
89
- "markdownlint-cli": "^0.46.0",
90
- "memfs": "^4.51.1",
91
- "msw": "^2.12.4",
92
- "strip-ansi": "^7.1.0",
93
- "tsup": "^8.0.0",
94
- "tsx": "^4.7.0",
95
- "typescript": "^5.3.0",
96
- "typescript-eslint": "^8.49.0",
97
- "vitest": "^4.0.15"
98
- },
99
- "dependencies": {
100
- "@defai.digital/ax-cli": "^4.1.15",
101
- "@iarna/toml": "^2.2.5",
102
- "@openai/codex-sdk": "^0.65.0",
103
- "ajv": "^8.17.1",
104
- "ajv-formats": "^3.0.1",
105
- "async-mutex": "^0.5.0",
106
- "better-sqlite3": "^12.4.1",
107
- "boxen": "^8.0.1",
108
- "chalk": "^5.6.2",
109
- "cli-table3": "^0.6.5",
110
- "effect": "^3.19.3",
111
- "find-up": "^8.0.0",
112
- "glob": "^13.0.0",
113
- "inquirer": "^13.0.0",
114
- "js-yaml": "^4.1.0",
115
- "openai": "^6.7.0",
116
- "ora": "^9.0.0",
117
- "sqlite-vec": "^0.1.7-alpha.2",
118
- "yaml": "^2.8.1",
119
- "yargs": "^18.0.0",
120
- "zod": "^4.1.12"
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ }
121
16
  },
122
17
  "files": [
123
18
  "dist",
124
- "examples",
125
- "schema",
126
- "templates",
127
- ".github/assets",
128
- "README.md",
129
- "LICENSE",
130
- "CHANGELOG.md",
131
- "FAQ.md",
132
- "TROUBLESHOOTING.md",
133
- "MIGRATION.md",
134
- "CODE_OF_CONDUCT.md",
135
- "CONTRIBUTING.md",
136
- "SECURITY.md"
19
+ "LICENSE"
137
20
  ],
21
+ "dependencies": {
22
+ "@defai.digital/cli": "13.1.2"
23
+ },
138
24
  "keywords": [
139
- "multi-agent",
140
- "openai",
141
- "developer-tools",
142
- "glm",
143
- "grok",
144
- "workflow-orchestration",
145
- "ai-automation",
146
- "ai-runtime",
147
- "qwen",
148
- "aicoding",
149
- "agentic-framework",
150
- "gemini-cli",
151
- "claude-code",
152
- "codex-cli"
25
+ "ai",
26
+ "llm",
27
+ "cli",
28
+ "automation",
29
+ "workflow",
30
+ "mcp",
31
+ "claude",
32
+ "gemini",
33
+ "codex"
153
34
  ],
154
- "author": "AutomatosX Team",
35
+ "author": "DEFAI Private Limited",
155
36
  "license": "Apache-2.0",
156
37
  "repository": {
157
38
  "type": "git",
158
- "url": "git+https://github.com/defai-digital/automatosx.git"
39
+ "url": "https://github.com/defai-digital/automatosx.git",
40
+ "directory": "packages/automatosx"
159
41
  },
42
+ "homepage": "https://github.com/defai-digital/automatosx#readme",
160
43
  "bugs": {
161
44
  "url": "https://github.com/defai-digital/automatosx/issues"
162
45
  },
163
- "homepage": "https://automatosx.com",
164
- "overrides": {
165
- "esbuild": "^0.25.0",
166
- "tmp": "^0.2.4",
167
- "glob": "^13.0.0",
168
- "@ax-cli/schemas": "zod@^3.23.8",
169
- "@modelcontextprotocol/sdk": "^1.24.0"
46
+ "engines": {
47
+ "node": ">=20.0.0"
170
48
  },
171
- "pnpm": {
172
- "overrides": {
173
- "tmp": "^0.2.4"
174
- }
49
+ "publishConfig": {
50
+ "access": "public"
175
51
  },
176
- "config": {
177
- "commitizen": {
178
- "path": "cz-conventional-changelog"
179
- }
52
+ "scripts": {
53
+ "build": "tsc",
54
+ "clean": "rm -rf dist"
180
55
  }
181
- }
56
+ }
Binary file
Binary file
package/CHANGELOG.md DELETED
@@ -1,81 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- ## [12.3.0] - 2025-12-08
6
-
7
- ### Fixed
8
- - **MCP Configuration for ax-glm & ax-grok**: Fixed `ax setup` to create MCP config files in the correct format and location
9
- - Changed from legacy `mcp-config.json` to Claude Code format `.mcp.json`
10
- - ax-cli loads MCP config with priority: `.ax-glm/.mcp.json` > `.ax-glm/mcp-config.json`
11
- - Now ax-glm and ax-grok can properly connect to AutomatosX MCP server
12
-
13
- ### Changed
14
- - Updated `setupGlmMCPConfig()` and `setupGrokMCPConfig()` to write `.mcp.json` in Claude Code format
15
- - MCP configuration now uses the recommended format: `{ "mcpServers": { "automatosx": { "command": "automatosx", "args": ["mcp", "server"] } } }`
16
-
17
- ## [12.1.1] - 2025-12-07
18
-
19
- ### Fixed
20
- - Security update: Updated tmp to 0.2.4+ via pnpm override (CVE-2025-54798)
21
-
22
- ## [12.1.0] - 2025-12-07
23
-
24
- ### Added
25
- - MCP-First Architecture redesign
26
- - Removed ax-cli dependency for direct provider integration
27
-
28
- ## [11.3.4] - 2025-12-05
29
-
30
- ### Added
31
- - Comprehensive iterate mode controller tests with multi-phase orchestration
32
- - Mock executor and provider helpers for improved test coverage
33
- - Budget enforcement tests for iteration and token limits
34
-
35
- ### Changed
36
- - Enhanced executeWithIterate() with executor injection support
37
- - Improved test structure with Phase 3 & 4 orchestration tests
38
- - Better action handling tests for completion and pause scenarios
39
-
40
- ### Fixed
41
- - Test alignment for handleResponse() behavior when state not initialized
42
- - Classification history tracking in multi-iteration execution
43
-
44
- ## [11.3.3] - 2025-12-05
45
-
46
- ### Added
47
- - New iterate mode auto-responder system with intelligent classification
48
- - Enhanced iterate mode controller with improved state management
49
- - Unit tests for iterate classifier and auto-responder components
50
-
51
- ### Changed
52
- - Improved iterate classifier patterns for better accuracy
53
- - Enhanced iterate mode controller with better pause/resume handling
54
- - Updated setup command with additional configuration options
55
-
56
- ### Fixed
57
- - Iterate mode pattern improvements for edge cases
58
- - Auto-response handling for confirmation prompts
59
-
60
- ## [11.3.2] - 2025-12-04
61
-
62
- ### Fixed
63
- - SDK bug fixes and resource management improvements
64
-
65
- ## [11.3.1] - 2025-12-03
66
-
67
- ### Added
68
- - Mode persistence across sessions
69
- - CLI shortcuts for common operations
70
-
71
- ### Fixed
72
- - Various bug fixes
73
-
74
- ## [11.3.0] - 2025-12-02
75
-
76
- ### Added
77
- - Embedded Instructions System
78
- - Orchestration Service
79
- - Token budget management
80
-
81
- For earlier versions, see the git history.