@iamu-dev/iamu 0.2.0-beta.12 → 0.2.0-beta.13
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/bin.js +330 -149
- package/dist/commands/evaluate.d.ts +5 -3
- package/dist/commands/match.d.ts +6 -4
- package/dist/commands/new-finding.d.ts +6 -0
- package/dist/commands/summary.d.ts +14 -0
- package/dist/index.js +326 -145
- package/dist/templates/prompts/walk.md +32 -34
- package/dist/templates/skills/iamu-findings.md +13 -28
- package/dist/templates/skills/iamu-run.md +56 -76
- package/package.json +3 -3
|
@@ -22,11 +22,13 @@ export declare function evaluate(runId: string, opts?: {
|
|
|
22
22
|
json?: boolean;
|
|
23
23
|
promptFile?: string;
|
|
24
24
|
}): Promise<void>;
|
|
25
|
-
export
|
|
26
|
-
file
|
|
25
|
+
export interface EvaluateRecordOptions {
|
|
26
|
+
file?: string;
|
|
27
|
+
data?: string;
|
|
27
28
|
json?: boolean;
|
|
28
29
|
yes?: boolean;
|
|
29
30
|
prompt?: boolean;
|
|
30
31
|
view?: boolean;
|
|
31
32
|
push?: boolean;
|
|
32
|
-
}
|
|
33
|
+
}
|
|
34
|
+
export declare function evaluateRecord(runId: string, opts: EvaluateRecordOptions): Promise<void>;
|
package/dist/commands/match.d.ts
CHANGED
|
@@ -6,8 +6,10 @@ export declare function match(runId: string, opts?: {
|
|
|
6
6
|
json?: boolean;
|
|
7
7
|
promptFile?: string;
|
|
8
8
|
}): Promise<void>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export interface MatchRecordOptions {
|
|
10
|
+
file?: string;
|
|
11
|
+
data?: string;
|
|
12
12
|
json?: boolean;
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
|
+
/** Record the matcher's answer and re-derive the run's delta and report. */
|
|
15
|
+
export declare function matchRecord(runId: string, opts: MatchRecordOptions): Promise<void>;
|
|
@@ -14,6 +14,12 @@ export interface NewFindingOptions {
|
|
|
14
14
|
confidence?: string;
|
|
15
15
|
/** Step number whose screenshot shows the finding. */
|
|
16
16
|
step?: string;
|
|
17
|
+
/** Finding narrative description. */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** Concrete recommendation for fixing the finding. */
|
|
20
|
+
recommendation?: string;
|
|
21
|
+
/** Complete markdown body (overrides description and recommendation). */
|
|
22
|
+
body?: string;
|
|
17
23
|
json?: boolean;
|
|
18
24
|
}
|
|
19
25
|
export declare function newFinding(opts: NewFindingOptions): Promise<void>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SummaryOptions {
|
|
2
|
+
run?: string;
|
|
3
|
+
worked?: string | string[];
|
|
4
|
+
question?: string | string[];
|
|
5
|
+
model?: string;
|
|
6
|
+
file?: string;
|
|
7
|
+
json?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface SummaryData {
|
|
10
|
+
what_worked: string[];
|
|
11
|
+
open_questions: string[];
|
|
12
|
+
model?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function summaryCommand(runIdArg: string | undefined, opts: SummaryOptions): Promise<void>;
|