@defai.digital/automatosx 12.8.7 → 13.1.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/LICENSE +1 -1
- package/README.md +48 -754
- package/dist/bin.d.ts +8 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +16 -0
- package/dist/bin.js.map +1 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -74239
- package/dist/index.js.map +1 -0
- package/package.json +35 -160
- package/.github/assets/ax-cli.png +0 -0
- package/.github/assets/axlogo.png +0 -0
- package/CHANGELOG.md +0 -81
- package/SECURITY.md +0 -173
- package/dist/mcp/index.d.ts +0 -2
- package/dist/mcp/index.js +0 -43627
- package/examples/AGENTS_INFO.md +0 -187
- package/examples/README.md +0 -434
- package/examples/abilities/accessibility.md +0 -115
- package/examples/abilities/api-design.md +0 -168
- package/examples/abilities/best-practices.md +0 -102
- package/examples/abilities/caching-strategy.md +0 -165
- package/examples/abilities/ci-cd.md +0 -61
- package/examples/abilities/clean-code.md +0 -398
- package/examples/abilities/code-generation.md +0 -333
- package/examples/abilities/code-review.md +0 -51
- package/examples/abilities/component-architecture.md +0 -112
- package/examples/abilities/content-creation.md +0 -97
- package/examples/abilities/data-modeling.md +0 -171
- package/examples/abilities/data-validation.md +0 -50
- package/examples/abilities/db-modeling.md +0 -167
- package/examples/abilities/debugging.md +0 -52
- package/examples/abilities/design-patterns.md +0 -437
- package/examples/abilities/design-system-implementation.md +0 -126
- package/examples/abilities/documentation.md +0 -54
- package/examples/abilities/etl-pipelines.md +0 -44
- package/examples/abilities/feasibility-study.md +0 -20
- package/examples/abilities/general-assistance.md +0 -26
- package/examples/abilities/idea-evaluation.md +0 -21
- package/examples/abilities/infra-as-code.md +0 -57
- package/examples/abilities/job-orchestration.md +0 -44
- package/examples/abilities/literature-review.md +0 -19
- package/examples/abilities/longform-report.md +0 -25
- package/examples/abilities/mathematical-reasoning.md +0 -170
- package/examples/abilities/observability.md +0 -61
- package/examples/abilities/orbital-mechanics.md +0 -50
- package/examples/abilities/our-architecture-decisions.md +0 -180
- package/examples/abilities/our-code-review-checklist.md +0 -149
- package/examples/abilities/our-coding-standards.md +0 -369
- package/examples/abilities/our-project-structure.md +0 -183
- package/examples/abilities/performance.md +0 -89
- package/examples/abilities/problem-solving.md +0 -50
- package/examples/abilities/propulsion-systems.md +0 -50
- package/examples/abilities/quantum-algorithm-design.md +0 -54
- package/examples/abilities/quantum-error-correction.md +0 -56
- package/examples/abilities/quantum-frameworks-transpilation.md +0 -53
- package/examples/abilities/quantum-noise-modeling.md +0 -58
- package/examples/abilities/refactoring.md +0 -223
- package/examples/abilities/release-strategy.md +0 -58
- package/examples/abilities/secrets-policy.md +0 -61
- package/examples/abilities/secure-coding-review.md +0 -60
- package/examples/abilities/software-architecture.md +0 -394
- package/examples/abilities/solid-principles.md +0 -341
- package/examples/abilities/sql-optimization.md +0 -84
- package/examples/abilities/state-management.md +0 -96
- package/examples/abilities/task-planning.md +0 -65
- package/examples/abilities/technical-writing.md +0 -77
- package/examples/abilities/telemetry-diagnostics.md +0 -51
- package/examples/abilities/testing.md +0 -56
- package/examples/abilities/threat-modeling.md +0 -58
- package/examples/abilities/troubleshooting.md +0 -80
- package/examples/abilities/typescript-zod-validation.md +0 -830
- package/examples/agents/AGENTS_INTEGRATION.md +0 -99
- package/examples/agents/aerospace-scientist.yaml +0 -159
- package/examples/agents/architecture.yaml +0 -244
- package/examples/agents/automatosx.config.json +0 -286
- package/examples/agents/backend.yaml +0 -141
- package/examples/agents/ceo.yaml +0 -105
- package/examples/agents/creative-marketer.yaml +0 -173
- package/examples/agents/cto.yaml +0 -118
- package/examples/agents/data-scientist.yaml +0 -200
- package/examples/agents/data.yaml +0 -106
- package/examples/agents/design.yaml +0 -115
- package/examples/agents/devops.yaml +0 -124
- package/examples/agents/frontend.yaml +0 -171
- package/examples/agents/fullstack.yaml +0 -172
- package/examples/agents/mobile.yaml +0 -185
- package/examples/agents/product.yaml +0 -103
- package/examples/agents/quality.yaml +0 -117
- package/examples/agents/quantum-engineer.yaml +0 -166
- package/examples/agents/researcher.yaml +0 -122
- package/examples/agents/security.yaml +0 -115
- package/examples/agents/standard.yaml +0 -214
- package/examples/agents/writer.yaml +0 -122
- package/examples/providers/README.md +0 -117
- package/examples/providers/claude/CLAUDE_INTEGRATION.md +0 -302
- package/examples/providers/claude/mcp/automatosx.json +0 -244
- package/examples/providers/codex/CODEX_INTEGRATION.md +0 -593
- package/examples/providers/codex/README.md +0 -349
- package/examples/providers/codex/usage-examples.ts +0 -421
- package/examples/providers/gemini/GEMINI_INTEGRATION.md +0 -236
- package/examples/providers/gemini/README.md +0 -76
- package/examples/providers/openai-codex-example.ts +0 -421
- package/examples/pytorch_resnet50_training.py +0 -289
- package/examples/specs/automatosx-release.ax.yaml +0 -380
- package/examples/specs/enterprise.ax.yaml +0 -121
- package/examples/specs/enterprise.yaml.mustache +0 -121
- package/examples/specs/government.ax.yaml +0 -148
- package/examples/specs/government.yaml.mustache +0 -148
- package/examples/specs/minimal.ax.yaml +0 -21
- package/examples/specs/minimal.yaml.mustache +0 -21
- package/examples/teams/business.yaml +0 -56
- package/examples/teams/core.yaml +0 -60
- package/examples/teams/design.yaml +0 -58
- package/examples/teams/engineering.yaml +0 -69
- package/examples/teams/research.yaml +0 -56
- package/examples/use-cases/01-web-app-development.md +0 -374
- package/examples/workflows/analyst.yaml +0 -60
- package/examples/workflows/assistant.yaml +0 -48
- package/examples/workflows/basic-agent.yaml +0 -28
- package/examples/workflows/code-reviewer.yaml +0 -52
- package/examples/workflows/debugger.yaml +0 -63
- package/examples/workflows/designer.yaml +0 -69
- package/examples/workflows/developer.yaml +0 -60
- package/examples/workflows/fullstack-developer.yaml +0 -395
- package/examples/workflows/qa-specialist.yaml +0 -71
- package/schema/ability-metadata.json +0 -21
- package/schema/config.json +0 -703
- 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": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "13.1.3",
|
|
4
|
+
"description": "AutomatosX CLI - AI-powered workflow automation (wrapper for @defai.digital/cli)",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
},
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
9
8
|
"bin": {
|
|
10
|
-
"automatosx": "dist/
|
|
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
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
"
|
|
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.3"
|
|
23
|
+
},
|
|
138
24
|
"keywords": [
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
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": "
|
|
35
|
+
"author": "DEFAI Private Limited",
|
|
155
36
|
"license": "Apache-2.0",
|
|
156
37
|
"repository": {
|
|
157
38
|
"type": "git",
|
|
158
|
-
"url": "
|
|
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
|
-
"
|
|
164
|
-
|
|
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
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"tmp": "^0.2.4"
|
|
174
|
-
}
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
175
51
|
},
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
|
|
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.
|
package/SECURITY.md
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
| Version | Supported |
|
|
6
|
-
| ------- | ------------------ |
|
|
7
|
-
| 11.0.x | :white_check_mark: |
|
|
8
|
-
| < 11.0 | :x: |
|
|
9
|
-
|
|
10
|
-
## Package Provenance
|
|
11
|
-
|
|
12
|
-
All AutomatosX releases are published with npm provenance, which:
|
|
13
|
-
|
|
14
|
-
- Verifies packages were built in our GitHub Actions environment
|
|
15
|
-
- Links each package to its source code commit
|
|
16
|
-
- Provides cryptographic proof of authenticity
|
|
17
|
-
- Follows [SLSA Build Level 2](https://slsa.dev/spec/v1.0/levels)
|
|
18
|
-
|
|
19
|
-
### Verify Provenance
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npm view @defai.digital/automatosx --json | jq .dist.attestations
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Reporting a Vulnerability
|
|
26
|
-
|
|
27
|
-
We take security vulnerabilities seriously. **Please DO NOT open a public GitHub issue for security vulnerabilities.**
|
|
28
|
-
|
|
29
|
-
### How to Report
|
|
30
|
-
|
|
31
|
-
1. **Email**: Send details to [support@defai.digital](mailto:support@defai.digital)
|
|
32
|
-
- Use subject line: `[SECURITY] Brief description`
|
|
33
|
-
|
|
34
|
-
2. **GitHub Security Advisory**: https://github.com/defai-digital/automatosx/security/advisories/new
|
|
35
|
-
|
|
36
|
-
### What to Include
|
|
37
|
-
|
|
38
|
-
- **Type of vulnerability** (e.g., command injection, XSS, SQL injection)
|
|
39
|
-
- **Affected component** (file path and line number if possible)
|
|
40
|
-
- **Steps to reproduce** (detailed reproduction steps)
|
|
41
|
-
- **Proof of concept** (code snippet or screenshot)
|
|
42
|
-
- **Impact assessment** (what an attacker could achieve)
|
|
43
|
-
- **Suggested fix** (if you have one)
|
|
44
|
-
|
|
45
|
-
### Response Timeline
|
|
46
|
-
|
|
47
|
-
- **Initial Response**: Within 48 hours
|
|
48
|
-
- **Status Update**: Within 7 days
|
|
49
|
-
- **Fix Timeline**: Depends on severity
|
|
50
|
-
- Critical: 7-14 days
|
|
51
|
-
- High: 14-30 days
|
|
52
|
-
- Medium: 30-60 days
|
|
53
|
-
- Low: Next release cycle
|
|
54
|
-
|
|
55
|
-
### Disclosure Policy
|
|
56
|
-
|
|
57
|
-
- We follow **coordinated disclosure**
|
|
58
|
-
- We'll credit you in the security advisory (unless you prefer anonymity)
|
|
59
|
-
- We'll publish a security advisory after the fix is released
|
|
60
|
-
- Please allow us reasonable time to fix before public disclosure
|
|
61
|
-
|
|
62
|
-
## Security Best Practices
|
|
63
|
-
|
|
64
|
-
### For Users
|
|
65
|
-
|
|
66
|
-
#### 1. Environment Variables
|
|
67
|
-
|
|
68
|
-
Never commit sensitive data to the repository:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
# Store API keys in .env (already in .gitignore)
|
|
72
|
-
ANTHROPIC_API_KEY=your-key-here
|
|
73
|
-
OPENAI_API_KEY=your-key-here
|
|
74
|
-
GOOGLE_API_KEY=your-key-here
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
#### 2. Provider CLI Security
|
|
78
|
-
|
|
79
|
-
- Install provider CLIs from official sources only
|
|
80
|
-
- Keep provider CLIs updated to latest versions
|
|
81
|
-
- Review provider CLI permissions and capabilities
|
|
82
|
-
|
|
83
|
-
#### 3. Agent Profiles
|
|
84
|
-
|
|
85
|
-
- Review agent profiles before running (`~/.automatosx/agents/`)
|
|
86
|
-
- Be cautious with custom agents from untrusted sources
|
|
87
|
-
- Agents can execute code - only use trusted profiles
|
|
88
|
-
|
|
89
|
-
#### 4. File Operations
|
|
90
|
-
|
|
91
|
-
AutomatosX respects path validation settings in `ax.config.json`:
|
|
92
|
-
|
|
93
|
-
```json
|
|
94
|
-
{
|
|
95
|
-
"advanced": {
|
|
96
|
-
"security": {
|
|
97
|
-
"pathValidation": true,
|
|
98
|
-
"allowedExtensions": [".js", ".ts", ".py", ".md", ".json", ".yaml"]
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
#### 5. Package Security
|
|
105
|
-
|
|
106
|
-
- Always use the latest stable version
|
|
107
|
-
- Verify package provenance before installation
|
|
108
|
-
- Use `npm ci` instead of `npm install` in CI/CD
|
|
109
|
-
- Enable dependency scanning (Dependabot)
|
|
110
|
-
- Review the GitHub Releases (https://github.com/defai-digital/automatosx/releases) for security updates
|
|
111
|
-
|
|
112
|
-
#### 6. Memory Database
|
|
113
|
-
|
|
114
|
-
- Memory is stored locally in `.automatosx/memory/memories.db`
|
|
115
|
-
- Contains conversation history and context
|
|
116
|
-
- Backup regularly if it contains important data
|
|
117
|
-
- Never commit to version control
|
|
118
|
-
|
|
119
|
-
## Known Security Considerations
|
|
120
|
-
|
|
121
|
-
### Command Injection Protection
|
|
122
|
-
|
|
123
|
-
- Provider names are whitelisted (`BaseProvider.ALLOWED_PROVIDER_NAMES`)
|
|
124
|
-
- Path validation enabled by default
|
|
125
|
-
- SQL injection prevented via prepared statements
|
|
126
|
-
|
|
127
|
-
### Data Privacy
|
|
128
|
-
|
|
129
|
-
- All data stored locally by default
|
|
130
|
-
- No telemetry sent to AutomatosX servers
|
|
131
|
-
- AI provider calls respect your privacy settings
|
|
132
|
-
- Review each provider's privacy policy
|
|
133
|
-
|
|
134
|
-
### Supply Chain Security
|
|
135
|
-
|
|
136
|
-
- Dependencies audited regularly via `npm audit`
|
|
137
|
-
- Native modules (`better-sqlite3`, `sqlite-vec`) from trusted sources
|
|
138
|
-
- Lock file (`package-lock.json`) committed to repo
|
|
139
|
-
|
|
140
|
-
## Security Updates
|
|
141
|
-
|
|
142
|
-
Security updates are published via:
|
|
143
|
-
|
|
144
|
-
1. **GitHub Security Advisories**
|
|
145
|
-
2. **Release notes** in `GitHub Releases (https://github.com/defai-digital/automatosx/releases)`
|
|
146
|
-
3. **npm security advisories**
|
|
147
|
-
|
|
148
|
-
To stay informed:
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
# Check for updates
|
|
152
|
-
npm outdated -g @defai.digital/automatosx
|
|
153
|
-
|
|
154
|
-
# Update to latest
|
|
155
|
-
npm update -g @defai.digital/automatosx
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
## Security Hall of Fame
|
|
159
|
-
|
|
160
|
-
We appreciate security researchers who help make AutomatosX safer:
|
|
161
|
-
|
|
162
|
-
- *Be the first to responsibly disclose a vulnerability!*
|
|
163
|
-
|
|
164
|
-
## Questions?
|
|
165
|
-
|
|
166
|
-
If you have questions about security but don't have a vulnerability to report:
|
|
167
|
-
|
|
168
|
-
- Open a [GitHub Discussion](https://github.com/defai-digital/AutomatosX/discussions)
|
|
169
|
-
- Email us at [support@defai.digital](mailto:support@defai.digital)
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
**Thank you for helping keep AutomatosX and our users safe!**
|
package/dist/mcp/index.d.ts
DELETED