@defai.digital/automatosx 8.0.20 → 8.0.21
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/.automatosx/memory/code.db +0 -0
- package/.automatosx/memory/code.db-shm +0 -0
- package/.automatosx/memory/code.db-wal +0 -0
- package/README.md +249 -356
- package/dist/utils/telemetryConsent.d.ts +4 -1
- package/dist/utils/telemetryConsent.d.ts.map +1 -1
- package/dist/utils/telemetryConsent.js +13 -3
- package/dist/utils/telemetryConsent.js.map +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/README.md
CHANGED
|
@@ -1,110 +1,146 @@
|
|
|
1
1
|
# AutomatosX
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**From Idea to Production in Minutes: The AI Agent Platform with Persistent Memory**
|
|
4
4
|
|
|
5
|
+
AutomatosX is the only AI CLI that combines intelligent code search, 21 specialized agents, and persistent memory. Search across 44 programming languages, delegate tasks to AI specialists, and build complete workflows—while the system remembers everything and optimizes every decision.
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@defai.digital/automatosx)
|
|
8
|
+
[](https://www.npmjs.com/package/@defai.digital/automatosx)
|
|
5
9
|
[](https://nodejs.org/)
|
|
6
|
-
[](https://www.apple.com/macos/)
|
|
8
|
-
[](https://www.microsoft.com/windows/)
|
|
9
|
-
[](./src)
|
|
10
|
-
[](./src)
|
|
10
|
+
[](#)
|
|
11
11
|
[](./src/parser)
|
|
12
12
|
[](./src/agents)
|
|
13
13
|
[](LICENSE)
|
|
14
|
-
[](https://ubuntu.com/)
|
|
15
|
+
[](https://www.apple.com/macos)
|
|
16
|
+
[](https://www.microsoft.com/windows)
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
**Status**: ✅ **Production Ready** | v8.0.20 | 21 Specialized Agents | 44 Languages | 745+ Tests Passing
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
- **Code Intelligence** - Tree-sitter AST parsing with SQLite FTS5 search for 44 languages
|
|
20
|
-
- **AI Agent System** - 21 specialized agents for development tasks
|
|
21
|
-
- **Multi-Provider AI** - Claude, Gemini, and OpenAI with automatic fallback
|
|
22
|
-
- **Workflow Orchestration** - ReScript state machines for complex multi-step tasks
|
|
23
|
-
- **Interactive CLI** - ChatGPT-style REPL with natural language interface
|
|
24
|
-
- **SpecKit Generators** - Auto-generate workflows, plans, tests, and project scaffolds
|
|
25
|
-
- **Iterate Mode** - Autonomous retry loops with 10 adaptive strategies
|
|
26
|
-
- **Validation System** - Production-ready type-safe validation (488k ops/sec)
|
|
20
|
+
---
|
|
27
21
|
|
|
28
|
-
##
|
|
22
|
+
## ⚡ New to AutomatosX? [Start Here: 60-Second Quickstart](#-quick-start-60-seconds-to-your-first-agent)
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
Get productive in under a minute! Install, run your first command, and see intelligent code search in action. **Perfect for first-time users.**
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🚀 The Only AI Platform with Complete Code Intelligence & Agent Memory
|
|
29
|
+
|
|
30
|
+
AutomatosX is **the only AI platform** that gives you:
|
|
31
|
+
|
|
32
|
+
| Feature | What It Does | Your Benefit |
|
|
33
|
+
|---------|--------------|--------------|
|
|
34
|
+
| 📋 **44-Language Code Search** | Tree-sitter AST parsing with SQLite FTS5 full-text search. Find any symbol, function, or pattern. | Never manually grep again |
|
|
35
|
+
| 💰 **Multi-Provider AI** | Claude, Gemini, and OpenAI with automatic fallback and health monitoring. | 99.9% uptime, zero vendor lock-in |
|
|
36
|
+
| 🧠 **Persistent Memory** | Every conversation and code search is remembered. Agents get perfect context automatically. | Never repeat yourself again |
|
|
37
|
+
| 🤝 **21 Specialized Agents** | Backend, Frontend, Security, DevOps, Quality, and 16 more experts collaborate on your behalf. | Focus on strategy, not micromanagement |
|
|
38
|
+
| 🔍 **Lightning Fast** | Query caching delivers <1ms response time. Index 2000+ files/sec. | Ship features 10x faster |
|
|
39
|
+
|
|
40
|
+
---
|
|
36
41
|
|
|
37
|
-
|
|
42
|
+
## ⚡ Quick Start: 60 Seconds to Your First Agent
|
|
38
43
|
|
|
39
44
|
```bash
|
|
40
|
-
#
|
|
41
|
-
npm install -g
|
|
45
|
+
# 1. Install AutomatosX (one command)
|
|
46
|
+
npm install -g @defai.digital/automatosx
|
|
42
47
|
|
|
43
|
-
#
|
|
44
|
-
|
|
48
|
+
# 2. Search your codebase instantly
|
|
49
|
+
ax find "getUserById"
|
|
45
50
|
|
|
46
|
-
#
|
|
47
|
-
|
|
51
|
+
# 3. Chat with AI agents
|
|
52
|
+
ax cli
|
|
48
53
|
|
|
49
|
-
#
|
|
50
|
-
|
|
54
|
+
# AutomatosX automatically:
|
|
55
|
+
# ✅ Parses 44 programming languages
|
|
56
|
+
# ✅ Indexes your code with full-text search
|
|
57
|
+
# ✅ Connects to Claude/Gemini/OpenAI
|
|
58
|
+
# ✅ Remembers all conversations
|
|
59
|
+
# ✅ Delegates tasks to specialized agents
|
|
60
|
+
|
|
61
|
+
# 4. Build complete workflows
|
|
62
|
+
ax speckit spec "Build user authentication with tests"
|
|
51
63
|
```
|
|
52
64
|
|
|
53
|
-
**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- ✅ Smaller disk usage (40% reduction)
|
|
57
|
-
- ✅ Stricter dependency resolution
|
|
65
|
+
**Result**: Intelligent code search, AI-powered development, and persistent memory—in 60 seconds.
|
|
66
|
+
|
|
67
|
+
---
|
|
58
68
|
|
|
59
|
-
|
|
69
|
+
## 💬 **Interactive CLI** - ChatGPT in Your Terminal
|
|
60
70
|
|
|
61
|
-
|
|
71
|
+
Experience a ChatGPT-style conversational interface directly in your terminal:
|
|
62
72
|
|
|
63
73
|
```bash
|
|
64
|
-
#
|
|
65
|
-
|
|
66
|
-
cd automatosx
|
|
74
|
+
# Start interactive mode
|
|
75
|
+
ax cli
|
|
67
76
|
|
|
68
|
-
|
|
69
|
-
|
|
77
|
+
╭─────────────────────────────────────────────────────╮
|
|
78
|
+
│ AutomatosX Interactive CLI v8.0.20 │
|
|
79
|
+
│ Type /help for commands, /exit to quit │
|
|
80
|
+
│ Using: Claude Sonnet 3.5 │
|
|
81
|
+
╰─────────────────────────────────────────────────────╯
|
|
70
82
|
|
|
71
|
-
|
|
72
|
-
pnpm run build
|
|
83
|
+
ax> I need to implement JWT authentication
|
|
73
84
|
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
AI: I'll help you implement JWT authentication. Let me search our
|
|
86
|
+
codebase for existing auth patterns...
|
|
76
87
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
88
|
+
Found 2 relevant patterns. Would you like me to:
|
|
89
|
+
1. Show implementation plan
|
|
90
|
+
2. Delegate to backend agent
|
|
91
|
+
3. Start coding immediately
|
|
81
92
|
|
|
82
|
-
|
|
83
|
-
npm run cli -- find "getUserById"
|
|
93
|
+
ax> Delegate to backend agent
|
|
84
94
|
|
|
85
|
-
|
|
86
|
-
npm test
|
|
87
|
-
```
|
|
95
|
+
AI: @backend implement JWT authentication with refresh tokens
|
|
88
96
|
|
|
89
|
-
|
|
97
|
+
[Backend agent working...]
|
|
98
|
+
✓ Dependencies installed
|
|
99
|
+
✓ Auth middleware created
|
|
100
|
+
✓ Token refresh endpoint added
|
|
101
|
+
✓ Tests generated (12 passing)
|
|
90
102
|
|
|
91
|
-
|
|
103
|
+
ax> /save jwt-implementation
|
|
104
|
+
✓ Conversation saved: jwt-implementation
|
|
92
105
|
|
|
93
|
-
|
|
94
|
-
# These work anywhere on your system:
|
|
95
|
-
ax find "Calculator"
|
|
96
|
-
ax def "getUserById"
|
|
97
|
-
ax flow "handleRequest"
|
|
98
|
-
ax cli # Interactive ChatGPT-style mode
|
|
106
|
+
ax> /exit
|
|
99
107
|
```
|
|
100
108
|
|
|
101
|
-
|
|
109
|
+
### Key Features
|
|
110
|
+
|
|
111
|
+
- 🤖 **Natural Conversations** - Multi-turn discussions with full context
|
|
112
|
+
- 🔄 **Real-time Streaming** - See responses as they're generated
|
|
113
|
+
- 💾 **Save & Resume** - Continue conversations later with `/save` and `/load`
|
|
114
|
+
- 🎯 **Agent Delegation** - Route tasks to specialists: `@backend`, `@security`, `@quality`
|
|
115
|
+
- 📝 **15+ Slash Commands** - `/help`, `/memory`, `/agents`, `/workflow`, `/export`, and more
|
|
116
|
+
- 🎨 **Beautiful Output** - Markdown rendering and syntax-highlighted code blocks
|
|
117
|
+
- ⚡ **Fast & Efficient** - Powered by Claude, Gemini, or OpenAI
|
|
118
|
+
|
|
119
|
+
### Quick Examples
|
|
120
|
+
|
|
102
121
|
```bash
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
122
|
+
# Start a coding session
|
|
123
|
+
ax cli
|
|
124
|
+
ax> @backend create a REST API for user management
|
|
125
|
+
ax> @security audit the authentication code
|
|
126
|
+
ax> /save user-management-api
|
|
127
|
+
|
|
128
|
+
# Search your knowledge base
|
|
129
|
+
ax cli
|
|
130
|
+
ax> /memory search "authentication patterns"
|
|
131
|
+
ax> Show me the JWT implementation we used last time
|
|
132
|
+
|
|
133
|
+
# Work across sessions
|
|
134
|
+
ax cli
|
|
135
|
+
ax> /load user-management-api
|
|
136
|
+
ax> Let's add rate limiting to these endpoints
|
|
137
|
+
ax> /export # Export to markdown for documentation
|
|
106
138
|
```
|
|
107
139
|
|
|
140
|
+
**Alternative Commands**: `ax interactive`, `ax chat`
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
108
144
|
## 📦 Installation
|
|
109
145
|
|
|
110
146
|
### For End Users (Recommended)
|
|
@@ -117,7 +153,7 @@ npm install -g @defai.digital/automatosx
|
|
|
117
153
|
# Verify installation
|
|
118
154
|
ax --version
|
|
119
155
|
|
|
120
|
-
#
|
|
156
|
+
# Start using immediately
|
|
121
157
|
ax find "getUserById"
|
|
122
158
|
ax cli # Launch interactive mode
|
|
123
159
|
```
|
|
@@ -132,45 +168,41 @@ cd automatosx
|
|
|
132
168
|
npm install
|
|
133
169
|
npm run build
|
|
134
170
|
npm link
|
|
171
|
+
|
|
172
|
+
# Now you can use the CLI directly:
|
|
173
|
+
ax find "Calculator"
|
|
174
|
+
ax cli # Interactive mode
|
|
135
175
|
```
|
|
136
176
|
|
|
137
177
|
### ⚠️ Installation Warnings
|
|
138
178
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
When installing AutomatosX, you may see warnings about tree-sitter peer dependencies:
|
|
142
|
-
|
|
143
|
-
```
|
|
144
|
-
WARN Issues with peer dependencies found
|
|
145
|
-
├─┬ tree-sitter-c 0.24.1
|
|
146
|
-
│ └── ✕ unmet peer tree-sitter@^0.22.4: found 0.25.0
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
**These warnings are harmless and can be safely ignored.** AutomatosX uses tree-sitter v0.25.0 (latest), while some language parser packages haven't updated their peer dependencies yet. Everything works correctly.
|
|
179
|
+
When installing AutomatosX, you may see warnings about tree-sitter peer dependencies. **These warnings are harmless and can be safely ignored.** AutomatosX uses tree-sitter v0.22.4 (compatible with Node.js 24), while some language parser packages list different peer dependencies. Everything works correctly.
|
|
150
180
|
|
|
151
|
-
|
|
181
|
+
---
|
|
152
182
|
|
|
153
|
-
|
|
154
|
-
```
|
|
183
|
+
## 📋 Requirements
|
|
155
184
|
|
|
156
|
-
|
|
185
|
+
- **Node.js**: v24.x or higher ([Download](https://nodejs.org/))
|
|
186
|
+
- **npm**: v10.0.0 or higher (included with Node.js)
|
|
187
|
+
- **Supported Operating Systems**:
|
|
188
|
+
- **Ubuntu**: 24.04 LTS (Noble Numbat) or later
|
|
189
|
+
- **macOS**: 26 (Tahoe) or later
|
|
190
|
+
- **Windows**: 11 or later
|
|
157
191
|
|
|
158
192
|
---
|
|
159
193
|
|
|
160
|
-
See [CLAUDE.md](./CLAUDE.md) for detailed development guide.
|
|
161
|
-
|
|
162
194
|
## ✨ Core Features
|
|
163
195
|
|
|
164
196
|
### 1. Code Intelligence Engine
|
|
165
197
|
- 🔍 **Multi-language search** - 44 languages including TypeScript, Python, Go, Rust, Java, C++
|
|
166
|
-
- ⚡ **Lightning fast** - Query caching delivers 10-100x speedup
|
|
198
|
+
- ⚡ **Lightning fast** - Query caching delivers <1ms response (10-100x speedup)
|
|
167
199
|
- 🎯 **Advanced filtering** - Filter by language, symbol kind, or file path
|
|
168
200
|
- 📊 **Smart indexing** - Batch operations process 2000+ files/sec
|
|
169
201
|
|
|
170
202
|
### 2. AI Agent System (21 Specialized Agents)
|
|
171
203
|
- 🤖 **Engineering Agents** - Backend, Frontend, DevOps, Security, Quality, Testing, Performance, Architecture
|
|
172
204
|
- 🔧 **Technical Specialists** - API, Database, Data, DataScience, Mobile, Infrastructure, Standards
|
|
173
|
-
- 👔 **Leadership Agents** - Product, CTO, CEO, Writer, Researcher
|
|
205
|
+
- 👔 **Leadership Agents** - Product, CTO, CEO, Writer, Researcher
|
|
174
206
|
- 🔄 **Collaboration** - Agent-to-agent delegation and task coordination
|
|
175
207
|
|
|
176
208
|
### 3. Multi-Provider AI Integration
|
|
@@ -185,14 +217,7 @@ See [CLAUDE.md](./CLAUDE.md) for detailed development guide.
|
|
|
185
217
|
- 💾 **Checkpoint/Resume** - Resume long-running workflows from any point
|
|
186
218
|
- 🎯 **ReScript State Machines** - Deterministic execution with type safety
|
|
187
219
|
|
|
188
|
-
### 5.
|
|
189
|
-
- 💬 **ChatGPT-style REPL** - Natural language conversations with AI
|
|
190
|
-
- ⚡ **15+ slash commands** - `/agent`, `/workflow`, `/memory`, `/history`, `/save`
|
|
191
|
-
- 🎨 **Rich UX** - Syntax highlighting, table formatting, progress indicators
|
|
192
|
-
- 💾 **Auto-save** - Persistent conversations in SQLite
|
|
193
|
-
- 🔄 **Context-aware** - Pronoun resolution and conversation memory
|
|
194
|
-
|
|
195
|
-
### 6. SpecKit Auto-Generation ⭐ NEW
|
|
220
|
+
### 5. SpecKit Auto-Generation ⭐ NEW
|
|
196
221
|
- 📝 **Spec Generator** - Natural language → YAML workflows (AI-powered)
|
|
197
222
|
- 📊 **Plan Generator** - Execution plans with cost/time estimates
|
|
198
223
|
- 🌐 **DAG Generator** - Dependency graphs (ASCII/DOT/Mermaid)
|
|
@@ -200,21 +225,21 @@ See [CLAUDE.md](./CLAUDE.md) for detailed development guide.
|
|
|
200
225
|
- 🧪 **Test Generator** - Unit, integration, E2E test suites
|
|
201
226
|
- 📚 **ADR/PRD Generators** - Architecture decisions and product requirements
|
|
202
227
|
|
|
203
|
-
###
|
|
228
|
+
### 6. Iterate Mode ⭐ NEW
|
|
204
229
|
- 🔄 **Autonomous Retry** - Intelligent retry loops (max 10 iterations)
|
|
205
230
|
- 🎯 **10 Strategies** - Timeout, fallback, parallel, circuit breaker, etc.
|
|
206
231
|
- 🛡️ **Safety Levels** - Paranoid, normal, permissive with cost/time limits
|
|
207
232
|
- 📊 **Telemetry** - Strategy analytics and recommendations
|
|
208
233
|
- 🔍 **Error Analysis** - Classify and detect patterns (9 error types)
|
|
209
234
|
|
|
210
|
-
###
|
|
235
|
+
### 7. Natural Language Interface ⭐ NEW
|
|
211
236
|
- 🗣️ **Natural Commands** - `ax "run security audit"` → workflow execution
|
|
212
237
|
- 🎯 **40+ Intent Patterns** - Pattern matching + LLM fallback
|
|
213
238
|
- 🔍 **Entity Extraction** - Files, agents, filters, limits
|
|
214
239
|
- ❓ **Clarification** - Interactive prompts for ambiguous queries
|
|
215
240
|
- 📚 **Learning System** - Learns from user corrections
|
|
216
241
|
|
|
217
|
-
###
|
|
242
|
+
### 8. Validation System ⭐ NEW
|
|
218
243
|
- ✅ **Type-safe Validation** - Zod v4 with 20 schemas
|
|
219
244
|
- ⚡ **Ultra-fast** - 488k ops/sec, <0.01ms per operation
|
|
220
245
|
- 🎛️ **Feature Flags** - Disabled, log-only, enforce modes
|
|
@@ -222,191 +247,9 @@ See [CLAUDE.md](./CLAUDE.md) for detailed development guide.
|
|
|
222
247
|
- 🔄 **Sampling** - Gradual rollout (0-100%)
|
|
223
248
|
- 🛡️ **Production-ready** - 213 tests passing, deployment scripts
|
|
224
249
|
|
|
225
|
-
## 🏗️ Architecture
|
|
226
|
-
|
|
227
|
-
```
|
|
228
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
229
|
-
│ Application Layer │
|
|
230
|
-
│ CLI • Web UI • LSP Server • VS Code Extension │
|
|
231
|
-
└───────────────┬─────────────────────────────────────────────┘
|
|
232
|
-
│
|
|
233
|
-
┌───────────┴───────────┬─────────────────────────┐
|
|
234
|
-
│ │ │
|
|
235
|
-
▼ ▼ ▼
|
|
236
|
-
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
|
|
237
|
-
│ Workflow │ │ Agent │ │ Code │
|
|
238
|
-
│ Engine │──│ System │──│ Intelligence │
|
|
239
|
-
│ (Orchestration) │ │ (21 Agents) │ │ (45 Languages) │
|
|
240
|
-
└────────┬─────────┘ └────────┬─────────┘ └────────┬─────────┘
|
|
241
|
-
│ │ │
|
|
242
|
-
└─────────────────────┴──────────────────────┘
|
|
243
|
-
│
|
|
244
|
-
┌─────────────┴──────────────┐
|
|
245
|
-
│ │
|
|
246
|
-
▼ ▼
|
|
247
|
-
┌──────────────────┐ ┌──────────────────┐
|
|
248
|
-
│ Provider Router │ │ ReScript Core │
|
|
249
|
-
│ (Multi-AI) │ │ (State Machines)│
|
|
250
|
-
└──────────────────┘ └──────────────────┘
|
|
251
|
-
│ │
|
|
252
|
-
└─────────────┬──────────────┘
|
|
253
|
-
│
|
|
254
|
-
▼
|
|
255
|
-
┌──────────────────┐
|
|
256
|
-
│ SQLite Database │
|
|
257
|
-
│ (FTS5 + Vector) │
|
|
258
|
-
└──────────────────┘
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
## 🎯 Example Use Cases
|
|
262
|
-
|
|
263
|
-
### 1. Multi-Agent Code Review
|
|
264
|
-
```typescript
|
|
265
|
-
// Security, Quality, and Architecture agents collaborate
|
|
266
|
-
const runtime = new AgentRuntime(registry, router, db);
|
|
267
|
-
|
|
268
|
-
await runtime.executeTask({
|
|
269
|
-
type: 'code-review',
|
|
270
|
-
description: 'Comprehensive security and quality review',
|
|
271
|
-
context: { repositoryPath: './src' },
|
|
272
|
-
});
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
### 2. CI/CD Pipeline Workflow
|
|
276
|
-
```yaml
|
|
277
|
-
# workflows/cicd-pipeline.yaml
|
|
278
|
-
name: cicd-pipeline
|
|
279
|
-
steps:
|
|
280
|
-
- key: security-scan
|
|
281
|
-
agent: security
|
|
282
|
-
- key: run-tests
|
|
283
|
-
agent: testing
|
|
284
|
-
dependsOn: [security-scan]
|
|
285
|
-
- key: deploy
|
|
286
|
-
agent: devops
|
|
287
|
-
dependsOn: [run-tests]
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
```bash
|
|
291
|
-
ax workflow execute workflows/cicd-pipeline.yaml
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
### 3. Provider Fallback
|
|
295
|
-
```typescript
|
|
296
|
-
// Automatically tries Claude → Gemini → OpenAI
|
|
297
|
-
const router = new ProviderRouterV2({
|
|
298
|
-
providers: {
|
|
299
|
-
claude: { enabled: true, priority: 1 },
|
|
300
|
-
gemini: { enabled: true, priority: 2 },
|
|
301
|
-
openai: { enabled: true, priority: 3 }
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
const response = await router.request({
|
|
306
|
-
messages: [{ role: 'user', content: 'Explain this code' }]
|
|
307
|
-
});
|
|
308
|
-
```
|
|
309
|
-
|
|
310
|
-
## 💬 Interactive CLI Mode
|
|
311
|
-
|
|
312
|
-
AutomatosX includes a ChatGPT-style Interactive CLI for natural language conversations with AI assistants.
|
|
313
|
-
|
|
314
|
-
### Quick Start
|
|
315
|
-
|
|
316
|
-
```bash
|
|
317
|
-
# Launch Interactive CLI
|
|
318
|
-
ax cli
|
|
319
|
-
|
|
320
|
-
# Set an agent for specialized help
|
|
321
|
-
> /agent BackendAgent
|
|
322
|
-
|
|
323
|
-
# Ask questions naturally
|
|
324
|
-
> how do I implement rate limiting in Express?
|
|
325
|
-
|
|
326
|
-
# Run workflows
|
|
327
|
-
> /workflow run code-review
|
|
328
|
-
|
|
329
|
-
# Save your session
|
|
330
|
-
> /save my-session.json
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
### Features
|
|
334
|
-
|
|
335
|
-
- 🤖 **Natural language conversations** with Claude, Gemini, and OpenAI
|
|
336
|
-
- ⚡ **13 slash commands** for system control and automation
|
|
337
|
-
- 💾 **Auto-save conversations** to SQLite (every 5 messages + on exit)
|
|
338
|
-
- 🎯 **Agent collaboration** with 21 specialized AI personas
|
|
339
|
-
- 🔄 **Workflow integration** for automated development tasks
|
|
340
|
-
- ⌨️ **Tab autocomplete** and command history navigation
|
|
341
|
-
- 🎨 **Professional UX** with color-coded output and loading indicators
|
|
342
|
-
|
|
343
|
-
### Interactive Commands
|
|
344
|
-
|
|
345
|
-
| Command | Description | Example |
|
|
346
|
-
|---------|-------------|---------|
|
|
347
|
-
| `/help` | Show all available commands | `/help` |
|
|
348
|
-
| `/agent <name>` | Set active AI agent | `/agent BackendAgent` |
|
|
349
|
-
| `/workflow run <name>` | Execute workflow | `/workflow run test-gen` |
|
|
350
|
-
| `/history [limit]` | View conversation history | `/history 20` |
|
|
351
|
-
| `/save <file>` | Export conversation to JSON | `/save session.json` |
|
|
352
|
-
| `/load <file>` | Import conversation from JSON | `/load session.json` |
|
|
353
|
-
| `/memory search <query>` | Search code index | `/memory search "login"` |
|
|
354
|
-
| `/context` | Show conversation state | `/context` |
|
|
355
|
-
| `/agents [filter]` | List all agents | `/agents backend` |
|
|
356
|
-
| `/status` | System health check | `/status` |
|
|
357
|
-
| `/config` | Show configuration | `/config` |
|
|
358
|
-
| `/clear` | Clear terminal screen | `/clear` |
|
|
359
|
-
| `/exit` | Exit CLI (auto-saves) | `/exit` |
|
|
360
|
-
|
|
361
|
-
### Example Session
|
|
362
|
-
|
|
363
|
-
```
|
|
364
|
-
> /agent BackendAgent
|
|
365
|
-
✓ Active agent set to: BackendAgent
|
|
366
|
-
|
|
367
|
-
> how do I implement database connection pooling in Express?
|
|
368
|
-
|
|
369
|
-
BackendAgent: For Express database connection pooling, I recommend using pg-pool
|
|
370
|
-
for PostgreSQL or mysql2 pool for MySQL. Here's a complete example:
|
|
371
|
-
|
|
372
|
-
[provides detailed code example with connection pool setup]
|
|
373
|
-
|
|
374
|
-
> what about error handling?
|
|
375
|
-
|
|
376
|
-
BackendAgent: Good question! For robust error handling with connection pools:
|
|
377
|
-
|
|
378
|
-
1. Always use try-catch with async/await
|
|
379
|
-
2. Implement retry logic for transient errors
|
|
380
|
-
3. Set proper timeout values
|
|
381
|
-
4. Monitor pool metrics
|
|
382
|
-
|
|
383
|
-
[provides error handling code examples]
|
|
384
|
-
|
|
385
|
-
> /save express-db-pooling-session.json
|
|
386
|
-
✓ Conversation exported to: express-db-pooling-session.json
|
|
387
|
-
|
|
388
|
-
> /exit
|
|
389
|
-
Saving conversation to database...
|
|
390
|
-
✓ Conversation saved
|
|
391
|
-
👋 Exiting... Goodbye!
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
**[Full Interactive CLI Documentation →](docs/cli/interactive-mode.md)**
|
|
395
|
-
|
|
396
250
|
---
|
|
397
251
|
|
|
398
|
-
##
|
|
399
|
-
|
|
400
|
-
### Code Intelligence
|
|
401
|
-
- 🔍 **Multi-language search** - Natural language and symbol queries
|
|
402
|
-
- 🎯 **Advanced filtering** - Filter by language, kind, file patterns
|
|
403
|
-
- 📊 **Smart indexing** - Incremental updates, batch processing
|
|
404
|
-
- 🌐 **Complete ecosystem coverage** - DevOps, Messaging, Frontend, Backend, Mobile, ML
|
|
405
|
-
- 🎨 **Professional UX** - Color-coded output, progress indicators, helpful errors
|
|
406
|
-
- ⚙️ **Flexible configuration** - Hierarchical config with environment variables
|
|
407
|
-
- 🧪 **Production quality** - 165 tests passing, 85%+ coverage, zero known bugs
|
|
408
|
-
|
|
409
|
-
## 🌍 Supported Languages (45)
|
|
252
|
+
## 🌍 Supported Languages (44)
|
|
410
253
|
|
|
411
254
|
### Systems & Performance
|
|
412
255
|
C, C++, Rust, Go, Zig, Objective-C, AssemblyScript, CUDA (NVIDIA/AMD ROCm HIP)
|
|
@@ -421,7 +264,7 @@ Python, Ruby, PHP, Java, Scala, C#, Bash, Zsh, Lua, Groovy, Perl
|
|
|
421
264
|
Haskell, OCaml, Elm, Elixir, Gleam
|
|
422
265
|
|
|
423
266
|
### Data & Config
|
|
424
|
-
SQL, JSON, YAML, TOML, Markdown, CSV
|
|
267
|
+
SQL, JSON, YAML, TOML, Markdown, CSV, XML
|
|
425
268
|
|
|
426
269
|
### DevOps & Infrastructure
|
|
427
270
|
HCL (Terraform), Puppet, Makefile
|
|
@@ -430,7 +273,7 @@ HCL (Terraform), Puppet, Makefile
|
|
|
430
273
|
Thrift (Apache Thrift IDL)
|
|
431
274
|
|
|
432
275
|
### Specialized
|
|
433
|
-
Solidity (Ethereum), Verilog,
|
|
276
|
+
Solidity (Ethereum), Verilog, Julia, MATLAB, Regex
|
|
434
277
|
|
|
435
278
|
<details>
|
|
436
279
|
<summary><b>📊 Framework Coverage by Ecosystem</b></summary>
|
|
@@ -441,42 +284,13 @@ Solidity (Ethereum), Verilog, SystemVerilog, Julia, MATLAB, Regex
|
|
|
441
284
|
| **Backend** | 100% | NestJS, Express, Django, FastAPI, Flask, Spring Boot, Rails, Laravel, Phoenix |
|
|
442
285
|
| **Mobile** | 100% | Flutter, SwiftUI, Jetpack Compose, React Native |
|
|
443
286
|
| **ML/AI** | 100% | TensorFlow, PyTorch, HuggingFace, Qiskit, JAX, scikit-learn |
|
|
444
|
-
| **DevOps** | 100%
|
|
445
|
-
| **Messaging** | 100%
|
|
287
|
+
| **DevOps** | 100% | Terraform, Puppet, Kubernetes, Ansible, Jenkins, GitHub Actions, GitLab CI |
|
|
288
|
+
| **Messaging** | 100% | NATS, Kafka, Thrift, RabbitMQ, Redis, Apache Pulsar |
|
|
446
289
|
| **Blockchain** | 100% | Ethereum, Hardhat, Truffle, Solidity |
|
|
447
290
|
|
|
448
291
|
</details>
|
|
449
292
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
### Installation
|
|
453
|
-
|
|
454
|
-
```bash
|
|
455
|
-
# Install globally
|
|
456
|
-
npm install -g @defai.digital/automatosx
|
|
457
|
-
|
|
458
|
-
# Or use npx (no installation required)
|
|
459
|
-
npx @defai.digital/automatosx@latest <command>
|
|
460
|
-
```
|
|
461
|
-
|
|
462
|
-
### Basic Usage
|
|
463
|
-
|
|
464
|
-
```bash
|
|
465
|
-
# Index your codebase
|
|
466
|
-
ax index ./src
|
|
467
|
-
|
|
468
|
-
# Search for code
|
|
469
|
-
ax find "getUserById"
|
|
470
|
-
|
|
471
|
-
# Search with filters
|
|
472
|
-
ax find "lang:python authentication"
|
|
473
|
-
|
|
474
|
-
# Find symbol definition
|
|
475
|
-
ax def getUserById
|
|
476
|
-
|
|
477
|
-
# Show index statistics
|
|
478
|
-
ax status
|
|
479
|
-
```
|
|
293
|
+
---
|
|
480
294
|
|
|
481
295
|
## 📚 Commands
|
|
482
296
|
|
|
@@ -487,7 +301,6 @@ ax status
|
|
|
487
301
|
| `ax find <query>` | Search code with optional filters | `ax find "lang:python login"` |
|
|
488
302
|
| `ax def <symbol>` | Find symbol definition | `ax def getUserById` |
|
|
489
303
|
| `ax flow <function>` | Show call flow | `ax flow handleLogin` |
|
|
490
|
-
| `ax lint [pattern]` | Code linting | `ax lint src/**/*.ts` |
|
|
491
304
|
| `ax index [dir]` | Index codebase | `ax index ./src` |
|
|
492
305
|
| `ax watch [dir]` | Auto-index with file watching | `ax watch ./src` |
|
|
493
306
|
| `ax status` | Show index & cache statistics | `ax status --verbose` |
|
|
@@ -520,6 +333,8 @@ ax status
|
|
|
520
333
|
| `ax agent list` | List all available agents | `ax agent list --filter backend` |
|
|
521
334
|
| `ax memory search <query>` | Search code memory | `ax memory search "authentication"` |
|
|
522
335
|
|
|
336
|
+
---
|
|
337
|
+
|
|
523
338
|
## 🔎 Query Syntax
|
|
524
339
|
|
|
525
340
|
### Natural Language Search
|
|
@@ -566,6 +381,8 @@ ax find "-file:*.spec.ts handleUser" # Exclude spec files
|
|
|
566
381
|
ax find "lang:python kind:function file:src/ authentication"
|
|
567
382
|
```
|
|
568
383
|
|
|
384
|
+
---
|
|
385
|
+
|
|
569
386
|
## ⚙️ Configuration
|
|
570
387
|
|
|
571
388
|
Create `automatosx.config.json` in your project root:
|
|
@@ -597,6 +414,11 @@ Create `automatosx.config.json` in your project root:
|
|
|
597
414
|
"enableCache": true,
|
|
598
415
|
"cacheMaxSize": 1000,
|
|
599
416
|
"cacheTTL": 300000
|
|
417
|
+
},
|
|
418
|
+
"providers": {
|
|
419
|
+
"claude": { "enabled": true, "priority": 1 },
|
|
420
|
+
"gemini": { "enabled": true, "priority": 2 },
|
|
421
|
+
"openai": { "enabled": true, "priority": 3 }
|
|
600
422
|
}
|
|
601
423
|
}
|
|
602
424
|
```
|
|
@@ -611,9 +433,11 @@ export AUTOMATOSX_DATABASE_WAL=false
|
|
|
611
433
|
export AUTOMATOSX_INDEXING_EXCLUDE_PATTERNS='["**/test/**"]'
|
|
612
434
|
```
|
|
613
435
|
|
|
436
|
+
---
|
|
437
|
+
|
|
614
438
|
## 📈 Performance
|
|
615
439
|
|
|
616
|
-
AutomatosX
|
|
440
|
+
AutomatosX delivers exceptional performance across all systems:
|
|
617
441
|
|
|
618
442
|
| System | Metric | Value |
|
|
619
443
|
|--------|--------|-------|
|
|
@@ -624,7 +448,6 @@ AutomatosX v8.0.0 delivers exceptional performance across all systems:
|
|
|
624
448
|
| **Validation** | Single validation | <0.01ms |
|
|
625
449
|
| | Batch (100 items) | <0.1ms |
|
|
626
450
|
| | Throughput | 488,056 ops/sec |
|
|
627
|
-
| | Error rate | 0% |
|
|
628
451
|
| **Testing** | Total tests | 745+ passing |
|
|
629
452
|
| | Test coverage | 85%+ |
|
|
630
453
|
| | Test pass rate | 100% |
|
|
@@ -637,39 +460,53 @@ AutomatosX v8.0.0 delivers exceptional performance across all systems:
|
|
|
637
460
|
4. **Watch mode** - Use for active development to keep index updated
|
|
638
461
|
5. **Monitor cache** - Check hit rate with `ax status -v`
|
|
639
462
|
|
|
640
|
-
|
|
463
|
+
---
|
|
641
464
|
|
|
642
|
-
|
|
465
|
+
## 🏗️ Architecture
|
|
643
466
|
|
|
644
467
|
```
|
|
645
|
-
|
|
646
|
-
│
|
|
647
|
-
│
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
│
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
│
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
│
|
|
663
|
-
|
|
468
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
469
|
+
│ Application Layer │
|
|
470
|
+
│ CLI • Web UI • LSP Server • VS Code Extension │
|
|
471
|
+
└───────────────┬─────────────────────────────────────────────┘
|
|
472
|
+
│
|
|
473
|
+
┌───────────┴───────────┬─────────────────────────┐
|
|
474
|
+
│ │ │
|
|
475
|
+
▼ ▼ ▼
|
|
476
|
+
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
|
|
477
|
+
│ Workflow │ │ Agent │ │ Code │
|
|
478
|
+
│ Engine │──│ System │──│ Intelligence │
|
|
479
|
+
│ (Orchestration) │ │ (21 Agents) │ │ (44 Languages) │
|
|
480
|
+
└────────┬─────────┘ └────────┬─────────┘ └────────┬─────────┘
|
|
481
|
+
│ │ │
|
|
482
|
+
└─────────────────────┴──────────────────────┘
|
|
483
|
+
│
|
|
484
|
+
┌─────────────┴──────────────┐
|
|
485
|
+
│ │
|
|
486
|
+
▼ ▼
|
|
487
|
+
┌──────────────────┐ ┌──────────────────┐
|
|
488
|
+
│ Provider Router │ │ ReScript Core │
|
|
489
|
+
│ (Multi-AI) │ │ (State Machines)│
|
|
490
|
+
└──────────────────┘ └──────────────────┘
|
|
491
|
+
│ │
|
|
492
|
+
└─────────────┬──────────────┘
|
|
493
|
+
│
|
|
494
|
+
▼
|
|
495
|
+
┌──────────────────┐
|
|
496
|
+
│ SQLite Database │
|
|
497
|
+
│ (FTS5 + Vector) │
|
|
498
|
+
└──────────────────┘
|
|
664
499
|
```
|
|
665
500
|
|
|
666
501
|
**Key Components**:
|
|
667
|
-
- **Parser Layer**: Tree-sitter for AST parsing (44 languages
|
|
502
|
+
- **Parser Layer**: Tree-sitter for AST parsing (44 languages)
|
|
668
503
|
- **Database Layer**: SQLite with FTS5 for full-text search and BM25 ranking
|
|
669
504
|
- **Service Layer**: FileService orchestrates indexing and search
|
|
670
|
-
- **
|
|
671
|
-
- **
|
|
672
|
-
- **
|
|
505
|
+
- **Agent System**: 21 specialized agents with memory and collaboration
|
|
506
|
+
- **Provider Router**: Multi-AI with automatic fallback (Claude/Gemini/OpenAI)
|
|
507
|
+
- **ReScript Core**: Deterministic state machines for workflow orchestration
|
|
508
|
+
|
|
509
|
+
---
|
|
673
510
|
|
|
674
511
|
## 🧪 Testing
|
|
675
512
|
|
|
@@ -684,11 +521,11 @@ npm run test:coverage
|
|
|
684
521
|
npm test FileService
|
|
685
522
|
```
|
|
686
523
|
|
|
687
|
-
**Test Statistics v8.0.
|
|
688
|
-
- Total tests
|
|
689
|
-
- Pass rate
|
|
690
|
-
- Coverage
|
|
691
|
-
- Test categories
|
|
524
|
+
**Test Statistics v8.0.20**:
|
|
525
|
+
- **Total tests**: 745+
|
|
526
|
+
- **Pass rate**: 100%
|
|
527
|
+
- **Coverage**: 85%+
|
|
528
|
+
- **Test categories**:
|
|
692
529
|
- Core: 165 tests (Parser, DAO, Service, Cache, Config, CLI)
|
|
693
530
|
- SpecKit: 171 tests (5 generators + utilities)
|
|
694
531
|
- Validation: 213 tests (ADR-014 system)
|
|
@@ -697,6 +534,8 @@ npm test FileService
|
|
|
697
534
|
- ReScript Core: 50 tests (state machines, workflow)
|
|
698
535
|
- Additional: 13+ tests (LSP, Web UI, integrations)
|
|
699
536
|
|
|
537
|
+
---
|
|
538
|
+
|
|
700
539
|
## 🛠️ Development
|
|
701
540
|
|
|
702
541
|
```bash
|
|
@@ -719,16 +558,64 @@ npm test
|
|
|
719
558
|
npm run clean
|
|
720
559
|
```
|
|
721
560
|
|
|
561
|
+
---
|
|
562
|
+
|
|
563
|
+
## 🔒 Privacy & Telemetry
|
|
564
|
+
|
|
565
|
+
**Privacy by Default**: AutomatosX does **NOT** collect any telemetry data by default.
|
|
566
|
+
|
|
567
|
+
### Opt-in Telemetry (Optional)
|
|
568
|
+
|
|
569
|
+
To help improve AutomatosX, you can optionally enable telemetry:
|
|
570
|
+
|
|
571
|
+
```bash
|
|
572
|
+
# Enable local-only telemetry (stored in SQLite)
|
|
573
|
+
ax telemetry enable
|
|
574
|
+
|
|
575
|
+
# Enable with anonymous remote submission
|
|
576
|
+
ax telemetry enable --remote
|
|
577
|
+
|
|
578
|
+
# View statistics
|
|
579
|
+
ax telemetry stats
|
|
580
|
+
|
|
581
|
+
# Disable anytime
|
|
582
|
+
ax telemetry disable
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
### What We Collect (if enabled)
|
|
586
|
+
|
|
587
|
+
✅ **We collect**:
|
|
588
|
+
- Command usage (which commands you run)
|
|
589
|
+
- Query performance (how long operations take)
|
|
590
|
+
- Error occurrences (what errors happen)
|
|
591
|
+
- Parser invocations (which languages are used)
|
|
592
|
+
|
|
593
|
+
❌ **We NEVER collect**:
|
|
594
|
+
- File paths or names
|
|
595
|
+
- Code content
|
|
596
|
+
- User identifiers
|
|
597
|
+
- Personal information
|
|
598
|
+
|
|
599
|
+
See [PRIVACY.md](./PRIVACY.md) for complete details.
|
|
600
|
+
|
|
601
|
+
---
|
|
602
|
+
|
|
722
603
|
## 📖 Documentation
|
|
723
604
|
|
|
724
|
-
- **[
|
|
605
|
+
- **[FAQ](./FAQ.md)** - Frequently asked questions
|
|
606
|
+
- **[INSTALLATION](./INSTALLATION.md)** - Detailed installation guide
|
|
725
607
|
- **[CHANGELOG](./CHANGELOG.md)** - Version history and release notes
|
|
726
608
|
- **[API Quick Reference](./API-QUICKREF.md)** - Command reference and examples
|
|
609
|
+
- **[AGENTS](./AGENTS.md)** - Complete agent directory
|
|
610
|
+
- **[CLAUDE.md](./CLAUDE.md)** - Developer guide for Claude Code users
|
|
611
|
+
- **[PRIVACY.md](./PRIVACY.md)** - Privacy policy and data collection
|
|
612
|
+
|
|
613
|
+
---
|
|
727
614
|
|
|
728
615
|
## 🗺️ Roadmap
|
|
729
616
|
|
|
730
|
-
### v8.0.
|
|
731
|
-
- ✅
|
|
617
|
+
### v8.0.20 (Current - ✅ Complete)
|
|
618
|
+
- ✅ 44 programming languages supported
|
|
732
619
|
- ✅ 21 specialized AI agents
|
|
733
620
|
- ✅ Multi-provider AI (Claude, Gemini, OpenAI)
|
|
734
621
|
- ✅ Interactive CLI with natural language interface
|
|
@@ -736,6 +623,7 @@ npm run clean
|
|
|
736
623
|
- ✅ Iterate Mode with 10 strategies
|
|
737
624
|
- ✅ Validation system (ADR-014)
|
|
738
625
|
- ✅ 745+ tests passing (100%)
|
|
626
|
+
- ✅ Optimized npm package (2.5 MB, zero test files)
|
|
739
627
|
|
|
740
628
|
### v8.1.0 (Next - 4-6 weeks)
|
|
741
629
|
- API Spec Generator (OpenAPI/Swagger)
|
|
@@ -757,15 +645,18 @@ npm run clean
|
|
|
757
645
|
- ML semantic search with hybrid BM25+semantic scoring
|
|
758
646
|
- Cross-project search
|
|
759
647
|
- Enhanced LSP features
|
|
760
|
-
- Protocol Buffers (.proto) support
|
|
761
648
|
- Desktop application
|
|
762
649
|
- Collaborative workflows
|
|
763
650
|
- Enterprise SSO/RBAC
|
|
764
651
|
|
|
652
|
+
---
|
|
653
|
+
|
|
765
654
|
## 🤝 Contributing
|
|
766
655
|
|
|
767
656
|
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
|
|
768
657
|
|
|
658
|
+
---
|
|
659
|
+
|
|
769
660
|
## 📄 License
|
|
770
661
|
|
|
771
662
|
**Apache License 2.0** - Copyright 2025 DEFAI Private Limited
|
|
@@ -790,6 +681,8 @@ Visit [https://license.defai.digital/automatox](https://license.defai.digital/au
|
|
|
790
681
|
|
|
791
682
|
See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md) for detailed terms and FAQs.
|
|
792
683
|
|
|
684
|
+
---
|
|
685
|
+
|
|
793
686
|
## 🙏 Acknowledgments
|
|
794
687
|
|
|
795
688
|
Built with:
|
|
@@ -801,7 +694,7 @@ Built with:
|
|
|
801
694
|
|
|
802
695
|
---
|
|
803
696
|
|
|
804
|
-
**AutomatosX.0.
|
|
697
|
+
**AutomatosX v8.0.20** - From Idea to Production in Minutes
|
|
805
698
|
|
|
806
699
|
Copyright 2025 DEFAI Private Limited | Apache License 2.0
|
|
807
700
|
|
|
@@ -18,10 +18,13 @@ export declare function isTelemetryConfigured(): boolean;
|
|
|
18
18
|
*/
|
|
19
19
|
export declare function showTelemetryConsent(): Promise<void>;
|
|
20
20
|
/**
|
|
21
|
-
* Check if telemetry consent is needed and
|
|
21
|
+
* Check if telemetry consent is needed and configure if required
|
|
22
22
|
*
|
|
23
23
|
* This should be called at the start of CLI execution (in src/cli/index.ts)
|
|
24
24
|
*
|
|
25
|
+
* Privacy by Default: Telemetry is disabled by default without prompting.
|
|
26
|
+
* Users can enable it later with: ax telemetry enable
|
|
27
|
+
*
|
|
25
28
|
* @returns Promise that resolves when consent check is complete
|
|
26
29
|
*/
|
|
27
30
|
export declare function checkTelemetryConsent(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryConsent.d.ts","sourceRoot":"","sources":["../../src/utils/telemetryConsent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAe/C;AAED;;;;;;;;;GASG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC,CAmE1D;AAED
|
|
1
|
+
{"version":3,"file":"telemetryConsent.d.ts","sourceRoot":"","sources":["../../src/utils/telemetryConsent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAe/C;AAED;;;;;;;;;GASG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC,CAmE1D;AAED;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAa3D"}
|
|
@@ -99,16 +99,26 @@ export async function showTelemetryConsent() {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* Check if telemetry consent is needed and
|
|
102
|
+
* Check if telemetry consent is needed and configure if required
|
|
103
103
|
*
|
|
104
104
|
* This should be called at the start of CLI execution (in src/cli/index.ts)
|
|
105
105
|
*
|
|
106
|
+
* Privacy by Default: Telemetry is disabled by default without prompting.
|
|
107
|
+
* Users can enable it later with: ax telemetry enable
|
|
108
|
+
*
|
|
106
109
|
* @returns Promise that resolves when consent check is complete
|
|
107
110
|
*/
|
|
108
111
|
export async function checkTelemetryConsent() {
|
|
109
|
-
// Only
|
|
112
|
+
// Only configure if telemetry hasn't been configured yet
|
|
110
113
|
if (!isTelemetryConfigured()) {
|
|
111
|
-
|
|
114
|
+
// Default to disabled (no prompt) - Privacy by Default
|
|
115
|
+
const service = getTelemetryService();
|
|
116
|
+
await service.initialize();
|
|
117
|
+
await service.disable();
|
|
118
|
+
// Show one-time informational message
|
|
119
|
+
console.log('\n💡 Privacy by default: Telemetry is disabled');
|
|
120
|
+
console.log(' To help improve AutomatosX, run: ax telemetry enable');
|
|
121
|
+
console.log(' Learn more: ax telemetry --help\n');
|
|
112
122
|
}
|
|
113
123
|
}
|
|
114
124
|
//# sourceMappingURL=telemetryConsent.js.map
|
|
@@ -1 +1 @@
|
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EAAE,CAAC;QAC7B,uDAAuD;QACvD,MAAM,OAAO,GAAG,mBAAmB,EAAE,CAAC;QACtC,MAAM,OAAO,CAAC,UAAU,EAAE,CAAC;QAC3B,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;QAExB,sCAAsC;QACtC,OAAO,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,yDAAyD,CAAC,CAAC;QACvE,OAAO,CAAC,GAAG,CAAC,sCAAsC,CAAC,CAAC;IACtD,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defai.digital/automatosx",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Production-ready code intelligence platform with AI agents, workflow orchestration, interactive CLI, SpecKit generators, and autonomous retry system. 44 languages, 21 AI agents, 745+ tests.",
|
|
6
6
|
"license": "Apache-2.0",
|