s9n-devops-agent 1.4.5 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s9n-devops-agent",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "CS_DevOpsAgent - Intelligent Git Automation System with multi-agent support and session management",
5
5
  "type": "module",
6
6
  "main": "src/cs-devops-agent-worker.js",
@@ -599,7 +599,7 @@ ${endMarker}`;
599
599
  setupHouseRules(withStructure = false) {
600
600
  // Determine source and target paths
601
601
  const agentRoot = path.join(__dirname, '..');
602
- const sourceFileName = withStructure ? 'houserules_structured.md' : 'houserules_core.md';
602
+ const sourceFileName = withStructure ? 'houserules_structured.md' : 'houserules.md';
603
603
  const sourcePath = path.join(agentRoot, sourceFileName);
604
604
  const targetPath = path.join(this.projectRoot, 'houserules.md');
605
605
 
@@ -111,6 +111,17 @@ class SessionCoordinator {
111
111
  }
112
112
  });
113
113
 
114
+ // Ensure file-coordination directory
115
+ const fileCoordinationDir = path.join(this.repoRoot, 'local_deploy', '.file-coordination');
116
+ const activeEditsDir = path.join(fileCoordinationDir, 'active-edits');
117
+ const completedEditsDir = path.join(fileCoordinationDir, 'completed-edits');
118
+
119
+ [fileCoordinationDir, activeEditsDir, completedEditsDir].forEach(dir => {
120
+ if (!fs.existsSync(dir)) {
121
+ fs.mkdirSync(dir, { recursive: true });
122
+ }
123
+ });
124
+
114
125
  // Ensure global settings directory in home folder
115
126
  if (!fs.existsSync(this.globalSettingsDir)) {
116
127
  fs.mkdirSync(this.globalSettingsDir, { recursive: true });
@@ -1743,7 +1754,7 @@ async function main() {
1743
1754
  console.log("=".repeat(70));
1744
1755
  console.log();
1745
1756
  console.log(" CS_DevOpsAgent - Intelligent Git Automation System");
1746
- console.log(" Version 2.4.0 | Build 20240930.1");
1757
+ console.log(" Version 1.4.6 | Build 20251008.1");
1747
1758
  console.log(" ");
1748
1759
  console.log(" Copyright (c) 2024 SecondBrain Labs");
1749
1760
  console.log(" Author: Sachin Dev Duggal");