@shrkcrft/inspector 0.1.0-alpha.10 → 0.1.0-alpha.12

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 +1 @@
1
- {"version":3,"file":"command-recommender.d.ts","sourceRoot":"","sources":["../src/command-recommender.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,eAAO,MAAM,0BAA0B,sCAAsC,CAAC;AAE9E,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,WAAW,GAAG,eAAe,GAAG,gBAAgB,GAAG,eAAe,GAAG,YAAY,CAAC;IAC/F,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,0BAA0B,CAAC;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,iEAAiE;IACjE,WAAW,EAAE,kBAAkB,CAAC;CACjC;AA0DD,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,qBAAqB,EACjC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,GAClD,OAAO,CAAC,4BAA4B,CAAC,CAoFvC"}
1
+ {"version":3,"file":"command-recommender.d.ts","sourceRoot":"","sources":["../src/command-recommender.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,eAAO,MAAM,0BAA0B,sCAAsC,CAAC;AAE9E,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,WAAW,GAAG,eAAe,GAAG,gBAAgB,GAAG,eAAe,GAAG,YAAY,CAAC;IAC/F,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,0BAA0B,CAAC;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,iEAAiE;IACjE,WAAW,EAAE,kBAAkB,CAAC;CACjC;AAqED,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,qBAAqB,EACjC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,GAClD,OAAO,CAAC,4BAA4B,CAAC,CAoFvC"}
@@ -50,6 +50,17 @@ const RECIPES = [
50
50
  { command: 'shrk drift', why: 'Drift report.' },
51
51
  ],
52
52
  },
53
+ {
54
+ match: /code[-\s]?intel|code intelligence|code graph|graph status|graph health|import cycle|unresolved import|blast radius|callers|dependents/i,
55
+ recommendations: [
56
+ { command: 'shrk code-intel', why: 'One-shot health view across the code graph, bridge, and quality gates.' },
57
+ { command: 'shrk graph status', why: 'Check whether the code graph is present, fresh, and internally consistent.' },
58
+ { command: 'shrk graph cycles', why: 'List import cycles that inflate blast-radius calculations.' },
59
+ { command: 'shrk graph unresolved', why: 'Find unresolved imports that undercut graph accuracy.' },
60
+ { command: 'shrk graph context <file-or-symbol>', why: 'Inspect one file or symbol with imports, callers, bridge context, and framework hits.' },
61
+ { command: 'shrk graph impact <file-or-symbol> --full', why: 'Estimate blast radius with graph-backed dependents, caller files, rules, and likely tests.' },
62
+ ],
63
+ },
53
64
  ];
54
65
  function safetyLevelFor(command) {
55
66
  if (/^shrk (gen|init|apply|import|presets apply --write|packs (sign|new))/i.test(command))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shrkcrft/inspector",
3
- "version": "0.1.0-alpha.10",
3
+ "version": "0.1.0-alpha.12",
4
4
  "description": "SharkCraft inspector: project overview, doctor checks, AI-agent instructions.",
5
5
  "license": "MIT",
6
6
  "author": "SharkCraft contributors",
@@ -42,22 +42,22 @@
42
42
  "typecheck": "tsc --noEmit -p tsconfig.json"
43
43
  },
44
44
  "dependencies": {
45
- "@shrkcrft/core": "^0.1.0-alpha.10",
46
- "@shrkcrft/config": "^0.1.0-alpha.10",
47
- "@shrkcrft/workspace": "^0.1.0-alpha.10",
48
- "@shrkcrft/knowledge": "^0.1.0-alpha.10",
49
- "@shrkcrft/rules": "^0.1.0-alpha.10",
50
- "@shrkcrft/paths": "^0.1.0-alpha.10",
51
- "@shrkcrft/templates": "^0.1.0-alpha.10",
52
- "@shrkcrft/context": "^0.1.0-alpha.10",
53
- "@shrkcrft/pipelines": "^0.1.0-alpha.10",
54
- "@shrkcrft/packs": "^0.1.0-alpha.10",
55
- "@shrkcrft/presets": "^0.1.0-alpha.10",
56
- "@shrkcrft/boundaries": "^0.1.0-alpha.10",
57
- "@shrkcrft/generator": "^0.1.0-alpha.10",
58
- "@shrkcrft/importer": "^0.1.0-alpha.10",
59
- "@shrkcrft/plugin-api": "^0.1.0-alpha.10",
60
- "@shrkcrft/dashboard-api": "^0.1.0-alpha.10",
45
+ "@shrkcrft/core": "^0.1.0-alpha.12",
46
+ "@shrkcrft/config": "^0.1.0-alpha.12",
47
+ "@shrkcrft/workspace": "^0.1.0-alpha.12",
48
+ "@shrkcrft/knowledge": "^0.1.0-alpha.12",
49
+ "@shrkcrft/rules": "^0.1.0-alpha.12",
50
+ "@shrkcrft/paths": "^0.1.0-alpha.12",
51
+ "@shrkcrft/templates": "^0.1.0-alpha.12",
52
+ "@shrkcrft/context": "^0.1.0-alpha.12",
53
+ "@shrkcrft/pipelines": "^0.1.0-alpha.12",
54
+ "@shrkcrft/packs": "^0.1.0-alpha.12",
55
+ "@shrkcrft/presets": "^0.1.0-alpha.12",
56
+ "@shrkcrft/boundaries": "^0.1.0-alpha.12",
57
+ "@shrkcrft/generator": "^0.1.0-alpha.12",
58
+ "@shrkcrft/importer": "^0.1.0-alpha.12",
59
+ "@shrkcrft/plugin-api": "^0.1.0-alpha.12",
60
+ "@shrkcrft/dashboard-api": "^0.1.0-alpha.12",
61
61
  "typescript": "^5.6.0"
62
62
  },
63
63
  "publishConfig": {