claude-slim 2.6.0 → 2.7.0

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/dist/types.d.ts CHANGED
@@ -25,7 +25,7 @@ export interface PluginInfo {
25
25
  status?: 'enabled' | 'disabled';
26
26
  }
27
27
  export type IssueTier = 1 | 2 | 3;
28
- export type IssueType = 'broken_symlink' | 'template' | 'skill_dup' | 'duplicate' | 'oversized_memory' | 'oversized_skill' | 'unused_skill' | 'disabled_plugin' | 'stale_project' | 'temp_cache';
28
+ export type IssueType = 'broken_symlink' | 'template' | 'skill_dup' | 'duplicate' | 'oversized_memory' | 'oversized_skill' | 'unused_skill' | 'unused_plugin' | 'disabled_plugin' | 'stale_project' | 'temp_cache';
29
29
  export interface Issue {
30
30
  type: IssueType;
31
31
  tier: IssueTier;
@@ -33,6 +33,17 @@ export interface Issue {
33
33
  detail?: string;
34
34
  tokens: number;
35
35
  path: string;
36
+ marketplace?: string;
37
+ }
38
+ export interface PluginBreakdown {
39
+ name: string;
40
+ marketplace: string;
41
+ tokens: number;
42
+ skills: number;
43
+ mcp: number;
44
+ commands: number;
45
+ lastUsed: 'used' | 'never';
46
+ status: 'used' | 'unused' | 'agent-only' | 'insufficient data' | 'disabled';
36
47
  }
37
48
  export interface ScanResult {
38
49
  localSkills: SkillInfo[];
@@ -51,6 +62,7 @@ export interface ScanResult {
51
62
  mcpServerNames: string[];
52
63
  issues: Issue[];
53
64
  totalTokensBefore: number;
65
+ pluginBreakdown: PluginBreakdown[];
54
66
  }
55
67
  export interface ManifestEntry {
56
68
  date: string;
@@ -60,9 +72,17 @@ export interface ManifestEntry {
60
72
  tokenCount?: number;
61
73
  tier?: IssueTier;
62
74
  }
75
+ export type LegacyManifestEntry = ManifestEntry;
76
+ export interface DisabledPluginEntry {
77
+ type: 'disabled_plugin';
78
+ plugin: string;
79
+ marketplace: string;
80
+ disabledAt: string;
81
+ }
82
+ export type AnyManifestEntry = ManifestEntry | DisabledPluginEntry;
63
83
  export interface Manifest {
64
84
  version: 2;
65
- entries: ManifestEntry[];
85
+ entries: AnyManifestEntry[];
66
86
  }
67
87
  export interface TokenCache {
68
88
  version: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-slim",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Analyze and reduce Claude Code token overhead",
5
5
  "type": "module",
6
6
  "bin": {