@trkbt10/sier-llm-skills 0.2.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/LICENSE +191 -0
- package/README.md +295 -0
- package/dist/browser-control/cdp/cdp-capture.d.ts +3 -0
- package/dist/browser-control/chrome-mcp/chrome-mcp-capture.d.ts +3 -0
- package/dist/browser-control/headless/headless-capture.d.ts +45 -0
- package/dist/browser-control/types.d.ts +37 -0
- package/dist/evidence-io/xlsx-image-patcher.d.ts +35 -0
- package/dist/evidence-io/xlsx-reader.d.ts +35 -0
- package/dist/evidence-io/xlsx-writer.d.ts +4 -0
- package/dist/evidence-schema/schema-validator.d.ts +3 -0
- package/dist/evidence-schema/types.d.ts +81 -0
- package/dist/evidence-server-B6i7fzMM.js +6813 -0
- package/dist/evidence-xlsx/image-to-drawing.d.ts +33 -0
- package/dist/evidence-xlsx/png.d.ts +17 -0
- package/dist/evidence-xlsx/schema-driven-sheets.d.ts +29 -0
- package/dist/evidence-xlsx/xlsx-builder.d.ts +10 -0
- package/dist/evidence-xlsx/xlsx-cells.d.ts +26 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +159 -0
- package/dist/mcp/evidence-server.d.ts +9 -0
- package/dist/mcp/serve.d.ts +8 -0
- package/dist/mcp-serve.js +17 -0
- package/dist/operation-capture/cdp-recorder.d.ts +18 -0
- package/dist/operation-capture/recording-session.d.ts +25 -0
- package/dist/operation-record/operation-io.d.ts +5 -0
- package/dist/operation-record/operation-types.d.ts +63 -0
- package/dist/operation-replay/history-to-evidence.d.ts +8 -0
- package/dist/operation-replay/replay.d.ts +4 -0
- package/package.json +73 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file スクリーンショットエビデンスの型定義。
|
|
3
|
+
*/
|
|
4
|
+
export type EvidenceStep = {
|
|
5
|
+
readonly stepNumber: number;
|
|
6
|
+
readonly action: string;
|
|
7
|
+
readonly url: string;
|
|
8
|
+
readonly expected: string;
|
|
9
|
+
readonly actual: string;
|
|
10
|
+
readonly screenshot: Uint8Array;
|
|
11
|
+
readonly screenshotFormat: "png" | "jpeg" | "webp";
|
|
12
|
+
readonly timestamp: Date;
|
|
13
|
+
};
|
|
14
|
+
export type EvidenceTestCase = {
|
|
15
|
+
readonly name: string;
|
|
16
|
+
readonly url: string;
|
|
17
|
+
readonly status: "pass" | "fail" | "error";
|
|
18
|
+
readonly startedAt: Date;
|
|
19
|
+
readonly finishedAt: Date;
|
|
20
|
+
readonly steps: readonly EvidenceStep[];
|
|
21
|
+
};
|
|
22
|
+
export type EvidenceReport = {
|
|
23
|
+
readonly title: string;
|
|
24
|
+
readonly createdAt: Date;
|
|
25
|
+
readonly testCases: readonly EvidenceTestCase[];
|
|
26
|
+
};
|
|
27
|
+
/** XLSX 上のセル位置指定。 */
|
|
28
|
+
export type CellPosition = {
|
|
29
|
+
readonly sheet: string;
|
|
30
|
+
readonly col: string;
|
|
31
|
+
readonly row: number;
|
|
32
|
+
};
|
|
33
|
+
/** 表紙シートのメタデータフィールド。 */
|
|
34
|
+
export type CoverSheetField = {
|
|
35
|
+
/** ラベル (例: "プロジェクト名")。 */
|
|
36
|
+
readonly label: string;
|
|
37
|
+
/** 値を書き込むセル位置。 */
|
|
38
|
+
readonly valuePosition: CellPosition;
|
|
39
|
+
};
|
|
40
|
+
/** サマリセル群。 */
|
|
41
|
+
export type SummaryCells = {
|
|
42
|
+
readonly plannedCases?: CellPosition;
|
|
43
|
+
readonly executedCases?: CellPosition;
|
|
44
|
+
readonly okCount?: CellPosition;
|
|
45
|
+
readonly ngCount?: CellPosition;
|
|
46
|
+
};
|
|
47
|
+
/** 証跡シートの 1 カラム定義。 */
|
|
48
|
+
export type EvidenceColumnDef = {
|
|
49
|
+
/** 列番号 (1-based)。 */
|
|
50
|
+
readonly columnIndex: number;
|
|
51
|
+
/** フィールド名。"stepNumber" | "action" | "expected" | "actual" | "status" | "timestamp" | "testCaseId" | 任意。 */
|
|
52
|
+
readonly field: string;
|
|
53
|
+
/** ヘッダーテキスト (例: "操作手順")。 */
|
|
54
|
+
readonly header: string;
|
|
55
|
+
/** 列幅。 */
|
|
56
|
+
readonly width?: number;
|
|
57
|
+
};
|
|
58
|
+
/** スクリーンショット配置設定。 */
|
|
59
|
+
export type ScreenshotPlacement = {
|
|
60
|
+
/** 列番号 (1-based)。 */
|
|
61
|
+
readonly columnIndex: number;
|
|
62
|
+
/** 画像 1 枚分の行スペース。 */
|
|
63
|
+
readonly imageRowSpan: number;
|
|
64
|
+
};
|
|
65
|
+
/** LLM がテスト仕様書から推測して生成するマッピングスキーマ。 */
|
|
66
|
+
export type EvidenceSheetSchema = {
|
|
67
|
+
readonly version: 1;
|
|
68
|
+
/** 表紙シートのメタデータ定義。 */
|
|
69
|
+
readonly coverSheet?: {
|
|
70
|
+
readonly sheetName: string;
|
|
71
|
+
readonly fields: readonly CoverSheetField[];
|
|
72
|
+
readonly summary?: SummaryCells;
|
|
73
|
+
};
|
|
74
|
+
/** 証跡シートの構成。 */
|
|
75
|
+
readonly evidenceSheet: {
|
|
76
|
+
readonly sheetName: string;
|
|
77
|
+
readonly headerRow: number;
|
|
78
|
+
readonly columns: readonly EvidenceColumnDef[];
|
|
79
|
+
readonly screenshot: ScreenshotPlacement;
|
|
80
|
+
};
|
|
81
|
+
};
|