agcel 1.0.4 → 1.0.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.
@@ -115,33 +115,8 @@ async function initCommand() {
115
115
  console.log(chalk_1.default.green('AgCel project initialization complete!'));
116
116
  console.log(chalk_1.default.cyan('Workflows installed to .agent/workflows'));
117
117
  console.log(chalk_1.default.cyan('Skills installed to .agc/skills'));
118
- // 4. Update .gitignore
119
- updateGitIgnore(process.cwd());
120
118
  }
121
119
  catch (error) {
122
120
  throw error; // Re-throw to be caught by outer catch
123
121
  }
124
122
  }
125
- function updateGitIgnore(cwd) {
126
- const gitIgnorePath = path_1.default.join(cwd, '.gitignore');
127
- const entriesToAdd = ['.agc', '.agents', '.agent'];
128
- let content = '';
129
- if (fs_1.default.existsSync(gitIgnorePath)) {
130
- content = fs_1.default.readFileSync(gitIgnorePath, 'utf-8');
131
- }
132
- else {
133
- console.log(chalk_1.default.blue('Creating .gitignore...'));
134
- }
135
- const lines = content.split('\n').map(line => line.trim());
136
- const newEntries = [];
137
- for (const entry of entriesToAdd) {
138
- if (!lines.includes(entry)) {
139
- newEntries.push(entry);
140
- }
141
- }
142
- if (newEntries.length > 0) {
143
- const appendContent = (content && !content.endsWith('\n') ? '\n' : '') + newEntries.join('\n') + '\n';
144
- fs_1.default.appendFileSync(gitIgnorePath, appendContent);
145
- console.log(chalk_1.default.green(`Added ${newEntries.join(', ')} to .gitignore`));
146
- }
147
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agcel",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Antigravity Context Engineering Library is a local MCP (Model Context Protocol) Server containing multiple skills, rules and workflows for end to end software development",
5
5
  "main": "dist/index.js",
6
6
  "bin": {