@steerable/agent-harness 0.12.8 → 0.14.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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface OutcomeReconcilePayload {
|
|
2
|
+
reconciliationId: string;
|
|
3
|
+
toolName: string;
|
|
4
|
+
argsPreview?: string;
|
|
5
|
+
errorDetail?: string;
|
|
6
|
+
status: "pending" | "confirmed_executed" | "confirmed_not_executed";
|
|
7
|
+
resolutionNote?: string;
|
|
8
|
+
resolvedBy?: string;
|
|
9
|
+
resolvedAt?: string;
|
|
10
|
+
[k: string]: any;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declarative structured workspace surface (v1) bounded to 6 closed component kinds, 64 KiB payload size, and 500 table rows. Supports read-only server data bindings ($source) verified via SHA-256 sourceHashes prior to any action dispatch.
|
|
3
|
+
*/
|
|
4
|
+
export interface UiSurfacePayload {
|
|
5
|
+
surfaceId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
revision: number;
|
|
9
|
+
placement?: "inline" | "workbench";
|
|
10
|
+
/**
|
|
11
|
+
* Static data or $source binding descriptors ({ "$source": "namespace/query", "params": {...} }).
|
|
12
|
+
*/
|
|
13
|
+
data?: {
|
|
14
|
+
[k: string]: any;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Host-evaluated read-only data snapshot corresponding to `data`.
|
|
18
|
+
*/
|
|
19
|
+
resolvedData?: {
|
|
20
|
+
[k: string]: any;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Canonical JSON SHA-256 hex digest per data key bound via $source.
|
|
24
|
+
*/
|
|
25
|
+
sourceHashes?: {
|
|
26
|
+
[k: string]: string;
|
|
27
|
+
};
|
|
28
|
+
staleKeys?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* @minItems 1
|
|
31
|
+
* @maxItems 24
|
|
32
|
+
*/
|
|
33
|
+
components: [
|
|
34
|
+
{
|
|
35
|
+
id: string;
|
|
36
|
+
kind: "table" | "detail-card" | "form" | "steps" | "kv-diff" | "artifact-card";
|
|
37
|
+
title?: string;
|
|
38
|
+
dataKey?: string;
|
|
39
|
+
rowIdField?: string;
|
|
40
|
+
selectable?: boolean;
|
|
41
|
+
columns?: {
|
|
42
|
+
key: string;
|
|
43
|
+
label: string;
|
|
44
|
+
align?: "left" | "center" | "right";
|
|
45
|
+
[k: string]: any;
|
|
46
|
+
}[];
|
|
47
|
+
/**
|
|
48
|
+
* @maxItems 500
|
|
49
|
+
*/
|
|
50
|
+
rows?: {
|
|
51
|
+
[k: string]: any;
|
|
52
|
+
}[];
|
|
53
|
+
fields?: {
|
|
54
|
+
key: string;
|
|
55
|
+
label: string;
|
|
56
|
+
type?: "text" | "number" | "select" | "textarea" | "checkbox";
|
|
57
|
+
required?: boolean;
|
|
58
|
+
options?: string[];
|
|
59
|
+
value?: any;
|
|
60
|
+
[k: string]: any;
|
|
61
|
+
}[];
|
|
62
|
+
steps?: {
|
|
63
|
+
id: string;
|
|
64
|
+
label: string;
|
|
65
|
+
detail?: string;
|
|
66
|
+
status: "pending" | "active" | "completed" | "failed";
|
|
67
|
+
[k: string]: any;
|
|
68
|
+
}[];
|
|
69
|
+
diffs?: {
|
|
70
|
+
key: string;
|
|
71
|
+
label?: string;
|
|
72
|
+
before?: any;
|
|
73
|
+
after?: any;
|
|
74
|
+
[k: string]: any;
|
|
75
|
+
}[];
|
|
76
|
+
artifact?: {
|
|
77
|
+
name?: string;
|
|
78
|
+
path?: string;
|
|
79
|
+
mimeType?: string;
|
|
80
|
+
sha256?: string;
|
|
81
|
+
sizeBytes?: number;
|
|
82
|
+
downloadUrl?: string;
|
|
83
|
+
[k: string]: any;
|
|
84
|
+
};
|
|
85
|
+
[k: string]: any;
|
|
86
|
+
},
|
|
87
|
+
...{
|
|
88
|
+
id: string;
|
|
89
|
+
kind: "table" | "detail-card" | "form" | "steps" | "kv-diff" | "artifact-card";
|
|
90
|
+
title?: string;
|
|
91
|
+
dataKey?: string;
|
|
92
|
+
rowIdField?: string;
|
|
93
|
+
selectable?: boolean;
|
|
94
|
+
columns?: {
|
|
95
|
+
key: string;
|
|
96
|
+
label: string;
|
|
97
|
+
align?: "left" | "center" | "right";
|
|
98
|
+
[k: string]: any;
|
|
99
|
+
}[];
|
|
100
|
+
/**
|
|
101
|
+
* @maxItems 500
|
|
102
|
+
*/
|
|
103
|
+
rows?: {
|
|
104
|
+
[k: string]: any;
|
|
105
|
+
}[];
|
|
106
|
+
fields?: {
|
|
107
|
+
key: string;
|
|
108
|
+
label: string;
|
|
109
|
+
type?: "text" | "number" | "select" | "textarea" | "checkbox";
|
|
110
|
+
required?: boolean;
|
|
111
|
+
options?: string[];
|
|
112
|
+
value?: any;
|
|
113
|
+
[k: string]: any;
|
|
114
|
+
}[];
|
|
115
|
+
steps?: {
|
|
116
|
+
id: string;
|
|
117
|
+
label: string;
|
|
118
|
+
detail?: string;
|
|
119
|
+
status: "pending" | "active" | "completed" | "failed";
|
|
120
|
+
[k: string]: any;
|
|
121
|
+
}[];
|
|
122
|
+
diffs?: {
|
|
123
|
+
key: string;
|
|
124
|
+
label?: string;
|
|
125
|
+
before?: any;
|
|
126
|
+
after?: any;
|
|
127
|
+
[k: string]: any;
|
|
128
|
+
}[];
|
|
129
|
+
artifact?: {
|
|
130
|
+
name?: string;
|
|
131
|
+
path?: string;
|
|
132
|
+
mimeType?: string;
|
|
133
|
+
sha256?: string;
|
|
134
|
+
sizeBytes?: number;
|
|
135
|
+
downloadUrl?: string;
|
|
136
|
+
[k: string]: any;
|
|
137
|
+
};
|
|
138
|
+
[k: string]: any;
|
|
139
|
+
}[]
|
|
140
|
+
];
|
|
141
|
+
actions?: {
|
|
142
|
+
id: string;
|
|
143
|
+
label: string;
|
|
144
|
+
toolName: string;
|
|
145
|
+
dataKey?: string;
|
|
146
|
+
variant?: "primary" | "secondary" | "danger";
|
|
147
|
+
checkpoint?: "standard" | "outward";
|
|
148
|
+
requiresSelection?: boolean;
|
|
149
|
+
staticArgs?: {
|
|
150
|
+
[k: string]: any;
|
|
151
|
+
};
|
|
152
|
+
[k: string]: any;
|
|
153
|
+
}[];
|
|
154
|
+
[k: string]: any;
|
|
155
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steerable/agent-harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Steerable framework Tier 2 — TypeScript facade over the Python harness (policy, budget, retry, completion, tracing) used for cross-language conformance tests. Production code should depend on the Python harness.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://steerableframework.com/",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"README.md"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@steerable/agent-protocol": "0.
|
|
32
|
+
"@steerable/agent-protocol": "0.14.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.8.3",
|