@open-agent-toolkit/cli 0.2.63 → 0.2.64
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/assets/bundle-metadata.json +1 -1
- package/assets/docs/cli-utilities/tool-packs.md +83 -0
- package/assets/docs/contributing/skills.md +42 -7
- package/assets/docs/provider-sync/manifest-and-drift.md +105 -0
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/create-agnostic-skill/SKILL.md +9 -7
- package/assets/skills/create-agnostic-skill/references/skill-template.md +9 -7
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +1 -0
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +1 -0
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +1 -0
- package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +1 -0
- package/assets/skills/oat-project-pr-final/SKILL.md +281 -6
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +1 -0
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +1 -0
- package/dist/agents/canonical/resolve.d.ts.map +1 -1
- package/dist/agents/canonical/resolve.js +25 -4
- package/dist/commands/doctor/index.d.ts +7 -0
- package/dist/commands/doctor/index.d.ts.map +1 -1
- package/dist/commands/doctor/index.js +10 -2
- package/dist/commands/init/tools/index.d.ts.map +1 -1
- package/dist/commands/init/tools/index.js +68 -36
- package/dist/commands/shared/frontmatter.d.ts +51 -0
- package/dist/commands/shared/frontmatter.d.ts.map +1 -1
- package/dist/commands/shared/frontmatter.js +118 -6
- package/dist/commands/status/index.d.ts.map +1 -1
- package/dist/commands/status/index.js +5 -3
- package/dist/commands/sync/index.d.ts +14 -0
- package/dist/commands/sync/index.d.ts.map +1 -1
- package/dist/commands/sync/index.js +21 -0
- package/dist/commands/tools/info/index.d.ts.map +1 -1
- package/dist/commands/tools/info/index.js +14 -1
- package/dist/commands/tools/info/info-tool.d.ts +12 -0
- package/dist/commands/tools/info/info-tool.d.ts.map +1 -1
- package/dist/commands/tools/info/info-tool.js +54 -6
- package/dist/commands/tools/info/skill-views.d.ts +86 -0
- package/dist/commands/tools/info/skill-views.d.ts.map +1 -0
- package/dist/commands/tools/info/skill-views.js +383 -0
- package/dist/commands/tools/install/index.d.ts.map +1 -1
- package/dist/commands/tools/install/index.js +3 -25
- package/dist/commands/tools/list/list-tools.d.ts +2 -0
- package/dist/commands/tools/list/list-tools.d.ts.map +1 -1
- package/dist/commands/tools/list/list-tools.js +23 -4
- package/dist/commands/tools/remove/index.d.ts.map +1 -1
- package/dist/commands/tools/remove/index.js +35 -42
- package/dist/commands/tools/remove/remove-tools.d.ts +3 -2
- package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -1
- package/dist/commands/tools/remove/remove-tools.js +14 -4
- package/dist/commands/tools/shared/auto-sync.d.ts +12 -1
- package/dist/commands/tools/shared/auto-sync.d.ts.map +1 -1
- package/dist/commands/tools/shared/auto-sync.js +20 -4
- package/dist/commands/tools/shared/format-pack-inventory.d.ts +12 -1
- package/dist/commands/tools/shared/format-pack-inventory.d.ts.map +1 -1
- package/dist/commands/tools/shared/format-pack-inventory.js +48 -6
- package/dist/commands/tools/shared/in-process-sync.d.ts +11 -0
- package/dist/commands/tools/shared/in-process-sync.d.ts.map +1 -0
- package/dist/commands/tools/shared/in-process-sync.js +79 -0
- package/dist/commands/tools/shared/pack-evidence.d.ts +78 -2
- package/dist/commands/tools/shared/pack-evidence.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-evidence.js +96 -2
- package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts +11 -0
- package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-lifecycle-outcome.js +24 -3
- package/dist/commands/tools/shared/pack-provider-evidence.d.ts +73 -0
- package/dist/commands/tools/shared/pack-provider-evidence.d.ts.map +1 -0
- package/dist/commands/tools/shared/pack-provider-evidence.js +161 -0
- package/dist/commands/tools/shared/provider-context.d.ts +88 -0
- package/dist/commands/tools/shared/provider-context.d.ts.map +1 -0
- package/dist/commands/tools/shared/provider-context.js +77 -0
- package/dist/commands/tools/shared/provider-reachability.d.ts +93 -0
- package/dist/commands/tools/shared/provider-reachability.d.ts.map +1 -0
- package/dist/commands/tools/shared/provider-reachability.js +358 -0
- package/dist/commands/tools/shared/sync-evidence.d.ts +57 -0
- package/dist/commands/tools/shared/sync-evidence.d.ts.map +1 -0
- package/dist/commands/tools/shared/sync-evidence.js +147 -0
- package/dist/commands/tools/update/index.d.ts +0 -4
- package/dist/commands/tools/update/index.d.ts.map +1 -1
- package/dist/commands/tools/update/index.js +22 -40
- package/dist/commands/tools/update/update-tools.d.ts.map +1 -1
- package/dist/commands/tools/update/update-tools.js +23 -8
- package/dist/config/json.d.ts +36 -0
- package/dist/config/json.d.ts.map +1 -1
- package/dist/config/json.js +135 -3
- package/dist/drift/index.d.ts +2 -0
- package/dist/drift/index.d.ts.map +1 -1
- package/dist/drift/index.js +1 -0
- package/dist/drift/skill-view-diagnostic.d.ts +197 -0
- package/dist/drift/skill-view-diagnostic.d.ts.map +1 -0
- package/dist/drift/skill-view-diagnostic.js +343 -0
- package/dist/validation/skills.d.ts +1 -0
- package/dist/validation/skills.d.ts.map +1 -1
- package/dist/validation/skills.js +181 -19
- package/package.json +2 -2
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
export function emptySyncRunEvidence(scope) {
|
|
2
|
+
return {
|
|
3
|
+
scope,
|
|
4
|
+
ran: false,
|
|
5
|
+
failedOperations: 0,
|
|
6
|
+
operationResults: [],
|
|
7
|
+
extensionResults: [],
|
|
8
|
+
refreshAdvice: [],
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function asRecord(value) {
|
|
12
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value)
|
|
13
|
+
? value
|
|
14
|
+
: null;
|
|
15
|
+
}
|
|
16
|
+
function asArray(value) {
|
|
17
|
+
return Array.isArray(value) ? value : [];
|
|
18
|
+
}
|
|
19
|
+
function asString(value) {
|
|
20
|
+
return typeof value === 'string' ? value : undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Normalizes a captured sync JSON payload into reachability inputs.
|
|
24
|
+
*
|
|
25
|
+
* Defensive rather than trusting: the payload shape is owned by the sync
|
|
26
|
+
* command, so an absent or renamed field degrades to "no evidence" instead of
|
|
27
|
+
* throwing inside a lifecycle operation that already succeeded.
|
|
28
|
+
*/
|
|
29
|
+
export function normalizeSyncEvidence(scope, payload) {
|
|
30
|
+
const record = asRecord(payload);
|
|
31
|
+
if (record === null)
|
|
32
|
+
return { ...emptySyncRunEvidence(scope), ran: true };
|
|
33
|
+
const summary = asRecord(record.summary);
|
|
34
|
+
const failedOperations = typeof summary?.failed === 'number' ? summary.failed : 0;
|
|
35
|
+
const operationResults = asArray(record.operationResults).flatMap((entry) => {
|
|
36
|
+
const operation = asRecord(entry);
|
|
37
|
+
const provider = asString(operation?.provider);
|
|
38
|
+
const status = asString(operation?.status);
|
|
39
|
+
// `contentKind` is required on the same footing as `provider` and
|
|
40
|
+
// `status`: defaulting it would let an operation of unknown kind be
|
|
41
|
+
// attributed to a skill row it never touched. An absent field is
|
|
42
|
+
// dropped rather than guessed.
|
|
43
|
+
const contentKind = asString(operation?.contentKind);
|
|
44
|
+
if (!operation ||
|
|
45
|
+
provider === undefined ||
|
|
46
|
+
status === undefined ||
|
|
47
|
+
contentKind === undefined) {
|
|
48
|
+
return [];
|
|
49
|
+
}
|
|
50
|
+
return [
|
|
51
|
+
{
|
|
52
|
+
provider,
|
|
53
|
+
scope: asString(operation.scope) ?? scope,
|
|
54
|
+
contentKind: contentKind,
|
|
55
|
+
asset: asString(operation.asset) ?? '',
|
|
56
|
+
status: status,
|
|
57
|
+
...(asString(operation.failure) !== undefined
|
|
58
|
+
? { failure: asString(operation.failure) }
|
|
59
|
+
: {}),
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
});
|
|
63
|
+
const extensionResults = asArray(record.materializationExtensions).flatMap((entry) => {
|
|
64
|
+
const extension = asRecord(entry);
|
|
65
|
+
const provider = asString(extension?.provider);
|
|
66
|
+
if (!extension || provider === undefined)
|
|
67
|
+
return [];
|
|
68
|
+
return asArray(extension.operationResults ?? extension.operations).flatMap((candidate) => {
|
|
69
|
+
const operation = asRecord(candidate);
|
|
70
|
+
const status = asString(operation?.status);
|
|
71
|
+
if (!operation || status === undefined)
|
|
72
|
+
return [];
|
|
73
|
+
return [
|
|
74
|
+
{
|
|
75
|
+
provider,
|
|
76
|
+
scope: asString(extension.scope) ?? scope,
|
|
77
|
+
// Extension operations carry no canonical content kind; the
|
|
78
|
+
// registered extensions materialize agent roles.
|
|
79
|
+
contentKind: 'agent',
|
|
80
|
+
...(asString(operation.target) !== undefined
|
|
81
|
+
? { target: asString(operation.target) }
|
|
82
|
+
: {}),
|
|
83
|
+
...(asString(operation.path) !== undefined
|
|
84
|
+
? { path: asString(operation.path) }
|
|
85
|
+
: {}),
|
|
86
|
+
status: status,
|
|
87
|
+
...(asString(operation.failure) !== undefined
|
|
88
|
+
? { failure: asString(operation.failure) }
|
|
89
|
+
: {}),
|
|
90
|
+
},
|
|
91
|
+
];
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
const refreshAdvice = asArray(record.providerRefreshAdvice).flatMap((entry) => {
|
|
95
|
+
const advice = asRecord(entry);
|
|
96
|
+
const provider = asString(advice?.provider);
|
|
97
|
+
const contentKind = asString(advice?.contentKind);
|
|
98
|
+
if (!advice || provider === undefined || contentKind === undefined) {
|
|
99
|
+
return [];
|
|
100
|
+
}
|
|
101
|
+
const visibility = asRecord(advice.visibility);
|
|
102
|
+
return [
|
|
103
|
+
{
|
|
104
|
+
provider,
|
|
105
|
+
scope: asString(advice.scope) ?? scope,
|
|
106
|
+
contentKind: contentKind,
|
|
107
|
+
...(visibility
|
|
108
|
+
? {
|
|
109
|
+
visibility: {
|
|
110
|
+
...(asString(visibility.state) !== undefined
|
|
111
|
+
? { state: asString(visibility.state) }
|
|
112
|
+
: {}),
|
|
113
|
+
...(asString(visibility.reason) !== undefined
|
|
114
|
+
? { reason: asString(visibility.reason) }
|
|
115
|
+
: {}),
|
|
116
|
+
...(asRecord(visibility.policy)
|
|
117
|
+
? {
|
|
118
|
+
policy: visibility.policy,
|
|
119
|
+
}
|
|
120
|
+
: {}),
|
|
121
|
+
},
|
|
122
|
+
}
|
|
123
|
+
: {}),
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
});
|
|
127
|
+
return {
|
|
128
|
+
scope,
|
|
129
|
+
ran: true,
|
|
130
|
+
failedOperations,
|
|
131
|
+
operationResults,
|
|
132
|
+
extensionResults,
|
|
133
|
+
refreshAdvice,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Builds a refresh-policy lookup from observed sync advice.
|
|
138
|
+
*
|
|
139
|
+
* Returns `undefined` for a provider the run reported nothing about, so the
|
|
140
|
+
* mapper falls back to the registered registry policy rather than inventing
|
|
141
|
+
* one.
|
|
142
|
+
*/
|
|
143
|
+
export function refreshPolicyFromAdvice(advice) {
|
|
144
|
+
return ({ provider, scope, contentKind }) => advice.find((candidate) => candidate.provider === provider &&
|
|
145
|
+
candidate.scope === scope &&
|
|
146
|
+
candidate.contentKind === contentKind)?.visibility?.policy;
|
|
147
|
+
}
|
|
@@ -2,10 +2,6 @@ import { type AutoSyncDependencies } from '../../tools/shared/auto-sync.js';
|
|
|
2
2
|
import type { ToolInfo } from '../../tools/shared/types.js';
|
|
3
3
|
import { Command } from 'commander';
|
|
4
4
|
import { type UpdateTarget, type UpdateResult, type UpdateToolsDependencies } from './update-tools.js';
|
|
5
|
-
export declare function buildSyncSubprocessArgs(entrypoint: string, execArgv: string[], options: {
|
|
6
|
-
cwd: string;
|
|
7
|
-
scope: 'project' | 'user';
|
|
8
|
-
}): string[];
|
|
9
5
|
export declare function createToolsUpdateCommand(dependencies?: UpdateToolsDependencies, syncDependencies?: AutoSyncDependencies): Command;
|
|
10
6
|
/**
|
|
11
7
|
* @internal Exported for focused unit coverage. Current/newer workflow tools
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/update/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/update/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,kCAAkC,CAAC;AAa1C,OAAO,KAAK,EAAY,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAKvE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAG7B,MAAM,gBAAgB,CAAC;AAgCxB,wBAAgB,wBAAwB,CACtC,YAAY,GAAE,uBAA6C,EAC3D,gBAAgB,GAAE,oBAA8C,GAC/D,OAAO,CAkPT;AAuDD;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAS7E;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,MAAM,EAAE,YAAY,GACnB,OAAO,CAOT;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,OAAO,GACd,MAAM,CAMR"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { execFile } from 'node:child_process';
|
|
2
1
|
import { chmod } from 'node:fs/promises';
|
|
3
2
|
import { join } from 'node:path';
|
|
4
3
|
import { buildCommandContext } from '../../../app/command-context.js';
|
|
@@ -8,10 +7,13 @@ import { copyDirWithStatus, copyFileWithStatus, } from '../../init/tools/shared/
|
|
|
8
7
|
import { withScopeOption } from '../../shared/scope-option.js';
|
|
9
8
|
import { readGlobalOptions, resolveConcreteScopes, } from '../../shared/shared.utils.js';
|
|
10
9
|
import { autoSync, } from '../../tools/shared/auto-sync.js';
|
|
10
|
+
import { inProcessSyncDependencies } from '../../tools/shared/in-process-sync.js';
|
|
11
11
|
import { inventoryScopedPack } from '../../tools/shared/pack-inventory.js';
|
|
12
12
|
import { reconcilePackLifecycles } from '../../tools/shared/pack-lifecycle.js';
|
|
13
|
-
import { evaluatePackLifecycleOutcome, } from '../../tools/shared/pack-lifecycle-outcome.js';
|
|
13
|
+
import { evaluatePackLifecycleOutcome, providerSyncOutcomeFromAutoSync, } from '../../tools/shared/pack-lifecycle-outcome.js';
|
|
14
|
+
import { withLifecycleProviderEvidence } from '../../tools/shared/pack-provider-evidence.js';
|
|
14
15
|
import { reconcileProjectToolsConfig } from '../../tools/shared/project-tools-config.js';
|
|
16
|
+
import { applySyncEvidence } from '../../tools/shared/provider-reachability.js';
|
|
15
17
|
import { scanTools } from '../../tools/shared/scan-tools.js';
|
|
16
18
|
import { readOatConfig, writeOatConfig } from '../../../config/oat-config.js';
|
|
17
19
|
import { resolveAssetsRoot } from '../../../fs/assets.js';
|
|
@@ -36,35 +38,7 @@ const defaultDependencies = {
|
|
|
36
38
|
inventoryScopedPack,
|
|
37
39
|
reconcilePacks: reconcilePackLifecycles,
|
|
38
40
|
};
|
|
39
|
-
|
|
40
|
-
// `--scope` is a per-command option on `sync` (not a global flag), so it must
|
|
41
|
-
// come AFTER the `sync` subcommand token. `--cwd` remains a global flag and
|
|
42
|
-
// can precede the subcommand.
|
|
43
|
-
return [
|
|
44
|
-
...execArgv,
|
|
45
|
-
entrypoint,
|
|
46
|
-
'--cwd',
|
|
47
|
-
options.cwd,
|
|
48
|
-
'sync',
|
|
49
|
-
'--scope',
|
|
50
|
-
options.scope,
|
|
51
|
-
];
|
|
52
|
-
}
|
|
53
|
-
const defaultSyncDependencies = {
|
|
54
|
-
runSync: async ({ scope, cwd }) => {
|
|
55
|
-
await new Promise((resolve, reject) => {
|
|
56
|
-
execFile(process.execPath, buildSyncSubprocessArgs(process.argv[1], process.execArgv, {
|
|
57
|
-
cwd,
|
|
58
|
-
scope,
|
|
59
|
-
}), { cwd: process.cwd() }, (error) => {
|
|
60
|
-
if (error)
|
|
61
|
-
reject(error);
|
|
62
|
-
else
|
|
63
|
-
resolve();
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
},
|
|
67
|
-
};
|
|
41
|
+
const defaultSyncDependencies = inProcessSyncDependencies;
|
|
68
42
|
const VALID_PACKS = [
|
|
69
43
|
'core',
|
|
70
44
|
'ideas',
|
|
@@ -270,18 +244,26 @@ function finalizeUpdateLifecycle(lifecycle, syncResults) {
|
|
|
270
244
|
const relevant = syncResults.filter(({ scopes }) => scopes.some((scope) => outcome.selection.targetScopes.includes(scope)));
|
|
271
245
|
if (relevant.length === 0)
|
|
272
246
|
return outcome;
|
|
247
|
+
const merged = {
|
|
248
|
+
synced: relevant.every(({ synced }) => synced),
|
|
249
|
+
scopes: [...new Set(relevant.flatMap(({ scopes }) => scopes))],
|
|
250
|
+
error: relevant.find(({ error }) => error)?.error ?? null,
|
|
251
|
+
evidence: relevant.flatMap(({ evidence }) => evidence),
|
|
252
|
+
};
|
|
253
|
+
// The pre-sync outcome already carries registry-derived activation and
|
|
254
|
+
// capability evidence; the sync run only refines projection and
|
|
255
|
+
// materialization, so the existing rows are re-projected rather than
|
|
256
|
+
// dropped.
|
|
257
|
+
const providers = applySyncEvidence(outcome.sync.providers, {
|
|
258
|
+
syncRan: merged.evidence.some(({ ran }) => ran),
|
|
259
|
+
syncOperationResults: merged.evidence.flatMap(({ operationResults }) => operationResults),
|
|
260
|
+
extensionResults: merged.evidence.flatMap(({ extensionResults }) => extensionResults),
|
|
261
|
+
});
|
|
273
262
|
return evaluatePackLifecycleOutcome({
|
|
274
263
|
selection: outcome.selection,
|
|
275
264
|
lifecycle: outcome.canonical.results,
|
|
276
|
-
sync:
|
|
277
|
-
|
|
278
|
-
status: relevant.every(({ synced }) => synced) ? 'complete' : 'failed',
|
|
279
|
-
providers: [],
|
|
280
|
-
...(relevant.find(({ error }) => error)?.error
|
|
281
|
-
? { error: relevant.find(({ error }) => error).error }
|
|
282
|
-
: {}),
|
|
283
|
-
},
|
|
284
|
-
finalEvidence: outcome.finalEvidence,
|
|
265
|
+
sync: providerSyncOutcomeFromAutoSync(merged, providers),
|
|
266
|
+
finalEvidence: withLifecycleProviderEvidence(outcome.finalEvidence, providers),
|
|
285
267
|
});
|
|
286
268
|
});
|
|
287
269
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tools.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/update/update-tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAM3E,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"update-tools.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/update/update-tools.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,8 +2,10 @@ import { join } from 'node:path';
|
|
|
2
2
|
import { hasScopedPackRealizationEvidence, packScopeFactsFromInventory, projectPackEvidence, } from '../../tools/shared/pack-evidence.js';
|
|
3
3
|
import { inventoryScopedPack } from '../../tools/shared/pack-inventory.js';
|
|
4
4
|
import {} from '../../tools/shared/pack-lifecycle.js';
|
|
5
|
-
import { evaluatePackLifecycleOutcome, resolveAdditivePackScopeSelection, } from '../../tools/shared/pack-lifecycle-outcome.js';
|
|
5
|
+
import { evaluatePackLifecycleOutcome, notRunProviderSyncOutcome, resolveAdditivePackScopeSelection, } from '../../tools/shared/pack-lifecycle-outcome.js';
|
|
6
6
|
import { getPackDefinition } from '../../tools/shared/pack-manifest.js';
|
|
7
|
+
import { lifecycleProviderEvidence, withLifecycleProviderEvidence, } from '../../tools/shared/pack-provider-evidence.js';
|
|
8
|
+
import { resolveProviderScopeContexts } from '../../tools/shared/provider-context.js';
|
|
7
9
|
function getBundledPackAssets(pack, scope) {
|
|
8
10
|
const assets = getPackDefinition(pack).assets.filter(({ scopes, ownership }) => scopes.includes(scope) && ownership[scope] === 'managed');
|
|
9
11
|
return {
|
|
@@ -71,7 +73,7 @@ export async function updateTools(target, scopes, cwd, home, dryRun, dependencie
|
|
|
71
73
|
return result;
|
|
72
74
|
}
|
|
73
75
|
const lifecycle = await dependencies.reconcilePacks(requests, { dryRun });
|
|
74
|
-
result.lifecycle = updateLifecycleOutcomes(lifecycle);
|
|
76
|
+
result.lifecycle = await updateLifecycleOutcomes(lifecycle);
|
|
75
77
|
result.plans.push(...lifecycle.map(({ plan }) => plan));
|
|
76
78
|
for (const entry of lifecycle) {
|
|
77
79
|
const definition = getPackDefinition(entry.request.pack);
|
|
@@ -252,9 +254,14 @@ export async function updateTools(target, scopes, cwd, home, dryRun, dependencie
|
|
|
252
254
|
}
|
|
253
255
|
return result;
|
|
254
256
|
}
|
|
255
|
-
function updateLifecycleOutcomes(results) {
|
|
257
|
+
async function updateLifecycleOutcomes(results) {
|
|
256
258
|
const verifiable = results.filter(({ apply }) => apply === null || ('inventory' in apply && apply.inventory !== undefined));
|
|
257
259
|
const packs = [...new Set(verifiable.map(({ request }) => request.pack))];
|
|
260
|
+
// Every request carries the scope root it acted on, so the config-aware
|
|
261
|
+
// provider context is resolvable without re-deriving paths here.
|
|
262
|
+
const providerContexts = await resolveProviderScopeContexts({
|
|
263
|
+
scopeRoots: Object.fromEntries(verifiable.map(({ request }) => [request.scope, request.scopeRoot])),
|
|
264
|
+
});
|
|
258
265
|
return packs.map((pack) => {
|
|
259
266
|
const lifecycle = verifiable.filter(({ request }) => request.pack === pack);
|
|
260
267
|
const requestedScopes = lifecycle.map(({ request }) => request.scope);
|
|
@@ -273,13 +280,21 @@ function updateLifecycleOutcomes(results) {
|
|
|
273
280
|
.map(({ request }) => request.scope),
|
|
274
281
|
unknownScopes: [],
|
|
275
282
|
});
|
|
283
|
+
const providers = lifecycleProviderEvidence({
|
|
284
|
+
pack,
|
|
285
|
+
scopedInventories: finalScopes,
|
|
286
|
+
providerContexts,
|
|
287
|
+
scopes: selection.targetScopes,
|
|
288
|
+
});
|
|
289
|
+
const sync = notRunProviderSyncOutcome(providers, 'Auto-sync has not run for this operation');
|
|
290
|
+
const providerEvidence = withLifecycleProviderEvidence(finalEvidence, providers);
|
|
276
291
|
if (lifecycle.every(({ apply }) => apply === null)) {
|
|
277
292
|
return {
|
|
278
293
|
schemaVersion: 1,
|
|
279
294
|
selection,
|
|
280
295
|
canonical: { status: 'unchanged', results: lifecycle },
|
|
281
|
-
sync
|
|
282
|
-
finalEvidence,
|
|
296
|
+
sync,
|
|
297
|
+
finalEvidence: providerEvidence,
|
|
283
298
|
status: 'complete',
|
|
284
299
|
recovery: [],
|
|
285
300
|
};
|
|
@@ -287,8 +302,8 @@ function updateLifecycleOutcomes(results) {
|
|
|
287
302
|
return evaluatePackLifecycleOutcome({
|
|
288
303
|
selection,
|
|
289
304
|
lifecycle,
|
|
290
|
-
sync
|
|
291
|
-
finalEvidence,
|
|
305
|
+
sync,
|
|
306
|
+
finalEvidence: providerEvidence,
|
|
292
307
|
});
|
|
293
308
|
});
|
|
294
309
|
}
|
|
@@ -305,7 +320,7 @@ export function failedUpdateLifecycleOutcomes(target, scopes, error) {
|
|
|
305
320
|
targetScopes: scopes,
|
|
306
321
|
},
|
|
307
322
|
canonical: { status: 'failed', results: [] },
|
|
308
|
-
sync:
|
|
323
|
+
sync: notRunProviderSyncOutcome([], 'Canonical apply failed before auto-sync'),
|
|
309
324
|
finalEvidence: null,
|
|
310
325
|
status: 'failed',
|
|
311
326
|
recovery: [{ code: 'canonical-apply-failed', message }],
|
package/dist/config/json.d.ts
CHANGED
|
@@ -1,2 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parse one OAT config document.
|
|
3
|
+
*
|
|
4
|
+
* This is the single parse chokepoint for every OAT config read, so the
|
|
5
|
+
* prototype question is decided here rather than in each consumer.
|
|
6
|
+
*
|
|
7
|
+
* `jsonc-parser`'s `parse` fills a plain object by assignment, and assignment
|
|
8
|
+
* to a member literally named `__proto__` reaches the legacy prototype setter.
|
|
9
|
+
* That loses the key as data *and* installs its value as the parsed object's
|
|
10
|
+
* prototype, after which normalization reads the injected members as though
|
|
11
|
+
* they had been configured: a config file holding only
|
|
12
|
+
* `{"__proto__":{"git":{"defaultBranch":"x"}}}` made `oat config get
|
|
13
|
+
* git.defaultBranch` answer `x`. So the tree API is used instead, and the tree
|
|
14
|
+
* is materialized here rather than by `getNodeValue`.
|
|
15
|
+
*
|
|
16
|
+
* Materialization defines every own key with `Object.defineProperty`, which
|
|
17
|
+
* stores `__proto__` as an ordinary own data property without ever invoking
|
|
18
|
+
* the prototype setter. The objects it builds are otherwise completely
|
|
19
|
+
* ordinary: they keep `Object.prototype`, so every consumer coercion — most
|
|
20
|
+
* importantly `String(value)` in the `projects.defaultScope` diagnostic at
|
|
21
|
+
* `config/oat-config.ts` — behaves byte-identically to the previous
|
|
22
|
+
* implementation, and the result round-trips through `JSON.stringify`
|
|
23
|
+
* unchanged. `getNodeValue` is deliberately not used: it returns
|
|
24
|
+
* null-prototype objects, which break those coercions, and it recurses, which
|
|
25
|
+
* roughly halved the accepted nesting depth and turned deep-but-valid
|
|
26
|
+
* documents into a `RangeError` instead of the contracted `SyntaxError`. The
|
|
27
|
+
* walk below uses an explicit stack for that reason, which restores parity
|
|
28
|
+
* with the previous implementation. Parity, not a guarantee: `parseTree` still
|
|
29
|
+
* recurses while scanning, so the hard limit is a stack depth that moves with
|
|
30
|
+
* the host and the JIT rather than a fixed number.
|
|
31
|
+
*
|
|
32
|
+
* The error contract is untouched: `parseTree` reports the same `ParseError`
|
|
33
|
+
* codes at the same offsets as `parse` for every input, so the set of
|
|
34
|
+
* documents that are rejected and the `SyntaxError` message are both
|
|
35
|
+
* byte-identical to the previous implementation.
|
|
36
|
+
*/
|
|
1
37
|
export declare function parseJsonConfig(raw: string, configPath: string): unknown;
|
|
2
38
|
//# sourceMappingURL=json.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/config/json.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/config/json.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAuBxE"}
|
package/dist/config/json.js
CHANGED
|
@@ -1,18 +1,150 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { parseTree, printParseErrorCode, } from 'jsonc-parser';
|
|
2
2
|
const JSON_CONFIG_PARSE_OPTIONS = {
|
|
3
3
|
allowTrailingComma: true,
|
|
4
4
|
disallowComments: true,
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* Parse one OAT config document.
|
|
8
|
+
*
|
|
9
|
+
* This is the single parse chokepoint for every OAT config read, so the
|
|
10
|
+
* prototype question is decided here rather than in each consumer.
|
|
11
|
+
*
|
|
12
|
+
* `jsonc-parser`'s `parse` fills a plain object by assignment, and assignment
|
|
13
|
+
* to a member literally named `__proto__` reaches the legacy prototype setter.
|
|
14
|
+
* That loses the key as data *and* installs its value as the parsed object's
|
|
15
|
+
* prototype, after which normalization reads the injected members as though
|
|
16
|
+
* they had been configured: a config file holding only
|
|
17
|
+
* `{"__proto__":{"git":{"defaultBranch":"x"}}}` made `oat config get
|
|
18
|
+
* git.defaultBranch` answer `x`. So the tree API is used instead, and the tree
|
|
19
|
+
* is materialized here rather than by `getNodeValue`.
|
|
20
|
+
*
|
|
21
|
+
* Materialization defines every own key with `Object.defineProperty`, which
|
|
22
|
+
* stores `__proto__` as an ordinary own data property without ever invoking
|
|
23
|
+
* the prototype setter. The objects it builds are otherwise completely
|
|
24
|
+
* ordinary: they keep `Object.prototype`, so every consumer coercion — most
|
|
25
|
+
* importantly `String(value)` in the `projects.defaultScope` diagnostic at
|
|
26
|
+
* `config/oat-config.ts` — behaves byte-identically to the previous
|
|
27
|
+
* implementation, and the result round-trips through `JSON.stringify`
|
|
28
|
+
* unchanged. `getNodeValue` is deliberately not used: it returns
|
|
29
|
+
* null-prototype objects, which break those coercions, and it recurses, which
|
|
30
|
+
* roughly halved the accepted nesting depth and turned deep-but-valid
|
|
31
|
+
* documents into a `RangeError` instead of the contracted `SyntaxError`. The
|
|
32
|
+
* walk below uses an explicit stack for that reason, which restores parity
|
|
33
|
+
* with the previous implementation. Parity, not a guarantee: `parseTree` still
|
|
34
|
+
* recurses while scanning, so the hard limit is a stack depth that moves with
|
|
35
|
+
* the host and the JIT rather than a fixed number.
|
|
36
|
+
*
|
|
37
|
+
* The error contract is untouched: `parseTree` reports the same `ParseError`
|
|
38
|
+
* codes at the same offsets as `parse` for every input, so the set of
|
|
39
|
+
* documents that are rejected and the `SyntaxError` message are both
|
|
40
|
+
* byte-identical to the previous implementation.
|
|
41
|
+
*/
|
|
6
42
|
export function parseJsonConfig(raw, configPath) {
|
|
7
43
|
const errors = [];
|
|
8
|
-
const
|
|
44
|
+
const root = parseTree(raw, errors, JSON_CONFIG_PARSE_OPTIONS);
|
|
9
45
|
if (errors.length > 0) {
|
|
10
46
|
const details = errors
|
|
11
47
|
.map((error) => formatParseError(raw, error))
|
|
12
48
|
.join('; ');
|
|
13
49
|
throw new SyntaxError(`Config at ${configPath} is not valid JSON: ${details}`);
|
|
14
50
|
}
|
|
15
|
-
|
|
51
|
+
// TypeScript narrowing after the rejection above: `parseTree` returns no root
|
|
52
|
+
// for any document that holds no value — empty or whitespace-only content,
|
|
53
|
+
// but also a stray `]` or comment-only content — and every one of those
|
|
54
|
+
// records a parse error and has already thrown. The branch keeps the walk
|
|
55
|
+
// total rather than describing a reachable case.
|
|
56
|
+
if (root === undefined) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
return materializeTree(root);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Assignment that cannot be intercepted by an accessor on the prototype chain.
|
|
63
|
+
*
|
|
64
|
+
* `target[key] = value` would invoke the legacy `__proto__` setter; a data
|
|
65
|
+
* descriptor never does. The descriptor matches what a plain assignment would
|
|
66
|
+
* otherwise produce, so the property is indistinguishable from an ordinary
|
|
67
|
+
* one, and re-defining a repeated key overwrites in place exactly as
|
|
68
|
+
* assignment did.
|
|
69
|
+
*/
|
|
70
|
+
function defineOwnProperty(target, key, value) {
|
|
71
|
+
Object.defineProperty(target, key, {
|
|
72
|
+
value,
|
|
73
|
+
enumerable: true,
|
|
74
|
+
writable: true,
|
|
75
|
+
configurable: true,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Convert a parse tree into plain JavaScript values without recursion.
|
|
80
|
+
*
|
|
81
|
+
* Each frame carries the callback that attaches its finished value to the
|
|
82
|
+
* parent container, so containers are created on the way down and filled as
|
|
83
|
+
* their children pop. Nesting depth costs a heap array entry rather than a
|
|
84
|
+
* call frame, which is what keeps a deeply nested config from overflowing the
|
|
85
|
+
* stack.
|
|
86
|
+
*/
|
|
87
|
+
function materializeTree(root) {
|
|
88
|
+
let result;
|
|
89
|
+
const stack = [
|
|
90
|
+
{
|
|
91
|
+
node: root,
|
|
92
|
+
attach: (value) => {
|
|
93
|
+
result = value;
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
];
|
|
97
|
+
while (stack.length > 0) {
|
|
98
|
+
const frame = stack.pop();
|
|
99
|
+
if (frame === undefined) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
const { node } = frame;
|
|
103
|
+
if (node.type === 'array') {
|
|
104
|
+
const children = node.children ?? [];
|
|
105
|
+
const array = new Array(children.length);
|
|
106
|
+
frame.attach(array);
|
|
107
|
+
// Pushed in reverse so children pop in source order.
|
|
108
|
+
for (let index = children.length - 1; index >= 0; index -= 1) {
|
|
109
|
+
const child = children[index];
|
|
110
|
+
if (child === undefined) {
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
stack.push({
|
|
114
|
+
node: child,
|
|
115
|
+
attach: (value) => {
|
|
116
|
+
array[index] = value;
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
if (node.type === 'object') {
|
|
123
|
+
const object = {};
|
|
124
|
+
frame.attach(object);
|
|
125
|
+
const properties = node.children ?? [];
|
|
126
|
+
for (let index = properties.length - 1; index >= 0; index -= 1) {
|
|
127
|
+
const property = properties[index];
|
|
128
|
+
const keyNode = property?.children?.[0];
|
|
129
|
+
const valueNode = property?.children?.[1];
|
|
130
|
+
// A property with no value node is an incomplete document, which the
|
|
131
|
+
// error check has already rejected; skipping it matches `getNodeValue`.
|
|
132
|
+
if (keyNode === undefined || valueNode === undefined) {
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
const key = String(keyNode.value);
|
|
136
|
+
stack.push({
|
|
137
|
+
node: valueNode,
|
|
138
|
+
attach: (value) => {
|
|
139
|
+
defineOwnProperty(object, key, value);
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
frame.attach(node.value);
|
|
146
|
+
}
|
|
147
|
+
return result;
|
|
16
148
|
}
|
|
17
149
|
function formatParseError(raw, error) {
|
|
18
150
|
const location = offsetToLineColumn(raw, error.offset);
|
package/dist/drift/index.d.ts
CHANGED
|
@@ -3,5 +3,7 @@ export type { CopyTransform } from './detector.js';
|
|
|
3
3
|
export type { DriftReport, DriftState } from './drift.types.js';
|
|
4
4
|
export { filterKnownStrays } from './known-strays.js';
|
|
5
5
|
export type { FilterKnownStraysOptions, FilterKnownStraysResult, KnownStrayCandidate, KnownStraySources, } from './known-strays.js';
|
|
6
|
+
export { diagnoseSkillViews, resolveExpectedSkillProjections, } from './skill-view-diagnostic.js';
|
|
7
|
+
export type { ExpectedProjection, ProjectedSkillVersion, SkillViewClass, SkillViewDiagnosis, SkillViewDiagnostic, SkillViewObservation, } from './skill-view-diagnostic.js';
|
|
6
8
|
export { detectStrays } from './strays.js';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/drift/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EACV,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/drift/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EACV,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,+BAA+B,GAChC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/drift/index.js
CHANGED