@spine-event-engine/proto 2.0.0-snapshot.23 → 2.0.0-snapshot.25
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/REFERENCE.md +8 -0
- package/dist/generated/proto-module.d.ts +3 -2
- package/dist/generated/proto-module.d.ts.map +1 -1
- package/dist/generated/proto-module.js +32 -25
- package/dist/generated/proto-module.js.map +1 -1
- package/dist/generated/spine/server/agent/acceptance_receipt_pb.d.ts +92 -0
- package/dist/generated/spine/server/agent/acceptance_receipt_pb.d.ts.map +1 -0
- package/dist/generated/spine/server/agent/acceptance_receipt_pb.js +27 -0
- package/dist/generated/spine/server/agent/acceptance_receipt_pb.js.map +1 -0
- package/dist/generated/spine/server/agent/model_preferences_record_pb.d.ts +67 -0
- package/dist/generated/spine/server/agent/model_preferences_record_pb.d.ts.map +1 -0
- package/dist/generated/spine/server/agent/model_preferences_record_pb.js +26 -0
- package/dist/generated/spine/server/agent/model_preferences_record_pb.js.map +1 -0
- package/dist/generated/spine/ts/agent/content_pb.d.ts +1 -1
- package/dist/generated/spine/ts/agent/interaction_events_pb.d.ts +1 -1
- package/dist/generated/spine/ts/agent/model_pb.d.ts +1 -1
- package/dist/src/codegen/index.d.ts +2 -0
- package/dist/src/codegen/index.d.ts.map +1 -0
- package/dist/src/codegen/index.js +15 -0
- package/dist/src/codegen/index.js.map +1 -0
- package/dist/src/codegen/proto-module-inventory.d.ts +10 -0
- package/dist/src/codegen/proto-module-inventory.d.ts.map +1 -0
- package/dist/src/codegen/proto-module-inventory.js +84 -0
- package/dist/src/codegen/proto-module-inventory.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/.spine-proto-generation.json +1 -1
- package/generated/proto-module.ts +32 -25
- package/generated/spine/server/agent/acceptance_receipt_pb.ts +111 -0
- package/generated/spine/server/agent/model_preferences_record_pb.ts +87 -0
- package/generated/spine/ts/agent/content_pb.ts +1 -1
- package/generated/spine/ts/agent/interaction_events_pb.ts +1 -1
- package/generated/spine/ts/agent/model_pb.ts +1 -1
- package/package.json +5 -1
- package/proto/spine/server/agent/acceptance_receipt.proto +57 -0
- package/proto/spine/server/agent/model_preferences_record.proto +48 -0
- package/proto/spine/ts/agent/content.proto +1 -1
- package/proto/spine/ts/agent/interaction_events.proto +1 -1
- package/proto/spine/ts/agent/model.proto +1 -1
- package/proto/spine-sources.json +11 -7
- package/spine-proto-manifest.json +6 -4
- package/dist/generated/spine/server/agent/execution_record_pb.d.ts +0 -1781
- package/dist/generated/spine/server/agent/execution_record_pb.d.ts.map +0 -1
- package/dist/generated/spine/server/agent/execution_record_pb.js +0 -490
- package/dist/generated/spine/server/agent/execution_record_pb.js.map +0 -1
- package/generated/spine/server/agent/execution_record_pb.ts +0 -2034
- package/proto/spine/server/agent/execution_record.proto +0 -849
|
@@ -921,7 +921,7 @@ export const DecisionResponseSchema: GenMessage<DecisionResponse> = /*@__PURE__*
|
|
|
921
921
|
*/
|
|
922
922
|
export type ToolRequest = Message<"spine.ts.agent.ToolRequest"> & {
|
|
923
923
|
/**
|
|
924
|
-
* Logical call identity
|
|
924
|
+
* Logical call identity within the running Agent invocation.
|
|
925
925
|
*
|
|
926
926
|
* @generated from field: spine.ts.agent.AiToolCallId call = 1;
|
|
927
927
|
*/
|
|
@@ -283,7 +283,7 @@ export const AgentModelAttemptFinishedSchema: GenMessage<AgentModelAttemptFinish
|
|
|
283
283
|
messageDesc(file_spine_ts_agent_interaction_events, 3);
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
|
-
* Typed result passed local validation
|
|
286
|
+
* Typed result passed local validation during a live Agent invocation.
|
|
287
287
|
*
|
|
288
288
|
* @generated from message spine.ts.agent.AgentAiResultAdmitted
|
|
289
289
|
* Generated from Proto: spine/ts/agent/interaction_events.proto.
|
|
@@ -238,7 +238,7 @@ export const AiContentDigestSchema: GenMessage<AiContentDigest> = /*@__PURE__*/
|
|
|
238
238
|
messageDesc(file_spine_ts_agent_model, 7);
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
* Identifies one logical tool call
|
|
241
|
+
* Identifies one logical tool call in a running Agent invocation.
|
|
242
242
|
*
|
|
243
243
|
* @generated from message spine.ts.agent.AiToolCallId
|
|
244
244
|
* Generated from Proto: spine/ts/agent/model.proto.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spine-event-engine/proto",
|
|
3
|
-
"version": "2.0.0-snapshot.
|
|
3
|
+
"version": "2.0.0-snapshot.25",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"types": "./dist/src/agent/index.d.ts",
|
|
43
43
|
"default": "./dist/src/agent/index.js"
|
|
44
44
|
},
|
|
45
|
+
"./codegen": {
|
|
46
|
+
"types": "./dist/src/codegen/index.d.ts",
|
|
47
|
+
"default": "./dist/src/codegen/index.js"
|
|
48
|
+
},
|
|
45
49
|
"./spine-proto-manifest.json": "./spine-proto-manifest.json",
|
|
46
50
|
"./proto/*": "./proto/*",
|
|
47
51
|
"./generated/*.js": {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026, CodeMatters. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
5
|
+
* in compliance with the License. You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
|
10
|
+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
11
|
+
* or implied. See the License for the specific language governing permissions and limitations under
|
|
12
|
+
* the License.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package spine.server.agent;
|
|
18
|
+
|
|
19
|
+
import "google/protobuf/any.proto";
|
|
20
|
+
import "spine/core/command.proto";
|
|
21
|
+
import "spine/core/event.proto";
|
|
22
|
+
import "spine/options.proto";
|
|
23
|
+
|
|
24
|
+
option (SPI_all) = true;
|
|
25
|
+
option (type_url_prefix) = "type.spine.io";
|
|
26
|
+
|
|
27
|
+
// Complete identity evidence for one Agent delivery within its provider tenant boundary.
|
|
28
|
+
// Its physical record slot is derived separately from these fields.
|
|
29
|
+
message AgentAcceptanceKey {
|
|
30
|
+
// Generated Agent state type.
|
|
31
|
+
string state_type = 1 [(required) = true];
|
|
32
|
+
|
|
33
|
+
// Original typed recipient, including its exact Any type URL.
|
|
34
|
+
google.protobuf.Any recipient_id = 2 [(required) = true];
|
|
35
|
+
|
|
36
|
+
oneof source {
|
|
37
|
+
option (choice).required = true;
|
|
38
|
+
|
|
39
|
+
// Original Command identity.
|
|
40
|
+
spine.core.CommandId command = 3 [(validate) = true];
|
|
41
|
+
|
|
42
|
+
// Original Event identity.
|
|
43
|
+
spine.core.EventId event = 4 [(validate) = true];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Original delivery route, such as HANDLE_COMMAND or REACT_UPON_EVENT.
|
|
47
|
+
string action = 5 [(required) = true];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Immutable evidence that the Agent delivery was accepted once.
|
|
51
|
+
message AgentAcceptanceReceipt {
|
|
52
|
+
// Complete identity evidence within the physical tenant boundary.
|
|
53
|
+
AgentAcceptanceKey key = 1 [
|
|
54
|
+
(required) = true,
|
|
55
|
+
(validate) = true
|
|
56
|
+
];
|
|
57
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026, CodeMatters. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
5
|
+
* in compliance with the License. You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
|
10
|
+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
11
|
+
* or implied. See the License for the specific language governing permissions and limitations under
|
|
12
|
+
* the License.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package spine.server.agent;
|
|
18
|
+
|
|
19
|
+
import "google/protobuf/any.proto";
|
|
20
|
+
import "spine/options.proto";
|
|
21
|
+
import "spine/ts/agent/model.proto";
|
|
22
|
+
|
|
23
|
+
option (SPI_all) = true;
|
|
24
|
+
option (type_url_prefix) = "type.spine.io";
|
|
25
|
+
|
|
26
|
+
// Complete Agent instance identity for retained model selections.
|
|
27
|
+
message AgentModelPreferencesKey {
|
|
28
|
+
// Generated Agent state type name.
|
|
29
|
+
string state_type = 1 [(required) = true];
|
|
30
|
+
|
|
31
|
+
// Exact typed Agent identifier including its original type URL and bytes.
|
|
32
|
+
google.protobuf.Any recipient_id = 2 [
|
|
33
|
+
(required) = true,
|
|
34
|
+
(validate) = true
|
|
35
|
+
];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Current model selections without an executable Agent invocation.
|
|
39
|
+
message AgentModelPreferencesRecord {
|
|
40
|
+
// Complete identity evidence for the provider's bounded record slot.
|
|
41
|
+
AgentModelPreferencesKey key = 1 [
|
|
42
|
+
(required) = true,
|
|
43
|
+
(validate) = true
|
|
44
|
+
];
|
|
45
|
+
|
|
46
|
+
// Complete per-instance model selections; an empty list is valid.
|
|
47
|
+
repeated spine.ts.agent.ModelPreference preferences = 2 [(validate) = true];
|
|
48
|
+
}
|
|
@@ -350,7 +350,7 @@ message DecisionResponse {
|
|
|
350
350
|
|
|
351
351
|
// Actual authorized external tool request.
|
|
352
352
|
message ToolRequest {
|
|
353
|
-
// Logical call identity
|
|
353
|
+
// Logical call identity within the running Agent invocation.
|
|
354
354
|
AiToolCallId call = 1 [
|
|
355
355
|
(required) = true,
|
|
356
356
|
(validate) = true
|
|
@@ -168,7 +168,7 @@ message AgentModelAttemptFinished {
|
|
|
168
168
|
AiFailureCode failure = 8;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
// Typed result passed local validation
|
|
171
|
+
// Typed result passed local validation during a live Agent invocation.
|
|
172
172
|
message AgentAiResultAdmitted {
|
|
173
173
|
// Logical operation producing the result.
|
|
174
174
|
AgentOperationRef operation = 1 [
|
|
@@ -112,7 +112,7 @@ message AiContentDigest {
|
|
|
112
112
|
];
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
// Identifies one logical tool call
|
|
115
|
+
// Identifies one logical tool call in a running Agent invocation.
|
|
116
116
|
message AiToolCallId {
|
|
117
117
|
// Spine-assigned ID, distinct from an MCP request ID.
|
|
118
118
|
string value = 1 [(required) = true];
|
package/proto/spine-sources.json
CHANGED
|
@@ -418,6 +418,10 @@
|
|
|
418
418
|
}
|
|
419
419
|
],
|
|
420
420
|
"ownedSources": [
|
|
421
|
+
{
|
|
422
|
+
"localPath": "packages/proto/proto/spine/server/agent/acceptance_receipt.proto",
|
|
423
|
+
"sha256": "daa0f8e724849523cb539b9b6a7503aa8eab0de3f23d926d1aa9d117bd44f007"
|
|
424
|
+
},
|
|
421
425
|
{
|
|
422
426
|
"localPath": "packages/proto/proto/spine/auth/authenticated_subscription.proto",
|
|
423
427
|
"sha256": "b6436714f754e6d7c1a6bbd177c5a4f0b606d3c7c1adc4b86fa3c299210ffc76"
|
|
@@ -434,17 +438,17 @@
|
|
|
434
438
|
"localPath": "packages/proto/proto/spine/deployment/node_discovery.proto",
|
|
435
439
|
"sha256": "7c300d215a1757c17b7bd1a89cebb4825df28a58fcc119f2aa6d5535d7520073"
|
|
436
440
|
},
|
|
437
|
-
{
|
|
438
|
-
"localPath": "packages/proto/proto/spine/server/agent/execution_record.proto",
|
|
439
|
-
"sha256": "059ddc8d09b006f3854f7ed877bcab26141ab1228d3de0ad8871c8c243b4543b"
|
|
440
|
-
},
|
|
441
441
|
{
|
|
442
442
|
"localPath": "packages/proto/proto/spine/server/agent/history_record.proto",
|
|
443
443
|
"sha256": "24ed282bc0cd901a3b38748ea7b516e972a87b2a7f69db99a2b094458d48e38a"
|
|
444
444
|
},
|
|
445
|
+
{
|
|
446
|
+
"localPath": "packages/proto/proto/spine/server/agent/model_preferences_record.proto",
|
|
447
|
+
"sha256": "33b7f805be70c5435b6d2f7ef558e0fab5dfed34a699ce87734f3c9b2b6f00d5"
|
|
448
|
+
},
|
|
445
449
|
{
|
|
446
450
|
"localPath": "packages/proto/proto/spine/ts/agent/content.proto",
|
|
447
|
-
"sha256": "
|
|
451
|
+
"sha256": "f4242677c02f546724dbffe9dabb93bdf8d5a63f8d3357e91fab3765e41e058a"
|
|
448
452
|
},
|
|
449
453
|
{
|
|
450
454
|
"localPath": "packages/proto/proto/spine/ts/agent/history.proto",
|
|
@@ -452,11 +456,11 @@
|
|
|
452
456
|
},
|
|
453
457
|
{
|
|
454
458
|
"localPath": "packages/proto/proto/spine/ts/agent/interaction_events.proto",
|
|
455
|
-
"sha256": "
|
|
459
|
+
"sha256": "26e959ccfa9c9c662087cfab7a01c3f2a28c3f027704601e7a50eb83d28ab401"
|
|
456
460
|
},
|
|
457
461
|
{
|
|
458
462
|
"localPath": "packages/proto/proto/spine/ts/agent/model.proto",
|
|
459
|
-
"sha256": "
|
|
463
|
+
"sha256": "d69d290932e43d6932d70041b996cca1efd897e0e418c58462727de9c3ba97f7"
|
|
460
464
|
}
|
|
461
465
|
]
|
|
462
466
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"formatVersion": 2,
|
|
3
3
|
"packageName": "@spine-event-engine/proto",
|
|
4
|
-
"packageVersion": "2.0.0-snapshot.
|
|
4
|
+
"packageVersion": "2.0.0-snapshot.25",
|
|
5
5
|
"protoFiles": [
|
|
6
6
|
"grpc/health/v1/health.proto",
|
|
7
7
|
"spine/auth/authenticated_subscription.proto",
|
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
"spine/net/email_address.proto",
|
|
38
38
|
"spine/net/internet_domain.proto",
|
|
39
39
|
"spine/options.proto",
|
|
40
|
-
"spine/server/agent/
|
|
40
|
+
"spine/server/agent/acceptance_receipt.proto",
|
|
41
41
|
"spine/server/agent/history_record.proto",
|
|
42
|
+
"spine/server/agent/model_preferences_record.proto",
|
|
42
43
|
"spine/server/catchup/catch_up.proto",
|
|
43
44
|
"spine/server/delivery/delivery.proto",
|
|
44
45
|
"spine/server/delivery/delivery_events.proto",
|
|
@@ -95,8 +96,9 @@
|
|
|
95
96
|
"spine/net/email_address.proto": "generated/spine/net/email_address_pb.js",
|
|
96
97
|
"spine/net/internet_domain.proto": "generated/spine/net/internet_domain_pb.js",
|
|
97
98
|
"spine/options.proto": "generated/spine/options_pb.js",
|
|
98
|
-
"spine/server/agent/
|
|
99
|
+
"spine/server/agent/acceptance_receipt.proto": "generated/spine/server/agent/acceptance_receipt_pb.js",
|
|
99
100
|
"spine/server/agent/history_record.proto": "generated/spine/server/agent/history_record_pb.js",
|
|
101
|
+
"spine/server/agent/model_preferences_record.proto": "generated/spine/server/agent/model_preferences_record_pb.js",
|
|
100
102
|
"spine/server/catchup/catch_up.proto": "generated/spine/server/catchup/catch_up_pb.js",
|
|
101
103
|
"spine/server/delivery/delivery.proto": "generated/spine/server/delivery/delivery_pb.js",
|
|
102
104
|
"spine/server/delivery/delivery_events.proto": "generated/spine/server/delivery/delivery_events_pb.js",
|
|
@@ -120,5 +122,5 @@
|
|
|
120
122
|
},
|
|
121
123
|
"dependencies": [],
|
|
122
124
|
"moduleExport": "spineProtoModule",
|
|
123
|
-
"generationId": "
|
|
125
|
+
"generationId": "cb452a495b14cc11b88343ee1f89421cbfda09d126a9450b87b25ee71cd99cad"
|
|
124
126
|
}
|