@defai.digital/automatosx 5.0.1 โ 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +169 -1
- package/CONTRIBUTING.md +7 -5
- package/FAQ.md +278 -75
- package/README.md +25 -8
- package/TROUBLESHOOTING.md +160 -27
- package/automatosx.config.json +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/docs/PROJECT-HISTORY.md +821 -0
- package/docs/archived/BETA-TESTING-v4.0.md +496 -0
- package/docs/guide/agent-templates.md +599 -0
- package/docs/guide/core-concepts.md +66 -5
- package/docs/guide/introduction.md +1 -1
- package/docs/guide/multi-agent-orchestration.md +626 -0
- package/docs/guide/quick-start.md +71 -23
- package/docs/guide/team-configuration.md +548 -0
- package/docs/index.md +5 -4
- package/docs/reference/cli-commands.md +368 -5
- package/examples/README.md +1 -1
- package/examples/use-cases/01-web-app-development.md +1 -1
- package/package.json +1 -1
- package/schema/config.json +703 -0
- package/FIXES.md +0 -277
- package/REVIEW-REPORT.md +0 -278
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,174 @@ All notable changes to AutomatosX will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [5.0.3] - 2025-10-09
|
|
9
|
+
|
|
10
|
+
### ๐ Critical Bug Fix
|
|
11
|
+
|
|
12
|
+
#### FTS5 Query Sanitization - Special Character Support
|
|
13
|
+
|
|
14
|
+
**Problem**: Memory search failed with syntax errors for queries containing common special characters (`/`, `@`, `#`, `&`, `=`, `?`, `!`, `;`, `'`, `` ` ``, `,`)
|
|
15
|
+
|
|
16
|
+
**Impact**:
|
|
17
|
+
- โ File path queries: `src/core/memory-manager.ts` โ `fts5: syntax error near "/"`
|
|
18
|
+
- โ URL queries: `https://github.com/defai/automatosx` โ Failed
|
|
19
|
+
- โ Date queries: `2025/10/09` โ Failed
|
|
20
|
+
- โ Email queries: `user@example.com` โ Failed
|
|
21
|
+
- โ All other queries with special characters โ Silent memory injection failure
|
|
22
|
+
|
|
23
|
+
**Root Cause**: Incomplete FTS5 special character sanitization in `memory-manager.ts:301`
|
|
24
|
+
|
|
25
|
+
**Fix**: Extended regex pattern to sanitize 11 additional special characters:
|
|
26
|
+
- Before: `.:"*()[\]{}^$+|\\%<>~-` (15 characters)
|
|
27
|
+
- After: `.:"*()[\]{}^$+|\\%<>~\-/@#&=?!;'\`,` (26 characters) โ
|
|
28
|
+
|
|
29
|
+
**Testing**:
|
|
30
|
+
- โ
Added 29 comprehensive tests (504 lines) covering all real-world scenarios
|
|
31
|
+
- โ
All 1079 existing tests pass (zero regressions)
|
|
32
|
+
- โ
Performance optimized for CI environments (1s timeout vs 100ms)
|
|
33
|
+
|
|
34
|
+
**Discovered By**: Queenie during Paris migration script review
|
|
35
|
+
|
|
36
|
+
**Affects**: All users since v5.0.1
|
|
37
|
+
|
|
38
|
+
**Files Modified**:
|
|
39
|
+
- `src/core/memory-manager.ts` (1 line)
|
|
40
|
+
- `tests/unit/memory-manager-special-chars.test.ts` (new, 509 lines)
|
|
41
|
+
|
|
42
|
+
### ๐งช Test Coverage
|
|
43
|
+
|
|
44
|
+
**New Test Suite**: `memory-manager-special-chars.test.ts`
|
|
45
|
+
- โ
File paths (Unix & Windows)
|
|
46
|
+
- โ
URLs (HTTPS, query parameters, hash fragments)
|
|
47
|
+
- โ
Dates (YYYY/MM/DD, MM/DD/YYYY)
|
|
48
|
+
- โ
Email addresses
|
|
49
|
+
- โ
Hashtags
|
|
50
|
+
- โ
Mathematical expressions
|
|
51
|
+
- โ
Special characters (?, !, &, ;, ', `, ,)
|
|
52
|
+
- โ
Complex real-world queries
|
|
53
|
+
- โ
Edge cases & performance
|
|
54
|
+
|
|
55
|
+
**Test Results**: 29/29 passed โ
|
|
56
|
+
|
|
57
|
+
### ๐ Performance
|
|
58
|
+
|
|
59
|
+
- Search with special chars: < 1ms per query
|
|
60
|
+
- 100-entry performance test: < 1000ms (CI-safe)
|
|
61
|
+
- Zero impact on existing search performance
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## [5.0.2] - 2025-10-09
|
|
66
|
+
|
|
67
|
+
### ๐ Documentation
|
|
68
|
+
|
|
69
|
+
#### Comprehensive Multi-Agent Orchestration Guide
|
|
70
|
+
- โ
Created `docs/guide/multi-agent-orchestration.md` (627 lines)
|
|
71
|
+
- โ
Complete guide to v4.7.0+ multi-agent collaboration features
|
|
72
|
+
- โ
Covers: Sessions, delegation, workspaces, capability-first strategy
|
|
73
|
+
- โ
7 delegation syntaxes with examples (including Chinese support)
|
|
74
|
+
- โ
CLI commands reference with practical examples
|
|
75
|
+
- โ
3 detailed workflow examples (simple, multi-agent, nested)
|
|
76
|
+
- โ
Best practices and troubleshooting sections
|
|
77
|
+
- โ
Performance metrics and advanced patterns
|
|
78
|
+
|
|
79
|
+
#### Enhanced Existing Documentation
|
|
80
|
+
- โ
Updated `TROUBLESHOOTING.md`: CLI authentication, FTS5 references, timeout fixes
|
|
81
|
+
- โ
Updated `CONTRIBUTING.md`: Test coverage (85%), license (Apache 2.0)
|
|
82
|
+
- โ
Enhanced `FAQ.md`: Added 3 major FAQs (templates, teams, migration)
|
|
83
|
+
- โ
Archived `docs/BETA-TESTING.md` โ `docs/archived/BETA-TESTING-v4.0.md`
|
|
84
|
+
|
|
85
|
+
### ๐ฏ Configuration Schema
|
|
86
|
+
|
|
87
|
+
#### Self-Contained JSON Schema
|
|
88
|
+
- โ
Created comprehensive `schema/config.json` (24 KB)
|
|
89
|
+
- โ
Complete schema for all AutomatosX v5.0+ configuration options
|
|
90
|
+
- โ
25+ type definitions matching TypeScript interfaces
|
|
91
|
+
- โ
Standard JSON Schema draft-07 format
|
|
92
|
+
- โ
IDE validation support (VS Code, WebStorm, etc.)
|
|
93
|
+
|
|
94
|
+
#### Schema Migration
|
|
95
|
+
- โ
Migrated from external URL to repository-based schema
|
|
96
|
+
- โ
All `$schema` references use relative path: `./schema/config.json`
|
|
97
|
+
- โ
Works offline with schema caching
|
|
98
|
+
- โ
No external dependencies for configuration validation
|
|
99
|
+
- โ
Updated 10+ files (source code, config files, tests)
|
|
100
|
+
|
|
101
|
+
### ๐ Documentation Updates
|
|
102
|
+
|
|
103
|
+
**Files Created**:
|
|
104
|
+
- `docs/guide/multi-agent-orchestration.md` (627 lines)
|
|
105
|
+
- `docs/archived/BETA-TESTING-v4.0.md` (moved from docs/)
|
|
106
|
+
- `schema/config.json` (24 KB, 600+ lines)
|
|
107
|
+
|
|
108
|
+
**Files Updated**:
|
|
109
|
+
- `README.md`: Added v5.0.2 release notes
|
|
110
|
+
- `TROUBLESHOOTING.md`: ~40 lines modified
|
|
111
|
+
- `CONTRIBUTING.md`: 2 critical accuracy fixes
|
|
112
|
+
- `FAQ.md`: +83 lines (3 new comprehensive FAQs)
|
|
113
|
+
- `automatosx.config.json`: Schema reference updated
|
|
114
|
+
- `src/cli/commands/config.ts`: Schema reference updated
|
|
115
|
+
- `src/cli/commands/init.ts`: Schema reference updated
|
|
116
|
+
- `src/cli/commands/config/reset.ts`: Schema reference updated
|
|
117
|
+
- `tests/**/*.test.ts`: Schema references updated
|
|
118
|
+
|
|
119
|
+
### ๐๏ธ Documentation Organization
|
|
120
|
+
|
|
121
|
+
#### Archived Content
|
|
122
|
+
- โ
`BETA-TESTING.md` โ `docs/archived/BETA-TESTING-v4.0.md`
|
|
123
|
+
- โ
Added archived notice with links to current docs
|
|
124
|
+
- โ
Preserved historical beta testing documentation
|
|
125
|
+
|
|
126
|
+
#### Accuracy Improvements
|
|
127
|
+
- โ
Replaced "API key configuration" with "CLI authentication"
|
|
128
|
+
- โ
Updated "vector search" references to "FTS5 full-text search"
|
|
129
|
+
- โ
Corrected test coverage (67% โ ~85%)
|
|
130
|
+
- โ
Fixed license reference (MIT โ Apache 2.0)
|
|
131
|
+
|
|
132
|
+
### โ
Quality Improvements
|
|
133
|
+
|
|
134
|
+
**Documentation Coverage**:
|
|
135
|
+
- โ
Multi-agent orchestration: Fully documented
|
|
136
|
+
- โ
Team-based configuration: Comprehensive guide
|
|
137
|
+
- โ
Agent templates: Complete reference
|
|
138
|
+
- โ
Migration guides: Added to FAQ
|
|
139
|
+
- โ
Troubleshooting: Updated with current information
|
|
140
|
+
|
|
141
|
+
**Schema Completeness**:
|
|
142
|
+
- โ
All configuration options documented
|
|
143
|
+
- โ
Validation rules for required fields
|
|
144
|
+
- โ
Min/max constraints for numeric values
|
|
145
|
+
- โ
Enum values for restricted fields
|
|
146
|
+
- โ
Comprehensive descriptions for all properties
|
|
147
|
+
|
|
148
|
+
**Backward Compatibility**:
|
|
149
|
+
- โ
All changes are non-breaking
|
|
150
|
+
- โ
Existing configurations continue to work
|
|
151
|
+
- โ
Schema validation is optional (IDE feature)
|
|
152
|
+
- โ
No code changes required for upgrade
|
|
153
|
+
|
|
154
|
+
### ๐ Statistics
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
Documentation Changes:
|
|
158
|
+
- Files created: 3 (orchestration guide, schema, archived beta guide)
|
|
159
|
+
- Files updated: 10+ (README, FAQ, TROUBLESHOOTING, CONTRIBUTING, source files)
|
|
160
|
+
- Lines added: ~770 (documentation + schema)
|
|
161
|
+
- Lines modified: ~50 (accuracy fixes)
|
|
162
|
+
|
|
163
|
+
Schema Coverage:
|
|
164
|
+
- Configuration options: 100% covered
|
|
165
|
+
- Type definitions: 25+ schemas
|
|
166
|
+
- Validation rules: Complete
|
|
167
|
+
- IDE support: Full JSON Schema draft-07
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### ๐ Related Issues
|
|
171
|
+
|
|
172
|
+
This release addresses documentation gaps identified in the Phase 3 documentation improvement project, providing comprehensive guides for all major v4.7.0+, v4.10.0+, and v5.0.0+ features.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
8
176
|
## [5.0.1] - 2025-10-09
|
|
9
177
|
|
|
10
178
|
### ๐ Bug Fixes
|
|
@@ -2583,7 +2751,7 @@ Thank you to all contributors who made v4.0 possible!
|
|
|
2583
2751
|
|
|
2584
2752
|
### ๐ Resources
|
|
2585
2753
|
|
|
2586
|
-
- **Documentation**: <https://
|
|
2754
|
+
- **Documentation**: <https://github.com/defai-digital/automatosx/tree/main/docs>
|
|
2587
2755
|
- **Repository**: <https://github.com/defai-digital/automatosx>
|
|
2588
2756
|
- **Issues**: <https://github.com/defai-digital/automatosx/issues>
|
|
2589
2757
|
- **npm**: <https://www.npmjs.com/package/automatosx>
|
package/CONTRIBUTING.md
CHANGED
|
@@ -91,7 +91,7 @@ npm run test:coverage
|
|
|
91
91
|
### Writing Tests
|
|
92
92
|
|
|
93
93
|
- Write tests for all new features
|
|
94
|
-
- Maintain or improve test coverage (current:
|
|
94
|
+
- Maintain or improve test coverage (current: ~85%)
|
|
95
95
|
- Place unit tests in `tests/unit/`
|
|
96
96
|
- Place integration tests in `tests/integration/`
|
|
97
97
|
- Use descriptive test names
|
|
@@ -338,13 +338,15 @@ if (!isValidPath(path)) {
|
|
|
338
338
|
## Getting Help
|
|
339
339
|
|
|
340
340
|
- Check existing [documentation](docs/)
|
|
341
|
-
- Search [existing issues](https://github.com/
|
|
342
|
-
-
|
|
343
|
-
-
|
|
341
|
+
- Search [existing issues](https://github.com/defai-digital/automatosx/issues)
|
|
342
|
+
- Open a new issue for questions, bugs, or feature requests
|
|
343
|
+
- Use "bug" label for bugs
|
|
344
|
+
- Use "enhancement" label for feature requests/wishlist
|
|
345
|
+
- Use "question" label for questions
|
|
344
346
|
|
|
345
347
|
## License
|
|
346
348
|
|
|
347
|
-
By contributing, you agree that your contributions will be licensed under the
|
|
349
|
+
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.
|
|
348
350
|
|
|
349
351
|
## Recognition
|
|
350
352
|
|