@ryuenn3123/agentic-senior-core 6.6.0 → 6.6.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-senior-core",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "Universal AI coding rules. Because your AI writes code like it gets paid by the line.",
5
5
  "contextFileName": "rules/agentic-senior-core.md",
6
6
  "rules": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-senior-core",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "Universal AI coding rules. Write code like a staff engineer.",
5
5
  "author": "fatidaprilian",
6
6
  "license": "MIT",
@@ -87,6 +87,21 @@ async function pathExists(filePath) {
87
87
  }
88
88
  }
89
89
 
90
+ async function copyDirRecursive(src, dest, ignoreNames = []) {
91
+ await fs.mkdir(dest, { recursive: true });
92
+ const entries = await fs.readdir(src, { withFileTypes: true });
93
+ for (const entry of entries) {
94
+ if (ignoreNames.includes(entry.name)) continue;
95
+ const srcPath = path.join(src, entry.name);
96
+ const destPath = path.join(dest, entry.name);
97
+ if (entry.isDirectory()) {
98
+ await copyDirRecursive(srcPath, destPath, ignoreNames);
99
+ } else {
100
+ await fs.copyFile(srcPath, destPath);
101
+ }
102
+ }
103
+ }
104
+
90
105
  async function generateAdapter(targetDirectory, adapterKey) {
91
106
  const adapter = ADAPTER_TARGETS[adapterKey];
92
107
  if (!adapter) {
@@ -130,6 +145,11 @@ async function generateAdapter(targetDirectory, adapterKey) {
130
145
  await fs.copyFile(pluginSource, pluginTarget);
131
146
  }
132
147
  }
148
+ const skillsSource = path.join(REPOSITORY_ROOT, '.agents', 'plugins', 'agentic-senior-core', 'skills');
149
+ const localSkillsTarget = path.join(targetDirectory, '.kilo', 'skills');
150
+ if (await pathExists(skillsSource)) {
151
+ await copyDirRecursive(skillsSource, localSkillsTarget);
152
+ }
133
153
  if (adapter.legacyTargetPath) {
134
154
  const legacyTarget = path.join(targetDirectory, adapter.legacyTargetPath);
135
155
  await fs.mkdir(path.dirname(legacyTarget), { recursive: true });
@@ -227,6 +227,12 @@ async function installKiloGlobal(target) {
227
227
  await fs.copyFile(pluginSource, pluginTarget);
228
228
  }
229
229
 
230
+ const skillsSource = path.join(REPOSITORY_ROOT, '.agents', 'plugins', 'agentic-senior-core', 'skills');
231
+ const globalSkillsTarget = path.join(HOME, '.kilo', 'skills');
232
+ if (await pathExists(skillsSource)) {
233
+ await copyDirRecursive(skillsSource, globalSkillsTarget);
234
+ }
235
+
230
236
  if (process.env.APPDATA) {
231
237
  const appDataKiloPlugin = path.join(process.env.APPDATA, 'kilo', 'plugin', 'agentic-senior-core.js');
232
238
  const appDataKiloRules = path.join(process.env.APPDATA, 'kilo', 'rules', 'agentic-senior-core.md');
@@ -240,7 +246,7 @@ async function installKiloGlobal(target) {
240
246
  } catch (_) {}
241
247
  }
242
248
 
243
- console.log(` ${target.label}: ${rulesTarget} & ${pluginTarget} ... OK`);
249
+ console.log(` ${target.label}: ${rulesTarget}, ${pluginTarget} & ${globalSkillsTarget} ... OK`);
244
250
  return true;
245
251
  }
246
252
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuenn3123/agentic-senior-core",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "type": "module",
5
5
  "description": "Agentic Senior Core: Universal AI coding rules and workflows. Write code like a staff engineer, not a junior.",
6
6
  "bin": {
package/plugin.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: agentic-senior-core
2
- version: 6.6.0
2
+ version: 6.6.1
3
3
  description: Universal AI coding rules. Write code like a staff engineer.
4
4
  author: fatidaprilian
5
5
  provides_hooks: