atris 2.0.5 → 2.0.6
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/commands/sync.js +9 -1
- package/package.json +1 -1
package/commands/sync.js
CHANGED
|
@@ -14,6 +14,13 @@ function syncAtris() {
|
|
|
14
14
|
fs.mkdirSync(agentTeamDir, { recursive: true });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
// Ensure policies folder exists
|
|
18
|
+
const policiesDir = path.join(targetDir, 'policies');
|
|
19
|
+
if (!fs.existsSync(policiesDir)) {
|
|
20
|
+
fs.mkdirSync(policiesDir, { recursive: true });
|
|
21
|
+
console.log('✓ Created atris/policies/ folder');
|
|
22
|
+
}
|
|
23
|
+
|
|
17
24
|
const filesToSync = [
|
|
18
25
|
{ source: 'atris.md', target: 'atris.md' },
|
|
19
26
|
{ source: 'PERSONA.md', target: 'PERSONA.md' },
|
|
@@ -22,7 +29,8 @@ function syncAtris() {
|
|
|
22
29
|
{ source: 'atris/agent_team/executor.md', target: 'agent_team/executor.md' },
|
|
23
30
|
{ source: 'atris/agent_team/validator.md', target: 'agent_team/validator.md' },
|
|
24
31
|
{ source: 'atris/agent_team/launcher.md', target: 'agent_team/launcher.md' },
|
|
25
|
-
{ source: 'atris/agent_team/brainstormer.md', target: 'agent_team/brainstormer.md' }
|
|
32
|
+
{ source: 'atris/agent_team/brainstormer.md', target: 'agent_team/brainstormer.md' },
|
|
33
|
+
{ source: 'atris/policies/ANTISLOP.md', target: 'policies/ANTISLOP.md' }
|
|
26
34
|
];
|
|
27
35
|
|
|
28
36
|
let updated = 0;
|