@angular-modernizer/adapter-mcp 1.2.0 → 2.1.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/CHANGELOG.md +688 -0
- package/README.md +84 -445
- package/dist/cli.js +9 -1
- package/dist/core/project-analyzer.js +2 -2
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -0
- package/dist/scan-host/scan-host.d.ts +7 -0
- package/dist/scan-host/scan-host.js +73 -10
- package/dist/scan-host/scan-protocol.d.ts +2 -0
- package/dist/scan-host/scan-worker.js +14 -8
- package/dist/server/limited-stdio-transport.d.ts +6 -3
- package/dist/server/limited-stdio-transport.js +26 -9
- package/dist/server/mcp-server.js +1 -1
- package/dist/server/sdk-server.d.ts +14 -3
- package/dist/server/sdk-server.js +54 -6
- package/dist/server/tool-registry.d.ts +3 -1
- package/dist/server/tool-registry.js +8 -3
- package/dist/streaming/progress-store.d.ts +19 -7
- package/dist/streaming/progress-store.js +19 -8
- package/dist/tools/analyze-build-impact.d.ts +7 -4
- package/dist/tools/analyze-build-impact.js +8 -3
- package/dist/tools/analyze-core-to-shared.d.ts +10 -6
- package/dist/tools/analyze-core-to-shared.js +63 -60
- package/dist/tools/analyze-parser-performance.d.ts +57 -13
- package/dist/tools/analyze-parser-performance.js +67 -6
- package/dist/tools/analyze-project.d.ts +55 -4
- package/dist/tools/analyze-project.js +104 -15
- package/dist/tools/check-incremental-compatibility.d.ts +30 -41
- package/dist/tools/check-incremental-compatibility.js +32 -264
- package/dist/tools/collect-feedback.js +15 -2
- package/dist/tools/compare-health.d.ts +40 -4
- package/dist/tools/compare-health.js +22 -5
- package/dist/tools/extract-libraries.js +42 -27
- package/dist/tools/find-angular-symbol.js +3 -2
- package/dist/tools/find-component-hosts.js +3 -2
- package/dist/tools/find-usages.js +21 -12
- package/dist/tools/get-call-graph.js +15 -2
- package/dist/tools/get-operation-progress-tool.d.ts +1 -1
- package/dist/tools/get-operation-progress-tool.js +2 -2
- package/dist/tools/get-operation-progress.d.ts +4 -1
- package/dist/tools/get-operation-progress.js +6 -2
- package/dist/tools/helpers/analysis-output.d.ts +32 -1
- package/dist/tools/helpers/analysis-output.js +25 -1
- package/dist/tools/helpers/build-cache.d.ts +27 -0
- package/dist/tools/helpers/build-cache.js +86 -0
- package/dist/tools/helpers/class-filter.d.ts +18 -0
- package/dist/tools/helpers/class-filter.js +30 -0
- package/dist/tools/helpers/cli-arguments.d.ts +23 -0
- package/dist/tools/helpers/cli-arguments.js +35 -0
- package/dist/tools/helpers/feedback-catalog.d.ts +38 -0
- package/dist/tools/helpers/feedback-catalog.js +196 -0
- package/dist/tools/helpers/feedback-sidecar.d.ts +201 -0
- package/dist/tools/helpers/feedback-sidecar.js +381 -0
- package/dist/tools/helpers/file-type-check.d.ts +34 -0
- package/dist/tools/helpers/file-type-check.js +56 -0
- package/dist/tools/helpers/health-delta.d.ts +6 -0
- package/dist/tools/helpers/health-delta.js +4 -1
- package/dist/tools/helpers/library-import-warning.d.ts +33 -0
- package/dist/tools/helpers/library-import-warning.js +38 -0
- package/dist/tools/helpers/library-imports.d.ts +38 -14
- package/dist/tools/helpers/library-imports.js +128 -23
- package/dist/tools/helpers/output-contract.d.ts +64 -0
- package/dist/tools/helpers/output-contract.js +67 -0
- package/dist/tools/helpers/pattern-anonymizer.d.ts +27 -0
- package/dist/tools/helpers/pattern-anonymizer.js +159 -0
- package/dist/tools/helpers/project-cache.d.ts +5 -4
- package/dist/tools/helpers/project-cache.js +21 -16
- package/dist/tools/helpers/project-decorators.d.ts +11 -4
- package/dist/tools/helpers/project-decorators.js +13 -6
- package/dist/tools/helpers/refresh-apply.d.ts +94 -0
- package/dist/tools/helpers/refresh-apply.js +460 -0
- package/dist/tools/helpers/refresh-inventory.d.ts +106 -0
- package/dist/tools/helpers/refresh-inventory.js +631 -0
- package/dist/tools/helpers/rule-runner.js +3 -1
- package/dist/tools/helpers/scan-cache.d.ts +117 -5
- package/dist/tools/helpers/scan-cache.js +179 -6
- package/dist/tools/helpers/scan-engine.d.ts +43 -6
- package/dist/tools/helpers/scan-engine.js +141 -22
- package/dist/tools/helpers/scan-plan.js +16 -2
- package/dist/tools/helpers/source-map-loader.d.ts +55 -0
- package/dist/tools/helpers/source-map-loader.js +226 -0
- package/dist/tools/helpers/template-check.d.ts +76 -0
- package/dist/tools/helpers/template-check.js +158 -0
- package/dist/tools/helpers/tool-cache.d.ts +7 -2
- package/dist/tools/helpers/tool-cache.js +9 -3
- package/dist/tools/helpers/tool-context.d.ts +18 -0
- package/dist/tools/helpers/tool-context.js +29 -0
- package/dist/tools/helpers/transform-safety.d.ts +151 -1
- package/dist/tools/helpers/transform-safety.js +357 -4
- package/dist/tools/inspect-form-group.js +5 -0
- package/dist/tools/inspect-i18n.d.ts +1 -1
- package/dist/tools/inspect-template.js +8 -2
- package/dist/tools/learn-patterns.d.ts +43 -28
- package/dist/tools/learn-patterns.js +83 -161
- package/dist/tools/list-imports.d.ts +1 -1
- package/dist/tools/orchestrate-migration.d.ts +19 -1
- package/dist/tools/orchestrate-migration.js +52 -10
- package/dist/tools/parse-stack-trace.d.ts +48 -1
- package/dist/tools/parse-stack-trace.js +108 -9
- package/dist/tools/plan-migration.js +22 -10
- package/dist/tools/refresh-state.d.ts +378 -0
- package/dist/tools/refresh-state.js +370 -0
- package/dist/tools/resolve-type.js +10 -3
- package/dist/tools/review-feedback.d.ts +42 -7
- package/dist/tools/review-feedback.js +24 -17
- package/dist/tools/rollback-changes.d.ts +5 -0
- package/dist/tools/rollback-changes.js +7 -2
- package/dist/tools/run-angular-cli.js +36 -22
- package/dist/tools/run-build.d.ts +33 -28
- package/dist/tools/run-build.js +136 -438
- package/dist/tools/run-schematic.d.ts +8 -2
- package/dist/tools/run-schematic.js +80 -50
- package/dist/tools/scan-all.d.ts +37 -15
- package/dist/tools/scan-all.js +76 -115
- package/dist/tools/scan-angular.d.ts +33 -14
- package/dist/tools/scan-angular.js +77 -94
- package/dist/tools/scan-architecture.d.ts +37 -12
- package/dist/tools/scan-architecture.js +220 -139
- package/dist/tools/scan-solid.d.ts +33 -14
- package/dist/tools/scan-solid.js +80 -91
- package/dist/tools/search-codebase.d.ts +6 -1
- package/dist/tools/search-codebase.js +13 -7
- package/dist/tools/suggest-improvements.d.ts +34 -3
- package/dist/tools/suggest-improvements.js +34 -9
- package/dist/tools/trace-output-flow.js +3 -2
- package/dist/tools/transform-code-batch.d.ts +9 -9
- package/dist/tools/transform-code.d.ts +161 -12
- package/dist/tools/transform-code.js +715 -206
- package/dist/tools/validate-before-transform.js +2 -1
- package/dist/tools/validate-project-compatibility.d.ts +28 -55
- package/dist/tools/validate-project-compatibility.js +33 -225
- package/dist/tools/validate-transformation.d.ts +40 -26
- package/dist/tools/validate-transformation.js +115 -294
- package/dist/tools/verify-citations.js +8 -2
- package/dist/types.d.ts +9 -9
- package/dist/utils/format-tool-response.d.ts +3 -1
- package/dist/utils/format-tool-response.js +8 -3
- package/package.json +14 -13
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import { type MCPTool, type ToolAnnotations } from '../types.js';
|
|
2
|
+
import { type InventoryOptions, type RefreshItem, type RefreshRetention, type StoreReport } from './helpers/refresh-inventory.js';
|
|
3
|
+
import { type MarkedItem, type RefreshPart, type RemovedItem, type SkippedItem } from './helpers/refresh-apply.js';
|
|
4
|
+
import { type ToolCatalogProvider } from './helpers/feedback-catalog.js';
|
|
5
|
+
/** Totals over all listed items of refresh-state. */
|
|
6
|
+
export interface RefreshCounts {
|
|
7
|
+
/** Listed items. */
|
|
8
|
+
items: number;
|
|
9
|
+
/** Bytes of the listed items. */
|
|
10
|
+
bytes: number;
|
|
11
|
+
/** Listed items per reason. */
|
|
12
|
+
byReason: Record<string, number>;
|
|
13
|
+
}
|
|
14
|
+
/** Result of refresh-state in report mode. */
|
|
15
|
+
export interface RefreshStateOutput {
|
|
16
|
+
/** Mode that ran. */
|
|
17
|
+
mode: 'report';
|
|
18
|
+
/** Id to pass to `mode: 'apply'`; valid until `expiresAt`. */
|
|
19
|
+
planId: string;
|
|
20
|
+
/** When the plan expires (ISO). */
|
|
21
|
+
expiresAt: string;
|
|
22
|
+
/** Real path of the project root. */
|
|
23
|
+
projectRoot: string;
|
|
24
|
+
/** Time of the inventory (ISO). */
|
|
25
|
+
generatedAt: string;
|
|
26
|
+
/** Retention used for backup groups and snapshot refs. */
|
|
27
|
+
retention: RefreshRetention;
|
|
28
|
+
/** One entry per store. */
|
|
29
|
+
stores: StoreReport[];
|
|
30
|
+
/** Stale, orphaned or duplicated items (dropped with `summaryOnly`, cut by `maxResults`). */
|
|
31
|
+
items?: RefreshItem[];
|
|
32
|
+
/** Whether `maxResults` cut `items`. */
|
|
33
|
+
truncated?: boolean;
|
|
34
|
+
/** Totals over all listed items. */
|
|
35
|
+
counts: RefreshCounts;
|
|
36
|
+
/** Short text: one line per store, then the first items. */
|
|
37
|
+
summary: string;
|
|
38
|
+
}
|
|
39
|
+
/** Result of refresh-state in apply mode. */
|
|
40
|
+
export interface RefreshApplyOutput {
|
|
41
|
+
/** Mode that ran. */
|
|
42
|
+
mode: 'apply';
|
|
43
|
+
/** Real path of the project root. */
|
|
44
|
+
projectRoot: string;
|
|
45
|
+
/** Time of the apply (ISO). */
|
|
46
|
+
generatedAt: string;
|
|
47
|
+
/** Plan that was applied (used up). */
|
|
48
|
+
planId: string;
|
|
49
|
+
/** Parts acted on. */
|
|
50
|
+
parts: RefreshPart[];
|
|
51
|
+
/** Removed items (dropped with `summaryOnly`, cut by `maxResults`). */
|
|
52
|
+
removed?: RemovedItem[];
|
|
53
|
+
/** Feedback session files whose records the sidecar marks now (dropped with `summaryOnly`, cut by `maxResults`). */
|
|
54
|
+
marked?: MarkedItem[];
|
|
55
|
+
/** Planned items of these parts that stayed, with the cause (dropped with `summaryOnly`, cut by `maxResults`). */
|
|
56
|
+
skipped?: SkippedItem[];
|
|
57
|
+
/** Whether `maxResults` cut `removed`, `marked` or `skipped`. */
|
|
58
|
+
truncated?: boolean;
|
|
59
|
+
/** Totals over the removed items. */
|
|
60
|
+
counts: RefreshCounts & {
|
|
61
|
+
/** Feedback items marked in the sidecar. */
|
|
62
|
+
marked: number;
|
|
63
|
+
/** Records the sidecar marks in those session files. */
|
|
64
|
+
markedRecords: number;
|
|
65
|
+
/** Planned items that stayed. */
|
|
66
|
+
skipped: number;
|
|
67
|
+
/** Stayed items per cause. */
|
|
68
|
+
skippedByCause: Record<string, number>;
|
|
69
|
+
};
|
|
70
|
+
/** Short text: totals, then the first removed and skipped items. */
|
|
71
|
+
summary: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* MCP tool that reports the platform state kept in a target project: what is stale, orphaned or duplicated in the
|
|
75
|
+
* scan caches, legacy cache layouts, transform backups, snapshot refs, feedback sessions and the NGM-CACHE block.
|
|
76
|
+
* `mode: 'apply'` removes the cache, backup and snapshot ref items of an earlier report that are still unchanged and
|
|
77
|
+
* marks the listed feedback records in `.claude-feedback/index/consolidated.json`; nothing else is changed.
|
|
78
|
+
*/
|
|
79
|
+
export declare class RefreshStateTool implements MCPTool {
|
|
80
|
+
private readonly inventoryOptions;
|
|
81
|
+
private readonly toolCatalog?;
|
|
82
|
+
name: string;
|
|
83
|
+
title: string;
|
|
84
|
+
annotations: ToolAnnotations;
|
|
85
|
+
description: string;
|
|
86
|
+
/**
|
|
87
|
+
* JSON Schema of the tool arguments.
|
|
88
|
+
* @hidden
|
|
89
|
+
*/
|
|
90
|
+
inputSchema: {
|
|
91
|
+
type: string;
|
|
92
|
+
additionalProperties: boolean;
|
|
93
|
+
properties: {
|
|
94
|
+
summaryOnly: {
|
|
95
|
+
readonly type: "boolean";
|
|
96
|
+
readonly description: "Return counts and the text summary only, without the result list. Default: false.";
|
|
97
|
+
readonly default: false;
|
|
98
|
+
};
|
|
99
|
+
maxResults: {
|
|
100
|
+
readonly type: "number";
|
|
101
|
+
readonly description: string;
|
|
102
|
+
};
|
|
103
|
+
projectRoot: {
|
|
104
|
+
type: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
mode: {
|
|
108
|
+
type: string;
|
|
109
|
+
enum: string[];
|
|
110
|
+
default: string;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
planId: {
|
|
114
|
+
type: string;
|
|
115
|
+
description: string;
|
|
116
|
+
};
|
|
117
|
+
parts: {
|
|
118
|
+
type: string;
|
|
119
|
+
items: {
|
|
120
|
+
type: string;
|
|
121
|
+
enum: RefreshPart[];
|
|
122
|
+
};
|
|
123
|
+
minItems: number;
|
|
124
|
+
uniqueItems: boolean;
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
retentionDays: {
|
|
128
|
+
type: string;
|
|
129
|
+
minimum: number;
|
|
130
|
+
default: number;
|
|
131
|
+
description: string;
|
|
132
|
+
};
|
|
133
|
+
keepNewest: {
|
|
134
|
+
type: string;
|
|
135
|
+
minimum: number;
|
|
136
|
+
default: number;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* JSON Schema of the tool result (`structuredContent`).
|
|
143
|
+
* @hidden
|
|
144
|
+
*/
|
|
145
|
+
outputSchema: {
|
|
146
|
+
type: string;
|
|
147
|
+
properties: {
|
|
148
|
+
mode: {
|
|
149
|
+
type: string;
|
|
150
|
+
enum: string[];
|
|
151
|
+
};
|
|
152
|
+
projectRoot: {
|
|
153
|
+
type: string;
|
|
154
|
+
};
|
|
155
|
+
generatedAt: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
planId: {
|
|
159
|
+
type: string;
|
|
160
|
+
};
|
|
161
|
+
expiresAt: {
|
|
162
|
+
type: string;
|
|
163
|
+
};
|
|
164
|
+
parts: {
|
|
165
|
+
type: string;
|
|
166
|
+
items: {
|
|
167
|
+
type: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
removed: {
|
|
171
|
+
type: string;
|
|
172
|
+
items: {
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly properties: {
|
|
175
|
+
readonly store: {
|
|
176
|
+
readonly type: "string";
|
|
177
|
+
};
|
|
178
|
+
readonly reason: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
};
|
|
181
|
+
readonly path: {
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
};
|
|
184
|
+
readonly bytes: {
|
|
185
|
+
readonly type: "integer";
|
|
186
|
+
};
|
|
187
|
+
readonly cause: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
};
|
|
190
|
+
readonly detail: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly required: readonly ["store", "reason", "path"];
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
marked: {
|
|
198
|
+
type: string;
|
|
199
|
+
items: {
|
|
200
|
+
readonly type: "object";
|
|
201
|
+
readonly properties: {
|
|
202
|
+
readonly store: {
|
|
203
|
+
readonly type: "string";
|
|
204
|
+
};
|
|
205
|
+
readonly reason: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
};
|
|
208
|
+
readonly path: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
};
|
|
211
|
+
readonly records: {
|
|
212
|
+
readonly type: "integer";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
readonly required: readonly ["store", "reason", "path", "records"];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
skipped: {
|
|
219
|
+
type: string;
|
|
220
|
+
items: {
|
|
221
|
+
readonly type: "object";
|
|
222
|
+
readonly properties: {
|
|
223
|
+
readonly store: {
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
};
|
|
226
|
+
readonly reason: {
|
|
227
|
+
readonly type: "string";
|
|
228
|
+
};
|
|
229
|
+
readonly path: {
|
|
230
|
+
readonly type: "string";
|
|
231
|
+
};
|
|
232
|
+
readonly bytes: {
|
|
233
|
+
readonly type: "integer";
|
|
234
|
+
};
|
|
235
|
+
readonly cause: {
|
|
236
|
+
readonly type: "string";
|
|
237
|
+
};
|
|
238
|
+
readonly detail: {
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
readonly required: readonly ["store", "reason", "path"];
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
retention: {
|
|
246
|
+
type: string;
|
|
247
|
+
properties: {
|
|
248
|
+
days: {
|
|
249
|
+
type: string;
|
|
250
|
+
};
|
|
251
|
+
keepNewest: {
|
|
252
|
+
type: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
required: string[];
|
|
256
|
+
};
|
|
257
|
+
stores: {
|
|
258
|
+
type: string;
|
|
259
|
+
items: {
|
|
260
|
+
readonly type: "object";
|
|
261
|
+
readonly properties: {
|
|
262
|
+
readonly store: {
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
};
|
|
265
|
+
readonly present: {
|
|
266
|
+
readonly type: "boolean";
|
|
267
|
+
};
|
|
268
|
+
readonly entries: {
|
|
269
|
+
readonly type: "integer";
|
|
270
|
+
};
|
|
271
|
+
readonly bytes: {
|
|
272
|
+
readonly type: "integer";
|
|
273
|
+
};
|
|
274
|
+
readonly listed: {
|
|
275
|
+
readonly type: "integer";
|
|
276
|
+
};
|
|
277
|
+
readonly listedBytes: {
|
|
278
|
+
readonly type: "integer";
|
|
279
|
+
};
|
|
280
|
+
readonly newestAgeDays: {
|
|
281
|
+
readonly type: "integer";
|
|
282
|
+
};
|
|
283
|
+
readonly oldestAgeDays: {
|
|
284
|
+
readonly type: "integer";
|
|
285
|
+
};
|
|
286
|
+
readonly note: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
readonly required: readonly ["store", "present", "entries", "bytes", "listed", "listedBytes"];
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
items: {
|
|
294
|
+
type: string;
|
|
295
|
+
items: {
|
|
296
|
+
readonly type: "object";
|
|
297
|
+
readonly properties: {
|
|
298
|
+
readonly store: {
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
};
|
|
301
|
+
readonly reason: {
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
};
|
|
304
|
+
readonly action: {
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
readonly enum: readonly ["remove", "mark", "regenerate"];
|
|
307
|
+
};
|
|
308
|
+
readonly path: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
};
|
|
311
|
+
readonly bytes: {
|
|
312
|
+
readonly type: "integer";
|
|
313
|
+
};
|
|
314
|
+
readonly ageDays: {
|
|
315
|
+
readonly type: "integer";
|
|
316
|
+
};
|
|
317
|
+
readonly detail: {
|
|
318
|
+
readonly type: "string";
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
readonly required: readonly ["store", "reason", "action", "path", "bytes"];
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
truncated: {
|
|
325
|
+
type: string;
|
|
326
|
+
};
|
|
327
|
+
counts: {
|
|
328
|
+
type: string;
|
|
329
|
+
properties: {
|
|
330
|
+
items: {
|
|
331
|
+
type: string;
|
|
332
|
+
};
|
|
333
|
+
bytes: {
|
|
334
|
+
type: string;
|
|
335
|
+
};
|
|
336
|
+
byReason: {
|
|
337
|
+
type: string;
|
|
338
|
+
additionalProperties: {
|
|
339
|
+
type: string;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
skipped: {
|
|
343
|
+
type: string;
|
|
344
|
+
};
|
|
345
|
+
marked: {
|
|
346
|
+
type: string;
|
|
347
|
+
};
|
|
348
|
+
markedRecords: {
|
|
349
|
+
type: string;
|
|
350
|
+
};
|
|
351
|
+
skippedByCause: {
|
|
352
|
+
type: string;
|
|
353
|
+
additionalProperties: {
|
|
354
|
+
type: string;
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
required: string[];
|
|
359
|
+
};
|
|
360
|
+
summary: {
|
|
361
|
+
type: string;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
required: string[];
|
|
365
|
+
};
|
|
366
|
+
/** Plans handed out by reports of this instance. */
|
|
367
|
+
private readonly plans;
|
|
368
|
+
/**
|
|
369
|
+
* @param inventoryOptions clock and git for tests
|
|
370
|
+
* @param toolCatalog tools the server registers (feedback records of other tools count as outdated); without it
|
|
371
|
+
* tools are not checked
|
|
372
|
+
*/
|
|
373
|
+
constructor(inventoryOptions?: Pick<InventoryOptions, 'now' | 'git'>, toolCatalog?: ToolCatalogProvider | undefined);
|
|
374
|
+
execute(args: Record<string, unknown>): Promise<RefreshStateOutput | RefreshApplyOutput>;
|
|
375
|
+
private report;
|
|
376
|
+
private apply;
|
|
377
|
+
}
|
|
378
|
+
//# sourceMappingURL=refresh-state.d.ts.map
|