@educa-corp/sdd-framework 0.2.8 → 0.2.9

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/bin/build.js CHANGED
@@ -215,6 +215,23 @@ for (const { src, dest, filter } of coreMappings) {
215
215
  fs.writeFileSync(path.join(CORE_DIR, 'FRAMEWORK_VERSION'), VERSION + '\n', 'utf8');
216
216
  console.log(` ✅ core/FRAMEWORK_VERSION (v${VERSION})`);
217
217
 
218
+ // ── 4. Sync local dogfood .agent/ (dev repo only) ────────────────────────────
219
+ //
220
+ // In THIS framework repo, .agent/ is a pure mirror of core/ used to dogfood the
221
+ // framework on itself. Consumers never run build.js (they get core/ from the npm
222
+ // package and run `--init`), so this block only affects the dev checkout.
223
+ // Guard on existence: only refresh if .agent/ is already present — do NOT create
224
+ // it here (that's --init's job, which also generates .claude/ shortcuts). This is
225
+ // an overlay merge (adds new files like a newly-added module, overwrites changed
226
+ // ones); to prune files removed from core, run `npm run dev` (build + --init).
227
+ const AGENT_DIR = path.join(ROOT, '.agent');
228
+ if (fs.existsSync(AGENT_DIR)) {
229
+ console.log('');
230
+ console.log('Syncing local dogfood .agent/ from core/ ...');
231
+ copyDirToCore(CORE_DIR, AGENT_DIR, null);
232
+ console.log(' ✅ .agent/ (mirrored from core/)');
233
+ }
234
+
218
235
  // ── Summary ───────────────────────────────────────────────────────────────────
219
236
 
220
237
  const total = allSucceeded + allFailed;
package/bin/index.js CHANGED
@@ -46,6 +46,7 @@ const AVAILABLE_MODULES = [
46
46
  'java-spring', 'angular', 'react', 'nextjs',
47
47
  'dotnet', 'golang', 'php-laravel', 'context-engineering',
48
48
  'flutter', 'react-native', 'ios-swiftui', 'android-compose',
49
+ 'phaser-game',
49
50
  ];
50
51
 
51
52
  // Language/framework labels per module (for generated project-context.yaml)
@@ -64,6 +65,7 @@ const MODULE_STACK = {
64
65
  'react-native': { language: 'TypeScript', framework: 'React Native / Expo' },
65
66
  'ios-swiftui': { language: 'Swift', framework: 'SwiftUI' },
66
67
  'android-compose': { language: 'Kotlin', framework: 'Jetpack Compose' },
68
+ 'phaser-game': { language: 'TypeScript', framework: 'Phaser 3' },
67
69
  };
68
70
 
69
71
  if (showHelp) {
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.2.9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@educa-corp/sdd-framework",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Spec Driven Development workflow framework for Claude Code",
5
5
  "bin": {
6
6
  "sdd-framework": "./bin/index.js"