@kb-labs/impact-core 2.103.0 → 2.105.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.
Files changed (2) hide show
  1. package/dist/manifest.v3.json +127 -0
  2. package/package.json +19 -19
@@ -0,0 +1,127 @@
1
+ {
2
+ "schema": "kb.plugin/3",
3
+ "id": "@kb-labs/impact",
4
+ "version": "0.1.0",
5
+ "configSection": "impact",
6
+ "display": {
7
+ "name": "Impact Analysis",
8
+ "description": "Analyze affected packages, stale docs, reindex",
9
+ "tags": [
10
+ "impact",
11
+ "analysis",
12
+ "dependencies",
13
+ "docs"
14
+ ]
15
+ },
16
+ "cli": {
17
+ "groupMeta": [
18
+ {
19
+ "path": "impact",
20
+ "describe": "Impact analysis commands"
21
+ }
22
+ ],
23
+ "commands": [
24
+ {
25
+ "path": "impact check",
26
+ "describe": "Full impact analysis (packages + docs)",
27
+ "operationType": "analyze",
28
+ "longDescription": "Analyzes workspace changes to determine affected packages (direct, dependent, transitive) and stale documentation.",
29
+ "handler": "./cli/commands/check.js#default",
30
+ "flags": [
31
+ {
32
+ "name": "json",
33
+ "type": "boolean",
34
+ "default": false,
35
+ "description": "Output as JSON"
36
+ }
37
+ ],
38
+ "examples": [
39
+ "impact check # Full impact analysis",
40
+ "impact check --json # JSON output for agents"
41
+ ],
42
+ "permissions": {
43
+ "fs": {
44
+ "read": [
45
+ "**/*"
46
+ ]
47
+ },
48
+ "quotas": {
49
+ "timeoutMs": 30000,
50
+ "memoryMb": 256
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "path": "impact packages",
56
+ "describe": "Package dependency impact analysis",
57
+ "operationType": "read",
58
+ "longDescription": "Shows which packages are directly changed, which depend on them, and which are transitively affected.",
59
+ "handler": "./cli/commands/packages.js#default",
60
+ "flags": [
61
+ {
62
+ "name": "json",
63
+ "type": "boolean",
64
+ "default": false,
65
+ "description": "Output as JSON"
66
+ }
67
+ ],
68
+ "examples": [
69
+ "impact packages # Package impact",
70
+ "impact packages --json # JSON output"
71
+ ],
72
+ "permissions": {
73
+ "fs": {
74
+ "read": [
75
+ "**/*"
76
+ ]
77
+ },
78
+ "quotas": {
79
+ "timeoutMs": 30000,
80
+ "memoryMb": 256
81
+ }
82
+ }
83
+ },
84
+ {
85
+ "path": "impact docs",
86
+ "describe": "Documentation impact analysis",
87
+ "operationType": "read",
88
+ "longDescription": "Checks which documentation files are stale, need review, or require reindexing based on package changes.",
89
+ "handler": "./cli/commands/docs.js#default",
90
+ "flags": [
91
+ {
92
+ "name": "json",
93
+ "type": "boolean",
94
+ "default": false,
95
+ "description": "Output as JSON"
96
+ }
97
+ ],
98
+ "examples": [
99
+ "impact docs # Doc impact",
100
+ "impact docs --json # JSON output"
101
+ ],
102
+ "permissions": {
103
+ "fs": {
104
+ "read": [
105
+ "**/*"
106
+ ]
107
+ },
108
+ "quotas": {
109
+ "timeoutMs": 30000,
110
+ "memoryMb": 256
111
+ }
112
+ }
113
+ }
114
+ ]
115
+ },
116
+ "permissions": {
117
+ "fs": {
118
+ "read": [
119
+ "**/*"
120
+ ]
121
+ },
122
+ "quotas": {
123
+ "timeoutMs": 30000,
124
+ "memoryMb": 256
125
+ }
126
+ }
127
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kb-labs/impact-core",
3
3
  "description": "Core implementation of KB Labs Impact Analysis Plugin.",
4
- "version": "2.103.0",
4
+ "version": "2.105.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -23,18 +23,29 @@
23
23
  "README.md",
24
24
  "LICENSE"
25
25
  ],
26
+ "scripts": {
27
+ "build": "tsup --config tsup.config.ts",
28
+ "clean": "rimraf dist",
29
+ "dev": "tsup --config tsup.config.ts --watch",
30
+ "lint": "eslint src --ext .ts",
31
+ "lint:fix": "eslint . --fix",
32
+ "pretype-check": "pnpm --filter @kb-labs/impact-core build",
33
+ "test": "vitest run --passWithNoTests",
34
+ "test:watch": "vitest",
35
+ "type-check": "tsc --noEmit"
36
+ },
26
37
  "dependencies": {
27
- "zod": "^3.25.76",
28
- "@kb-labs/sdk": "2.22.0",
29
- "@kb-labs/impact-contracts": "2.103.0"
38
+ "@kb-labs/impact-contracts": "^2.105.0",
39
+ "@kb-labs/sdk": "workspace:*",
40
+ "zod": "^3.25.76"
30
41
  },
31
42
  "devDependencies": {
43
+ "@kb-labs/devkit": "workspace:*",
32
44
  "@types/node": "^24.3.3",
33
45
  "rimraf": "^6.0.1",
34
46
  "tsup": "^8.5.0",
35
47
  "typescript": "^5.6.3",
36
- "vitest": "^3.2.6",
37
- "@kb-labs/devkit": "2.103.0"
48
+ "vitest": "^3.2.6"
38
49
  },
39
50
  "engines": {
40
51
  "node": ">=20.0.0",
@@ -43,16 +54,5 @@
43
54
  "kb": {
44
55
  "manifest": "./dist/manifest.v3.js"
45
56
  },
46
- "sideEffects": false,
47
- "scripts": {
48
- "build": "tsup --config tsup.config.ts",
49
- "clean": "rimraf dist",
50
- "dev": "tsup --config tsup.config.ts --watch",
51
- "lint": "eslint src --ext .ts",
52
- "lint:fix": "eslint . --fix",
53
- "pretype-check": "pnpm --filter @kb-labs/impact-core build",
54
- "test": "vitest run --passWithNoTests",
55
- "test:watch": "vitest",
56
- "type-check": "tsc --noEmit"
57
- }
58
- }
57
+ "sideEffects": false
58
+ }