@ghl-ai/aw 0.1.47-beta.3 → 0.1.47-beta.4

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.
@@ -209,7 +209,7 @@ function directoryContainsGeneratedRuleFiles(dirPath, extension) {
209
209
  try {
210
210
  return readdirSync(dirPath, { withFileTypes: true })
211
211
  .filter(entry => entry.isFile() && entry.name.endsWith(extension))
212
- .some(entry => readText(join(dirPath, entry.name)).startsWith(GENERATED_RULE_HEADER));
212
+ .some(entry => readText(join(dirPath, entry.name)).includes(GENERATED_RULE_HEADER));
213
213
  } catch {
214
214
  return false;
215
215
  }
@@ -500,7 +500,7 @@ function listGeneratedRuleFiles(dirPath, extension) {
500
500
  return readdirSync(dirPath, { withFileTypes: true })
501
501
  .filter(entry => entry.isFile() && entry.name.endsWith(extension))
502
502
  .map(entry => join(dirPath, entry.name))
503
- .filter(filePath => readText(filePath).startsWith(GENERATED_RULE_HEADER));
503
+ .filter(filePath => readText(filePath).includes(GENERATED_RULE_HEADER));
504
504
  } catch {
505
505
  return [];
506
506
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.47-beta.3",
3
+ "version": "0.1.47-beta.4",
4
4
  "description": "Agentic Workspace CLI — pull, push & manage agents, skills and commands from the registry",
5
5
  "type": "module",
6
6
  "bin": {