@lesliechan721/aw 0.1.0-beta.50 → 0.1.0-beta.51
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/authoring/scripts/lib/skill-scaffold.d.mts +0 -2
- package/dist/authoring/scripts/lib/skill-scaffold.mjs +0 -4
- package/dist/authoring/scripts/lib/skill-scaffold.mjs.map +1 -1
- package/dist/src/commands/aw-capabilities.d.ts +1 -1
- package/dist/src/commands/aw-capabilities.js +0 -1
- package/dist/src/commands/aw-capabilities.js.map +1 -1
- package/dist/src/commands/review-inspection.d.ts +5 -173
- package/dist/src/commands/review-inspection.js +8 -927
- package/dist/src/commands/review-inspection.js.map +1 -1
- package/dist/src/eval/manifest-v1.d.ts +0 -3
- package/dist/src/eval/manifest-v1.js +4 -21
- package/dist/src/eval/manifest-v1.js.map +1 -1
- package/dist/src/index.js +7 -170
- package/dist/src/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/src/commands/review-publication.d.ts +0 -99
- package/dist/src/commands/review-publication.js +0 -904
- package/dist/src/commands/review-publication.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lesliechan721/aw",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@inkjs/ui": "^2.0.0",
|
|
25
|
-
"@lesliechan721/agent-skill-eval": "0.1.0-beta.
|
|
26
|
-
"@lesliechan721/aw-plugin-core": "0.1.0-beta.
|
|
25
|
+
"@lesliechan721/agent-skill-eval": "0.1.0-beta.51",
|
|
26
|
+
"@lesliechan721/aw-plugin-core": "0.1.0-beta.51",
|
|
27
27
|
"commander": "^14.0.1",
|
|
28
28
|
"fs-extra": "^11.3.0",
|
|
29
29
|
"ink": "^7.1.1",
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
export type ReviewPublicationKind = 'skill' | 'workflow' | 'aw-plugin' | 'aw-workflow';
|
|
2
|
-
export type ReviewAttachmentInput = {
|
|
3
|
-
kind: string;
|
|
4
|
-
path: string;
|
|
5
|
-
};
|
|
6
|
-
export interface ReviewScopeComponent {
|
|
7
|
-
kind: string;
|
|
8
|
-
id: string;
|
|
9
|
-
path: string;
|
|
10
|
-
digest: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ReviewScope {
|
|
13
|
-
schemaVersion: 1;
|
|
14
|
-
kind: 'workflow' | 'aw-workflow';
|
|
15
|
-
id: string;
|
|
16
|
-
userOutcome: string;
|
|
17
|
-
entry: string;
|
|
18
|
-
components: ReviewScopeComponent[];
|
|
19
|
-
representativePaths: string[];
|
|
20
|
-
externalDependencies: unknown[];
|
|
21
|
-
excluded: unknown[];
|
|
22
|
-
}
|
|
23
|
-
interface ManifestFileReference {
|
|
24
|
-
path: string;
|
|
25
|
-
digest: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ReviewRecordManifest {
|
|
28
|
-
schemaVersion: 1;
|
|
29
|
-
reviewId: string;
|
|
30
|
-
publishedAt: string;
|
|
31
|
-
target: {
|
|
32
|
-
kind: ReviewPublicationKind;
|
|
33
|
-
id: string;
|
|
34
|
-
digest: string;
|
|
35
|
-
scopePath?: 'scope.json';
|
|
36
|
-
};
|
|
37
|
-
report: ManifestFileReference;
|
|
38
|
-
result: ManifestFileReference | null;
|
|
39
|
-
checks: Array<{
|
|
40
|
-
kind: string;
|
|
41
|
-
} & ManifestFileReference>;
|
|
42
|
-
evidence: Array<{
|
|
43
|
-
kind: string;
|
|
44
|
-
} & ManifestFileReference>;
|
|
45
|
-
releaseCheck: ManifestFileReference | null;
|
|
46
|
-
source: {
|
|
47
|
-
commit: string;
|
|
48
|
-
dirty: boolean;
|
|
49
|
-
};
|
|
50
|
-
supersedes: string | null;
|
|
51
|
-
}
|
|
52
|
-
export interface PublishReviewRecordInput {
|
|
53
|
-
repoRoot: string;
|
|
54
|
-
kind: ReviewPublicationKind;
|
|
55
|
-
target: string;
|
|
56
|
-
report: string;
|
|
57
|
-
scope?: string;
|
|
58
|
-
result?: string;
|
|
59
|
-
checks?: ReviewAttachmentInput[];
|
|
60
|
-
evidence?: ReviewAttachmentInput[];
|
|
61
|
-
releaseCheck?: string;
|
|
62
|
-
supersedes?: string;
|
|
63
|
-
now?: Date;
|
|
64
|
-
/** @internal Only deterministic failure tests use this hook. */
|
|
65
|
-
beforeCommit?: () => void | Promise<void>;
|
|
66
|
-
}
|
|
67
|
-
export interface ReviewRecord {
|
|
68
|
-
root: string;
|
|
69
|
-
manifest: ReviewRecordManifest;
|
|
70
|
-
existing: boolean;
|
|
71
|
-
}
|
|
72
|
-
export interface VerifyReviewRecordInput {
|
|
73
|
-
repoRoot: string;
|
|
74
|
-
reportDir: string;
|
|
75
|
-
}
|
|
76
|
-
export interface ListReviewRecordsInput {
|
|
77
|
-
repoRoot: string;
|
|
78
|
-
kind?: ReviewPublicationKind;
|
|
79
|
-
targetId?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface ShowReviewRecordInput {
|
|
82
|
-
repoRoot: string;
|
|
83
|
-
reviewId: string;
|
|
84
|
-
}
|
|
85
|
-
export interface ReviewComponentDigestInput {
|
|
86
|
-
repoRoot: string;
|
|
87
|
-
path: string;
|
|
88
|
-
}
|
|
89
|
-
export interface ReviewComponentDigest {
|
|
90
|
-
path: string;
|
|
91
|
-
digest: string;
|
|
92
|
-
}
|
|
93
|
-
export declare function computeReviewComponentDigest(input: ReviewComponentDigestInput): Promise<ReviewComponentDigest>;
|
|
94
|
-
export declare function parseReviewAttachment(value: string, label?: string): ReviewAttachmentInput;
|
|
95
|
-
export declare function verifyReviewRecord(input: VerifyReviewRecordInput): Promise<ReviewRecord>;
|
|
96
|
-
export declare function publishReviewRecord(input: PublishReviewRecordInput): Promise<ReviewRecord>;
|
|
97
|
-
export declare function listReviewRecords(input: ListReviewRecordsInput): Promise<ReviewRecord[]>;
|
|
98
|
-
export declare function showReviewRecord(input: ShowReviewRecordInput): Promise<ReviewRecord>;
|
|
99
|
-
export {};
|