@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.
Files changed (50) hide show
  1. package/dist/generated/proto-module.d.ts +7 -1
  2. package/dist/generated/proto-module.d.ts.map +1 -1
  3. package/dist/generated/proto-module.js +53 -17
  4. package/dist/generated/proto-module.js.map +1 -1
  5. package/dist/generated/spine/server/agent/execution_record_pb.d.ts +1781 -0
  6. package/dist/generated/spine/server/agent/execution_record_pb.d.ts.map +1 -0
  7. package/dist/generated/spine/server/agent/execution_record_pb.js +490 -0
  8. package/dist/generated/spine/server/agent/execution_record_pb.js.map +1 -0
  9. package/dist/generated/spine/server/agent/history_record_pb.d.ts +66 -0
  10. package/dist/generated/spine/server/agent/history_record_pb.d.ts.map +1 -0
  11. package/dist/generated/spine/server/agent/history_record_pb.js +25 -0
  12. package/dist/generated/spine/server/agent/history_record_pb.js.map +1 -0
  13. package/dist/generated/spine/ts/agent/content_pb.d.ts +963 -0
  14. package/dist/generated/spine/ts/agent/content_pb.d.ts.map +1 -0
  15. package/dist/generated/spine/ts/agent/content_pb.js +258 -0
  16. package/dist/generated/spine/ts/agent/content_pb.js.map +1 -0
  17. package/dist/generated/spine/ts/agent/history_pb.d.ts +165 -0
  18. package/dist/generated/spine/ts/agent/history_pb.d.ts.map +1 -0
  19. package/dist/generated/spine/ts/agent/history_pb.js +39 -0
  20. package/dist/generated/spine/ts/agent/history_pb.js.map +1 -0
  21. package/dist/generated/spine/ts/agent/interaction_events_pb.d.ts +541 -0
  22. package/dist/generated/spine/ts/agent/interaction_events_pb.d.ts.map +1 -0
  23. package/dist/generated/spine/ts/agent/interaction_events_pb.js +76 -0
  24. package/dist/generated/spine/ts/agent/interaction_events_pb.js.map +1 -0
  25. package/dist/generated/spine/ts/agent/model_pb.d.ts +870 -0
  26. package/dist/generated/spine/ts/agent/model_pb.d.ts.map +1 -0
  27. package/dist/generated/spine/ts/agent/model_pb.js +404 -0
  28. package/dist/generated/spine/ts/agent/model_pb.js.map +1 -0
  29. package/dist/src/agent/index.d.ts +38 -0
  30. package/dist/src/agent/index.d.ts.map +1 -0
  31. package/dist/src/agent/index.js +47 -0
  32. package/dist/src/agent/index.js.map +1 -0
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/generated/.spine-proto-generation.json +1 -1
  35. package/generated/proto-module.ts +53 -17
  36. package/generated/spine/server/agent/execution_record_pb.ts +2034 -0
  37. package/generated/spine/server/agent/history_record_pb.ts +85 -0
  38. package/generated/spine/ts/agent/content_pb.ts +1103 -0
  39. package/generated/spine/ts/agent/history_pb.ts +194 -0
  40. package/generated/spine/ts/agent/interaction_events_pb.ts +639 -0
  41. package/generated/spine/ts/agent/model_pb.ts +1014 -0
  42. package/package.json +5 -1
  43. package/proto/spine/server/agent/execution_record.proto +849 -0
  44. package/proto/spine/server/agent/history_record.proto +47 -0
  45. package/proto/spine/ts/agent/content.proto +412 -0
  46. package/proto/spine/ts/agent/history.proto +99 -0
  47. package/proto/spine/ts/agent/interaction_events.proto +367 -0
  48. package/proto/spine/ts/agent/model.proto +333 -0
  49. package/proto/spine-sources.json +28 -4
  50. package/spine-proto-manifest.json +14 -2
@@ -0,0 +1,194 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/ts/agent/history.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/ts/agent/history.proto (package spine.ts.agent, syntax proto3)
10
+ /* eslint-disable */
11
+
12
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
13
+ import { 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 } from "@bufbuild/protobuf/wkt";
16
+ import type { Event } from "../../core/event_pb.js";
17
+ import { file_spine_core_event } from "../../core/event_pb.js";
18
+ import { file_spine_options } from "../../options_pb.js";
19
+ import type { AiAttemptId, AiOperationId, AiToolCallId, ConversationId } from "./model_pb.js";
20
+ import { file_spine_ts_agent_model } from "./model_pb.js";
21
+ import type { Message } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * Describes the file spine/ts/agent/history.proto.
25
+ * Generated from Proto: spine/ts/agent/history.proto.
26
+ */
27
+ export const file_spine_ts_agent_history: GenFile = /*@__PURE__*/
28
+ fileDesc("ChxzcGluZS90cy9hZ2VudC9oaXN0b3J5LnByb3RvEg5zcGluZS50cy5hZ2VudCIrChRDb252ZXJzYXRpb25SZWNvcmRJZBITCgV2YWx1ZRgBIAEoCUIEoIUkASIpChJBZ2VudEhpc3RvcnlDdXJzb3ISEwoFdmFsdWUYASABKAlCBKCFJAEiowMKEkNvbnZlcnNhdGlvblJlY29yZBI6CgJpZBgBIAEoCzIkLnNwaW5lLnRzLmFnZW50LkNvbnZlcnNhdGlvblJlY29yZElkQgighSQB6IUkARI+Cgxjb252ZXJzYXRpb24YAiABKAsyHi5zcGluZS50cy5hZ2VudC5Db252ZXJzYXRpb25JZEIIoIUkAeiFJAESOgoJb3BlcmF0aW9uGAMgASgLMh0uc3BpbmUudHMuYWdlbnQuQWlPcGVyYXRpb25JZEIIoIUkAeiFJAESOQoLb2NjdXJyZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgighSQB6IUkARIvCgdjb250ZW50GAUgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUIIoIUkAeiFJAESMgoHYXR0ZW1wdBgGIAEoCzIbLnNwaW5lLnRzLmFnZW50LkFpQXR0ZW1wdElkQgTohSQBEjUKCXRvb2xfY2FsbBgHIAEoCzIcLnNwaW5lLnRzLmFnZW50LkFpVG9vbENhbGxJZEIE6IUkASKJAgoRQWdlbnRIaXN0b3J5RW50cnkSOQoLb2NjdXJyZWRfYXQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgighSQB6IUkARJHChNjb252ZXJzYXRpb25fcmVjb3JkGAIgASgLMiIuc3BpbmUudHMuYWdlbnQuQ29udmVyc2F0aW9uUmVjb3JkQgTohSQBSAASLwoMc3lzdGVtX2V2ZW50GAMgASgLMhEuc3BpbmUuY29yZS5FdmVudEIE6IUkAUgAEi8KDGRvbWFpbl9ldmVudBgEIAEoCzIRLnNwaW5lLmNvcmUuRXZlbnRCBOiFJAFIAEIOCgRpdGVtEgaiiiQCCAFCEaqNJA10eXBlLnNwaW5lLmlvYgZwcm90bzM", [file_google_protobuf_any, file_google_protobuf_timestamp, file_spine_core_event, file_spine_options, file_spine_ts_agent_model]);
29
+
30
+ /**
31
+ * Identifies one recorded model or tool request or response.
32
+ *
33
+ * @generated from message spine.ts.agent.ConversationRecordId
34
+ * Generated from Proto: spine/ts/agent/history.proto.
35
+ */
36
+ export type ConversationRecordId = Message<"spine.ts.agent.ConversationRecordId"> & {
37
+ /**
38
+ * Identifier assigned when the exchange is recorded.
39
+ *
40
+ * @generated from field: string value = 1;
41
+ */
42
+ value: string;
43
+ };
44
+
45
+ /**
46
+ * Describes the message spine.ts.agent.ConversationRecordId.
47
+ * Use `create(ConversationRecordIdSchema)` to create a new message.
48
+ * Generated from Proto: spine/ts/agent/history.proto.
49
+ */
50
+ export const ConversationRecordIdSchema: GenMessage<ConversationRecordId> = /*@__PURE__*/
51
+ messageDesc(file_spine_ts_agent_history, 0);
52
+
53
+ /**
54
+ * Continuation returned by one Agent history read method.
55
+ *
56
+ * @generated from message spine.ts.agent.AgentHistoryCursor
57
+ * Generated from Proto: spine/ts/agent/history.proto.
58
+ */
59
+ export type AgentHistoryCursor = Message<"spine.ts.agent.AgentHistoryCursor"> & {
60
+ /**
61
+ * Opaque scope and complete ordering-key continuation.
62
+ *
63
+ * @generated from field: string value = 1;
64
+ */
65
+ value: string;
66
+ };
67
+
68
+ /**
69
+ * Describes the message spine.ts.agent.AgentHistoryCursor.
70
+ * Use `create(AgentHistoryCursorSchema)` to create a new message.
71
+ * Generated from Proto: spine/ts/agent/history.proto.
72
+ */
73
+ export const AgentHistoryCursorSchema: GenMessage<AgentHistoryCursor> = /*@__PURE__*/
74
+ messageDesc(file_spine_ts_agent_history, 1);
75
+
76
+ /**
77
+ * One request or response exchanged with a model or tool.
78
+ *
79
+ * @generated from message spine.ts.agent.ConversationRecord
80
+ * Generated from Proto: spine/ts/agent/history.proto.
81
+ */
82
+ export type ConversationRecord = Message<"spine.ts.agent.ConversationRecord"> & {
83
+ /**
84
+ * Identity of this immutable record.
85
+ *
86
+ * @generated from field: spine.ts.agent.ConversationRecordId id = 1;
87
+ */
88
+ id?: ConversationRecordId | undefined;
89
+
90
+ /**
91
+ * Conversation continued by this exchange.
92
+ *
93
+ * @generated from field: spine.ts.agent.ConversationId conversation = 2;
94
+ */
95
+ conversation?: ConversationId | undefined;
96
+
97
+ /**
98
+ * Model operation during which the exchange occurred.
99
+ *
100
+ * @generated from field: spine.ts.agent.AiOperationId operation = 3;
101
+ */
102
+ operation?: AiOperationId | undefined;
103
+
104
+ /**
105
+ * Occurrence timestamp supplied by Spine Time.
106
+ *
107
+ * @generated from field: google.protobuf.Timestamp occurred_at = 4;
108
+ */
109
+ occurredAt?: Timestamp | undefined;
110
+
111
+ /**
112
+ * Exactly one documented generation, decision or tool content message.
113
+ *
114
+ * @generated from field: google.protobuf.Any content = 5;
115
+ */
116
+ content?: Any | undefined;
117
+
118
+ /**
119
+ * Physical model request when this record concerns a provider request.
120
+ *
121
+ * @generated from field: spine.ts.agent.AiAttemptId attempt = 6;
122
+ */
123
+ attempt?: AiAttemptId | undefined;
124
+
125
+ /**
126
+ * Logical tool call when this record concerns external tool execution.
127
+ *
128
+ * @generated from field: spine.ts.agent.AiToolCallId tool_call = 7;
129
+ */
130
+ toolCall?: AiToolCallId | undefined;
131
+ };
132
+
133
+ /**
134
+ * Describes the message spine.ts.agent.ConversationRecord.
135
+ * Use `create(ConversationRecordSchema)` to create a new message.
136
+ * Generated from Proto: spine/ts/agent/history.proto.
137
+ */
138
+ export const ConversationRecordSchema: GenMessage<ConversationRecord> = /*@__PURE__*/
139
+ messageDesc(file_spine_ts_agent_history, 2);
140
+
141
+ /**
142
+ * One entry in the Agent's combined repository history.
143
+ *
144
+ * @generated from message spine.ts.agent.AgentHistoryEntry
145
+ * Generated from Proto: spine/ts/agent/history.proto.
146
+ */
147
+ export type AgentHistoryEntry = Message<"spine.ts.agent.AgentHistoryEntry"> & {
148
+ /**
149
+ * Original occurrence timestamp of the enclosed record or Event.
150
+ *
151
+ * @generated from field: google.protobuf.Timestamp occurred_at = 1;
152
+ */
153
+ occurredAt?: Timestamp | undefined;
154
+
155
+ /**
156
+ * Exactly one recorded item in the combined history.
157
+ *
158
+ * @generated from oneof spine.ts.agent.AgentHistoryEntry.item
159
+ */
160
+ item: {
161
+ /**
162
+ * Model or tool request or response.
163
+ *
164
+ * @generated from field: spine.ts.agent.ConversationRecord conversation_record = 2;
165
+ */
166
+ value: ConversationRecord;
167
+ case: "conversationRecord";
168
+ } | {
169
+ /**
170
+ * Original System Event concerning this Agent.
171
+ *
172
+ * @generated from field: spine.core.Event system_event = 3;
173
+ */
174
+ value: Event;
175
+ case: "systemEvent";
176
+ } | {
177
+ /**
178
+ * Original domain Event emitted by this Agent.
179
+ *
180
+ * @generated from field: spine.core.Event domain_event = 4;
181
+ */
182
+ value: Event;
183
+ case: "domainEvent";
184
+ } | { case: undefined; value?: undefined };
185
+ };
186
+
187
+ /**
188
+ * Describes the message spine.ts.agent.AgentHistoryEntry.
189
+ * Use `create(AgentHistoryEntrySchema)` to create a new message.
190
+ * Generated from Proto: spine/ts/agent/history.proto.
191
+ */
192
+ export const AgentHistoryEntrySchema: GenMessage<AgentHistoryEntry> = /*@__PURE__*/
193
+ messageDesc(file_spine_ts_agent_history, 3);
194
+