@spine-event-engine/proto 2.0.0-snapshot.21 → 2.0.0-snapshot.23
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/generated/proto-module.d.ts +7 -1
- package/dist/generated/proto-module.d.ts.map +1 -1
- package/dist/generated/proto-module.js +53 -17
- package/dist/generated/proto-module.js.map +1 -1
- package/dist/generated/spine/server/agent/execution_record_pb.d.ts +1781 -0
- package/dist/generated/spine/server/agent/execution_record_pb.d.ts.map +1 -0
- package/dist/generated/spine/server/agent/execution_record_pb.js +490 -0
- package/dist/generated/spine/server/agent/execution_record_pb.js.map +1 -0
- package/dist/generated/spine/server/agent/history_record_pb.d.ts +66 -0
- package/dist/generated/spine/server/agent/history_record_pb.d.ts.map +1 -0
- package/dist/generated/spine/server/agent/history_record_pb.js +25 -0
- package/dist/generated/spine/server/agent/history_record_pb.js.map +1 -0
- package/dist/generated/spine/ts/agent/content_pb.d.ts +963 -0
- package/dist/generated/spine/ts/agent/content_pb.d.ts.map +1 -0
- package/dist/generated/spine/ts/agent/content_pb.js +258 -0
- package/dist/generated/spine/ts/agent/content_pb.js.map +1 -0
- package/dist/generated/spine/ts/agent/history_pb.d.ts +165 -0
- package/dist/generated/spine/ts/agent/history_pb.d.ts.map +1 -0
- package/dist/generated/spine/ts/agent/history_pb.js +39 -0
- package/dist/generated/spine/ts/agent/history_pb.js.map +1 -0
- package/dist/generated/spine/ts/agent/interaction_events_pb.d.ts +541 -0
- package/dist/generated/spine/ts/agent/interaction_events_pb.d.ts.map +1 -0
- package/dist/generated/spine/ts/agent/interaction_events_pb.js +76 -0
- package/dist/generated/spine/ts/agent/interaction_events_pb.js.map +1 -0
- package/dist/generated/spine/ts/agent/model_pb.d.ts +870 -0
- package/dist/generated/spine/ts/agent/model_pb.d.ts.map +1 -0
- package/dist/generated/spine/ts/agent/model_pb.js +404 -0
- package/dist/generated/spine/ts/agent/model_pb.js.map +1 -0
- package/dist/src/agent/index.d.ts +38 -0
- package/dist/src/agent/index.d.ts.map +1 -0
- package/dist/src/agent/index.js +47 -0
- package/dist/src/agent/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/.spine-proto-generation.json +1 -1
- package/generated/proto-module.ts +53 -17
- package/generated/spine/server/agent/execution_record_pb.ts +2034 -0
- package/generated/spine/server/agent/history_record_pb.ts +85 -0
- package/generated/spine/ts/agent/content_pb.ts +1103 -0
- package/generated/spine/ts/agent/history_pb.ts +194 -0
- package/generated/spine/ts/agent/interaction_events_pb.ts +639 -0
- package/generated/spine/ts/agent/model_pb.ts +1014 -0
- package/package.json +5 -1
- package/proto/spine/server/agent/execution_record.proto +849 -0
- package/proto/spine/server/agent/history_record.proto +47 -0
- package/proto/spine/ts/agent/content.proto +412 -0
- package/proto/spine/ts/agent/history.proto +99 -0
- package/proto/spine/ts/agent/interaction_events.proto +367 -0
- package/proto/spine/ts/agent/model.proto +333 -0
- package/proto/spine-sources.json +28 -4
- package/spine-proto-manifest.json +14 -2
|
@@ -0,0 +1,2034 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by Spine TypeScript. Do not edit manually.
|
|
3
|
+
* Source Proto: spine/server/agent/execution_record.proto
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
|
9
|
+
// @generated from file spine/server/agent/execution_record.proto (package spine.server.agent, syntax proto3)
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
|
|
12
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
14
|
+
import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
15
|
+
import { file_google_protobuf_any, file_google_protobuf_timestamp, file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
16
|
+
import type { ActorContext } from "../../core/actor_context_pb.js";
|
|
17
|
+
import { file_spine_core_actor_context } from "../../core/actor_context_pb.js";
|
|
18
|
+
import type { Command, CommandId } from "../../core/command_pb.js";
|
|
19
|
+
import { file_spine_core_command } from "../../core/command_pb.js";
|
|
20
|
+
import type { Event, EventId } from "../../core/event_pb.js";
|
|
21
|
+
import { file_spine_core_event } from "../../core/event_pb.js";
|
|
22
|
+
import type { Version } from "../../core/version_pb.js";
|
|
23
|
+
import { file_spine_core_version } from "../../core/version_pb.js";
|
|
24
|
+
import { file_spine_options } from "../../options_pb.js";
|
|
25
|
+
import type { DecisionRequest, DecisionResponse, GenerationRequest, GenerationResponse, ToolRequest, ToolResponse } from "../../ts/agent/content_pb.js";
|
|
26
|
+
import { file_spine_ts_agent_content } from "../../ts/agent/content_pb.js";
|
|
27
|
+
import type { AgentHistoryCursor, AgentHistoryEntry } from "../../ts/agent/history_pb.js";
|
|
28
|
+
import { file_spine_ts_agent_history } from "../../ts/agent/history_pb.js";
|
|
29
|
+
import type { AiAttemptId, AiCapabilityName, AiCapabilityRevision, AiConnectionIdentity, AiDiagnosticId, AiFailureCode, AiMappingRevision, AiModelKind, AiOperationId, AiOperationLimits, AiOutcome, AiToolCallId, AiValidationRevision, ConversationId, McpServerId, ModelPreference, ModelRef } from "../../ts/agent/model_pb.js";
|
|
30
|
+
import { file_spine_ts_agent_model } from "../../ts/agent/model_pb.js";
|
|
31
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the file spine/server/agent/execution_record.proto.
|
|
35
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
36
|
+
*/
|
|
37
|
+
export const file_spine_server_agent_execution_record: GenFile = /*@__PURE__*/
|
|
38
|
+
fileDesc("CilzcGluZS9zZXJ2ZXIvYWdlbnQvZXhlY3V0aW9uX3JlY29yZC5wcm90bxISc3BpbmUuc2VydmVyLmFnZW50IkgKE0FnZW50RXhlY3V0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lNQRUNJRklFRBAAEhkKFUFHRU5UX1NBVkVEX0FHR1JFR0FURRABEhoKFkFHRU5UX1NBVkVEX1BST0pFQ1RJT04QAhIfChtBR0VOVF9TQVZFRF9QUk9DRVNTX01BTkFHRVIQAxIVChFBR0VOVF9TQVZFRF9BR0VOVBAEQhWqjSQNdHlwZS5zcGluZS5pb7iNJAFiBnByb3RvMw", [file_google_protobuf_any, file_google_protobuf_timestamp, file_google_protobuf_wrappers, file_spine_core_actor_context, file_spine_core_command, file_spine_core_event, file_spine_core_version, file_spine_options, file_spine_ts_agent_content, file_spine_ts_agent_history, file_spine_ts_agent_model]);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Complete Agent instance scope within one provider tenant boundary.
|
|
42
|
+
*
|
|
43
|
+
* @generated from message spine.server.agent.AgentExecutionScope
|
|
44
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
45
|
+
*/
|
|
46
|
+
export type AgentExecutionScope = Message<"spine.server.agent.AgentExecutionScope"> & {
|
|
47
|
+
/**
|
|
48
|
+
* Generated Agent state type name.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: string state_type = 1;
|
|
51
|
+
*/
|
|
52
|
+
stateType: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Canonical storage key of the typed Agent identifier.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: string agent_key = 2;
|
|
58
|
+
*/
|
|
59
|
+
agentKey: string;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message spine.server.agent.AgentExecutionScope.
|
|
64
|
+
* Use `create(AgentExecutionScopeSchema)` to create a new message.
|
|
65
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
66
|
+
*/
|
|
67
|
+
export const AgentExecutionScopeSchema: GenMessage<AgentExecutionScope> = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_spine_server_agent_execution_record, 0);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Typed original signal ID used without optional version metadata.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message spine.server.agent.AgentSignalKey
|
|
74
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
75
|
+
*/
|
|
76
|
+
export type AgentSignalKey = Message<"spine.server.agent.AgentSignalKey"> & {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from oneof spine.server.agent.AgentSignalKey.id
|
|
79
|
+
*/
|
|
80
|
+
id: {
|
|
81
|
+
/**
|
|
82
|
+
* Identity of an accepted Command.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: spine.core.CommandId command = 1;
|
|
85
|
+
*/
|
|
86
|
+
value: CommandId;
|
|
87
|
+
case: "command";
|
|
88
|
+
} | {
|
|
89
|
+
/**
|
|
90
|
+
* Identity of an accepted Event or rejection Event.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: spine.core.EventId event = 2;
|
|
93
|
+
*/
|
|
94
|
+
value: EventId;
|
|
95
|
+
case: "event";
|
|
96
|
+
} | { case: undefined; value?: undefined };
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message spine.server.agent.AgentSignalKey.
|
|
101
|
+
* Use `create(AgentSignalKeySchema)` to create a new message.
|
|
102
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
103
|
+
*/
|
|
104
|
+
export const AgentSignalKeySchema: GenMessage<AgentSignalKey> = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_spine_server_agent_execution_record, 1);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Original signal and exact Agent instance identity used for admission deduplication.
|
|
109
|
+
*
|
|
110
|
+
* @generated from message spine.server.agent.AgentInvocationKey
|
|
111
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
112
|
+
*/
|
|
113
|
+
export type AgentInvocationKey = Message<"spine.server.agent.AgentInvocationKey"> & {
|
|
114
|
+
/**
|
|
115
|
+
* Concrete Agent instance scope.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: spine.server.agent.AgentExecutionScope scope = 1;
|
|
118
|
+
*/
|
|
119
|
+
scope?: AgentExecutionScope | undefined;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Original Command or Event identity, independent of an Inbox row ID.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: spine.server.agent.AgentSignalKey source_signal = 2;
|
|
125
|
+
*/
|
|
126
|
+
sourceSignal?: AgentSignalKey | undefined;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message spine.server.agent.AgentInvocationKey.
|
|
131
|
+
* Use `create(AgentInvocationKeySchema)` to create a new message.
|
|
132
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
133
|
+
*/
|
|
134
|
+
export const AgentInvocationKeySchema: GenMessage<AgentInvocationKey> = /*@__PURE__*/
|
|
135
|
+
messageDesc(file_spine_server_agent_execution_record, 2);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Existing Inbox acceptance order, with a deterministic source identity tie-break.
|
|
139
|
+
*
|
|
140
|
+
* @generated from message spine.server.agent.AgentInboxOrder
|
|
141
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
142
|
+
*/
|
|
143
|
+
export type AgentInboxOrder = Message<"spine.server.agent.AgentInboxOrder"> & {
|
|
144
|
+
/**
|
|
145
|
+
* Time at which the Inbox received the source signal.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: google.protobuf.Timestamp received_at = 1;
|
|
148
|
+
*/
|
|
149
|
+
receivedAt?: Timestamp | undefined;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Existing Inbox version distinguishing signals received at the same time.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: uint64 inbox_version = 2;
|
|
155
|
+
*/
|
|
156
|
+
inboxVersion: bigint;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Original source signal identity when time and Inbox version tie.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: spine.server.agent.AgentSignalKey source_signal = 3;
|
|
162
|
+
*/
|
|
163
|
+
sourceSignal?: AgentSignalKey | undefined;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message spine.server.agent.AgentInboxOrder.
|
|
168
|
+
* Use `create(AgentInboxOrderSchema)` to create a new message.
|
|
169
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
170
|
+
*/
|
|
171
|
+
export const AgentInboxOrderSchema: GenMessage<AgentInboxOrder> = /*@__PURE__*/
|
|
172
|
+
messageDesc(file_spine_server_agent_execution_record, 3);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Revision of Agent application handler code.
|
|
176
|
+
*
|
|
177
|
+
* @generated from message spine.server.agent.AgentCodeRevision
|
|
178
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
179
|
+
*/
|
|
180
|
+
export type AgentCodeRevision = Message<"spine.server.agent.AgentCodeRevision"> & {
|
|
181
|
+
/**
|
|
182
|
+
* Application build revision recorded at admission.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: string value = 1;
|
|
185
|
+
*/
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message spine.server.agent.AgentCodeRevision.
|
|
191
|
+
* Use `create(AgentCodeRevisionSchema)` to create a new message.
|
|
192
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
193
|
+
*/
|
|
194
|
+
export const AgentCodeRevisionSchema: GenMessage<AgentCodeRevision> = /*@__PURE__*/
|
|
195
|
+
messageDesc(file_spine_server_agent_execution_record, 4);
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Revision of generated Agent state and signal schemas.
|
|
199
|
+
*
|
|
200
|
+
* @generated from message spine.server.agent.AgentSchemaRevision
|
|
201
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
202
|
+
*/
|
|
203
|
+
export type AgentSchemaRevision = Message<"spine.server.agent.AgentSchemaRevision"> & {
|
|
204
|
+
/**
|
|
205
|
+
* Generated schema revision recorded at admission.
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: string value = 1;
|
|
208
|
+
*/
|
|
209
|
+
value: string;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message spine.server.agent.AgentSchemaRevision.
|
|
214
|
+
* Use `create(AgentSchemaRevisionSchema)` to create a new message.
|
|
215
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
216
|
+
*/
|
|
217
|
+
export const AgentSchemaRevisionSchema: GenMessage<AgentSchemaRevision> = /*@__PURE__*/
|
|
218
|
+
messageDesc(file_spine_server_agent_execution_record, 5);
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Revision of Agent execution and authorization policy.
|
|
222
|
+
*
|
|
223
|
+
* @generated from message spine.server.agent.AgentPolicyRevision
|
|
224
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
225
|
+
*/
|
|
226
|
+
export type AgentPolicyRevision = Message<"spine.server.agent.AgentPolicyRevision"> & {
|
|
227
|
+
/**
|
|
228
|
+
* Execution policy revision recorded at admission.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: string value = 1;
|
|
231
|
+
*/
|
|
232
|
+
value: string;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Describes the message spine.server.agent.AgentPolicyRevision.
|
|
237
|
+
* Use `create(AgentPolicyRevisionSchema)` to create a new message.
|
|
238
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
239
|
+
*/
|
|
240
|
+
export const AgentPolicyRevisionSchema: GenMessage<AgentPolicyRevision> = /*@__PURE__*/
|
|
241
|
+
messageDesc(file_spine_server_agent_execution_record, 6);
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Selected handler identity fixed when one signal is admitted.
|
|
245
|
+
*
|
|
246
|
+
* @generated from message spine.server.agent.AgentHandlerBinding
|
|
247
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
248
|
+
*/
|
|
249
|
+
export type AgentHandlerBinding = Message<"spine.server.agent.AgentHandlerBinding"> & {
|
|
250
|
+
/**
|
|
251
|
+
* Explicit order across reactors and command reactions.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: uint32 ordinal = 1;
|
|
254
|
+
*/
|
|
255
|
+
ordinal: number;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Generated Agent state receiver type.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: string receiver_type = 2;
|
|
261
|
+
*/
|
|
262
|
+
receiverType: string;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Registered method on the Agent receiver.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: string method_name = 3;
|
|
268
|
+
*/
|
|
269
|
+
methodName: string;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Assign, React, or Command role selected at intake.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: spine.server.agent.AgentHandlerKind kind = 4;
|
|
275
|
+
*/
|
|
276
|
+
kind: AgentHandlerKind;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Generated full type name of the handled Command, Event, or rejection.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: string signal_type = 5;
|
|
282
|
+
*/
|
|
283
|
+
signalType: string;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Domestic or imported external signal source requirement.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: spine.server.agent.AgentHandlerOrigin origin = 6;
|
|
289
|
+
*/
|
|
290
|
+
origin: AgentHandlerOrigin;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Registered handler arity.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: uint32 parameter_count = 7;
|
|
296
|
+
*/
|
|
297
|
+
parameterCount: number;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Optional Event field path selected by a generated equality filter.
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: string where_event_field = 8;
|
|
303
|
+
*/
|
|
304
|
+
whereEventField: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Stringifier text compared by the optional Event equality filter.
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: string where_equals = 9;
|
|
310
|
+
*/
|
|
311
|
+
whereEquals: string;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message spine.server.agent.AgentHandlerBinding.
|
|
316
|
+
* Use `create(AgentHandlerBindingSchema)` to create a new message.
|
|
317
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
318
|
+
*/
|
|
319
|
+
export const AgentHandlerBindingSchema: GenMessage<AgentHandlerBinding> = /*@__PURE__*/
|
|
320
|
+
messageDesc(file_spine_server_agent_execution_record, 7);
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Immutable original work persisted before Inbox acknowledgement.
|
|
324
|
+
*
|
|
325
|
+
* @generated from message spine.server.agent.AgentAcceptedInvocation
|
|
326
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
327
|
+
*/
|
|
328
|
+
export type AgentAcceptedInvocation = Message<"spine.server.agent.AgentAcceptedInvocation"> & {
|
|
329
|
+
/**
|
|
330
|
+
* Typed Agent and original source signal identity.
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: spine.server.agent.AgentInvocationKey key = 1;
|
|
333
|
+
*/
|
|
334
|
+
key?: AgentInvocationKey | undefined;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Original concrete typed recipient identifier.
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: google.protobuf.Any recipient_id = 2;
|
|
340
|
+
*/
|
|
341
|
+
recipientId?: Any | undefined;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Original complete Command or Event envelope.
|
|
345
|
+
*
|
|
346
|
+
* @generated from oneof spine.server.agent.AgentAcceptedInvocation.signal
|
|
347
|
+
*/
|
|
348
|
+
signal: {
|
|
349
|
+
/**
|
|
350
|
+
* Accepted Command with original message identity and context.
|
|
351
|
+
*
|
|
352
|
+
* @generated from field: spine.core.Command command = 3;
|
|
353
|
+
*/
|
|
354
|
+
value: Command;
|
|
355
|
+
case: "command";
|
|
356
|
+
} | {
|
|
357
|
+
/**
|
|
358
|
+
* Accepted Event or rejection with original message identity and context.
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: spine.core.Event event = 4;
|
|
361
|
+
*/
|
|
362
|
+
value: Event;
|
|
363
|
+
case: "event";
|
|
364
|
+
} | { case: undefined; value?: undefined };
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Actor context supplied to all selected handlers.
|
|
368
|
+
*
|
|
369
|
+
* @generated from field: spine.core.ActorContext actor = 5;
|
|
370
|
+
*/
|
|
371
|
+
actor?: ActorContext | undefined;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Existing Inbox order for the accepted signal.
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: spine.server.agent.AgentInboxOrder order = 6;
|
|
377
|
+
*/
|
|
378
|
+
order?: AgentInboxOrder | undefined;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Every selected handler in actual execution order.
|
|
382
|
+
*
|
|
383
|
+
* @generated from field: repeated spine.server.agent.AgentHandlerBinding handlers = 7;
|
|
384
|
+
*/
|
|
385
|
+
handlers: AgentHandlerBinding[];
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Accepted application handler code revision.
|
|
389
|
+
*
|
|
390
|
+
* @generated from field: spine.server.agent.AgentCodeRevision code_revision = 8;
|
|
391
|
+
*/
|
|
392
|
+
codeRevision?: AgentCodeRevision | undefined;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Accepted generated schema revision.
|
|
396
|
+
*
|
|
397
|
+
* @generated from field: spine.server.agent.AgentSchemaRevision schema_revision = 9;
|
|
398
|
+
*/
|
|
399
|
+
schemaRevision?: AgentSchemaRevision | undefined;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Accepted execution policy revision.
|
|
403
|
+
*
|
|
404
|
+
* @generated from field: spine.server.agent.AgentPolicyRevision policy_revision = 10;
|
|
405
|
+
*/
|
|
406
|
+
policyRevision?: AgentPolicyRevision | undefined;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Describes the message spine.server.agent.AgentAcceptedInvocation.
|
|
411
|
+
* Use `create(AgentAcceptedInvocationSchema)` to create a new message.
|
|
412
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
413
|
+
*/
|
|
414
|
+
export const AgentAcceptedInvocationSchema: GenMessage<AgentAcceptedInvocation> = /*@__PURE__*/
|
|
415
|
+
messageDesc(file_spine_server_agent_execution_record, 8);
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Whole-transition limits spanning every selected handler.
|
|
419
|
+
*
|
|
420
|
+
* @generated from message spine.server.agent.AgentInvocationBounds
|
|
421
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
422
|
+
*/
|
|
423
|
+
export type AgentInvocationBounds = Message<"spine.server.agent.AgentInvocationBounds"> & {
|
|
424
|
+
/**
|
|
425
|
+
* Maximum named operations across all selected handlers.
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: google.protobuf.UInt64Value operations = 1;
|
|
428
|
+
*/
|
|
429
|
+
operations?: bigint | undefined;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Maximum physical model requests across the whole invocation.
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: google.protobuf.UInt64Value model_requests = 2;
|
|
435
|
+
*/
|
|
436
|
+
modelRequests?: bigint | undefined;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Maximum external tool calls across the whole invocation.
|
|
440
|
+
*
|
|
441
|
+
* @generated from field: google.protobuf.UInt64Value tool_calls = 3;
|
|
442
|
+
*/
|
|
443
|
+
toolCalls?: bigint | undefined;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Maximum recorded query and history reads across all handlers.
|
|
447
|
+
*
|
|
448
|
+
* @generated from field: google.protobuf.UInt64Value recorded_reads = 4;
|
|
449
|
+
*/
|
|
450
|
+
recordedReads?: bigint | undefined;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Maximum elapsed milliseconds after execution starts.
|
|
454
|
+
*
|
|
455
|
+
* @generated from field: google.protobuf.UInt64Value deadline_millis = 5;
|
|
456
|
+
*/
|
|
457
|
+
deadlineMillis?: bigint | undefined;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Maximum cumulative model, tool and setup input bytes.
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: google.protobuf.UInt64Value total_input_bytes = 6;
|
|
463
|
+
*/
|
|
464
|
+
totalInputBytes?: bigint | undefined;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Maximum cumulative reserved model, tool and setup output bytes.
|
|
468
|
+
*
|
|
469
|
+
* @generated from field: google.protobuf.UInt64Value total_output_bytes = 7;
|
|
470
|
+
*/
|
|
471
|
+
totalOutputBytes?: bigint | undefined;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Maximum retained execution evidence bytes for recovery.
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: google.protobuf.UInt64Value max_recovery_bytes = 8;
|
|
477
|
+
*/
|
|
478
|
+
maxRecoveryBytes?: bigint | undefined;
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Describes the message spine.server.agent.AgentInvocationBounds.
|
|
483
|
+
* Use `create(AgentInvocationBoundsSchema)` to create a new message.
|
|
484
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
485
|
+
*/
|
|
486
|
+
export const AgentInvocationBoundsSchema: GenMessage<AgentInvocationBounds> = /*@__PURE__*/
|
|
487
|
+
messageDesc(file_spine_server_agent_execution_record, 9);
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Durable whole-transition charges, including unresolved reservations.
|
|
491
|
+
*
|
|
492
|
+
* @generated from message spine.server.agent.AgentInvocationCounters
|
|
493
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
494
|
+
*/
|
|
495
|
+
export type AgentInvocationCounters = Message<"spine.server.agent.AgentInvocationCounters"> & {
|
|
496
|
+
/**
|
|
497
|
+
* Named operations already charged.
|
|
498
|
+
*
|
|
499
|
+
* @generated from field: uint64 operations = 1;
|
|
500
|
+
*/
|
|
501
|
+
operations: bigint;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Physical model requests already charged, including uncertain requests.
|
|
505
|
+
*
|
|
506
|
+
* @generated from field: uint64 model_requests = 2;
|
|
507
|
+
*/
|
|
508
|
+
modelRequests: bigint;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* External tool calls already charged, including uncertain writes.
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: uint64 tool_calls = 3;
|
|
514
|
+
*/
|
|
515
|
+
toolCalls: bigint;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Query and history reads already recorded.
|
|
519
|
+
*
|
|
520
|
+
* @generated from field: uint64 recorded_reads = 4;
|
|
521
|
+
*/
|
|
522
|
+
recordedReads: bigint;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Cumulative model, tool and setup input bytes already charged.
|
|
526
|
+
*
|
|
527
|
+
* @generated from field: uint64 input_bytes = 5;
|
|
528
|
+
*/
|
|
529
|
+
inputBytes: bigint;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Full model, tool and setup response allowances charged before dispatch.
|
|
533
|
+
*
|
|
534
|
+
* @generated from field: uint64 reserved_output_bytes = 6;
|
|
535
|
+
*/
|
|
536
|
+
reservedOutputBytes: bigint;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Exact external response bytes observed, when known.
|
|
540
|
+
*
|
|
541
|
+
* @generated from field: uint64 received_output_bytes = 7;
|
|
542
|
+
*/
|
|
543
|
+
receivedOutputBytes: bigint;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Retained execution evidence bytes already charged.
|
|
547
|
+
*
|
|
548
|
+
* @generated from field: uint64 recovery_bytes = 8;
|
|
549
|
+
*/
|
|
550
|
+
recoveryBytes: bigint;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Describes the message spine.server.agent.AgentInvocationCounters.
|
|
555
|
+
* Use `create(AgentInvocationCountersSchema)` to create a new message.
|
|
556
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
557
|
+
*/
|
|
558
|
+
export const AgentInvocationCountersSchema: GenMessage<AgentInvocationCounters> = /*@__PURE__*/
|
|
559
|
+
messageDesc(file_spine_server_agent_execution_record, 10);
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Deployment and complete credential-free connection identity chosen at start.
|
|
563
|
+
*
|
|
564
|
+
* @generated from message spine.server.agent.AgentSelectedModel
|
|
565
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
566
|
+
*/
|
|
567
|
+
export type AgentSelectedModel = Message<"spine.server.agent.AgentSelectedModel"> & {
|
|
568
|
+
/**
|
|
569
|
+
* Generation or decision deployment role.
|
|
570
|
+
*
|
|
571
|
+
* @generated from field: spine.ts.agent.AiModelKind kind = 1;
|
|
572
|
+
*/
|
|
573
|
+
kind: AiModelKind;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Application-selected model deployment reference.
|
|
577
|
+
*
|
|
578
|
+
* @generated from field: spine.ts.agent.ModelRef model = 2;
|
|
579
|
+
*/
|
|
580
|
+
model?: ModelRef | undefined;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Complete nonsecret provider, account, endpoint and model identity.
|
|
584
|
+
*
|
|
585
|
+
* @generated from field: spine.ts.agent.AiConnectionIdentity connection = 3;
|
|
586
|
+
*/
|
|
587
|
+
connection?: AiConnectionIdentity | undefined;
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Describes the message spine.server.agent.AgentSelectedModel.
|
|
592
|
+
* Use `create(AgentSelectedModelSchema)` to create a new message.
|
|
593
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
594
|
+
*/
|
|
595
|
+
export const AgentSelectedModelSchema: GenMessage<AgentSelectedModel> = /*@__PURE__*/
|
|
596
|
+
messageDesc(file_spine_server_agent_execution_record, 11);
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Invocation facts fixed only when execution begins.
|
|
600
|
+
*
|
|
601
|
+
* @generated from message spine.server.agent.AgentExecutionStart
|
|
602
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
603
|
+
*/
|
|
604
|
+
export type AgentExecutionStart = Message<"spine.server.agent.AgentExecutionStart"> & {
|
|
605
|
+
/**
|
|
606
|
+
* Absolute deadline sampled when execution began, excluding queue wait.
|
|
607
|
+
*
|
|
608
|
+
* @generated from field: google.protobuf.Timestamp deadline = 1;
|
|
609
|
+
*/
|
|
610
|
+
deadline?: Timestamp | undefined;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Entity version observed before the first selected handler.
|
|
614
|
+
*
|
|
615
|
+
* @generated from field: spine.core.Version initial_version = 2;
|
|
616
|
+
*/
|
|
617
|
+
initialVersion?: Version | undefined;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Whole-invocation limits, distinct from limits of each model call.
|
|
621
|
+
*
|
|
622
|
+
* @generated from field: spine.server.agent.AgentInvocationBounds bounds = 3;
|
|
623
|
+
*/
|
|
624
|
+
bounds?: AgentInvocationBounds | undefined;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Selected deployment and connection identity for each model kind.
|
|
628
|
+
*
|
|
629
|
+
* @generated from field: repeated spine.server.agent.AgentSelectedModel models = 4;
|
|
630
|
+
*/
|
|
631
|
+
models: AgentSelectedModel[];
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Describes the message spine.server.agent.AgentExecutionStart.
|
|
636
|
+
* Use `create(AgentExecutionStartSchema)` to create a new message.
|
|
637
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
638
|
+
*/
|
|
639
|
+
export const AgentExecutionStartSchema: GenMessage<AgentExecutionStart> = /*@__PURE__*/
|
|
640
|
+
messageDesc(file_spine_server_agent_execution_record, 12);
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Safe operational failure retained for exact replay.
|
|
644
|
+
*
|
|
645
|
+
* @generated from message spine.server.agent.AgentSavedFailure
|
|
646
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
647
|
+
*/
|
|
648
|
+
export type AgentSavedFailure = Message<"spine.server.agent.AgentSavedFailure"> & {
|
|
649
|
+
/**
|
|
650
|
+
* Failure category exposed by the application-facing facade.
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: spine.ts.agent.AiFailureCode code = 1;
|
|
653
|
+
*/
|
|
654
|
+
code: AiFailureCode;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Whether another accepted signal may make a fresh attempt.
|
|
658
|
+
*
|
|
659
|
+
* @generated from field: bool retryable_by_new_signal = 2;
|
|
660
|
+
*/
|
|
661
|
+
retryableByNewSignal: boolean;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Safe diagnostic reference, without credential or raw exception text.
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: spine.ts.agent.AiDiagnosticId diagnostic = 3;
|
|
667
|
+
*/
|
|
668
|
+
diagnostic?: AiDiagnosticId | undefined;
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Describes the message spine.server.agent.AgentSavedFailure.
|
|
673
|
+
* Use `create(AgentSavedFailureSchema)` to create a new message.
|
|
674
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
675
|
+
*/
|
|
676
|
+
export const AgentSavedFailureSchema: GenMessage<AgentSavedFailure> = /*@__PURE__*/
|
|
677
|
+
messageDesc(file_spine_server_agent_execution_record, 13);
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Exact named model call admitted for deterministic recovery.
|
|
681
|
+
*
|
|
682
|
+
* @generated from message spine.server.agent.AgentNamedOperation
|
|
683
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
684
|
+
*/
|
|
685
|
+
export type AgentNamedOperation = Message<"spine.server.agent.AgentNamedOperation"> & {
|
|
686
|
+
/**
|
|
687
|
+
* Selected handler binding that called this name.
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: uint32 handler_ordinal = 1;
|
|
690
|
+
*/
|
|
691
|
+
handlerOrdinal: number;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Name unique within the active handler binding.
|
|
695
|
+
*
|
|
696
|
+
* @generated from field: string call_name = 2;
|
|
697
|
+
*/
|
|
698
|
+
callName: string;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Explicit conversation continued by this operation.
|
|
702
|
+
*
|
|
703
|
+
* @generated from field: spine.ts.agent.ConversationId conversation = 3;
|
|
704
|
+
*/
|
|
705
|
+
conversation?: ConversationId | undefined;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Logical operation reused during recovery.
|
|
709
|
+
*
|
|
710
|
+
* @generated from field: spine.ts.agent.AiOperationId operation = 4;
|
|
711
|
+
*/
|
|
712
|
+
operation?: AiOperationId | undefined;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Effective bounds for this one model operation.
|
|
716
|
+
*
|
|
717
|
+
* @generated from field: spine.ts.agent.AiOperationLimits limits = 5;
|
|
718
|
+
*/
|
|
719
|
+
limits?: AiOperationLimits | undefined;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Exact dynamic typed application facts before backend rendering.
|
|
723
|
+
*
|
|
724
|
+
* @generated from field: google.protobuf.Any input = 6;
|
|
725
|
+
*/
|
|
726
|
+
input?: Any | undefined;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Accepted capability identity.
|
|
730
|
+
*
|
|
731
|
+
* @generated from field: spine.ts.agent.AiCapabilityName capability = 7;
|
|
732
|
+
*/
|
|
733
|
+
capability?: AiCapabilityName | undefined;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Accepted capability definition revision.
|
|
737
|
+
*
|
|
738
|
+
* @generated from field: spine.ts.agent.AiCapabilityRevision capability_revision = 8;
|
|
739
|
+
*/
|
|
740
|
+
capabilityRevision?: AiCapabilityRevision | undefined;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Accepted pure validation rule revision, when applicable.
|
|
744
|
+
*
|
|
745
|
+
* @generated from field: spine.ts.agent.AiValidationRevision validation_revision = 9;
|
|
746
|
+
*/
|
|
747
|
+
validationRevision?: AiValidationRevision | undefined;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Accepted decision mapping revision, when applicable.
|
|
751
|
+
*
|
|
752
|
+
* @generated from field: spine.ts.agent.AiMappingRevision mapping_revision = 10;
|
|
753
|
+
*/
|
|
754
|
+
mappingRevision?: AiMappingRevision | undefined;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Admitted dynamic typed output or safe terminal failure.
|
|
758
|
+
*
|
|
759
|
+
* @generated from oneof spine.server.agent.AgentNamedOperation.result
|
|
760
|
+
*/
|
|
761
|
+
result: {
|
|
762
|
+
/**
|
|
763
|
+
* Validated typed application result returned to the handler.
|
|
764
|
+
*
|
|
765
|
+
* @generated from field: google.protobuf.Any admitted_output = 11;
|
|
766
|
+
*/
|
|
767
|
+
value: Any;
|
|
768
|
+
case: "admittedOutput";
|
|
769
|
+
} | {
|
|
770
|
+
/**
|
|
771
|
+
* Recorded failure returned to the handler.
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: spine.server.agent.AgentSavedFailure failure = 12;
|
|
774
|
+
*/
|
|
775
|
+
value: AgentSavedFailure;
|
|
776
|
+
case: "failure";
|
|
777
|
+
} | { case: undefined; value?: undefined };
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Provider and validation outcome associated with the recorded result.
|
|
781
|
+
*
|
|
782
|
+
* @generated from field: spine.ts.agent.AiOutcome outcome = 13;
|
|
783
|
+
*/
|
|
784
|
+
outcome: AiOutcome;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Safe recorded diagnostics that do not terminate this operation.
|
|
788
|
+
*
|
|
789
|
+
* @generated from field: repeated spine.server.agent.AgentSavedFailure diagnostics = 14;
|
|
790
|
+
*/
|
|
791
|
+
diagnostics: AgentSavedFailure[];
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Absolute operation deadline fixed at creation and bounded by the invocation deadline.
|
|
795
|
+
*
|
|
796
|
+
* @generated from field: google.protobuf.Timestamp deadline = 15;
|
|
797
|
+
*/
|
|
798
|
+
deadline?: Timestamp | undefined;
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Describes the message spine.server.agent.AgentNamedOperation.
|
|
803
|
+
* Use `create(AgentNamedOperationSchema)` to create a new message.
|
|
804
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
805
|
+
*/
|
|
806
|
+
export const AgentNamedOperationSchema: GenMessage<AgentNamedOperation> = /*@__PURE__*/
|
|
807
|
+
messageDesc(file_spine_server_agent_execution_record, 14);
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Exact history request whose result is reused after interruption.
|
|
811
|
+
*
|
|
812
|
+
* @generated from message spine.server.agent.AgentHistoryReadRequest
|
|
813
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
814
|
+
*/
|
|
815
|
+
export type AgentHistoryReadRequest = Message<"spine.server.agent.AgentHistoryReadRequest"> & {
|
|
816
|
+
/**
|
|
817
|
+
* Indexed view used for this read.
|
|
818
|
+
*
|
|
819
|
+
* @generated from field: spine.server.agent.AgentHistoryReadKind kind = 1;
|
|
820
|
+
*/
|
|
821
|
+
kind: AgentHistoryReadKind;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Required only when the selected view is one conversation.
|
|
825
|
+
*
|
|
826
|
+
* @generated from field: spine.ts.agent.ConversationId conversation = 2;
|
|
827
|
+
*/
|
|
828
|
+
conversation?: ConversationId | undefined;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Positive maximum number of requested entries.
|
|
832
|
+
*
|
|
833
|
+
* @generated from field: uint64 page_size = 3;
|
|
834
|
+
*/
|
|
835
|
+
pageSize: bigint;
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Original opaque continuation; absent on the first page.
|
|
839
|
+
*
|
|
840
|
+
* @generated from field: spine.ts.agent.AgentHistoryCursor cursor = 4;
|
|
841
|
+
*/
|
|
842
|
+
cursor?: AgentHistoryCursor | undefined;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Optional positive serialized-byte bound applied to this page.
|
|
846
|
+
*
|
|
847
|
+
* @generated from field: google.protobuf.UInt64Value max_bytes = 5;
|
|
848
|
+
*/
|
|
849
|
+
maxBytes?: bigint | undefined;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Describes the message spine.server.agent.AgentHistoryReadRequest.
|
|
854
|
+
* Use `create(AgentHistoryReadRequestSchema)` to create a new message.
|
|
855
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
856
|
+
*/
|
|
857
|
+
export const AgentHistoryReadRequestSchema: GenMessage<AgentHistoryReadRequest> = /*@__PURE__*/
|
|
858
|
+
messageDesc(file_spine_server_agent_execution_record, 15);
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Complete provider page returned by one recorded history read.
|
|
862
|
+
*
|
|
863
|
+
* @generated from message spine.server.agent.AgentHistoryReadPage
|
|
864
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
865
|
+
*/
|
|
866
|
+
export type AgentHistoryReadPage = Message<"spine.server.agent.AgentHistoryReadPage"> & {
|
|
867
|
+
/**
|
|
868
|
+
* Exact original entries, in newest-first order.
|
|
869
|
+
*
|
|
870
|
+
* @generated from field: repeated spine.ts.agent.AgentHistoryEntry entries = 1;
|
|
871
|
+
*/
|
|
872
|
+
entries: AgentHistoryEntry[];
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Whether another entry followed this page when the read occurred.
|
|
876
|
+
*
|
|
877
|
+
* @generated from field: bool has_more = 2;
|
|
878
|
+
*/
|
|
879
|
+
hasMore: boolean;
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Describes the message spine.server.agent.AgentHistoryReadPage.
|
|
884
|
+
* Use `create(AgentHistoryReadPageSchema)` to create a new message.
|
|
885
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
886
|
+
*/
|
|
887
|
+
export const AgentHistoryReadPageSchema: GenMessage<AgentHistoryReadPage> = /*@__PURE__*/
|
|
888
|
+
messageDesc(file_spine_server_agent_execution_record, 16);
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Complete typed projection states returned by one recorded Agent query.
|
|
892
|
+
*
|
|
893
|
+
* @generated from message spine.server.agent.AgentProjectionReadResult
|
|
894
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
895
|
+
*/
|
|
896
|
+
export type AgentProjectionReadResult = Message<"spine.server.agent.AgentProjectionReadResult"> & {
|
|
897
|
+
/**
|
|
898
|
+
* State snapshots in the exact order returned to the handler.
|
|
899
|
+
*
|
|
900
|
+
* @generated from field: repeated google.protobuf.Any states = 1;
|
|
901
|
+
*/
|
|
902
|
+
states: Any[];
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Describes the message spine.server.agent.AgentProjectionReadResult.
|
|
907
|
+
* Use `create(AgentProjectionReadResultSchema)` to create a new message.
|
|
908
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
909
|
+
*/
|
|
910
|
+
export const AgentProjectionReadResultSchema: GenMessage<AgentProjectionReadResult> = /*@__PURE__*/
|
|
911
|
+
messageDesc(file_spine_server_agent_execution_record, 17);
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Exact projection or Agent-history read reused after interruption.
|
|
915
|
+
*
|
|
916
|
+
* @generated from message spine.server.agent.AgentReadSnapshot
|
|
917
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
918
|
+
*/
|
|
919
|
+
export type AgentReadSnapshot = Message<"spine.server.agent.AgentReadSnapshot"> & {
|
|
920
|
+
/**
|
|
921
|
+
* Selected handler binding that made this read.
|
|
922
|
+
*
|
|
923
|
+
* @generated from field: uint32 handler_ordinal = 1;
|
|
924
|
+
*/
|
|
925
|
+
handlerOrdinal: number;
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Name unique within the active handler binding.
|
|
929
|
+
*
|
|
930
|
+
* @generated from field: string read_name = 2;
|
|
931
|
+
*/
|
|
932
|
+
readName: string;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Exact typed query or history-read request.
|
|
936
|
+
*
|
|
937
|
+
* @generated from field: google.protobuf.Any request = 3;
|
|
938
|
+
*/
|
|
939
|
+
request?: Any | undefined;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Exact typed result returned to the handler.
|
|
943
|
+
*
|
|
944
|
+
* @generated from field: google.protobuf.Any result = 4;
|
|
945
|
+
*/
|
|
946
|
+
result?: Any | undefined;
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Agent scope under which the read was authorized.
|
|
950
|
+
*
|
|
951
|
+
* @generated from field: spine.server.agent.AgentExecutionScope scope = 5;
|
|
952
|
+
*/
|
|
953
|
+
scope?: AgentExecutionScope | undefined;
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Describes the message spine.server.agent.AgentReadSnapshot.
|
|
958
|
+
* Use `create(AgentReadSnapshotSchema)` to create a new message.
|
|
959
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
960
|
+
*/
|
|
961
|
+
export const AgentReadSnapshotSchema: GenMessage<AgentReadSnapshot> = /*@__PURE__*/
|
|
962
|
+
messageDesc(file_spine_server_agent_execution_record, 18);
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* One local validation issue retained for exact attempt replay.
|
|
966
|
+
*
|
|
967
|
+
* @generated from message spine.server.agent.AgentValidationIssue
|
|
968
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
969
|
+
*/
|
|
970
|
+
export type AgentValidationIssue = Message<"spine.server.agent.AgentValidationIssue"> & {
|
|
971
|
+
/**
|
|
972
|
+
* Machine-readable issue category from the validator.
|
|
973
|
+
*
|
|
974
|
+
* @generated from field: string code = 1;
|
|
975
|
+
*/
|
|
976
|
+
code: string;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Field path; empty when the issue applies to the root value.
|
|
980
|
+
*
|
|
981
|
+
* @generated from field: string path = 2;
|
|
982
|
+
*/
|
|
983
|
+
path: string;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Human-readable issue detail returned by the validator.
|
|
987
|
+
*
|
|
988
|
+
* @generated from field: string message = 3;
|
|
989
|
+
*/
|
|
990
|
+
message: string;
|
|
991
|
+
};
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Describes the message spine.server.agent.AgentValidationIssue.
|
|
995
|
+
* Use `create(AgentValidationIssueSchema)` to create a new message.
|
|
996
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
997
|
+
*/
|
|
998
|
+
export const AgentValidationIssueSchema: GenMessage<AgentValidationIssue> = /*@__PURE__*/
|
|
999
|
+
messageDesc(file_spine_server_agent_execution_record, 19);
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* One physical request reservation and its exact observed progress.
|
|
1003
|
+
*
|
|
1004
|
+
* @generated from message spine.server.agent.AgentAttemptEvidence
|
|
1005
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1006
|
+
*/
|
|
1007
|
+
export type AgentAttemptEvidence = Message<"spine.server.agent.AgentAttemptEvidence"> & {
|
|
1008
|
+
/**
|
|
1009
|
+
* Logical operation that admitted this physical request.
|
|
1010
|
+
*
|
|
1011
|
+
* @generated from field: spine.ts.agent.AiOperationId operation = 1;
|
|
1012
|
+
*/
|
|
1013
|
+
operation?: AiOperationId | undefined;
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* Distinct identity of this physical provider request.
|
|
1017
|
+
*
|
|
1018
|
+
* @generated from field: spine.ts.agent.AiAttemptId attempt = 2;
|
|
1019
|
+
*/
|
|
1020
|
+
attempt?: AiAttemptId | undefined;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* One-based physical request number shared by runtime and adapter.
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: uint64 physical_attempt = 3;
|
|
1026
|
+
*/
|
|
1027
|
+
physicalAttempt: bigint;
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Full response allowance charged before provider dispatch.
|
|
1031
|
+
*
|
|
1032
|
+
* @generated from field: uint64 reserved_response_bytes = 4;
|
|
1033
|
+
*/
|
|
1034
|
+
reservedResponseBytes: bigint;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Exact received bytes when observed; absence means an interrupted unknown amount.
|
|
1038
|
+
*
|
|
1039
|
+
* @generated from field: google.protobuf.UInt64Value received_bytes = 5;
|
|
1040
|
+
*/
|
|
1041
|
+
receivedBytes?: bigint | undefined;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Actual prepared generation or decision request sent to the provider.
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from oneof spine.server.agent.AgentAttemptEvidence.prepared_request
|
|
1047
|
+
*/
|
|
1048
|
+
preparedRequest: {
|
|
1049
|
+
/**
|
|
1050
|
+
* Generated request including rendered instructions and corrections.
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: spine.ts.agent.GenerationRequest generation_request = 6;
|
|
1053
|
+
*/
|
|
1054
|
+
value: GenerationRequest;
|
|
1055
|
+
case: "generationRequest";
|
|
1056
|
+
} | {
|
|
1057
|
+
/**
|
|
1058
|
+
* Direct declared decision questions and typed input.
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from field: spine.ts.agent.DecisionRequest decision_request = 7;
|
|
1061
|
+
*/
|
|
1062
|
+
value: DecisionRequest;
|
|
1063
|
+
case: "decisionRequest";
|
|
1064
|
+
} | { case: undefined; value?: undefined };
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Complete received generation or decision response when known.
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from oneof spine.server.agent.AgentAttemptEvidence.response
|
|
1070
|
+
*/
|
|
1071
|
+
response: {
|
|
1072
|
+
/**
|
|
1073
|
+
* Exact received generation content and admitted result when any.
|
|
1074
|
+
*
|
|
1075
|
+
* @generated from field: spine.ts.agent.GenerationResponse generation_response = 8;
|
|
1076
|
+
*/
|
|
1077
|
+
value: GenerationResponse;
|
|
1078
|
+
case: "generationResponse";
|
|
1079
|
+
} | {
|
|
1080
|
+
/**
|
|
1081
|
+
* Exact received decision content and admitted result when any.
|
|
1082
|
+
*
|
|
1083
|
+
* @generated from field: spine.ts.agent.DecisionResponse decision_response = 9;
|
|
1084
|
+
*/
|
|
1085
|
+
value: DecisionResponse;
|
|
1086
|
+
case: "decisionResponse";
|
|
1087
|
+
} | { case: undefined; value?: undefined };
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Outcome after provider and local validation.
|
|
1091
|
+
*
|
|
1092
|
+
* @generated from field: spine.ts.agent.AiOutcome outcome = 10;
|
|
1093
|
+
*/
|
|
1094
|
+
outcome: AiOutcome;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Ordered local validation issues used to replay this physical attempt.
|
|
1098
|
+
*
|
|
1099
|
+
* @generated from field: repeated spine.server.agent.AgentValidationIssue validation_issues = 11;
|
|
1100
|
+
*/
|
|
1101
|
+
validationIssues: AgentValidationIssue[];
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Exact serialized provider request-body bytes charged before dispatch.
|
|
1105
|
+
*
|
|
1106
|
+
* @generated from field: uint64 input_bytes = 12;
|
|
1107
|
+
*/
|
|
1108
|
+
inputBytes: bigint;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* The transport barrier completed, including when no response ceiling is configured.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from field: bool transport_reserved = 13;
|
|
1114
|
+
*/
|
|
1115
|
+
transportReserved: boolean;
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Describes the message spine.server.agent.AgentAttemptEvidence.
|
|
1120
|
+
* Use `create(AgentAttemptEvidenceSchema)` to create a new message.
|
|
1121
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1122
|
+
*/
|
|
1123
|
+
export const AgentAttemptEvidenceSchema: GenMessage<AgentAttemptEvidence> = /*@__PURE__*/
|
|
1124
|
+
messageDesc(file_spine_server_agent_execution_record, 20);
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Persisted tool intent and observed result, including uncertain writes.
|
|
1128
|
+
*
|
|
1129
|
+
* @generated from message spine.server.agent.AgentToolEvidence
|
|
1130
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1131
|
+
*/
|
|
1132
|
+
export type AgentToolEvidence = Message<"spine.server.agent.AgentToolEvidence"> & {
|
|
1133
|
+
/**
|
|
1134
|
+
* Logical operation that requested the tool.
|
|
1135
|
+
*
|
|
1136
|
+
* @generated from field: spine.ts.agent.AiOperationId operation = 1;
|
|
1137
|
+
*/
|
|
1138
|
+
operation?: AiOperationId | undefined;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* Physical provider attempt whose model output proposed the call.
|
|
1142
|
+
*
|
|
1143
|
+
* @generated from field: spine.ts.agent.AiAttemptId requesting_attempt = 2;
|
|
1144
|
+
*/
|
|
1145
|
+
requestingAttempt?: AiAttemptId | undefined;
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Nonblank provider correlation ID, unique within this operation and attempt.
|
|
1149
|
+
*
|
|
1150
|
+
* @generated from field: string provider_call_id = 3;
|
|
1151
|
+
*/
|
|
1152
|
+
providerCallId: string;
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Authorized request with effect category and validated arguments.
|
|
1156
|
+
*
|
|
1157
|
+
* @generated from field: spine.ts.agent.ToolRequest request = 4;
|
|
1158
|
+
*/
|
|
1159
|
+
request?: ToolRequest | undefined;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Complete observed tool result, absent when dispatch outcome is unknown.
|
|
1163
|
+
*
|
|
1164
|
+
* @generated from field: spine.ts.agent.ToolResponse response = 5;
|
|
1165
|
+
*/
|
|
1166
|
+
response?: ToolResponse | undefined;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Whether dispatch was known to have begun.
|
|
1170
|
+
*
|
|
1171
|
+
* @generated from field: bool dispatched = 6;
|
|
1172
|
+
*/
|
|
1173
|
+
dispatched: boolean;
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Unresolved write effect retained without automatic resend.
|
|
1177
|
+
*
|
|
1178
|
+
* @generated from field: bool outcome_unknown = 7;
|
|
1179
|
+
*/
|
|
1180
|
+
outcomeUnknown: boolean;
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Describes the message spine.server.agent.AgentToolEvidence.
|
|
1185
|
+
* Use `create(AgentToolEvidenceSchema)` to create a new message.
|
|
1186
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1187
|
+
*/
|
|
1188
|
+
export const AgentToolEvidenceSchema: GenMessage<AgentToolEvidence> = /*@__PURE__*/
|
|
1189
|
+
messageDesc(file_spine_server_agent_execution_record, 21);
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Framework reservation identity distinct from the MCP wire request ID.
|
|
1193
|
+
*
|
|
1194
|
+
* @generated from message spine.server.agent.AgentProtocolTicketId
|
|
1195
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1196
|
+
*/
|
|
1197
|
+
export type AgentProtocolTicketId = Message<"spine.server.agent.AgentProtocolTicketId"> & {
|
|
1198
|
+
/**
|
|
1199
|
+
* Nonblank identity assigned before the physical protocol send.
|
|
1200
|
+
*
|
|
1201
|
+
* @generated from field: string value = 1;
|
|
1202
|
+
*/
|
|
1203
|
+
value: string;
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Describes the message spine.server.agent.AgentProtocolTicketId.
|
|
1208
|
+
* Use `create(AgentProtocolTicketIdSchema)` to create a new message.
|
|
1209
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1210
|
+
*/
|
|
1211
|
+
export const AgentProtocolTicketIdSchema: GenMessage<AgentProtocolTicketId> = /*@__PURE__*/
|
|
1212
|
+
messageDesc(file_spine_server_agent_execution_record, 22);
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Fenced reservation and observed receipt for one physical MCP exchange.
|
|
1216
|
+
*
|
|
1217
|
+
* @generated from message spine.server.agent.AgentProtocolEvidence
|
|
1218
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1219
|
+
*/
|
|
1220
|
+
export type AgentProtocolEvidence = Message<"spine.server.agent.AgentProtocolEvidence"> & {
|
|
1221
|
+
/**
|
|
1222
|
+
* Named model operation that admitted this protocol exchange.
|
|
1223
|
+
*
|
|
1224
|
+
* @generated from field: spine.ts.agent.AiOperationId operation = 1;
|
|
1225
|
+
*/
|
|
1226
|
+
operation?: AiOperationId | undefined;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Configured MCP server selected for this exchange.
|
|
1230
|
+
*
|
|
1231
|
+
* @generated from field: spine.ts.agent.McpServerId server = 2;
|
|
1232
|
+
*/
|
|
1233
|
+
server?: McpServerId | undefined;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Framework ticket, distinct from the MCP wire request ID.
|
|
1237
|
+
*
|
|
1238
|
+
* @generated from field: spine.server.agent.AgentProtocolTicketId ticket = 3;
|
|
1239
|
+
*/
|
|
1240
|
+
ticket?: AgentProtocolTicketId | undefined;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Setup or authorized tool-call phase.
|
|
1244
|
+
*
|
|
1245
|
+
* @generated from field: spine.server.agent.AgentProtocolPhase phase = 4;
|
|
1246
|
+
*/
|
|
1247
|
+
phase: AgentProtocolPhase;
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Exact textual JSON-RPC method used for the physical exchange.
|
|
1251
|
+
*
|
|
1252
|
+
* @generated from field: string method = 5;
|
|
1253
|
+
*/
|
|
1254
|
+
method: string;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Input bytes charged before any physical send.
|
|
1258
|
+
*
|
|
1259
|
+
* @generated from field: uint64 input_bytes = 6;
|
|
1260
|
+
*/
|
|
1261
|
+
inputBytes: bigint;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Full response credit reserved before any physical send.
|
|
1265
|
+
*
|
|
1266
|
+
* @generated from field: uint64 reserved_response_bytes = 7;
|
|
1267
|
+
*/
|
|
1268
|
+
reservedResponseBytes: bigint;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Exact known receipt; absence retains the full uncertain response credit.
|
|
1272
|
+
*
|
|
1273
|
+
* @generated from field: google.protobuf.UInt64Value received_bytes = 8;
|
|
1274
|
+
*/
|
|
1275
|
+
receivedBytes?: bigint | undefined;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Previously journaled tool intent for a call; absent during setup.
|
|
1279
|
+
*
|
|
1280
|
+
* @generated from field: spine.ts.agent.AiToolCallId tool_call = 9;
|
|
1281
|
+
*/
|
|
1282
|
+
toolCall?: AiToolCallId | undefined;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Whether the physical exchange reached a recorded terminal observation.
|
|
1286
|
+
*
|
|
1287
|
+
* @generated from field: bool settled = 10;
|
|
1288
|
+
*/
|
|
1289
|
+
settled: boolean;
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Describes the message spine.server.agent.AgentProtocolEvidence.
|
|
1294
|
+
* Use `create(AgentProtocolEvidenceSchema)` to create a new message.
|
|
1295
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1296
|
+
*/
|
|
1297
|
+
export const AgentProtocolEvidenceSchema: GenMessage<AgentProtocolEvidence> = /*@__PURE__*/
|
|
1298
|
+
messageDesc(file_spine_server_agent_execution_record, 23);
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* One persisted step in the deterministic handler replay sequence.
|
|
1302
|
+
*
|
|
1303
|
+
* @generated from message spine.server.agent.AgentExecutionJournalEntry
|
|
1304
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1305
|
+
*/
|
|
1306
|
+
export type AgentExecutionJournalEntry = Message<"spine.server.agent.AgentExecutionJournalEntry"> & {
|
|
1307
|
+
/**
|
|
1308
|
+
* Ordered replay position within one invocation, never a history position.
|
|
1309
|
+
*
|
|
1310
|
+
* @generated from field: uint64 ordinal = 1;
|
|
1311
|
+
*/
|
|
1312
|
+
ordinal: bigint;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* One model operation, read, provider attempt or tool observation.
|
|
1316
|
+
*
|
|
1317
|
+
* @generated from oneof spine.server.agent.AgentExecutionJournalEntry.evidence
|
|
1318
|
+
*/
|
|
1319
|
+
evidence: {
|
|
1320
|
+
/**
|
|
1321
|
+
* Named logical model operation.
|
|
1322
|
+
*
|
|
1323
|
+
* @generated from field: spine.server.agent.AgentNamedOperation operation = 2;
|
|
1324
|
+
*/
|
|
1325
|
+
value: AgentNamedOperation;
|
|
1326
|
+
case: "operation";
|
|
1327
|
+
} | {
|
|
1328
|
+
/**
|
|
1329
|
+
* Exact query or history read snapshot.
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from field: spine.server.agent.AgentReadSnapshot read = 3;
|
|
1332
|
+
*/
|
|
1333
|
+
value: AgentReadSnapshot;
|
|
1334
|
+
case: "read";
|
|
1335
|
+
} | {
|
|
1336
|
+
/**
|
|
1337
|
+
* Reserved or observed physical model request.
|
|
1338
|
+
*
|
|
1339
|
+
* @generated from field: spine.server.agent.AgentAttemptEvidence attempt = 4;
|
|
1340
|
+
*/
|
|
1341
|
+
value: AgentAttemptEvidence;
|
|
1342
|
+
case: "attempt";
|
|
1343
|
+
} | {
|
|
1344
|
+
/**
|
|
1345
|
+
* Reserved or observed external tool call.
|
|
1346
|
+
*
|
|
1347
|
+
* @generated from field: spine.server.agent.AgentToolEvidence tool = 5;
|
|
1348
|
+
*/
|
|
1349
|
+
value: AgentToolEvidence;
|
|
1350
|
+
case: "tool";
|
|
1351
|
+
} | {
|
|
1352
|
+
/**
|
|
1353
|
+
* Reserved or observed physical MCP protocol exchange.
|
|
1354
|
+
*
|
|
1355
|
+
* @generated from field: spine.server.agent.AgentProtocolEvidence protocol = 6;
|
|
1356
|
+
*/
|
|
1357
|
+
value: AgentProtocolEvidence;
|
|
1358
|
+
case: "protocol";
|
|
1359
|
+
} | { case: undefined; value?: undefined };
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* Describes the message spine.server.agent.AgentExecutionJournalEntry.
|
|
1364
|
+
* Use `create(AgentExecutionJournalEntrySchema)` to create a new message.
|
|
1365
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1366
|
+
*/
|
|
1367
|
+
export const AgentExecutionJournalEntrySchema: GenMessage<AgentExecutionJournalEntry> = /*@__PURE__*/
|
|
1368
|
+
messageDesc(file_spine_server_agent_execution_record, 24);
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* One ordered validated dispatcher and its exact typed recipients.
|
|
1372
|
+
*
|
|
1373
|
+
* @generated from message spine.server.agent.AgentSavedDispatchTarget
|
|
1374
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1375
|
+
*/
|
|
1376
|
+
export type AgentSavedDispatchTarget = Message<"spine.server.agent.AgentSavedDispatchTarget"> & {
|
|
1377
|
+
/**
|
|
1378
|
+
* Closed dispatcher role; a matching runtime binding must still exist.
|
|
1379
|
+
*
|
|
1380
|
+
* @generated from field: spine.server.agent.AgentSavedTargetKind kind = 1;
|
|
1381
|
+
*/
|
|
1382
|
+
kind: AgentSavedTargetKind;
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Generated repository state type, absent for a standalone handler.
|
|
1386
|
+
*
|
|
1387
|
+
* @generated from field: string receiver_state_type = 2;
|
|
1388
|
+
*/
|
|
1389
|
+
receiverStateType: string;
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* Generated repository family, absent for a standalone handler.
|
|
1393
|
+
*
|
|
1394
|
+
* @generated from field: spine.server.agent.AgentSavedRepositoryFamily repository_family = 3;
|
|
1395
|
+
*/
|
|
1396
|
+
repositoryFamily: AgentSavedRepositoryFamily;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Accepted signal message type used by this dispatcher.
|
|
1400
|
+
*
|
|
1401
|
+
* @generated from field: string signal_type = 4;
|
|
1402
|
+
*/
|
|
1403
|
+
signalType: string;
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* Complete selected generated handler metadata fingerprint.
|
|
1407
|
+
*
|
|
1408
|
+
* @generated from field: string binding_fingerprint = 5;
|
|
1409
|
+
*/
|
|
1410
|
+
bindingFingerprint: string;
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Exact typed repository recipients in accepted order; empty when filtered.
|
|
1414
|
+
*
|
|
1415
|
+
* @generated from field: repeated google.protobuf.Any recipients = 6;
|
|
1416
|
+
*/
|
|
1417
|
+
recipients: Any[];
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Describes the message spine.server.agent.AgentSavedDispatchTarget.
|
|
1422
|
+
* Use `create(AgentSavedDispatchTargetSchema)` to create a new message.
|
|
1423
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1424
|
+
*/
|
|
1425
|
+
export const AgentSavedDispatchTargetSchema: GenMessage<AgentSavedDispatchTarget> = /*@__PURE__*/
|
|
1426
|
+
messageDesc(file_spine_server_agent_execution_record, 25);
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Presence distinguishes a prepared empty route from an unprepared output.
|
|
1430
|
+
*
|
|
1431
|
+
* @generated from message spine.server.agent.AgentSavedDispatchPlan
|
|
1432
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1433
|
+
*/
|
|
1434
|
+
export type AgentSavedDispatchPlan = Message<"spine.server.agent.AgentSavedDispatchPlan"> & {
|
|
1435
|
+
/**
|
|
1436
|
+
* Applicable dispatchers in their accepted order.
|
|
1437
|
+
*
|
|
1438
|
+
* @generated from field: repeated spine.server.agent.AgentSavedDispatchTarget targets = 1;
|
|
1439
|
+
*/
|
|
1440
|
+
targets: AgentSavedDispatchTarget[];
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* Describes the message spine.server.agent.AgentSavedDispatchPlan.
|
|
1445
|
+
* Use `create(AgentSavedDispatchPlanSchema)` to create a new message.
|
|
1446
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1447
|
+
*/
|
|
1448
|
+
export const AgentSavedDispatchPlanSchema: GenMessage<AgentSavedDispatchPlan> = /*@__PURE__*/
|
|
1449
|
+
messageDesc(file_spine_server_agent_execution_record, 26);
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Original outgoing envelope retained until normal delivery accepts its ID.
|
|
1453
|
+
*
|
|
1454
|
+
* @generated from message spine.server.agent.AgentOutgoingSignal
|
|
1455
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1456
|
+
*/
|
|
1457
|
+
export type AgentOutgoingSignal = Message<"spine.server.agent.AgentOutgoingSignal"> & {
|
|
1458
|
+
/**
|
|
1459
|
+
* Original envelope and ID for normal delivery.
|
|
1460
|
+
*
|
|
1461
|
+
* @generated from oneof spine.server.agent.AgentOutgoingSignal.signal
|
|
1462
|
+
*/
|
|
1463
|
+
signal: {
|
|
1464
|
+
/**
|
|
1465
|
+
* Native Event emitted by the completed Agent transition.
|
|
1466
|
+
*
|
|
1467
|
+
* @generated from field: spine.core.Event event = 1;
|
|
1468
|
+
*/
|
|
1469
|
+
value: Event;
|
|
1470
|
+
case: "event";
|
|
1471
|
+
} | {
|
|
1472
|
+
/**
|
|
1473
|
+
* Native Command emitted by a selected command reaction.
|
|
1474
|
+
*
|
|
1475
|
+
* @generated from field: spine.core.Command command = 2;
|
|
1476
|
+
*/
|
|
1477
|
+
value: Command;
|
|
1478
|
+
case: "command";
|
|
1479
|
+
} | { case: undefined; value?: undefined };
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Normal delivery accepted this envelope's original message ID.
|
|
1483
|
+
*
|
|
1484
|
+
* @generated from field: bool delivered = 3;
|
|
1485
|
+
*/
|
|
1486
|
+
delivered: boolean;
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* Frozen target plan persisted before any transport side effect.
|
|
1490
|
+
*
|
|
1491
|
+
* @generated from field: spine.server.agent.AgentSavedDispatchPlan plan = 4;
|
|
1492
|
+
*/
|
|
1493
|
+
plan?: AgentSavedDispatchPlan | undefined;
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Describes the message spine.server.agent.AgentOutgoingSignal.
|
|
1498
|
+
* Use `create(AgentOutgoingSignalSchema)` to create a new message.
|
|
1499
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1500
|
+
*/
|
|
1501
|
+
export const AgentOutgoingSignalSchema: GenMessage<AgentOutgoingSignal> = /*@__PURE__*/
|
|
1502
|
+
messageDesc(file_spine_server_agent_execution_record, 27);
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Terminal transition result and pending delivery obligations.
|
|
1506
|
+
*
|
|
1507
|
+
* @generated from message spine.server.agent.AgentExecutionCompletion
|
|
1508
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1509
|
+
*/
|
|
1510
|
+
export type AgentExecutionCompletion = Message<"spine.server.agent.AgentExecutionCompletion"> & {
|
|
1511
|
+
/**
|
|
1512
|
+
* Version read before execution of the selected handlers.
|
|
1513
|
+
*
|
|
1514
|
+
* @generated from field: spine.core.Version initial_version = 1;
|
|
1515
|
+
*/
|
|
1516
|
+
initialVersion?: Version | undefined;
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* Version after one persisted transition, equal to initial for a no-op.
|
|
1520
|
+
*
|
|
1521
|
+
* @generated from field: spine.core.Version resulting_version = 2;
|
|
1522
|
+
*/
|
|
1523
|
+
resultingVersion?: Version | undefined;
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* Current per-model preferences made visible with completion.
|
|
1527
|
+
*
|
|
1528
|
+
* @generated from field: repeated spine.ts.agent.ModelPreference preferences = 3;
|
|
1529
|
+
*/
|
|
1530
|
+
preferences: ModelPreference[];
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Original outgoing signals and delivery state.
|
|
1534
|
+
*
|
|
1535
|
+
* @generated from field: repeated spine.server.agent.AgentOutgoingSignal outgoing = 4;
|
|
1536
|
+
*/
|
|
1537
|
+
outgoing: AgentOutgoingSignal[];
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Describes the message spine.server.agent.AgentExecutionCompletion.
|
|
1542
|
+
* Use `create(AgentExecutionCompletionSchema)` to create a new message.
|
|
1543
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1544
|
+
*/
|
|
1545
|
+
export const AgentExecutionCompletionSchema: GenMessage<AgentExecutionCompletion> = /*@__PURE__*/
|
|
1546
|
+
messageDesc(file_spine_server_agent_execution_record, 28);
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* Complete provider record for one accepted Agent signal.
|
|
1550
|
+
*
|
|
1551
|
+
* @generated from message spine.server.agent.AgentExecutionRecord
|
|
1552
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1553
|
+
*/
|
|
1554
|
+
export type AgentExecutionRecord = Message<"spine.server.agent.AgentExecutionRecord"> & {
|
|
1555
|
+
/**
|
|
1556
|
+
* Immutable source envelope and selected handler bindings.
|
|
1557
|
+
*
|
|
1558
|
+
* @generated from field: spine.server.agent.AgentAcceptedInvocation accepted = 1;
|
|
1559
|
+
*/
|
|
1560
|
+
accepted?: AgentAcceptedInvocation | undefined;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Current execution and delivery phase.
|
|
1564
|
+
*
|
|
1565
|
+
* @generated from field: spine.server.agent.AgentInvocationStatus status = 2;
|
|
1566
|
+
*/
|
|
1567
|
+
status: AgentInvocationStatus;
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* Exact exclusive claim token; absent before claim or after release.
|
|
1571
|
+
*
|
|
1572
|
+
* @generated from field: string claim_token = 3;
|
|
1573
|
+
*/
|
|
1574
|
+
claimToken: string;
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Time after which another claim may replace this token.
|
|
1578
|
+
*
|
|
1579
|
+
* @generated from field: google.protobuf.Timestamp claim_expires_at = 4;
|
|
1580
|
+
*/
|
|
1581
|
+
claimExpiresAt?: Timestamp | undefined;
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Chosen limits, models and initial version after execution starts.
|
|
1585
|
+
*
|
|
1586
|
+
* @generated from field: spine.server.agent.AgentExecutionStart started = 5;
|
|
1587
|
+
*/
|
|
1588
|
+
started?: AgentExecutionStart | undefined;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* Ordered evidence used to resume without repeating settled work.
|
|
1592
|
+
*
|
|
1593
|
+
* @generated from field: repeated spine.server.agent.AgentExecutionJournalEntry journal = 6;
|
|
1594
|
+
*/
|
|
1595
|
+
journal: AgentExecutionJournalEntry[];
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* Preference changes waiting for atomic transition completion.
|
|
1599
|
+
*
|
|
1600
|
+
* @generated from field: repeated spine.ts.agent.ModelPreference staged_preferences = 7;
|
|
1601
|
+
*/
|
|
1602
|
+
stagedPreferences: ModelPreference[];
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* Committed transition result and remaining delivery obligations.
|
|
1606
|
+
*
|
|
1607
|
+
* @generated from field: spine.server.agent.AgentExecutionCompletion completion = 8;
|
|
1608
|
+
*/
|
|
1609
|
+
completion?: AgentExecutionCompletion | undefined;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* Safe diagnostic for a terminal invocation failure.
|
|
1613
|
+
*
|
|
1614
|
+
* @generated from field: spine.ts.agent.AiDiagnosticId terminal_failure = 9;
|
|
1615
|
+
*/
|
|
1616
|
+
terminalFailure?: AiDiagnosticId | undefined;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Mutable charges updated only under the current claim fence.
|
|
1620
|
+
*
|
|
1621
|
+
* @generated from field: spine.server.agent.AgentInvocationCounters counters = 10;
|
|
1622
|
+
*/
|
|
1623
|
+
counters?: AgentInvocationCounters | undefined;
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* Describes the message spine.server.agent.AgentExecutionRecord.
|
|
1628
|
+
* Use `create(AgentExecutionRecordSchema)` to create a new message.
|
|
1629
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1630
|
+
*/
|
|
1631
|
+
export const AgentExecutionRecordSchema: GenMessage<AgentExecutionRecord> = /*@__PURE__*/
|
|
1632
|
+
messageDesc(file_spine_server_agent_execution_record, 29);
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Per-instance claim and current preference row serializing accepted work.
|
|
1636
|
+
*
|
|
1637
|
+
* @generated from message spine.server.agent.AgentExecutionHead
|
|
1638
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1639
|
+
*/
|
|
1640
|
+
export type AgentExecutionHead = Message<"spine.server.agent.AgentExecutionHead"> & {
|
|
1641
|
+
/**
|
|
1642
|
+
* Complete Agent instance identity within its provider tenant.
|
|
1643
|
+
*
|
|
1644
|
+
* @generated from field: spine.server.agent.AgentExecutionScope scope = 1;
|
|
1645
|
+
*/
|
|
1646
|
+
scope?: AgentExecutionScope | undefined;
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Currently claimed invocation; unset when no transition is active.
|
|
1650
|
+
*
|
|
1651
|
+
* @generated from field: spine.server.agent.AgentInvocationKey active = 2;
|
|
1652
|
+
*/
|
|
1653
|
+
active?: AgentInvocationKey | undefined;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* Current exclusive claim token for this Agent instance.
|
|
1657
|
+
*
|
|
1658
|
+
* @generated from field: string claim_token = 3;
|
|
1659
|
+
*/
|
|
1660
|
+
claimToken: string;
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* Expiry of the current claim token.
|
|
1664
|
+
*
|
|
1665
|
+
* @generated from field: google.protobuf.Timestamp claim_expires_at = 4;
|
|
1666
|
+
*/
|
|
1667
|
+
claimExpiresAt?: Timestamp | undefined;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* Queryable current model preferences after completed transitions.
|
|
1671
|
+
*
|
|
1672
|
+
* @generated from field: repeated spine.ts.agent.ModelPreference preferences = 5;
|
|
1673
|
+
*/
|
|
1674
|
+
preferences: ModelPreference[];
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* Existing Inbox order of the latest resolved invocation.
|
|
1678
|
+
*
|
|
1679
|
+
* @generated from field: spine.server.agent.AgentInboxOrder last_resolved = 6;
|
|
1680
|
+
*/
|
|
1681
|
+
lastResolved?: AgentInboxOrder | undefined;
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Earliest unresolved invocation selected by its original Inbox order.
|
|
1685
|
+
*
|
|
1686
|
+
* @generated from field: spine.server.agent.AgentInvocationKey pending = 7;
|
|
1687
|
+
*/
|
|
1688
|
+
pending?: AgentInvocationKey | undefined;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Original Inbox order of the pending invocation.
|
|
1692
|
+
*
|
|
1693
|
+
* @generated from field: spine.server.agent.AgentInboxOrder pending_order = 8;
|
|
1694
|
+
*/
|
|
1695
|
+
pendingOrder?: AgentInboxOrder | undefined;
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* Provider time at which the pending invocation may enter discovery.
|
|
1699
|
+
*
|
|
1700
|
+
* @generated from field: google.protobuf.Timestamp eligible_at = 9;
|
|
1701
|
+
*/
|
|
1702
|
+
eligibleAt?: Timestamp | undefined;
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Describes the message spine.server.agent.AgentExecutionHead.
|
|
1707
|
+
* Use `create(AgentExecutionHeadSchema)` to create a new message.
|
|
1708
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1709
|
+
*/
|
|
1710
|
+
export const AgentExecutionHeadSchema: GenMessage<AgentExecutionHead> = /*@__PURE__*/
|
|
1711
|
+
messageDesc(file_spine_server_agent_execution_record, 30);
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Closed registered handler roles permitted by Agent admission.
|
|
1715
|
+
*
|
|
1716
|
+
* @generated from enum spine.server.agent.AgentHandlerKind
|
|
1717
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1718
|
+
*/
|
|
1719
|
+
export enum AgentHandlerKind {
|
|
1720
|
+
/**
|
|
1721
|
+
* No handler role was provided.
|
|
1722
|
+
*
|
|
1723
|
+
* @generated from enum value: AGENT_HANDLER_KIND_UNSPECIFIED = 0;
|
|
1724
|
+
*/
|
|
1725
|
+
AGENT_HANDLER_KIND_UNSPECIFIED = 0,
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Command assignment declared by an Agent method.
|
|
1729
|
+
*
|
|
1730
|
+
* @generated from enum value: AGENT_HANDLER_COMMAND_ASSIGNMENT = 1;
|
|
1731
|
+
*/
|
|
1732
|
+
AGENT_HANDLER_COMMAND_ASSIGNMENT = 1,
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* Event-to-Command reaction declared by a handler.
|
|
1736
|
+
*
|
|
1737
|
+
* @generated from enum value: AGENT_HANDLER_COMMAND_REACTION = 2;
|
|
1738
|
+
*/
|
|
1739
|
+
AGENT_HANDLER_COMMAND_REACTION = 2,
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* Event reaction declared by an Agent method.
|
|
1743
|
+
*
|
|
1744
|
+
* @generated from enum value: AGENT_HANDLER_EVENT_REACTION = 3;
|
|
1745
|
+
*/
|
|
1746
|
+
AGENT_HANDLER_EVENT_REACTION = 3,
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* Describes the enum spine.server.agent.AgentHandlerKind.
|
|
1751
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1752
|
+
*/
|
|
1753
|
+
export const AgentHandlerKindSchema: GenEnum<AgentHandlerKind> = /*@__PURE__*/
|
|
1754
|
+
enumDesc(file_spine_server_agent_execution_record, 0);
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* Closed signal origins used by generated handler metadata.
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from enum spine.server.agent.AgentHandlerOrigin
|
|
1760
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1761
|
+
*/
|
|
1762
|
+
export enum AgentHandlerOrigin {
|
|
1763
|
+
/**
|
|
1764
|
+
* No signal origin was provided.
|
|
1765
|
+
*
|
|
1766
|
+
* @generated from enum value: AGENT_HANDLER_ORIGIN_UNSPECIFIED = 0;
|
|
1767
|
+
*/
|
|
1768
|
+
AGENT_HANDLER_ORIGIN_UNSPECIFIED = 0,
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Signal originated in the current bounded context.
|
|
1772
|
+
*
|
|
1773
|
+
* @generated from enum value: AGENT_HANDLER_DOMESTIC = 1;
|
|
1774
|
+
*/
|
|
1775
|
+
AGENT_HANDLER_DOMESTIC = 1,
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* Signal was imported from an external bounded context.
|
|
1779
|
+
*
|
|
1780
|
+
* @generated from enum value: AGENT_HANDLER_EXTERNAL = 2;
|
|
1781
|
+
*/
|
|
1782
|
+
AGENT_HANDLER_EXTERNAL = 2,
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* Describes the enum spine.server.agent.AgentHandlerOrigin.
|
|
1787
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1788
|
+
*/
|
|
1789
|
+
export const AgentHandlerOriginSchema: GenEnum<AgentHandlerOrigin> = /*@__PURE__*/
|
|
1790
|
+
enumDesc(file_spine_server_agent_execution_record, 1);
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* Current state of one accepted invocation.
|
|
1794
|
+
*
|
|
1795
|
+
* @generated from enum spine.server.agent.AgentInvocationStatus
|
|
1796
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1797
|
+
*/
|
|
1798
|
+
export enum AgentInvocationStatus {
|
|
1799
|
+
/**
|
|
1800
|
+
* No valid execution state was recorded.
|
|
1801
|
+
*
|
|
1802
|
+
* @generated from enum value: AGENT_INVOCATION_STATUS_UNSPECIFIED = 0;
|
|
1803
|
+
*/
|
|
1804
|
+
AGENT_INVOCATION_STATUS_UNSPECIFIED = 0,
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* Accepted work is waiting for its instance claim.
|
|
1808
|
+
*
|
|
1809
|
+
* @generated from enum value: AGENT_INVOCATION_ACCEPTED = 1;
|
|
1810
|
+
*/
|
|
1811
|
+
AGENT_INVOCATION_ACCEPTED = 1,
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* An exclusive token may update the current invocation.
|
|
1815
|
+
*
|
|
1816
|
+
* @generated from enum value: AGENT_INVOCATION_ACTIVE = 2;
|
|
1817
|
+
*/
|
|
1818
|
+
AGENT_INVOCATION_ACTIVE = 2,
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* Handler work committed while output delivery remains pending.
|
|
1822
|
+
*
|
|
1823
|
+
* @generated from enum value: AGENT_INVOCATION_COMPLETED_PENDING_DELIVERY = 3;
|
|
1824
|
+
*/
|
|
1825
|
+
AGENT_INVOCATION_COMPLETED_PENDING_DELIVERY = 3,
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* Handler work and all outgoing delivery were accepted.
|
|
1829
|
+
*
|
|
1830
|
+
* @generated from enum value: AGENT_INVOCATION_COMPLETED = 4;
|
|
1831
|
+
*/
|
|
1832
|
+
AGENT_INVOCATION_COMPLETED = 4,
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* Execution ended with retained failure or uncertain effect evidence.
|
|
1836
|
+
*
|
|
1837
|
+
* @generated from enum value: AGENT_INVOCATION_TERMINATED = 5;
|
|
1838
|
+
*/
|
|
1839
|
+
AGENT_INVOCATION_TERMINATED = 5,
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Describes the enum spine.server.agent.AgentInvocationStatus.
|
|
1844
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1845
|
+
*/
|
|
1846
|
+
export const AgentInvocationStatusSchema: GenEnum<AgentInvocationStatus> = /*@__PURE__*/
|
|
1847
|
+
enumDesc(file_spine_server_agent_execution_record, 2);
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* Indexed history view selected by a recorded Agent read.
|
|
1851
|
+
*
|
|
1852
|
+
* @generated from enum spine.server.agent.AgentHistoryReadKind
|
|
1853
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1854
|
+
*/
|
|
1855
|
+
export enum AgentHistoryReadKind {
|
|
1856
|
+
/**
|
|
1857
|
+
* No history view was selected.
|
|
1858
|
+
*
|
|
1859
|
+
* @generated from enum value: AGENT_HISTORY_READ_UNSPECIFIED = 0;
|
|
1860
|
+
*/
|
|
1861
|
+
AGENT_HISTORY_READ_UNSPECIFIED = 0,
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* Conversation records, System Events and emitted domain Events.
|
|
1865
|
+
*
|
|
1866
|
+
* @generated from enum value: AGENT_HISTORY_READ_FULL = 1;
|
|
1867
|
+
*/
|
|
1868
|
+
AGENT_HISTORY_READ_FULL = 1,
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Records from one explicitly identified conversation.
|
|
1872
|
+
*
|
|
1873
|
+
* @generated from enum value: AGENT_HISTORY_READ_CONVERSATION = 2;
|
|
1874
|
+
*/
|
|
1875
|
+
AGENT_HISTORY_READ_CONVERSATION = 2,
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* System Events concerning this Agent.
|
|
1879
|
+
*
|
|
1880
|
+
* @generated from enum value: AGENT_HISTORY_READ_SYSTEM = 3;
|
|
1881
|
+
*/
|
|
1882
|
+
AGENT_HISTORY_READ_SYSTEM = 3,
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Domain Events emitted by this Agent.
|
|
1886
|
+
*
|
|
1887
|
+
* @generated from enum value: AGENT_HISTORY_READ_DOMAIN = 4;
|
|
1888
|
+
*/
|
|
1889
|
+
AGENT_HISTORY_READ_DOMAIN = 4,
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* Describes the enum spine.server.agent.AgentHistoryReadKind.
|
|
1894
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1895
|
+
*/
|
|
1896
|
+
export const AgentHistoryReadKindSchema: GenEnum<AgentHistoryReadKind> = /*@__PURE__*/
|
|
1897
|
+
enumDesc(file_spine_server_agent_execution_record, 3);
|
|
1898
|
+
|
|
1899
|
+
/**
|
|
1900
|
+
* Phase of one physical MCP protocol exchange.
|
|
1901
|
+
*
|
|
1902
|
+
* @generated from enum spine.server.agent.AgentProtocolPhase
|
|
1903
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1904
|
+
*/
|
|
1905
|
+
export enum AgentProtocolPhase {
|
|
1906
|
+
/**
|
|
1907
|
+
* No phase was selected.
|
|
1908
|
+
*
|
|
1909
|
+
* @generated from enum value: AGENT_PROTOCOL_PHASE_UNSPECIFIED = 0;
|
|
1910
|
+
*/
|
|
1911
|
+
AGENT_PROTOCOL_PHASE_UNSPECIFIED = 0,
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* Connection setup or tool discovery before any tool intent.
|
|
1915
|
+
*
|
|
1916
|
+
* @generated from enum value: AGENT_PROTOCOL_SETUP = 1;
|
|
1917
|
+
*/
|
|
1918
|
+
AGENT_PROTOCOL_SETUP = 1,
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* Authorized physical call for a previously journaled tool intent.
|
|
1922
|
+
*
|
|
1923
|
+
* @generated from enum value: AGENT_PROTOCOL_CALL = 2;
|
|
1924
|
+
*/
|
|
1925
|
+
AGENT_PROTOCOL_CALL = 2,
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Describes the enum spine.server.agent.AgentProtocolPhase.
|
|
1930
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1931
|
+
*/
|
|
1932
|
+
export const AgentProtocolPhaseSchema: GenEnum<AgentProtocolPhase> = /*@__PURE__*/
|
|
1933
|
+
enumDesc(file_spine_server_agent_execution_record, 4);
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* Closed saved-output dispatcher roles, independent of registration position.
|
|
1937
|
+
*
|
|
1938
|
+
* @generated from enum spine.server.agent.AgentSavedTargetKind
|
|
1939
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1940
|
+
*/
|
|
1941
|
+
export enum AgentSavedTargetKind {
|
|
1942
|
+
/**
|
|
1943
|
+
* No saved dispatcher is selected.
|
|
1944
|
+
*
|
|
1945
|
+
* @generated from enum value: AGENT_SAVED_TARGET_UNSPECIFIED = 0;
|
|
1946
|
+
*/
|
|
1947
|
+
AGENT_SAVED_TARGET_UNSPECIFIED = 0,
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* A generated repository accepts this Event.
|
|
1951
|
+
*
|
|
1952
|
+
* @generated from enum value: AGENT_SAVED_REPOSITORY_EVENT = 1;
|
|
1953
|
+
*/
|
|
1954
|
+
AGENT_SAVED_REPOSITORY_EVENT = 1,
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* A generated repository accepts this Command.
|
|
1958
|
+
*
|
|
1959
|
+
* @generated from enum value: AGENT_SAVED_REPOSITORY_COMMAND = 2;
|
|
1960
|
+
*/
|
|
1961
|
+
AGENT_SAVED_REPOSITORY_COMMAND = 2,
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* A generated standalone handler accepts this Event.
|
|
1965
|
+
*
|
|
1966
|
+
* @generated from enum value: AGENT_SAVED_STANDALONE_EVENT = 3;
|
|
1967
|
+
*/
|
|
1968
|
+
AGENT_SAVED_STANDALONE_EVENT = 3,
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* A generated standalone handler accepts this Command.
|
|
1972
|
+
*
|
|
1973
|
+
* @generated from enum value: AGENT_SAVED_STANDALONE_COMMAND = 4;
|
|
1974
|
+
*/
|
|
1975
|
+
AGENT_SAVED_STANDALONE_COMMAND = 4,
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* Describes the enum spine.server.agent.AgentSavedTargetKind.
|
|
1980
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1981
|
+
*/
|
|
1982
|
+
export const AgentSavedTargetKindSchema: GenEnum<AgentSavedTargetKind> = /*@__PURE__*/
|
|
1983
|
+
enumDesc(file_spine_server_agent_execution_record, 5);
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Generated repository family used when rebinding an accepted recipient.
|
|
1987
|
+
*
|
|
1988
|
+
* @generated from enum spine.server.agent.AgentSavedRepositoryFamily
|
|
1989
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
1990
|
+
*/
|
|
1991
|
+
export enum AgentSavedRepositoryFamily {
|
|
1992
|
+
/**
|
|
1993
|
+
* No generated repository family was selected.
|
|
1994
|
+
*
|
|
1995
|
+
* @generated from enum value: AGENT_SAVED_FAMILY_UNSPECIFIED = 0;
|
|
1996
|
+
*/
|
|
1997
|
+
AGENT_SAVED_FAMILY_UNSPECIFIED = 0,
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
* Aggregate repository.
|
|
2001
|
+
*
|
|
2002
|
+
* @generated from enum value: AGENT_SAVED_AGGREGATE = 1;
|
|
2003
|
+
*/
|
|
2004
|
+
AGENT_SAVED_AGGREGATE = 1,
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Projection repository.
|
|
2008
|
+
*
|
|
2009
|
+
* @generated from enum value: AGENT_SAVED_PROJECTION = 2;
|
|
2010
|
+
*/
|
|
2011
|
+
AGENT_SAVED_PROJECTION = 2,
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* Process Manager repository.
|
|
2015
|
+
*
|
|
2016
|
+
* @generated from enum value: AGENT_SAVED_PROCESS_MANAGER = 3;
|
|
2017
|
+
*/
|
|
2018
|
+
AGENT_SAVED_PROCESS_MANAGER = 3,
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* Agent repository.
|
|
2022
|
+
*
|
|
2023
|
+
* @generated from enum value: AGENT_SAVED_AGENT = 4;
|
|
2024
|
+
*/
|
|
2025
|
+
AGENT_SAVED_AGENT = 4,
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* Describes the enum spine.server.agent.AgentSavedRepositoryFamily.
|
|
2030
|
+
* Generated from Proto: spine/server/agent/execution_record.proto.
|
|
2031
|
+
*/
|
|
2032
|
+
export const AgentSavedRepositoryFamilySchema: GenEnum<AgentSavedRepositoryFamily> = /*@__PURE__*/
|
|
2033
|
+
enumDesc(file_spine_server_agent_execution_record, 6);
|
|
2034
|
+
|