@peasant-labs/schema 0.23.0 → 0.25.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,268 @@
1
+ // Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
2
+ export const wireAliasShapes = {
3
+ "ActorOrigin": {},
4
+ "ChildSessionRef": {
5
+ "fields": {
6
+ "id": {},
7
+ "project": {},
8
+ "startTime": {}
9
+ }
10
+ },
11
+ "CommandInvocation": {
12
+ "fields": {
13
+ "args": {},
14
+ "name": {}
15
+ }
16
+ },
17
+ "ContentKind": {},
18
+ "ContentOrigin": {},
19
+ "ContentOwnership": {},
20
+ "ContentProvenance": {
21
+ "fields": {
22
+ "actor": "ActorOrigin",
23
+ "delivery": "DeliveryOrigin",
24
+ "evidence": "EvidenceKind",
25
+ "inputModality": "InputModality",
26
+ "origin": "ContentOrigin",
27
+ "ownership": "ContentOwnership",
28
+ "submissionRef": "SubmissionRef"
29
+ }
30
+ },
31
+ "DeliveryOrigin": {},
32
+ "EarlierHistorySection": {
33
+ "fields": {
34
+ "nativeMetadata": {
35
+ "items": "NativeMetadataRecord"
36
+ },
37
+ "state": "EarlierHistoryState",
38
+ "turns": {
39
+ "items": "TurnDetail"
40
+ }
41
+ }
42
+ },
43
+ "EarlierHistoryState": {},
44
+ "EntryType": {},
45
+ "EvidenceKind": {},
46
+ "Harness": {},
47
+ "InputModality": {},
48
+ "InterpretationDiagnostics": {
49
+ "fields": {
50
+ "partial": {}
51
+ }
52
+ },
53
+ "NativeAttachmentRef": {
54
+ "fields": {
55
+ "toolCallId": {},
56
+ "turnIndex": {}
57
+ }
58
+ },
59
+ "NativeMetadataKind": {},
60
+ "NativeMetadataRecord": {
61
+ "fields": {
62
+ "attachment": "NativeAttachmentRef",
63
+ "customType": {},
64
+ "data": {},
65
+ "id": {},
66
+ "kind": "NativeMetadataKind",
67
+ "source": "NativeSourceRef"
68
+ }
69
+ },
70
+ "NativeMetadataSourceType": {},
71
+ "NativePiMessageRole": {},
72
+ "NativeSourceRef": {
73
+ "fields": {
74
+ "entryRef": "SourceEntryRef",
75
+ "messageRole": "NativePiMessageRole",
76
+ "sourceType": "NativeMetadataSourceType"
77
+ }
78
+ },
79
+ "ObservedModelID": {},
80
+ "PublicRevisionRef": {},
81
+ "PublicSourceAnchor": {
82
+ "fields": {
83
+ "kind": "PublicSourceAnchorKind",
84
+ "sourceEntryRef": "SourceEntryRef",
85
+ "sourceRevisionRef": "PublicRevisionRef"
86
+ }
87
+ },
88
+ "PublicSourceAnchorKind": {},
89
+ "RecordedCostDetail": {
90
+ "fields": {
91
+ "cacheRead": {},
92
+ "cacheWrite": {},
93
+ "input": {},
94
+ "output": {},
95
+ "source": {},
96
+ "total": {}
97
+ }
98
+ },
99
+ "RelationshipTargetState": {},
100
+ "RetainedUnknownRecord": {
101
+ "fields": {
102
+ "kind": {},
103
+ "namespace": {},
104
+ "payload": {},
105
+ "pointer": {},
106
+ "position": {},
107
+ "recordIndex": {},
108
+ "sourceRef": {}
109
+ }
110
+ },
111
+ "Role": {},
112
+ "SessionDetailPayload": {
113
+ "fields": {
114
+ "childSessions": {
115
+ "items": "ChildSessionRef"
116
+ },
117
+ "diagnostics": "InterpretationDiagnostics",
118
+ "durationMins": {},
119
+ "earlierHistory": {
120
+ "items": "EarlierHistorySection"
121
+ },
122
+ "endTime": {},
123
+ "gitBranch": {},
124
+ "gitRemote": {},
125
+ "harness": "Harness",
126
+ "id": {},
127
+ "inputSubmissionCount": {},
128
+ "model": {},
129
+ "nativeMetadata": {
130
+ "items": "NativeMetadataRecord"
131
+ },
132
+ "outcome": "SessionOutcome",
133
+ "parentSessionId": "SessionID",
134
+ "project": {},
135
+ "purpose": "SessionPurpose",
136
+ "relationships": {
137
+ "items": "SessionRelationship"
138
+ },
139
+ "retainedUnknown": {
140
+ "items": "RetainedUnknownRecord"
141
+ },
142
+ "rootSessionId": "SessionID",
143
+ "schemaVersion": {},
144
+ "scorecard": "SessionScorecard",
145
+ "sessionOrigin": "SessionOrigin",
146
+ "source": {},
147
+ "startTime": {},
148
+ "status": {},
149
+ "tokensIn": {},
150
+ "tokensOut": {},
151
+ "toolCallCount": {},
152
+ "totalTokens": {},
153
+ "turnCount": {},
154
+ "turns": {
155
+ "items": "TurnDetail"
156
+ },
157
+ "workingDirectory": {}
158
+ }
159
+ },
160
+ "SessionID": {},
161
+ "SessionOrigin": {},
162
+ "SessionOutcome": {},
163
+ "SessionPurpose": {},
164
+ "SessionRelationship": {
165
+ "fields": {
166
+ "anchor": "PublicSourceAnchor",
167
+ "evidence": "EvidenceKind",
168
+ "kind": "SessionRelationshipKind",
169
+ "targetLocalId": "SessionID",
170
+ "targetState": "RelationshipTargetState"
171
+ }
172
+ },
173
+ "SessionRelationshipKind": {},
174
+ "SessionScorecard": {
175
+ "fields": {
176
+ "costTotalUsd": {},
177
+ "m2TokenOutcomeRatio": {},
178
+ "m4ConsecutiveErrorMax": {},
179
+ "m5ContextUtilizationPct": {},
180
+ "m6OutputSurvivalPct": {},
181
+ "m7SpecHasConstraints": {},
182
+ "m7SpecHasExamples": {},
183
+ "outcome": "SessionOutcome",
184
+ "retryTokensWasted": {},
185
+ "signalDensity": {},
186
+ "specQualityScore": {},
187
+ "totalTokens": {},
188
+ "withinSessionReverts": {}
189
+ }
190
+ },
191
+ "SourceEntryRef": {},
192
+ "StopReason": {},
193
+ "SubmissionRef": {},
194
+ "TokenUsageDetail": {
195
+ "fields": {
196
+ "cacheRead": {},
197
+ "cacheWrite": {},
198
+ "cacheWrite1h": {},
199
+ "input": {},
200
+ "output": {},
201
+ "reasoning": {},
202
+ "totalTokens": {}
203
+ }
204
+ },
205
+ "ToolCallDetail": {
206
+ "fields": {
207
+ "arguments": {},
208
+ "callEntryRef": "SourceEntryRef",
209
+ "callProvenance": "ContentProvenance",
210
+ "durationMs": {},
211
+ "exitCode": {},
212
+ "filePath": {},
213
+ "id": {},
214
+ "isError": {},
215
+ "name": {},
216
+ "namespace": {},
217
+ "result": {},
218
+ "resultEntryRef": "SourceEntryRef",
219
+ "resultProvenance": "ContentProvenance",
220
+ "toolKind": "ToolCallKind",
221
+ "usage": "UsageDetail"
222
+ }
223
+ },
224
+ "ToolCallKind": {},
225
+ "TranscriptContent": {
226
+ "fields": {
227
+ "contractVersion": {},
228
+ "kind": "ContentKind",
229
+ "sessionDetail": "SessionDetailPayload"
230
+ }
231
+ },
232
+ "TurnDetail": {
233
+ "fields": {
234
+ "agentName": {},
235
+ "command": "CommandInvocation",
236
+ "content": {},
237
+ "depth": {},
238
+ "entryType": "EntryType",
239
+ "hasThinking": {},
240
+ "index": {},
241
+ "observedModel": "ObservedModelID",
242
+ "parentIndex": {},
243
+ "provenance": "ContentProvenance",
244
+ "role": "Role",
245
+ "sourceEntryRef": "SourceEntryRef",
246
+ "stopReason": "StopReason",
247
+ "timestamp": {},
248
+ "tokensIn": {},
249
+ "tokensOut": {},
250
+ "toolCalls": {
251
+ "items": "ToolCallDetail"
252
+ },
253
+ "usage": "UsageDetail"
254
+ }
255
+ },
256
+ "UsageCompleteness": {},
257
+ "UsageDetail": {
258
+ "fields": {
259
+ "completeness": "UsageCompleteness",
260
+ "cost": "RecordedCostDetail",
261
+ "ownerId": {},
262
+ "scope": "UsageScope",
263
+ "sourceEntryRef": "SourceEntryRef",
264
+ "tokens": "TokenUsageDetail"
265
+ }
266
+ },
267
+ "UsageScope": {}
268
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peasant-labs/schema",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "Generated TypeScript contract bindings for the peasant-labs schema module",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {