thachvd-kit 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.
package/bin/cli.js CHANGED
@@ -398,7 +398,12 @@ const FRAMEWORK_DETECTORS = [
398
398
  detect: ctx => buildDetection('cakephp', [
399
399
  evidenceIf(hasComposerDependency(ctx.composerDepNames, 'cakephp/cakephp'), 'composer.json -> cakephp/cakephp', 4),
400
400
  evidenceIf(ctx.fileExists('bin', 'cake'), 'found bin/cake', 3),
401
- evidenceIf(ctx.fileExists('config', 'app.php'), 'found config/app.php', 1)
401
+ evidenceIf(ctx.fileExists('config', 'app.php'), 'found config/app.php', 2),
402
+ evidenceIf(ctx.fileExists('app', 'Config', 'core.php'), 'found app/Config/core.php (CakePHP legacy)', 3),
403
+ evidenceIf(ctx.fileExists('app', 'Controller', 'AppController.php'), 'found app/Controller/AppController.php', 2),
404
+ evidenceIf(ctx.fileExists('app', 'Model', 'AppModel.php'), 'found app/Model/AppModel.php', 2),
405
+ evidenceIf(ctx.fileExists('lib', 'Cake'), 'found lib/Cake', 3),
406
+ evidenceIf(ctx.fileExists('cake', 'console', 'cake'), 'found cake/console/cake', 3)
402
407
  ])
403
408
  },
404
409
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thachvd-kit",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Universal Agent Kit for Antigravity, Claude Code, and OpenCode",
5
5
  "bin": {
6
6
  "thachvd-kit": "./bin/cli.js"
package/scripts/init.py CHANGED
@@ -327,7 +327,12 @@ def scan_project():
327
327
  {**build_detection("cakephp", [
328
328
  evidence_if(has_composer_dependency(composer_dep_names, "cakephp/cakephp"), "composer.json -> cakephp/cakephp", 4),
329
329
  evidence_if(Path("bin/cake").exists(), "found bin/cake", 3),
330
- evidence_if(Path("config/app.php").exists(), "found config/app.php", 1),
330
+ evidence_if(Path("config/app.php").exists(), "found config/app.php", 2),
331
+ evidence_if(Path("app/Config/core.php").exists(), "found app/Config/core.php (CakePHP legacy)", 3),
332
+ evidence_if(Path("app/Controller/AppController.php").exists(), "found app/Controller/AppController.php", 2),
333
+ evidence_if(Path("app/Model/AppModel.php").exists(), "found app/Model/AppModel.php", 2),
334
+ evidence_if(Path("lib/Cake").exists(), "found lib/Cake", 3),
335
+ evidence_if(Path("cake/console/cake").exists(), "found cake/console/cake", 3),
331
336
  ]), "kind": "backend", "project_type": "api", "language": "php"},
332
337
  {**build_detection("symfony", [
333
338
  evidence_if(has_composer_dependency(composer_dep_names, "symfony/framework-bundle"), "composer.json -> symfony/framework-bundle", 4),