skiller 0.7.7 → 0.7.8

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.
@@ -292,14 +292,18 @@ _skillsEnabled = true, ruleFiles, skillerDir) {
292
292
  (0, constants_1.logInfo)(`Applying rules for ${agent.getName()}...`, dryRun);
293
293
  (0, constants_1.logVerbose)(`Processing agent: ${agent.getName()}`, verbose);
294
294
  const agentConfig = config.agentConfigs[agent.getIdentifier()];
295
- // Collect output paths for .gitignore
295
+ // Collect output paths for .gitignore (unless agent config disables it)
296
296
  const outputPaths = (0, agent_utils_1.getAgentOutputPaths)(agent, projectRoot, agentConfig);
297
297
  (0, constants_1.logVerbose)(`Agent ${agent.getName()} output paths: ${outputPaths.join(', ')}`, verbose);
298
- generatedPaths.push(...outputPaths);
299
- // Only add the backup file paths to the gitignore list if backups are enabled
300
- if (backup) {
301
- const backupPaths = outputPaths.map((p) => `${p}.bak`);
302
- generatedPaths.push(...backupPaths);
298
+ // Only add to gitignore if agent config allows (defaults to true)
299
+ const shouldGitignore = agentConfig?.gitignore !== false;
300
+ if (shouldGitignore) {
301
+ generatedPaths.push(...outputPaths);
302
+ // Only add the backup file paths to the gitignore list if backups are enabled
303
+ if (backup) {
304
+ const backupPaths = outputPaths.map((p) => `${p}.bak`);
305
+ generatedPaths.push(...backupPaths);
306
+ }
303
307
  }
304
308
  if (dryRun) {
305
309
  (0, constants_1.logVerbose)(`DRY RUN: Would write rules to: ${outputPaths.join(', ')}`, verbose);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skiller",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Skiller — apply the same rules to all coding agents",
5
5
  "main": "dist/lib.js",
6
6
  "publishConfig": {