chati-dev 4.1.4 → 4.1.5
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/bin/chati.js
CHANGED
|
@@ -105,6 +105,16 @@ async function main() {
|
|
|
105
105
|
|
|
106
106
|
console.log(` ${migrationResult.migrationsRun} migration(s) applied.`);
|
|
107
107
|
|
|
108
|
+
// 2.5. Sync framework files (copy new/updated agents, templates, hooks, etc.)
|
|
109
|
+
console.log(' Syncing framework files...');
|
|
110
|
+
try {
|
|
111
|
+
const { copyFrameworkFiles } = await import('../src/installer/core.js');
|
|
112
|
+
copyFrameworkFiles(join(targetDir, 'chati.dev'));
|
|
113
|
+
console.log(' Framework files synced.');
|
|
114
|
+
} catch (err) {
|
|
115
|
+
console.log(` Framework sync skipped: ${err.message}`);
|
|
116
|
+
}
|
|
117
|
+
|
|
108
118
|
// 3. Validate
|
|
109
119
|
console.log(' Validating...');
|
|
110
120
|
const validation = await validateInstallation(targetDir);
|
package/framework/config.yaml
CHANGED
|
@@ -489,5 +489,5 @@ When multiple CLI providers are enabled, the system SHALL coordinate agent execu
|
|
|
489
489
|
|
|
490
490
|
---
|
|
491
491
|
|
|
492
|
-
*Chati.dev Constitution v4.1.
|
|
492
|
+
*Chati.dev Constitution v4.1.5 — 19 Articles + Preamble*
|
|
493
493
|
*All agents are bound by this Constitution. Violations are enforced per article.*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Chati.dev System Context
|
|
2
2
|
|
|
3
3
|
## Framework
|
|
4
|
-
- **Version**: 4.1.
|
|
4
|
+
- **Version**: 4.1.5
|
|
5
5
|
- **Agents**: Specialized agents across DISCOVER, PLAN, BUILD, DEPLOY phases
|
|
6
6
|
- **Constitution**: 19 Articles + Preamble
|
|
7
7
|
- **Quality**: 5 pipeline gates + 3-tier verdicts (APPROVED / NEEDS_REVISION / BLOCKED)
|
package/package.json
CHANGED
package/src/installer/core.js
CHANGED
|
@@ -148,7 +148,7 @@ export async function installFramework(config) {
|
|
|
148
148
|
/**
|
|
149
149
|
* Copy framework files from the Chati.dev source directory
|
|
150
150
|
*/
|
|
151
|
-
function copyFrameworkFiles(destDir, provider = 'claude') {
|
|
151
|
+
export function copyFrameworkFiles(destDir, provider = 'claude') {
|
|
152
152
|
if (!existsSync(FRAMEWORK_SOURCE)) return;
|
|
153
153
|
|
|
154
154
|
const filesToCopy = [
|